ollie/cmd/olliesrv/internal/agent
Levi Neely 8960fb73fd feat: refresh autoLoad tools on agent profile switch
When the 'agent <profile>' ctl command switches profiles, the tool
registry now clears old tools and loads the new profile's autoLoad
list. Previously, switching profiles left the old tools loaded.

Changes:
- registry: add ClearAgent(agentID) to remove all tools for an agent
- server/proc: add ClearAgent wrapper and 'clear <agentID>' ctl command
- toolclient: add ClearTools() method to ToolsrvConn
- agent: SwitchProfile now returns *AgentConfig for tool reload
- fs/spec: agent ctl handler clears and reloads tools after switch
2026-08-21 10:57:59 +02:00
..
agent.go feat: refresh autoLoad tools on agent profile switch 2026-08-21 10:57:59 +02:00
agent_config.go remove maxSteps and ResetsCounter entirely 2026-08-17 09:48:58 +02:00
agent_test.go refactor toolsrv into client protocol and metadata packages 2026-08-16 17:22:59 +02:00
cancellation_test.go account for stripCold in cost 2026-08-15 12:37:13 +02:00
chatlog.go show agent reasoning output 2026-08-17 00:08:27 +02:00
commands.go Update architecture documentation and remove obsolete frontends 2026-08-16 19:21:26 +02:00
config_paths.go merge paths utilities into util 2026-08-16 18:37:03 +02:00
cost.go refactor: move olliesrv and toolsrv packages to cmd/*/internal/ 2026-08-10 20:16:44 +02:00
feed.go feed: use BlockOnce for read side, dedup via base comparison 2026-08-13 20:05:46 +02:00
fifo.go Bound agent prompt queues 2026-08-18 06:58:38 +02:00
fifo_test.go refactor: move olliesrv and toolsrv packages to cmd/*/internal/ 2026-08-10 20:16:44 +02:00
history.go Honor cancellation during compaction streams 2026-08-18 06:59:35 +02:00
history_incremental_test.go incrementalize cold summaries 2026-08-15 13:13:22 +02:00
history_summary.go validate cold history summaries 2026-08-15 12:42:28 +02:00
history_summary_test.go normalize summary cache keys 2026-08-15 13:42:11 +02:00
history_test.go refactor toolsrv into client protocol and metadata packages 2026-08-16 17:22:59 +02:00
history_trigger_test.go defer cold summaries until needed 2026-08-15 13:27:16 +02:00
local_summary.go reduce cold results locally 2026-08-15 13:33:26 +02:00
local_summary_test.go reduce cold results locally 2026-08-15 13:33:26 +02:00
loop.go Load hinted tools through the agent namespace 2026-08-20 18:29:10 +02:00
loop_test.go refactor toolsrv into client protocol and metadata packages 2026-08-16 17:22:59 +02:00
prompt_resolver.go fix: XDG default fallback in prompt resolver; deduplicate tool headers 2026-08-13 15:45:35 +02:00
runtime.go Load hinted tools through the agent namespace 2026-08-20 18:29:10 +02:00
runtime_dispatch_test.go agent: add tests for dispatch flag injection and background helpers 2026-08-11 08:28:54 +02:00
runtime_test.go refactor toolsrv into client protocol and metadata packages 2026-08-16 17:22:59 +02:00
skill_match.go tool loading: require explicit autoLoad, clean package structure 2026-08-21 10:11:51 +02:00
summary_cache_test.go include tool semantics in summary cache 2026-08-15 13:46:29 +02:00
text_parse.go cleanup: fix structural inconsistencies, remove dead code 2026-08-11 10:46:38 +02:00
tool_match.go tool loading: require explicit autoLoad, clean package structure 2026-08-21 10:11:51 +02:00
turn.go tool loading: require explicit autoLoad, clean package structure 2026-08-21 10:11:51 +02:00
workflow.go Improve workflow-aware tool ranking 2026-08-20 19:01:21 +02:00
workflow_test.go Improve workflow-aware tool ranking 2026-08-20 19:01:21 +02:00