clawborrator-cli 0.0.30 → 0.0.32

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.
@@ -67816,6 +67816,14 @@ var sessionAttach = new Command("attach").description("open a TUI on a session \
67816
67816
  ws.close(1e3, "user quit");
67817
67817
  return;
67818
67818
  }
67819
+ if (text === "/debug" || text.startsWith("/debug ")) {
67820
+ const arg = text.slice("/debug".length).trim().toLowerCase();
67821
+ if (arg === "on") debugMode = true;
67822
+ else if (arg === "off") debugMode = false;
67823
+ else debugMode = !debugMode;
67824
+ say(`${DIM2}debug: ${debugMode ? `${AMBER}on${RESET2}${DIM2}` : "off"}${RESET2}`);
67825
+ return;
67826
+ }
67819
67827
  if (text === "/y" || text === "/yes" || text === "/n" || text === "/no") {
67820
67828
  const pending = pendingPerms[pendingPerms.length - 1];
67821
67829
  if (!pending) {
@@ -67852,10 +67860,11 @@ var sessionAttach = new Command("attach").description("open a TUI on a session \
67852
67860
  const out2 = { type: "prompt", sessionId, text: promptText };
67853
67861
  ws.send(JSON.stringify(out2));
67854
67862
  say(`${DIM2}[${ts()}]${RESET2} ${AMBER}\u2192 prompt sent${RESET2} ${promptText}`);
67863
+ startWorking();
67855
67864
  return;
67856
67865
  }
67857
67866
  if (text.startsWith("/")) {
67858
- say(`${DIM2}unknown slash-command: ${text} (try /m /y /n /q)${RESET2}`);
67867
+ say(`${DIM2}unknown slash-command: ${text} (try /m /y /n /debug /q)${RESET2}`);
67859
67868
  return;
67860
67869
  }
67861
67870
  const xMatch = /^(@[A-Za-z0-9._\-/]+)\s+([\s\S]+)$/.exec(text);
@@ -67909,6 +67918,7 @@ var sessionAttach = new Command("attach").description("open a TUI on a session \
67909
67918
  };
67910
67919
  ws.send(JSON.stringify(out2));
67911
67920
  say(`${DIM2}[${ts()}]${RESET2} ${AMBER}\u2192 prompt \u2192 ${targetRef}${RESET2} ${promptText}`);
67921
+ startWorking();
67912
67922
  } catch (e) {
67913
67923
  sayErr(`${RED}error: ${e?.message ?? String(e)}${RESET2}`);
67914
67924
  }
@@ -67918,6 +67928,7 @@ var sessionAttach = new Command("attach").description("open a TUI on a session \
67918
67928
  const out = { type: "prompt", sessionId, text };
67919
67929
  ws.send(JSON.stringify(out));
67920
67930
  say(`${DIM2}[${ts()}]${RESET2} ${AMBER}\u2192 prompt${RESET2} ${text}`);
67931
+ startWorking();
67921
67932
  });
67922
67933
  process.on("SIGINT", () => {
67923
67934
  ws.close(1e3, "sigint");
@@ -68584,7 +68595,7 @@ var webhookCmd = new Command("webhook").description("manage webhook subscription
68584
68595
 
68585
68596
  // src/index.ts
68586
68597
  var program2 = new Command();
68587
- program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.30");
68598
+ program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.32");
68588
68599
  program2.addCommand(loginCmd);
68589
68600
  program2.addCommand(logoutCmd);
68590
68601
  program2.addCommand(whoamiCmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawborrator-cli",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
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",