@sjawhar/claude-envoy 5.22.0 → 5.23.1

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": "5.22.0"
5
+ "version": "5.23.1"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "5.22.0",
3
+ "version": "5.23.1",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -62600,9 +62600,23 @@ import { promisify as promisify2 } from "util";
62600
62600
  // ../pi-shared/src/git-lock.ts
62601
62601
  import { lstat as lstat3 } from "fs/promises";
62602
62602
  var GIT_LOCK_REPORTS = [
62603
- /The lockfile at '([^']+)' might need manual deletion/g,
62604
- /Unable to create '([^']+)': File exists/g
62603
+ ["The lockfile at '", "' might need manual deletion"],
62604
+ ["Unable to create '", "': File exists"]
62605
62605
  ];
62606
+ function lockPaths(line, report) {
62607
+ const [opening, closing] = report;
62608
+ const paths = [];
62609
+ for (let from = 0;; ) {
62610
+ const start = line.indexOf(opening, from);
62611
+ if (start < 0)
62612
+ return paths;
62613
+ const end = line.indexOf(closing, start + opening.length + 1);
62614
+ if (end < 0)
62615
+ return paths;
62616
+ paths.push(line.slice(start + opening.length, end));
62617
+ from = end + closing.length;
62618
+ }
62619
+ }
62606
62620
  function age(ms) {
62607
62621
  const total = Math.round(Math.abs(ms) / 1000);
62608
62622
  const sign = ms < 0 && total > 0 ? "-" : "";
@@ -62617,9 +62631,12 @@ function age(ms) {
62617
62631
  }
62618
62632
  async function staleGitLockNote(output, now = Date.now()) {
62619
62633
  const locks = new Set;
62634
+ const lines = output.split(`
62635
+ `);
62620
62636
  for (const report of GIT_LOCK_REPORTS) {
62621
- for (const match of output.matchAll(report))
62622
- locks.add(match[1]);
62637
+ for (const line of lines)
62638
+ for (const lock of lockPaths(line, report))
62639
+ locks.add(lock);
62623
62640
  }
62624
62641
  const notes = [];
62625
62642
  for (const lock of locks) {
@@ -62784,9 +62801,9 @@ var import_nats5 = __toESM(require_mod4(), 1);
62784
62801
 
62785
62802
  // package.json
62786
62803
  var name2 = "@sjawhar/claude-envoy";
62787
- var version2 = "5.22.0";
62804
+ var version2 = "5.23.1";
62788
62805
  var legion = {
62789
- daemonApiVersion: 232
62806
+ daemonApiVersion: 246
62790
62807
  };
62791
62808
  var package_default = {
62792
62809
  name: name2,
@@ -64575,6 +64592,12 @@ var legionAssignment = object({
64575
64592
  drawnAt: timestamp.optional(),
64576
64593
  plan: nonEmptyString2.optional()
64577
64594
  });
64595
+ var legionPodHold = object({
64596
+ reason: nonEmptyString2.optional(),
64597
+ firstAt: timestamp.optional(),
64598
+ at: timestamp.optional(),
64599
+ detail: nonEmptyString2.optional()
64600
+ });
64578
64601
  var legionIssue = object({
64579
64602
  key: nonEmptyString2.optional(),
64580
64603
  generation: number2().int().nonnegative().optional(),
@@ -64608,7 +64631,8 @@ var legionIssue = object({
64608
64631
  architectStalls: array(_enum2(["took-nothing", "claim-unreachable", "slow-before-gate"])).optional(),
64609
64632
  treeMovedAt: timestamp.optional(),
64610
64633
  quietHours: number2().nonnegative().optional(),
64611
- assignments: array(legionAssignment).optional()
64634
+ assignments: array(legionAssignment).optional(),
64635
+ podHold: legionPodHold.optional()
64612
64636
  });
64613
64637
  var daemonInfo = object({
64614
64638
  project: nonEmptyString2.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "5.22.0",
3
+ "version": "5.23.1",
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": 232
22
+ "daemonApiVersion": 246
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",