struct ACP::Protocol::PlanEntry

Overview

A single entry in an execution plan. See: https://agentclientprotocol.com/protocol/agent-plan#plan-entries

Included Modules

Defined in:

acp/protocol/updates.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(content : String, priority : String = "medium", status : String = "pending", meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def content : String #

Human-readable description of what this task aims to accomplish (required).


[View source]
def content=(content : String) #

Human-readable description of what this task aims to accomplish (required).


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def priority : String #

The relative importance of this task: "high", "medium", or "low" (required).


[View source]
def priority=(priority : String) #

The relative importance of this task: "high", "medium", or "low" (required).


[View source]
def status : String #

Current execution status: "pending", "in_progress", or "completed" (required).


[View source]
def status=(status : String) #

Current execution status: "pending", "in_progress", or "completed" (required).


[View source]
def title : String #

@deprecated Use #content instead. Backward-compatible alias.


[View source]