Documentation
¶
Overview ¶
Package claudesdk declares the Claude Code Harness.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Declaration = harnessconfig.Declaration{ Kind: "claude_sdk", Label: "Claude Code", Configuration: harnessconfig.Configuration{ ValidateNativeConfig: validateNativeConfig, Providers: []harnessconfig.Provider{{Protocol: "anthropic"}}, MaxOutputTokens: true, }, Capabilities: proto.AgentKindCapabilities{ SubagentObservations: proto.CapabilitySupported, Streaming: proto.CapabilitySupported, Usage: proto.CapabilitySupported, Resume: proto.CapabilitySupported, RetainedNativeHistory: proto.CapabilitySupported, NativeSessionRecovery: proto.CapabilitySupported, MessageItems: proto.CapabilitySupported, ToolObservations: proto.CapabilitySupported, EnvironmentNone: proto.CapabilitySupported, LocalEnvironment: proto.CapabilitySupported, Preparation: proto.CapabilitySupported, WorkspaceReadPreparation: proto.CapabilitySupported, WorkspaceOutputExport: proto.CapabilitySupported, ExecutionControls: proto.CapabilitySupported, StructuredOutput: proto.CapabilitySupported, ToolSearch: proto.CapabilitySupported, MessageImages: proto.CapabilitySupported, FunctionResultImages: proto.CapabilitySupported, SubagentControl: proto.CapabilitySupported, DurableInputReceipts: proto.CapabilitySupported, DurableTurns: proto.CapabilitySupported, FunctionTools: proto.CapabilitySupported, MCPHTTPTools: proto.CapabilitySupported, MCPHTTPRequired: proto.CapabilitySupported, MCPHTTPBearerAuth: proto.CapabilitySupported, }, Execution: harnessconfig.ExecutionOptions{ WebSearchModes: []string{"disabled", "live"}, ReasoningEfforts: []string{"low", "medium", "high", "xhigh", "max"}, ProgrammaticToolCalling: []bool{false}, TextVerbosities: []string{"medium"}, }, Placements: []string{"none", "openai_hosted", "self_hosted"}, MCPOrigins: []string{"service", "environment"}, WhitespaceOnlyText: proto.CapabilitySupported, ValidateConfiguration: validateConfiguration, ValidateTools: validateTools, ValidateMessageInput: validateMessageInput, ValidateFunctionResult: validateFunctionResult, }
Declaration is the only authored description of the Claude Code Harness. The Runtime may narrow Capabilities to the installed bundle, never widen them.
Functions ¶
func ExpandsEnvironment ¶ added in v0.0.12
func ExpandsEnvironment(server proto.MCPHTTPServer) bool
ExpandsEnvironment reports a URL or header value the native client would expand from its own environment, which holds Core-held credentials.
Types ¶
This section is empty.