@openai/codex-responses-api-proxy 0.164.0-alpha.1 → 0.164.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/codex-responses-api-proxy.js +7 -0
- package/package.json +1 -1
- package/vendor/aarch64-apple-darwin/codex-responses-api-proxy/codex-responses-api-proxy +0 -0
- package/vendor/aarch64-pc-windows-msvc/codex-responses-api-proxy/codex-responses-api-proxy.exe +0 -0
- package/vendor/aarch64-unknown-linux-musl/codex-responses-api-proxy/codex-responses-api-proxy +0 -0
- package/vendor/x86_64-apple-darwin/codex-responses-api-proxy/codex-responses-api-proxy +0 -0
- package/vendor/x86_64-pc-windows-msvc/codex-responses-api-proxy/codex-responses-api-proxy.exe +0 -0
- package/vendor/x86_64-unknown-linux-musl/codex-responses-api-proxy/codex-responses-api-proxy +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Entry point for the Codex responses API proxy binary.
|
|
3
3
|
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
5
|
+
import { closeSync } from "node:fs";
|
|
5
6
|
import path from "path";
|
|
6
7
|
import { fileURLToPath } from "url";
|
|
7
8
|
|
|
@@ -61,6 +62,12 @@ const child = spawn(binaryPath, process.argv.slice(2), {
|
|
|
61
62
|
stdio: "inherit",
|
|
62
63
|
});
|
|
63
64
|
|
|
65
|
+
child.once("spawn", () => {
|
|
66
|
+
// The child has inherited stdin. Close our copy so credential input
|
|
67
|
+
// cannot be reread through the long-lived Node launcher.
|
|
68
|
+
closeSync(0);
|
|
69
|
+
});
|
|
70
|
+
|
|
64
71
|
child.on("error", (err) => {
|
|
65
72
|
console.error(err);
|
|
66
73
|
process.exit(1);
|
package/package.json
CHANGED
|
Binary file
|
package/vendor/aarch64-pc-windows-msvc/codex-responses-api-proxy/codex-responses-api-proxy.exe
CHANGED
|
Binary file
|
package/vendor/aarch64-unknown-linux-musl/codex-responses-api-proxy/codex-responses-api-proxy
CHANGED
|
Binary file
|
|
Binary file
|