@sjawhar/claude-envoy 5.21.0 → 5.23.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 -2
- package/dist/dispatch.js +3 -2
- package/dist/envoy-channel.js +13 -5
- package/dist/session-hook.js +3 -2
- package/package.json +2 -2
package/.omp-plugin/plugin.json
CHANGED
package/dist/codex-hook.js
CHANGED
|
@@ -14978,7 +14978,7 @@ var dispatchToolSpecs = [
|
|
|
14978
14978
|
{
|
|
14979
14979
|
name: "dispatch_whoami",
|
|
14980
14980
|
example: {},
|
|
14981
|
-
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or
|
|
14981
|
+
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or, for a broker token naming no person, the fleet its machine belongs to or the Kubernetes account an exchange entry lists, or null. A machine's broker token that names a service may read and is refused every write with SIGN_IN_REQUIRED, which names the command a person signs in on that machine with; an exchange entry's broker token that names its account writes, recorded under that account. project is the one project key your credential may write, or null when it names none.",
|
|
14982
14982
|
arguments: () => ({}),
|
|
14983
14983
|
strict: true
|
|
14984
14984
|
},
|
|
@@ -28939,7 +28939,8 @@ async function whoamiCommand(context) {
|
|
|
28939
28939
|
const project = identity.kind === "agent" ? identity.project ?? null : null;
|
|
28940
28940
|
const session = proved ?? sessionId;
|
|
28941
28941
|
const unowned = "no owner, so an issue you create without an assignee takes its parent's assignee when the parent is in the same project, else the project's default assignee, which every project names, so the issue always has one.";
|
|
28942
|
-
const
|
|
28942
|
+
const answered = identity.kind === "agent" ? identity.sign_in_required : undefined;
|
|
28943
|
+
const signInNeeded = answered ?? (owner === null && service !== null && proved !== null);
|
|
28943
28944
|
const acting = owner !== null ? `Session ${session} acts for ${owner}: issues you create without an assignee are assigned to ${owner}.` : service !== null ? signInNeeded ? `Session ${session} runs as service ${serviceSubjectLabel(service)} and no person, so it may read but Dispatch refuses every write it makes: run \`agent-secrets login\` on this machine to write as yourself.` : `Session ${session} runs as service ${serviceSubjectLabel(service)}: ${unowned}` : `Session ${session} runs under the shared token: ${unowned}`;
|
|
28944
28945
|
const elsewhere = proved !== null && proved !== sessionId ? ` Your credential names session ${proved}, which is not this host session (${sessionId}): Dispatch records every write you make as ${proved}.` : "";
|
|
28945
28946
|
const writable = project !== null ? ` It may write project ${project} and no other.` : "";
|
package/dist/dispatch.js
CHANGED
|
@@ -15582,7 +15582,7 @@ var dispatchToolSpecs = [
|
|
|
15582
15582
|
{
|
|
15583
15583
|
name: "dispatch_whoami",
|
|
15584
15584
|
example: {},
|
|
15585
|
-
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or
|
|
15585
|
+
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or, for a broker token naming no person, the fleet its machine belongs to or the Kubernetes account an exchange entry lists, or null. A machine's broker token that names a service may read and is refused every write with SIGN_IN_REQUIRED, which names the command a person signs in on that machine with; an exchange entry's broker token that names its account writes, recorded under that account. project is the one project key your credential may write, or null when it names none.",
|
|
15586
15586
|
arguments: () => ({}),
|
|
15587
15587
|
strict: true
|
|
15588
15588
|
},
|
|
@@ -33884,7 +33884,8 @@ async function whoamiCommand(context) {
|
|
|
33884
33884
|
const project = identity.kind === "agent" ? identity.project ?? null : null;
|
|
33885
33885
|
const session = proved ?? sessionId;
|
|
33886
33886
|
const unowned = "no owner, so an issue you create without an assignee takes its parent's assignee when the parent is in the same project, else the project's default assignee, which every project names, so the issue always has one.";
|
|
33887
|
-
const
|
|
33887
|
+
const answered = identity.kind === "agent" ? identity.sign_in_required : undefined;
|
|
33888
|
+
const signInNeeded = answered ?? (owner === null && service !== null && proved !== null);
|
|
33888
33889
|
const acting = owner !== null ? `Session ${session} acts for ${owner}: issues you create without an assignee are assigned to ${owner}.` : service !== null ? signInNeeded ? `Session ${session} runs as service ${serviceSubjectLabel(service)} and no person, so it may read but Dispatch refuses every write it makes: run \`agent-secrets login\` on this machine to write as yourself.` : `Session ${session} runs as service ${serviceSubjectLabel(service)}: ${unowned}` : `Session ${session} runs under the shared token: ${unowned}`;
|
|
33889
33890
|
const elsewhere = proved !== null && proved !== sessionId ? ` Your credential names session ${proved}, which is not this host session (${sessionId}): Dispatch records every write you make as ${proved}.` : "";
|
|
33890
33891
|
const writable = project !== null ? ` It may write project ${project} and no other.` : "";
|
package/dist/envoy-channel.js
CHANGED
|
@@ -37778,7 +37778,7 @@ var dispatchToolSpecs = [
|
|
|
37778
37778
|
{
|
|
37779
37779
|
name: "dispatch_whoami",
|
|
37780
37780
|
example: {},
|
|
37781
|
-
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or
|
|
37781
|
+
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or, for a broker token naming no person, the fleet its machine belongs to or the Kubernetes account an exchange entry lists, or null. A machine's broker token that names a service may read and is refused every write with SIGN_IN_REQUIRED, which names the command a person signs in on that machine with; an exchange entry's broker token that names its account writes, recorded under that account. project is the one project key your credential may write, or null when it names none.",
|
|
37782
37782
|
arguments: () => ({}),
|
|
37783
37783
|
strict: true
|
|
37784
37784
|
},
|
|
@@ -56167,7 +56167,8 @@ async function whoamiCommand(context) {
|
|
|
56167
56167
|
const project = identity.kind === "agent" ? identity.project ?? null : null;
|
|
56168
56168
|
const session = proved ?? sessionId;
|
|
56169
56169
|
const unowned = "no owner, so an issue you create without an assignee takes its parent's assignee when the parent is in the same project, else the project's default assignee, which every project names, so the issue always has one.";
|
|
56170
|
-
const
|
|
56170
|
+
const answered = identity.kind === "agent" ? identity.sign_in_required : undefined;
|
|
56171
|
+
const signInNeeded = answered ?? (owner === null && service !== null && proved !== null);
|
|
56171
56172
|
const acting = owner !== null ? `Session ${session} acts for ${owner}: issues you create without an assignee are assigned to ${owner}.` : service !== null ? signInNeeded ? `Session ${session} runs as service ${serviceSubjectLabel(service)} and no person, so it may read but Dispatch refuses every write it makes: run \`agent-secrets login\` on this machine to write as yourself.` : `Session ${session} runs as service ${serviceSubjectLabel(service)}: ${unowned}` : `Session ${session} runs under the shared token: ${unowned}`;
|
|
56172
56173
|
const elsewhere = proved !== null && proved !== sessionId ? ` Your credential names session ${proved}, which is not this host session (${sessionId}): Dispatch records every write you make as ${proved}.` : "";
|
|
56173
56174
|
const writable = project !== null ? ` It may write project ${project} and no other.` : "";
|
|
@@ -62783,9 +62784,9 @@ var import_nats5 = __toESM(require_mod4(), 1);
|
|
|
62783
62784
|
|
|
62784
62785
|
// package.json
|
|
62785
62786
|
var name2 = "@sjawhar/claude-envoy";
|
|
62786
|
-
var version2 = "5.
|
|
62787
|
+
var version2 = "5.23.0";
|
|
62787
62788
|
var legion = {
|
|
62788
|
-
daemonApiVersion:
|
|
62789
|
+
daemonApiVersion: 246
|
|
62789
62790
|
};
|
|
62790
62791
|
var package_default = {
|
|
62791
62792
|
name: name2,
|
|
@@ -64574,6 +64575,12 @@ var legionAssignment = object({
|
|
|
64574
64575
|
drawnAt: timestamp.optional(),
|
|
64575
64576
|
plan: nonEmptyString2.optional()
|
|
64576
64577
|
});
|
|
64578
|
+
var legionPodHold = object({
|
|
64579
|
+
reason: nonEmptyString2.optional(),
|
|
64580
|
+
firstAt: timestamp.optional(),
|
|
64581
|
+
at: timestamp.optional(),
|
|
64582
|
+
detail: nonEmptyString2.optional()
|
|
64583
|
+
});
|
|
64577
64584
|
var legionIssue = object({
|
|
64578
64585
|
key: nonEmptyString2.optional(),
|
|
64579
64586
|
generation: number2().int().nonnegative().optional(),
|
|
@@ -64607,7 +64614,8 @@ var legionIssue = object({
|
|
|
64607
64614
|
architectStalls: array(_enum2(["took-nothing", "claim-unreachable", "slow-before-gate"])).optional(),
|
|
64608
64615
|
treeMovedAt: timestamp.optional(),
|
|
64609
64616
|
quietHours: number2().nonnegative().optional(),
|
|
64610
|
-
assignments: array(legionAssignment).optional()
|
|
64617
|
+
assignments: array(legionAssignment).optional(),
|
|
64618
|
+
podHold: legionPodHold.optional()
|
|
64611
64619
|
});
|
|
64612
64620
|
var daemonInfo = object({
|
|
64613
64621
|
project: nonEmptyString2.optional(),
|
package/dist/session-hook.js
CHANGED
|
@@ -18428,7 +18428,7 @@ var dispatchToolSpecs = [
|
|
|
18428
18428
|
{
|
|
18429
18429
|
name: "dispatch_whoami",
|
|
18430
18430
|
example: {},
|
|
18431
|
-
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or
|
|
18431
|
+
description: "Who Dispatch takes this session for: {session, owner, service, project}. session is the session Dispatch records your writes as. It is the session your credential proved, and the tool says so when that is not the session you run in. owner is the lowercase email of the person you act for, and is the first choice of assignee for issues you create. owner is null under the shared token and under a broker token that names a service and no person. With a null owner, a create with no assignee falls back to the parent's assignee, when the parent is in the issue's own project, and then to the project's default assignee, which every project names, so every issue you create has an assignee. A question on an issue reaches the person it was handed to, else the issue's assignee, else the project's default assignee. service is the subject of the verified service-account token that authenticated you, or, for a broker token naming no person, the fleet its machine belongs to or the Kubernetes account an exchange entry lists, or null. A machine's broker token that names a service may read and is refused every write with SIGN_IN_REQUIRED, which names the command a person signs in on that machine with; an exchange entry's broker token that names its account writes, recorded under that account. project is the one project key your credential may write, or null when it names none.",
|
|
18432
18432
|
arguments: () => ({}),
|
|
18433
18433
|
strict: true
|
|
18434
18434
|
},
|
|
@@ -31739,7 +31739,8 @@ async function whoamiCommand(context) {
|
|
|
31739
31739
|
const project = identity.kind === "agent" ? identity.project ?? null : null;
|
|
31740
31740
|
const session = proved ?? sessionId;
|
|
31741
31741
|
const unowned = "no owner, so an issue you create without an assignee takes its parent's assignee when the parent is in the same project, else the project's default assignee, which every project names, so the issue always has one.";
|
|
31742
|
-
const
|
|
31742
|
+
const answered = identity.kind === "agent" ? identity.sign_in_required : undefined;
|
|
31743
|
+
const signInNeeded = answered ?? (owner === null && service !== null && proved !== null);
|
|
31743
31744
|
const acting = owner !== null ? `Session ${session} acts for ${owner}: issues you create without an assignee are assigned to ${owner}.` : service !== null ? signInNeeded ? `Session ${session} runs as service ${serviceSubjectLabel(service)} and no person, so it may read but Dispatch refuses every write it makes: run \`agent-secrets login\` on this machine to write as yourself.` : `Session ${session} runs as service ${serviceSubjectLabel(service)}: ${unowned}` : `Session ${session} runs under the shared token: ${unowned}`;
|
|
31744
31745
|
const elsewhere = proved !== null && proved !== sessionId ? ` Your credential names session ${proved}, which is not this host session (${sessionId}): Dispatch records every write you make as ${proved}.` : "";
|
|
31745
31746
|
const writable = project !== null ? ` It may write project ${project} and no other.` : "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjawhar/claude-envoy",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.23.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Claude Code plugin for Legion's Envoy bus",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"AGENTS.md"
|
|
20
20
|
],
|
|
21
21
|
"legion": {
|
|
22
|
-
"daemonApiVersion":
|
|
22
|
+
"daemonApiVersion": 246
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|