@sjawhar/pi-legion-envoy 5.3.1 → 5.3.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.
package/dist/envoy.js
CHANGED
|
@@ -30130,7 +30130,7 @@ var dispatchToolSpecs = [
|
|
|
30130
30130
|
ask: "01234567-0000-4000-8000-000000000001",
|
|
30131
30131
|
question: "Ship the revised plan?"
|
|
30132
30132
|
},
|
|
30133
|
-
description: "Edit an open question in place. Use it to correct or refine the same decision; retract the " + "old ask and open a new one when the decision itself changes. Previous text remains in the " + "event log. Only the asking session can edit it; answered or resolved asks cannot be edited. " + "An ask that lives as an `ask` block in a document is written in the document too, changing " + "only the fields you name - pass urgency alone and the question's wording, formatting, links " + "and comment anchors are untouched - so the edit writes a document version and closes a " + "spec's design gate until that version is " +
|
|
30133
|
+
description: "Edit an open question in place. Use it to correct or refine the same decision; retract the " + "old ask and open a new one when the decision itself changes. Previous text remains in the " + "event log. Only the asking session can edit it; answered or resolved asks cannot be edited. " + "An ask that lives as an `ask` block in a document is written in the document too, changing " + "only the fields you name - pass urgency alone and the question's wording, formatting, links " + "and comment anchors are untouched - so the edit writes a document version and closes a " + "spec's design gate until that version is " + "approved; text the block cannot carry back unchanged is refused, naming the field - an " + 'option label containing ": ", the separator between a label and its description, is one ' + "example.",
|
|
30134
30134
|
arguments: (z2) => ({
|
|
30135
30135
|
ask: z2.string().describe("Ask id (uuid); an 8+ hex prefix unique among this session's own open asks works too."),
|
|
30136
30136
|
question: z2.string({ max: ASK_QUESTION_MAX }).describe(`Replacement decision question, at most ${ASK_QUESTION_MAX} characters.`).optional(),
|
package/dist/legion.js
CHANGED
|
@@ -16142,7 +16142,7 @@ import { logger } from "@oh-my-pi/pi-utils";
|
|
|
16142
16142
|
// package.json
|
|
16143
16143
|
var package_default = {
|
|
16144
16144
|
name: "@sjawhar/pi-legion-envoy",
|
|
16145
|
-
version: "5.3.
|
|
16145
|
+
version: "5.3.3",
|
|
16146
16146
|
type: "module",
|
|
16147
16147
|
omp: {
|
|
16148
16148
|
extensions: [
|
|
@@ -30203,7 +30203,7 @@ var dispatchToolSpecs = [
|
|
|
30203
30203
|
ask: "01234567-0000-4000-8000-000000000001",
|
|
30204
30204
|
question: "Ship the revised plan?"
|
|
30205
30205
|
},
|
|
30206
|
-
description: "Edit an open question in place. Use it to correct or refine the same decision; retract the " + "old ask and open a new one when the decision itself changes. Previous text remains in the " + "event log. Only the asking session can edit it; answered or resolved asks cannot be edited. " + "An ask that lives as an `ask` block in a document is written in the document too, changing " + "only the fields you name - pass urgency alone and the question's wording, formatting, links " + "and comment anchors are untouched - so the edit writes a document version and closes a " + "spec's design gate until that version is " +
|
|
30206
|
+
description: "Edit an open question in place. Use it to correct or refine the same decision; retract the " + "old ask and open a new one when the decision itself changes. Previous text remains in the " + "event log. Only the asking session can edit it; answered or resolved asks cannot be edited. " + "An ask that lives as an `ask` block in a document is written in the document too, changing " + "only the fields you name - pass urgency alone and the question's wording, formatting, links " + "and comment anchors are untouched - so the edit writes a document version and closes a " + "spec's design gate until that version is " + "approved; text the block cannot carry back unchanged is refused, naming the field - an " + 'option label containing ": ", the separator between a label and its description, is one ' + "example.",
|
|
30207
30207
|
arguments: (z2) => ({
|
|
30208
30208
|
ask: z2.string().describe("Ask id (uuid); an 8+ hex prefix unique among this session's own open asks works too."),
|
|
30209
30209
|
question: z2.string({ max: ASK_QUESTION_MAX }).describe(`Replacement decision question, at most ${ASK_QUESTION_MAX} characters.`).optional(),
|
|
@@ -31487,7 +31487,8 @@ var legionGoDeliveryView = exports_external.strictObject({
|
|
|
31487
31487
|
phase: exports_external.enum(LEGION_GO_WORKFLOW_PHASES).optional(),
|
|
31488
31488
|
queuedAt: timestamp,
|
|
31489
31489
|
deliveredAt: timestamp.optional(),
|
|
31490
|
-
confirmedAt: timestamp.optional()
|
|
31490
|
+
confirmedAt: timestamp.optional(),
|
|
31491
|
+
interrupted: exports_external.literal(true).optional()
|
|
31491
31492
|
});
|
|
31492
31493
|
var LegionGoOperatorClaimResponse = exports_external.strictObject({
|
|
31493
31494
|
token: nonEmptyString2,
|
|
@@ -31501,6 +31502,7 @@ var LegionGoOperatorClaimResponse = exports_external.strictObject({
|
|
|
31501
31502
|
locator: legionGoLocator.optional(),
|
|
31502
31503
|
budgets: exports_external.strictObject({
|
|
31503
31504
|
launchFailures: exports_external.number().int().nonnegative(),
|
|
31505
|
+
deaths: exports_external.number().int().nonnegative(),
|
|
31504
31506
|
promptFailures: exports_external.number().int().nonnegative(),
|
|
31505
31507
|
promptRetires: exports_external.number().int().nonnegative()
|
|
31506
31508
|
}),
|
|
@@ -452,8 +452,8 @@ is rewritten, so anchors inside the text you replaced move as they would for any
|
|
|
452
452
|
writes a new version, which on a spec awaiting approval closes the design gate until the new version is approved. Editing the block
|
|
453
453
|
with `dispatch_doc_edit` works too and is the way to change anything else about it, including adding formatting to a question.
|
|
454
454
|
Re-sending a field unchanged rewrites nothing, so retrying the whole ask is safe.
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
Text the block cannot carry back unchanged is refused outright, naming the field and writing nothing - an option label containing
|
|
456
|
+
`": "`, the separator between a label and its description, is one example of text that cannot survive the round trip. Blank lines separate paragraphs;
|
|
457
457
|
a single newline is kept as a line break.
|
|
458
458
|
|
|
459
459
|
An ask stays open until a human answers, unless its question no longer needs that answer. Retract a moot or superseded question, or
|
|
@@ -61,8 +61,8 @@ into a state holder: daemon state and the Dispatch project remain authoritative.
|
|
|
61
61
|
|
|
62
62
|
### Started by the operator
|
|
63
63
|
|
|
64
|
-
When the daemon cannot open a terminal for you — the
|
|
65
|
-
|
|
64
|
+
When the daemon cannot open a terminal for you — the Go daemon, under either runtime, since it
|
|
65
|
+
launches no controller — nobody launched your
|
|
66
66
|
pane: the operator ran `legion controller start --config controller.yaml [--daemon-url <url>]` on
|
|
67
67
|
their own machine, and you are that foreground OMP session. The command fetched a fresh controller
|
|
68
68
|
secret from the daemon with the operator's token, wrote it to a 0600 file under `LEGION_STATE_DIR`
|