@sjawhar/claude-envoy 5.23.2 → 5.23.4
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.
package/.omp-plugin/plugin.json
CHANGED
package/dist/envoy-channel.js
CHANGED
|
@@ -62801,9 +62801,9 @@ 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.
|
|
62804
|
+
var version2 = "5.23.4";
|
|
62805
62805
|
var legion = {
|
|
62806
|
-
daemonApiVersion:
|
|
62806
|
+
daemonApiVersion: 250
|
|
62807
62807
|
};
|
|
62808
62808
|
var package_default = {
|
|
62809
62809
|
name: name2,
|
|
@@ -64307,6 +64307,7 @@ var LegionCompactResponse = object({
|
|
|
64307
64307
|
var nonEmptyString2 = string2().min(1);
|
|
64308
64308
|
var issueKey = string2().regex(DISPATCH_KEY_PATTERN);
|
|
64309
64309
|
var timestamp = exports_iso.datetime({ offset: true });
|
|
64310
|
+
var dispatchPriority = number2().int().min(0).max(3).nullable().optional();
|
|
64310
64311
|
var LegionInstant = timestamp.regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/, { error: "an RFC 3339 time with seconds, as 2026-11-02T09:00:00Z is" });
|
|
64311
64312
|
var LEGION_WORKFLOW_PHASES = [
|
|
64312
64313
|
"admitted",
|
|
@@ -64509,6 +64510,7 @@ var legionWaitingLineView = object({
|
|
|
64509
64510
|
rootRank: nonEmptyString2.optional(),
|
|
64510
64511
|
ownRank: nonEmptyString2.optional(),
|
|
64511
64512
|
rootKey: issueKey.optional(),
|
|
64513
|
+
priority: dispatchPriority,
|
|
64512
64514
|
reason: nonEmptyString2.optional()
|
|
64513
64515
|
});
|
|
64514
64516
|
var legionWhyView = object({
|
|
@@ -64611,6 +64613,7 @@ var legionIssue = object({
|
|
|
64611
64613
|
lingerUntil: timestamp.optional(),
|
|
64612
64614
|
ancestry: array(issueKey).optional(),
|
|
64613
64615
|
architect: legionClaimView.optional(),
|
|
64616
|
+
priority: dispatchPriority,
|
|
64614
64617
|
workers: partialRecord(string2(), legionPhaseView).optional(),
|
|
64615
64618
|
pullRequest: legionPullRequestView.optional(),
|
|
64616
64619
|
designGate: legionGateView.optional(),
|
|
@@ -66121,22 +66124,16 @@ function sessionActivityRequest(input) {
|
|
|
66121
66124
|
|
|
66122
66125
|
// ../pi-shared/src/workspace-recreated.ts
|
|
66123
66126
|
var WORKSPACE_RECREATED_VARIABLE = "LEGION_WORKSPACE_RECREATED";
|
|
66124
|
-
var
|
|
66127
|
+
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
66128
|
function workspaceRecreated(environment) {
|
|
66126
66129
|
return environment[WORKSPACE_RECREATED_VARIABLE] === "true";
|
|
66127
66130
|
}
|
|
66128
66131
|
function workspaceRecreatedNotice(environment, issue) {
|
|
66129
66132
|
if (!workspaceRecreated(environment))
|
|
66130
66133
|
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
66134
|
return {
|
|
66138
66135
|
id: crypto.randomUUID(),
|
|
66139
|
-
content: `Your workspace was recreated since your last turn
|
|
66136
|
+
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
66137
|
};
|
|
66141
66138
|
}
|
|
66142
66139
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjawhar/claude-envoy",
|
|
3
|
-
"version": "5.23.
|
|
3
|
+
"version": "5.23.4",
|
|
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":
|
|
22
|
+
"daemonApiVersion": 250
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|