@plurnk/plurnk-grammar 0.74.17 → 0.74.18

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/plurnk.md +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.74.17",
3
+ "version": "0.74.18",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/plurnk.md CHANGED
@@ -17,13 +17,13 @@ The `(target)` is required for every operation except PLAN, EXEC, and SEND. Othe
17
17
  | OP | `[signal]` | `(target)` | `<Line> / <Result>` | body |
18
18
  |------|-------------|------------|---------------------|------------------|
19
19
  | PLAN | - | - | - | plan / reasoning |
20
- | FIND | filter tags | path | results `N,M` | filter |
21
- | READ | filter tags | path | lines `N,M` | filter |
20
+ | FIND | filter tags | path | results `N,M` | pattern |
21
+ | READ | filter tags | path | lines `N,M` | pattern |
22
22
  | EDIT | tags | path | lines `N,M` | content |
23
23
  | COPY | apply tags | path | lines `N,M` | destination path |
24
24
  | MOVE | apply tags | path | lines `N,M` | destination path |
25
- | OPEN | filter tags | path (log) | results `N,M` | filter |
26
- | FOLD | filter tags | path (log) | results `N,M` | filter |
25
+ | OPEN | filter tags | path (log) | results `N,M` | pattern |
26
+ | FOLD | filter tags | path (log) | results `N,M` | pattern |
27
27
  | EXEC | executor | path / cwd | - | command or code |
28
28
  | KILL | signal | path | - | - |
29
29
  | SEND | status code | recipient | - | message body |
@@ -37,7 +37,8 @@ KILL deletes entries, erases log items, and kills streams.
37
37
 
38
38
  ### `<Line> / <Result>`
39
39
 
40
- `<N>` selects position N.
40
+ `<<READ(file.md)<N>::READ` selects line N
41
+ `<<FIND(src/**)<N>::FIND` selects result N
41
42
  `<N,M>` selects the inclusive range N through M. N and M are signed numbers.
42
43
 
43
44
  Sentinels: `<0>` before position 1 (prepend), `<-1>` after the last position (append).