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
+1
View File
@@ -38,6 +38,7 @@
- Fixed inherited OpenAI Codex session IDs longer than 64 characters to meet the API limit ([#6630](https://github.com/earendil-works/pi-mono/issues/6630)).
- Fixed inherited terminal output to normalize tab characters consistently ([#6697](https://github.com/earendil-works/pi-mono/pull/6697) by [@xz-dev](https://github.com/xz-dev)).
- Fixed the Windows terminal title after checking npm packages ([#6629](https://github.com/earendil-works/pi-mono/issues/6629)).
- Fixed Bun standalone binaries to bundle OAuth adapters for interactive logins.
## [0.80.7] - 2026-07-14
+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();