@plurnk/plurnk-execs 3.1.0 → 3.1.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/SPEC.md +14 -0
- package/package.json +3 -3
package/SPEC.md
CHANGED
|
@@ -204,6 +204,20 @@ is cancellation, not an executor defect; the consumer preserves its distinct
|
|
|
204
204
|
cancellation/deadline result. Other throws and invalid results become durable
|
|
205
205
|
contract failures before the consumer closes the stream.
|
|
206
206
|
|
|
207
|
+
§problems-executor-input **Invocation and live-input Problems.** These failures
|
|
208
|
+
belong to the shared executor implementation; leaf executors may also declare
|
|
209
|
+
their own failures.
|
|
210
|
+
|
|
211
|
+
| code | status | condition |
|
|
212
|
+
|---|---:|---|
|
|
213
|
+
| `cwd-not-found` | 400 | The requested execution directory does not exist as a directory. |
|
|
214
|
+
| `invalid-command` | 400 | The command could not be parsed; detail includes a bounded cause. |
|
|
215
|
+
| `input-unsupported` | 501 | The consumer does not provide live input. |
|
|
216
|
+
| `invalid-input-metadata` | 400 | Stdin SEND accepts only the optional `[{"eof": true}]` option. |
|
|
217
|
+
| `input-closed` | 410 | Stdin is closed, or closed during delivery; the latter may have delivered partial input. |
|
|
218
|
+
| `input-cancelled` | 499 | Input delivery was cancelled and may be partial. |
|
|
219
|
+
| `input-write-failed` | 502 | Stdin delivery failed and may be partial. |
|
|
220
|
+
|
|
207
221
|
§executor-page-receipt **A full page says so.** When a tool result is a JSON array whose
|
|
208
222
|
length equals the page size the call asked for, or the tool schema's default for one
|
|
209
223
|
(`per_page`, `page_size`, `pageSize`, `limit`, first match), the result carries
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-execs",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Framework + contract for the @plurnk/plurnk-execs-* runtime executor packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"prepublishOnly": "npm audit --audit-level=moderate && npm test"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@plurnk/plurnk-contracts": "^3.
|
|
53
|
+
"@plurnk/plurnk-contracts": "^3.2.0",
|
|
54
54
|
"@plurnk/plurnk-parser": "^3.0.1",
|
|
55
55
|
"@plurnk/plurnk-meta": "^2.1.0",
|
|
56
56
|
"@plurnk/plurnk-schemes": "^3.1.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "f96502a26d62a6f87b22950a9e2006348ac8a6bc"
|
|
59
59
|
}
|