Split toolsrv/registry.go: - cmd/toolsrv/registry.go: Registry type with session-scoped tool state (Load, Unload, Loaded, Lookup, Revision methods) - toolsrv/registry.go: shared types only (ToolInfo, ToolsPath, DiscoverTools) The toolsrv/ package is now a pure client SDK: - Dial, Conn for 9P connection - ToolInfo, ToolResult, HostInfo types - DiscoverTools for listing available tools Server-only code lives in cmd/toolsrv/: - Registry for session-scoped tool state - 9P handlers and execution logic - Sandbox integration |
||
|---|---|---|
| .. | ||
| internal/sandbox | ||
| test | ||
| .gitignore | ||
| auth9p.go | ||
| exec9p.go | ||
| fs9p.go | ||
| fs9p_test.go | ||
| integration_test.go | ||
| main.go | ||
| registry.go | ||
| sandbox-remote.yaml | ||
| server.go | ||
| server9p.go | ||
| server9p_test.go | ||
| spec9p.go | ||