Documentation
¶
Index ¶
- func ExecuteContext(ctx context.Context, args []string, stdout io.Writer, stderr io.Writer) int
- func NewRootCommand() *cobra.Command
- func ReadGatewayCredential(credentialsDir, profile string) (string, error)
- func RemoveGatewayCredential(credentialsDir, profile string) error
- func WriteGatewayCredential(credentialsDir, profile, credential string) (string, error)
- type ACPCapsRecord
- type AddTaskDependencyRequest
- type AgentContextRecord
- type AgentEventRecord
- type AgentHeartbeatDeleteRequest
- type AgentHeartbeatHistoryRecord
- type AgentHeartbeatHistoryRequest
- type AgentHeartbeatMutationRecord
- type AgentHeartbeatPutRequest
- type AgentHeartbeatRecord
- type AgentHeartbeatRevisionRecord
- type AgentHeartbeatRollbackRequest
- type AgentHeartbeatStatusRecord
- type AgentHeartbeatStatusRequest
- type AgentHeartbeatValidateRequest
- type AgentHeartbeatWakeDecisionRecord
- type AgentHeartbeatWakeRequest
- type AgentMCPServer
- type AgentMeRecord
- type AgentNotifyRecord
- type AgentNotifyRequest
- type AgentQuery
- type AgentRecord
- type AgentSoulDeleteRequest
- type AgentSoulHistoryRecord
- type AgentSoulHistoryRequest
- type AgentSoulMutationRecord
- type AgentSoulPutRequest
- type AgentSoulRecord
- type AgentSoulRevisionRecord
- type AgentSoulRollbackRequest
- type AgentSoulValidateRequest
- type AgentSpawnRecord
- type AgentSpawnRequest
- type AgentTaskClaimNextRequest
- type AgentTaskClaimRecord
- type AgentTaskCompleteRequest
- type AgentTaskFailRequest
- type AgentTaskHeartbeatRequest
- type AgentTaskLeaseRecord
- type AgentTaskNextRecord
- type AgentTaskReleaseRequest
- type AppErrorReport
- type AppRuntimeState
- type AppStatusReport
- type AppUpdateState
- type AttachTaskRunSessionRequest
- type AutomationJobCreateRequest
- type AutomationJobListRecord
- type AutomationJobQuery
- type AutomationJobUpdateRequest
- type AutomationRunQuery
- type AutomationSuggestionAcceptanceRecord
- type AutomationSuggestionListRecord
- type AutomationSuggestionRecord
- type AutomationTriggerCreateRequest
- type AutomationTriggerListRecord
- type AutomationTriggerQuery
- type AutomationTriggerUpdateRequest
- type BulkForceTaskRunItemRecord
- type BulkForceTaskRunRecord
- type BulkForceTaskRunRequest
- type CancelTaskRequest
- type CancelTaskRunRequest
- type ClarificationAnswerRecord
- type ClarificationAnswerRequest
- type ClarificationPendingRecord
- type ClarificationsRecord
- type ClearTaskBlockRequest
- type ClientTarget
- func GatewayClientTarget(name, host string, port int, credential string) (ClientTarget, error)
- func LocalClientTarget(socketPath string) ClientTarget
- func SSHForwardClientTarget(host string, port int) (ClientTarget, error)
- func UnauthenticatedGatewayClientTarget(name, host string, port int) (ClientTarget, error)
- type CmdPaletteClient
- type CmdPaletteMutationClient
- type CompleteTaskRunRequest
- type CreateSessionRequest
- type CreateSupportBundleRequest
- type CreateTaskBlockRequest
- type CreateTaskChildRequest
- type CreateTaskRequest
- type DaemonClient
- type DaemonStatus
- type DevLinkExtensionRequest
- type DoctorQuery
- type DoctorRecord
- type DrainStatusRecord
- type EnableExtensionRequest
- type EnqueueTaskRunRequest
- type ExtensionCommandsRecord
- type ExtensionEnablePreviewRecord
- type ExtensionEnableRecord
- type ExtensionEnablementRecord
- type ExtensionInstallPreviewRecord
- type ExtensionInventoryRecord
- type ExtensionKitItemRecord
- type ExtensionLogRecord
- type ExtensionLogsRecord
- type ExtensionProvenanceRecord
- type ExtensionRecord
- type ExtensionSearchRecord
- type ExtensionSearchRequest
- type ExtensionSecretsRecord
- type ExtensionUpdateRecord
- type FailTaskRunRequest
- type FanOutTaskRunsRecord
- type FanOutTaskRunsRequest
- type ForceFailTaskRunRequest
- type ForceReleaseTaskRunRequest
- type GoalTurnListQuery
- type HookCatalogQuery
- type HookCatalogRecord
- type HookEventRecord
- type HookEventsQuery
- type HookRunRecord
- type HookRunsQuery
- type IdentityRecord
- type InstallExtensionRequest
- type JobRecord
- type LogEventRecord
- type LogsListQuery
- type LoopListQuery
- type LoopNodeListQuery
- type LoopRequestListQuery
- type LoopRunListQuery
- type LoopRunNodesQuery
- type LoopTimelineQuery
- type MCPSettingsClient
- type ManagedExtensionRemoveRecord
- type MarketplaceClient
- type MarketplaceEntryRecord
- type MarketplaceListRecord
- type MarketplaceListingRecord
- type MarketplaceReadScope
- type MarketplaceRefreshRecord
- type MarketplaceSourcesClient
- type ObserveOverviewQuery
- type OutputFormat
- type PauseTaskRequest
- type PromoteSessionInputRequest
- type ProviderModelClient
- type ProviderModelCurationRecord
- type ProviderModelCurationRequest
- type ProviderModelListQuery
- type ProviderModelListRecord
- type ProviderModelRecord
- type ProviderModelRefreshRecord
- type ProviderModelRefreshRequest
- type ProviderModelSourceStatusRecord
- type ProviderModelStatusRecord
- type PutVaultSecretRequest
- type RecoverTaskRequest
- type RecoverTaskRunRequest
- type ReloadExtensionRequest
- type RenameSessionRequest
- type ReplaceSessionInputRequest
- type ResourceDeleteRequest
- type ResourceListQuery
- type ResourcePutRequest
- type ResourceRecord
- type ResumeTaskRequest
- type RetryTaskRunRecord
- type RetryTaskRunRequest
- type RoleQuery
- type RoleRecord
- type RolesClient
- type RunRecord
- type SSEEvent
- type SSEHandler
- type SchedulerBacklogQuery
- type SchedulerBacklogRecord
- type SchedulerDrainRecord
- type SchedulerDrainRequest
- type SchedulerPauseRequest
- type SchedulerResumeRequest
- type SchedulerStatusRecord
- type SessionApprovalRecord
- type SessionApprovalRequest
- type SessionAttachmentRecord
- type SessionAttentionSummaryRecord
- type SessionCommandRecord
- type SessionCommandsRecord
- type SessionContinueRequest
- type SessionDerivePreviewRecord
- type SessionDeriveRecord
- type SessionDeriveTarget
- type SessionEventQuery
- type SessionEventRecord
- type SessionForkRequest
- type SessionGoalCommandRequest
- type SessionHealthRecord
- type SessionInputListRecord
- type SessionInputRecord
- type SessionInspectQuery
- type SessionInspectRecord
- type SessionInteractionsRecord
- type SessionLayoutClient
- type SessionListPage
- type SessionListQuery
- type SessionPromptCancelRecord
- type SessionPromptRecord
- type SessionPromptRequest
- type SessionPromptResultRecord
- type SessionRecapRecord
- type SessionRecord
- type SessionRepairActionRecord
- type SessionRepairIssueRecord
- type SessionRepairQuery
- type SessionRepairRecord
- type SessionRewindRecord
- type SessionRewindRequest
- type SessionSoulRefreshRequest
- type SessionStatusRecord
- type SessionStopRecord
- type SessionTranscriptRecord
- type SessionUsageRecord
- type SessionWaitRecord
- type SessionWaitRequest
- type SetExtensionSecretsRequest
- type SetSessionRuntimeRequest
- type SettingsApplyHistoryQuery
- type SettingsApplyHistoryRecord
- type SettingsMCPAuthBeginRecord
- type SettingsMCPAuthBeginRequest
- type SettingsMCPAuthExchangeRequest
- type SettingsMCPAuthStatusRecord
- type SettingsMCPAuthTarget
- type SettingsMutationRecord
- type SettingsRestartActionRecord
- type SettingsRestartStatusRecord
- type SettingsUpdateRecord
- type SkillActionRecord
- type SkillProvenanceRecord
- type SkillQuery
- type SkillRecord
- type SkillShadowsRecord
- type SpawnPermissionPolicyRecord
- type StartTaskRunRequest
- type StatusRecord
- type StructuredError
- type SubagentListQuery
- type SuggestionRecord
- type SupportBundleOperationRecord
- type TaskBlockRecord
- type TaskCatalogItemRecord
- type TaskDependencyRecord
- type TaskDetailRecord
- type TaskEventRecord
- type TaskExecutionProfileRecord
- type TaskExecutionProfileRequest
- type TaskExecutionRecord
- type TaskExecutionRequest
- type TaskInspectRecord
- type TaskListQuery
- type TaskListRecord
- type TaskRecord
- type TaskRunDetailRecord
- type TaskRunListQuery
- type TaskRunRecord
- type TaskRunResultPageRecord
- type TaskRunReviewListQuery
- type TaskRunReviewRecord
- type TaskRunReviewRequest
- type TaskRunReviewRequestRecord
- type TaskRunReviewVerdictRecord
- type TaskRunReviewVerdictRequest
- type TaskSummaryRecord
- type TaskWorktreePolicyRequest
- type TerminalAgentClient
- type TerminalAttachOptions
- type TerminalClient
- type TerminalCreateRequest
- type TerminalExecRequest
- type TerminalExitRecord
- type TerminalInputRequestQuery
- type TerminalInputRequests
- type TerminalJournalQuery
- type TerminalReadOptions
- type TokenUsageRecord
- type ToolApprovalGrantListRecord
- type ToolApprovalGrantRecord
- type ToolApprovalGrantSetRequest
- type ToolApprovalRecord
- type ToolApprovalRequest
- type ToolArtifactPageRecord
- type ToolClient
- type ToolErrorResponseRecord
- type ToolInvokeRequest
- type ToolInvokeResponseRecord
- type ToolQuery
- type ToolRecord
- type ToolResponseRecord
- type ToolSearchRequest
- type ToolsResponseRecord
- type ToolsetRecord
- type ToolsetResponseRecord
- type ToolsetsResponseRecord
- type TriggerRecord
- type TurnHistoryRecord
- type UpdateExtensionRequest
- type UpdateExtensionsRequest
- type UpdateSettingsAttentionRequest
- type UpdateSettingsShellRequest
- type UpdateSettingsSkillsRequest
- type UpdateTaskRequest
- type VaultListQuery
- type VaultRecord
- type WindowManagerClient
- type WindowManagerStreamHandlers
- type WorkspaceCreateRequest
- type WorkspaceDetailRecord
- type WorkspaceRecord
- type WorkspaceSkillRecord
- type WorkspaceUpdateRequest
- type WorktreeCreateRequest
- type WorktreeExitActionRequest
- type WorktreeExitOperationRecord
- type WorktreeExitPlanRecord
- type WorktreeInspectRecord
- type WorktreeListRecord
- type WorktreeRecord
- type WorktreeStatusRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteContext ¶
func NewRootCommand ¶
NewRootCommand constructs the CompozyOS v1 CLI command tree.
func ReadGatewayCredential ¶
ReadGatewayCredential decrypts a remote profile credential using the operator's OS keyring.
func RemoveGatewayCredential ¶
RemoveGatewayCredential removes both the encrypted file and its OS-keyring key.
func WriteGatewayCredential ¶
WriteGatewayCredential encrypts and privately stores a remote profile credential.
Types ¶
type ACPCapsRecord ¶
type ACPCapsRecord = contract.ACPCapsPayload
ACPCapsRecord captures optional runtime capabilities exposed by the daemon API.
type AddTaskDependencyRequest ¶
type AddTaskDependencyRequest = contract.AddTaskDependencyRequest
AddTaskDependencyRequest captures the shared dependency-create payload.
type AgentContextRecord ¶
type AgentContextRecord = contract.AgentContextPayload
AgentContextRecord is the shared bounded agent situation payload.
type AgentEventRecord ¶
type AgentEventRecord = contract.AgentEventPayload
AgentEventRecord is one prompt-stream event returned by the daemon API.
type AgentHeartbeatDeleteRequest ¶
type AgentHeartbeatDeleteRequest = contract.HeartbeatDeleteRequest
AgentHeartbeatDeleteRequest captures a managed Heartbeat delete payload.
type AgentHeartbeatHistoryRecord ¶
type AgentHeartbeatHistoryRecord = contract.HeartbeatHistoryResponse
AgentHeartbeatHistoryRecord is the managed Heartbeat history response.
type AgentHeartbeatHistoryRequest ¶
type AgentHeartbeatHistoryRequest = contract.HeartbeatHistoryRequest
AgentHeartbeatHistoryRequest captures managed Heartbeat history filters.
type AgentHeartbeatMutationRecord ¶
type AgentHeartbeatMutationRecord = contract.HeartbeatMutationResponse
AgentHeartbeatMutationRecord is the managed Heartbeat mutation response.
type AgentHeartbeatPutRequest ¶
type AgentHeartbeatPutRequest = contract.HeartbeatPutRequest
AgentHeartbeatPutRequest captures a managed Heartbeat write payload.
type AgentHeartbeatRecord ¶
type AgentHeartbeatRecord = contract.HeartbeatPolicyPayload
AgentHeartbeatRecord is the dedicated managed Heartbeat policy read model.
type AgentHeartbeatRevisionRecord ¶
type AgentHeartbeatRevisionRecord = contract.HeartbeatRevisionPayload
AgentHeartbeatRevisionRecord is one managed Heartbeat authoring revision.
type AgentHeartbeatRollbackRequest ¶
type AgentHeartbeatRollbackRequest = contract.HeartbeatRollbackRequest
AgentHeartbeatRollbackRequest captures a managed Heartbeat rollback payload.
type AgentHeartbeatStatusRecord ¶
type AgentHeartbeatStatusRecord = contract.HeartbeatStatusResponse
AgentHeartbeatStatusRecord is the shared Heartbeat status payload.
type AgentHeartbeatStatusRequest ¶
type AgentHeartbeatStatusRequest = contract.HeartbeatStatusRequest
AgentHeartbeatStatusRequest captures Heartbeat status filters.
type AgentHeartbeatValidateRequest ¶
type AgentHeartbeatValidateRequest = contract.HeartbeatValidateRequest
AgentHeartbeatValidateRequest captures a managed Heartbeat validation payload.
type AgentHeartbeatWakeDecisionRecord ¶
type AgentHeartbeatWakeDecisionRecord = contract.HeartbeatWakeDecisionPayload
AgentHeartbeatWakeDecisionRecord is one manual Heartbeat wake decision payload.
type AgentHeartbeatWakeRequest ¶
type AgentHeartbeatWakeRequest = contract.HeartbeatWakeRequest
AgentHeartbeatWakeRequest captures one manual Heartbeat wake request.
type AgentMCPServer ¶
type AgentMCPServer = contract.AgentMCPServerJSON
AgentMCPServer is one MCP server entry returned by the daemon API.
type AgentMeRecord ¶
type AgentMeRecord = contract.AgentMePayload
AgentMeRecord is the shared agent caller identity payload.
type AgentNotifyRecord ¶
type AgentNotifyRecord = contract.AgentNotifyResponse
AgentNotifyRecord is the daemon-provable notification outcome.
type AgentNotifyRequest ¶
type AgentNotifyRequest = contract.AgentNotifyRequest
AgentNotifyRequest is the stable agent notification request payload.
type AgentQuery ¶
type AgentQuery struct {
Workspace string
}
AgentQuery captures agent definition filters.
type AgentRecord ¶
type AgentRecord = contract.AgentPayload
AgentRecord is the shared daemon agent definition payload.
type AgentSoulDeleteRequest ¶
type AgentSoulDeleteRequest = contract.AgentSoulDeleteRequest
AgentSoulDeleteRequest captures a managed Soul delete payload.
type AgentSoulHistoryRecord ¶
type AgentSoulHistoryRecord = contract.AgentSoulHistoryResponse
AgentSoulHistoryRecord is the managed Soul history response.
type AgentSoulHistoryRequest ¶
type AgentSoulHistoryRequest = contract.AgentSoulHistoryRequest
AgentSoulHistoryRequest captures managed Soul history filters.
type AgentSoulMutationRecord ¶
type AgentSoulMutationRecord = contract.AgentSoulMutationResponse
AgentSoulMutationRecord is the managed Soul mutation response.
type AgentSoulPutRequest ¶
type AgentSoulPutRequest = contract.AgentSoulPutRequest
AgentSoulPutRequest captures a managed Soul write payload.
type AgentSoulRecord ¶
type AgentSoulRecord = contract.AgentSoulPayload
AgentSoulRecord is the dedicated managed Soul read model.
type AgentSoulRevisionRecord ¶
type AgentSoulRevisionRecord = contract.AgentSoulRevisionPayload
AgentSoulRevisionRecord is one managed Soul authoring revision.
type AgentSoulRollbackRequest ¶
type AgentSoulRollbackRequest = contract.AgentSoulRollbackRequest
AgentSoulRollbackRequest captures a managed Soul rollback payload.
type AgentSoulValidateRequest ¶
type AgentSoulValidateRequest = contract.AgentSoulValidateRequest
AgentSoulValidateRequest captures a managed Soul validation payload.
type AgentSpawnRecord ¶
type AgentSpawnRecord = contract.AgentSpawnPayload
AgentSpawnRecord is the stable child-session spawn response projection.
type AgentSpawnRequest ¶
type AgentSpawnRequest = contract.AgentSpawnRequest
AgentSpawnRequest captures one bounded child-session spawn request.
type AgentTaskClaimNextRequest ¶
type AgentTaskClaimNextRequest = contract.AgentTaskClaimNextRequest
AgentTaskClaimNextRequest captures one agent next-work request.
type AgentTaskClaimRecord ¶
type AgentTaskClaimRecord = contract.AgentTaskClaimPayload
AgentTaskClaimRecord is the synchronous claim payload returned to agents.
type AgentTaskCompleteRequest ¶
type AgentTaskCompleteRequest = contract.AgentTaskCompleteRequest
AgentTaskCompleteRequest captures one agent lease completion request.
type AgentTaskFailRequest ¶
type AgentTaskFailRequest = contract.AgentTaskFailRequest
AgentTaskFailRequest captures one agent lease failure request.
type AgentTaskHeartbeatRequest ¶
type AgentTaskHeartbeatRequest = contract.AgentTaskHeartbeatRequest
AgentTaskHeartbeatRequest captures one agent lease heartbeat request.
type AgentTaskLeaseRecord ¶
type AgentTaskLeaseRecord = contract.TaskRunLeaseSummaryPayload
AgentTaskLeaseRecord is the safe lease payload returned by agent lease mutations.
type AgentTaskNextRecord ¶
type AgentTaskNextRecord struct {
Claimed bool `json:"claimed"`
Claim *AgentTaskClaimRecord `json:"claim,omitzero"`
}
AgentTaskNextRecord is the stable CLI/client wrapper for next-work polling.
type AgentTaskReleaseRequest ¶
type AgentTaskReleaseRequest = contract.AgentTaskReleaseRequest
AgentTaskReleaseRequest captures one agent lease release request.
type AppErrorReport ¶
type AppErrorReport struct {
Code string `json:"code"`
SafeMessage string `json:"safe_message"`
LogPath string `json:"log_path"`
}
AppErrorReport is a typed, public-safe desktop diagnostic.
type AppRuntimeState ¶
type AppRuntimeState struct {
Attached bool `json:"attached"`
Owned bool `json:"owned"`
Version string `json:"version,omitempty"`
}
AppRuntimeState reports the last shell-observed runtime attachment state.
type AppStatusReport ¶
type AppStatusReport struct {
SchemaVersion int `json:"schema_version"`
Installed bool `json:"installed"`
AppVersion string `json:"app_version,omitempty"`
Channel string `json:"channel,omitempty"`
Running bool `json:"running"`
PID int `json:"pid,omitzero"`
State string `json:"state,omitempty"`
Error *AppErrorReport `json:"error,omitzero"`
Runtime AppRuntimeState `json:"runtime"`
Update AppUpdateState `json:"update"`
}
AppStatusReport is the stable machine-readable desktop app status projection.
type AppUpdateState ¶
type AppUpdateState struct {
AppState string `json:"app_state"`
AppAvailable string `json:"app_available,omitempty"`
RuntimeState string `json:"runtime_state"`
RuntimeAvailable string `json:"runtime_available,omitempty"`
LastCheckedAt string `json:"last_checked_at,omitempty"`
LastError *AppErrorReport `json:"last_error,omitzero"`
OperationID string `json:"operation_id,omitempty"`
Phase string `json:"phase,omitempty"`
Percent *int `json:"percent,omitzero"`
}
AppUpdateState reports the last shell-observed app and runtime update state.
type AttachTaskRunSessionRequest ¶
type AttachTaskRunSessionRequest = contract.AttachTaskRunSessionRequest
AttachTaskRunSessionRequest captures the shared run-session attach payload.
type AutomationJobCreateRequest ¶
type AutomationJobCreateRequest = contract.CreateJobRequest
AutomationJobCreateRequest captures the shared automation job create payload.
type AutomationJobListRecord ¶
type AutomationJobListRecord = contract.JobsResponse
AutomationJobListRecord is one structured automation job page.
type AutomationJobQuery ¶
type AutomationJobQuery = automationpkg.JobListQuery
AutomationJobQuery captures CLI filters for automation job list calls.
type AutomationJobUpdateRequest ¶
type AutomationJobUpdateRequest = contract.UpdateJobRequest
AutomationJobUpdateRequest captures mutable automation job fields.
type AutomationRunQuery ¶
type AutomationRunQuery = automationpkg.RunQuery
AutomationRunQuery captures CLI filters for automation run history calls.
type AutomationSuggestionAcceptanceRecord ¶
type AutomationSuggestionAcceptanceRecord = contract.AutomationSuggestionAcceptanceResponse
AutomationSuggestionAcceptanceRecord wraps one accepted suggestion and its Job.
type AutomationSuggestionListRecord ¶
type AutomationSuggestionListRecord = contract.AutomationSuggestionsResponse
AutomationSuggestionListRecord wraps one exact-workspace suggestion list.
type AutomationSuggestionRecord ¶
type AutomationSuggestionRecord = contract.AutomationSuggestionResponse
AutomationSuggestionRecord wraps one resolved suggestion.
type AutomationTriggerCreateRequest ¶
type AutomationTriggerCreateRequest = contract.CreateTriggerRequest
AutomationTriggerCreateRequest captures the shared automation trigger create payload.
type AutomationTriggerListRecord ¶
type AutomationTriggerListRecord = contract.TriggersResponse
AutomationTriggerListRecord is one structured automation trigger page.
type AutomationTriggerQuery ¶
type AutomationTriggerQuery = automationpkg.TriggerListQuery
AutomationTriggerQuery captures CLI filters for automation trigger list calls.
type AutomationTriggerUpdateRequest ¶
type AutomationTriggerUpdateRequest = contract.UpdateTriggerRequest
AutomationTriggerUpdateRequest captures mutable automation trigger fields.
type BulkForceTaskRunItemRecord ¶
type BulkForceTaskRunItemRecord = contract.BulkForceTaskRunItemPayload
BulkForceTaskRunItemRecord records one bulk force-operation row.
type BulkForceTaskRunRecord ¶
type BulkForceTaskRunRecord = contract.BulkForceTaskRunResponse
BulkForceTaskRunRecord is the shared bulk force-operation response payload.
type BulkForceTaskRunRequest ¶
type BulkForceTaskRunRequest = contract.BulkForceTaskRunRequest
BulkForceTaskRunRequest captures the shared bounded bulk force-operation payload.
type CancelTaskRequest ¶
type CancelTaskRequest = contract.CancelTaskRequest
CancelTaskRequest captures the shared task-cancel payload.
type CancelTaskRunRequest ¶
type CancelTaskRunRequest = contract.CancelTaskRunRequest
CancelTaskRunRequest captures the shared run-cancel payload.
type ClarificationAnswerRecord ¶
type ClarificationAnswerRecord = contract.ClarificationAnswerPayload
ClarificationAnswerRecord is the exact shared clarification result.
type ClarificationAnswerRequest ¶
type ClarificationAnswerRequest = contract.ClarificationAnswerRequest
ClarificationAnswerRequest resolves one live clarification.
type ClarificationPendingRecord ¶
type ClarificationPendingRecord = contract.ClarificationPendingPayload
ClarificationPendingRecord is one live pending clarification.
type ClarificationsRecord ¶
type ClarificationsRecord = contract.ClarificationsResponse
ClarificationsRecord is the shared live clarification list response.
type ClearTaskBlockRequest ¶
type ClearTaskBlockRequest = contract.ClearTaskBlockRequest
ClearTaskBlockRequest captures one task-block clear payload.
type ClientTarget ¶
type ClientTarget struct {
// contains filtered or unexported fields
}
ClientTarget describes one resolved daemon transport without exposing credentials in config.
func GatewayClientTarget ¶
func GatewayClientTarget(name, host string, port int, credential string) (ClientTarget, error)
GatewayClientTarget resolves a directly reachable HTTPS gateway profile.
func LocalClientTarget ¶
func LocalClientTarget(socketPath string) ClientTarget
LocalClientTarget resolves the unchanged HTTP-over-UDS transport.
func SSHForwardClientTarget ¶
func SSHForwardClientTarget(host string, port int) (ClientTarget, error)
SSHForwardClientTarget resolves an authenticated SSH tunnel as a local-equivalent loopback client.
func UnauthenticatedGatewayClientTarget ¶
func UnauthenticatedGatewayClientTarget(name, host string, port int) (ClientTarget, error)
UnauthenticatedGatewayClientTarget is restricted to pairing redemption before a credential exists.
type CmdPaletteClient ¶
type CmdPaletteClient interface {
ListCmdPaletteCommands(context.Context, string, string) (contract.CmdPaletteCommandsResponse, error)
ListCmdPaletteClients(context.Context, string) ([]contract.CmdPaletteClient, error)
InvokeCmdPaletteCommand(
context.Context,
string,
contract.CmdPaletteInvokeRequest,
) (contract.CmdPaletteInvokeResult, error)
GetCmdPalettePersonalization(context.Context, string) (contract.CmdPalettePersonalizationResponse, error)
ResetCmdPalettePersonalization(context.Context, string) (contract.CmdPalettePersonalizationResetResponse, error)
GetPendingToolApproval(context.Context, string) (contract.ToolApprovalStatusResponse, error)
ResolvePendingToolApproval(
context.Context, string, contract.ResolveToolApprovalRequest,
) (contract.ToolApprovalStatusResponse, error)
CancelPendingToolApproval(context.Context, string) (contract.ToolApprovalStatusResponse, error)
// contains filtered or unexported methods
}
type CmdPaletteMutationClient ¶
type CmdPaletteMutationClient interface {
GetCmdPaletteBindings(context.Context, string) (contract.SettingsWindowManagerResponse, error)
UpdateCmdPaletteBindings(
context.Context,
string,
contract.UpdateSettingsWindowManagerRequest,
) (contract.SettingsWindowManagerResponse, error)
SetCmdPalettePin(context.Context, string, string, bool) (contract.CmdPalettePinResponse, error)
// contains filtered or unexported methods
}
type CompleteTaskRunRequest ¶
type CompleteTaskRunRequest = contract.CompleteTaskRunRequest
CompleteTaskRunRequest captures the shared run-complete payload.
type CreateSessionRequest ¶
type CreateSessionRequest = contract.CreateSessionRequest
CreateSessionRequest captures the shared daemon session creation payload.
type CreateSupportBundleRequest ¶
type CreateSupportBundleRequest = contract.CreateSupportBundleRequest
CreateSupportBundleRequest captures one daemon-owned support bundle request.
type CreateTaskBlockRequest ¶
type CreateTaskBlockRequest = contract.CreateTaskBlockRequest
CreateTaskBlockRequest captures one task-block create payload.
type CreateTaskChildRequest ¶
type CreateTaskChildRequest = contract.CreateTaskChildRequest
CreateTaskChildRequest captures the shared child-task create payload.
type CreateTaskRequest ¶
type CreateTaskRequest = contract.CreateTaskRequest
CreateTaskRequest captures the shared task-create payload.
type DaemonClient ¶
type DaemonClient interface {
Status(ctx context.Context) (StatusRecord, error)
ObserveOverview(ctx context.Context, query ObserveOverviewQuery) (contract.ObserveOverviewResponse, error)
Doctor(ctx context.Context, query DoctorQuery) (DoctorRecord, error)
DaemonStatus(ctx context.Context) (DaemonStatus, error)
Drain(ctx context.Context) (DrainStatusRecord, error)
Undrain(ctx context.Context) (DrainStatusRecord, error)
TriggerSettingsRestart(ctx context.Context) (SettingsRestartActionRecord, error)
GetSettingsRestartStatus(ctx context.Context, operationID string) (SettingsRestartStatusRecord, error)
CreateSupportBundle(ctx context.Context, request CreateSupportBundleRequest) (SupportBundleOperationRecord, error)
GetSupportBundle(ctx context.Context, operationID string) (SupportBundleOperationRecord, error)
DownloadSupportBundle(ctx context.Context, operationID string, dst io.Writer) error
GetSettingsUpdate(ctx context.Context) (SettingsUpdateRecord, error)
UpdateSettingsSkills(ctx context.Context, request UpdateSettingsSkillsRequest) (SettingsMutationRecord, error)
UpdateSettingsAttention(
ctx context.Context,
request UpdateSettingsAttentionRequest,
) (SettingsMutationRecord, error)
UpdateSettingsShell(
ctx context.Context,
request UpdateSettingsShellRequest,
) (SettingsMutationRecord, error)
ReloadSettings(ctx context.Context) (SettingsMutationRecord, error)
ListSettingsApplyRecords(ctx context.Context, query SettingsApplyHistoryQuery) (SettingsApplyHistoryRecord, error)
GetOnboardingStatus(ctx context.Context) (contract.OnboardingStatusResponse, error)
CompleteOnboarding(ctx context.Context) (contract.OnboardingStatusResponse, error)
ResetOnboarding(ctx context.Context) (contract.OnboardingStatusResponse, error)
ListProviders(ctx context.Context) (contract.ProviderListResponse, error)
ProbeProviderAuth(ctx context.Context, providerID string) (contract.ProviderAuthProbeResponse, error)
ProviderModelClient
ListVaultSecrets(ctx context.Context, query VaultListQuery) ([]VaultRecord, error)
GetVaultSecret(ctx context.Context, ref string) (VaultRecord, error)
PutVaultSecret(ctx context.Context, request PutVaultSecretRequest) (VaultRecord, error)
DeleteVaultSecret(ctx context.Context, ref string) error
MarketplaceClient
MCPSettingsClient
CreateWorkspace(ctx context.Context, request WorkspaceCreateRequest) (WorkspaceRecord, error)
ListWorkspaces(ctx context.Context) ([]WorkspaceRecord, error)
GetWorkspace(ctx context.Context, ref string) (WorkspaceDetailRecord, error)
UpdateWorkspace(ctx context.Context, ref string, request WorkspaceUpdateRequest) (WorkspaceRecord, error)
DeleteWorkspace(ctx context.Context, ref string) error
ListAgents(ctx context.Context, query AgentQuery) ([]AgentRecord, error)
GetAgent(ctx context.Context, name string, query AgentQuery) (AgentRecord, error)
CreateAgent(ctx context.Context, request contract.CreateAgentRequest) (AgentRecord, error)
UpdateAgent(ctx context.Context, name string, request contract.UpdateAgentRequest) (AgentRecord, error)
DeleteAgent(ctx context.Context, name string, workspace string) (contract.DeleteAgentResponse, error)
DuplicateAgent(ctx context.Context, name string, request contract.DuplicateAgentRequest) (AgentRecord, error)
RolesClient
GetAgentSoul(ctx context.Context, name string, query AgentQuery) (AgentSoulRecord, error)
ValidateAgentSoul(ctx context.Context, name string, request AgentSoulValidateRequest) (AgentSoulRecord, error)
PutAgentSoul(ctx context.Context, name string, request AgentSoulPutRequest) (AgentSoulMutationRecord, error)
DeleteAgentSoul(ctx context.Context, name string, request AgentSoulDeleteRequest) (AgentSoulMutationRecord, error)
ListAgentSoulHistory(
ctx context.Context,
name string,
request AgentSoulHistoryRequest,
) (AgentSoulHistoryRecord, error)
RollbackAgentSoul(
ctx context.Context,
name string,
request AgentSoulRollbackRequest,
) (AgentSoulMutationRecord, error)
GetAgentHeartbeat(
ctx context.Context,
name string,
query AgentQuery,
) (AgentHeartbeatRecord, error)
ValidateAgentHeartbeat(
ctx context.Context,
name string,
request AgentHeartbeatValidateRequest,
) (AgentHeartbeatRecord, error)
PutAgentHeartbeat(
ctx context.Context,
name string,
request AgentHeartbeatPutRequest,
) (AgentHeartbeatMutationRecord, error)
DeleteAgentHeartbeat(
ctx context.Context,
name string,
request AgentHeartbeatDeleteRequest,
) (AgentHeartbeatMutationRecord, error)
ListAgentHeartbeatHistory(
ctx context.Context,
name string,
request AgentHeartbeatHistoryRequest,
) (AgentHeartbeatHistoryRecord, error)
RollbackAgentHeartbeat(
ctx context.Context,
name string,
request AgentHeartbeatRollbackRequest,
) (AgentHeartbeatMutationRecord, error)
GetAgentHeartbeatStatus(
ctx context.Context,
name string,
request AgentHeartbeatStatusRequest,
) (AgentHeartbeatStatusRecord, error)
WakeAgentHeartbeat(
ctx context.Context,
name string,
request AgentHeartbeatWakeRequest,
) (AgentHeartbeatWakeDecisionRecord, error)
ListResources(ctx context.Context, query ResourceListQuery) ([]ResourceRecord, error)
GetResource(ctx context.Context, kind string, id string) (ResourceRecord, error)
PutResource(ctx context.Context, kind string, id string, request ResourcePutRequest) (ResourceRecord, error)
DeleteResource(ctx context.Context, kind string, id string, request ResourceDeleteRequest) error
ListSkills(ctx context.Context, query SkillQuery) ([]SkillRecord, error)
GetSkill(ctx context.Context, name string, query SkillQuery) (SkillRecord, error)
GetSkillContent(ctx context.Context, name string, query SkillQuery) (string, error)
GetSkillShadows(ctx context.Context, name string, query SkillQuery) (SkillShadowsRecord, error)
EnableSkill(ctx context.Context, name string, query SkillQuery) (SkillActionRecord, error)
DisableSkill(ctx context.Context, name string, query SkillQuery) (SkillActionRecord, error)
ToolClient
HookCatalog(ctx context.Context, query HookCatalogQuery) ([]HookCatalogRecord, error)
HookRuns(ctx context.Context, workspaceRef string, query HookRunsQuery) ([]HookRunRecord, error)
HookEvents(ctx context.Context, query HookEventsQuery) ([]HookEventRecord, error)
ListLogs(ctx context.Context, query LogsListQuery) ([]LogEventRecord, error)
StreamLogs(ctx context.Context, query LogsListQuery, lastEventID string, handler SSEHandler) error
ListTasks(ctx context.Context, query TaskListQuery) (TaskListRecord, error)
CreateTask(ctx context.Context, request CreateTaskRequest) (TaskRecord, error)
CreateTaskAsAgent(
ctx context.Context,
request CreateTaskRequest,
credentials agentidentity.Credentials,
) (TaskRecord, error)
GetTask(ctx context.Context, id string) (TaskDetailRecord, error)
InspectTask(ctx context.Context, id string) (TaskInspectRecord, error)
InspectRun(ctx context.Context, id string) (TaskInspectRecord, error)
UpdateTask(ctx context.Context, id string, request UpdateTaskRequest) (TaskRecord, error)
BlockTask(ctx context.Context, id string, request CreateTaskBlockRequest) (TaskBlockRecord, error)
BlockTaskAsAgent(
ctx context.Context,
id string,
request CreateTaskBlockRequest,
credentials agentidentity.Credentials,
) (TaskBlockRecord, error)
ListTaskBlocks(ctx context.Context, id string, includeCleared bool) ([]TaskBlockRecord, error)
ClearTaskBlock(
ctx context.Context,
id string,
blockID string,
request ClearTaskBlockRequest,
) (TaskBlockRecord, error)
ClearTaskBlockAsAgent(
ctx context.Context,
id string,
blockID string,
request ClearTaskBlockRequest,
credentials agentidentity.Credentials,
) (TaskBlockRecord, error)
RecoverTask(ctx context.Context, id string, request RecoverTaskRequest) (TaskRecord, error)
DeleteTask(ctx context.Context, id string) error
GetTaskExecutionProfile(ctx context.Context, id string) (TaskExecutionProfileRecord, error)
SetTaskExecutionProfile(
ctx context.Context,
id string,
request *TaskExecutionProfileRequest,
) (TaskExecutionProfileRecord, error)
SetTaskWorktreePolicy(
ctx context.Context,
id string,
request *TaskWorktreePolicyRequest,
) (TaskExecutionProfileRecord, error)
DeleteTaskExecutionProfile(ctx context.Context, id string) error
RequestTaskRunReview(
ctx context.Context,
runID string,
request *TaskRunReviewRequest,
) (TaskRunReviewRequestRecord, error)
RequestTaskRunReviewAsAgent(
ctx context.Context,
runID string,
request *TaskRunReviewRequest,
credentials agentidentity.Credentials,
) (TaskRunReviewRequestRecord, error)
ListTaskRunReviews(ctx context.Context, query TaskRunReviewListQuery) ([]TaskRunReviewRecord, error)
GetTaskRunReview(ctx context.Context, reviewID string) (TaskRunReviewRecord, error)
SubmitTaskRunReviewVerdict(
ctx context.Context,
reviewID string,
request *TaskRunReviewVerdictRequest,
) (TaskRunReviewVerdictRecord, error)
SubmitTaskRunReviewVerdictAsAgent(
ctx context.Context,
reviewID string,
request *TaskRunReviewVerdictRequest,
credentials agentidentity.Credentials,
) (TaskRunReviewVerdictRecord, error)
PublishTask(ctx context.Context, id string, request TaskExecutionRequest) (TaskExecutionRecord, error)
StartTask(ctx context.Context, id string, request TaskExecutionRequest) (TaskExecutionRecord, error)
ApproveTask(ctx context.Context, id string, request TaskExecutionRequest) (TaskExecutionRecord, error)
RejectTask(ctx context.Context, id string) (TaskRecord, error)
CancelTask(ctx context.Context, id string, request CancelTaskRequest) (TaskRecord, error)
PauseTask(ctx context.Context, id string, request PauseTaskRequest) (TaskRecord, error)
ResumeTask(ctx context.Context, id string, request ResumeTaskRequest) (TaskRecord, error)
CreateChildTask(ctx context.Context, id string, request CreateTaskChildRequest) (TaskRecord, error)
AddTaskDependency(ctx context.Context, id string, request AddTaskDependencyRequest) (TaskDetailRecord, error)
RemoveTaskDependency(ctx context.Context, id string, dependsOnID string) (TaskDetailRecord, error)
EnqueueTaskRun(ctx context.Context, id string, request EnqueueTaskRunRequest) (TaskRunRecord, error)
FanOutTaskRuns(ctx context.Context, id string, request FanOutTaskRunsRequest) (FanOutTaskRunsRecord, error)
ListTaskRuns(ctx context.Context, id string, query TaskRunListQuery) ([]TaskRunRecord, error)
GetTaskRun(ctx context.Context, id string) (TaskRunDetailRecord, error)
ReadTaskRunResult(ctx context.Context, id string, offset int64, limit int64) (TaskRunResultPageRecord, error)
StartTaskRun(ctx context.Context, id string, request StartTaskRunRequest) (TaskRunRecord, error)
AttachTaskRunSession(ctx context.Context, id string, request AttachTaskRunSessionRequest) (TaskRunRecord, error)
CompleteTaskRun(ctx context.Context, id string, request CompleteTaskRunRequest) (TaskRunRecord, error)
FailTaskRun(ctx context.Context, id string, request FailTaskRunRequest) (TaskRunRecord, error)
CancelTaskRun(ctx context.Context, id string, request CancelTaskRunRequest) (TaskRunRecord, error)
ForceReleaseTaskRun(ctx context.Context, id string, request ForceReleaseTaskRunRequest) (TaskRunRecord, error)
ForceFailTaskRun(ctx context.Context, id string, request ForceFailTaskRunRequest) (TaskRunRecord, error)
RetryTaskRun(ctx context.Context, id string, request RetryTaskRunRequest) (RetryTaskRunRecord, error)
RecoverTaskRun(ctx context.Context, id string, request RecoverTaskRunRequest) (RetryTaskRunRecord, error)
BulkForceReleaseTaskRuns(ctx context.Context, request BulkForceTaskRunRequest) (BulkForceTaskRunRecord, error)
BulkForceFailTaskRuns(ctx context.Context, request BulkForceTaskRunRequest) (BulkForceTaskRunRecord, error)
SchedulerStatus(ctx context.Context) (SchedulerStatusRecord, error)
PauseScheduler(ctx context.Context, request SchedulerPauseRequest) (SchedulerStatusRecord, error)
ResumeScheduler(ctx context.Context, request SchedulerResumeRequest) (SchedulerStatusRecord, error)
DrainScheduler(ctx context.Context, request SchedulerDrainRequest) (SchedulerDrainRecord, error)
SchedulerBacklog(ctx context.Context, query SchedulerBacklogQuery) (SchedulerBacklogRecord, error)
AgentMe(ctx context.Context, credentials agentidentity.Credentials) (AgentMeRecord, error)
AgentContext(ctx context.Context, credentials agentidentity.Credentials) (AgentContextRecord, error)
AgentNotify(
ctx context.Context,
request AgentNotifyRequest,
credentials agentidentity.Credentials,
) (AgentNotifyRecord, error)
AgentSpawn(
ctx context.Context,
request AgentSpawnRequest,
credentials agentidentity.Credentials,
) (AgentSpawnRecord, error)
AgentTaskClaimNext(
ctx context.Context,
request AgentTaskClaimNextRequest,
credentials agentidentity.Credentials,
) (AgentTaskNextRecord, error)
AgentTaskHeartbeat(
ctx context.Context,
runID string,
request AgentTaskHeartbeatRequest,
credentials agentidentity.Credentials,
) (AgentTaskLeaseRecord, error)
AgentTaskComplete(
ctx context.Context,
runID string,
request AgentTaskCompleteRequest,
credentials agentidentity.Credentials,
) (AgentTaskLeaseRecord, error)
AgentTaskFail(
ctx context.Context,
runID string,
request AgentTaskFailRequest,
credentials agentidentity.Credentials,
) (AgentTaskLeaseRecord, error)
AgentTaskRelease(
ctx context.Context,
runID string,
request AgentTaskReleaseRequest,
credentials agentidentity.Credentials,
) (AgentTaskLeaseRecord, error)
// contains filtered or unexported methods
}
DaemonClient is the CLI transport surface for talking to the CompozyOS daemon over UDS.
func NewClient ¶
func NewClient(target ClientTarget) (DaemonClient, error)
NewClient constructs a daemon client for one fully resolved connection target.
type DaemonStatus ¶
type DaemonStatus = contract.DaemonStatusPayload
DaemonStatus is the shared daemon status payload.
type DevLinkExtensionRequest ¶
type DevLinkExtensionRequest = contract.DevLinkExtensionRequest
DevLinkExtensionRequest links an immutable generation to the resolved workspace.
type DoctorQuery ¶
DoctorQuery controls daemon-side doctor probe selection.
type DoctorRecord ¶
type DoctorRecord = contract.DoctorPayload
DoctorRecord is the hard-cut daemon API doctor payload.
type DrainStatusRecord ¶
type DrainStatusRecord = contract.DrainStatusResponse
DrainStatusRecord is the shared daemon admission-state payload.
type EnableExtensionRequest ¶
type EnableExtensionRequest = contract.EnableExtensionRequest
EnableExtensionRequest captures extension enable inputs.
type EnqueueTaskRunRequest ¶
type EnqueueTaskRunRequest = contract.EnqueueTaskRunRequest
EnqueueTaskRunRequest captures the shared run-enqueue payload.
type ExtensionCommandsRecord ¶
type ExtensionCommandsRecord = contract.ExtensionCommandsResponse
ExtensionCommandsRecord is the contributed-command discovery projection.
type ExtensionEnablePreviewRecord ¶
type ExtensionEnablePreviewRecord = contract.ExtensionEnablePreviewPayload
ExtensionEnablePreviewRecord is the mutation-free enable projection.
type ExtensionEnableRecord ¶
type ExtensionEnableRecord = contract.ExtensionEnableResult
ExtensionEnableRecord is the committed enable action result.
type ExtensionEnablementRecord ¶
type ExtensionEnablementRecord = contract.ExtensionEnablementPayload
ExtensionEnablementRecord is one effective profile-specific state.
type ExtensionInstallPreviewRecord ¶
type ExtensionInstallPreviewRecord = contract.ExtensionInstallPreviewPayload
ExtensionInstallPreviewRecord is the mutation-free install summary.
type ExtensionInventoryRecord ¶
type ExtensionInventoryRecord = contract.ExtensionInventoryPayload
ExtensionInventoryRecord is the shipped/live resource union for one extension.
type ExtensionKitItemRecord ¶
type ExtensionKitItemRecord = contract.ExtensionKitItemPayload
ExtensionKitItemRecord is one shipped or live extension resource.
type ExtensionLogRecord ¶
type ExtensionLogRecord = contract.ExtensionLogPayload
ExtensionLogRecord is one redacted extension stderr record.
type ExtensionLogsRecord ¶
type ExtensionLogsRecord = contract.ExtensionLogsResponse
ExtensionLogsRecord is one cursor-addressable snapshot of an extension log ring.
type ExtensionProvenanceRecord ¶
type ExtensionProvenanceRecord = contract.ExtensionProvenancePayload
ExtensionProvenanceRecord is one installed extension provenance payload.
type ExtensionRecord ¶
type ExtensionRecord = contract.ExtensionPayload
ExtensionRecord is the shared extension response payload.
type ExtensionSearchRecord ¶
type ExtensionSearchRecord = contract.ExtensionSearchResponse
ExtensionSearchRecord is one stable source-union discovery page.
type ExtensionSearchRequest ¶
type ExtensionSearchRequest = contract.ExtensionSearchRequest
ExtensionSearchRequest captures source-union discovery filters.
type ExtensionSecretsRecord ¶
type ExtensionSecretsRecord = contract.ExtensionSecretsPayload
ExtensionSecretsRecord is the presence-only extension secret projection.
type ExtensionUpdateRecord ¶
type ExtensionUpdateRecord = contract.ManagedExtensionUpdatePayload
ExtensionUpdateRecord is one daemon-owned extension update result.
type FailTaskRunRequest ¶
type FailTaskRunRequest = contract.FailTaskRunRequest
FailTaskRunRequest captures the shared run-fail payload.
type FanOutTaskRunsRecord ¶
type FanOutTaskRunsRecord = contract.FanOutTaskRunsResponse
FanOutTaskRunsRecord captures designated sibling run enqueue results.
type FanOutTaskRunsRequest ¶
type FanOutTaskRunsRequest = contract.FanOutTaskRunsRequest
FanOutTaskRunsRequest captures designated sibling run enqueue inputs.
type ForceFailTaskRunRequest ¶
type ForceFailTaskRunRequest = contract.ForceFailTaskRunRequest
ForceFailTaskRunRequest captures the shared forced-failure request payload.
type ForceReleaseTaskRunRequest ¶
type ForceReleaseTaskRunRequest = contract.ForceReleaseTaskRunRequest
ForceReleaseTaskRunRequest captures the shared force-release request payload.
type GoalTurnListQuery ¶
type HookCatalogQuery ¶
type HookCatalogQuery = contract.HookCatalogQuery
HookCatalogQuery captures the CLI filters for resolved hook catalog queries.
type HookCatalogRecord ¶
type HookCatalogRecord = contract.HookCatalogPayload
HookCatalogRecord is one resolved hook returned by the daemon API.
type HookEventRecord ¶
type HookEventRecord = contract.HookEventPayload
HookEventRecord is one supported hook taxonomy row returned by the daemon API.
type HookEventsQuery ¶
type HookEventsQuery = contract.HookEventsQuery
HookEventsQuery captures the CLI filters for hook taxonomy queries.
type HookRunRecord ¶
type HookRunRecord = contract.HookRunPayload
HookRunRecord is one persisted hook execution audit record.
type HookRunsQuery ¶
type HookRunsQuery = contract.HookRunsQuery
HookRunsQuery captures the CLI filters for hook execution history queries.
type IdentityRecord ¶
type IdentityRecord struct {
SessionID string `json:"session_id,omitempty"`
Agent string `json:"agent,omitempty"`
AgentName string `json:"agent_name,omitempty"`
}
IdentityRecord is the local agent identity exposed by `compozy whoami`.
type InstallExtensionRequest ¶
type InstallExtensionRequest = contract.InstallExtensionRequest
InstallExtensionRequest captures the shared extension install payload.
type JobRecord ¶
type JobRecord = contract.JobPayload
JobRecord is the shared automation job payload.
type LogEventRecord ¶
type LogEventRecord = contract.LogEventPayload
LogEventRecord is one cross-session runtime log row.
type LogsListQuery ¶
type LogsListQuery struct {
WorkspaceRef string
SessionID string
AgentName string
Type string
RunID string
ActorKind string
ActorID string
Provider string
Outcome string
Component string
ErrorOnly bool
AfterSequence int64
Since time.Time
Last int
}
LogsListQuery captures the CLI filters for cross-session runtime log queries.
type LoopListQuery ¶
type LoopNodeListQuery ¶
type LoopRequestListQuery ¶
type LoopRunListQuery ¶
type LoopRunNodesQuery ¶
type LoopTimelineQuery ¶
type MCPSettingsClient ¶
type MCPSettingsClient interface {
ListSettingsMCPServers(
ctx context.Context,
scope contract.SettingsLayeredScopeKind,
workspaceID string,
profile string,
) (contract.SettingsMCPServersResponse, error)
GetSettingsMCPAuthStatus(ctx context.Context, target SettingsMCPAuthTarget) (SettingsMCPAuthStatusRecord, error)
BeginSettingsMCPAuth(
ctx context.Context,
target SettingsMCPAuthTarget,
request SettingsMCPAuthBeginRequest,
) (SettingsMCPAuthBeginRecord, error)
ExchangeSettingsMCPAuth(
ctx context.Context,
target SettingsMCPAuthTarget,
request SettingsMCPAuthExchangeRequest,
) (SettingsMCPAuthStatusRecord, error)
LogoutSettingsMCPAuth(ctx context.Context, target SettingsMCPAuthTarget) (SettingsMCPAuthStatusRecord, error)
}
MCPSettingsClient exposes settings-owned MCP management.
type ManagedExtensionRemoveRecord ¶
type ManagedExtensionRemoveRecord = contract.ManagedExtensionRemovePayload
ManagedExtensionRemoveRecord is one daemon-owned extension removal result.
type MarketplaceClient ¶
type MarketplaceClient interface {
SearchMarketplace(
ctx context.Context,
query string,
limit int,
cursor string,
scope MarketplaceReadScope,
) (MarketplaceListRecord, error)
MarketplaceInfo(
ctx context.Context,
entryID string,
source string,
installedName string,
scope MarketplaceReadScope,
) (MarketplaceEntryRecord, error)
RefreshMarketplace(ctx context.Context) (MarketplaceRefreshRecord, error)
}
MarketplaceClient exposes curated discovery and refresh operations.
type MarketplaceEntryRecord ¶
type MarketplaceEntryRecord = contract.MarketplaceEntryResponse
MarketplaceEntryRecord is one exact marketplace detail response.
type MarketplaceListRecord ¶
type MarketplaceListRecord = contract.MarketplaceListResponse
MarketplaceListRecord is one canonical catalog discovery response.
type MarketplaceListingRecord ¶
type MarketplaceListingRecord = contract.MarketplaceListingPayload
MarketplaceListingRecord is one shared marketplace discovery row.
type MarketplaceReadScope ¶
type MarketplaceReadScope struct {
Scope contract.SettingsLayeredScopeKind
WorkspaceID string
Profile string
}
MarketplaceReadScope selects the installed-state projection for Marketplace reads.
type MarketplaceRefreshRecord ¶
type MarketplaceRefreshRecord = contract.MarketplaceRefreshResponse
MarketplaceRefreshRecord is one marketplace refresh response.
type MarketplaceSourcesClient ¶
type MarketplaceSourcesClient interface {
AddMarketplaceSource(
context.Context,
contract.AddMarketplaceSourceRequest,
) (contract.MarketplaceSourceResponse, error)
UpdateMarketplaceSource(
context.Context,
string,
contract.UpdateMarketplaceSourceRequest,
) (contract.MarketplaceSourceResponse, error)
RemoveMarketplaceSource(context.Context, string) error
RefreshMarketplaceSource(context.Context, string) (contract.MarketplaceSourceResponse, error)
// contains filtered or unexported methods
}
type ObserveOverviewQuery ¶
ObserveOverviewQuery bounds one home overview read.
type OutputFormat ¶
type OutputFormat string
OutputFormat controls CLI output rendering.
const ( // OutputHuman renders human-readable tables and sections. OutputHuman OutputFormat = "human" // OutputJSON renders raw JSON payloads. OutputJSON OutputFormat = "json" // OutputJSONL renders newline-delimited JSON for streaming-style commands. OutputJSONL OutputFormat = "jsonl" // OutputToon renders a compact LLM-friendly TOON-like text document. OutputToon OutputFormat = "toon" )
type PauseTaskRequest ¶
type PauseTaskRequest = contract.PauseTaskRequest
PauseTaskRequest captures the shared task-pause payload.
type PromoteSessionInputRequest ¶
type PromoteSessionInputRequest = contract.PromoteSessionInputRequest
PromoteSessionInputRequest converts queued input into fenced steering input.
type ProviderModelClient ¶
type ProviderModelClient interface {
ListProviderModels(ctx context.Context, query ProviderModelListQuery) (ProviderModelListRecord, error)
RefreshProviderModels(
ctx context.Context,
providerID string,
request ProviderModelRefreshRequest,
) (ProviderModelRefreshRecord, error)
ProviderModelStatus(ctx context.Context, providerID string) (ProviderModelStatusRecord, error)
CurateProviderModel(
ctx context.Context,
providerID string,
request ProviderModelCurationRequest,
) (ProviderModelCurationRecord, error)
}
ProviderModelClient exposes provider-model catalog reads and mutations over the daemon API.
type ProviderModelCurationRecord ¶
type ProviderModelCurationRecord = contract.ProviderModelCurationResponse
ProviderModelCurationRecord is the applied provider-model curation response.
type ProviderModelCurationRequest ¶
type ProviderModelCurationRequest = contract.ProviderModelCurationRequest
ProviderModelCurationRequest captures one provider-model curation mutation.
type ProviderModelListQuery ¶
type ProviderModelListQuery struct {
ProviderID string
SourceID string
View string
Refresh bool
IncludeStale bool
}
ProviderModelListQuery captures provider model catalog list filters.
type ProviderModelListRecord ¶
type ProviderModelListRecord = contract.ProviderModelListResponse
ProviderModelListRecord is the native provider model catalog list response.
type ProviderModelRecord ¶
type ProviderModelRecord = contract.ProviderModelPayload
ProviderModelRecord is one native provider model catalog projection.
type ProviderModelRefreshRecord ¶
type ProviderModelRefreshRecord = contract.ProviderModelRefreshResponse
ProviderModelRefreshRecord is the native provider model catalog refresh response.
type ProviderModelRefreshRequest ¶
type ProviderModelRefreshRequest = contract.ProviderModelRefreshRequest
ProviderModelRefreshRequest captures one provider model catalog refresh request.
type ProviderModelSourceStatusRecord ¶
type ProviderModelSourceStatusRecord = contract.ModelCatalogSourceStatusPayload
ProviderModelSourceStatusRecord is one provider-scoped source status row.
type ProviderModelStatusRecord ¶
type ProviderModelStatusRecord = contract.ProviderModelStatusResponse
ProviderModelStatusRecord is the native provider model catalog source status response.
type PutVaultSecretRequest ¶
type PutVaultSecretRequest = contract.PutVaultSecretRequest
PutVaultSecretRequest captures a write-only vault secret write payload.
type RecoverTaskRequest ¶
type RecoverTaskRequest = contract.RecoverTaskRequest
RecoverTaskRequest captures one task-level recovery payload.
type RecoverTaskRunRequest ¶
type RecoverTaskRunRequest = contract.RecoverTaskRunRequest
RecoverTaskRunRequest captures the shared recovery request payload.
type ReloadExtensionRequest ¶
type ReloadExtensionRequest = contract.ReloadExtensionRequest
ReloadExtensionRequest swaps a dev-linked extension generation.
type RenameSessionRequest ¶
type RenameSessionRequest = contract.RenameSessionRequest
RenameSessionRequest changes one user session's durable display name.
type ReplaceSessionInputRequest ¶
type ReplaceSessionInputRequest = contract.ReplaceSessionInputRequest
ReplaceSessionInputRequest replaces the authored text and identity of queued input.
type ResourceDeleteRequest ¶
type ResourceDeleteRequest = contract.DeleteResourceRequest
ResourceDeleteRequest captures one desired-state resource delete request.
type ResourceListQuery ¶
type ResourceListQuery struct {
Kind resources.ResourceKind
ScopeKind resources.ResourceScopeKind
ScopeID string
OwnerKind resources.ResourceOwnerKind
OwnerID string
SourceKind resources.ResourceSourceKind
SourceID string
Limit int
}
ResourceListQuery captures CLI filters for resource list calls.
type ResourcePutRequest ¶
type ResourcePutRequest = contract.PutResourceRequest
ResourcePutRequest captures one desired-state resource upsert.
type ResourceRecord ¶
type ResourceRecord = contract.ResourceRecordPayload
ResourceRecord is one desired-state resource payload.
type ResumeTaskRequest ¶
type ResumeTaskRequest = contract.ResumeTaskRequest
ResumeTaskRequest captures the shared task-resume payload.
type RetryTaskRunRecord ¶
type RetryTaskRunRecord = contract.RetryTaskRunResponse
RetryTaskRunRecord is the shared retry response payload.
type RetryTaskRunRequest ¶
type RetryTaskRunRequest = contract.RetryTaskRunRequest
RetryTaskRunRequest captures the shared retry request payload.
type RoleQuery ¶
type RoleQuery struct {
Workspace string
}
RoleQuery scopes role resolution to a workspace when supplied.
type RoleRecord ¶
type RoleRecord = contract.RoleStatus
RoleRecord is one effective background-role configuration projection.
type RolesClient ¶
type RolesClient interface {
ListRoles(context.Context, RoleQuery) ([]RoleRecord, error)
GetRole(context.Context, string, RoleQuery) (RoleRecord, error)
}
RolesClient is the focused daemon surface for background-role inspection.
type RunRecord ¶
type RunRecord = contract.RunPayload
RunRecord is the shared automation run payload.
type SSEHandler ¶
type SchedulerBacklogQuery ¶
type SchedulerBacklogQuery = contract.SchedulerBacklogQuery
SchedulerBacklogQuery captures scheduler backlog filters.
type SchedulerBacklogRecord ¶
type SchedulerBacklogRecord = contract.SchedulerBacklogPayload
SchedulerBacklogRecord is the shared scheduler backlog payload.
type SchedulerDrainRecord ¶
type SchedulerDrainRecord = contract.SchedulerDrainResponse
SchedulerDrainRecord is the shared scheduler drain response payload.
type SchedulerDrainRequest ¶
type SchedulerDrainRequest = contract.SchedulerDrainRequest
SchedulerDrainRequest captures the shared scheduler drain payload.
type SchedulerPauseRequest ¶
type SchedulerPauseRequest = contract.SchedulerPauseRequest
SchedulerPauseRequest captures the shared scheduler pause payload.
type SchedulerResumeRequest ¶
type SchedulerResumeRequest = contract.SchedulerResumeRequest
SchedulerResumeRequest captures the shared scheduler resume payload.
type SchedulerStatusRecord ¶
type SchedulerStatusRecord = contract.SchedulerStatusPayload
SchedulerStatusRecord is the shared scheduler status payload.
type SessionApprovalRecord ¶
type SessionApprovalRecord = contract.SessionApprovalResponse
SessionApprovalRecord is the shared session approval response payload.
type SessionApprovalRequest ¶
type SessionApprovalRequest = contract.ApproveSessionRequest
SessionApprovalRequest captures an interactive permission decision.
type SessionAttachmentRecord ¶
type SessionAttachmentRecord = contract.SessionAttachmentPayload
SessionAttachmentRecord is the shared uploaded session attachment payload.
type SessionAttentionSummaryRecord ¶
type SessionAttentionSummaryRecord = contract.SessionAttentionSummaryPayload
SessionAttentionSummaryRecord is the exact operator-wide attention aggregate.
type SessionCommandRecord ¶
type SessionCommandRecord = contract.SessionCommandPayload
SessionCommandRecord is one command in the unified session catalog.
type SessionCommandsRecord ¶
type SessionCommandsRecord = contract.SessionCommandsResponse
SessionCommandsRecord is the unified session command catalog.
type SessionContinueRequest ¶
type SessionContinueRequest = contract.ContinueSessionRequest
SessionContinueRequest is the daemon continue request.
type SessionDerivePreviewRecord ¶
type SessionDerivePreviewRecord = contract.SessionDerivePreviewResponse
SessionDerivePreviewRecord is the daemon continue/fork preview response.
type SessionDeriveRecord ¶
type SessionDeriveRecord = contract.SessionDeriveResponse
SessionDeriveRecord is the daemon continue/fork response.
type SessionDeriveTarget ¶
SessionDeriveTarget names the source session of a continue or fork and the workspace whose route serves it.
type SessionEventQuery ¶
type SessionEventQuery struct {
Forward bool
Type string
AgentName string
TurnID string
Since time.Time
Last int
AfterSequence int64
Archive string
}
SessionEventQuery captures the CLI filters for session event/history queries.
type SessionEventRecord ¶
type SessionEventRecord = contract.SessionEventPayload
SessionEventRecord is one persisted session event row returned by the daemon API.
type SessionForkRequest ¶
type SessionForkRequest = contract.ForkSessionRequest
SessionForkRequest is the daemon fork request.
type SessionGoalCommandRequest ¶
type SessionGoalCommandRequest = contract.SessionGoalCommandRequest
SessionGoalCommandRequest is the typed CLI Goal control request.
type SessionHealthRecord ¶
type SessionHealthRecord = contract.SessionHealthPayload
SessionHealthRecord is the shared session-health payload.
type SessionInputListRecord ¶
type SessionInputListRecord = contract.SessionInputListResponse
SessionInputListRecord is the daemon response for pending session input.
type SessionInputRecord ¶
type SessionInputRecord = contract.SessionInputPayload
SessionInputRecord is one durable pending session input.
type SessionInspectQuery ¶
type SessionInspectQuery struct {
IncludeRecentWakeEvents bool
}
SessionInspectQuery captures optional session inspect expansion fields.
type SessionInspectRecord ¶
type SessionInspectRecord = contract.SessionInspectResponse
SessionInspectRecord is the shared detailed session inspect payload.
type SessionInteractionsRecord ¶
type SessionInteractionsRecord = contract.SessionInteractionsResponse
SessionInteractionsRecord is the restart-durable pending-interaction projection.
type SessionLayoutClient ¶
type SessionLayoutClient interface {
ListSessionFolders(ctx context.Context, workspace string) (contract.SessionFoldersResponse, error)
CreateSessionFolder(ctx context.Context, workspace string, name string) (contract.SessionFolderResponse, error)
RenameSessionFolder(
ctx context.Context,
workspace string,
folderID string,
name string,
) (contract.SessionFolderResponse, error)
DeleteSessionFolder(ctx context.Context, workspace string, folderID string) (contract.SessionFoldersResponse, error)
ReorderSessionFolders(
ctx context.Context,
workspace string,
folderIDs []string,
) (contract.SessionFoldersResponse, error)
MoveSession(ctx context.Context, sessionID string, folderID string) (contract.SessionFoldersResponse, error)
ReorderSessions(
ctx context.Context,
workspace string,
request contract.ReorderSessionsRequest,
) (contract.SessionFoldersResponse, error)
}
SessionLayoutClient manages workspace session folders and manual session order.
type SessionListPage ¶
type SessionListPage struct {
Sessions []SessionRecord `json:"sessions"`
Page contract.CountedCursorPagePayload `json:"page"`
}
SessionListPage is the counted catalog required by CLI list output.
type SessionListQuery ¶
type SessionListQuery struct {
Subagents string
Workspace string
Worktree string
State string
Type string
Agent string
Parent string
Root string
Query string
Resumable bool
Attention bool
Badges []session.Badge
Archive string
IncludeHealth bool
Limit int
Sort string
Cursor string
}
SessionListQuery captures the CLI filters for one session catalog page.
type SessionPromptCancelRecord ¶
type SessionPromptCancelRecord = contract.SessionPromptCancelResponse
SessionPromptCancelRecord is the stable idempotent cancellation outcome.
type SessionPromptRecord ¶
type SessionPromptRecord struct {
Prompt SessionPromptResultRecord `json:"prompt"`
Goal *contract.GoalCommandResult `json:"goal,omitzero"`
Events []AgentEventRecord `json:"events,omitempty"`
}
SessionPromptRecord wraps prompt outcomes that may either stream events or return a busy-input decision.
type SessionPromptRequest ¶
type SessionPromptRequest = contract.SendPromptRequest
SessionPromptRequest captures a session prompt plus explicit busy-input mode.
type SessionPromptResultRecord ¶
type SessionPromptResultRecord = contract.SendPromptResultPayload
SessionPromptResultRecord is the shared non-streaming prompt outcome payload.
type SessionRecapRecord ¶
type SessionRecapRecord = contract.RecapPayload
SessionRecapRecord is the shared deterministic session recap payload.
type SessionRecord ¶
type SessionRecord = contract.SessionPayload
SessionRecord is the shared daemon session payload.
type SessionRepairActionRecord ¶
type SessionRepairActionRecord = contract.SessionRepairActionPayload
SessionRepairActionRecord is one planned or persisted repair action.
type SessionRepairIssueRecord ¶
type SessionRepairIssueRecord = contract.SessionRepairIssuePayload
SessionRepairIssueRecord is one inconsistency reported by session repair.
type SessionRepairQuery ¶
SessionRepairQuery captures CLI repair modifiers.
type SessionRepairRecord ¶
type SessionRepairRecord = contract.SessionRepairPayload
SessionRepairRecord reports one session repair pass returned by the daemon API.
type SessionRewindRecord ¶
type SessionRewindRecord = contract.SessionConversationRewindResponse
type SessionRewindRequest ¶
type SessionRewindRequest = contract.SessionConversationRewindRequest
type SessionSoulRefreshRequest ¶
type SessionSoulRefreshRequest = contract.SessionSoulRefreshRequest
SessionSoulRefreshRequest captures the managed session Soul refresh payload.
type SessionStatusRecord ¶
type SessionStatusRecord = contract.SessionStatusResponse
SessionStatusRecord is the shared compact session status payload.
type SessionStopRecord ¶
type SessionStopRecord = contract.SessionStopPayload
SessionStopRecord is the shared termination result.
type SessionTranscriptRecord ¶
type SessionTranscriptRecord = contract.SessionTranscriptResponse
type SessionUsageRecord ¶
type SessionUsageRecord = contract.SessionUsagePayload
SessionUsageRecord is the shared aggregated session usage payload.
type SessionWaitRecord ¶
type SessionWaitRecord = contract.SessionWaitResponse
SessionWaitRecord is the stable bounded wait outcome.
type SessionWaitRequest ¶
type SessionWaitRequest = contract.SessionWaitRequest
SessionWaitRequest is the stable bounded wait request.
type SetExtensionSecretsRequest ¶
type SetExtensionSecretsRequest = contract.SetExtensionSecretsRequest
SetExtensionSecretsRequest is the write-only extension secret mutation payload.
type SetSessionRuntimeRequest ¶
type SetSessionRuntimeRequest = contract.SetSessionRuntimeRequest
SetSessionRuntimeRequest selects the default runtime for future prompts.
type SettingsApplyHistoryQuery ¶
SettingsApplyHistoryQuery captures apply-history filters.
type SettingsApplyHistoryRecord ¶
type SettingsApplyHistoryRecord = contract.ConfigApplyRecordsResponse
SettingsApplyHistoryRecord is the shared settings apply-history response payload.
type SettingsMCPAuthBeginRecord ¶
type SettingsMCPAuthBeginRecord = contract.SettingsMCPAuthBeginResponse
SettingsMCPAuthBeginRecord is the verifier-free daemon OAuth handoff.
type SettingsMCPAuthBeginRequest ¶
type SettingsMCPAuthBeginRequest = contract.SettingsMCPAuthBeginRequest
SettingsMCPAuthBeginRequest selects automatic or manual callback delivery.
type SettingsMCPAuthExchangeRequest ¶
type SettingsMCPAuthExchangeRequest = contract.SettingsMCPAuthExchangeRequest
SettingsMCPAuthExchangeRequest is the secret-bearing one-time exchange body.
type SettingsMCPAuthStatusRecord ¶
type SettingsMCPAuthStatusRecord = contract.SettingsMCPAuthStatusPayload
SettingsMCPAuthStatusRecord is the redacted daemon OAuth status.
type SettingsMCPAuthTarget ¶
type SettingsMCPAuthTarget struct {
Owner string
Name string
Scope contract.SettingsLayeredScopeKind
WorkspaceID string
Profile string
}
SettingsMCPAuthTarget selects one exact daemon-owned MCP credential set.
type SettingsMutationRecord ¶
type SettingsMutationRecord = contract.SettingsApplyResponse
SettingsMutationRecord is the shared settings mutation response payload.
type SettingsRestartActionRecord ¶
type SettingsRestartActionRecord = contract.RestartActionResponse
SettingsRestartActionRecord is the shared restart action response payload.
type SettingsRestartStatusRecord ¶
type SettingsRestartStatusRecord = contract.RestartActionStatus
SettingsRestartStatusRecord is the shared restart polling payload.
type SettingsUpdateRecord ¶
type SettingsUpdateRecord = contract.SettingsUpdateResponse
SettingsUpdateRecord is the shared settings update status payload.
type SkillActionRecord ¶
type SkillActionRecord = contract.SkillActionResponse
SkillActionRecord is the shared skill enable/disable response payload.
type SkillProvenanceRecord ¶
type SkillProvenanceRecord = contract.ProvenancePayload
SkillProvenanceRecord is the shared daemon skill provenance payload.
type SkillQuery ¶
SkillQuery captures daemon skill filters.
type SkillRecord ¶
type SkillRecord = contract.SkillPayload
SkillRecord is the shared daemon skill payload.
type SkillShadowsRecord ¶
type SkillShadowsRecord = contract.SkillShadowsResponse
SkillShadowsRecord is the shared daemon skill shadow payload.
type SpawnPermissionPolicyRecord ¶
type SpawnPermissionPolicyRecord = contract.SpawnPermissionPolicyPayload
SpawnPermissionPolicyRecord captures concrete spawn permission atoms.
type StartTaskRunRequest ¶
type StartTaskRunRequest = contract.StartTaskRunRequest
StartTaskRunRequest captures the shared run-start payload.
type StatusRecord ¶
type StatusRecord = contract.StatusPayload
StatusRecord is the hard-cut daemon API status payload.
type StructuredError ¶
type StructuredError = diagnosticspkg.StructuredError
StructuredError is the CLI-visible alias for diagnostic-bearing transport errors.
type SubagentListQuery ¶
type SuggestionRecord ¶
type SuggestionRecord = contract.AutomationSuggestionPayload
SuggestionRecord is one shared automation suggestion payload.
type SupportBundleOperationRecord ¶
type SupportBundleOperationRecord = contract.SupportBundleOperationPayload
SupportBundleOperationRecord is the shared support bundle operation payload.
type TaskBlockRecord ¶
type TaskBlockRecord = contract.TaskBlockPayload
TaskBlockRecord is the shared task-block payload.
type TaskCatalogItemRecord ¶
type TaskCatalogItemRecord = contract.TaskCatalogItemPayload
TaskCatalogItemRecord is one lean task catalog row.
type TaskDependencyRecord ¶
type TaskDependencyRecord = contract.TaskDependencyPayload
TaskDependencyRecord is the shared dependency-edge payload.
type TaskDetailRecord ¶
type TaskDetailRecord = contract.TaskDetailPayload
TaskDetailRecord is the shared expanded task payload.
type TaskEventRecord ¶
type TaskEventRecord = contract.TaskEventPayload
TaskEventRecord is the shared task audit-event payload.
type TaskExecutionProfileRecord ¶
type TaskExecutionProfileRecord = contract.TaskExecutionProfilePayload
TaskExecutionProfileRecord is the shared task execution profile payload.
type TaskExecutionProfileRequest ¶
type TaskExecutionProfileRequest = contract.SetTaskExecutionProfileRequest
TaskExecutionProfileRequest captures a task execution profile replacement.
type TaskExecutionRecord ¶
type TaskExecutionRecord = contract.TaskExecutionResponse
TaskExecutionRecord is the shared task execution-boundary payload.
type TaskExecutionRequest ¶
type TaskExecutionRequest = contract.TaskExecutionRequest
TaskExecutionRequest captures the shared task publish/start/approval payload.
type TaskInspectRecord ¶
type TaskInspectRecord = contract.TaskInspectPayload
TaskInspectRecord is the shared task/run inspect payload.
type TaskListQuery ¶
type TaskListQuery = contract.TaskListQuery
TaskListQuery captures CLI filters for task list calls.
type TaskListRecord ¶
type TaskListRecord = contract.TasksResponse
TaskListRecord is the counted task catalog response.
type TaskRecord ¶
type TaskRecord = contract.TaskPayload
TaskRecord is the shared single-task payload.
type TaskRunDetailRecord ¶
type TaskRunDetailRecord = contract.TaskRunDetailPayload
TaskRunDetailRecord is the shared expanded task-run payload.
type TaskRunListQuery ¶
type TaskRunListQuery = contract.TaskRunListQuery
TaskRunListQuery captures CLI filters for task-run list calls.
type TaskRunRecord ¶
type TaskRunRecord = contract.TaskRunPayload
TaskRunRecord is the shared task-run payload.
type TaskRunResultPageRecord ¶
type TaskRunResultPageRecord = contract.TaskRunResultPageResponse
TaskRunResultPageRecord is one exact byte page from a task-run result.
type TaskRunReviewListQuery ¶
type TaskRunReviewListQuery = contract.TaskRunReviewListQuery
TaskRunReviewListQuery captures CLI filters for task-run review list calls.
type TaskRunReviewRecord ¶
type TaskRunReviewRecord = contract.TaskRunReviewPayload
TaskRunReviewRecord is the shared task-run review payload.
type TaskRunReviewRequest ¶
type TaskRunReviewRequest = contract.CreateTaskRunReviewRequest
TaskRunReviewRequest captures one task-run review request payload.
type TaskRunReviewRequestRecord ¶
type TaskRunReviewRequestRecord = contract.TaskRunReviewRequestResponse
TaskRunReviewRequestRecord captures one task-run review request result.
type TaskRunReviewVerdictRecord ¶
type TaskRunReviewVerdictRecord = contract.TaskRunReviewVerdictResponse
TaskRunReviewVerdictRecord captures one task-run review verdict result.
type TaskRunReviewVerdictRequest ¶
type TaskRunReviewVerdictRequest = contract.SubmitTaskRunReviewVerdictRequest
TaskRunReviewVerdictRequest captures one task-run review verdict payload.
type TaskSummaryRecord ¶
type TaskSummaryRecord = contract.TaskSummaryPayload
TaskSummaryRecord is the shared rich task summary payload.
type TaskWorktreePolicyRequest ¶
type TaskWorktreePolicyRequest = contract.SetTaskWorktreePolicyRequest
TaskWorktreePolicyRequest captures a worktree-only execution profile patch.
type TerminalAgentClient ¶
type TerminalAgentClient interface {
TerminalClient
ExecTerminal(context.Context, string, TerminalExecRequest) (terminalpkg.ExecResult, error)
ReadTerminal(context.Context, string, string, TerminalReadOptions) (terminalpkg.ReadResult, error)
SignalTerminal(context.Context, string, string, string) error
ListTerminalInputRequests(
context.Context,
string,
TerminalInputRequestQuery,
) (TerminalInputRequests, error)
AnswerTerminalInputRequest(context.Context, string, string, string, []byte) (int, bool, error)
RejectTerminalInputRequest(context.Context, string, string, string, string) error
QueryTerminalJournal(context.Context, string, TerminalJournalQuery) (terminalpkg.Page, error)
ControlTerminalRecording(context.Context, string, string, string) (terminalpkg.RecordingRef, error)
}
type TerminalAttachOptions ¶
type TerminalClient ¶
type TerminalClient interface {
CreateTerminal(context.Context, string, TerminalCreateRequest) (contract.TerminalInfoPayload, error)
ListTerminals(context.Context, string) ([]contract.TerminalInfoPayload, error)
GetTerminal(context.Context, string, string) (contract.TerminalInfoPayload, error)
DeleteTerminal(context.Context, string, string, string) (TerminalExitRecord, error)
AttachTerminal(context.Context, string, string, TerminalAttachOptions, io.Reader, io.Writer) error
// contains filtered or unexported methods
}
type TerminalCreateRequest ¶
type TerminalCreateRequest = contract.TerminalCreateRequest
type TerminalExecRequest ¶
type TerminalExecRequest struct {
Command string `json:"command"`
Args []string `json:"args,omitempty"`
Cwd string `json:"cwd,omitempty"`
Env map[string]string `json:"env,omitempty"`
YieldMs int `json:"yield_ms,omitzero"`
Visible bool `json:"visible,omitzero"`
Output terminalpkg.OutputShape `json:"output"`
}
type TerminalExitRecord ¶
type TerminalInputRequestQuery ¶
type TerminalInputRequestQuery struct {
TerminalID string
}
type TerminalInputRequests ¶
type TerminalInputRequests struct {
Pending []terminalpkg.PendingInputRequest `json:"pending"`
Resolved []terminalpkg.ResolvedInputRequest `json:"resolved"`
}
type TerminalJournalQuery ¶
type TerminalReadOptions ¶
type TokenUsageRecord ¶
type TokenUsageRecord = contract.TokenUsagePayload
TokenUsageRecord is the prompt usage payload returned by the daemon API.
type ToolApprovalGrantListRecord ¶
type ToolApprovalGrantListRecord = contract.ToolApprovalGrantListResponse
ToolApprovalGrantListRecord is one workspace's remembered native-tool decisions.
type ToolApprovalGrantRecord ¶
type ToolApprovalGrantRecord = contract.ToolApprovalGrantPayload
ToolApprovalGrantRecord is one remembered native-tool approval decision.
type ToolApprovalGrantSetRequest ¶
type ToolApprovalGrantSetRequest = contract.ToolApprovalGrantSetRequest
ToolApprovalGrantSetRequest creates or replaces one explicit wider decision.
type ToolApprovalRecord ¶
type ToolApprovalRecord = contract.ToolApprovalPayload
ToolApprovalRecord is the shared tool approval payload.
type ToolApprovalRequest ¶
type ToolApprovalRequest = contract.ToolApprovalRequest
ToolApprovalRequest captures one local approval-token mint request.
type ToolArtifactPageRecord ¶
type ToolArtifactPageRecord = contract.ToolArtifactPageResponse
ToolArtifactPageRecord is one exact page from a retained oversized tool result.
type ToolClient ¶
type ToolClient interface {
ListTools(ctx context.Context, query ToolQuery) (ToolsResponseRecord, error)
SearchTools(ctx context.Context, request ToolSearchRequest) (ToolsResponseRecord, error)
GetTool(ctx context.Context, id string, query ToolQuery) (ToolResponseRecord, error)
CreateToolApproval(ctx context.Context, id string, request ToolApprovalRequest) (ToolApprovalRecord, error)
SetToolApprovalGrant(
ctx context.Context,
workspaceID string,
request ToolApprovalGrantSetRequest,
) (ToolApprovalGrantRecord, error)
ListToolApprovalGrants(ctx context.Context, workspaceID string) (ToolApprovalGrantListRecord, error)
RevokeToolApprovalGrant(ctx context.Context, workspaceID string, id string) error
InvokeTool(ctx context.Context, id string, request ToolInvokeRequest) (ToolInvokeResponseRecord, error)
ReadToolArtifact(
ctx context.Context,
workspaceID string,
artifactURI string,
offset int64,
limit int64,
) (ToolArtifactPageRecord, error)
ListToolsets(ctx context.Context, query ToolQuery) (ToolsetsResponseRecord, error)
GetToolset(ctx context.Context, id string, query ToolQuery) (ToolsetResponseRecord, error)
}
ToolClient is the CLI transport surface for registry tools and retained results.
type ToolErrorResponseRecord ¶
type ToolErrorResponseRecord = contract.ToolErrorResponse
ToolErrorResponseRecord is the shared structured tool error response.
type ToolInvokeRequest ¶
type ToolInvokeRequest = contract.ToolInvokeRequest
ToolInvokeRequest captures the shared registry invoke request.
type ToolInvokeResponseRecord ¶
type ToolInvokeResponseRecord = contract.ToolInvokeResponse
ToolInvokeResponseRecord is the shared registry invoke response.
type ToolRecord ¶
type ToolRecord = contract.ToolPayload
ToolRecord is the shared tool registry projection payload.
type ToolResponseRecord ¶
type ToolResponseRecord = contract.ToolResponse
ToolResponseRecord is the shared single-tool registry response.
type ToolSearchRequest ¶
type ToolSearchRequest = contract.ToolSearchRequest
ToolSearchRequest captures the shared registry search request.
type ToolsResponseRecord ¶
type ToolsResponseRecord = contract.ToolsResponse
ToolsResponseRecord is the shared tool registry list/search response.
type ToolsetRecord ¶
type ToolsetRecord = contract.ToolsetPayload
ToolsetRecord is the shared toolset projection payload.
type ToolsetResponseRecord ¶
type ToolsetResponseRecord = contract.ToolsetResponse
ToolsetResponseRecord is the shared single-toolset response.
type ToolsetsResponseRecord ¶
type ToolsetsResponseRecord = contract.ToolsetsResponse
ToolsetsResponseRecord is the shared toolset list response.
type TriggerRecord ¶
type TriggerRecord = contract.TriggerPayload
TriggerRecord is the shared automation trigger payload.
type TurnHistoryRecord ¶
type TurnHistoryRecord = contract.TurnHistoryPayload
TurnHistoryRecord groups session events by turn.
type UpdateExtensionRequest ¶
type UpdateExtensionRequest = contract.UpdateExtensionRequest
UpdateExtensionRequest captures the shared extension update payload.
type UpdateExtensionsRequest ¶
type UpdateExtensionsRequest = contract.UpdateExtensionsRequest
UpdateExtensionsRequest captures one daemon-selected update batch.
type UpdateSettingsAttentionRequest ¶
type UpdateSettingsAttentionRequest = contract.UpdateSettingsAttentionRequest
UpdateSettingsAttentionRequest captures the shared attention settings update payload.
type UpdateSettingsShellRequest ¶
type UpdateSettingsShellRequest = contract.UpdateSettingsShellRequest
UpdateSettingsShellRequest captures the shared shell settings update payload.
type UpdateSettingsSkillsRequest ¶
type UpdateSettingsSkillsRequest = contract.UpdateSettingsSkillsRequest
UpdateSettingsSkillsRequest captures the shared skills settings update payload.
type UpdateTaskRequest ¶
type UpdateTaskRequest = contract.UpdateTaskRequest
UpdateTaskRequest captures mutable task fields.
type VaultListQuery ¶
VaultListQuery captures CLI filters for vault metadata listing.
type VaultRecord ¶
type VaultRecord = contract.VaultSecretPayload
VaultRecord is one redacted vault secret metadata row.
type WindowManagerClient ¶
type WindowManagerClient interface {
GetWindowManagerSnapshot(context.Context, string) (contract.WindowManagerSnapshot, error)
PreviewWindowManagerCommand(
context.Context,
string,
contract.WindowManagerCommandRequest,
) (contract.WindowManagerPreview, error)
ExecuteWindowManagerCommand(
context.Context,
string,
contract.WindowManagerCommandRequest,
) (contract.WindowManagerResult, error)
ListWindowManagerClients(context.Context, string) (contract.WindowManagerClientsResponse, error)
RegisterWindowManagerClient(
context.Context,
string,
contract.WindowManagerClientRegistration,
) (contract.WindowManagerClientView, error)
UnregisterWindowManagerClient(context.Context, string, string) error
ExportWindowManagerLayout(context.Context, string) (contract.WindowManagerLayoutDocument, error)
ValidateWindowManagerLayout(
context.Context,
string,
contract.WindowManagerLayoutValidationRequest,
) (contract.WindowManagerLayoutValidationResponse, error)
ApplyWindowManagerLayout(
context.Context,
string,
contract.WindowManagerLayoutReplaceRequest,
) (contract.WindowManagerResult, error)
ListWindowManagerLayoutProfiles(context.Context, string) (contract.ResourcesResponse, error)
PutWindowManagerLayoutProfile(
context.Context,
string,
string,
contract.PutResourceRequest,
) (contract.ResourceResponse, error)
DeleteWindowManagerLayoutProfile(
context.Context,
string,
string,
contract.DeleteResourceRequest,
) error
WatchWindowManager(
context.Context,
string,
*windowmanager.ClientID,
*contract.WindowManagerRevision,
WindowManagerStreamHandlers,
) error
// contains filtered or unexported methods
}
WindowManagerClient is the CLI transport contract for daemon-authoritative window management.
type WindowManagerStreamHandlers ¶
type WindowManagerStreamHandlers struct {
Snapshot func(contract.WindowManagerSnapshotFrame) error
Event func(contract.WindowManagerEventFrame) error
Client func(contract.WindowManagerClientFrame) error
}
WindowManagerStreamHandlers receives the initial fence and later topology or client updates.
type WorkspaceCreateRequest ¶
type WorkspaceCreateRequest = contract.CreateWorkspaceRequest
WorkspaceCreateRequest captures the shared workspace registration payload.
type WorkspaceDetailRecord ¶
type WorkspaceDetailRecord = contract.WorkspaceDetailPayload
WorkspaceDetailRecord captures the workspace info payload returned by the daemon API.
type WorkspaceRecord ¶
type WorkspaceRecord = contract.WorkspacePayload
WorkspaceRecord is the shared daemon workspace registration payload.
type WorkspaceSkillRecord ¶
type WorkspaceSkillRecord = contract.WorkspaceSkillPayload
WorkspaceSkillRecord is one resolved workspace skill returned by the daemon API.
type WorkspaceUpdateRequest ¶
type WorkspaceUpdateRequest = contract.UpdateWorkspaceRequest
WorkspaceUpdateRequest captures mutable workspace fields.
type WorktreeCreateRequest ¶
type WorktreeCreateRequest = contract.CreateWorktreeRequest
type WorktreeExitActionRequest ¶
type WorktreeExitActionRequest = contract.RunWorktreeExitActionRequest
type WorktreeExitOperationRecord ¶
type WorktreeExitOperationRecord = contract.WorktreeExitOperationResponse
type WorktreeExitPlanRecord ¶
type WorktreeExitPlanRecord = contract.WorktreeExitPlanResponse
type WorktreeInspectRecord ¶
type WorktreeInspectRecord = contract.WorktreeInspectionResponse
type WorktreeListRecord ¶
type WorktreeListRecord = contract.WorktreesResponse
type WorktreeRecord ¶
type WorktreeRecord = contract.WorktreePayload
type WorktreeStatusRecord ¶
type WorktreeStatusRecord = contract.WorktreeStatusResponse
Source Files
¶
- agent.go
- agent_fallback_route_flags.go
- agent_identity.go
- agent_kernel.go
- agent_kernel_helpers.go
- agent_kernel_output.go
- agent_mutate.go
- agent_mutate_requests.go
- agent_mutate_values.go
- agent_runtime_flags.go
- app.go
- app_control.go
- app_diagnose.go
- app_diagnose_bundle.go
- app_diagnose_bundle_alias_other.go
- app_diagnose_bundle_archive.go
- app_diagnose_bundle_logs.go
- app_diagnose_bundle_sync_unix.go
- app_errors.go
- app_platform.go
- app_token_commands.go
- app_token_output.go
- app_types.go
- approvals.go
- args.go
- authored_context.go
- authored_context_heartbeat_commands.go
- authored_context_heartbeat_output.go
- authored_context_session_commands.go
- authored_context_session_output.go
- authored_context_soul_output.go
- automation.go
- automation_client_api.go
- automation_client_query_values.go
- automation_job_create.go
- automation_job_output.go
- automation_last_run_output.go
- automation_list_commands.go
- automation_list_queries.go
- automation_loop_target_flags.go
- automation_request.go
- automation_root_command.go
- automation_run_commands.go
- automation_run_output.go
- automation_schedule_flags.go
- automation_suggestion_output.go
- automation_suggestions.go
- automation_trigger_commands.go
- automation_trigger_output.go
- client.go
- client_agent.go
- client_agent_actions.go
- client_agent_kernel_types.go
- client_api_errors.go
- client_app_tokens.go
- client_automation.go
- client_automation_task_types.go
- client_cmd_palette.go
- client_cmd_palette_errors.go
- client_cmd_palette_mutation_errors.go
- client_daemon_settings_types.go
- client_extension_api.go
- client_extension_commands.go
- client_extension_dev.go
- client_extension_scoped_reads.go
- client_extension_secrets.go
- client_extension_types.go
- client_extensions.go
- client_gateway.go
- client_loop_amendments.go
- client_loop_input_defaults.go
- client_loop_reads.go
- client_loop_requests.go
- client_loop_timetravel.go
- client_loops.go
- client_marketplace.go
- client_marketplace_source_errors.go
- client_marketplace_sources.go
- client_mcp.go
- client_mcp_serve.go
- client_observability_memory_types.go
- client_observe.go
- client_onboarding.go
- client_provider_models.go
- client_providers.go
- client_query_values.go
- client_resources_skills_hooks.go
- client_roles.go
- client_runtime_status.go
- client_session_api.go
- client_session_attachments.go
- client_session_attention.go
- client_session_clarify.go
- client_session_commands.go
- client_session_events.go
- client_session_goal_api.go
- client_session_input.go
- client_session_layout.go
- client_session_navigation.go
- client_session_prompt.go
- client_session_rename.go
- client_session_types.go
- client_session_usage.go
- client_session_wait.go
- client_sessions.go
- client_settings_vault.go
- client_stream_values.go
- client_subagents.go
- client_target.go
- client_task_lifecycle.go
- client_task_management.go
- client_task_values.go
- client_terminal.go
- client_terminal_agent.go
- client_terminal_contract.go
- client_terminal_errors.go
- client_terminal_frames.go
- client_terminal_input.go
- client_terminal_retry.go
- client_terminal_stream.go
- client_tool_approval_grants.go
- client_tools.go
- client_tools_redaction.go
- client_transport.go
- client_window_manager.go
- client_window_manager_stream.go
- client_workspace_authoring.go
- client_worktree.go
- cmd_palette.go
- cmd_palette_bindings.go
- cmd_palette_invoke.go
- cmd_palette_list.go
- cmd_palette_mutations.go
- cmd_palette_personalization.go
- command_exit_error.go
- config.go
- config_attention.go
- config_daemon_mutation.go
- config_daemon_window_manager.go
- config_display.go
- config_edit_file.go
- config_extensions.go
- config_flatten.go
- config_gateway.go
- config_lifecycle.go
- config_loops.go
- config_management_commands.go
- config_marketplace.go
- config_mutation_scope.go
- config_output.go
- config_path_classification.go
- config_roles.go
- config_shell.go
- config_terminal.go
- config_value_commands.go
- config_value_parse.go
- config_window_manager_mutation_specs.go
- connect_commands.go
- connect_ssh.go
- connect_ssh_lease.go
- connect_ssh_lifecycle.go
- connect_ssh_ownership.go
- connect_ssh_transport.go
- connect_transfer_commands.go
- cost_provenance.go
- daemon.go
- daemon_app_diagnostics.go
- daemon_app_transition.go
- daemon_bootstrap.go
- daemon_bootstrap_desktop_runtime.go
- daemon_bootstrap_output.go
- daemon_bootstrap_policy.go
- daemon_bootstrap_provenance.go
- daemon_bootstrap_provision.go
- daemon_client_reachability.go
- daemon_login_path.go
- daemon_output.go
- daemon_process.go
- daemon_status.go
- device_commands.go
- doc.go
- drain.go
- extension.go
- extension_agent_plugin_output.go
- extension_authoring.go
- extension_commands.go
- extension_dev.go
- extension_dev_output.go
- extension_enablement.go
- extension_exec.go
- extension_exec_flags.go
- extension_install.go
- extension_install_inputs.go
- extension_install_parse.go
- extension_install_preview.go
- extension_inventory.go
- extension_inventory_output.go
- extension_local_install.go
- extension_marketplace.go
- extension_marketplace_source.go
- extension_output.go
- extension_publish.go
- extension_scope.go
- extension_secrets.go
- extension_secrets_output.go
- extension_state.go
- extension_validation_execution_error.go
- flags.go
- format.go
- format_profile_resolution.go
- format_workspace_resolution.go
- gateway_commands.go
- gateway_credentials.go
- gateway_output.go
- gateway_pairing_artifact.go
- gateway_pairing_profile.go
- gateway_profile_bundle.go
- gateway_profile_recovery.go
- gateway_profile_transaction.go
- gateway_profile_transaction_files.go
- gateway_profiles.go
- hooks.go
- install.go
- internal.go
- json_flags.go
- lifecycle.go
- list_page_output.go
- local_database.go
- logs.go
- loop.go
- loop_client.go
- loop_follow_timeline.go
- loop_input_prompt.go
- loop_inspect_output.go
- loop_list.go
- loop_node.go
- loop_node_amend.go
- loop_nodes.go
- loop_read_commands.go
- loop_read_table.go
- loop_read_validation.go
- loop_requests.go
- loop_runs.go
- loop_runs_output.go
- loop_runtime_flag.go
- loop_support.go
- loop_timetravel.go
- marketplace.go
- marketplace_sources.go
- mcp.go
- mcp_auth.go
- mcp_auth_flow.go
- mcp_auth_input_file.go
- mcp_auth_input_unix.go
- mcp_auth_output.go
- mcp_serve.go
- observe.go
- onboarding.go
- open.go
- output_format_args.go
- output_labels.go
- pair_commands.go
- poll.go
- profile_client.go
- profile_commands.go
- profile_errors.go
- profile_flag.go
- profile_lifecycle_commands.go
- profile_output.go
- profile_read_scope.go
- profile_resolution.go
- provider.go
- provider_credentials.go
- provider_models.go
- provider_output.go
- provider_status.go
- resource.go
- roles.go
- root.go
- root_commands.go
- root_defaults.go
- root_runtime.go
- root_skill_exposure_errors.go
- root_skill_source_errors.go
- root_structured_error.go
- root_terminal_errors.go
- runtime_option_flags.go
- scheduler.go
- secret.go
- session.go
- session_archive.go
- session_attachments.go
- session_attachments_output.go
- session_attention_output.go
- session_catalog_client.go
- session_clarify.go
- session_command.go
- session_commands.go
- session_compact.go
- session_continue.go
- session_create.go
- session_derive_errors.go
- session_derive_target.go
- session_event_output.go
- session_folder.go
- session_fork.go
- session_goal.go
- session_input.go
- session_input_clear.go
- session_input_output.go
- session_interactions.go
- session_list.go
- session_navigation.go
- session_notify.go
- session_prompt_cancel.go
- session_prompt_cancel_output.go
- session_prompt_events.go
- session_prompt_origin.go
- session_prompt_output.go
- session_prompt_runtime.go
- session_rename.go
- session_reply_watches_output.go
- session_rewind.go
- session_runtime.go
- session_status_output.go
- session_stop_output.go
- session_subagents.go
- session_turn_fence.go
- session_usage.go
- session_usage_context.go
- session_usage_toon.go
- session_usage_turns.go
- session_wait.go
- session_wait_output.go
- skill.go
- skill_commands.go
- skill_commands_exposure.go
- skill_commands_mutation.go
- skill_create.go
- skill_info.go
- skill_items.go
- skill_managed_guard.go
- skill_output.go
- skill_output_exposure.go
- skill_sources.go
- skill_workspace.go
- skill_workspace_metadata.go
- skill_workspace_resources.go
- spawn.go
- status.go
- structured_error.go
- support.go
- task.go
- task_agent_claim.go
- task_agent_control.go
- task_commands_controls.go
- task_commands_crud.go
- task_commands_dependencies_runs.go
- task_commands_reviews.go
- task_list.go
- task_operational_summary.go
- task_output_core.go
- task_output_inspect.go
- task_output_reviews.go
- task_output_runs.go
- task_parsing.go
- task_run_detail_output.go
- task_run_result_output.go
- task_update.go
- terminal.go
- terminal_agent_commands.go
- terminal_agent_output.go
- terminal_attach_output.go
- terminal_commands.go
- terminal_input_mode.go
- tool.go
- tool_approvals.go
- tool_artifacts.go
- tool_client_interfaces.go
- tool_errors.go
- tool_operator.go
- tool_operator_helpers.go
- tool_operator_input.go
- tool_operator_output.go
- update.go
- update_projection.go
- update_runtime.go
- vault.go
- whoami.go
- window_manager_common.go
- window_manager_desktop.go
- window_manager_layout.go
- window_manager_layout_mutations.go
- window_manager_layout_profile.go
- window_manager_output.go
- window_manager_validation.go
- window_manager_window.go
- window_manager_window_move.go
- window_manager_window_navigate.go
- window_manager_window_resize.go
- window_manager_window_tabs.go
- workspace.go
- workspace_detail.go
- workspace_helpers.go
- workspace_output.go
- workspace_resolution.go
- worktree.go
- worktree_constants.go
- worktree_deliver.go
- worktree_exit.go
- worktree_exit_output.go
- worktree_output.go