clawborrator-cli 0.0.7 → 0.0.8

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.
@@ -6876,11 +6876,10 @@ var sessionAttach = new Command("attach").description("open a TUI on a session \
6876
6876
  }
6877
6877
  let sessionId = ref;
6878
6878
  if (sessionId.startsWith("@")) {
6879
- const wanted = sessionId.slice(1);
6880
6879
  const data = await api.get("/api/v1/sessions");
6881
- const match = data.items.find((s) => s.routingName === wanted);
6880
+ const match = data.items.find((s) => s.routingName === sessionId);
6882
6881
  if (!match) {
6883
- console.error(`error: no session with routing name @${wanted} (run \`claw session list\` to see what's available)`);
6882
+ console.error(`error: no session with routing name ${sessionId} (run \`claw session list\` to see what's available)`);
6884
6883
  process.exit(2);
6885
6884
  }
6886
6885
  sessionId = match.id;
@@ -7280,11 +7279,10 @@ function fmtAgo(iso) {
7280
7279
  }
7281
7280
  async function resolveSessionId(idOrName) {
7282
7281
  if (!idOrName.startsWith("@")) return idOrName;
7283
- const wanted = idOrName.slice(1);
7284
7282
  const data = await api.get("/api/v1/sessions");
7285
- const match = data.items.find((s) => s.routingName === wanted);
7283
+ const match = data.items.find((s) => s.routingName === idOrName);
7286
7284
  if (!match) {
7287
- const err = new Error(`no session with routing name @${wanted} (run \`claw session list\` to see what's available)`);
7285
+ const err = new Error(`no session with routing name ${idOrName} (run \`claw session list\` to see what's available)`);
7288
7286
  err.code = "CLW_NO_ROUTING_MATCH";
7289
7287
  throw err;
7290
7288
  }
@@ -7599,7 +7597,7 @@ var webhookCmd = new Command("webhook").description("manage webhook subscription
7599
7597
 
7600
7598
  // src/index.ts
7601
7599
  var program2 = new Command();
7602
- program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.7");
7600
+ program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.0.8");
7603
7601
  program2.addCommand(loginCmd);
7604
7602
  program2.addCommand(logoutCmd);
7605
7603
  program2.addCommand(whoamiCmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawborrator-cli",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
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",