WIP: database class.
- 修正disk拼写 - 为测试项目添加dylib引用 - 修复无法打开数据库的问题 - 为Deepseek TUI更新Agents.md
This commit is contained in:
@@ -37,3 +37,24 @@ dotnet test --filter "FullyQualifiedName~ClassName.MethodName" # Run single tes
|
||||
- Code and comments are in **Chinese**.
|
||||
- Namespace: `OCES.Resonance.Core` (Core), `OCES.Resonance.AtlFieldExtractor` (extractor), `OCES.Resonance.Core.Tests` (tests).
|
||||
- Git commit style: `WIP: <description>` (no conventional commits).
|
||||
|
||||
## AI 助手工具说明(DeepSeek TUI)
|
||||
|
||||
当前工作环境为 DeepSeek TUI,文件操作工具采用**延迟加载**机制,不在初始工具列表中。首次调用会触发加载并返回 schema 提示(不执行),用正确参数重试后正常执行。
|
||||
|
||||
### 可用文件操作工具
|
||||
|
||||
| 工具 | 用途 | 参数注意事项 |
|
||||
|------|------|-------------|
|
||||
| `write_file` | 创建/覆盖文件 | `path` + `content` |
|
||||
| `edit_file` | 单次查找替换 | `path` + `search` + `replace`(注意不是 `old_string`/`new_string`) |
|
||||
| `apply_patch` | 结构化 patch(多块变更) | `path` + `patch`(unified diff 格式) |
|
||||
| `read_file` | 读取文件 | `path`,支持 `start_line`/`max_lines` 分页;PDF 自动提取 |
|
||||
| `list_dir` | 列出目录 | `path`(可选) |
|
||||
| `grep_files` | 正则搜索文件内容 | `pattern`,支持 `include`/`exclude` glob、`context_lines` |
|
||||
|
||||
### 使用模式
|
||||
|
||||
- 写入/编辑/打补丁:需**两次调用**(首次触发加载,第二次执行)
|
||||
- 读取/搜索:直接可用,单次调用
|
||||
|
||||
|
||||
Reference in New Issue
Block a user