@jacobbd/relay-ai 0.12.0 → 0.12.2
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/{chunk-HL3EZ4OU.js → chunk-5R26P2P2.js} +2 -2
- package/dist/{chunk-FD5EDSBM.js → chunk-C5ZXSNNA.js} +2 -2
- package/dist/{chunk-Z5GL4ALA.js → chunk-KP67Q2B7.js} +7 -4
- package/dist/{chunk-Z5GL4ALA.js.map → chunk-KP67Q2B7.js.map} +1 -1
- package/dist/cli.js +7 -6
- package/dist/cli.js.map +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/{manual-models-A6FSQV3S.js → manual-models-Z5GUNFI3.js} +3 -3
- package/dist/{ui-command-J7PTTCM5.js → ui-command-RLYV2FK6.js} +4 -4
- package/package.json +1 -1
- /package/dist/{chunk-HL3EZ4OU.js.map → chunk-5R26P2P2.js.map} +0 -0
- /package/dist/{chunk-FD5EDSBM.js.map → chunk-C5ZXSNNA.js.map} +0 -0
- /package/dist/{manual-models-A6FSQV3S.js.map → manual-models-Z5GUNFI3.js.map} +0 -0
- /package/dist/{ui-command-J7PTTCM5.js.map → ui-command-RLYV2FK6.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
addManualModel,
|
|
4
4
|
removeManualModel
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C5ZXSNNA.js";
|
|
6
6
|
import {
|
|
7
7
|
CODEX_APP_AUTO_COMPACT_RATIO,
|
|
8
8
|
CODEX_APP_PROVIDER_ID,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
waitForCodexAppQuit,
|
|
149
149
|
writeSecureLogLine,
|
|
150
150
|
zenRegistryStub
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-5R26P2P2.js";
|
|
152
152
|
import {
|
|
153
153
|
filterTemplates,
|
|
154
154
|
getTemplateById,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
thinkingProviderOptions,
|
|
223
223
|
upstreamHttpStatus,
|
|
224
224
|
validateCustomEndpointUrl
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-KP67Q2B7.js";
|
|
226
226
|
import "./chunk-JIDIH7DS.js";
|
|
227
227
|
|
|
228
228
|
// src/cli.ts
|
|
@@ -2990,7 +2990,8 @@ async function writeResponsesStream(fullStream, modelId, write, onDone, onProgre
|
|
|
2990
2990
|
toolCallCount: toolStates.length,
|
|
2991
2991
|
toolNames: toolStates.map((t) => t.name),
|
|
2992
2992
|
loopDetected,
|
|
2993
|
-
errorMessage: msg
|
|
2993
|
+
errorMessage: msg,
|
|
2994
|
+
errorStatus: part.error?.statusCode
|
|
2994
2995
|
});
|
|
2995
2996
|
if (is429) {
|
|
2996
2997
|
writeResponsesRateLimitStream(modelId, msg, write);
|
|
@@ -4062,7 +4063,7 @@ function streamOutcome(failure, okStatus) {
|
|
|
4062
4063
|
if (!failure) return { outcome: "ok", status: okStatus };
|
|
4063
4064
|
return {
|
|
4064
4065
|
outcome: "error",
|
|
4065
|
-
status: failure.errorMessage ? upstreamHttpStatus(void 0, failure.errorMessage) : "stream-aborted"
|
|
4066
|
+
status: failure.errorStatus ?? (failure.errorMessage ? upstreamHttpStatus(void 0, failure.errorMessage) : "stream-aborted")
|
|
4066
4067
|
};
|
|
4067
4068
|
}
|
|
4068
4069
|
function protectCodexCompactionParams(body, params, contextWindow) {
|
|
@@ -15980,7 +15981,7 @@ Options:
|
|
|
15980
15981
|
--trace Write debug logs under ~/.relay-ai/logs/`);
|
|
15981
15982
|
return 0;
|
|
15982
15983
|
}
|
|
15983
|
-
const { runUiCommand } = await import("./ui-command-
|
|
15984
|
+
const { runUiCommand } = await import("./ui-command-RLYV2FK6.js");
|
|
15984
15985
|
return runUiCommand({ trace: parsed.trace, serverMode: parsed.uiServerMode });
|
|
15985
15986
|
}
|
|
15986
15987
|
if (parsed.command === "models") {
|