@jacobbd/relay-ai 0.12.8 → 0.12.9
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-HLPRPOIV.js → chunk-3KCKQRRR.js} +4 -3
- package/dist/{chunk-HLPRPOIV.js.map → chunk-3KCKQRRR.js.map} +1 -1
- package/dist/{chunk-BK34AFR4.js → chunk-KVH362S4.js} +2 -2
- package/dist/{chunk-VUEGVJMH.js → chunk-TRCGBOYR.js} +2 -2
- package/dist/cli.js +51 -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-BAWTDEYL.js → manual-models-Q3TOEP5Y.js} +3 -3
- package/dist/{ui-command-QUT3R4HW.js → ui-command-CLMJUDHR.js} +4 -4
- package/package.json +1 -1
- /package/dist/{chunk-BK34AFR4.js.map → chunk-KVH362S4.js.map} +0 -0
- /package/dist/{chunk-VUEGVJMH.js.map → chunk-TRCGBOYR.js.map} +0 -0
- /package/dist/{manual-models-BAWTDEYL.js.map → manual-models-Q3TOEP5Y.js.map} +0 -0
- /package/dist/{ui-command-QUT3R4HW.js.map → ui-command-CLMJUDHR.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import { join } from "path";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "@jacobbd/relay-ai",
|
|
10
|
-
version: "0.12.
|
|
10
|
+
version: "0.12.9",
|
|
11
11
|
publishConfig: {
|
|
12
12
|
access: "public"
|
|
13
13
|
},
|
|
@@ -4531,6 +4531,7 @@ function serializeToolResultContent(content) {
|
|
|
4531
4531
|
|
|
4532
4532
|
// src/codex/upstream-error.ts
|
|
4533
4533
|
var TRACE_FIELD_LIMIT = 4e3;
|
|
4534
|
+
var MAX_ERROR_MESSAGE_CHARS = 2e3;
|
|
4534
4535
|
function clipTraceField(value) {
|
|
4535
4536
|
return value.length <= TRACE_FIELD_LIMIT ? value : `${value.slice(0, TRACE_FIELD_LIMIT)}\u2026`;
|
|
4536
4537
|
}
|
|
@@ -4605,7 +4606,7 @@ function formatUpstreamError(err) {
|
|
|
4605
4606
|
}
|
|
4606
4607
|
if (rec.message) {
|
|
4607
4608
|
const short = sanitizeMessage(rec.message);
|
|
4608
|
-
if (short && !short.includes("file://") && !short.includes("APICallError") && short.length <
|
|
4609
|
+
if (short && !short.includes("file://") && !short.includes("APICallError") && short.length < MAX_ERROR_MESSAGE_CHARS) {
|
|
4609
4610
|
return rec.statusCode ? `${short} (HTTP ${rec.statusCode})` : short;
|
|
4610
4611
|
}
|
|
4611
4612
|
}
|
|
@@ -5320,4 +5321,4 @@ export {
|
|
|
5320
5321
|
streamAnthropicResponse,
|
|
5321
5322
|
generateAnthropicResponse
|
|
5322
5323
|
};
|
|
5323
|
-
//# sourceMappingURL=chunk-
|
|
5324
|
+
//# sourceMappingURL=chunk-3KCKQRRR.js.map
|