@sjawhar/claude-envoy 2.40.0 → 2.42.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": "2.40.0"
5
+ "version": "2.42.0"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "2.40.0",
3
+ "version": "2.42.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
  }
package/dist/dispatch.js CHANGED
@@ -14780,6 +14780,7 @@ var ActorOriginSchema = strictObject({
14780
14780
  var DISPATCH_SCOPES = ["person", "approve"];
14781
14781
  var ActorActSchema = strictObject({
14782
14782
  session: string2().optional(),
14783
+ session_proven: literal(true).optional(),
14783
14784
  token_id: string2().optional(),
14784
14785
  token_name: string2().optional(),
14785
14786
  scopes: array(_enum2(DISPATCH_SCOPES)).optional()
@@ -14788,7 +14789,8 @@ var ActorSchema = union([
14788
14789
  strictObject({
14789
14790
  kind: literal("user"),
14790
14791
  id: string2(),
14791
- act: ActorActSchema.optional()
14792
+ act: ActorActSchema.optional(),
14793
+ proven: literal(true).optional()
14792
14794
  }).readonly(),
14793
14795
  strictObject({
14794
14796
  kind: literal("session"),
@@ -14796,7 +14798,8 @@ var ActorSchema = union([
14796
14798
  origin: ActorOriginSchema.optional(),
14797
14799
  owner: string2().optional(),
14798
14800
  service: string2().optional(),
14799
- project: string2().optional()
14801
+ project: string2().optional(),
14802
+ proven: literal(true).optional()
14800
14803
  }).readonly(),
14801
14804
  strictObject({ kind: literal("system"), id: string2() }).readonly()
14802
14805
  ]);
@@ -36370,6 +36370,7 @@ var ActorOriginSchema = strictObject({
36370
36370
  var DISPATCH_SCOPES = ["person", "approve"];
36371
36371
  var ActorActSchema = strictObject({
36372
36372
  session: string2().optional(),
36373
+ session_proven: literal(true).optional(),
36373
36374
  token_id: string2().optional(),
36374
36375
  token_name: string2().optional(),
36375
36376
  scopes: array(_enum2(DISPATCH_SCOPES)).optional()
@@ -36378,7 +36379,8 @@ var ActorSchema = union([
36378
36379
  strictObject({
36379
36380
  kind: literal("user"),
36380
36381
  id: string2(),
36381
- act: ActorActSchema.optional()
36382
+ act: ActorActSchema.optional(),
36383
+ proven: literal(true).optional()
36382
36384
  }).readonly(),
36383
36385
  strictObject({
36384
36386
  kind: literal("session"),
@@ -36386,7 +36388,8 @@ var ActorSchema = union([
36386
36388
  origin: ActorOriginSchema.optional(),
36387
36389
  owner: string2().optional(),
36388
36390
  service: string2().optional(),
36389
- project: string2().optional()
36391
+ project: string2().optional(),
36392
+ proven: literal(true).optional()
36390
36393
  }).readonly(),
36391
36394
  strictObject({ kind: literal("system"), id: string2() }).readonly()
36392
36395
  ]);
@@ -57720,7 +57723,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
57720
57723
 
57721
57724
  // package.json
57722
57725
  var name = "@sjawhar/claude-envoy";
57723
- var version2 = "2.40.0";
57726
+ var version2 = "2.42.0";
57724
57727
  var legion = {
57725
57728
  daemonApiVersion: 151
57726
57729
  };
@@ -13717,6 +13717,7 @@ var ActorOriginSchema = strictObject({
13717
13717
  var DISPATCH_SCOPES = ["person", "approve"];
13718
13718
  var ActorActSchema = strictObject({
13719
13719
  session: string2().optional(),
13720
+ session_proven: literal(true).optional(),
13720
13721
  token_id: string2().optional(),
13721
13722
  token_name: string2().optional(),
13722
13723
  scopes: array(_enum2(DISPATCH_SCOPES)).optional()
@@ -13725,7 +13726,8 @@ var ActorSchema = union([
13725
13726
  strictObject({
13726
13727
  kind: literal("user"),
13727
13728
  id: string2(),
13728
- act: ActorActSchema.optional()
13729
+ act: ActorActSchema.optional(),
13730
+ proven: literal(true).optional()
13729
13731
  }).readonly(),
13730
13732
  strictObject({
13731
13733
  kind: literal("session"),
@@ -13733,7 +13735,8 @@ var ActorSchema = union([
13733
13735
  origin: ActorOriginSchema.optional(),
13734
13736
  owner: string2().optional(),
13735
13737
  service: string2().optional(),
13736
- project: string2().optional()
13738
+ project: string2().optional(),
13739
+ proven: literal(true).optional()
13737
13740
  }).readonly(),
13738
13741
  strictObject({ kind: literal("system"), id: string2() }).readonly()
13739
13742
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "2.40.0",
3
+ "version": "2.42.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",
@@ -231,6 +231,11 @@ never denies. Every other request waits for that person, as it does now.
231
231
  1 otherwise, and it asks the broker nothing. `agent-secrets identity --source` prints the source
232
232
  the client would take its broker identity from (`key-dir`, `sign-in`, `helper` or `machine`).
233
233
  `agent-secrets self` prints this session's live grants.
234
+ - `agent-secrets grant revoke <grant_id>` ends a grant given to this session's broker identity,
235
+ from inside the session, before its lifetime runs out. The broker checks the enrollment, not the
236
+ session: a grant of another enrollment is refused `was given to another broker identity
237
+ (enrollment)`, and every session of a person who ran `agent-secrets login` on this machine signs
238
+ as that sign-in's one enrollment, so each of them can end the others' grants.
234
239
 
235
240
  ## Where a name comes from, and how you may use it
236
241