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
Levi Neely 23913d0d76 execute, agent: thread workdir through Decl and AgentCoreConfig
execute.Decl is now a function (func(workdir string) func() tools.Server)
rather than a var, making workdir an explicit dependency rather than
an implicit os.Getwd() call. execute.Server stores the workdir and
sets cmd.Dir accordingly; falls back to os.Getwd() if empty.

AgentCoreConfig gains WorkDir string, threaded into BuildAgentEnv and
the system prompt. The /agent switch uses s.workdir so the correct
directory is preserved across agent switches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:04:19 +02:00
..
agent execute, agent: thread workdir through Decl and AgentCoreConfig 2026-04-10 09:04:19 +02:00
backend refactor: promote backend/config to pkg/, extract TUI to ollie-tui 2026-04-09 22:05:35 +02:00
config refactor: promote backend/config to pkg/, extract TUI to ollie-tui 2026-04-09 22:05:35 +02:00
mcp refactor: move mcp/tools/execute to pkg/ for external consumability 2026-04-09 21:59:01 +02:00
tools execute, agent: thread workdir through Decl and AgentCoreConfig 2026-04-10 09:04:19 +02:00