16 lines
403 B
JavaScript
16 lines
403 B
JavaScript
#!/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();
|
|
|
|
await import("./register-bedrock.ts");
|
|
await import("../cli.ts");
|