@sjawhar/pi-legion-envoy 3.0.0 → 3.0.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.
- package/dist/legion.js +1 -1
- package/dist/skills/dispatch/SKILL.md +14 -0
- package/package.json +1 -1
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: "3.0.
|
|
16145
|
+
version: "3.0.1",
|
|
16146
16146
|
type: "module",
|
|
16147
16147
|
omp: {
|
|
16148
16148
|
extensions: [
|
|
@@ -606,6 +606,20 @@ survive moves and retyping.
|
|
|
606
606
|
block id, keeps a typed block's body, and uses `attributes` for client-owned typed attributes. Use it when
|
|
607
607
|
an existing paragraph is the question that should become a decision.
|
|
608
608
|
|
|
609
|
+
### A document that is reloading
|
|
610
|
+
|
|
611
|
+
These calls can answer `DOC_SERVICE_UNAVAILABLE` (HTTP 503), because each writes a document inside its
|
|
612
|
+
transaction: `dispatch_doc_edit`; `dispatch_ask` and `dispatch_comment` on a quote; a `dispatch_comment` reply
|
|
613
|
+
in a thread whose first comment is anchored; `dispatch_suggest`; `dispatch_resolve_comment` on an anchored
|
|
614
|
+
comment; `dispatch_artifact` replacing a document that already exists; and, on an ask that lives in a `:::ask`
|
|
615
|
+
block, `dispatch_edit_ask` and `dispatch_resolve_ask`, which write that block. Creating an issue with a spec,
|
|
616
|
+
uploading a new document, `dispatch_request_approval` and `dispatch_message` never answer it, and neither do
|
|
617
|
+
`dispatch_edit_ask` and `dispatch_resolve_ask` on an ask that has no block. It means that document's live room
|
|
618
|
+
failed and is reloading from its durable copy, so the server refused rather than wait for it; your call wrote
|
|
619
|
+
nothing and the document is intact. Nothing retries it for you: the Dispatch client hands a 503 straight back.
|
|
620
|
+
Wait a few seconds and make the same call again. A second refusal in a row is worth telling your human about,
|
|
621
|
+
with the document's reference.
|
|
622
|
+
|
|
609
623
|
## Typed blocks
|
|
610
624
|
|
|
611
625
|
The server declares typed document blocks at `GET /api/v1/schema/blocks`. Write one only with the
|