ollie/session
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
..
event.go refactor: split fs/ and session/ packages 2026-08-04 13:52:28 +02:00
persist.go simplify prompt loading, some renames 2026-08-08 13:29:01 +02:00
registry.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
session.go simplify prompt loading, some renames 2026-08-08 13:29:01 +02:00
setup.go simplify prompt loading, some renames 2026-08-08 13:29:01 +02:00