@sjawhar/claude-envoy 6.12.9 → 6.13.0

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.13.0"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "6.12.9",
3
+ "version": "6.13.0",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -13950,7 +13950,9 @@ var replyBlockFields = {
13950
13950
  text: string2(),
13951
13951
  removed: boolean2(),
13952
13952
  edited_at: string2().optional(),
13953
- deleted_at: string2().optional()
13953
+ deleted_at: string2().optional(),
13954
+ quote: string2().optional(),
13955
+ occurrence: number2().int().optional()
13954
13956
  };
13955
13957
  var DocumentActorSchema = object({
13956
13958
  kind: string2(),
@@ -20083,6 +20085,7 @@ function placeholder(info) {
20083
20085
  return info.kind.array === "string" ? "<text>" : "<n>";
20084
20086
  return "<text>";
20085
20087
  }
20088
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
20086
20089
  function flagTable(spec, fields) {
20087
20090
  const flags = new Map;
20088
20091
  const add = (flag, entry) => {
@@ -20169,7 +20172,7 @@ function flagTable(spec, fields) {
20169
20172
  add("--help", { action: "help", text: "Prints this help." });
20170
20173
  add("--dry-run", {
20171
20174
  action: "dry-run",
20172
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
20175
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
20173
20176
  });
20174
20177
  return flags;
20175
20178
  }
package/dist/dispatch.js CHANGED
@@ -14550,7 +14550,9 @@ var replyBlockFields = {
14550
14550
  text: string2(),
14551
14551
  removed: boolean2(),
14552
14552
  edited_at: string2().optional(),
14553
- deleted_at: string2().optional()
14553
+ deleted_at: string2().optional(),
14554
+ quote: string2().optional(),
14555
+ occurrence: number2().int().optional()
14554
14556
  };
14555
14557
  var DocumentActorSchema = object({
14556
14558
  kind: string2(),
@@ -21191,6 +21193,7 @@ function placeholder(info) {
21191
21193
  return info.kind.array === "string" ? "<text>" : "<n>";
21192
21194
  return "<text>";
21193
21195
  }
21196
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
21194
21197
  function flagTable(spec, fields) {
21195
21198
  const flags = new Map;
21196
21199
  const add = (flag, entry) => {
@@ -21277,7 +21280,7 @@ function flagTable(spec, fields) {
21277
21280
  add("--help", { action: "help", text: "Prints this help." });
21278
21281
  add("--dry-run", {
21279
21282
  action: "dry-run",
21280
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
21283
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
21281
21284
  });
21282
21285
  return flags;
21283
21286
  }
@@ -39866,6 +39869,7 @@ var STREAM_SUBJECT_PREFIXES = [
39866
39869
  `${EXCEPTION_TOPIC_PREFIX}${AGENT_TOPIC_PREFIX}`,
39867
39870
  `${EXCEPTION_TOPIC_PREFIX}notifications.team.`
39868
39871
  ];
39872
+ var STORED_TOPIC_KINDS = STREAM_SUBJECT_PREFIXES.filter((prefix) => !prefix.startsWith(EXCEPTION_TOPIC_PREFIX)).map((prefix) => prefix.slice("notifications.".length, -1));
39869
39873
  function streamStores(topic) {
39870
39874
  return STREAM_SUBJECT_PREFIXES.some((prefix) => topic.length > prefix.length && topic.startsWith(prefix));
39871
39875
  }
@@ -36750,7 +36750,9 @@ var replyBlockFields = {
36750
36750
  text: string2(),
36751
36751
  removed: boolean2(),
36752
36752
  edited_at: string2().optional(),
36753
- deleted_at: string2().optional()
36753
+ deleted_at: string2().optional(),
36754
+ quote: string2().optional(),
36755
+ occurrence: number2().int().optional()
36754
36756
  };
36755
36757
  var DocumentActorSchema = object({
36756
36758
  kind: string2(),
@@ -50473,6 +50475,7 @@ function placeholder(info) {
50473
50475
  return info.kind.array === "string" ? "<text>" : "<n>";
50474
50476
  return "<text>";
50475
50477
  }
50478
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
50476
50479
  function flagTable(spec, fields) {
50477
50480
  const flags = new Map;
50478
50481
  const add = (flag, entry) => {
@@ -50559,7 +50562,7 @@ function flagTable(spec, fields) {
50559
50562
  add("--help", { action: "help", text: "Prints this help." });
50560
50563
  add("--dry-run", {
50561
50564
  action: "dry-run",
50562
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
50565
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
50563
50566
  });
50564
50567
  return flags;
50565
50568
  }
@@ -61305,6 +61308,7 @@ var STREAM_SUBJECT_PREFIXES = [
61305
61308
  `${EXCEPTION_TOPIC_PREFIX}${AGENT_TOPIC_PREFIX}`,
61306
61309
  `${EXCEPTION_TOPIC_PREFIX}notifications.team.`
61307
61310
  ];
61311
+ var STORED_TOPIC_KINDS = STREAM_SUBJECT_PREFIXES.filter((prefix) => !prefix.startsWith(EXCEPTION_TOPIC_PREFIX)).map((prefix) => prefix.slice("notifications.".length, -1));
61308
61312
  function streamStores(topic) {
61309
61313
  return STREAM_SUBJECT_PREFIXES.some((prefix) => topic.length > prefix.length && topic.startsWith(prefix));
61310
61314
  }
@@ -66436,7 +66440,7 @@ function allowedAPIURL(value) {
66436
66440
  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
66441
  var DELIVERY_CONTRACT = "Delivery is at-least-once, possibly out of order across topics; use id for dedupe and at for freshness.";
66438
66442
  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.";
66443
+ 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
66444
  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
66445
  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
66446
  var URGENCY_VALUES = EnvelopeSchema.shape.urgency.unwrap().options;
@@ -66854,7 +66858,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
66854
66858
 
66855
66859
  // package.json
66856
66860
  var name2 = "@sjawhar/claude-envoy";
66857
- var version2 = "6.12.9";
66861
+ var version2 = "6.13.0";
66858
66862
  var package_default = {
66859
66863
  name: name2,
66860
66864
  version: version2,
@@ -17537,7 +17537,9 @@ var replyBlockFields = {
17537
17537
  text: string2(),
17538
17538
  removed: boolean2(),
17539
17539
  edited_at: string2().optional(),
17540
- deleted_at: string2().optional()
17540
+ deleted_at: string2().optional(),
17541
+ quote: string2().optional(),
17542
+ occurrence: number2().int().optional()
17541
17543
  };
17542
17544
  var DocumentActorSchema = object({
17543
17545
  kind: string2(),
@@ -23467,6 +23469,7 @@ function placeholder(info) {
23467
23469
  return info.kind.array === "string" ? "<text>" : "<n>";
23468
23470
  return "<text>";
23469
23471
  }
23472
+ var DRY_RUN_HELP = "Checks the arguments as the call would, then prints them as JSON and sends nothing.";
23470
23473
  function flagTable(spec, fields) {
23471
23474
  const flags = new Map;
23472
23475
  const add = (flag, entry) => {
@@ -23553,7 +23556,7 @@ function flagTable(spec, fields) {
23553
23556
  add("--help", { action: "help", text: "Prints this help." });
23554
23557
  add("--dry-run", {
23555
23558
  action: "dry-run",
23556
- text: spec.dryRunHelp ?? "Checks the arguments as the call would, then prints them as JSON and sends nothing."
23559
+ text: spec.dryRunHelp ?? DRY_RUN_HELP
23557
23560
  });
23558
23561
  return flags;
23559
23562
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "6.12.9",
3
+ "version": "6.13.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",