@sjawhar/claude-envoy 1.38.0 → 1.39.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.
- package/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/dist/dispatch.js +10 -1
- package/dist/envoy-channel.js +11 -2
- package/dist/session-hook.js +10 -1
- package/package.json +1 -1
package/.omp-plugin/plugin.json
CHANGED
package/dist/dispatch.js
CHANGED
|
@@ -21322,7 +21322,16 @@ function renderAdvice(tool, key, advice, opts) {
|
|
|
21322
21322
|
}
|
|
21323
21323
|
const superseded = advice.superseded_approval;
|
|
21324
21324
|
if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
|
|
21325
|
-
|
|
21325
|
+
const gates = Array.isArray(superseded.design_gates) ? superseded.design_gates : [];
|
|
21326
|
+
const parts = [
|
|
21327
|
+
`Stored version ${superseded.version}, superseding version ${superseded.approved_version}, which ${superseded.approved_by} approved. That approval is stale until someone approves version ${superseded.version} or a later write stores the text of version ${superseded.approved_version} again exactly, with no decision block in it decided since.`
|
|
21328
|
+
];
|
|
21329
|
+
if (gates.length > 0) {
|
|
21330
|
+
const named = gates.map((gate) => `${gate.issue}, step ${gate.step}`).join("; ");
|
|
21331
|
+
parts.push(`A Legion design gate records this document, so every READY in ${gates.length === 1 ? "its" : "each"} tree is refused until that approval comes back: ${named}.`);
|
|
21332
|
+
}
|
|
21333
|
+
parts.push("Meant to change the approved design? Request approval with `dispatch request-approval`. Meant a correction beside it? Tell the tree's architect, and keep the next one in a comment or in the plan.");
|
|
21334
|
+
lines.push(parts.join(" "));
|
|
21326
21335
|
}
|
|
21327
21336
|
if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
|
|
21328
21337
|
const middle = writesSinceHuman >= 6 ? "Stop posting here until a human replies. Their reply ends this: post then what you held back." : "Progress ledger or scratchpad? If so, stop.";
|
package/dist/envoy-channel.js
CHANGED
|
@@ -48104,7 +48104,16 @@ function renderAdvice(tool, key, advice, opts) {
|
|
|
48104
48104
|
}
|
|
48105
48105
|
const superseded = advice.superseded_approval;
|
|
48106
48106
|
if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
|
|
48107
|
-
|
|
48107
|
+
const gates = Array.isArray(superseded.design_gates) ? superseded.design_gates : [];
|
|
48108
|
+
const parts = [
|
|
48109
|
+
`Stored version ${superseded.version}, superseding version ${superseded.approved_version}, which ${superseded.approved_by} approved. That approval is stale until someone approves version ${superseded.version} or a later write stores the text of version ${superseded.approved_version} again exactly, with no decision block in it decided since.`
|
|
48110
|
+
];
|
|
48111
|
+
if (gates.length > 0) {
|
|
48112
|
+
const named = gates.map((gate) => `${gate.issue}, step ${gate.step}`).join("; ");
|
|
48113
|
+
parts.push(`A Legion design gate records this document, so every READY in ${gates.length === 1 ? "its" : "each"} tree is refused until that approval comes back: ${named}.`);
|
|
48114
|
+
}
|
|
48115
|
+
parts.push("Meant to change the approved design? Request approval with `dispatch request-approval`. Meant a correction beside it? Tell the tree's architect, and keep the next one in a comment or in the plan.");
|
|
48116
|
+
lines.push(parts.join(" "));
|
|
48108
48117
|
}
|
|
48109
48118
|
if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
|
|
48110
48119
|
const middle = writesSinceHuman >= 6 ? "Stop posting here until a human replies. Their reply ends this: post then what you held back." : "Progress ledger or scratchpad? If so, stop.";
|
|
@@ -55481,7 +55490,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
|
|
|
55481
55490
|
|
|
55482
55491
|
// package.json
|
|
55483
55492
|
var name = "@sjawhar/claude-envoy";
|
|
55484
|
-
var version2 = "1.
|
|
55493
|
+
var version2 = "1.39.0";
|
|
55485
55494
|
var legion = {
|
|
55486
55495
|
daemonApiVersion: 68
|
|
55487
55496
|
};
|
package/dist/session-hook.js
CHANGED
|
@@ -20326,7 +20326,16 @@ function renderAdvice(tool, key, advice, opts) {
|
|
|
20326
20326
|
}
|
|
20327
20327
|
const superseded = advice.superseded_approval;
|
|
20328
20328
|
if (superseded !== undefined && (tool === "dispatch_doc_edit" || tool === "dispatch_artifact")) {
|
|
20329
|
-
|
|
20329
|
+
const gates = Array.isArray(superseded.design_gates) ? superseded.design_gates : [];
|
|
20330
|
+
const parts = [
|
|
20331
|
+
`Stored version ${superseded.version}, superseding version ${superseded.approved_version}, which ${superseded.approved_by} approved. That approval is stale until someone approves version ${superseded.version} or a later write stores the text of version ${superseded.approved_version} again exactly, with no decision block in it decided since.`
|
|
20332
|
+
];
|
|
20333
|
+
if (gates.length > 0) {
|
|
20334
|
+
const named = gates.map((gate) => `${gate.issue}, step ${gate.step}`).join("; ");
|
|
20335
|
+
parts.push(`A Legion design gate records this document, so every READY in ${gates.length === 1 ? "its" : "each"} tree is refused until that approval comes back: ${named}.`);
|
|
20336
|
+
}
|
|
20337
|
+
parts.push("Meant to change the approved design? Request approval with `dispatch request-approval`. Meant a correction beside it? Tell the tree's architect, and keep the next one in a comment or in the plan.");
|
|
20338
|
+
lines.push(parts.join(" "));
|
|
20330
20339
|
}
|
|
20331
20340
|
if (hasIssueAdvice && writesSinceHuman !== undefined && writesSinceHuman >= 3 && (tool === "dispatch_message" || tool === "dispatch_ask" || tool === "dispatch_comment" && opts.isAskReply !== true)) {
|
|
20332
20341
|
const middle = writesSinceHuman >= 6 ? "Stop posting here until a human replies. Their reply ends this: post then what you held back." : "Progress ledger or scratchpad? If so, stop.";
|