ollie/agent
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
..
agent.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
agent_config.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
agent_test.go Simplify preamble construction system 2026-08-08 12:27:53 +02:00
build_runtime.go agent/toolsrv: replace classifier system with ToolMeta map 2026-08-08 14:33:23 +02:00
build_runtime_test.go Simplify preamble construction system 2026-08-08 12:27:53 +02:00
commands.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
compaction.go agent: replace hardcoded model maps with models.yaml config 2026-08-07 07:24:43 +02:00
config_paths.go refactor: consolidate event formatting, remove log validator 2026-08-07 10:11:48 +02:00
cost.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
fifo.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
fifo_test.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
history.go simplify prompt loading, some renames 2026-08-08 13:29:01 +02:00
loop.go agent/toolsrv: replace classifier system with ToolMeta map 2026-08-08 14:33:23 +02:00
models.go agent: replace hardcoded model maps with models.yaml config 2026-08-07 07:24:43 +02:00
new.go simplify prompt loading, some renames 2026-08-08 13:29:01 +02:00
prompt_resolver.go simplify prompt loading, some renames 2026-08-08 13:29:01 +02:00
runtime.go agent/toolsrv: replace classifier system with ToolMeta map 2026-08-08 14:33:23 +02:00
state.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
turn.go agent/toolsrv: replace classifier system with ToolMeta map 2026-08-08 14:33:23 +02:00
usage_log.go clean up OLLIE_* env vars: replace with XDG conventions 2026-08-07 07:11:53 +02:00