@sjawhar/claude-envoy 6.9.0 → 6.11.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.
- package/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/dist/codex-hook.js +3 -3
- package/dist/dispatch.js +3 -3
- package/dist/envoy-channel.js +4 -4
- package/dist/session-hook.js +3 -3
- package/legion/skills/legion-controller/references/backlog-stewardship.md +1 -1
- package/package.json +1 -1
package/.omp-plugin/plugin.json
CHANGED
package/dist/codex-hook.js
CHANGED
|
@@ -13735,7 +13735,7 @@ var ActorOriginSchema = strictObject({
|
|
|
13735
13735
|
pane: string2().optional(),
|
|
13736
13736
|
session_title: string2().optional()
|
|
13737
13737
|
}).readonly();
|
|
13738
|
-
var DISPATCH_SCOPES = ["person", "approve"];
|
|
13738
|
+
var DISPATCH_SCOPES = ["person", "approve", "p0"];
|
|
13739
13739
|
var ActorActSchema = strictObject({
|
|
13740
13740
|
session: string2().optional(),
|
|
13741
13741
|
session_proven: literal(true).optional(),
|
|
@@ -14599,7 +14599,7 @@ var dispatchToolSpecs = [
|
|
|
14599
14599
|
force: z.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
|
|
14600
14600
|
spec: z.string().describe(`Optional initial primary-document markdown. ${SPEC_WRITING_POINTER}`).optional(),
|
|
14601
14601
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Optional initial labels, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters.`).optional(),
|
|
14602
|
-
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority
|
|
14602
|
+
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority from 0 (P0, highest) to 3 (P3, lowest). Setting 0 needs the p0 scope.").optional(),
|
|
14603
14603
|
assignee: z.string().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); defaults to your owner when you act for a person, else the parent's assignee, else the project's default assignee. Every project names a default assignee, so a new issue always has one. A parent in another project passes on no assignee. A question on it reaches the person it was handed to, else the issue's assignee, else the project's default assignee. Set it only when a person said who owns the issue.").optional(),
|
|
14604
14604
|
components: componentsArgument(z).optional(),
|
|
14605
14605
|
repo: z.string().describe("The repository the issue targets, owner/name. When unset, the issue takes the nearest ancestor's in its own project, and an issue with none above it in its own project takes the project's default.").optional()
|
|
@@ -14623,7 +14623,7 @@ var dispatchToolSpecs = [
|
|
|
14623
14623
|
title: z.string({ min: 1, max: ISSUE_TITLE_MAX }).describe("Replacement title, at most 1,000 characters.").optional(),
|
|
14624
14624
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Replacement label set, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters; replaces every existing label, so a label it does not name is removed. To add labels and keep the others, use labels_add. Not with labels_add.`).optional(),
|
|
14625
14625
|
labels_add: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Labels to add, at most ${MAX_ISSUE_LABELS} of up to ${ISSUE_LABEL_MAX} characters: each is added to the labels the issue holds when the write lands, and every label it holds stays; the issue holds at most ${MAX_ISSUE_LABELS} in all. Not with labels.`).optional(),
|
|
14626
|
-
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority
|
|
14626
|
+
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority from 0 (P0, highest) to 3 (P3, lowest), or null to clear it. Setting 0 needs the p0 scope, unless the issue's own priority is 0 already."),
|
|
14627
14627
|
assignee: z.string().nullable().optional().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); null unassigns the issue, and every ask on it then waits on the project's default assignee. Set it only when a person said who owns the issue, never to move a question off the person holding it."),
|
|
14628
14628
|
external_links: z.array(z.string({ min: 1 })).describe("URLs to link; a non-empty list merges into the issue's existing external links by URL, an empty list removes every link instead.").optional(),
|
|
14629
14629
|
route: z.string().describe("Route the issue to role:<name> or session:<id>; an empty string clears it.").optional(),
|
package/dist/dispatch.js
CHANGED
|
@@ -14335,7 +14335,7 @@ var ActorOriginSchema = strictObject({
|
|
|
14335
14335
|
pane: string2().optional(),
|
|
14336
14336
|
session_title: string2().optional()
|
|
14337
14337
|
}).readonly();
|
|
14338
|
-
var DISPATCH_SCOPES = ["person", "approve"];
|
|
14338
|
+
var DISPATCH_SCOPES = ["person", "approve", "p0"];
|
|
14339
14339
|
var ActorActSchema = strictObject({
|
|
14340
14340
|
session: string2().optional(),
|
|
14341
14341
|
session_proven: literal(true).optional(),
|
|
@@ -15199,7 +15199,7 @@ var dispatchToolSpecs = [
|
|
|
15199
15199
|
force: z.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
|
|
15200
15200
|
spec: z.string().describe(`Optional initial primary-document markdown. ${SPEC_WRITING_POINTER}`).optional(),
|
|
15201
15201
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Optional initial labels, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters.`).optional(),
|
|
15202
|
-
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority
|
|
15202
|
+
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority from 0 (P0, highest) to 3 (P3, lowest). Setting 0 needs the p0 scope.").optional(),
|
|
15203
15203
|
assignee: z.string().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); defaults to your owner when you act for a person, else the parent's assignee, else the project's default assignee. Every project names a default assignee, so a new issue always has one. A parent in another project passes on no assignee. A question on it reaches the person it was handed to, else the issue's assignee, else the project's default assignee. Set it only when a person said who owns the issue.").optional(),
|
|
15204
15204
|
components: componentsArgument(z).optional(),
|
|
15205
15205
|
repo: z.string().describe("The repository the issue targets, owner/name. When unset, the issue takes the nearest ancestor's in its own project, and an issue with none above it in its own project takes the project's default.").optional()
|
|
@@ -15223,7 +15223,7 @@ var dispatchToolSpecs = [
|
|
|
15223
15223
|
title: z.string({ min: 1, max: ISSUE_TITLE_MAX }).describe("Replacement title, at most 1,000 characters.").optional(),
|
|
15224
15224
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Replacement label set, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters; replaces every existing label, so a label it does not name is removed. To add labels and keep the others, use labels_add. Not with labels_add.`).optional(),
|
|
15225
15225
|
labels_add: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Labels to add, at most ${MAX_ISSUE_LABELS} of up to ${ISSUE_LABEL_MAX} characters: each is added to the labels the issue holds when the write lands, and every label it holds stays; the issue holds at most ${MAX_ISSUE_LABELS} in all. Not with labels.`).optional(),
|
|
15226
|
-
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority
|
|
15226
|
+
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority from 0 (P0, highest) to 3 (P3, lowest), or null to clear it. Setting 0 needs the p0 scope, unless the issue's own priority is 0 already."),
|
|
15227
15227
|
assignee: z.string().nullable().optional().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); null unassigns the issue, and every ask on it then waits on the project's default assignee. Set it only when a person said who owns the issue, never to move a question off the person holding it."),
|
|
15228
15228
|
external_links: z.array(z.string({ min: 1 })).describe("URLs to link; a non-empty list merges into the issue's existing external links by URL, an empty list removes every link instead.").optional(),
|
|
15229
15229
|
route: z.string().describe("Route the issue to role:<name> or session:<id>; an empty string clears it.").optional(),
|
package/dist/envoy-channel.js
CHANGED
|
@@ -36535,7 +36535,7 @@ var ActorOriginSchema = strictObject({
|
|
|
36535
36535
|
pane: string2().optional(),
|
|
36536
36536
|
session_title: string2().optional()
|
|
36537
36537
|
}).readonly();
|
|
36538
|
-
var DISPATCH_SCOPES = ["person", "approve"];
|
|
36538
|
+
var DISPATCH_SCOPES = ["person", "approve", "p0"];
|
|
36539
36539
|
var ActorActSchema = strictObject({
|
|
36540
36540
|
session: string2().optional(),
|
|
36541
36541
|
session_proven: literal(true).optional(),
|
|
@@ -37399,7 +37399,7 @@ var dispatchToolSpecs = [
|
|
|
37399
37399
|
force: z.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
|
|
37400
37400
|
spec: z.string().describe(`Optional initial primary-document markdown. ${SPEC_WRITING_POINTER}`).optional(),
|
|
37401
37401
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Optional initial labels, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters.`).optional(),
|
|
37402
|
-
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority
|
|
37402
|
+
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority from 0 (P0, highest) to 3 (P3, lowest). Setting 0 needs the p0 scope.").optional(),
|
|
37403
37403
|
assignee: z.string().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); defaults to your owner when you act for a person, else the parent's assignee, else the project's default assignee. Every project names a default assignee, so a new issue always has one. A parent in another project passes on no assignee. A question on it reaches the person it was handed to, else the issue's assignee, else the project's default assignee. Set it only when a person said who owns the issue.").optional(),
|
|
37404
37404
|
components: componentsArgument(z).optional(),
|
|
37405
37405
|
repo: z.string().describe("The repository the issue targets, owner/name. When unset, the issue takes the nearest ancestor's in its own project, and an issue with none above it in its own project takes the project's default.").optional()
|
|
@@ -37423,7 +37423,7 @@ var dispatchToolSpecs = [
|
|
|
37423
37423
|
title: z.string({ min: 1, max: ISSUE_TITLE_MAX }).describe("Replacement title, at most 1,000 characters.").optional(),
|
|
37424
37424
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Replacement label set, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters; replaces every existing label, so a label it does not name is removed. To add labels and keep the others, use labels_add. Not with labels_add.`).optional(),
|
|
37425
37425
|
labels_add: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Labels to add, at most ${MAX_ISSUE_LABELS} of up to ${ISSUE_LABEL_MAX} characters: each is added to the labels the issue holds when the write lands, and every label it holds stays; the issue holds at most ${MAX_ISSUE_LABELS} in all. Not with labels.`).optional(),
|
|
37426
|
-
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority
|
|
37426
|
+
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority from 0 (P0, highest) to 3 (P3, lowest), or null to clear it. Setting 0 needs the p0 scope, unless the issue's own priority is 0 already."),
|
|
37427
37427
|
assignee: z.string().nullable().optional().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); null unassigns the issue, and every ask on it then waits on the project's default assignee. Set it only when a person said who owns the issue, never to move a question off the person holding it."),
|
|
37428
37428
|
external_links: z.array(z.string({ min: 1 })).describe("URLs to link; a non-empty list merges into the issue's existing external links by URL, an empty list removes every link instead.").optional(),
|
|
37429
37429
|
route: z.string().describe("Route the issue to role:<name> or session:<id>; an empty string clears it.").optional(),
|
|
@@ -66668,7 +66668,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
|
|
|
66668
66668
|
|
|
66669
66669
|
// package.json
|
|
66670
66670
|
var name2 = "@sjawhar/claude-envoy";
|
|
66671
|
-
var version2 = "6.
|
|
66671
|
+
var version2 = "6.11.0";
|
|
66672
66672
|
var package_default = {
|
|
66673
66673
|
name: name2,
|
|
66674
66674
|
version: version2,
|
package/dist/session-hook.js
CHANGED
|
@@ -17339,7 +17339,7 @@ var ActorOriginSchema = strictObject({
|
|
|
17339
17339
|
pane: string2().optional(),
|
|
17340
17340
|
session_title: string2().optional()
|
|
17341
17341
|
}).readonly();
|
|
17342
|
-
var DISPATCH_SCOPES = ["person", "approve"];
|
|
17342
|
+
var DISPATCH_SCOPES = ["person", "approve", "p0"];
|
|
17343
17343
|
var ActorActSchema = strictObject({
|
|
17344
17344
|
session: string2().optional(),
|
|
17345
17345
|
session_proven: literal(true).optional(),
|
|
@@ -18203,7 +18203,7 @@ var dispatchToolSpecs = [
|
|
|
18203
18203
|
force: z.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
|
|
18204
18204
|
spec: z.string().describe(`Optional initial primary-document markdown. ${SPEC_WRITING_POINTER}`).optional(),
|
|
18205
18205
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Optional initial labels, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters.`).optional(),
|
|
18206
|
-
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority
|
|
18206
|
+
priority: z.number({ int: true, min: 0, max: 3 }).describe("Optional coarse priority from 0 (P0, highest) to 3 (P3, lowest). Setting 0 needs the p0 scope.").optional(),
|
|
18207
18207
|
assignee: z.string().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); defaults to your owner when you act for a person, else the parent's assignee, else the project's default assignee. Every project names a default assignee, so a new issue always has one. A parent in another project passes on no assignee. A question on it reaches the person it was handed to, else the issue's assignee, else the project's default assignee. Set it only when a person said who owns the issue.").optional(),
|
|
18208
18208
|
components: componentsArgument(z).optional(),
|
|
18209
18209
|
repo: z.string().describe("The repository the issue targets, owner/name. When unset, the issue takes the nearest ancestor's in its own project, and an issue with none above it in its own project takes the project's default.").optional()
|
|
@@ -18227,7 +18227,7 @@ var dispatchToolSpecs = [
|
|
|
18227
18227
|
title: z.string({ min: 1, max: ISSUE_TITLE_MAX }).describe("Replacement title, at most 1,000 characters.").optional(),
|
|
18228
18228
|
labels: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Replacement label set, at most ${MAX_ISSUE_LABELS} labels of up to ${ISSUE_LABEL_MAX} characters; replaces every existing label, so a label it does not name is removed. To add labels and keep the others, use labels_add. Not with labels_add.`).optional(),
|
|
18229
18229
|
labels_add: z.array(z.string({ min: 1, max: ISSUE_LABEL_MAX }), { max: MAX_ISSUE_LABELS }).describe(`Labels to add, at most ${MAX_ISSUE_LABELS} of up to ${ISSUE_LABEL_MAX} characters: each is added to the labels the issue holds when the write lands, and every label it holds stays; the issue holds at most ${MAX_ISSUE_LABELS} in all. Not with labels.`).optional(),
|
|
18230
|
-
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority
|
|
18230
|
+
priority: z.number({ int: true, min: 0, max: 3 }).nullable().optional().describe("Coarse priority from 0 (P0, highest) to 3 (P3, lowest), or null to clear it. Setting 0 needs the p0 scope, unless the issue's own priority is 0 already."),
|
|
18231
18231
|
assignee: z.string().nullable().optional().describe("Email of the person who answers this issue's asks (someone who has signed in to Dispatch); null unassigns the issue, and every ask on it then waits on the project's default assignee. Set it only when a person said who owns the issue, never to move a question off the person holding it."),
|
|
18232
18232
|
external_links: z.array(z.string({ min: 1 })).describe("URLs to link; a non-empty list merges into the issue's existing external links by URL, an empty list removes every link instead.").optional(),
|
|
18233
18233
|
route: z.string().describe("Route the issue to role:<name> or session:<id>; an empty string clears it.").optional(),
|
|
@@ -21,7 +21,7 @@ The pass keeps the order of the work aligned with the project's priorities. Run
|
|
|
21
21
|
|
|
22
22
|
1. Read the weekly-planning issue and its newest `plan-week-*` artifact (by its latest `artifact.version` event) before you change any issue.
|
|
23
23
|
2. Rank the plan by the deployment's priorities (`dispatch priorities --project <KEY>`). An issue takes the rank of the highest priority its `Advances:` line names, its own or inherited; an issue that advances none ranks below all. Order the plan's lines by rank, highest first, keeping the plan's order within a rank; a line that lists several issues takes its highest issue's rank. Move a line that breaks this order, unless a person asked for a different order of that work: then cite that request beside the line (a request to do the work is no request about its order). Name each move in your turn's summary.
|
|
24
|
-
3. For every plan line whose key has this project's prefix (`daemon.project`), make the board order match the line order exactly, from the plan alone: `dispatch issue-update --issue <KEY> --before <OTHER>` (or `--after`). Set
|
|
24
|
+
3. For every plan line whose key has this project's prefix (`daemon.project`), make the board order match the line order exactly, from the plan alone: `dispatch issue-update --issue <KEY> --before <OTHER>` (or `--after`). Set P0 only on the project owner's own words cited on the issue, never from a plan line alone (it skips the admission cap), and only with the `p0` credential your deployment instructions name, as priority 0 without it is refused `403 OAUTH_SCOPE_REQUIRED`; with none named, tell the owner to set P0 at a browser. Set any other priority a line states; leave it where it states none. Change the P0 bound (`set_p0_bound`, `clear_p0_bound`) only on a person's word, cited in its reason.
|
|
25
25
|
4. Reconcile the one-owner map. A `live` or `unresponsive` owner in `envoy_sessions` still owns its work: change nothing. Only an owner that reads `gone`, or that the registry has no record of, has no session. Route such unowned work to a session whose `dir` is a checkout of the issue's repository (`dispatch issue-update --issue <KEY> --route session:<session id>`) and `envoy_send` it `You own <KEY>: <title>.`. Never route an issue that carries the `legion` label, and never change its `Assignee:`, which decides who receives asks.
|
|
26
26
|
5. Edit that line's owner in the artifact with `dispatch doc-edit`, guarded by the token of the current `dispatch doc-read`, replacing superseded text rather than logging changes.
|
|
27
27
|
|