* 完善所有用到的type对象,并添加中文注释

* 补充遗失的type
This commit is contained in:
xiaoFjun-eng
2026-05-19 09:05:04 +08:00
committed by GitHub
parent c499bfb4ed
commit ea399f1862
68 changed files with 986 additions and 208 deletions

View File

@@ -1,2 +1,13 @@
// Auto-generated stub — replace with real implementation
export type FileSuggestionCommandInput = any
/**
* `FileSuggestion` 自定义命令通过 stdin 接收的 JSON 负载,
* 字段与 `createBaseHookInput()` 一致并附加当前路径前缀 `query`。
*/
export type FileSuggestionCommandInput = {
session_id: string // 当前会话 id
transcript_path: string // 会话 transcript 文件路径
cwd: string // 工作目录
permission_mode?: string // 权限模式快照(若有)
agent_id?: string // 子代理 id若在 agent 内触发)
agent_type?: string // 子代理类型或主线程类型
query: string // 用户当前输入的路径前缀(待补全部分)
}