Documentation
¶
Index ¶
- func NewTools() []tool.InvokableTool
- type Status
- type Task
- type TaskCreate
- func (*TaskCreate) AuditSummary(string) string
- func (t *TaskCreate) Info(context.Context) (*tool.ToolInfo, error)
- func (t *TaskCreate) InvokableRun(ctx context.Context, _ string) (*tool.ToolResult, error)
- func (t *TaskCreate) PrepareCall(_ context.Context, executionID uuid.UUID, argsJSON string) (tool.Request, tool.PreparedArtifact, error)
- func (*TaskCreate) Sequential() bool
- type TaskGet
- func (*TaskGet) AuditSummary(string) string
- func (t *TaskGet) Info(context.Context) (*tool.ToolInfo, error)
- func (t *TaskGet) InvokableRun(ctx context.Context, _ string) (*tool.ToolResult, error)
- func (t *TaskGet) PrepareCall(_ context.Context, executionID uuid.UUID, argsJSON string) (tool.Request, tool.PreparedArtifact, error)
- func (*TaskGet) Sequential() bool
- type TaskList
- func (b TaskList) AuditSummary(string) string
- func (t *TaskList) Info(context.Context) (*tool.ToolInfo, error)
- func (t *TaskList) InvokableRun(ctx context.Context, _ string) (*tool.ToolResult, error)
- func (t *TaskList) PrepareCall(_ context.Context, executionID uuid.UUID, argsJSON string) (tool.Request, tool.PreparedArtifact, error)
- func (*TaskList) Sequential() bool
- type TaskUpdate
- func (b TaskUpdate) AuditSummary(string) string
- func (t *TaskUpdate) Info(context.Context) (*tool.ToolInfo, error)
- func (t *TaskUpdate) InvokableRun(ctx context.Context, _ string) (*tool.ToolResult, error)
- func (t *TaskUpdate) PrepareCall(_ context.Context, executionID uuid.UUID, argsJSON string) (tool.Request, tool.PreparedArtifact, error)
- func (*TaskUpdate) Sequential() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTools ¶
func NewTools() []tool.InvokableTool
NewTools constructs the four task tools over one private Loop-local store. The returned order is the order exposed by tools.TaskDefinitions.
Types ¶
type Status ¶
type Status string
Status is the persisted state of a task.
const StatusCommandDeleted Status = "deleted"
StatusCommandDeleted is accepted only by update and is never persisted.
type Task ¶
type Task struct {
ID string `json:"id"`
Subject string `json:"subject"`
Description string `json:"description"`
ActiveForm string `json:"activeForm,omitempty"`
Status Status `json:"status"`
BlockedBy []string `json:"blockedBy,omitempty"`
Blocks []string `json:"blocks,omitempty"`
Metadata json.RawMessage `json:"metadata,omitempty"`
}
type TaskCreate ¶
type TaskCreate struct {
// contains filtered or unexported fields
}
TaskCreate creates tasks in one Loop-local graph.
func (*TaskCreate) AuditSummary ¶
func (*TaskCreate) AuditSummary(string) string
AuditSummary intentionally excludes every model-supplied task field.
func (*TaskCreate) InvokableRun ¶
func (t *TaskCreate) InvokableRun(ctx context.Context, _ string) (*tool.ToolResult, error)
func (*TaskCreate) PrepareCall ¶
func (*TaskCreate) Sequential ¶
func (*TaskCreate) Sequential() bool
type TaskGet ¶
type TaskGet struct {
// contains filtered or unexported fields
}
TaskGet retrieves tasks from one Loop-local graph.
func (*TaskGet) AuditSummary ¶
AuditSummary intentionally excludes the task ID and all task contents.
func (*TaskGet) InvokableRun ¶
func (*TaskGet) PrepareCall ¶
func (*TaskGet) Sequential ¶
type TaskList ¶
type TaskList struct {
// contains filtered or unexported fields
}
TaskList lists every task in one Loop-local graph.
func (TaskList) AuditSummary ¶
func (*TaskList) InvokableRun ¶
func (*TaskList) PrepareCall ¶
func (*TaskList) Sequential ¶
type TaskUpdate ¶
type TaskUpdate struct {
// contains filtered or unexported fields
}
TaskUpdate patches tasks in one Loop-local graph.
func (TaskUpdate) AuditSummary ¶
func (*TaskUpdate) InvokableRun ¶
func (t *TaskUpdate) InvokableRun(ctx context.Context, _ string) (*tool.ToolResult, error)
func (*TaskUpdate) PrepareCall ¶
func (*TaskUpdate) Sequential ¶
func (*TaskUpdate) Sequential() bool
Click to show internal directories.
Click to hide internal directories.