antechamber 1.0.20 → 1.0.21

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,15 @@ and this project uses [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.21] - 2026-10-26
11
+
12
+ ### Fixed
13
+
14
+ - Show live eval cells as `JS Eval` / `Python Eval` cards with their code and streaming output in OpenChamber 2.x.
15
+ The v2 stream announced the card as `eval` and never renamed it to the `bash` card it becomes, and it dropped
16
+ running metadata, so the OmO Compatibility header rule never matched and live output never arrived. The card is
17
+ now announced again under its mapped name, and running metadata is sent as `session.tool.progress`.
18
+
10
19
  ## [1.0.20] - 2026-10-26
11
20
 
12
21
  ### Fixed
package/dist/v2.js CHANGED
@@ -565,11 +565,11 @@ export class V2EventTranslator {
565
565
  called: false,
566
566
  ended: false,
567
567
  raw: "",
568
+ metadata: "",
568
569
  };
569
570
  st.tools.set(part.id, ts);
570
571
  }
571
572
  ts.callID = part.callID;
572
- ts.name = part.tool;
573
573
  const frames = [];
574
574
  const base = { sessionID: part.sessionID, assistantMessageID: part.messageID, id: part.callID };
575
575
  const state = part.state;
@@ -586,10 +586,13 @@ export class V2EventTranslator {
586
586
  }
587
587
  return frames;
588
588
  }
589
- if (!ts.started) {
589
+ // mapTool renames a call when it leaves pending (eval -> bash). OpenChamber 2.x takes the tool name only from
590
+ // input.started, so announce the card again under its new name before its input ends.
591
+ if (!ts.started || (ts.name !== part.tool && !ts.inputEnded)) {
590
592
  ts.started = true;
591
593
  frames.push(this.frame(directory, "session.tool.input.started", { ...base, name: part.tool }));
592
594
  }
595
+ ts.name = part.tool;
593
596
  if (!ts.inputEnded) {
594
597
  ts.inputEnded = true;
595
598
  frames.push(this.frame(directory, "session.tool.input.ended", {
@@ -601,6 +604,14 @@ export class V2EventTranslator {
601
604
  ts.called = true;
602
605
  frames.push(this.frame(directory, "session.tool.called", { ...base, input: state.input, executed: false }));
603
606
  }
607
+ // `called` carries no metadata (eval card headers, live output); 2.x reads it while running only from progress.
608
+ if (state.status === "running" && state.metadata !== undefined) {
609
+ const metadata = safeJson(state.metadata);
610
+ if (metadata !== ts.metadata) {
611
+ ts.metadata = metadata;
612
+ frames.push(this.frame(directory, "session.tool.progress", { ...base, metadata: state.metadata }));
613
+ }
614
+ }
604
615
  if (!ts.ended && state.status === "completed") {
605
616
  ts.ended = true;
606
617
  frames.push(this.frame(directory, "session.tool.success", {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antechamber-omo-compat",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "OpenChamber extension: displays OmO tool calls the way OmO means them when OpenChamber runs on antechamber",
5
5
  "private": true,
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antechamber-omo-graph",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antechamber-omo-work",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "OpenChamber 2.x Work Status section: OmO todo phases, monitors, eval cells and background work of 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": "1.0.20",
3
+ "version": "1.0.21",
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",