This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/agent
Levi Neely 0fba869ab7 agent: add preTool and postTool hooks
preTool fires before each tool execution; exit 2 blocks the call and
returns the hook's stderr as the tool error result. postTool fires after;
exit 0 appends context to the result, exit 2 replaces it entirely.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 07:19:35 +02:00
..
commands.go agent: mid-turn compaction and runCompact consolidation 2026-04-25 20:51:53 +02:00
core.go agent: add preTool and postTool hooks 2026-04-26 07:19:35 +02:00
core_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go agent: add preTool and postTool hooks 2026-04-26 07:19:35 +02:00
loop.go agent: add preTool and postTool hooks 2026-04-26 07:19:35 +02:00
session.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00
state.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
types.go remove MCP support, add execute_code tests 2026-04-21 13:25:32 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00