@sagentlab/navarch-runtime 0.1.82 → 0.1.83

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.
@@ -39,6 +39,7 @@ function parseClaudeJsonResult(stdout) {
39
39
  const isUsableResult = (value) => typeof value === "object" &&
40
40
  value !== null &&
41
41
  !Array.isArray(value) &&
42
+ (!("result" in value) || typeof value.result === "string") &&
42
43
  ("result" in value || "usage" in value || "cost_usd" in value || "total_cost_usd" in value);
43
44
  try {
44
45
  const parsed = JSON.parse(trimmed);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sagentlab/navarch-runtime",
3
- "version": "0.1.82",
3
+ "version": "0.1.83",
4
4
  "description": "Navarch machine-side session manager: claims delivery tasks and runs them through local coding agents.",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",