fix(coding-agent): bundle OAuth flows in Bun binaries

This commit is contained in:
Armin Ronacher
2026-07-16 15:36:16 +02:00
parent eb793510ad
commit 6442536b1e
8 changed files with 263 additions and 140 deletions
+3
View File
@@ -1,9 +1,12 @@
#!/usr/bin/env node
import { registerBunOAuthFlows } from "@earendil-works/pi-ai/bun-oauth";
import { APP_NAME } from "../config.ts";
process.title = APP_NAME;
process.emitWarning = (() => {}) as typeof process.emitWarning;
registerBunOAuthFlows();
import { restoreSandboxEnv } from "./restore-sandbox-env.ts";
restoreSandboxEnv();