clawborrator-cli 0.0.20 → 0.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.
@@ -7046,7 +7046,16 @@ var sessionAttach = new Command("attach").description("open a TUI on a session \
7046
7046
  console.error(`${RED}error: no session ${targetRef} (try \`claw session list\` in another terminal)${RESET}`);
7047
7047
  return;
7048
7048
  }
7049
- const out2 = { type: "prompt", sessionId: match.id, text: promptText };
7049
+ const out2 = {
7050
+ type: "prompt",
7051
+ sessionId: match.id,
7052
+ text: promptText,
7053
+ // Source-session tag so the hub can persist the eventual
7054
+ // reply against THIS session's events history and surface
7055
+ // it to source Claude via channel notification (the same
7056
+ // shape route_to_peer's reply path uses).
7057
+ sourceSessionId: sessionId
7058
+ };
7050
7059
  ws.send(JSON.stringify(out2));
7051
7060
  console.log(`${DIM}[${ts()}]${RESET} ${AMBER}\u2192 prompt \u2192 ${targetRef}${RESET} ${promptText}`);
7052
7061
  } catch (e) {
@@ -7709,7 +7718,7 @@ var webhookCmd = new Command("webhook").description("manage webhook subscription
7709
7718
 
7710
7719
  // src/index.ts
7711
7720
  var program2 = new Command();
7712
- program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.20");
7721
+ program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.21");
7713
7722
  program2.addCommand(loginCmd);
7714
7723
  program2.addCommand(logoutCmd);
7715
7724
  program2.addCommand(whoamiCmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawborrator-cli",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "description": "claw — command-line client for clawborrator hub_v1. Manages PATs, channel tokens, sessions, cross-session routing, and webhooks; ships an inline TUI for live multi-operator session attach.",
6
6
  "license": "MIT",