feat(chat): 完善运行状态与权限交互
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user