Documentation
¶
Index ¶
- Constants
- func CommandFlagTypeValues() []string
- func IssueSeverityValues() []string
- func PermissionMethods() []string
- type AgentHeartbeatDeleteParams
- type AgentHeartbeatGetParams
- type AgentHeartbeatHistoryParams
- type AgentHeartbeatPutParams
- type AgentHeartbeatRollbackParams
- type AgentHeartbeatStatusParams
- type AgentHeartbeatValidateParams
- type AgentHeartbeatWakeParams
- type AgentSoulDeleteParams
- type AgentSoulGetParams
- type AgentSoulHistoryParams
- type AgentSoulPutParams
- type AgentSoulRollbackParams
- type AgentSoulValidateParams
- type AutomationJobCreateParams
- type AutomationJobRunsParams
- type AutomationJobTriggerParams
- type AutomationJobUpdateParams
- type AutomationJobsParams
- type AutomationJobsResult
- type AutomationRunsParams
- type AutomationTargetParams
- type AutomationTriggerCreateParams
- type AutomationTriggerFireParams
- type AutomationTriggerRunsParams
- type AutomationTriggerUpdateParams
- type AutomationTriggersParams
- type AutomationTriggersResult
- type BridgeInstanceTargetParams
- type BridgesInstancesReportStateParams
- type BridgesMessagesIngestParams
- type BridgesMessagesIngestResult
- type ClarifyAskParams
- type CommandFlag
- type CommandFlagType
- type ConsentArea
- type DescribePayload
- type DescribeResources
- type DescribeSDKInfo
- type DescribeSubprocess
- type EmptyResult
- type ExtensionCommandGroupSpec
- type ExtensionCommandSpec
- type ExtensionManifestSummary
- type ExtensionValidatePayload
- type HookContractSpec
- type HostAPIMethod
- type HostAPIMethodSpec
- type IssueSeverity
- type ListLogsParams
- type MemoryForgetParams
- type MemoryRecallEntry
- type MemoryRecallParams
- type MemoryStoreParams
- type ModelSourceListParams
- type ModelSourceListResponse
- type ModelSourceRow
- type ModelsListParams
- type ModelsRefreshParams
- type ModelsStatusParams
- type NamedType
- type NetworkChannelsParams
- type NetworkDirectMessagesParams
- type NetworkDirectResolveParams
- type NetworkDirectsParams
- type NetworkPeersParams
- type NetworkSendParams
- type NetworkThreadMessagesParams
- type NetworkThreadTargetParams
- type NetworkThreadsParams
- type NetworkUsageParams
- type NetworkWorkGetParams
- type ObserveHealth
- type PermissionContract
- type ProvideCapabilityContract
- type ResourceGetParams
- type ResourceRecord
- type ResourceSnapshotRecord
- type ResourcesListParams
- type ResourcesSnapshotParams
- type SDKEnumContract
- type SandboxExecParams
- type SandboxExecResult
- type SandboxInfoParams
- type SandboxInfoResult
- type SandboxListParams
- type SandboxListResult
- type SandboxSummary
- type SessionCreateResult
- type SessionEvent
- type SessionEventsParams
- type SessionHealthGetParams
- type SessionInput
- type SessionInputListResult
- type SessionInputPromoteParams
- type SessionInputReplaceParams
- type SessionInputResult
- type SessionInputTargetParams
- type SessionInputsListParams
- type SessionPromptResult
- type SessionRuntimeClearParams
- type SessionRuntimeSelectionPayload
- type SessionRuntimeSetParams
- type SessionSoulRefreshParams
- type SessionStatus
- type SessionStatusGetParams
- type SessionSummary
- type SessionTargetParams
- type SessionsCreateParams
- type SessionsListParams
- type SessionsPromptParams
- type SkillSummary
- type SkillsListParams
- type TaskCancelParams
- type TaskCreateParams
- type TaskDashboardParams
- type TaskInboxParams
- type TaskRunAttachSessionParams
- type TaskRunCancelParams
- type TaskRunCompleteParams
- type TaskRunEnqueueParams
- type TaskRunFailParams
- type TaskRunGetParams
- type TaskRunStartParams
- type TaskRunsParams
- type TaskTargetParams
- type TaskTimelineParams
- type TaskTreeParams
- type TaskUpdateParams
- type TasksParams
- type ValidationIssue
Constants ¶
const ( // IssueSeverityError blocks extension-package use. IssueSeverityError = apicontract.IssueSeverityError // IssueSeverityWarning reports non-blocking authoring guidance. IssueSeverityWarning = apicontract.IssueSeverityWarning )
const ( // CommandFlagString projects a JSON string. CommandFlagString = toolspkg.CommandFlagString // CommandFlagBoolean projects a JSON boolean. CommandFlagBoolean = toolspkg.CommandFlagBoolean // CommandFlagInteger projects a JSON integer. CommandFlagInteger = toolspkg.CommandFlagInteger // CommandFlagNumber projects a JSON number. CommandFlagNumber = toolspkg.CommandFlagNumber )
const ( HostAPIMethodSessionsList = extensionprotocol.HostAPIMethodSessionsList HostAPIMethodSessionsCreate = extensionprotocol.HostAPIMethodSessionsCreate HostAPIMethodSessionsPrompt = extensionprotocol.HostAPIMethodSessionsPrompt HostAPIMethodSessionsRuntimeSet = extensionprotocol.HostAPIMethodSessionsRuntimeSet HostAPIMethodSessionsRuntimeClear = extensionprotocol.HostAPIMethodSessionsRuntimeClear HostAPIMethodSessionsInputsList = extensionprotocol.HostAPIMethodSessionsInputsList HostAPIMethodSessionsInputsReplace = extensionprotocol.HostAPIMethodSessionsInputsReplace HostAPIMethodSessionsInputsCancel = extensionprotocol.HostAPIMethodSessionsInputsCancel HostAPIMethodSessionsInputsPromote = extensionprotocol.HostAPIMethodSessionsInputsPromote HostAPIMethodSessionsStop = extensionprotocol.HostAPIMethodSessionsStop HostAPIMethodSessionsArchive = extensionprotocol.HostAPIMethodSessionsArchive HostAPIMethodSessionsUnarchive = extensionprotocol.HostAPIMethodSessionsUnarchive HostAPIMethodSessionsStatus = extensionprotocol.HostAPIMethodSessionsStatus HostAPIMethodSessionsEvents = extensionprotocol.HostAPIMethodSessionsEvents HostAPIMethodSessionsSoulRefresh = extensionprotocol.HostAPIMethodSessionsSoulRefresh HostAPIMethodSessionsHealthGet = extensionprotocol.HostAPIMethodSessionsHealthGet HostAPIMethodSessionsStatusGet = extensionprotocol.HostAPIMethodSessionsStatusGet HostAPIMethodSandboxList = extensionprotocol.HostAPIMethodSandboxList HostAPIMethodSandboxInfo = extensionprotocol.HostAPIMethodSandboxInfo HostAPIMethodSandboxExec = extensionprotocol.HostAPIMethodSandboxExec HostAPIMethodMemoryRecall = extensionprotocol.HostAPIMethodMemoryRecall HostAPIMethodMemoryStore = extensionprotocol.HostAPIMethodMemoryStore HostAPIMethodMemoryForget = extensionprotocol.HostAPIMethodMemoryForget HostAPIMethodObserveHealth = extensionprotocol.HostAPIMethodObserveHealth HostAPIMethodListLogs = extensionprotocol.HostAPIMethodListLogs HostAPIMethodSkillsList = extensionprotocol.HostAPIMethodSkillsList HostAPIMethodModelsList = extensionprotocol.HostAPIMethodModelsList HostAPIMethodModelsRefresh = extensionprotocol.HostAPIMethodModelsRefresh HostAPIMethodModelsStatus = extensionprotocol.HostAPIMethodModelsStatus HostAPIMethodAgentsSoulGet = extensionprotocol.HostAPIMethodAgentsSoulGet HostAPIMethodAgentsSoulValidate = extensionprotocol.HostAPIMethodAgentsSoulValidate HostAPIMethodAgentsSoulPut = extensionprotocol.HostAPIMethodAgentsSoulPut HostAPIMethodAgentsSoulDelete = extensionprotocol.HostAPIMethodAgentsSoulDelete HostAPIMethodAgentsSoulHistory = extensionprotocol.HostAPIMethodAgentsSoulHistory HostAPIMethodAgentsSoulRollback = extensionprotocol.HostAPIMethodAgentsSoulRollback HostAPIMethodAgentsHeartbeatGet = extensionprotocol.HostAPIMethodAgentsHeartbeatGet HostAPIMethodAgentsHeartbeatValidate = extensionprotocol.HostAPIMethodAgentsHeartbeatValidate HostAPIMethodAgentsHeartbeatPut = extensionprotocol.HostAPIMethodAgentsHeartbeatPut HostAPIMethodAgentsHeartbeatDelete = extensionprotocol.HostAPIMethodAgentsHeartbeatDelete HostAPIMethodAgentsHeartbeatHistory = extensionprotocol.HostAPIMethodAgentsHeartbeatHistory HostAPIMethodAgentsHeartbeatRollback = extensionprotocol.HostAPIMethodAgentsHeartbeatRollback HostAPIMethodAgentsHeartbeatStatus = extensionprotocol.HostAPIMethodAgentsHeartbeatStatus HostAPIMethodAgentsHeartbeatWake = extensionprotocol.HostAPIMethodAgentsHeartbeatWake HostAPIMethodAutomationJobs = extensionprotocol.HostAPIMethodAutomationJobs HostAPIMethodAutomationJobsGet = extensionprotocol.HostAPIMethodAutomationJobsGet HostAPIMethodAutomationJobsCreate = extensionprotocol.HostAPIMethodAutomationJobsCreate HostAPIMethodAutomationJobsUpdate = extensionprotocol.HostAPIMethodAutomationJobsUpdate HostAPIMethodAutomationJobsDelete = extensionprotocol.HostAPIMethodAutomationJobsDelete HostAPIMethodAutomationJobsTrigger = extensionprotocol.HostAPIMethodAutomationJobsTrigger HostAPIMethodAutomationJobsRuns = extensionprotocol.HostAPIMethodAutomationJobsRuns HostAPIMethodAutomationTriggers = extensionprotocol.HostAPIMethodAutomationTriggers HostAPIMethodAutomationTriggersGet = extensionprotocol.HostAPIMethodAutomationTriggersGet HostAPIMethodAutomationTriggersCreate = extensionprotocol.HostAPIMethodAutomationTriggersCreate HostAPIMethodAutomationTriggersUpdate = extensionprotocol.HostAPIMethodAutomationTriggersUpdate HostAPIMethodAutomationTriggersDelete = extensionprotocol.HostAPIMethodAutomationTriggersDelete HostAPIMethodAutomationTriggersRuns = extensionprotocol.HostAPIMethodAutomationTriggersRuns HostAPIMethodAutomationTriggersFire = extensionprotocol.HostAPIMethodAutomationTriggersFire HostAPIMethodAutomationRuns = extensionprotocol.HostAPIMethodAutomationRuns HostAPIMethodTasks = extensionprotocol.HostAPIMethodTasks HostAPIMethodTasksGet = extensionprotocol.HostAPIMethodTasksGet HostAPIMethodTasksTimeline = extensionprotocol.HostAPIMethodTasksTimeline HostAPIMethodTasksTree = extensionprotocol.HostAPIMethodTasksTree HostAPIMethodTasksDashboard = extensionprotocol.HostAPIMethodTasksDashboard HostAPIMethodTasksInbox = extensionprotocol.HostAPIMethodTasksInbox HostAPIMethodTasksCreate = extensionprotocol.HostAPIMethodTasksCreate HostAPIMethodTasksUpdate = extensionprotocol.HostAPIMethodTasksUpdate HostAPIMethodTasksCancel = extensionprotocol.HostAPIMethodTasksCancel HostAPIMethodTasksRuns = extensionprotocol.HostAPIMethodTasksRuns HostAPIMethodTasksRunsGet = extensionprotocol.HostAPIMethodTasksRunsGet HostAPIMethodTasksRunsEnqueue = extensionprotocol.HostAPIMethodTasksRunsEnqueue HostAPIMethodTasksRunsStart = extensionprotocol.HostAPIMethodTasksRunsStart HostAPIMethodTasksRunsAttachSession = extensionprotocol.HostAPIMethodTasksRunsAttachSession HostAPIMethodTasksRunsComplete = extensionprotocol.HostAPIMethodTasksRunsComplete HostAPIMethodTasksRunsFail = extensionprotocol.HostAPIMethodTasksRunsFail HostAPIMethodTasksRunsCancel = extensionprotocol.HostAPIMethodTasksRunsCancel HostAPIMethodNetworkStatus = extensionprotocol.HostAPIMethodNetworkStatus HostAPIMethodNetworkUsage = extensionprotocol.HostAPIMethodNetworkUsage HostAPIMethodNetworkChannels = extensionprotocol.HostAPIMethodNetworkChannels HostAPIMethodNetworkPeers = extensionprotocol.HostAPIMethodNetworkPeers HostAPIMethodNetworkThreads = extensionprotocol.HostAPIMethodNetworkThreads HostAPIMethodNetworkThreadGet = extensionprotocol.HostAPIMethodNetworkThreadGet HostAPIMethodNetworkThreadMessages = extensionprotocol.HostAPIMethodNetworkThreadMessages HostAPIMethodNetworkDirects = extensionprotocol.HostAPIMethodNetworkDirects HostAPIMethodNetworkDirectResolve = extensionprotocol.HostAPIMethodNetworkDirectResolve HostAPIMethodNetworkDirectMessages = extensionprotocol.HostAPIMethodNetworkDirectMessages HostAPIMethodNetworkWorkGet = extensionprotocol.HostAPIMethodNetworkWorkGet HostAPIMethodNetworkSend = extensionprotocol.HostAPIMethodNetworkSend HostAPIMethodResourcesList = extensionprotocol.HostAPIMethodResourcesList HostAPIMethodResourcesGet = extensionprotocol.HostAPIMethodResourcesGet HostAPIMethodResourcesSnapshot = extensionprotocol.HostAPIMethodResourcesSnapshot HostAPIMethodBridgesInstancesList = extensionprotocol.HostAPIMethodBridgesInstancesList HostAPIMethodBridgesMessagesIngest = extensionprotocol.HostAPIMethodBridgesMessagesIngest HostAPIMethodBridgesInstancesGet = extensionprotocol.HostAPIMethodBridgesInstancesGet HostAPIMethodBridgesInstancesReportState = extensionprotocol.HostAPIMethodBridgesInstancesReportState HostAPIMethodClarifyAsk = extensionprotocol.HostAPIMethodClarifyAsk )
Variables ¶
This section is empty.
Functions ¶
func CommandFlagTypeValues ¶
func CommandFlagTypeValues() []string
CommandFlagTypeValues returns the complete generated-contract enum domain.
func IssueSeverityValues ¶
func IssueSeverityValues() []string
IssueSeverityValues returns the closed validation-severity set.
func PermissionMethods ¶
func PermissionMethods() []string
PermissionMethods returns the closed Host API permission set in stable order.
Types ¶
type AgentHeartbeatDeleteParams ¶
type AgentHeartbeatDeleteParams = apicontract.HeartbeatDeleteRequest
AgentHeartbeatDeleteParams deletes HEARTBEAT.md through managed authoring.
type AgentHeartbeatGetParams ¶
type AgentHeartbeatGetParams struct {
WorkspaceID string `json:"workspace_id,omitempty"`
AgentName string `json:"agent_name"`
}
AgentHeartbeatGetParams identifies one workspace-visible Heartbeat policy.
type AgentHeartbeatHistoryParams ¶
type AgentHeartbeatHistoryParams = apicontract.HeartbeatHistoryRequest
AgentHeartbeatHistoryParams lists managed Heartbeat authoring revisions.
type AgentHeartbeatPutParams ¶
type AgentHeartbeatPutParams = apicontract.HeartbeatPutRequest
AgentHeartbeatPutParams creates or replaces HEARTBEAT.md through managed authoring.
type AgentHeartbeatRollbackParams ¶
type AgentHeartbeatRollbackParams = apicontract.HeartbeatRollbackRequest
AgentHeartbeatRollbackParams restores a prior Heartbeat revision or snapshot digest.
type AgentHeartbeatStatusParams ¶
type AgentHeartbeatStatusParams = apicontract.HeartbeatStatusRequest
AgentHeartbeatStatusParams composes Heartbeat policy, wake state, health, and wake audit.
type AgentHeartbeatValidateParams ¶
type AgentHeartbeatValidateParams = apicontract.HeartbeatValidateRequest
AgentHeartbeatValidateParams validates proposed HEARTBEAT.md content.
type AgentHeartbeatWakeParams ¶
type AgentHeartbeatWakeParams = apicontract.HeartbeatWakeRequest
AgentHeartbeatWakeParams requests one managed advisory wake decision.
type AgentSoulDeleteParams ¶
type AgentSoulDeleteParams = apicontract.AgentSoulDeleteRequest
AgentSoulDeleteParams deletes SOUL.md through managed authoring.
type AgentSoulGetParams ¶
type AgentSoulGetParams struct {
WorkspaceID string `json:"workspace_id,omitempty"`
AgentName string `json:"agent_name"`
}
AgentSoulGetParams identifies one workspace-visible Soul read model.
type AgentSoulHistoryParams ¶
type AgentSoulHistoryParams = apicontract.AgentSoulHistoryRequest
AgentSoulHistoryParams lists managed Soul authoring revisions.
type AgentSoulPutParams ¶
type AgentSoulPutParams = apicontract.AgentSoulPutRequest
AgentSoulPutParams creates or replaces SOUL.md through managed authoring.
type AgentSoulRollbackParams ¶
type AgentSoulRollbackParams = apicontract.AgentSoulRollbackRequest
AgentSoulRollbackParams restores a prior managed Soul revision.
type AgentSoulValidateParams ¶
type AgentSoulValidateParams = apicontract.AgentSoulValidateRequest
AgentSoulValidateParams validates current or proposed SOUL.md content.
type AutomationJobCreateParams ¶
type AutomationJobCreateParams = apicontract.CreateJobRequest
AutomationJobCreateParams starts a new dynamic automation job.
type AutomationJobRunsParams ¶
type AutomationJobRunsParams struct {
ID string `json:"id"`
Status automationpkg.RunStatus `json:"status,omitempty"`
Limit int `json:"limit,omitempty"`
}
AutomationJobRunsParams filters run history for one automation job.
type AutomationJobTriggerParams ¶
type AutomationJobTriggerParams struct {
ID string `json:"id"`
Payload map[string]any `json:"payload,omitempty"`
}
AutomationJobTriggerParams forces one immediate automation job run.
type AutomationJobUpdateParams ¶
type AutomationJobUpdateParams struct {
ID string `json:"id"`
apicontract.UpdateJobRequest
}
AutomationJobUpdateParams patches one automation job definition by id.
type AutomationJobsParams ¶
type AutomationJobsParams struct {
Scope automationpkg.Scope `json:"scope,omitempty"`
WorkspaceID string `json:"workspace_id,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Query string `json:"q,omitempty"`
Cursor string `json:"cursor,omitempty"`
Limit int `json:"limit,omitempty"`
}
AutomationJobsParams filters visible automation jobs.
type AutomationJobsResult ¶
type AutomationJobsResult struct {
Jobs []automationpkg.Job `json:"jobs"`
Page apicontract.CountedCursorPagePayload `json:"page"`
}
AutomationJobsResult is one bounded page of extension-visible automation jobs.
type AutomationRunsParams ¶
type AutomationRunsParams struct {
JobID string `json:"job_id,omitempty"`
TriggerID string `json:"trigger_id,omitempty"`
Status automationpkg.RunStatus `json:"status,omitempty"`
Limit int `json:"limit,omitempty"`
}
AutomationRunsParams filters visible automation runs.
type AutomationTargetParams ¶
type AutomationTargetParams struct {
ID string `json:"id"`
}
AutomationTargetParams identifies one automation resource by id.
type AutomationTriggerCreateParams ¶
type AutomationTriggerCreateParams = apicontract.CreateTriggerRequest
AutomationTriggerCreateParams starts a new dynamic automation trigger.
type AutomationTriggerFireParams ¶
type AutomationTriggerFireParams struct {
Event string `json:"event"`
Scope automationpkg.Scope `json:"scope"`
WorkspaceID string `json:"workspace_id,omitempty"`
Payload map[string]any `json:"payload,omitempty"`
}
AutomationTriggerFireParams injects one extension-originated trigger event.
type AutomationTriggerRunsParams ¶
type AutomationTriggerRunsParams struct {
ID string `json:"id"`
Status automationpkg.RunStatus `json:"status,omitempty"`
Limit int `json:"limit,omitempty"`
}
AutomationTriggerRunsParams filters run history for one automation trigger.
type AutomationTriggerUpdateParams ¶
type AutomationTriggerUpdateParams struct {
ID string `json:"id"`
apicontract.UpdateTriggerRequest
}
AutomationTriggerUpdateParams patches one automation trigger definition by id.
type AutomationTriggersParams ¶
type AutomationTriggersParams struct {
Scope automationpkg.Scope `json:"scope,omitempty"`
WorkspaceID string `json:"workspace_id,omitempty"`
Event string `json:"event,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Query string `json:"q,omitempty"`
Cursor string `json:"cursor,omitempty"`
Limit int `json:"limit,omitempty"`
}
AutomationTriggersParams filters visible automation triggers.
type AutomationTriggersResult ¶
type AutomationTriggersResult struct {
Triggers []apicontract.TriggerPayload `json:"triggers"`
Page apicontract.CountedCursorPagePayload `json:"page"`
}
AutomationTriggersResult is one bounded page of redacted extension-visible automation triggers.
type BridgeInstanceTargetParams ¶
type BridgeInstanceTargetParams = bridgepkg.BridgeInstanceTargetParams
BridgeInstanceTargetParams identifies one provider-owned bridge instance.
type BridgesInstancesReportStateParams ¶
type BridgesInstancesReportStateParams = bridgepkg.BridgesInstancesReportStateParams
BridgesInstancesReportStateParams reports one adapter-observed instance status update.
type BridgesMessagesIngestParams ¶
type BridgesMessagesIngestParams = bridgepkg.InboundMessageEnvelope
BridgesMessagesIngestParams carries one normalized inbound bridge message.
type BridgesMessagesIngestResult ¶
type BridgesMessagesIngestResult = bridgepkg.BridgesMessagesIngestResult
BridgesMessagesIngestResult reports the resolved session association for one inbound message.
type ClarifyAskParams ¶
type ClarifyAskParams struct {
InvocationID string `json:"invocation_id"`
Question string `json:"question"`
Choices []string `json:"choices,omitempty"`
}
ClarifyAskParams carries daemon-issued invocation authority and extension-authored question data.
type CommandFlag ¶
type CommandFlag = toolspkg.CommandFlag
CommandFlag is the schema-derived CLI projection for one top-level input field.
type CommandFlagType ¶
type CommandFlagType = toolspkg.CommandFlagType
CommandFlagType is the closed scalar type accepted by projected command flags.
type ConsentArea ¶
type ConsentArea = apicontract.ConsentArea
ConsentArea is one operator-facing permission summary derived from Host API methods.
type DescribePayload ¶
type DescribePayload struct {
Name string `json:"name"`
Version string `json:"version"`
Description string `json:"description,omitempty"`
Provides []string `json:"provides"`
Permissions []string `json:"permissions"`
RequiresEnv []string `json:"requires_env,omitempty"`
Resources DescribeResources `json:"resources"`
Subprocess DescribeSubprocess `json:"subprocess"`
Tools []toolspkg.ExtensionToolRuntimeDescriptor `json:"tools,omitempty"`
HookEvents []string `json:"hook_events,omitempty"`
WatchSourceKinds []string `json:"watch_source_kinds,omitempty"`
CommandGroups []ExtensionCommandGroupSpec `json:"command_groups,omitempty"`
SDK DescribeSDKInfo `json:"sdk"`
}
DescribePayload is the build-time contract emitted by an SDK describe process.
type DescribeResources ¶
type DescribeResources struct {
Skills []string `json:"skills,omitempty"`
Loops []string `json:"loops,omitempty"`
Agents []string `json:"agents,omitempty"`
Automation []string `json:"automation,omitempty"`
Layouts []string `json:"layouts,omitempty"`
}
DescribeResources declares source-relative static resource paths copied into a generation.
type DescribeSDKInfo ¶
type DescribeSDKInfo struct {
Name string `json:"name"`
Version string `json:"version"`
ProtocolVersion string `json:"protocol_version"`
MinCompozyVersion string `json:"min_compozy_version"`
}
DescribeSDKInfo identifies the SDK and compatibility floor that authored the payload.
type DescribeSubprocess ¶
type DescribeSubprocess struct {
Command string `json:"command"`
Args []string `json:"args,omitempty"`
Env map[string]string `json:"env,omitempty"`
}
DescribeSubprocess declares the generated manifest's extension process entrypoint.
type EmptyResult ¶
type EmptyResult struct{}
EmptyResult is the empty JSON-RPC result for methods without payloads.
type ExtensionCommandGroupSpec ¶
ExtensionCommandGroupSpec declares a presentation-only command group.
type ExtensionCommandSpec ¶
type ExtensionCommandSpec = toolspkg.ExtensionCommandSpec
ExtensionCommandSpec presents an extension tool as an operator-facing command.
type ExtensionManifestSummary ¶
type ExtensionManifestSummary = apicontract.ExtensionManifestSummary
ExtensionManifestSummary is the authoring-facing subset of a validated manifest.
type ExtensionValidatePayload ¶
type ExtensionValidatePayload = apicontract.ExtensionValidatePayload
ExtensionValidatePayload is the shared result for extension-package validation surfaces.
type HookContractSpec ¶
HookContractSpec binds one hook event to its payload and patch contracts.
func BuildHookContracts ¶
func BuildHookContracts() ([]HookContractSpec, error)
BuildHookContracts returns the canonical hook payload/patch registry in event order.
type HostAPIMethod ¶
type HostAPIMethod = extensionprotocol.HostAPIMethod
HostAPIMethod identifies one extension -> Compozy Host API request.
type HostAPIMethodSpec ¶
type HostAPIMethodSpec struct {
Method HostAPIMethod
Params NamedType
Result NamedType
OptionalParams bool
}
HostAPIMethodSpec describes one Host API request/response contract.
func HostAPIMethodSpecs ¶
func HostAPIMethodSpecs() []HostAPIMethodSpec
HostAPIMethodSpecs returns the canonical Host API method registry in wire order.
type IssueSeverity ¶
type IssueSeverity = apicontract.IssueSeverity
IssueSeverity classifies one extension-package validation issue.
type ListLogsParams ¶
type ListLogsParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id,omitempty"`
AgentName string `json:"agent_name,omitempty"`
Type string `json:"type,omitempty"`
RunID string `json:"run,omitempty"`
ActorKind string `json:"actor_kind,omitempty"`
ActorID string `json:"actor_id,omitempty"`
Provider string `json:"provider,omitempty"`
Outcome string `json:"outcome,omitempty"`
Component string `json:"component,omitempty"`
ErrorOnly bool `json:"error_only,omitempty"`
AfterSequence int64 `json:"after_seq,omitempty"`
Since time.Time `json:"since,omitzero"`
Limit int `json:"limit,omitempty"`
}
ListLogsParams filters workspace runtime logs.
type MemoryForgetParams ¶
type MemoryForgetParams struct {
Key string `json:"key"`
Scope memcontract.Scope `json:"scope,omitempty"`
Workspace string `json:"workspace,omitempty"`
}
MemoryForgetParams removes one stored memory document.
type MemoryRecallEntry ¶
type MemoryRecallEntry struct {
Key string `json:"key"`
Content string `json:"content"`
Score float64 `json:"score"`
}
MemoryRecallEntry is one scored memory lookup hit.
type MemoryRecallParams ¶
type MemoryRecallParams struct {
Query string `json:"query"`
Limit int `json:"limit,omitempty"`
Scope memcontract.Scope `json:"scope,omitempty"`
Workspace string `json:"workspace,omitempty"`
}
MemoryRecallParams queries stored memory documents.
type MemoryStoreParams ¶
type MemoryStoreParams struct {
Key string `json:"key"`
Content string `json:"content"`
Scope memcontract.Scope `json:"scope,omitempty"`
Workspace string `json:"workspace,omitempty"`
Tags []string `json:"tags,omitempty"`
}
MemoryStoreParams persists one memory document.
type ModelSourceListParams ¶
type ModelSourceListParams struct {
ProviderID string `json:"provider_id,omitempty"`
Refresh bool `json:"refresh,omitempty"`
IncludeStale bool `json:"include_stale,omitempty"`
}
ModelSourceListParams is sent by Compozy to extension model sources.
type ModelSourceListResponse ¶
type ModelSourceListResponse struct {
Rows []ModelSourceRow `json:"rows"`
}
ModelSourceListResponse is returned by extension model sources.
type ModelSourceRow ¶
type ModelSourceRow struct {
SourceID string `json:"source_id"`
ProviderID string `json:"provider_id"`
ModelID string `json:"model_id"`
DisplayName string `json:"display_name,omitempty"`
Priority int `json:"priority,omitempty"`
Available *bool `json:"available,omitempty"`
Stale bool `json:"stale,omitempty"`
RefreshedAt time.Time `json:"refreshed_at"`
ExpiresAt time.Time `json:"expires_at"`
ContextWindow *int64 `json:"context_window,omitempty"`
MaxInputTokens *int64 `json:"max_input_tokens,omitempty"`
MaxOutputTokens *int64 `json:"max_output_tokens,omitempty"`
SupportsTools *bool `json:"supports_tools,omitempty"`
SupportsReasoning *bool `json:"supports_reasoning,omitempty"`
ReasoningEfforts []apicontract.ReasoningEffort `json:"reasoning_efforts,omitempty"`
DefaultReasoningEffort *apicontract.ReasoningEffort `json:"default_reasoning_effort,omitempty"`
Cost *apicontract.ModelCatalogCostPayload `json:"cost,omitempty"`
Deprecated *bool `json:"deprecated,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Featured *bool `json:"featured,omitempty"`
ReleaseDate *string `json:"release_date,omitempty"`
LastError string `json:"last_error,omitempty"`
}
ModelSourceRow is one extension-provided model catalog source row.
type ModelsListParams ¶
type ModelsListParams struct {
ProviderID string `json:"provider_id,omitempty"`
SourceID string `json:"source_id,omitempty"`
Refresh bool `json:"refresh,omitempty"`
IncludeStale bool `json:"include_stale,omitempty"`
}
ModelsListParams filters daemon-owned model catalog projections.
type ModelsRefreshParams ¶
type ModelsRefreshParams struct {
ProviderID string `json:"provider_id,omitempty"`
SourceID string `json:"source_id,omitempty"`
Force bool `json:"force,omitempty"`
RequestID string `json:"request_id,omitempty"`
}
ModelsRefreshParams requests a daemon-owned model catalog refresh.
type ModelsStatusParams ¶
type ModelsStatusParams struct {
ProviderID string `json:"provider_id,omitempty"`
}
ModelsStatusParams filters daemon-owned model catalog source status rows.
type NamedType ¶
NamedType links a generated TypeScript export name to a Go type.
func SDKRootTypes ¶
func SDKRootTypes() []NamedType
SDKRootTypes returns a defensive copy of every canonical generated SDK contract root.
type NetworkChannelsParams ¶
type NetworkChannelsParams struct {
WorkspaceID string `json:"workspace_id"`
}
NetworkChannelsParams filters visible channels by workspace.
type NetworkDirectMessagesParams ¶
type NetworkDirectMessagesParams struct {
WorkspaceID string `json:"workspace_id"`
Channel string `json:"channel"`
DirectID string `json:"direct_id"`
Before string `json:"before,omitempty"`
After string `json:"after,omitempty"`
Kind string `json:"kind,omitempty"`
WorkID string `json:"work_id,omitempty"`
Limit int `json:"limit,omitempty"`
}
NetworkDirectMessagesParams filters messages inside one direct room.
type NetworkDirectResolveParams ¶
type NetworkDirectResolveParams struct {
WorkspaceID string `json:"workspace_id"`
Channel string `json:"channel"`
apicontract.NetworkDirectResolveRequest
}
NetworkDirectResolveParams creates or returns a deterministic direct room.
type NetworkDirectsParams ¶
type NetworkDirectsParams struct {
WorkspaceID string `json:"workspace_id"`
Channel string `json:"channel"`
Query string `json:"query,omitempty"`
PeerID string `json:"peer_id,omitempty"`
Sort string `json:"sort,omitempty"`
HasWork *bool `json:"has_work,omitempty"`
Limit int `json:"limit,omitempty"`
After string `json:"after,omitempty"`
}
NetworkDirectsParams filters one counted direct-room page.
type NetworkPeersParams ¶
type NetworkPeersParams struct {
WorkspaceID string `json:"workspace_id"`
Channel string `json:"channel,omitempty"`
}
NetworkPeersParams filters visible peers by workspace and channel.
type NetworkSendParams ¶
type NetworkSendParams = apicontract.NetworkSendRequest
NetworkSendParams is the shared daemon network send request payload.
type NetworkThreadMessagesParams ¶
type NetworkThreadMessagesParams struct {
WorkspaceID string `json:"workspace_id"`
Channel string `json:"channel"`
ThreadID string `json:"thread_id"`
Before string `json:"before,omitempty"`
After string `json:"after,omitempty"`
Kind string `json:"kind,omitempty"`
WorkID string `json:"work_id,omitempty"`
Limit int `json:"limit,omitempty"`
}
NetworkThreadMessagesParams filters messages inside one public thread.
type NetworkThreadTargetParams ¶
type NetworkThreadTargetParams struct {
WorkspaceID string `json:"workspace_id"`
Channel string `json:"channel"`
ThreadID string `json:"thread_id"`
}
NetworkThreadTargetParams identifies one public thread.
type NetworkThreadsParams ¶
type NetworkThreadsParams struct {
WorkspaceID string `json:"workspace_id"`
Channel string `json:"channel"`
Query string `json:"query,omitempty"`
PeerID string `json:"peer_id,omitempty"`
Sort string `json:"sort,omitempty"`
HasWork *bool `json:"has_work,omitempty"`
Limit int `json:"limit,omitempty"`
After string `json:"after,omitempty"`
}
NetworkThreadsParams filters one counted public-thread page.
type NetworkUsageParams ¶
type NetworkUsageParams struct {
WorkspaceID string `json:"workspace_id"`
OwnerKind string `json:"owner_kind,omitempty"`
OwnerID string `json:"owner_id,omitempty"`
RunID string `json:"run_id,omitempty"`
Channel string `json:"channel,omitempty"`
Cursor string `json:"cursor,omitempty"`
Limit *int `json:"limit,omitempty"`
}
NetworkUsageParams filters one bounded workspace usage page.
type NetworkWorkGetParams ¶
type NetworkWorkGetParams struct {
WorkspaceID string `json:"workspace_id"`
WorkID string `json:"work_id"`
}
NetworkWorkGetParams identifies one network work row.
type ObserveHealth ¶
type ObserveHealth = observepkg.Health
ObserveHealth is the host-visible daemon health payload.
type PermissionContract ¶
PermissionContract binds one Host API method to its operator-facing consent area.
func PermissionContractForMethod ¶
func PermissionContractForMethod(method string) (PermissionContract, bool)
PermissionContractForMethod resolves one closed-set Host API permission.
func PermissionContracts ¶
func PermissionContracts() []PermissionContract
PermissionContracts returns every Host API permission in protocol order.
type ProvideCapabilityContract ¶
ProvideCapabilityContract binds a daemon-recognized provide surface to its service methods.
func ProvideCapabilityContracts ¶
func ProvideCapabilityContracts() []ProvideCapabilityContract
ProvideCapabilityContracts returns the daemon capability registry in stable order.
type ResourceGetParams ¶
type ResourceGetParams struct {
Kind resources.ResourceKind `json:"kind"`
ID string `json:"id"`
}
ResourceGetParams identifies one canonical resource record by kind and id.
type ResourceRecord ¶
type ResourceRecord struct {
Kind resources.ResourceKind `json:"kind"`
ID string `json:"id"`
Version int64 `json:"version"`
Scope resources.ResourceScope `json:"scope"`
Owner resources.ResourceOwner `json:"owner"`
Source resources.ResourceSource `json:"source"`
Spec json.RawMessage `json:"spec"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
ResourceRecord is the generic Host API desired-state shape exposed to extensions.
type ResourceSnapshotRecord ¶
type ResourceSnapshotRecord struct {
Kind resources.ResourceKind `json:"kind"`
ID string `json:"id"`
Scope resources.ResourceScope `json:"scope"`
Spec json.RawMessage `json:"spec"`
}
ResourceSnapshotRecord carries one snapshot-authored resource definition.
type ResourcesListParams ¶
type ResourcesListParams struct {
Kind resources.ResourceKind `json:"kind,omitempty"`
Scope *resources.ResourceScope `json:"scope,omitempty"`
Limit int `json:"limit,omitempty"`
}
ResourcesListParams filters same-source resource visibility for one extension actor.
type ResourcesSnapshotParams ¶
type ResourcesSnapshotParams struct {
SourceVersion int64 `json:"source_version"`
Records []ResourceSnapshotRecord `json:"records"`
}
ResourcesSnapshotParams replaces one extension source snapshot.
type SDKEnumContract ¶
SDKEnumContract binds one daemon enum type to its closed public wire vocabulary.
func SDKEnumContracts ¶
func SDKEnumContracts() []SDKEnumContract
SDKEnumContracts returns the enums whose Go SDK declarations require generated constants.
type SandboxExecParams ¶
type SandboxExecParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
Command string `json:"command"`
Timeout int `json:"timeout,omitempty"`
}
SandboxExecParams executes one command inside a session sandbox.
type SandboxExecResult ¶
type SandboxExecResult struct {
ExitCode int `json:"exit_code"`
Stdout string `json:"stdout,omitempty"`
Stderr string `json:"stderr,omitempty"`
}
SandboxExecResult returns command execution output.
type SandboxInfoParams ¶
type SandboxInfoParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
}
SandboxInfoParams identifies one session sandbox.
type SandboxInfoResult ¶
type SandboxInfoResult struct {
SandboxID string `json:"sandbox_id"`
Backend string `json:"backend"`
Profile string `json:"profile"`
InstanceID string `json:"instance_id"`
RuntimeRoot string `json:"runtime_root"`
SyncState string `json:"sync_state"`
CreatedAt time.Time `json:"created_at"`
LastSyncError string `json:"last_sync_error"`
}
SandboxInfoResult returns detailed sandbox state for a session.
type SandboxListParams ¶
type SandboxListParams struct {
Workspace string `json:"workspace,omitempty"`
}
SandboxListParams filters active sandboxes.
type SandboxListResult ¶
type SandboxListResult struct {
Sandboxes []SandboxSummary `json:"sandboxes"`
}
SandboxListResult returns active sandbox instances.
type SandboxSummary ¶
type SandboxSummary struct {
SessionID string `json:"session_id"`
SandboxID string `json:"sandbox_id"`
Backend string `json:"backend"`
Profile string `json:"profile,omitempty"`
InstanceID string `json:"instance_id,omitempty"`
State string `json:"state"`
SyncState string `json:"sync_state,omitempty"`
}
SandboxSummary is one active sandbox in the host-visible list response.
type SessionCreateResult ¶
type SessionCreateResult struct {
SessionID string `json:"session_id"`
}
SessionCreateResult returns the created session identifier.
type SessionEvent ¶
type SessionEvent struct {
Type string `json:"type"`
Timestamp time.Time `json:"timestamp"`
Data any `json:"data,omitempty"`
}
SessionEvent is the host-visible session or observe event record.
type SessionEventsParams ¶
type SessionEventsParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
Type string `json:"type,omitempty"`
AgentName string `json:"agent_name,omitempty"`
TurnID string `json:"turn_id,omitempty"`
Limit int `json:"limit,omitempty"`
Offset int64 `json:"offset,omitempty"`
Since time.Time `json:"since,omitzero"`
}
SessionEventsParams filters persisted session events.
type SessionHealthGetParams ¶
type SessionHealthGetParams = SessionTargetParams
SessionHealthGetParams identifies one session health row.
type SessionInput ¶
type SessionInput struct {
ID string `json:"id"`
SessionID string `json:"session_id"`
MessageID string `json:"message_id,omitempty"`
IdempotencyKey string `json:"idempotency_key,omitempty"`
TargetTurnID string `json:"target_turn_id,omitempty"`
Status string `json:"status"`
Mode apicontract.PromptMode `json:"mode"`
Delivery apicontract.PromptDelivery `json:"delivery"`
Text string `json:"text"`
QueueGeneration int64 `json:"queue_generation"`
EnqueuedAt time.Time `json:"enqueued_at"`
Runtime *apicontract.PromptRuntimeSelectionPayload `json:"runtime,omitempty"`
}
SessionInput is one durable operator input waiting for session dispatch.
type SessionInputListResult ¶
type SessionInputListResult struct {
Inputs []SessionInput `json:"inputs"`
}
SessionInputListResult returns pending input in daemon dispatch order.
type SessionInputPromoteParams ¶
type SessionInputPromoteParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
QueueEntryID string `json:"queue_entry_id"`
Text string `json:"text"`
MessageID string `json:"message_id"`
IdempotencyKey string `json:"idempotency_key"`
ExpectedTurnID string `json:"expected_turn_id"`
}
SessionInputPromoteParams atomically promotes one queued input to fenced steering.
type SessionInputReplaceParams ¶
type SessionInputReplaceParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
QueueEntryID string `json:"queue_entry_id"`
Text string `json:"text"`
MessageID string `json:"message_id"`
IdempotencyKey string `json:"idempotency_key"`
}
SessionInputReplaceParams atomically replaces one queued input and its durable identity.
type SessionInputResult ¶
type SessionInputResult struct {
Input SessionInput `json:"input"`
}
SessionInputResult returns one durable pending input.
type SessionInputTargetParams ¶
type SessionInputTargetParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
QueueEntryID string `json:"queue_entry_id"`
}
SessionInputTargetParams identifies one durable pending input.
type SessionInputsListParams ¶
type SessionInputsListParams = SessionTargetParams
SessionInputsListParams identifies the pending inputs for one session.
type SessionPromptResult ¶
type SessionPromptResult struct {
Status string `json:"status"`
Mode apicontract.PromptMode `json:"mode,omitempty"`
Delivery apicontract.PromptDelivery `json:"delivery"`
MessageID string `json:"message_id"`
IdempotencyKey string `json:"idempotency_key"`
Replayed bool `json:"replayed"`
TurnID string `json:"turn_id,omitempty"`
QueueEntryID string `json:"queue_entry_id,omitempty"`
QueuePosition int `json:"queue_position,omitempty"`
QueueGeneration int64 `json:"queue_generation,omitempty"`
EstimatedSendAt *time.Time `json:"estimated_send_at,omitempty"`
PreviousTurnID string `json:"previous_turn_id,omitempty"`
CanceledQueuedEntries int `json:"canceled_queued_entries,omitempty"`
}
SessionPromptResult reports an immediate or deferred prompt admission.
type SessionRuntimeClearParams ¶
type SessionRuntimeClearParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
ExpectedRevision *int64 `json:"expected_revision"`
}
SessionRuntimeClearParams clears the durable runtime selection.
type SessionRuntimeSelectionPayload ¶
type SessionRuntimeSelectionPayload struct {
Provider string `json:"provider"`
Model string `json:"model,omitempty"`
ReasoningEffort modelcatalog.ReasoningEffort `json:"reasoning_effort,omitempty"`
Speed speedpkg.Speed `json:"speed,omitempty"`
}
SessionRuntimeSelectionPayload is the extension-owned wire shape for a durable runtime choice.
type SessionRuntimeSetParams ¶
type SessionRuntimeSetParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
Runtime SessionRuntimeSelectionPayload `json:"runtime"`
ExpectedRevision *int64 `json:"expected_revision"`
}
SessionRuntimeSetParams durably selects the default runtime for future prompts.
type SessionSoulRefreshParams ¶
type SessionSoulRefreshParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
apicontract.SessionSoulRefreshRequest
}
SessionSoulRefreshParams refreshes one session's Soul snapshot through managed CAS.
type SessionStatus ¶
type SessionStatus struct {
SessionID string `json:"session_id"`
Name string `json:"name,omitempty"`
Agent string `json:"agent"`
Runtime apicontract.SessionRuntimePayload `json:"runtime"`
WorkspaceID string `json:"workspace_id,omitempty"`
Workspace string `json:"workspace,omitempty"`
State session.State `json:"state"`
ArchivedAt *time.Time `json:"archived_at"`
StopReason store.StopReason `json:"stop_reason,omitempty"`
StopDetail string `json:"stop_detail,omitempty"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
SessionStatus is the detailed host-visible session status shape.
type SessionStatusGetParams ¶
type SessionStatusGetParams = SessionTargetParams
SessionStatusGetParams identifies one authored-context session status row.
type SessionSummary ¶
type SessionSummary struct {
ID string `json:"id"`
Name string `json:"name,omitempty"`
Agent string `json:"agent"`
Runtime apicontract.SessionRuntimePayload `json:"runtime"`
Workspace string `json:"workspace,omitempty"`
State session.State `json:"state"`
ArchivedAt *time.Time `json:"archived_at"`
CreatedAt time.Time `json:"created_at"`
}
SessionSummary is the lightweight host-visible session listing shape.
type SessionTargetParams ¶
type SessionTargetParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
}
SessionTargetParams identifies an existing session.
type SessionsCreateParams ¶
type SessionsCreateParams struct {
Agent string `json:"agent"`
Workspace string `json:"workspace,omitempty"`
NetworkParticipation *participation.Request `json:"network_participation,omitempty"`
}
SessionsCreateParams starts a new session.
type SessionsListParams ¶
type SessionsListParams struct {
Workspace string `json:"workspace,omitempty"`
Archive string `json:"archive,omitempty"`
}
SessionsListParams filters visible sessions.
type SessionsPromptParams ¶
type SessionsPromptParams struct {
WorkspaceID string `json:"workspace_id"`
SessionID string `json:"session_id"`
Message string `json:"message"`
MessageID string `json:"message_id"`
IdempotencyKey string `json:"idempotency_key"`
Mode apicontract.PromptMode `json:"mode,omitempty"`
ExpectedTurnID string `json:"expected_turn_id,omitempty"`
Runtime *apicontract.PromptRuntimeSelectionPayload `json:"runtime,omitempty"`
}
SessionsPromptParams submits one prompt to an existing session.
type SkillSummary ¶
type SkillSummary struct {
Name string `json:"name"`
Description string `json:"description,omitempty"`
Source string `json:"source"`
Enabled bool `json:"enabled"`
Activation apicontract.SkillActivationPayload `json:"activation"`
}
SkillSummary is the lightweight host-visible skill listing shape.
type SkillsListParams ¶
type SkillsListParams struct {
Workspace string `json:"workspace,omitempty"`
ForAgent string `json:"for_agent,omitempty"`
}
SkillsListParams filters skills by workspace scope.
type TaskCancelParams ¶
type TaskCancelParams struct {
ID string `json:"id"`
apicontract.CancelTaskRequest
}
TaskCancelParams requests cancellation for one task.
type TaskCreateParams ¶
type TaskCreateParams = apicontract.CreateTaskRequest
TaskCreateParams creates one task.
type TaskDashboardParams ¶
type TaskDashboardParams = apicontract.TaskDashboardQuery
TaskDashboardParams filters observer-backed task dashboard reads.
type TaskInboxParams ¶
type TaskInboxParams = apicontract.TaskInboxQuery
TaskInboxParams filters observer-backed task inbox reads.
type TaskRunAttachSessionParams ¶
type TaskRunAttachSessionParams struct {
ID string `json:"id"`
apicontract.AttachTaskRunSessionRequest
}
TaskRunAttachSessionParams attaches one existing session to a run.
type TaskRunCancelParams ¶
type TaskRunCancelParams struct {
ID string `json:"id"`
apicontract.CancelTaskRunRequest
}
TaskRunCancelParams cancels one run.
type TaskRunCompleteParams ¶
type TaskRunCompleteParams struct {
ID string `json:"id"`
apicontract.CompleteTaskRunRequest
}
TaskRunCompleteParams completes one run.
type TaskRunEnqueueParams ¶
type TaskRunEnqueueParams struct {
TaskID string `json:"task_id"`
apicontract.EnqueueTaskRunRequest
}
TaskRunEnqueueParams enqueues one run for a task.
type TaskRunFailParams ¶
type TaskRunFailParams struct {
ID string `json:"id"`
apicontract.FailTaskRunRequest
}
TaskRunFailParams fails one run.
type TaskRunGetParams ¶
type TaskRunGetParams struct {
ID string `json:"id"`
}
TaskRunGetParams identifies one task run by id for richer detail reads.
type TaskRunStartParams ¶
type TaskRunStartParams struct {
ID string `json:"id"`
apicontract.StartTaskRunRequest
}
TaskRunStartParams starts one claimed run.
type TaskRunsParams ¶
type TaskRunsParams struct {
ID string `json:"id"`
apicontract.TaskRunListQuery
}
TaskRunsParams filters runs for one task.
type TaskTargetParams ¶
type TaskTargetParams struct {
ID string `json:"id"`
}
TaskTargetParams identifies one task by id.
type TaskTimelineParams ¶
type TaskTimelineParams struct {
ID string `json:"id"`
apicontract.TaskTimelineQuery
}
TaskTimelineParams queries one task timeline by task id.
type TaskTreeParams ¶
type TaskTreeParams = TaskTargetParams
TaskTreeParams queries one task tree by task id.
type TaskUpdateParams ¶
type TaskUpdateParams struct {
ID string `json:"id"`
apicontract.UpdateTaskRequest
}
TaskUpdateParams patches one task.
type ValidationIssue ¶
type ValidationIssue = apicontract.ValidationIssue
ValidationIssue is one positioned extension-package validation diagnostic.
Source Files
¶
- authoring.go
- capabilities.go
- command.go
- describe.go
- host_api.go
- host_api_automation_params.go
- host_api_clarify.go
- host_api_method_aliases_gen.go
- host_api_method_registry_automation_gen.go
- host_api_method_registry_bridges_gen.go
- host_api_method_registry_clarify_gen.go
- host_api_method_registry_core_gen.go
- host_api_method_registry_gen.go
- host_api_method_registry_network_gen.go
- host_api_method_registry_resources_gen.go
- host_api_method_registry_tasks_gen.go
- host_api_network.go
- host_api_resource.go
- host_api_results.go
- host_api_task_resource_params.go
- model_source.go
- permissions.go
- sdk.go
- sdk_bridge_control.go
- sdk_contract_builder.go
- sdk_enums.go
- sdk_named_types.go
- sdk_network_hooks.go
- sdk_window_manager_hooks.go
- skills.go
- type_names.go