clawborrator-cli 0.2.10 → 0.2.11

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.
@@ -68977,10 +68977,12 @@ var probeCmd = new Command("probe").description("fan-out the same prompt to many
68977
68977
  });
68978
68978
 
68979
68979
  // src/commands/webhook.ts
68980
- 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 session").action(async (opts) => {
68980
+ 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) => {
68981
68981
  const events = opts.events.split(",").map((s) => s.trim()).filter(Boolean);
68982
68982
  const filters = {};
68983
- if (opts.session) filters.sessionId = opts.session;
68983
+ if (opts.routingName) {
68984
+ filters.routingName = opts.routingName.startsWith("@") ? opts.routingName : "@" + opts.routingName;
68985
+ }
68984
68986
  const out = await api.post("/api/v1/webhooks", {
68985
68987
  url: opts.url,
68986
68988
  events,
@@ -69418,7 +69420,7 @@ function fmtAgo4(iso) {
69418
69420
 
69419
69421
  // src/index.ts
69420
69422
  var program2 = new Command();
69421
- program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.2.10");
69423
+ program2.name("claw").description("clawborrator CLI \u2014 control your Claude Code sessions from the terminal").version("0.2.11");
69422
69424
  program2.addCommand(loginCmd);
69423
69425
  program2.addCommand(logoutCmd);
69424
69426
  program2.addCommand(whoamiCmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawborrator-cli",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
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",