internal/

directory
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT

Directories

Path Synopsis
Package app wires the ports to the adapters: the use cases behind each CLI command.
Package app wires the ports to the adapters: the use cases behind each CLI command.
Package audit is the driven adapter for evidence: one JSON object per governed action, appended to a JSONL file.
Package audit is the driven adapter for evidence: one JSON object per governed action, appended to a JSONL file.
Package config is the driven adapter for the JSON config file — the only state toolhost keeps.
Package config is the driven adapter for the JSON config file — the only state toolhost keeps.
Package core holds the domain model and the ports that adapters implement.
Package core holds the domain model and the ports that adapters implement.
Package frontdoor is the driving adapter: the HTTP+MCP surface agents connect to.
Package frontdoor is the driving adapter: the HTTP+MCP surface agents connect to.
Package namespace owns the qualified-tool-name grammar: backend + "__" + tool.
Package namespace owns the qualified-tool-name grammar: backend + "__" + tool.
Package oauth is the driven adapter for upstream OAuth: it builds the go-sdk OAuthHandlers (client-credentials via extauth, auth-code+PKCE via auth.AuthorizationCodeHandler) and owns the on-disk token store that lets `serve` run unattended after `toolhost auth` granted once.
Package oauth is the driven adapter for upstream OAuth: it builds the go-sdk OAuthHandlers (client-credentials via extauth, auth-code+PKCE via auth.AuthorizationCodeHandler) and owns the on-disk token store that lets `serve` run unattended after `toolhost auth` granted once.
Package upstream is the driven adapter for backend MCP servers: it turns a config.Backend into a live core.Upstream over the go-sdk client.
Package upstream is the driven adapter for backend MCP servers: it turns a config.Backend into a live core.Upstream over the go-sdk client.

Jump to

Keyboard shortcuts

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