@sjawhar/claude-envoy 6.12.9 → 6.12.10

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.
@@ -2,5 +2,5 @@
2
2
  "name": "claude-envoy",
3
3
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
4
4
  "mcpServers": "./.mcp.json",
5
- "version": "6.12.9"
5
+ "version": "6.12.10"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "6.12.9",
3
+ "version": "6.12.10",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -20083,6 +20083,7 @@ function placeholder(info) {
20083
20083
  return info.kind.array === "string" ? "<text>" : "<n>";
20084
20084
  return "<text>";
20085
20085
  }
20086
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
20086
20087
  function flagTable(spec, fields) {
20087
20088
  const flags = new Map;
20088
20089
  const add = (flag, entry) => {
@@ -20169,7 +20170,7 @@ function flagTable(spec, fields) {
20169
20170
  add("--help", { action: "help", text: "Prints this help." });
20170
20171
  add("--dry-run", {
20171
20172
  action: "dry-run",
20172
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
20173
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
20173
20174
  });
20174
20175
  return flags;
20175
20176
  }
package/dist/dispatch.js CHANGED
@@ -21191,6 +21191,7 @@ function placeholder(info) {
21191
21191
  return info.kind.array === "string" ? "<text>" : "<n>";
21192
21192
  return "<text>";
21193
21193
  }
21194
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
21194
21195
  function flagTable(spec, fields) {
21195
21196
  const flags = new Map;
21196
21197
  const add = (flag, entry) => {
@@ -21277,7 +21278,7 @@ function flagTable(spec, fields) {
21277
21278
  add("--help", { action: "help", text: "Prints this help." });
21278
21279
  add("--dry-run", {
21279
21280
  action: "dry-run",
21280
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
21281
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
21281
21282
  });
21282
21283
  return flags;
21283
21284
  }
@@ -39866,6 +39867,7 @@ var STREAM_SUBJECT_PREFIXES = [
39866
39867
  `${EXCEPTION_TOPIC_PREFIX}${AGENT_TOPIC_PREFIX}`,
39867
39868
  `${EXCEPTION_TOPIC_PREFIX}notifications.team.`
39868
39869
  ];
39870
+ var STORED_TOPIC_KINDS = STREAM_SUBJECT_PREFIXES.filter((prefix) => !prefix.startsWith(EXCEPTION_TOPIC_PREFIX)).map((prefix) => prefix.slice("notifications.".length, -1));
39869
39871
  function streamStores(topic) {
39870
39872
  return STREAM_SUBJECT_PREFIXES.some((prefix) => topic.length > prefix.length && topic.startsWith(prefix));
39871
39873
  }
@@ -50473,6 +50473,7 @@ function placeholder(info) {
50473
50473
  return info.kind.array === "string" ? "<text>" : "<n>";
50474
50474
  return "<text>";
50475
50475
  }
50476
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
50476
50477
  function flagTable(spec, fields) {
50477
50478
  const flags = new Map;
50478
50479
  const add = (flag, entry) => {
@@ -50559,7 +50560,7 @@ function flagTable(spec, fields) {
50559
50560
  add("--help", { action: "help", text: "Prints this help." });
50560
50561
  add("--dry-run", {
50561
50562
  action: "dry-run",
50562
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
50563
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
50563
50564
  });
50564
50565
  return flags;
50565
50566
  }
@@ -61305,6 +61306,7 @@ var STREAM_SUBJECT_PREFIXES = [
61305
61306
  `${EXCEPTION_TOPIC_PREFIX}${AGENT_TOPIC_PREFIX}`,
61306
61307
  `${EXCEPTION_TOPIC_PREFIX}notifications.team.`
61307
61308
  ];
61309
+ var STORED_TOPIC_KINDS = STREAM_SUBJECT_PREFIXES.filter((prefix) => !prefix.startsWith(EXCEPTION_TOPIC_PREFIX)).map((prefix) => prefix.slice("notifications.".length, -1));
61308
61310
  function streamStores(topic) {
61309
61311
  return STREAM_SUBJECT_PREFIXES.some((prefix) => topic.length > prefix.length && topic.startsWith(prefix));
61310
61312
  }
@@ -66436,7 +66438,7 @@ function allowedAPIURL(value) {
66436
66438
  var SESSION_STATE_GUIDE = "A session is live, unresponsive or gone, by how long ago it last registered: live within 5 " + "minutes, unresponsive after that and within an hour, gone past the hour or with no record at " + `all. ${UNRESPONSIVE_RULE} A session named with no state is live. A send answered with state ` + "stopped means that session is not running: the message is stored for it and reaches it if " + `it runs again within ${DELIVERY_DUPLICATE_WINDOW_HOURS} hours, and nothing of its claims changes.`;
66437
66439
  var DELIVERY_CONTRACT = "Delivery is at-least-once, possibly out of order across topics; use id for dedupe and at for freshness.";
66438
66440
  var PUBLISH_COUNTS = "The answer counts who gets it: recipients is every session other than you that the message " + `goes to, one that is stopped and gets it when it runs again within ${DELIVERY_DUPLICATE_WINDOW_HOURS} hours included, and ` + "recipients_connected is how many of those are running now. A listener that counts neither " + "sends neither, and a role topic names its holder instead.";
66439
- var STORED_DELIVERY = "Every notification topic is stored (agent, dispatch, github, slack, legion, ghostwispr, " + "whatsapp, team; a role message reaches its holder as a stored copy on the holder's agent " + "topic), and reaches each subscribed session once from the durable consumer its listener " + "relays to it, also one that was away or restarted. A 200 means the stream stored the message " + "for each subscribed session's consumer, not that any recipient has read it.";
66441
+ var STORED_DELIVERY = `Every notification topic is stored (${STORED_TOPIC_KINDS.join(", ")}; a role message reaches ` + "its holder as a stored copy on the holder's agent topic), and reaches each subscribed session " + "once from the durable consumer its listener relays to it, also one that was away or restarted. " + "A 200 means the stream stored the message for each subscribed session's consumer, not that any " + "recipient has read it.";
66440
66442
  var NOT_SENT_GUIDE = "An error that says the message was not sent means nothing was stored, so the same message may " + "be sent again later.";
66441
66443
  var TOPIC_GUIDE = "Topic guide (all are under notifications.): agent.<session_id> (subscribe: own inbox); role.<role> " + "(publish-to; holders claim via envoy_role_set). > matches one or more trailing tokens and does not " + "match the base subject. Envoy registers the concrete base when you subscribe to <subject>.>, so " + "the recommended default remains github.<owner>.<repo>.pr.<n>.>. <owner> and <repo> are one token " + "each, with every dot in the name written _ (sjawhar/.github is github.sjawhar._github; " + "acme/site.io is github.acme.site_io), and a topic spelled with the dot receives nothing. " + "Default PR subscription: " + "github.<owner>.<repo>.pr.<n>.> (it receives the quiet PR family): pr.<n> (lifecycle: " + "opened/synchronize/closed; closed carries merged, merge_commit_sha, merged_by, head_sha), " + "pr.<n>.comment, pr.<n>.review, pr.<n>.mention, pr.<n>.checks (one settlement event per commit whose checks settle, the head or not, naming its sha: " + "passed/failed/cancelled/skipped check runs with failing names and URLs, check_runs, each check's latest run as " + "{name, id, conclusion} with conclusion GitHub's own word for that run where one is recorded (for example " + "success, skipped, neutral or timed_out; a skipped check ran nothing on that commit), and statuses, each commit status as " + "{context, state, created_at} with state success, failure or error and created_at the time GitHub created it, " + "left out when none is recorded; for each context keep the entry with the later created_at, and keep a context " + 'that a settlement leaves out as it was; re-fires with superseded_settlement: "true" ' + "when new runs appear, or a commit status is new or changes state, for the same commit). Other GitHub: issue.<n>, issue.<n>.comment, " + "issue.<n>.mention, mention, push.branch.<name>, push.tag.<name>, workflow.<file>.<action> (only " + "runs without an associated PR); slack.<team>.<channel>.message|mention and " + "slack.<team>.<channel>.thread.<ts>.message|mention; ghostwispr.<session>.<kind>; " + "whatsapp.<phone>.<jid>.<kind>; envoy.exceptions.<original-topic>.";
66442
66444
  var URGENCY_VALUES = EnvelopeSchema.shape.urgency.unwrap().options;
@@ -66854,7 +66856,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
66854
66856
 
66855
66857
  // package.json
66856
66858
  var name2 = "@sjawhar/claude-envoy";
66857
- var version2 = "6.12.9";
66859
+ var version2 = "6.12.10";
66858
66860
  var package_default = {
66859
66861
  name: name2,
66860
66862
  version: version2,
@@ -23467,6 +23467,7 @@ function placeholder(info) {
23467
23467
  return info.kind.array === "string" ? "<text>" : "<n>";
23468
23468
  return "<text>";
23469
23469
  }
23470
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
23470
23471
  function flagTable(spec, fields) {
23471
23472
  const flags = new Map;
23472
23473
  const add = (flag, entry) => {
@@ -23553,7 +23554,7 @@ function flagTable(spec, fields) {
23553
23554
  add("--help", { action: "help", text: "Prints this help." });
23554
23555
  add("--dry-run", {
23555
23556
  action: "dry-run",
23556
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
23557
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
23557
23558
  });
23558
23559
  return flags;
23559
23560
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "6.12.9",
3
+ "version": "6.12.10",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",