tines 0.0.244 → 0.0.245
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/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9674,6 +9674,11 @@ async function discoverCodex(daemonVersion) {
|
|
|
9674
9674
|
};
|
|
9675
9675
|
const timer = setTimeout(() => fail("Codex model discovery timed out"), DEADLINE_MS);
|
|
9676
9676
|
child.on("error", (error) => fail(error.message));
|
|
9677
|
+
child.stdin.on("error", (error) => fail(`Codex app-server stdin: ${error.message}`));
|
|
9678
|
+
child.on(
|
|
9679
|
+
"close",
|
|
9680
|
+
(code, signal) => fail(`Codex app-server exited (${signal ?? `code ${code}`}) before listing models`)
|
|
9681
|
+
);
|
|
9677
9682
|
child.stdout.on("data", (chunk) => {
|
|
9678
9683
|
bytes2 += chunk.length;
|
|
9679
9684
|
if (bytes2 > MAX_STDOUT) return fail("Codex model discovery exceeded 1 MiB");
|