@plurnk/plurnk-grammar 0.53.0 → 0.54.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/README.md
CHANGED
|
@@ -170,7 +170,7 @@ Nesting: outer body may contain inner `<<OP:…:OP` statements; outer must use a
|
|
|
170
170
|
<<SEND[102](agent://supervisor):decomposition complete; awaiting clearance:SEND
|
|
171
171
|
|
|
172
172
|
31. Kill a runaway process
|
|
173
|
-
<<KILL(
|
|
173
|
+
<<KILL(sh:///3/1/2)::KILL
|
|
174
174
|
|
|
175
175
|
32. Permanently delete an entry
|
|
176
176
|
<<KILL(known:///obsolete/note)::KILL
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schemas.plurnk.dev/v0/ChannelContent.json",
|
|
4
4
|
"title": "ChannelContent",
|
|
5
|
-
"description": "One named stream of content on an entry. Channels carry distinct, parallel views of an entry (e.g. `stdout` and `stderr` on `
|
|
5
|
+
"description": "One named stream of content on an entry. Channels carry distinct, parallel views of an entry (e.g. `stdout` and `stderr` on an executor scheme like `node://`/`sh://`; `body` and `headers` on `https://`; `body` and `symbols` on a code file). Each channel has its own content bytes, mimetype, and token count.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["content", "mimetype", "tokens"],
|
|
8
8
|
"additionalProperties": false,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"default_channel": {
|
|
19
19
|
"type": "string",
|
|
20
20
|
"pattern": "^[a-z][a-z0-9_-]*$",
|
|
21
|
-
"description": "Channel name selected when an op against this scheme has no fragment. Conventionally `body`;
|
|
21
|
+
"description": "Channel name selected when an op against this scheme has no fragment. Conventionally `body`; executor schemes (`{tag}://`) typically declare `stdout`."
|
|
22
22
|
},
|
|
23
23
|
"channel_orientations": {
|
|
24
24
|
"type": "object",
|
|
@@ -43,7 +43,7 @@ export interface SchemeRegistration {
|
|
|
43
43
|
category: string;
|
|
44
44
|
default_scope: ("agent" | "session");
|
|
45
45
|
/**
|
|
46
|
-
* Channel name selected when an op against this scheme has no fragment. Conventionally `body`;
|
|
46
|
+
* Channel name selected when an op against this scheme has no fragment. Conventionally `body`; executor schemes (`{tag}://`) typically declare `stdout`.
|
|
47
47
|
*/
|
|
48
48
|
default_channel: string;
|
|
49
49
|
/**
|
|
@@ -97,7 +97,7 @@ export interface Params {
|
|
|
97
97
|
[k: string]: (string | string[]);
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* One named stream of content on an entry. Channels carry distinct, parallel views of an entry (e.g. `stdout` and `stderr` on `
|
|
100
|
+
* One named stream of content on an entry. Channels carry distinct, parallel views of an entry (e.g. `stdout` and `stderr` on an executor scheme like `node://`/`sh://`; `body` and `headers` on `https://`; `body` and `symbols` on a code file). Each channel has its own content bytes, mimetype, and token count.
|
|
101
101
|
*/
|
|
102
102
|
export interface LineMarker {
|
|
103
103
|
/**
|
package/package.json
CHANGED
package/plurnk.md
CHANGED
|
@@ -101,7 +101,7 @@ Body content is character-perfect, exactly matching whitespace.
|
|
|
101
101
|
<<READ(README.md)://h2/text():READ
|
|
102
102
|
<<READ(plurnk:///manifest.json):$[?(@.channels.stderr)]:READ
|
|
103
103
|
<<READ(log:///1/2/3):$[*].matched.codename:READ
|
|
104
|
-
<<READ(
|
|
104
|
+
<<READ(node:///3/1/2#stdout)<1,40>::READ
|
|
105
105
|
<<READ(/etc/hosts)<2>::READ
|
|
106
106
|
<<READ(https://en.wikipedia.org/wiki/Paris)<426,465>::READ
|
|
107
107
|
<<EDIT[philosophy,existentialism](known:///philosophy/existentialism/meaning.md):The meaning of life is 42:EDIT
|
|
@@ -121,7 +121,7 @@ Body content is character-perfect, exactly matching whitespace.
|
|
|
121
121
|
<<COPY[archive,2026-05-14](known:///draft.md):known:///archive/2026-05-14/draft.md:COPY
|
|
122
122
|
<<MOVE[final](known:///draft/answer.md):known:///final/answer.md:MOVE
|
|
123
123
|
<<KILL(obsolete/file.md)::KILL
|
|
124
|
-
<<KILL(
|
|
124
|
+
<<KILL(sh:///3/1/2)::KILL
|
|
125
125
|
<<EDIT(run:///capital-check):Find the capital of France.:EDIT
|
|
126
126
|
<<COPY(run:///.):Re-derive the capital from a primary source.:COPY
|
|
127
127
|
<<OPEN(log:///**/get)<1,10>::OPEN
|