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/tools/execute
Levi Neely 5e08beb9bf agent: add dynamic workdir support via /cwd command and SetWorkDir API
- Add WorkDirSetter interface to pkg/tools so servers can receive workdir updates
- Add SetWorkDir on execute.Server with RWMutex-guarded workdir field
- Add WorkDir()/SetWorkDir() to the Core interface and agentCore
- Store agentPrompt in AgentEnv/agentCore so system prompt can be rebuilt on workdir change
- Add /cwd [path] slash command (no args shows current dir, arg changes it)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 14:21:34 +02:00
..
code.go refactor: move mcp/tools/execute to pkg/ for external consumability 2026-04-09 21:59:01 +02:00
dispatch.go Unify tool servers: dissolve builtin/MCP distinction 2026-04-09 23:51:10 +02:00
executor.go agent: add dynamic workdir support via /cwd command and SetWorkDir API 2026-04-11 14:21:34 +02:00
pipe.go Unify tool servers: dissolve builtin/MCP distinction 2026-04-09 23:51:10 +02:00
server.go execute, agent: thread workdir through Decl and AgentCoreConfig 2026-04-10 09:04:19 +02:00
tool.go execute_tool: replace 9P mount with filesystem read; drop 9fans dep 2026-04-09 22:33:30 +02:00