protocol

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CapabilityProvideMemoryBackend is the provide surface for daemon-managed memory backends.
	CapabilityProvideMemoryBackend = "memory.backend"
	// CapabilityProvideBridgeAdapter is the provide surface for bridge-capable adapter extensions.
	CapabilityProvideBridgeAdapter = "bridge.adapter"
	// 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"
)

Variables

This section is empty.

Functions

func CapabilityServiceMethods

func CapabilityServiceMethods(provides []string) []string

CapabilityServiceMethods returns the negotiated AGH -> extension service methods enabled by the declared provide surfaces.

Types

type ExtensionServiceMethod

type ExtensionServiceMethod string

ExtensionServiceMethod identifies one AGH -> extension capability service request.

const (
	ExtensionServiceMethodMemoryStore    ExtensionServiceMethod = "memory/store"
	ExtensionServiceMethodMemoryRecall   ExtensionServiceMethod = "memory/recall"
	ExtensionServiceMethodMemoryForget   ExtensionServiceMethod = "memory/forget"
	ExtensionServiceMethodBridgesDeliver ExtensionServiceMethod = "bridges/deliver"
	ExtensionServiceMethodBridgeTargets  ExtensionServiceMethod = "bridges/targets/snapshot"
	ExtensionServiceMethodProvideTools   ExtensionServiceMethod = "provide_tools"
	ExtensionServiceMethodToolsCall      ExtensionServiceMethod = "tools/call"
	ExtensionServiceMethodModelsList     ExtensionServiceMethod = "models/list"
)

type HostAPIMethod

type HostAPIMethod string

HostAPIMethod identifies one extension -> AGH Host API request.

const (
	HostAPIMethodSessionsList                HostAPIMethod = "sessions/list"
	HostAPIMethodSessionsCreate              HostAPIMethod = "sessions/create"
	HostAPIMethodSessionsPrompt              HostAPIMethod = "sessions/prompt"
	HostAPIMethodSessionsStop                HostAPIMethod = "sessions/stop"
	HostAPIMethodSessionsStatus              HostAPIMethod = "sessions/status"
	HostAPIMethodSessionsEvents              HostAPIMethod = "sessions/events"
	HostAPIMethodSessionsSoulRefresh         HostAPIMethod = "sessions/soul/refresh"
	HostAPIMethodSessionsHealthGet           HostAPIMethod = "sessions/health/get"
	HostAPIMethodSessionsStatusGet           HostAPIMethod = "sessions/status/get"
	HostAPIMethodSandboxList                 HostAPIMethod = "sandbox/list"
	HostAPIMethodSandboxInfo                 HostAPIMethod = "sandbox/info"
	HostAPIMethodSandboxExec                 HostAPIMethod = "sandbox/exec"
	HostAPIMethodMemoryRecall                HostAPIMethod = "memory/recall"
	HostAPIMethodMemoryStore                 HostAPIMethod = "memory/store"
	HostAPIMethodMemoryForget                HostAPIMethod = "memory/forget"
	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"
	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"
	HostAPIMethodTasksRunsEnqueue            HostAPIMethod = "tasks/runs/enqueue"
	HostAPIMethodTasksRunsClaim              HostAPIMethod = "tasks/runs/claim"
	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"
	HostAPIMethodNetworkStatus               HostAPIMethod = "network/status"
	HostAPIMethodNetworkChannels             HostAPIMethod = "network/channels"
	HostAPIMethodNetworkPeers                HostAPIMethod = "network/peers"
	HostAPIMethodNetworkThreads              HostAPIMethod = "network/threads"
	HostAPIMethodNetworkThreadGet            HostAPIMethod = "network/thread/get"
	HostAPIMethodNetworkThreadMessages       HostAPIMethod = "network/thread/messages"
	HostAPIMethodNetworkDirects              HostAPIMethod = "network/directs"
	HostAPIMethodNetworkDirectResolve        HostAPIMethod = "network/direct/resolve"
	HostAPIMethodNetworkDirectMessages       HostAPIMethod = "network/direct/messages"
	HostAPIMethodNetworkWorkGet              HostAPIMethod = "network/work/get"
	HostAPIMethodNetworkSend                 HostAPIMethod = "network/send"
	HostAPIMethodResourcesList               HostAPIMethod = "resources/list"
	HostAPIMethodResourcesGet                HostAPIMethod = "resources/get"
	HostAPIMethodResourcesSnapshot           HostAPIMethod = "resources/snapshot"
	HostAPIMethodBridgesInstancesList        HostAPIMethod = "bridges/instances/list"
	HostAPIMethodBridgesMessagesIngest       HostAPIMethod = "bridges/messages/ingest"
	HostAPIMethodBridgesInstancesGet         HostAPIMethod = "bridges/instances/get"
	HostAPIMethodBridgesInstancesReportState HostAPIMethod = "bridges/instances/report_state"
)

func AllHostAPIMethods

func AllHostAPIMethods() []HostAPIMethod

AllHostAPIMethods returns the canonical Host API method registry in wire order.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL