@plurnk/plurnk-contracts 6.0.0 → 6.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/conformance/agui-v1.json +2 -2
- package/package.json +2 -2
- package/plurnk.md +7 -7
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
"target": { "scheme": "sh", "authority": null, "pathname": "" },
|
|
322
322
|
"body": "printf ok",
|
|
323
323
|
"attrs": { "runtime": "sh" },
|
|
324
|
-
"owner": "agui://
|
|
324
|
+
"owner": "agui://operator/threads/fixture",
|
|
325
325
|
"disposition": { "decision": "review" }
|
|
326
326
|
}
|
|
327
327
|
}
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
"target": { "scheme": "file", "authority": null, "pathname": "notes.md" },
|
|
375
375
|
"body": "--- notes.md\n+++ notes.md\n@@ -1 +1 @@\n-before\n+after",
|
|
376
376
|
"attrs": {},
|
|
377
|
-
"owner": "agui://
|
|
377
|
+
"owner": "agui://operator/threads/fixture",
|
|
378
378
|
"disposition": { "decision": "review" },
|
|
379
379
|
"expiresAt": "2026-10-16T12:00:00.000Z"
|
|
380
380
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-contracts",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Canonical PLURNK language contract, schemas, generated types, and runtime-neutral wire contracts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"json-schema-to-typescript": "^16.0.0"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "7f8674581db39363ebf509596be644ab6ec94356"
|
|
76
76
|
}
|
package/plurnk.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Plurnk Operation Protocol
|
|
2
2
|
|
|
3
3
|
> [!IMPORTANT]
|
|
4
|
-
> YOU MUST ONLY emit fenced operation batches
|
|
4
|
+
> YOU MUST ONLY emit fenced operation batches, with the parameters, pattern, and terse aside on the fenced operation line.
|
|
5
5
|
|
|
6
6
|
## Syntax
|
|
7
7
|
|
|
@@ -18,12 +18,12 @@ body?
|
|
|
18
18
|
* FIND: List matching paths, or the match locations inside one path.
|
|
19
19
|
* READ: Read files, entries, streams, or only the lines a pattern selects.
|
|
20
20
|
* EDIT: Create a file or entry; replace existing text by scope or by pattern.
|
|
21
|
-
* COPY
|
|
22
|
-
* MOVE
|
|
21
|
+
* COPY (source) <scope>? (destination) <scope>?: Copy files, entries, streams, or text regions (no body).
|
|
22
|
+
* MOVE (source) <scope>? (destination) <scope>?: Move files, entries, streams, or text regions (no body).
|
|
23
23
|
* KILL: Delete an entry, stop a process, or retire log items.
|
|
24
24
|
* WORK: Delegate to a child worker (fresh log).
|
|
25
25
|
* FORK: Delegate to a child worker (copied log).
|
|
26
|
-
* WAIT: Yield to child workers or streams. You may include `[60]` to check in after 60 seconds.
|
|
26
|
+
* WAIT: Yield to child workers or streams. You may include `[60]` to check in after 60 seconds.
|
|
27
27
|
* SEND: Message endpoints, workers, or Open Messages (when the path is omitted, the oldest Open Message).
|
|
28
28
|
|
|
29
29
|
## Loop Protocol
|
|
@@ -82,7 +82,7 @@ Describe the child's complete task in the body.
|
|
|
82
82
|
## `<scope|range>`
|
|
83
83
|
|
|
84
84
|
> [!TIP]
|
|
85
|
-
> Text scopes use 1-based lines and Unicode code-point columns across textual mimetypes
|
|
85
|
+
> Text scopes use 1-based lines and Unicode code-point columns across textual mimetypes.
|
|
86
86
|
|
|
87
87
|
| form | endpoint rule |
|
|
88
88
|
|-----------------|--------------------------------|
|
|
@@ -116,11 +116,11 @@ Describe the child's complete task in the body.
|
|
|
116
116
|
|
|
117
117
|
## Editing
|
|
118
118
|
|
|
119
|
-
```EDIT (example.md) <@abcde> <!-- READ showed 42<@abcde>foo; the body replaces line 42 -->
|
|
119
|
+
```EDIT (example.md) <@abcde> <!-- READ showed 42<@abcde>foo bar baz; the body replaces line 42 -->
|
|
120
120
|
bar
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
```EDIT (example.md) <@abcde,@fghij> <!-- the body replaces lines 42 through
|
|
123
|
+
```EDIT (example.md) <@abcde,@fghij> <!-- the body replaces lines 42 through 43 -->
|
|
124
124
|
bar
|
|
125
125
|
```
|
|
126
126
|
|