@agent-inspect/viewer 6.31.9 → 6.31.10

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.mjs CHANGED
@@ -1710,6 +1710,17 @@ var PROGRAMMATIC_DIAGNOSTIC_SPECS = Object.freeze({
1710
1710
  summary: "Trace contains a parentId cycle.",
1711
1711
  remediation: "Use visibility-first tree linking for legacy fixtures; prefer acyclic capture for new adapter output.",
1712
1712
  relatedCodes: ["structure.cycle"]
1713
+ },
1714
+ AI_TRACE_CONTRACT_INPUT_INVALID: {
1715
+ code: "AI_TRACE_CONTRACT_INPUT_INVALID",
1716
+ summary: "evaluateTraceContract expects ({ read }, contract) or use evaluateTraceContractRead(read, contract).",
1717
+ remediation: "Pass TraceCheckInput as the first argument: evaluateTraceContract({ read }, contract).",
1718
+ relatedCodes: ["AI_CHECK_INVALID_ARGUMENTS"]
1719
+ },
1720
+ AI_INSPECT_RUN_UNSUPPORTED_OPTION: {
1721
+ code: "AI_INSPECT_RUN_UNSUPPORTED_OPTION",
1722
+ summary: 'inspectRun does not accept a "writer" option.',
1723
+ remediation: "Use createInspector({ writer }) then inspector.run(...). inspectRun persists via the global JSONL path (schema 0.1)."
1713
1724
  }
1714
1725
  });
1715
1726
  function formatProgrammaticDiagnostic(code, detail) {