← 返回更新日志

Pi v0.26.1

2025-12-22 · GitHub 原文
### 修复 - **SDK 工具遵循当前工作目录 (cwd)**:核心工具(bash、read、edit、write、grep、find、ls)现在会正确使用 `createAgentSession()` 中的 `cwd` 选项。为使用显式工具并指定自定义 `cwd` 的 SDK 用户添加了工具工厂函数(`createBashTool`、`createReadTool` 等)。 ([#279](https://github.com/badlogic/pi-mono/issues/279))