Ask separately for confirmation (#6949)
Co-authored-by: Douwe Osinga <douwe@squareup.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -112,7 +112,7 @@ export type ConfigResponse = {
|
||||
};
|
||||
|
||||
export type ConfirmToolActionRequest = {
|
||||
action: string;
|
||||
action: Permission;
|
||||
id: string;
|
||||
principalType?: PrincipalType;
|
||||
sessionId: string;
|
||||
@@ -662,6 +662,8 @@ export type ParseRecipeResponse = {
|
||||
recipe: Recipe;
|
||||
};
|
||||
|
||||
export type Permission = 'always_allow' | 'allow_once' | 'cancel' | 'deny_once' | 'always_deny';
|
||||
|
||||
/**
|
||||
* Enum representing the possible permission levels for a tool.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user