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 f8ed2189f1 agent: inject detached process output on exit
When a detached process exits, its output (last 2KB of ring buffer)
is queued as a prompt wrapped in <detached-process-result> tags.
The agent sees it on its next turn (or immediately if idle via Queue).

- InjectSystemEvent(content) added to Core interface
- SetOnExit(fn) added to execute.Server for external hook wiring
2026-07-17 22:07:26 +02:00
..
commands.go refactor: remove 9P mount logic from core execute server 2026-07-08 15:55:10 +02:00
compaction.go fix compaction model to deepseek-v4-flash; accept error stop reason in loop 2026-05-30 10:46:12 +02:00
compaction_test.go updates 2026-06-01 08:05:38 +02:00
core.go agent: inject detached process output on exit 2026-07-17 22:07:26 +02:00
core_test.go codewhisperer: image content block support in user messages and tool results 2026-05-25 23:14:40 +02:00
cost.go core: Anthropic prompt caching and cache-aware cost accounting 2026-04-28 12:01:14 +02:00
cost_test.go core: caching risk-reduction tests 2026-04-28 14:33:29 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go speed up agent tests 2026-05-04 11:58:01 +02:00
loop.go fix: send profileArn for social accounts, improve error messages 2026-07-11 16:08:44 +02:00
loop_cache_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_errlimit_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_maxsteps_helpers_test.go agent: replace cold truncation with real LLM summarization 2026-06-01 09:45:27 +02:00
loop_maxsteps_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_parallel_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_texttool_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_truncate_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_turnerror_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
prompt_resolver.go add OLLIE_DEFAULT_AGENT support and update agent commands 2026-05-21 12:33:18 +02:00
runtime.go token efficiency: fix tier classification, expand cold tier, add usage log and compaction model override 2026-05-28 18:44:30 +02:00
session.go agent: add SaveSession to Core interface for external persistence 2026-07-14 20:41:38 +02:00
state.go agent: replace cold truncation with real LLM summarization 2026-06-01 09:45:27 +02:00
types.go agent: inject detached process output on exit 2026-07-17 22:07:26 +02:00
usage_log.go token efficiency: fix tier classification, expand cold tier, add usage log and compaction model override 2026-05-28 18:44:30 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00