@sjawhar/claude-envoy 1.30.0 → 1.31.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": "1.30.0"
5
+ "version": "1.31.0"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "1.30.0",
3
+ "version": "1.31.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
@@ -27971,7 +27971,8 @@ var DeliveryAnswerWireSchema = discriminatedUnion("mode", [
27971
27971
  mode: literal("consumer"),
27972
27972
  subject: string2().min(1),
27973
27973
  stream_id: string2(),
27974
- gap: boolean2()
27974
+ gap: boolean2(),
27975
+ consumer_start: number2().int().nonnegative().optional()
27975
27976
  }),
27976
27977
  object({ mode: literal("core"), reason: string2() })
27977
27978
  ]);
@@ -44875,7 +44875,8 @@ var DeliveryAnswerWireSchema = discriminatedUnion("mode", [
44875
44875
  mode: literal("consumer"),
44876
44876
  subject: string2().min(1),
44877
44877
  stream_id: string2(),
44878
- gap: boolean2()
44878
+ gap: boolean2(),
44879
+ consumer_start: number2().int().nonnegative().optional()
44879
44880
  }),
44880
44881
  object({ mode: literal("core"), reason: string2() })
44881
44882
  ]);
@@ -46525,6 +46526,9 @@ function createConsumerDelivery(options) {
46525
46526
  tellReplacedResume(answer.stream_id);
46526
46527
  switchStream(answer.stream_id);
46527
46528
  }
46529
+ const floor = (answer.consumer_start ?? 0) - 1;
46530
+ if (answer.stream_id === streamID && floor > (written ?? -1))
46531
+ written = floor;
46528
46532
  if (answer.gap) {
46529
46533
  tellGap("retention_gap");
46530
46534
  gapTold = true;
@@ -55404,7 +55408,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
55404
55408
 
55405
55409
  // package.json
55406
55410
  var name = "@sjawhar/claude-envoy";
55407
- var version2 = "1.30.0";
55411
+ var version2 = "1.31.0";
55408
55412
  var legion = {
55409
55413
  daemonApiVersion: 59
55410
55414
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "1.30.0",
3
+ "version": "1.31.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",