@sjawhar/claude-envoy 5.23.2 → 5.23.3

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.2"
5
+ "version": "5.23.3"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "5.23.2",
3
+ "version": "5.23.3",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -62801,7 +62801,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
62801
62801
 
62802
62802
  // package.json
62803
62803
  var name2 = "@sjawhar/claude-envoy";
62804
- var version2 = "5.23.2";
62804
+ var version2 = "5.23.3";
62805
62805
  var legion = {
62806
62806
  daemonApiVersion: 246
62807
62807
  };
@@ -66121,22 +66121,16 @@ function sessionActivityRequest(input) {
66121
66121
 
66122
66122
  // ../pi-shared/src/workspace-recreated.ts
66123
66123
  var WORKSPACE_RECREATED_VARIABLE = "LEGION_WORKSPACE_RECREATED";
66124
- var WORKSPACE_RESTORED_VARIABLE = "LEGION_WORKSPACE_RESTORED";
66124
+ var WORKSPACE_AFTER_RELEASE = "The idle release does not take a pod whose workspace holds a commit on a working copy or a bookmark " + "that no remote branch or tag holds, or a working-copy change: such work stays in the pod. " + "When the pod's disk goes with it, the next pod's workspace is made again from what was pushed to this issue's branch " + "(the repository's default branch if nothing was). " + "A commit that no working copy and no bookmark reaches, such as one left on a side head with jj new, is not kept.";
66125
66125
  function workspaceRecreated(environment) {
66126
66126
  return environment[WORKSPACE_RECREATED_VARIABLE] === "true";
66127
66127
  }
66128
66128
  function workspaceRecreatedNotice(environment, issue) {
66129
66129
  if (!workspaceRecreated(environment))
66130
66130
  return;
66131
- if (environment[WORKSPACE_RESTORED_VARIABLE] === "true") {
66132
- return {
66133
- id: crypto.randomUUID(),
66134
- content: `Your workspace was made again since your last turn: the daemon released this issue's idle ` + `pod and gave its CPU and memory back. It holds what was pushed to legion/${issue} and the ` + "tracked work you had not pushed, which the daemon saved and put back. What is gone is what " + "no commit held: the files your scratch directory held, files git ignores, and anything you " + "started that was running. Check the workspace against what you remember doing before you " + "continue."
66135
- };
66136
- }
66137
66131
  return {
66138
66132
  id: crypto.randomUUID(),
66139
- content: `Your workspace was recreated since your last turn: it holds what was pushed to legion/${issue} ` + "(the repository's default branch if nothing was), and anything you had not pushed is gone. " + "Before you continue, check the workspace against what you remember doing and re-read the " + `last handoff recorded on ${issue} with \`dispatch handoff-read --issue ${issue} --phase <phase>\` ` + "(plan, implement, test or review); Dispatch keeps it, whatever the workspace lost."
66133
+ content: `Your workspace was recreated since your last turn, from what was pushed to legion/${issue}. ` + `${WORKSPACE_AFTER_RELEASE} ` + "If anything else ended your pod (an eviction, a pod update, a reset, or an idle release made by a " + "Legion release before this one), work you had not pushed is gone. " + "What no commit held is gone in every case: the files your scratch " + "directory held, files git ignores, and anything you started that was running. " + "Before you continue, check the workspace against what you remember doing and re-read the " + `last handoff recorded on ${issue} with \`dispatch handoff-read --issue ${issue} --phase <phase>\` ` + "(plan, implement, test or review); Dispatch keeps it, whatever the workspace lost."
66140
66134
  };
66141
66135
  }
66142
66136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "5.23.2",
3
+ "version": "5.23.3",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",