Documentation
¶
Overview ¶
Package cli provides the AGH Cobra command tree.
Index ¶
- func ExecuteContext(ctx context.Context, args []string, stdout io.Writer, stderr io.Writer) int
- func NewRootCommand() *cobra.Command
- type ACPCapsRecord
- type ActivateBundleRequest
- type AddTaskDependencyRequest
- type AgentChannelMessageRecord
- type AgentChannelRecord
- type AgentChannelRecvQuery
- type AgentChannelReplyRequest
- type AgentChannelSendRequest
- 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 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 AttachTaskRunSessionRequest
- type AutomationJobCreateRequest
- type AutomationJobQuery
- type AutomationJobUpdateRequest
- type AutomationRunQuery
- type AutomationTriggerCreateRequest
- type AutomationTriggerQuery
- type AutomationTriggerUpdateRequest
- type BridgeDeliveryTargetInput
- type BridgeRecord
- type BridgeResolveTargetRecord
- type BridgeResolveTargetRequest
- type BridgeRouteRecord
- type BridgeSecretBindingRecord
- type BridgeSecretBindingRequest
- type BridgeTargetRecord
- type BridgeTargetsRecord
- type BridgeTestDeliveryRecord
- type BridgeTestDeliveryRequest
- type BulkForceTaskRunItemRecord
- type BulkForceTaskRunRecord
- type BulkForceTaskRunRequest
- type BundleActivationRecord
- type BundleAgentRecord
- type BundleBridgeRecord
- type BundleCatalogRecord
- type BundleChannelRecord
- type BundleInventoryRecord
- type BundleJobRecord
- type BundleNetworkSettingsRecord
- type BundleProfileCatalogRecord
- type BundleTriggerRecord
- type CancelTaskRequest
- type CancelTaskRunRequest
- type ClaimTaskRunRequest
- type CompleteTaskRunRequest
- type CreateBridgeRequest
- type CreateNetworkChannelRequest
- type CreateNotificationPresetRequest
- type CreateSessionRequest
- type CreateSupportBundleRequest
- type CreateTaskChildRequest
- type CreateTaskRequest
- type DaemonClient
- type DaemonStatus
- type DeclaredNetworkChannelRecord
- type DeliveryTargetRecord
- type DoctorQuery
- type DoctorRecord
- type EnqueueTaskRunRequest
- type ExtensionMarketplaceRecord
- type ExtensionProvenanceRecord
- type ExtensionRecord
- type ExtensionUpdateRecord
- type FailTaskRunRequest
- type ForceFailTaskRunRequest
- type ForceReleaseTaskRunRequest
- type HookCatalogQuery
- type HookCatalogRecord
- type HookEventRecord
- type HookEventsQuery
- type HookRunRecord
- type HookRunsQuery
- type IdentityRecord
- type InstallExtensionRequest
- type JobRecord
- type LogEventRecord
- type LogsListQuery
- type ManagedExtensionRemoveRecord
- type MemoryAdhocNoteRecord
- type MemoryAdhocNoteRequest
- type MemoryCreateRequest
- type MemoryDailyLogListRecord
- type MemoryDecisionListQuery
- type MemoryDecisionListRecord
- type MemoryDecisionRecord
- type MemoryDecisionRevertRecord
- type MemoryDecisionRevertRequest
- type MemoryDeleteRecord
- type MemoryDreamListRecord
- type MemoryDreamRecord
- type MemoryDreamRetryRecord
- type MemoryDreamRetryRequest
- type MemoryDreamTriggerRecord
- type MemoryDreamTriggerRequest
- type MemoryEditRequest
- type MemoryEntryRecord
- type MemoryExtractorDrainRecord
- type MemoryExtractorFailuresRecord
- type MemoryExtractorRetryRecord
- type MemoryExtractorRetryRequest
- type MemoryExtractorStatusRecord
- type MemoryHealthRecord
- type MemoryHistoryQuery
- type MemoryHistoryRecord
- type MemoryListQuery
- type MemoryListRecord
- type MemoryMutationRecord
- type MemoryPromoteRecord
- type MemoryPromoteRequest
- type MemoryProviderLifecycleRecord
- type MemoryProviderLifecycleRequest
- type MemoryProviderListRecord
- type MemoryProviderRecord
- type MemoryProviderSelectRequest
- type MemoryRecallTraceRecord
- type MemoryReindexRecord
- type MemoryReindexRequest
- type MemoryReloadRecord
- type MemoryResetRecord
- type MemoryResetRequest
- type MemoryScopeShowRecord
- type MemorySearchRecord
- type MemorySearchRequest
- type MemorySelectorQuery
- type NetworkChannelDetailRecord
- type NetworkChannelRecord
- type NetworkConversationMessageRecord
- type NetworkConversationMessagesQuery
- type NetworkDirectResolveRequest
- type NetworkDirectRoomRecord
- type NetworkDirectsQuery
- type NetworkEnvelopeRecord
- type NetworkKindMetricRecord
- type NetworkPeerCardRecord
- type NetworkPeerRecord
- type NetworkPeersQuery
- type NetworkSendRecord
- type NetworkSendRequest
- type NetworkStatusRecord
- type NetworkThreadRecord
- type NetworkThreadsQuery
- type NetworkWorkRecord
- type NotificationPresetListRecord
- type NotificationPresetQuery
- type NotificationPresetRecord
- type NotificationPresetTarget
- type OutputFormat
- type PauseTaskRequest
- type ProviderModelListQuery
- type ProviderModelListRecord
- type ProviderModelRecord
- type ProviderModelRefreshRecord
- type ProviderModelRefreshRequest
- type ProviderModelSourceStatusRecord
- type ProviderModelStatusRecord
- type PutVaultSecretRequest
- type ResourceDeleteRequest
- type ResourceListQuery
- type ResourcePutRequest
- type ResourceRecord
- type ResumeTaskRequest
- type RetryTaskRunRecord
- type RetryTaskRunRequest
- 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 SessionEventQuery
- type SessionEventRecord
- type SessionHealthRecord
- type SessionInspectQuery
- type SessionInspectRecord
- type SessionListQuery
- type SessionPromptRecord
- type SessionPromptRequest
- type SessionPromptResultRecord
- type SessionRecapRecord
- type SessionRecord
- type SessionRepairActionRecord
- type SessionRepairIssueRecord
- type SessionRepairQuery
- type SessionRepairRecord
- type SessionSoulRefreshRequest
- type SessionStatusRecord
- type SettingsApplyHistoryQuery
- type SettingsApplyHistoryRecord
- 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 SupportBundleOperationRecord
- type TaskBridgeNotificationSubscriptionQuery
- type TaskBridgeNotificationSubscriptionRecord
- type TaskBridgeNotificationSubscriptionRequest
- type TaskDependencyRecord
- type TaskDetailRecord
- type TaskEventRecord
- type TaskExecutionProfileRecord
- type TaskExecutionProfileRequest
- type TaskExecutionRecord
- type TaskExecutionRequest
- type TaskInspectRecord
- type TaskListQuery
- type TaskRecord
- type TaskRunListQuery
- type TaskRunRecord
- type TaskRunReviewListQuery
- type TaskRunReviewRecord
- type TaskRunReviewRequest
- type TaskRunReviewRequestRecord
- type TaskRunReviewVerdictRecord
- type TaskRunReviewVerdictRequest
- type TaskSummaryRecord
- type TokenUsageRecord
- type ToolApprovalRecord
- type ToolApprovalRequest
- 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 UpdateBridgeRequest
- type UpdateBundleActivationRequest
- type UpdateExtensionRequest
- type UpdateNotificationPresetRequest
- type UpdateSettingsSkillsRequest
- type UpdateTaskRequest
- type VaultListQuery
- type VaultRecord
- type WorkspaceCreateRequest
- type WorkspaceDetailRecord
- type WorkspaceRecord
- type WorkspaceSkillRecord
- type WorkspaceUpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteContext ¶
func NewRootCommand ¶
NewRootCommand constructs the AGH v1 CLI command tree.
Types ¶
type ACPCapsRecord ¶
type ACPCapsRecord = contract.ACPCapsPayload
ACPCapsRecord captures optional runtime capabilities exposed by the daemon API.
type ActivateBundleRequest ¶
type ActivateBundleRequest = contract.ActivateBundleRequest
ActivateBundleRequest captures bundle preview and activation inputs.
type AddTaskDependencyRequest ¶
type AddTaskDependencyRequest = contract.AddTaskDependencyRequest
AddTaskDependencyRequest captures the shared dependency-create payload.
type AgentChannelMessageRecord ¶
type AgentChannelMessageRecord = contract.AgentChannelMessagePayload
AgentChannelMessageRecord is one safe agent channel message payload.
type AgentChannelRecord ¶
type AgentChannelRecord = contract.CoordinationChannelPayload
AgentChannelRecord is one discoverable coordination channel payload.
type AgentChannelRecvQuery ¶
AgentChannelRecvQuery captures receive options for agent channel messages.
type AgentChannelReplyRequest ¶
type AgentChannelReplyRequest = contract.AgentChannelReplyRequest
AgentChannelReplyRequest captures one agent channel reply payload.
type AgentChannelSendRequest ¶
type AgentChannelSendRequest = contract.AgentChannelSendRequest
AgentChannelSendRequest captures one agent channel send 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 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,omitempty"`
}
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 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 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 AutomationTriggerCreateRequest ¶
type AutomationTriggerCreateRequest = contract.CreateTriggerRequest
AutomationTriggerCreateRequest captures the shared automation trigger create payload.
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 BridgeDeliveryTargetInput ¶
type BridgeDeliveryTargetInput = contract.BridgeDeliveryTargetInput
BridgeDeliveryTargetInput captures the typed bridge delivery-target override input.
type BridgeRecord ¶
type BridgeRecord = bridgepkg.BridgeInstance
BridgeRecord is the shared bridge-instance response payload.
type BridgeResolveTargetRecord ¶
type BridgeResolveTargetRecord = contract.BridgeResolveTargetResponse
BridgeResolveTargetRecord wraps one bridge target resolver response.
type BridgeResolveTargetRequest ¶
type BridgeResolveTargetRequest = contract.BridgeResolveTargetRequest
BridgeResolveTargetRequest captures one bridge target resolve lookup.
type BridgeRouteRecord ¶
type BridgeRouteRecord = bridgepkg.BridgeRoute
BridgeRouteRecord is one persisted bridge route returned by the daemon API.
type BridgeSecretBindingRecord ¶
type BridgeSecretBindingRecord = bridgepkg.BridgeSecretBinding
BridgeSecretBindingRecord is one bridge secret binding payload.
type BridgeSecretBindingRequest ¶
type BridgeSecretBindingRequest = contract.PutBridgeSecretBindingRequest
BridgeSecretBindingRequest captures one bridge secret binding write payload.
type BridgeTargetRecord ¶
type BridgeTargetRecord = bridgepkg.BridgeTarget
BridgeTargetRecord is one persisted bridge target returned by the daemon API.
type BridgeTargetsRecord ¶
type BridgeTargetsRecord = contract.BridgeTargetsResponse
BridgeTargetsRecord wraps the bridge target directory response.
type BridgeTestDeliveryRecord ¶
type BridgeTestDeliveryRecord = contract.BridgeTestDeliveryResponse
BridgeTestDeliveryRecord is the shared dry-run bridge delivery response payload.
type BridgeTestDeliveryRequest ¶
type BridgeTestDeliveryRequest = contract.BridgeTestDeliveryRequest
BridgeTestDeliveryRequest captures the typed bridge delivery-target dry-run request.
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 BundleActivationRecord ¶
type BundleActivationRecord = contract.BundleActivationPayload
BundleActivationRecord is one concrete or previewed bundle activation payload.
type BundleAgentRecord ¶
type BundleAgentRecord = contract.BundleAgentPayload
BundleAgentRecord is one agent declared by a bundle profile.
type BundleBridgeRecord ¶
type BundleBridgeRecord = contract.BundleBridgePayload
BundleBridgeRecord is one bridge preset declared by a bundle profile.
type BundleCatalogRecord ¶
type BundleCatalogRecord = contract.BundleCatalogPayload
BundleCatalogRecord is one extension bundle catalog entry.
type BundleChannelRecord ¶
type BundleChannelRecord = contract.BundleChannelPayload
BundleChannelRecord is one channel declared by a bundle profile.
type BundleInventoryRecord ¶
type BundleInventoryRecord = contract.BundleInventoryPayload
BundleInventoryRecord is one resource owned by a bundle activation.
type BundleJobRecord ¶
type BundleJobRecord = contract.BundleJobPayload
BundleJobRecord is one automation job declared by a bundle profile.
type BundleNetworkSettingsRecord ¶
type BundleNetworkSettingsRecord = contract.BundleNetworkSettingsPayload
BundleNetworkSettingsRecord captures bundle-derived network defaults.
type BundleProfileCatalogRecord ¶
type BundleProfileCatalogRecord = contract.BundleProfileCatalogPayload
BundleProfileCatalogRecord is one bundle profile catalog summary.
type BundleTriggerRecord ¶
type BundleTriggerRecord = contract.BundleTriggerPayload
BundleTriggerRecord is one automation trigger declared by a bundle profile.
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 ClaimTaskRunRequest ¶
type ClaimTaskRunRequest = contract.ClaimTaskRunRequest
ClaimTaskRunRequest captures the shared run-claim payload.
type CompleteTaskRunRequest ¶
type CompleteTaskRunRequest = contract.CompleteTaskRunRequest
CompleteTaskRunRequest captures the shared run-complete payload.
type CreateBridgeRequest ¶
type CreateBridgeRequest = contract.CreateBridgeRequest
CreateBridgeRequest captures the shared bridge-instance creation payload.
type CreateNetworkChannelRequest ¶
type CreateNetworkChannelRequest = contract.CreateNetworkChannelRequest
CreateNetworkChannelRequest captures one network channel creation payload.
type CreateNotificationPresetRequest ¶
type CreateNotificationPresetRequest = contract.CreateNotificationPresetRequest
CreateNotificationPresetRequest captures notification preset creation input.
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 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)
Doctor(ctx context.Context, query DoctorQuery) (DoctorRecord, error)
DaemonStatus(ctx context.Context) (DaemonStatus, 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)
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)
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)
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
NetworkStatus(ctx context.Context) (NetworkStatusRecord, error)
NetworkPeers(ctx context.Context, query NetworkPeersQuery) ([]NetworkPeerRecord, error)
NetworkChannels(ctx context.Context, workspaceRef string) ([]NetworkChannelRecord, error)
CreateNetworkChannel(
ctx context.Context,
workspaceRef string,
request CreateNetworkChannelRequest,
) (NetworkChannelDetailRecord, error)
NetworkThreads(ctx context.Context, query NetworkThreadsQuery) ([]NetworkThreadRecord, error)
NetworkThread(
ctx context.Context,
workspaceRef string,
channel string,
threadID string,
) (NetworkThreadRecord, error)
NetworkThreadMessages(
ctx context.Context,
query NetworkConversationMessagesQuery,
) ([]NetworkConversationMessageRecord, error)
NetworkDirects(ctx context.Context, query NetworkDirectsQuery) ([]NetworkDirectRoomRecord, error)
NetworkDirectResolve(
ctx context.Context,
workspaceRef string,
channel string,
request NetworkDirectResolveRequest,
) (NetworkDirectRoomRecord, error)
NetworkDirect(
ctx context.Context,
workspaceRef string,
channel string,
directID string,
) (NetworkDirectRoomRecord, error)
NetworkDirectMessages(
ctx context.Context,
query NetworkConversationMessagesQuery,
) ([]NetworkConversationMessageRecord, error)
NetworkWork(ctx context.Context, workspaceRef string, workID string) (NetworkWorkRecord, error)
NetworkSend(ctx context.Context, request NetworkSendRequest) (NetworkSendRecord, error)
NetworkInbox(ctx context.Context, workspaceRef string, sessionID string) ([]NetworkEnvelopeRecord, error)
ListExtensions(ctx context.Context) ([]ExtensionRecord, error)
SearchExtensionMarketplace(
ctx context.Context,
query string,
source string,
limit int,
) ([]ExtensionMarketplaceRecord, error)
InstallExtension(ctx context.Context, request InstallExtensionRequest) (ExtensionRecord, error)
UpdateExtension(ctx context.Context, name string, request UpdateExtensionRequest) (ExtensionUpdateRecord, error)
RemoveExtension(ctx context.Context, name string) (ManagedExtensionRemoveRecord, error)
EnableExtension(ctx context.Context, name string) (ExtensionRecord, error)
DisableExtension(ctx context.Context, name string) (ExtensionRecord, error)
ExtensionStatus(ctx context.Context, name string) (ExtensionRecord, error)
ExtensionProvenance(ctx context.Context, name string) (ExtensionProvenanceRecord, error)
ListBundleCatalog(ctx context.Context) ([]BundleCatalogRecord, error)
PreviewBundleActivation(ctx context.Context, request ActivateBundleRequest) (BundleActivationRecord, error)
ActivateBundle(ctx context.Context, request ActivateBundleRequest) (BundleActivationRecord, error)
ListBundleActivations(ctx context.Context) ([]BundleActivationRecord, error)
GetBundleActivation(ctx context.Context, id string) (BundleActivationRecord, error)
UpdateBundleActivation(
ctx context.Context,
id string,
request UpdateBundleActivationRequest,
) (BundleActivationRecord, error)
DeactivateBundle(ctx context.Context, id string) error
BundleNetworkSettings(ctx context.Context) (BundleNetworkSettingsRecord, error)
ListBridges(ctx context.Context) ([]BridgeRecord, error)
CreateBridge(ctx context.Context, request CreateBridgeRequest) (BridgeRecord, error)
GetBridge(ctx context.Context, id string) (BridgeRecord, error)
UpdateBridge(ctx context.Context, id string, request UpdateBridgeRequest) (BridgeRecord, error)
EnableBridge(ctx context.Context, id string) (BridgeRecord, error)
DisableBridge(ctx context.Context, id string) (BridgeRecord, error)
RestartBridge(ctx context.Context, id string) (BridgeRecord, error)
BridgeRoutes(ctx context.Context, id string) ([]BridgeRouteRecord, error)
BridgeTargets(ctx context.Context, id string, query string, limit int) (BridgeTargetsRecord, error)
ResolveBridgeTarget(ctx context.Context, id string, name string) (BridgeResolveTargetRecord, error)
ListNotificationPresets(ctx context.Context, query NotificationPresetQuery) (NotificationPresetListRecord, error)
GetNotificationPreset(ctx context.Context, name string) (NotificationPresetRecord, error)
CreateNotificationPreset(
ctx context.Context,
request CreateNotificationPresetRequest,
) (NotificationPresetRecord, error)
UpdateNotificationPreset(
ctx context.Context,
name string,
request UpdateNotificationPresetRequest,
) (NotificationPresetRecord, error)
DeleteNotificationPreset(ctx context.Context, name string) error
ListBridgeSecretBindings(ctx context.Context, id string) ([]BridgeSecretBindingRecord, error)
PutBridgeSecretBinding(
ctx context.Context,
id string,
bindingName string,
request BridgeSecretBindingRequest,
) (BridgeSecretBindingRecord, error)
DeleteBridgeSecretBinding(ctx context.Context, id string, bindingName string) error
TestBridgeDelivery(
ctx context.Context,
id string,
request BridgeTestDeliveryRequest,
) (BridgeTestDeliveryRecord, error)
ListSessions(ctx context.Context, query SessionListQuery) ([]SessionRecord, error)
CreateSession(ctx context.Context, request CreateSessionRequest) (SessionRecord, error)
GetSession(ctx context.Context, id string) (SessionRecord, error)
GetSessionHealth(ctx context.Context, id string) (SessionHealthRecord, error)
GetSessionStatus(ctx context.Context, id string) (SessionStatusRecord, error)
InspectSession(ctx context.Context, id string, query SessionInspectQuery) (SessionInspectRecord, error)
RefreshSessionSoul(ctx context.Context, id string, request SessionSoulRefreshRequest) (AgentSoulRecord, error)
StopSession(ctx context.Context, id string) error
ResumeSession(ctx context.Context, id string) (SessionRecord, error)
SessionRecap(ctx context.Context, id string, limit int) (SessionRecapRecord, error)
RepairSession(ctx context.Context, id string, query SessionRepairQuery) (SessionRepairRecord, error)
ApproveSession(ctx context.Context, id string, request SessionApprovalRequest) (SessionApprovalRecord, error)
PromptSession(ctx context.Context, id string, message string) ([]AgentEventRecord, error)
SendSessionPrompt(ctx context.Context, id string, request SessionPromptRequest) (SessionPromptRecord, error)
SteerSessionPrompt(ctx context.Context, id string, text string) (SessionPromptRecord, error)
CancelQueuedSessionPrompt(ctx context.Context, id string, queueEntryID string) (SessionPromptRecord, error)
StreamPromptSession(ctx context.Context, id string, message string, handler SSEHandler) error
SessionEvents(ctx context.Context, id string, query SessionEventQuery) ([]SessionEventRecord, error)
StreamSessionEvents(
ctx context.Context,
id string,
query SessionEventQuery,
lastEventID string,
handler SSEHandler,
) error
SessionHistory(ctx context.Context, id string, query SessionEventQuery) ([]TurnHistoryRecord, error)
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)
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)
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)
InvokeTool(ctx context.Context, id string, request ToolInvokeRequest) (ToolInvokeResponseRecord, error)
ListToolsets(ctx context.Context, query ToolQuery) (ToolsetsResponseRecord, error)
GetToolset(ctx context.Context, id string, query ToolQuery) (ToolsetResponseRecord, error)
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
MemoryHealth(ctx context.Context, workspace string) (MemoryHealthRecord, error)
MemoryHistory(ctx context.Context, query MemoryHistoryQuery) ([]MemoryHistoryRecord, error)
ListMemory(ctx context.Context, query MemoryListQuery) (MemoryListRecord, error)
ShowMemory(ctx context.Context, filename string, query MemorySelectorQuery) (MemoryEntryRecord, error)
CreateMemory(ctx context.Context, request MemoryCreateRequest) (MemoryMutationRecord, error)
EditMemory(ctx context.Context, filename string, request MemoryEditRequest) (MemoryMutationRecord, error)
DeleteMemory(ctx context.Context, filename string, query MemorySelectorQuery) (MemoryDeleteRecord, error)
SearchMemory(ctx context.Context, request MemorySearchRequest) (MemorySearchRecord, error)
ReindexMemory(ctx context.Context, request MemoryReindexRequest) (MemoryReindexRecord, error)
PromoteMemory(ctx context.Context, request MemoryPromoteRequest) (MemoryPromoteRecord, error)
ResetMemory(ctx context.Context, request MemoryResetRequest) (MemoryResetRecord, error)
ReloadMemory(ctx context.Context, request MemorySelectorQuery) (MemoryReloadRecord, error)
MemoryScopeShow(ctx context.Context, query MemorySelectorQuery) (MemoryScopeShowRecord, error)
ListMemoryDecisions(ctx context.Context, query MemoryDecisionListQuery) (MemoryDecisionListRecord, error)
GetMemoryDecision(ctx context.Context, id string) (MemoryDecisionRecord, error)
RevertMemoryDecision(
ctx context.Context,
id string,
request MemoryDecisionRevertRequest,
) (MemoryDecisionRevertRecord, error)
GetMemoryRecallTrace(ctx context.Context, sessionID string, turnSeq int64) (MemoryRecallTraceRecord, error)
ListMemoryDreams(ctx context.Context) (MemoryDreamListRecord, error)
GetMemoryDream(ctx context.Context, id string) (MemoryDreamRecord, error)
TriggerMemoryDream(ctx context.Context, request MemoryDreamTriggerRequest) (MemoryDreamTriggerRecord, error)
RetryMemoryDream(ctx context.Context, id string, request MemoryDreamRetryRequest) (MemoryDreamRetryRecord, error)
GetMemoryDreamStatus(ctx context.Context) (MemoryDreamListRecord, error)
ListMemoryDailyLogs(ctx context.Context, query MemorySelectorQuery) (MemoryDailyLogListRecord, error)
GetMemoryExtractorStatus(ctx context.Context, sessionID string) (MemoryExtractorStatusRecord, error)
ListMemoryExtractorFailures(ctx context.Context) (MemoryExtractorFailuresRecord, error)
RetryMemoryExtractor(ctx context.Context, request MemoryExtractorRetryRequest) (MemoryExtractorRetryRecord, error)
DrainMemoryExtractor(ctx context.Context) (MemoryExtractorDrainRecord, error)
ListMemoryProviders(ctx context.Context) (MemoryProviderListRecord, error)
GetMemoryProvider(ctx context.Context, name string) (MemoryProviderRecord, error)
SelectMemoryProvider(
ctx context.Context,
request MemoryProviderSelectRequest,
) (MemoryProviderLifecycleRecord, error)
EnableMemoryProvider(
ctx context.Context,
name string,
request MemoryProviderLifecycleRequest,
) (MemoryProviderLifecycleRecord, error)
DisableMemoryProvider(
ctx context.Context,
name string,
request MemoryProviderLifecycleRequest,
) (MemoryProviderLifecycleRecord, error)
CreateMemoryAdhocNote(ctx context.Context, request MemoryAdhocNoteRequest) (MemoryAdhocNoteRecord, error)
ListAutomationJobs(ctx context.Context, query AutomationJobQuery) ([]JobRecord, error)
CreateAutomationJob(ctx context.Context, request AutomationJobCreateRequest) (JobRecord, error)
GetAutomationJob(ctx context.Context, id string) (JobRecord, error)
UpdateAutomationJob(ctx context.Context, id string, request AutomationJobUpdateRequest) (JobRecord, error)
DeleteAutomationJob(ctx context.Context, id string) error
TriggerAutomationJob(ctx context.Context, id string) (RunRecord, error)
AutomationJobRuns(ctx context.Context, id string, query AutomationRunQuery) ([]RunRecord, error)
ListAutomationTriggers(ctx context.Context, query AutomationTriggerQuery) ([]TriggerRecord, error)
CreateAutomationTrigger(ctx context.Context, request AutomationTriggerCreateRequest) (TriggerRecord, error)
GetAutomationTrigger(ctx context.Context, id string) (TriggerRecord, error)
UpdateAutomationTrigger(
ctx context.Context,
id string,
request AutomationTriggerUpdateRequest,
) (TriggerRecord, error)
DeleteAutomationTrigger(ctx context.Context, id string) error
AutomationTriggerRuns(ctx context.Context, id string, query AutomationRunQuery) ([]RunRecord, error)
ListAutomationRuns(ctx context.Context, query AutomationRunQuery) ([]RunRecord, error)
GetAutomationRun(ctx context.Context, id string) (RunRecord, error)
ListTasks(ctx context.Context, query TaskListQuery) ([]TaskSummaryRecord, 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)
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)
DeleteTaskExecutionProfile(ctx context.Context, id string) error
CreateTaskBridgeNotificationSubscription(
ctx context.Context,
taskID string,
request *TaskBridgeNotificationSubscriptionRequest,
) (TaskBridgeNotificationSubscriptionRecord, error)
ListTaskBridgeNotificationSubscriptions(
ctx context.Context,
taskID string,
query TaskBridgeNotificationSubscriptionQuery,
) ([]TaskBridgeNotificationSubscriptionRecord, error)
GetTaskBridgeNotificationSubscription(
ctx context.Context,
taskID string,
subscriptionID string,
) (TaskBridgeNotificationSubscriptionRecord, error)
DeleteTaskBridgeNotificationSubscription(ctx context.Context, taskID string, subscriptionID 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)
ListTaskRuns(ctx context.Context, id string, query TaskRunListQuery) ([]TaskRunRecord, error)
ClaimTaskRun(ctx context.Context, id string, request ClaimTaskRunRequest) (TaskRunRecord, 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)
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)
AgentSpawn(
ctx context.Context,
request AgentSpawnRequest,
credentials agentidentity.Credentials,
) (AgentSpawnRecord, error)
AgentChannels(ctx context.Context, credentials agentidentity.Credentials) ([]AgentChannelRecord, error)
AgentChannelRecv(
ctx context.Context,
channel string,
query AgentChannelRecvQuery,
credentials agentidentity.Credentials,
) ([]AgentChannelMessageRecord, error)
AgentChannelSend(
ctx context.Context,
channel string,
request AgentChannelSendRequest,
credentials agentidentity.Credentials,
) (AgentChannelMessageRecord, error)
AgentChannelReply(
ctx context.Context,
request AgentChannelReplyRequest,
credentials agentidentity.Credentials,
) (AgentChannelMessageRecord, 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)
}
DaemonClient is the CLI transport surface for talking to the AGH daemon over UDS.
func NewClient ¶
func NewClient(socketPath string) (DaemonClient, error)
NewClient constructs a daemon client that talks HTTP over a Unix domain socket.
type DaemonStatus ¶
type DaemonStatus = contract.DaemonStatusPayload
DaemonStatus is the shared daemon status payload.
type DeclaredNetworkChannelRecord ¶
type DeclaredNetworkChannelRecord = contract.DeclaredNetworkChannelPayload
DeclaredNetworkChannelRecord is one bundle-declared network channel.
type DeliveryTargetRecord ¶
type DeliveryTargetRecord = bridgepkg.DeliveryTarget
DeliveryTargetRecord is the resolved typed outbound target returned by the daemon API.
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 EnqueueTaskRunRequest ¶
type EnqueueTaskRunRequest = contract.EnqueueTaskRunRequest
EnqueueTaskRunRequest captures the shared run-enqueue payload.
type ExtensionMarketplaceRecord ¶
type ExtensionMarketplaceRecord = contract.ExtensionMarketplaceEntry
ExtensionMarketplaceRecord is one marketplace browse result.
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 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 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 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 `agh 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 ManagedExtensionRemoveRecord ¶
type ManagedExtensionRemoveRecord = contract.ManagedExtensionRemovePayload
ManagedExtensionRemoveRecord is one daemon-owned extension removal result.
type MemoryAdhocNoteRecord ¶
type MemoryAdhocNoteRecord = contract.MemoryAdhocNoteResponse
MemoryAdhocNoteRecord captures the created ad-hoc memory note artifact.
type MemoryAdhocNoteRequest ¶
type MemoryAdhocNoteRequest = contract.MemoryAdhocNoteRequest
MemoryAdhocNoteRequest captures the ad-hoc memory note write surface.
type MemoryCreateRequest ¶
type MemoryCreateRequest = contract.MemoryCreateRequest
MemoryCreateRequest captures the daemon API memory create/propose payload.
type MemoryDailyLogListRecord ¶
type MemoryDailyLogListRecord = contract.MemoryDailyLogListResponse
MemoryDailyLogListRecord wraps daily memory log artifacts.
type MemoryDecisionListQuery ¶
type MemoryDecisionListQuery struct {
Scope memcontract.Scope
WorkspaceID string
AgentName string
AgentTier memcontract.AgentTier
Operation string
Since time.Time
Reason string
}
MemoryDecisionListQuery captures filters for controller decision history.
type MemoryDecisionListRecord ¶
type MemoryDecisionListRecord = contract.MemoryDecisionListResponse
MemoryDecisionListRecord wraps controller decision history.
type MemoryDecisionRecord ¶
type MemoryDecisionRecord = contract.MemoryDecisionResponse
MemoryDecisionRecord wraps one controller decision.
type MemoryDecisionRevertRecord ¶
type MemoryDecisionRevertRecord = contract.MemoryDecisionRevertResponse
MemoryDecisionRevertRecord captures a decision revert response.
type MemoryDecisionRevertRequest ¶
type MemoryDecisionRevertRequest = contract.MemoryDecisionRevertRequest
MemoryDecisionRevertRequest captures a decision revert request.
type MemoryDeleteRecord ¶
type MemoryDeleteRecord = contract.MemoryDeleteResponse
MemoryDeleteRecord captures the daemon API memory delete response.
type MemoryDreamListRecord ¶
type MemoryDreamListRecord = contract.MemoryDreamListResponse
MemoryDreamListRecord wraps dreaming runtime records.
type MemoryDreamRecord ¶
type MemoryDreamRecord = contract.MemoryDreamResponse
MemoryDreamRecord wraps one dreaming runtime record.
type MemoryDreamRetryRecord ¶
type MemoryDreamRetryRecord = contract.MemoryDreamRetryResponse
MemoryDreamRetryRecord captures a dreaming retry response.
type MemoryDreamRetryRequest ¶
type MemoryDreamRetryRequest = contract.MemoryDreamRetryRequest
MemoryDreamRetryRequest captures a dreaming retry request.
type MemoryDreamTriggerRecord ¶
type MemoryDreamTriggerRecord = contract.MemoryDreamTriggerResponse
MemoryDreamTriggerRecord captures a dreaming trigger response.
type MemoryDreamTriggerRequest ¶
type MemoryDreamTriggerRequest = contract.MemoryDreamTriggerRequest
MemoryDreamTriggerRequest captures a dreaming trigger request.
type MemoryEditRequest ¶
type MemoryEditRequest = contract.MemoryEditRequest
MemoryEditRequest captures the daemon API memory edit/propose payload.
type MemoryEntryRecord ¶
type MemoryEntryRecord = contract.MemoryEntryResponse
MemoryEntryRecord wraps one Memory v2 entry.
type MemoryExtractorDrainRecord ¶
type MemoryExtractorDrainRecord = contract.MemoryExtractorDrainResponse
MemoryExtractorDrainRecord captures extractor drain completion.
type MemoryExtractorFailuresRecord ¶
type MemoryExtractorFailuresRecord = contract.MemoryExtractorFailuresResponse
MemoryExtractorFailuresRecord wraps extractor DLQ records.
type MemoryExtractorRetryRecord ¶
type MemoryExtractorRetryRecord = contract.MemoryExtractorRetryResponse
MemoryExtractorRetryRecord captures extractor retry results.
type MemoryExtractorRetryRequest ¶
type MemoryExtractorRetryRequest = contract.MemoryExtractorRetryRequest
MemoryExtractorRetryRequest captures an extractor retry request.
type MemoryExtractorStatusRecord ¶
type MemoryExtractorStatusRecord = contract.MemoryExtractorStatusResponse
MemoryExtractorStatusRecord wraps extractor runtime status.
type MemoryHealthRecord ¶
type MemoryHealthRecord = contract.MemoryHealthPayload
MemoryHealthRecord is the shared daemon memory health payload.
type MemoryHistoryQuery ¶
type MemoryHistoryQuery struct {
Scope memcontract.Scope
WorkspaceID string
AgentName string
AgentTier memcontract.AgentTier
Operation string
Since time.Time
Limit int
}
MemoryHistoryQuery captures filters for memory operation history.
type MemoryHistoryRecord ¶
type MemoryHistoryRecord = contract.MemoryOperationHistoryPayload
MemoryHistoryRecord is one redacted memory operation history row.
type MemoryListQuery ¶
type MemoryListQuery struct {
MemorySelectorQuery
Type memcontract.Type
IncludeShadowed bool
}
MemoryListQuery captures filters for Memory v2 list calls.
type MemoryListRecord ¶
type MemoryListRecord = contract.MemoryListResponse
MemoryListRecord wraps Memory v2 list output.
type MemoryMutationRecord ¶
type MemoryMutationRecord = contract.MemoryMutationDecisionResponse
MemoryMutationRecord captures the daemon API memory write/edit response.
type MemoryPromoteRecord ¶
type MemoryPromoteRecord = contract.MemoryPromoteResponse
MemoryPromoteRecord captures the daemon API memory promotion response.
type MemoryPromoteRequest ¶
type MemoryPromoteRequest = contract.MemoryPromoteRequest
MemoryPromoteRequest captures the daemon API memory promotion payload.
type MemoryProviderLifecycleRecord ¶
type MemoryProviderLifecycleRecord = contract.MemoryProviderLifecycleResponse
MemoryProviderLifecycleRecord captures provider lifecycle state after mutation.
type MemoryProviderLifecycleRequest ¶
type MemoryProviderLifecycleRequest = contract.MemoryProviderLifecycleRequest
MemoryProviderLifecycleRequest captures provider lifecycle mutation.
type MemoryProviderListRecord ¶
type MemoryProviderListRecord = contract.MemoryProviderListResponse
MemoryProviderListRecord wraps registered memory providers.
type MemoryProviderRecord ¶
type MemoryProviderRecord = contract.MemoryProviderResponse
MemoryProviderRecord wraps one memory provider.
type MemoryProviderSelectRequest ¶
type MemoryProviderSelectRequest = contract.MemoryProviderSelectRequest
MemoryProviderSelectRequest captures active-provider selection.
type MemoryRecallTraceRecord ¶
type MemoryRecallTraceRecord = contract.MemoryRecallTraceResponse
MemoryRecallTraceRecord captures one redaction-safe recall trace.
type MemoryReindexRecord ¶
type MemoryReindexRecord = contract.MemoryReindexResponse
MemoryReindexRecord captures the daemon API memory reindex response.
type MemoryReindexRequest ¶
type MemoryReindexRequest = contract.MemoryReindexV2Request
MemoryReindexRequest captures the daemon API memory reindex payload.
type MemoryReloadRecord ¶
type MemoryReloadRecord = contract.MemoryReloadResponse
MemoryReloadRecord captures the daemon API memory reload response.
type MemoryResetRecord ¶
type MemoryResetRecord = contract.MemoryResetResponse
MemoryResetRecord captures the daemon API memory reset response.
type MemoryResetRequest ¶
type MemoryResetRequest = contract.MemoryResetRequest
MemoryResetRequest captures the daemon API memory reset payload.
type MemoryScopeShowRecord ¶
type MemoryScopeShowRecord = contract.MemoryScopeShowResponse
MemoryScopeShowRecord captures effective memory scope resolution.
type MemorySearchRecord ¶
type MemorySearchRecord = contract.MemorySearchResponse
MemorySearchRecord wraps deterministic recall/search output.
type MemorySearchRequest ¶
type MemorySearchRequest = contract.MemorySearchRequest
MemorySearchRequest captures the daemon API deterministic recall/search payload.
type MemorySelectorQuery ¶
type MemorySelectorQuery struct {
Scope memcontract.Scope
WorkspaceID string
AgentName string
AgentTier memcontract.AgentTier
IncludeSystem bool
}
MemorySelectorQuery captures scope selectors sent through Memory v2 query parameters.
type NetworkChannelDetailRecord ¶
type NetworkChannelDetailRecord = contract.NetworkChannelDetailPayload
NetworkChannelDetailRecord is the shared detailed channel payload.
type NetworkChannelRecord ¶
type NetworkChannelRecord = contract.NetworkChannelPayload
NetworkChannelRecord is the shared active-channel payload.
type NetworkConversationMessageRecord ¶
type NetworkConversationMessageRecord = contract.NetworkConversationMessagePayload
NetworkConversationMessageRecord is the shared conversation message payload.
type NetworkConversationMessagesQuery ¶
type NetworkConversationMessagesQuery struct {
WorkspaceRef string
Channel string
ThreadID string
DirectID string
Limit int
Before string
After string
Kind string
WorkID string
}
NetworkConversationMessagesQuery captures CLI filters for conversation messages.
type NetworkDirectResolveRequest ¶
type NetworkDirectResolveRequest = contract.NetworkDirectResolveRequest
NetworkDirectResolveRequest captures direct-room resolution inputs.
type NetworkDirectRoomRecord ¶
type NetworkDirectRoomRecord = contract.NetworkDirectRoomPayload
NetworkDirectRoomRecord is the shared direct-room summary payload.
type NetworkDirectsQuery ¶
type NetworkDirectsQuery struct {
WorkspaceRef string
Channel string
PeerID string
Limit int
After string
}
NetworkDirectsQuery captures CLI filters for direct-room listing.
type NetworkEnvelopeRecord ¶
type NetworkEnvelopeRecord = contract.NetworkEnvelopePayload
NetworkEnvelopeRecord is the shared surfaced envelope payload.
type NetworkKindMetricRecord ¶
type NetworkKindMetricRecord = contract.NetworkKindMetricPayload
NetworkKindMetricRecord is one per-kind network metric row.
type NetworkPeerCardRecord ¶
type NetworkPeerCardRecord = contract.NetworkPeerCardPayload
NetworkPeerCardRecord is the shared peer-card payload nested under peers.
type NetworkPeerRecord ¶
type NetworkPeerRecord = contract.NetworkPeerPayload
NetworkPeerRecord is the shared visible-peer payload.
type NetworkPeersQuery ¶
NetworkPeersQuery captures CLI filters for peer listing.
type NetworkSendRecord ¶
type NetworkSendRecord = contract.NetworkSendPayload
NetworkSendRecord is the shared network send response payload.
type NetworkSendRequest ¶
type NetworkSendRequest = contract.NetworkSendRequest
NetworkSendRequest captures one outbound network send payload.
type NetworkStatusRecord ¶
type NetworkStatusRecord = contract.NetworkStatusPayload
NetworkStatusRecord is the shared network status payload.
type NetworkThreadRecord ¶
type NetworkThreadRecord = contract.NetworkThreadSummaryPayload
NetworkThreadRecord is the shared public-thread summary payload.
type NetworkThreadsQuery ¶
NetworkThreadsQuery captures CLI filters for public-thread listing.
type NetworkWorkRecord ¶
type NetworkWorkRecord = contract.NetworkWorkPayload
NetworkWorkRecord is the shared network work payload.
type NotificationPresetListRecord ¶
type NotificationPresetListRecord = contract.NotificationPresetListResponse
NotificationPresetListRecord wraps notification preset list results.
type NotificationPresetQuery ¶
NotificationPresetQuery filters preset list operations.
type NotificationPresetRecord ¶
type NotificationPresetRecord = contract.NotificationPresetPayload
NotificationPresetRecord is one persisted notification preset.
type NotificationPresetTarget ¶
type NotificationPresetTarget = contract.NotificationTargetPayload
NotificationPresetTarget is one bridge target attached to a preset.
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 ProviderModelListQuery ¶
type ProviderModelListQuery struct {
ProviderID string
SourceID 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 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 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 SessionEventQuery ¶
type SessionEventQuery struct {
Type string
AgentName string
TurnID string
Since time.Time
Last int
AfterSequence int64
}
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 SessionHealthRecord ¶
type SessionHealthRecord = contract.SessionHealthPayload
SessionHealthRecord is the shared session-health payload.
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 SessionListQuery ¶
SessionListQuery captures the CLI filters for session list queries.
type SessionPromptRecord ¶
type SessionPromptRecord struct {
Prompt SessionPromptResultRecord `json:"prompt"`
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 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 SettingsApplyHistoryQuery ¶
SettingsApplyHistoryQuery captures apply-history filters.
type SettingsApplyHistoryRecord ¶
type SettingsApplyHistoryRecord = contract.ConfigApplyRecordsResponse
SettingsApplyHistoryRecord is the shared settings apply-history response payload.
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 SupportBundleOperationRecord ¶
type SupportBundleOperationRecord = contract.SupportBundleOperationPayload
SupportBundleOperationRecord is the shared support bundle operation payload.
type TaskBridgeNotificationSubscriptionQuery ¶
type TaskBridgeNotificationSubscriptionQuery struct {
BridgeInstanceID string
Scope bridgepkg.Scope
WorkspaceID string
Limit int
}
TaskBridgeNotificationSubscriptionQuery captures CLI filters for bridge terminal notification subscriptions.
type TaskBridgeNotificationSubscriptionRecord ¶
type TaskBridgeNotificationSubscriptionRecord = contract.TaskBridgeNotificationSubscriptionPayload
TaskBridgeNotificationSubscriptionRecord is one task terminal bridge notification subscription payload.
type TaskBridgeNotificationSubscriptionRequest ¶
type TaskBridgeNotificationSubscriptionRequest = contract.CreateTaskBridgeNotificationSubscriptionRequest
TaskBridgeNotificationSubscriptionRequest captures one task terminal bridge notification subscription request.
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 TaskRecord ¶
type TaskRecord = contract.TaskPayload
TaskRecord is the shared single-task 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 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 list-oriented task payload.
type TokenUsageRecord ¶
type TokenUsageRecord = contract.TokenUsagePayload
TokenUsageRecord is the prompt usage payload returned by the daemon API.
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 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 UpdateBridgeRequest ¶
type UpdateBridgeRequest = contract.UpdateBridgeRequest
UpdateBridgeRequest captures mutable bridge-instance fields.
type UpdateBundleActivationRequest ¶
type UpdateBundleActivationRequest = contract.UpdateBundleActivationRequest
UpdateBundleActivationRequest captures mutable bundle activation overlays.
type UpdateExtensionRequest ¶
type UpdateExtensionRequest = contract.UpdateExtensionRequest
UpdateExtensionRequest captures the shared extension update payload.
type UpdateNotificationPresetRequest ¶
type UpdateNotificationPresetRequest = contract.UpdateNotificationPresetRequest
UpdateNotificationPresetRequest captures mutable notification preset fields.
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 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.
Source Files
¶
- agent.go
- agent_identity.go
- agent_kernel.go
- args.go
- authored_context.go
- automation.go
- bridge.go
- bundle.go
- client.go
- client_onboarding.go
- client_provider_models.go
- client_providers.go
- client_tools.go
- config.go
- daemon.go
- doc.go
- extension.go
- extension_marketplace.go
- flags.go
- format.go
- hooks.go
- install.go
- json_flags.go
- lifecycle.go
- logs.go
- mcp_auth.go
- memory.go
- network.go
- notifications.go
- onboarding.go
- provider.go
- provider_models.go
- resource.go
- root.go
- scheduler.go
- session.go
- skill.go
- skill_commands.go
- skill_marketplace.go
- skill_output.go
- skill_workspace.go
- spawn.go
- status.go
- structured_error.go
- support.go
- task.go
- tool.go
- tool_operator.go
- update.go
- vault.go
- whoami.go
- workspace.go