chore: initialize qiming workspace repository

This commit is contained in:
Codex
2026-05-29 14:22:48 +08:00
commit bfd67a0f2c
10750 changed files with 1885711 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import type { SandboxPolicy } from "@shared/types/sandbox";
const DEFAULT_POLICY: SandboxPolicy = {
enabled: false,
backend: "auto",
mode: "compat",
autoFallback: "startup-only",
windowsMode: "workspace-write",
};
let cachedPolicy: SandboxPolicy = { ...DEFAULT_POLICY };
export function getCachedSandboxPolicy(): SandboxPolicy {
return { ...cachedPolicy };
}
export function setCachedSandboxPolicy(policy: SandboxPolicy): void {
cachedPolicy = { ...policy };
}