@sjawhar/claude-envoy 5.23.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.23.0"
5
+ "version": "5.23.1"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "5.23.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,7 +62801,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
62784
62801
 
62785
62802
  // package.json
62786
62803
  var name2 = "@sjawhar/claude-envoy";
62787
- var version2 = "5.23.0";
62804
+ var version2 = "5.23.1";
62788
62805
  var legion = {
62789
62806
  daemonApiVersion: 246
62790
62807
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "5.23.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",