ollie/agent
Ollie Agent 32ff54f708 agent: simplify configuration/instantiation layers
- Kill agentConfig struct. run() takes (*Runtime, TurnCtx, state) directly.
  TurnCtx holds only 7 per-turn closures; stable config reads come from Runtime.

- Lazy tool refresh: toolsNeedRefresh() checks ToolRegistryRevision() on the
  tool server. Skips ListTools IPC when registry hasn't changed. Remote Conn
  falls back to always-refetch (same as before).

- AgentConfig.GenParams() method replaces the 16-line manual field copy in
  BuildRuntime.

- Remove CfgBackend/CfgModel from Runtime. Callers read cfg.Backend/cfg.Model
  directly since they already have the AgentConfig in scope.
2026-08-08 14:19:46 +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: simplify configuration/instantiation layers 2026-08-08 14:19:46 +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: simplify configuration/instantiation layers 2026-08-08 14:19:46 +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: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
state.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
turn.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
usage_log.go clean up OLLIE_* env vars: replace with XDG conventions 2026-08-07 07:11:53 +02:00