clawborrator-cli 0.0.34 → 0.0.36

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.
@@ -68010,7 +68010,22 @@ function printInbound(msg, myLogin) {
68010
68010
  break;
68011
68011
  }
68012
68012
  case "presence": {
68013
- say(`${DIM2}[${ts()}] presence: ${msg.attached.map((l) => "@" + l).join(", ") || "(empty)"}${RESET2}`);
68013
+ const list3 = msg.attached.map((l) => "@" + l).join(", ") || "(empty)";
68014
+ let line;
68015
+ if (msg.joined) {
68016
+ line = `${GREEN}+ @${msg.joined} joined${RESET2}${DIM2} (attached: ${list3})${RESET2}`;
68017
+ } else if (msg.left) {
68018
+ line = `${AMBER}- @${msg.left} left${RESET2}${DIM2} (attached: ${list3})${RESET2}`;
68019
+ } else {
68020
+ line = `${DIM2}presence: ${list3}${RESET2}`;
68021
+ }
68022
+ say(`${DIM2}[${ts()}]${RESET2} ${line}`);
68023
+ break;
68024
+ }
68025
+ case "channel_status": {
68026
+ const tag2 = msg.connected ? `${GREEN}\u25CF channel online${RESET2}` : `${RED}\u25CB channel offline${RESET2}`;
68027
+ say(`${DIM2}[${shortTs(msg.ts)}]${RESET2} ${tag2}`);
68028
+ if (!msg.connected) stopWorking();
68014
68029
  break;
68015
68030
  }
68016
68031
  case "ack":
@@ -68649,7 +68664,7 @@ var webhookCmd = new Command("webhook").description("manage webhook subscription
68649
68664
 
68650
68665
  // src/index.ts
68651
68666
  var program2 = new Command();
68652
- program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.34");
68667
+ program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.36");
68653
68668
  program2.addCommand(loginCmd);
68654
68669
  program2.addCommand(logoutCmd);
68655
68670
  program2.addCommand(whoamiCmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawborrator-cli",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
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",