The best way to control Claude Code, Codex and more from any computer or phone

main
ts 16 lines 539 Bytes
Raw
1 import { ORCHESTRATION_PROTOCOL_HEADER } from "@t3tools/contracts";
2
3 export const browserApiCorsAllowedMethods = ["GET", "POST", "OPTIONS"] as const;
4 export const browserApiCorsAllowedHeaders = [
5 "authorization",
6 "b3",
7 "traceparent",
8 "content-type",
9 "dpop",
10 ORCHESTRATION_PROTOCOL_HEADER,
11 ] as const;
12
13 export const DESKTOP_RENDERER_ORIGINS = ["t3code://app", "t3code-dev://app"] as const;
14
15 /** MCP refuses every browser Origin with 403, so the browser CORS layer must not answer for it. */
16 export const MCP_HTTP_PATH = "/mcp";