ollie/toolsrv
Levi Neely 427cadeb29 toolsrv: remove JSON-RPC, add compat stubs for 9P transition
BREAKING CHANGE: Removes all JSON-RPC toolsrv code.

Deleted files:
- server.go, rpcserver.go, rpcwire.go (JSON-RPC server)
- conn.go, dial.go (JSON-RPC client)
- exec.go, stream.go, detach.go (old execution tied to Server)
- spawn.go, transport.go, processkeeper.go, remote.go (spawning)
- shell_validate.go (tied to old Server)

New/modified:
- compat.go: Stub types to keep agent/session/fs packages compiling
  - Conn, Process, ProcessKeeper with TODO implementations
  - Spawn, SpawnRemote stubs
  - HostInfo, RemoteConfig, Option types
  - All marked TODO for 9P implementation

- cmd/toolsrv/main.go: Updated to use 9P model
  - Requires TOOLSRV_SECRET env var
  - Builds fsedsl tree
  - serve9P placeholder for 9P protocol handling

- exec9p.go: Added ToolResult types, limitedWriter, plan9Namespace

The codebase compiles but toolsrv is non-functional until:
1. serve9P implements 9P protocol
2. Conn stubs are replaced with lib9p client
3. Spawn/ProcessKeeper spawn 9P server
2026-08-10 16:48:40 +02:00
..
auth9p.go toolsrv: add 9P server implementation 2026-08-10 15:43:20 +02:00
compat.go toolsrv: remove JSON-RPC, add compat stubs for 9P transition 2026-08-10 16:48:40 +02:00
exec9p.go toolsrv: remove JSON-RPC, add compat stubs for 9P transition 2026-08-10 16:48:40 +02:00
fs9p.go toolsrv: add 9P-based tool server foundation 2026-08-10 14:53:13 +02:00
fs9p_test.go toolsrv: add 9P-based tool server foundation 2026-08-10 14:53:13 +02:00
meta.go feat: add resetsCounter tool property to reset step budget on active progress 2026-08-07 17:13:14 +02:00
registry.go all: merge toolsrv files, fix context hierarchy, remove dead params 2026-08-08 16:13:55 +02:00
server9p.go toolsrv: use fsedsl for namespace spec 2026-08-10 15:52:34 +02:00
server9p_test.go toolsrv: use fsedsl for namespace spec 2026-08-10 15:52:34 +02:00
spec9p.go toolsrv: use fsedsl for namespace spec 2026-08-10 15:52:34 +02:00