clawborrator-cli 0.2.12 → 0.2.13

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.
@@ -68987,9 +68987,12 @@ var probeCmd = new Command("probe").description("fan-out the same prompt to many
68987
68987
  });
68988
68988
 
68989
68989
  // src/commands/webhook.ts
68990
- var webhookAdd = new Command("add").description("register a webhook subscription").requiredOption("--url <url>", "https://\u2026 target endpoint").requiredOption("--events <csv>", 'comma-separated event types (or "*" for all)').option("--routing-name <handle>", "narrow to events for one session by routing name (e.g. @orchard-viper). Stable across managed-session restart / autoStart-respawn / kill+restart cycles, where sessionId would churn.").action(async (opts) => {
68990
+ var webhookAdd = new Command("add").description("register a webhook subscription").requiredOption("--url <url>", "https://\u2026 target endpoint").requiredOption("--events <csv>", 'comma-separated event types (or "*" for all)').option("--session <sessionId>", "narrow to one specific session by UUID. Durable for unmanaged sessions and managed sessions with preserveSessionId=true; goes silent on impermanent managed restarts (sessionId churns).").option("--routing-name <handle>", "narrow by routing name (e.g. @orchard-viper). Stable across managed-session restart / autoStart-respawn / kill+restart cycles. Combine with --session to AND-narrow.").action(async (opts) => {
68991
68991
  const events = opts.events.split(",").map((s) => s.trim()).filter(Boolean);
68992
68992
  const filters = {};
68993
+ if (opts.session) {
68994
+ filters.sessionId = opts.session;
68995
+ }
68993
68996
  if (opts.routingName) {
68994
68997
  filters.routingName = opts.routingName.startsWith("@") ? opts.routingName : "@" + opts.routingName;
68995
68998
  }
@@ -69430,7 +69433,7 @@ function fmtAgo4(iso) {
69430
69433
 
69431
69434
  // src/index.ts
69432
69435
  var program2 = new Command();
69433
- program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.2.12");
69436
+ program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.2.13");
69434
69437
  program2.addCommand(loginCmd);
69435
69438
  program2.addCommand(logoutCmd);
69436
69439
  program2.addCommand(whoamiCmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawborrator-cli",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "type": "module",
5
5
  "description": "claw — command-line client for clawborrator. Attach to remote Claude Code sessions, send prompts, resolve permission gates, route across sessions, manage public agents and webhooks. Auth via GitHub OAuth + PKCE.",
6
6
  "license": "MIT",