antechamber 0.2.14 → 0.2.15

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/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project uses [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.15] - 2026-10-17
11
+
12
+ ### Fixed
13
+
14
+ - Show saved child-task errors when no transcript is available, and label missing runtime, token and cost statistics
15
+ as unknown instead of zero.
16
+
10
17
  ## [0.2.14] - 2026-10-16
11
18
 
12
19
  ### Fixed
package/dist/subagents.js CHANGED
@@ -639,10 +639,16 @@ export class SubagentBridge {
639
639
  const model = typeof data.model === "string"
640
640
  ? data.model
641
641
  : `${resolved.provider ?? "unknown"}/${resolved.model_id ?? "unknown"}`;
642
+ const finalResponse = stripTaskSuffix(typeof data.final_response === "string" ? data.final_response : "");
643
+ const error = terminal(data.status) && data.status !== "completed" && typeof data.error_message === "string"
644
+ ? data.error_message
645
+ : undefined;
646
+ const runtime = stats.runtime_ms ?? data.duration_ms;
642
647
  const text = [
643
- stripTaskSuffix(typeof data.final_response === "string" ? data.final_response : ""),
644
- `Model: ${model}\nRuntime: ${stats.runtime_ms ?? data.duration_ms ?? 0} ms\nTokens: ${stats.total_tokens ?? 0}\nCost: $${stats.cost_usd ?? 0}`,
645
- "Full transcript was not retained by OmO.",
648
+ finalResponse,
649
+ error && !finalResponse.includes(error) ? error : "",
650
+ `Model: ${model}\nRuntime: ${runtime === undefined ? "unknown" : `${runtime} ms`}\nTokens: ${stats.total_tokens ?? "unknown"}\nCost: ${stats.cost_usd === undefined ? "unknown" : `$${stats.cost_usd}`}`,
651
+ "Full transcript is unavailable.",
646
652
  ]
647
653
  .filter(Boolean)
648
654
  .join("\n\n");
@@ -666,6 +672,7 @@ export class SubagentBridge {
666
672
  role: "assistant",
667
673
  provider: resolved.provider ?? model.split("/")[0],
668
674
  model: resolved.model_id ?? model.split("/").slice(1).join("/"),
675
+ ...(error ? { stopReason: "error", errorMessage: error } : {}),
669
676
  // run_stats tokens are totals across the whole run (every model call),
670
677
  // not one request's context, so only the cost is carried as usage; the
671
678
  // totals stay in the text above. Token counts here read as context fill.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antechamber-omo-graph",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "OpenChamber extension: live, interactive graph of the OmO sub-agents behind the current session",
5
5
  "private": true,
6
6
  "type": "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antechamber",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "OpenCode-compatible HTTP/SSE server that lets OpenChamber drive the pi coding agent (and OmO) over RPC",
5
5
  "type": "module",
6
6
  "license": "MIT",