opsveritas-sdk 0.4.1 → 0.4.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/index.js CHANGED
@@ -406,7 +406,7 @@ function isKilled(agentName) {
406
406
 
407
407
  // src/wrap.ts
408
408
  var PATCHED = /* @__PURE__ */ Symbol("opsveritas.patched");
409
- var OUTPUT_SUMMARY_MAX = 3e3;
409
+ var OUTPUT_SUMMARY_MAX = 24e3;
410
410
  var TOOL_INPUT_TEXT_FIELDS = ["body", "content", "text", "summary", "message", "output"];
411
411
  function extractToolInputText(input) {
412
412
  if (!input || typeof input !== "object") return void 0;
@@ -655,7 +655,7 @@ function extractText(output) {
655
655
  const c = gen?.message?.content;
656
656
  if (typeof c === "string") t = c;
657
657
  }
658
- if (typeof t === "string" && t.trim()) return t.slice(0, 3e3);
658
+ if (typeof t === "string" && t.trim()) return t.slice(0, 24e3);
659
659
  }
660
660
  }
661
661
  } catch {
package/dist/index.mjs CHANGED
@@ -372,7 +372,7 @@ function isKilled(agentName) {
372
372
 
373
373
  // src/wrap.ts
374
374
  var PATCHED = /* @__PURE__ */ Symbol("opsveritas.patched");
375
- var OUTPUT_SUMMARY_MAX = 3e3;
375
+ var OUTPUT_SUMMARY_MAX = 24e3;
376
376
  var TOOL_INPUT_TEXT_FIELDS = ["body", "content", "text", "summary", "message", "output"];
377
377
  function extractToolInputText(input) {
378
378
  if (!input || typeof input !== "object") return void 0;
@@ -621,7 +621,7 @@ function extractText(output) {
621
621
  const c = gen?.message?.content;
622
622
  if (typeof c === "string") t = c;
623
623
  }
624
- if (typeof t === "string" && t.trim()) return t.slice(0, 3e3);
624
+ if (typeof t === "string" && t.trim()) return t.slice(0, 24e3);
625
625
  }
626
626
  }
627
627
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opsveritas-sdk",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Monitor your AI agents in 3 lines of code — tokens, cost, latency, and silent failures",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",