@sjawhar/claude-envoy 6.12.8 → 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.
- package/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/dist/codex-hook.js +2 -1
- package/dist/dispatch.js +3 -1
- package/dist/envoy-channel.js +9 -10
- package/dist/session-hook.js +2 -1
- package/package.json +2 -2
package/.omp-plugin/plugin.json
CHANGED
package/dist/codex-hook.js
CHANGED
|
@@ -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 ??
|
|
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 ??
|
|
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
|
}
|
package/dist/envoy-channel.js
CHANGED
|
@@ -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 ??
|
|
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 =
|
|
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.
|
|
66859
|
+
var version2 = "6.12.10";
|
|
66858
66860
|
var package_default = {
|
|
66859
66861
|
name: name2,
|
|
66860
66862
|
version: version2,
|
|
@@ -66865,7 +66867,7 @@ var package_default = {
|
|
|
66865
66867
|
repository: { type: "git", url: "https://github.com/cybermonklabs/legion" },
|
|
66866
66868
|
scripts: { channel: "bun bin/envoy-channel.ts", "verify-build": "bash scripts/verify-build.sh", prepack: "bash scripts/pack-skills.sh", postpack: "bash scripts/pack-skills.sh --restore", typecheck: "bun ../contracts/scripts/gen-api.ts && bunx tsc --noEmit", test: "bun test --timeout=60000", lint: "bunx biome check src/ hooks/ scripts/" },
|
|
66867
66869
|
devDependencies: { "@biomejs/biome": "^2.3.14", "@legion/cipher-client": "workspace:*", "@legion/contracts": "workspace:*", "@legion/envoy-client": "workspace:*", "@legion/pi-shared": "workspace:*", "@legion/test-fixtures": "workspace:*", "@modelcontextprotocol/sdk": "^1.30.0", "bun-types": "latest", nats: "^2.29.2", typescript: "^5.3.0", zod: "4.3.6" },
|
|
66868
|
-
legion: { daemonApiVersion:
|
|
66870
|
+
legion: { daemonApiVersion: 286 }
|
|
66869
66871
|
};
|
|
66870
66872
|
|
|
66871
66873
|
// ../pi-shared/src/agent-stream.ts
|
|
@@ -68613,8 +68615,7 @@ var legionGatedStepView = object({
|
|
|
68613
68615
|
});
|
|
68614
68616
|
var legionSlotView = object({
|
|
68615
68617
|
index: number2().int().nonnegative().optional(),
|
|
68616
|
-
admittedAt: timestamp.optional()
|
|
68617
|
-
lentTo: issueKey.optional()
|
|
68618
|
+
admittedAt: timestamp.optional()
|
|
68618
68619
|
});
|
|
68619
68620
|
var legionWaitingLineView = object({
|
|
68620
68621
|
place: number2().int().positive().optional(),
|
|
@@ -68817,8 +68818,7 @@ var legionAdmission = object({
|
|
|
68817
68818
|
waiting: array(nonEmptyString2).optional(),
|
|
68818
68819
|
trees: array(issueKey).optional(),
|
|
68819
68820
|
blocked: array(legionBlockedIssue).optional(),
|
|
68820
|
-
held: array(legionHeldIssue).optional()
|
|
68821
|
-
free: number2().int().nonnegative().optional()
|
|
68821
|
+
held: array(legionHeldIssue).optional()
|
|
68822
68822
|
});
|
|
68823
68823
|
var legionControllerLocator = object({
|
|
68824
68824
|
runtime: _enum2(["tmux", "kubernetes"]).optional(),
|
|
@@ -69424,8 +69424,7 @@ var ISSUE_RECORD_READS = [
|
|
|
69424
69424
|
"gatedSteps[].basis.version",
|
|
69425
69425
|
"slot",
|
|
69426
69426
|
"slot.index",
|
|
69427
|
-
"slot.admittedAt"
|
|
69428
|
-
"slot.lentTo"
|
|
69427
|
+
"slot.admittedAt"
|
|
69429
69428
|
];
|
|
69430
69429
|
var LEGION_ANSWER_READS = {
|
|
69431
69430
|
LegionStateResponse: [
|
package/dist/session-hook.js
CHANGED
|
@@ -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 ??
|
|
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.
|
|
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",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
"zod": "4.3.6"
|
|
46
46
|
},
|
|
47
47
|
"legion": {
|
|
48
|
-
"daemonApiVersion":
|
|
48
|
+
"daemonApiVersion": 286
|
|
49
49
|
}
|
|
50
50
|
}
|