Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CapabilityToolProvider is the provide surface for executable extension-host tools. CapabilityToolProvider = "tool.provider" // CapabilityProvideModelSource is the provide surface for model catalog source rows. CapabilityProvideModelSource = "model.source" // CapabilityProvideWatchSource is the provide surface for loop watch-source polling. CapabilityProvideWatchSource = "loop.watch_source" CapabilityProvideHeartbeatSource = "heartbeat.source" // CapabilityProvideConnectivityProvider is the public provide surface for daemon reachability providers. CapabilityProvideConnectivityProvider = "connectivity.provider" // CapabilityProvideForgeProvider is the provide surface for remote code-forge operations. CapabilityProvideForgeProvider = "forge.provider" // CapabilityProvideViewProvider is the provide surface for programmable command-palette views. CapabilityProvideViewProvider = "view.provider" )
Variables ¶
This section is empty.
Functions ¶
func CapabilityServiceMethods ¶
CapabilityServiceMethods returns the negotiated Compozy -> extension service methods enabled by the declared provide surfaces.
func ProvideCapabilities ¶
func ProvideCapabilities() []string
ProvideCapabilities returns every daemon-recognized provide capability in stable order.
func RequiredServiceMethods ¶
RequiredServiceMethods returns the service methods required by one provide capability.
Types ¶
type ExtensionServiceMethod ¶
type ExtensionServiceMethod string
ExtensionServiceMethod identifies one Compozy -> extension capability service request.
const ( ExtensionServiceMethodProvideTools ExtensionServiceMethod = "provide_tools" ExtensionServiceMethodToolsCall ExtensionServiceMethod = "tools/call" ExtensionServiceMethodModelsList ExtensionServiceMethod = "models/list" ExtensionServiceMethodWatchPoll ExtensionServiceMethod = "watch/poll" ExtensionServiceMethodHeartbeatSourcePoll ExtensionServiceMethod = "heartbeat/source_poll" ExtensionServiceMethodConnectivityEstablish ExtensionServiceMethod = "connectivity/establish" ExtensionServiceMethodConnectivityStatus ExtensionServiceMethod = "connectivity/status" ExtensionServiceMethodConnectivityTeardown ExtensionServiceMethod = "connectivity/teardown" ExtensionServiceMethodForgeCapabilities ExtensionServiceMethod = "forge/capabilities" ExtensionServiceMethodForgeStatus ExtensionServiceMethod = "forge/status" ExtensionServiceMethodForgePRSearch ExtensionServiceMethod = "forge/pr_search" ExtensionServiceMethodForgePRRead ExtensionServiceMethod = "forge/pr_read" ExtensionServiceMethodForgePRCreate ExtensionServiceMethod = "forge/pr_create" ExtensionServiceMethodViewOpen ExtensionServiceMethod = "view/open" ExtensionServiceMethodViewEvent ExtensionServiceMethod = "view/event" ExtensionServiceMethodViewClose ExtensionServiceMethod = "view/close" )
type HeartbeatSourceKind ¶
type HeartbeatSourceKind struct {
Kind string `json:"kind"`
Title string `json:"title"`
Description string `json:"description,omitempty"`
ParamsSchema json.RawMessage `json:"params_schema,omitempty"`
}
type HostAPIMethod ¶
type HostAPIMethod string
HostAPIMethod identifies one extension -> Compozy Host API request.
const ( HostAPIMethodSessionsList HostAPIMethod = "sessions/list" HostAPIMethodSessionsCreate HostAPIMethod = "sessions/create" HostAPIMethodSessionsPrompt HostAPIMethod = "sessions/prompt" HostAPIMethodSessionsRuntimeSet HostAPIMethod = "sessions/runtime/set" HostAPIMethodSessionsRuntimeClear HostAPIMethod = "sessions/runtime/clear" HostAPIMethodSessionsInputsList HostAPIMethod = "sessions/inputs/list" HostAPIMethodSessionsInputsReplace HostAPIMethod = "sessions/inputs/replace" HostAPIMethodSessionsInputsCancel HostAPIMethod = "sessions/inputs/cancel" HostAPIMethodSessionsInputsPromote HostAPIMethod = "sessions/inputs/promote" HostAPIMethodSessionsStop HostAPIMethod = "sessions/stop" HostAPIMethodSessionsArchive HostAPIMethod = "sessions/archive" HostAPIMethodSessionsUnarchive HostAPIMethod = "sessions/unarchive" HostAPIMethodSessionsStatus HostAPIMethod = "sessions/status" HostAPIMethodSessionsEvents HostAPIMethod = "sessions/events" HostAPIMethodSessionsSoulRefresh HostAPIMethod = "sessions/soul/refresh" HostAPIMethodSessionsHealthGet HostAPIMethod = "sessions/health/get" HostAPIMethodSessionsStatusGet HostAPIMethod = "sessions/status/get" HostAPIMethodObserveHealth HostAPIMethod = "observe/health" HostAPIMethodListLogs HostAPIMethod = "logs/list" HostAPIMethodSkillsList HostAPIMethod = "skills/list" HostAPIMethodModelsList HostAPIMethod = "models/list" HostAPIMethodModelsRefresh HostAPIMethod = "models/refresh" HostAPIMethodModelsStatus HostAPIMethod = "models/status" HostAPIMethodAgentsSoulGet HostAPIMethod = "agents/soul/get" HostAPIMethodAgentsSoulValidate HostAPIMethod = "agents/soul/validate" HostAPIMethodAgentsSoulPut HostAPIMethod = "agents/soul/put" HostAPIMethodAgentsSoulDelete HostAPIMethod = "agents/soul/delete" HostAPIMethodAgentsSoulHistory HostAPIMethod = "agents/soul/history" HostAPIMethodAgentsSoulRollback HostAPIMethod = "agents/soul/rollback" HostAPIMethodAgentsHeartbeatGet HostAPIMethod = "agents/heartbeat/get" HostAPIMethodAgentsHeartbeatValidate HostAPIMethod = "agents/heartbeat/validate" HostAPIMethodAgentsHeartbeatPut HostAPIMethod = "agents/heartbeat/put" HostAPIMethodAgentsHeartbeatDelete HostAPIMethod = "agents/heartbeat/delete" HostAPIMethodAgentsHeartbeatHistory HostAPIMethod = "agents/heartbeat/history" HostAPIMethodAgentsHeartbeatRollback HostAPIMethod = "agents/heartbeat/rollback" HostAPIMethodAgentsHeartbeatStatus HostAPIMethod = "agents/heartbeat/status" HostAPIMethodAgentsHeartbeatWake HostAPIMethod = "agents/heartbeat/wake" HostAPIMethodViewPatch HostAPIMethod = "view/patch" HostAPIMethodAutomationJobs HostAPIMethod = "automation/jobs" HostAPIMethodAutomationJobsGet HostAPIMethod = "automation/jobs/get" HostAPIMethodAutomationJobsCreate HostAPIMethod = "automation/jobs/create" HostAPIMethodAutomationJobsUpdate HostAPIMethod = "automation/jobs/update" HostAPIMethodAutomationJobsDelete HostAPIMethod = "automation/jobs/delete" HostAPIMethodAutomationJobsTrigger HostAPIMethod = "automation/jobs/trigger" HostAPIMethodAutomationJobsRuns HostAPIMethod = "automation/jobs/runs" HostAPIMethodAutomationTriggers HostAPIMethod = "automation/triggers" HostAPIMethodAutomationTriggersGet HostAPIMethod = "automation/triggers/get" HostAPIMethodAutomationTriggersCreate HostAPIMethod = "automation/triggers/create" HostAPIMethodAutomationTriggersUpdate HostAPIMethod = "automation/triggers/update" HostAPIMethodAutomationTriggersDelete HostAPIMethod = "automation/triggers/delete" HostAPIMethodAutomationTriggersRuns HostAPIMethod = "automation/triggers/runs" HostAPIMethodAutomationTriggersFire HostAPIMethod = "automation/triggers/fire" HostAPIMethodAutomationRuns HostAPIMethod = "automation/runs" HostAPIMethodTasks HostAPIMethod = "tasks" HostAPIMethodTasksGet HostAPIMethod = "tasks/get" HostAPIMethodTasksTimeline HostAPIMethod = "tasks/timeline" HostAPIMethodTasksTree HostAPIMethod = "tasks/tree" HostAPIMethodTasksDashboard HostAPIMethod = "tasks/dashboard" HostAPIMethodTasksInbox HostAPIMethod = "tasks/inbox" HostAPIMethodTasksCreate HostAPIMethod = "tasks/create" HostAPIMethodTasksUpdate HostAPIMethod = "tasks/update" HostAPIMethodTasksCancel HostAPIMethod = "tasks/cancel" HostAPIMethodTasksRuns HostAPIMethod = "tasks/runs" HostAPIMethodTasksRunsGet HostAPIMethod = "tasks/runs/get" HostAPIMethodTasksRunsResult HostAPIMethod = "tasks/runs/result" HostAPIMethodTasksRunsEnqueue HostAPIMethod = "tasks/runs/enqueue" HostAPIMethodTasksRunsStart HostAPIMethod = "tasks/runs/start" HostAPIMethodTasksRunsAttachSession HostAPIMethod = "tasks/runs/attach_session" HostAPIMethodTasksRunsComplete HostAPIMethod = "tasks/runs/complete" HostAPIMethodTasksRunsFail HostAPIMethod = "tasks/runs/fail" HostAPIMethodTasksRunsCancel HostAPIMethod = "tasks/runs/cancel" HostAPIMethodResourcesList HostAPIMethod = "resources/list" HostAPIMethodResourcesGet HostAPIMethod = "resources/get" HostAPIMethodResourcesSnapshot HostAPIMethod = "resources/snapshot" HostAPIMethodClarifyAsk HostAPIMethod = "clarify/ask" )
func AllHostAPIMethods ¶
func AllHostAPIMethods() []HostAPIMethod
AllHostAPIMethods returns the canonical Host API method registry in wire order.
Click to show internal directories.
Click to hide internal directories.