@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.
@@ -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.8",
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 < 240) {
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-HLPRPOIV.js.map
5324
+ //# sourceMappingURL=chunk-3KCKQRRR.js.map