Repository navigation
v0.4.13 — 语言同步修复与数据库工具按需加载
更新内容
- 修复语言同步重复请求(#58)。合并启动和切换语言时的并发通知,已保存的语言相同就跳过写入。手动固定语言仍然生效。
- 数据库工具按需提供。支持逐步加载工具的 DSH 默认先提供「连接数据库」和「列出数据库连接」。任一工具调用成功后,当前对话的下一步即可使用查询、写入、导出和事务等工具。受限子智能体仍可直接使用白名单中的数据库操作。
- 精简 AI 工具描述,减少随对话请求发送的工具定义。更新了 SFTP 工具的目标说明,明确绑定工作区使用其绑定的服务器。
如需从第一步提供全部已启用的数据库工具,把 DSH 宿主环境变量 DSH_SSH_OPS_DB_TOOLS_ON_DEMAND 设为 0 后重启。旧宿主继续一次提供全部已启用工具。
What's changed
- Fixed repeated language sync requests (#58). Startup and locale notifications share a single synchronization, and an already saved language is skipped. Pinned languages are respected.
- Database tools load on demand on supported DSH hosts. The initial tool list offers connect and list connections. Either successful call makes query, write, export, and transaction tools available on the next step. Restricted subagents retain access to their allowed database operations.
- Shortened AI tool descriptions to reduce request size. SFTP tool descriptions now identify the target server for a bound workspace.
Set DSH_SSH_OPS_DB_TOOLS_ON_DEMAND=0 in the DSH host environment and restart to offer all enabled database tools from the first step. Older hosts continue to offer all enabled tools up front.