ollie/toolsrv
Ollie Agent b6694d409a agent/toolsrv: replace classifier system with ToolMeta map
The entire classifier indirection (interfaces, type assertions, RPC
methods for classification, closure wrappers in BuildRuntime) is replaced
by a simple map[string]ToolInfo on Runtime.

The .meta file is read once into ToolInfo. The loop reads fields directly:
  rt.ToolMeta[name].ReadOnly       (was: rt.CanParallelize(name))
  rt.ToolMeta[name].Tier           (was: rt.MemoryTier(name, args))
  rt.ToolMeta[name].OutputFormat   (was: rt.OutputFormat(name))
  rt.ToolMeta[name].ResetsCounter  (was: rt.ResetsCounter(name))

Removed: ParallelClassifier, MemoryTierClassifier, OutputFormatClassifier
interfaces, toolClassifier type, and all closure-wrapping in BuildRuntime.

The RPC methods on Server/Conn stay (used by ollie-remote) but the agent
no longer routes through them.
2026-08-08 14:33:23 +02:00
..
accessors.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
conn.go toolsrv/agent: rename ClassifyTool→CanParallelize, ClassifyTier→MemoryTier 2026-08-08 14:29:41 +02:00
dial.go toolsrv: unified socket-based execution 2026-07-31 14:10:47 +02:00
discover.go Good idea fairy cleanup: ~960 lines removed 2026-08-05 21:51:55 +02:00
meta.go feat: add resetsCounter tool property to reset step budget on active progress 2026-08-07 17:13:14 +02:00
processkeeper.go session: pause/resume persistence, restore paused sessions without spawning processes 2026-08-04 16:05:22 +02:00
registry.go toolsrv: fix Registry.discover() to use .meta files 2026-07-30 22:50:49 +02:00
remote.go toolsrv: unified socket-based execution 2026-07-31 14:10:47 +02:00
rpc.go multiplex toolsrv, wip zero-tool server 2026-08-02 19:18:39 +02:00
rpc_integration_test.go toolsrv/agent: rename ClassifyTool→CanParallelize, ClassifyTier→MemoryTier 2026-08-08 14:29:41 +02:00
server.go toolsrv: fire OnToolsChanged after LoadTool 2026-08-08 14:02:22 +02:00
shell.go clean up OLLIE_* env vars: replace with XDG conventions 2026-08-07 07:11:53 +02:00
socket_test.go Add formatted tool output fences 2026-08-02 22:57:17 +02:00
spawn.go toolsrv: unified socket-based execution 2026-07-31 14:10:47 +02:00
stream.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
tier.go toolsrv/agent: rename ClassifyTool→CanParallelize, ClassifyTier→MemoryTier 2026-08-08 14:29:41 +02:00
tools.go agent/toolsrv: replace classifier system with ToolMeta map 2026-08-08 14:33:23 +02:00
tools_test.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
transport.go clean up OLLIE_* env vars: replace with XDG conventions 2026-08-07 07:11:53 +02:00