- 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> |
||
|---|---|---|
| .. | ||
| code.go | ||
| dispatch.go | ||
| executor.go | ||
| pipe.go | ||
| server.go | ||
| tool.go | ||