Documentation
¶
Index ¶
- Constants
- func FleetAgentDockContextOutputSchema() map[string]any
- func InputSchema(name string) (map[string]any, bool)
- func IsCanonicalTool(name string) bool
- func LocalAgentDockContextOutputSchema() map[string]any
- func NodeWorkspaceContextInputSchema() map[string]any
- func OutputSchema(name string) (map[string]any, bool)
- func ToolNames() []string
- func WorkspaceContextOutputSchema() map[string]any
- type Annotations
- type RecallWriteBehaviorCase
- type RecallWriteOutcome
Constants ¶
const ( ToolAgentDockContext = "agentdock_context" ToolWorkspaceContext = "workspace_context" ToolRecallSearch = "recall_search" ToolRecallRead = "recall_read" ToolRecallWrite = "recall_write" ToolRecallMaintain = "recall_maintain" ToolPrivateNoteManage = "private_note_manage" ToolWorkflowTemplateManage = "workflow_template_manage" )
Variables ¶
This section is empty.
Functions ¶
func InputSchema ¶
InputSchema returns a fresh canonical model-facing input schema.
func IsCanonicalTool ¶
func NodeWorkspaceContextInputSchema ¶ added in v0.9.0
NodeWorkspaceContextInputSchema is the canonical Nexus-facing input profile. Nexus adds only node selection; workdir keeps the same request-local semantics as direct AgentDock and is forwarded unchanged to the selected node.
func OutputSchema ¶
OutputSchema returns a fresh canonical output schema for tools whose result shape is shared by direct AgentDock and central NexusDock entrypoints.
func ToolNames ¶
func ToolNames() []string
ToolNames returns the canonical model-facing tools shared by AgentDock and NexusDock.
func WorkspaceContextOutputSchema ¶ added in v0.9.0
WorkspaceContextOutputSchema is shared unchanged by direct AgentDock and the Nexus node-scoped route. Nexus selects the node in the input and forwards the selected node's workspace result without inventing a second result shape.
Types ¶
type Annotations ¶
type Annotations struct {
ReadOnlyHint bool
DestructiveHint *bool
IdempotentHint *bool
OpenWorldHint *bool
}
func AnnotationContract ¶
func AnnotationContract(name string) (Annotations, bool)
type RecallWriteBehaviorCase ¶
type RecallWriteBehaviorCase struct {
Name string
Target string
Action string
Path string
Confirmed bool
DryRun bool
Expected RecallWriteOutcome
Existing bool
OverwriteSemantic bool
}
func RecallWriteBehaviorCases ¶
func RecallWriteBehaviorCases() []RecallWriteBehaviorCase
RecallWriteBehaviorCases defines cross-entrypoint observable semantics. DryRun is an internal safety switch and is intentionally not part of the public MCP schema.
type RecallWriteOutcome ¶
type RecallWriteOutcome string
const ( RecallWritePreview RecallWriteOutcome = "preview" RecallWriteMutation RecallWriteOutcome = "mutation" RecallWriteError RecallWriteOutcome = "error" RecallWriteReadOnly RecallWriteOutcome = "read_only" )