@plurnk/plurnk-grammar 0.12.2 → 0.13.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/plurnk.md +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.12.2",
3
+ "version": "0.13.0",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/plurnk.md CHANGED
@@ -37,6 +37,8 @@ Sentinels: `<0>` before position 1 (prepend), `<-1>` after the last position (ap
37
37
 
38
38
  Clearing content: `<1,-1>` selects every position; combine with an empty body to clear an entry.
39
39
 
40
+ On structured entries, `<L>` addresses item index, not line number.
41
+
40
42
  ## Body matcher dispatch (FIND, READ, SHOW, HIDE)
41
43
 
42
44
  | leading prefix | dialect | form |
@@ -110,6 +112,7 @@ Body content is character-perfect, exactly matching whitespace.
110
112
  <<EDIT(known://plan)<2>:- [x] Discover capital of France:EDIT
111
113
  <<EDIT(known://countries/france/capital)<-1>:[Wikipedia: Paris](https://en.wikipedia.org/wiki/Paris):EDIT
112
114
  <<EDIT(known://countries/france/capital)<1,-1>::EDIT
115
+ <<EDIT(known://users)<-1>:{"name":"Eve"}:EDIT
113
116
  <<COPY[archive,2026-05-14](known://draft):known://archive/2026-05-14/draft:COPY
114
117
  <<MOVE(known://draft/answer):known://final/answer:MOVE
115
118
  <<MOVE(known://obsolete/note):/dev/null:MOVE