feat(chat): 完善运行状态与权限交互

This commit is contained in:
2026-08-06 18:41:53 +08:00
parent 8d7c947897
commit 9e75e2df8a
21 changed files with 1025 additions and 226 deletions
+5 -2
View File
@@ -899,8 +899,11 @@ export interface operations {
"application/json": {
message: string;
model?: string;
/** @enum {string} */
approval_mode?: "request" | "always";
/**
* @description request forwards approval prompts; auto approves only the low-risk allowlist; always approves every prompt not explicitly denied by OpenCode.
* @enum {string}
*/
approval_mode?: "request" | "auto" | "always";
};
};
};