Initial commit

Signed-off-by: Ilan Bigio <ilan@openai.com>
This commit is contained in:
Ilan Bigio
2025-04-16 12:56:08 -04:00
commit 59a180ddec
163 changed files with 30587 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import type { SafeCommandReason } from "@lib/approvals";
export type CommandReviewDetails = {
cmd: Array<string>;
cmdReadableText: string;
autoApproval: SafeCommandReason | null;
};
export enum ReviewDecision {
YES = "yes",
NO_CONTINUE = "no-continue",
NO_EXIT = "no-exit",
/**
* User has approved this command and wants to automatically approve any
* future identical instances for the remainder of the session.
*/
ALWAYS = "always",
}