@sjawhar/claude-envoy 2.39.0 → 2.41.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.39.0"
5
+ "version": "2.41.0"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "2.39.0",
3
+ "version": "2.41.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,9 +57723,9 @@ var import_nats2 = __toESM(require_mod4(), 1);
57720
57723
 
57721
57724
  // package.json
57722
57725
  var name = "@sjawhar/claude-envoy";
57723
- var version2 = "2.39.0";
57726
+ var version2 = "2.41.0";
57724
57727
  var legion = {
57725
- daemonApiVersion: 146
57728
+ daemonApiVersion: 151
57726
57729
  };
57727
57730
 
57728
57731
  // ../pi-shared/src/agent-stream.ts
@@ -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
  ]);
@@ -12,9 +12,12 @@ An issue pod runs no heavy build and no whole test suite. The pod's six roles sh
12
12
  limit. Near that limit the launcher's memory guard, where the deployment runs it (it is on by
13
13
  default), stops, with SIGKILL, the largest process that is neither Legion's own nor an agent's own,
14
14
  which in practice is a command an agent ran: a build, a test binary, a Python or JavaScript kernel.
15
- It then tells that process's role why, in a message on the role's topic. The command fails and the
16
- turn goes on. A command that fills the memory faster than the guard can stop it still takes the pod
17
- past its limit, and that ends every role's turn, not only yours.
15
+ It then tells that process's role why, in a message on the role's topic. In a pod that runs in a
16
+ microVM, the pod's own kernel stops such a command in place of the guard where each of the pod's
17
+ requests equals its limit, and the role is told the same way; in a pod that requests less, it can
18
+ stop an agent instead. The command fails and the turn goes on. In a gVisor pod, a command that
19
+ fills the memory faster than the guard can stop it still takes the pod past its limit, and that
20
+ ends every role's turn, not only yours.
18
21
 
19
22
  In the pod you compile the packages your change touches, run by name the tests you added or
20
23
  changed (`go test -run '<TestName>' ./internal/<package>/`, or `bun test` with their files), build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "2.39.0",
3
+ "version": "2.41.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": 146
22
+ "daemonApiVersion": 151
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",