Documentation
¶
Index ¶
- type Option
- func WithConsoleAIProxy(upstreamURL string, token func() string) Option
- func WithConsoleExtProxy(upstreamURL string, token func() string, agentRunID string) Option
- func WithOpenAIProxy(chatCompletionsURL, responsesURL string, token func() string) Option
- func WithRunEvents(consoleURL string, token func() string, agentRunID string) Option
- func WithTool(tool tool.Tool) Option
- func WithTools() Option
- func WithVersion(version string) Option
- func WithWorkbenchMCPProxy(upstreamURL string, token func() string) Option
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option is a function that configures an MCP server instance
func WithConsoleAIProxy ¶ added in v0.6.72
WithConsoleAIProxy registers a local reverse proxy to the Console AI proxy that authenticates with the deploy token, so the agent never holds it.
func WithConsoleExtProxy ¶ added in v0.6.72
WithConsoleExtProxy registers a local reverse proxy to the Console ext API that authenticates with the deploy token, so the harness container never holds it. Only the harness's own operations on this agent run are let through.
func WithOpenAIProxy ¶ added in v0.6.46
WithOpenAIProxy registers local OpenAI chat completion and responses endpoints that convert streaming client requests into non-streaming upstream calls, authenticating with the deploy token instead of the caller's.
func WithRunEvents ¶ added in v0.6.73
WithRunEvents subscribes to the cluster's deploy agent notifications with the deploy token and serves this agent run's ones to the harness as a local long-poll.
func WithWorkbenchMCPProxy ¶ added in v0.6.67
WithWorkbenchMCPProxy registers a local reverse proxy that authenticates to the originating workbench with the agent run's short-lived user token.