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 7fa952c59f agent: add reasoning_plan, task backend integration, and /mcp command
- Add reasoning_plan built-in tool: decomposes goals into ordered steps
  with dependency edges; persists to task backend when available, falls
  back to in-context plan otherwise.
- Add PlanBackend/PlanBackendSetter interfaces and PlanStep type to
  pkg/tools; add GetServer to Dispatcher.
- Add dispatchPlanBackend in pkg/agent: routes task_create calls through
  the dispatcher to any registered task MCP server.
- BuildAgentEnv auto-wires the task backend to the reasoning server after
  connecting MCP servers; re-wires on every /agent switch.
- Add ListServers() to Core interface: groups all registered tools by
  server, returns formatted text.
- Add /mcp command to handleCommand(); update /help.
- Add doc/PLANNING.md and update ARCHITECTURE.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 11:31:41 +02:00
..
core.go agent: add reasoning_plan, task backend integration, and /mcp command 2026-04-11 11:31:41 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go agent: richer hooks with JSON payloads, blocking, and context injection 2026-04-10 20:19:38 +02:00
loop.go agent: add usage tracking and per-turn token reporting 2026-04-10 20:29:49 +02:00
plan.go agent: add reasoning_plan, task backend integration, and /mcp command 2026-04-11 11:31:41 +02:00
session.go agent: add usage tracking and per-turn token reporting 2026-04-10 20:29:49 +02:00
signals.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
signals_unix.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
signals_windows.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
state.go refactor: promote backend/config to pkg/, extract TUI to ollie-tui 2026-04-09 22:05:35 +02:00
types.go agent: add reasoning_plan, task backend integration, and /mcp command 2026-04-11 11:31:41 +02:00