You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/internal/daemon/types.go
+33-33Lines changed: 33 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -33,34 +33,35 @@ type ProjectResourceData struct {
33
33
// Task represents a claimed task from the server.
34
34
// Agent data (name, skills) is populated by the claim endpoint.
35
35
typeTaskstruct {
36
-
IDstring`json:"id"`
37
-
AgentIDstring`json:"agent_id"`
38
-
RuntimeIDstring`json:"runtime_id"`
39
-
IssueIDstring`json:"issue_id"`
40
-
WorkspaceIDstring`json:"workspace_id"`
41
-
Agent*AgentData`json:"agent,omitempty"`
36
+
IDstring`json:"id"`
37
+
AgentIDstring`json:"agent_id"`
38
+
RuntimeIDstring`json:"runtime_id"`
39
+
IssueIDstring`json:"issue_id"`
40
+
WorkspaceIDstring`json:"workspace_id"`
41
+
Agent*AgentData`json:"agent,omitempty"`
42
42
Repos []RepoData`json:"repos,omitempty"`
43
-
ProjectIDstring`json:"project_id,omitempty"`// issue's project, when present
44
-
ProjectTitlestring`json:"project_title,omitempty"`// human-readable project title for context injection
45
-
ProjectResources []ProjectResourceData`json:"project_resources,omitempty"`// project-scoped resources to expose to the agent
46
-
PriorSessionIDstring`json:"prior_session_id,omitempty"`// Claude session ID from a previous task on this issue
47
-
PriorWorkDirstring`json:"prior_work_dir,omitempty"`// work_dir from a previous task on this issue
48
-
TriggerCommentIDstring`json:"trigger_comment_id,omitempty"`// comment that triggered this task
49
-
TriggerCommentContentstring`json:"trigger_comment_content,omitempty"`// content of the triggering comment
50
-
TriggerAuthorTypestring`json:"trigger_author_type,omitempty"`// "agent" or "member" — author kind for the triggering comment
51
-
TriggerAuthorNamestring`json:"trigger_author_name,omitempty"`// display name of the triggering comment author
52
-
ChatSessionIDstring`json:"chat_session_id,omitempty"`// non-empty for chat tasks
53
-
ChatMessagestring`json:"chat_message,omitempty"`// user message content for chat tasks
54
-
ChatMessageAttachments []ChatAttachmentMeta`json:"chat_message_attachments,omitempty"`// attachments linked to the chat message; agent uses these to `multica attachment download <id>`
55
-
AutopilotRunIDstring`json:"autopilot_run_id,omitempty"`// non-empty for autopilot run_only tasks
56
-
AutopilotIDstring`json:"autopilot_id,omitempty"`// autopilot that spawned this run
57
-
AutopilotTitlestring`json:"autopilot_title,omitempty"`// autopilot title used as task context
58
-
AutopilotDescriptionstring`json:"autopilot_description,omitempty"`// autopilot description used as task prompt
59
-
AutopilotSourcestring`json:"autopilot_source,omitempty"`// manual, schedule, webhook, or api
60
-
AutopilotTriggerPayload json.RawMessage`json:"autopilot_trigger_payload,omitempty"`// optional trigger payload for webhook/api runs
61
-
QuickCreatePromptstring`json:"quick_create_prompt,omitempty"`// user's natural-language input for quick-create tasks
62
-
SquadIDstring`json:"squad_id,omitempty"`// when the picker was a squad, the squad's UUID; Agent is still the resolved leader
63
-
SquadNamestring`json:"squad_name,omitempty"`// display name for the picker squad, used in prompt text
43
+
ProjectIDstring`json:"project_id,omitempty"`// issue's project, when present
44
+
ProjectTitlestring`json:"project_title,omitempty"`// human-readable project title for context injection
45
+
ProjectResources []ProjectResourceData`json:"project_resources,omitempty"`// project-scoped resources to expose to the agent
46
+
PriorSessionIDstring`json:"prior_session_id,omitempty"`// Claude session ID from a previous task on this issue
47
+
PriorWorkDirstring`json:"prior_work_dir,omitempty"`// work_dir from a previous task on this issue
48
+
TriggerCommentIDstring`json:"trigger_comment_id,omitempty"`// comment that triggered this task
49
+
TriggerCommentContentstring`json:"trigger_comment_content,omitempty"`// content of the triggering comment
50
+
TriggerAuthorTypestring`json:"trigger_author_type,omitempty"`// "agent" or "member" — author kind for the triggering comment
51
+
TriggerAuthorNamestring`json:"trigger_author_name,omitempty"`// display name of the triggering comment author
52
+
IssueAttachments []AttachmentMeta`json:"issue_attachments,omitempty"`// attachments linked to the issue; Claude embeds image attachments directly when possible
53
+
ChatSessionIDstring`json:"chat_session_id,omitempty"`// non-empty for chat tasks
54
+
ChatMessagestring`json:"chat_message,omitempty"`// user message content for chat tasks
55
+
ChatMessageAttachments []AttachmentMeta`json:"chat_message_attachments,omitempty"`// attachments linked to the chat message; agent uses these to `multica attachment download <id>`
56
+
AutopilotRunIDstring`json:"autopilot_run_id,omitempty"`// non-empty for autopilot run_only tasks
57
+
AutopilotIDstring`json:"autopilot_id,omitempty"`// autopilot that spawned this run
58
+
AutopilotTitlestring`json:"autopilot_title,omitempty"`// autopilot title used as task context
59
+
AutopilotDescriptionstring`json:"autopilot_description,omitempty"`// autopilot description used as task prompt
60
+
AutopilotSourcestring`json:"autopilot_source,omitempty"`// manual, schedule, webhook, or api
61
+
AutopilotTriggerPayload json.RawMessage`json:"autopilot_trigger_payload,omitempty"`// optional trigger payload for webhook/api runs
62
+
QuickCreatePromptstring`json:"quick_create_prompt,omitempty"`// user's natural-language input for quick-create tasks
63
+
SquadIDstring`json:"squad_id,omitempty"`// when the picker was a squad, the squad's UUID; Agent is still the resolved leader
64
+
SquadNamestring`json:"squad_name,omitempty"`// display name for the picker squad, used in prompt text
64
65
// RequestingUserName + RequestingUserProfileDescription describe the human
65
66
// the agent is working on behalf of. v1 sources them from the runtime
66
67
// owner (the user who registered the daemon). Empty when the runtime has
0 commit comments