mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-24 17:44:49 +00:00
chore: generate
This commit is contained in:
@@ -283,13 +283,13 @@ await client.session.prompt({
|
||||
|
||||
### 檔案
|
||||
|
||||
| 方法 | 描述 | 回應 |
|
||||
| ------------------------- | -------------------- | ------------------------------------------------------------------ |
|
||||
| 方法 | 描述 | 回應 |
|
||||
| ------------------------- | -------------------- | ----------------------------------------------------------------------------------- |
|
||||
| `find.text({ query })` | 搜索档案中文字 | 具有 `path`、`lines`、`line_number`、`absolute_offset`、`submatches` 的匹配对象数组 |
|
||||
| `find.files({ query })` | 按名称查询档案和目录 | `string[]`(路径) |
|
||||
| `find.symbols({ query })` | 查詢工作區符號 | <a href={typesUrl}><code>符號[]</code></a> |
|
||||
| `file.read({ query })` | 读取档案 | `{ type: "raw" \| "patch", content: string }` |
|
||||
| `file.status({ query? })` | 獲取跟蹤檔案的狀態 | <a href={typesUrl}><code>檔案[]</code></a> |
|
||||
| `find.files({ query })` | 按名称查询档案和目录 | `string[]`(路径) |
|
||||
| `find.symbols({ query })` | 查詢工作區符號 | <a href={typesUrl}><code>符號[]</code></a> |
|
||||
| `file.read({ query })` | 读取档案 | `{ type: "raw" \| "patch", content: string }` |
|
||||
| `file.status({ query? })` | 獲取跟蹤檔案的狀態 | <a href={typesUrl}><code>檔案[]</code></a> |
|
||||
|
||||
`find.files` 支持一些可选的查询栏位:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user