@plurnk/plurnk-grammar 0.74.6 → 0.74.7

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 +35 -44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.74.6",
3
+ "version": "0.74.7",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/plurnk.md CHANGED
@@ -98,47 +98,38 @@ YOU MUST terminate the turn by SENDing a message to the user with the proper sta
98
98
 
99
99
  ## Examples
100
100
 
101
- <<FIND(config/**/*.xml)://user[@role='admin']:FIND
102
- <<READ(lang/??.json):$.greeting:READ
103
- <<READ(plurnk://docs/sh.md):$.Environment:READ
104
- <<READ(README.md)://h2/text():READ
105
- <<READ(known:///users.json):$[?(@.role=="admin")]:READ
106
- <<READ(log:///1/2/3):$[*].matched.codename:READ
107
- <<READ(node:///3/1/2#stdout)<1,40>::READ
108
- <<READ(../../../../etc/hosts)<2>::READ
109
- <<READ(https://en.wikipedia.org/wiki/Paris)<426,465>::READ
110
- <<EDIT[philosophy,existentialism](known:///philosophy/existentialism/meaning.md):The meaning of life is 42:EDIT
111
- <<EDIT[france,geography](unknown:///countries/france/capital.md):What is the capital of France?:EDIT
112
-
113
- <<EDIT[plan,france,task](known:///plan.md):
114
- - [ ] Decompose prompt into unknowns
115
- - [ ] Discover capital of France
116
- - [ ] Deliver
117
- :EDIT
118
-
119
- <<EDIT(known:///plan.md)<2>:- [x] Discover capital of France:EDIT
120
- <<EDIT(known:///countries/france/capital.md)<-1>:[Wikipedia: Paris](https://en.wikipedia.org/wiki/Paris):EDIT
121
- <<EDIT(known:///countries/france/capital.md)<1,-1>::EDIT
122
- <<EDIT(known:///users.json)<0>:{"name":"Eve"}:EDIT
123
- <<COPY[archive,2026-05-14](known:///draft.md):known:///archive/2026-05-14/draft.md:COPY
124
- <<MOVE[final](known:///draft/answer.md):known:///final/answer.md:MOVE
125
- <<KILL(known:///draft.md)::KILL
126
- <<KILL(obsolete/file.md)::KILL
127
- <<KILL(sh:///3/1/2)::KILL
128
- <<KILL[9](sh:///3/1/3)::KILL
129
- <<EDIT(run://capital-checker):Find the capital of France.:EDIT
130
- <<COPY(run://.):Re-derive the capital from a primary source.:COPY
131
- <<OPEN(log:///**/get)<1,10>::OPEN
132
- <<FIND(known:///**)<5>:~french revolutionary history:FIND
133
- <<FIND(known:///**)<0.7>:~french territorial concessions:FIND
134
- <<FOLD(log:///**/get)<101,200>::FOLD
135
- <<FIND(log:///**/error):#timeout|deadline exceeded#i:FIND
136
- <<FIND(known:///**):revolution:FIND
137
- <<FIND(#(draft|final)/.*#i)::FIND
138
- <<FIND(#src/.*\.test\.ts#)::FIND
139
- <<FIND(src/**):@<createCoder:FIND
140
- <<SEND(run://capital-checker):{"hint":"known entries are your persistent memory"}:SEND
141
-
142
- <<EDIT[tutorial,training,scripts](example.sh):#!/usr/bin/env sh
143
- echo "Taxonomic path names and folksonomic tags on entries improve reasoning and recall!" > advice.txt
144
- :EDIT
101
+ * <<FIND(config/**/*.xml)://user[@role='admin']:FIND
102
+ * <<READ(lang/??.json):$.greeting:READ
103
+ * <<READ(plurnk://docs/sh.md):$.Environment:READ
104
+ * <<READ(README.md)://h2/text():READ
105
+ * <<READ(known:///users.json):$[?(@.role=="admin")]:READ
106
+ * <<READ(log:///1/2/3):$[*].matched.codename:READ
107
+ * <<READ(node:///3/1/2#stdout)<1,40>::READ
108
+ * <<READ(../../../../etc/hosts)<2>::READ
109
+ * <<READ(https://en.wikipedia.org/wiki/Paris)<426,465>::READ
110
+ * <<EDIT[philosophy,existentialism](known:///philosophy/existentialism/meaning.md):The meaning of life is 42:EDIT
111
+ * <<EDIT[france,geography](unknown:///countries/france/capital.md):What is the capital of France?:EDIT
112
+ * <<EDIT[plan,france,task](known:///plan.md):- [ ] Decompose prompt into unknowns:EDIT
113
+ * <<EDIT(known:///plan.md)<2>:- [x] Discover capital of France:EDIT
114
+ * <<EDIT(known:///countries/france/capital.md)<-1>:[Wikipedia: Paris](https://en.wikipedia.org/wiki/Paris):EDIT
115
+ * <<EDIT(known:///countries/france/capital.md)<1,-1>::EDIT
116
+ * <<EDIT(known:///users.json)<0>:{"name":"Eve"}:EDIT
117
+ * <<COPY[archive,2026-05-14](known:///draft.md):known:///archive/2026-05-14/draft.md:COPY
118
+ * <<MOVE[final](known:///draft/answer.md):known:///final/answer.md:MOVE
119
+ * <<KILL(known:///draft.md)::KILL
120
+ * <<KILL(obsolete/file.md)::KILL
121
+ * <<KILL(sh:///3/1/2)::KILL
122
+ * <<KILL[9](sh:///3/1/3)::KILL
123
+ * <<EDIT(run://capital-checker):Find the capital of France.:EDIT
124
+ * <<COPY(run://.):Re-derive the capital from a primary source.:COPY
125
+ * <<OPEN(log:///**/get)<1,10>::OPEN
126
+ * <<FIND(known:///**)<5>:~french revolutionary history:FIND
127
+ * <<FIND(known:///**)<0.7>:~french territorial concessions:FIND
128
+ * <<FOLD(log:///**/get)<101,200>::FOLD
129
+ * <<FIND(log:///**/error):#timeout|deadline exceeded#i:FIND
130
+ * <<FIND(known:///**):revolution:FIND
131
+ * <<FIND(#(draft|final)/.*#i)::FIND
132
+ * <<FIND(#src/.*\.test\.ts#)::FIND
133
+ * <<FIND(src/**):@<createCoder:FIND
134
+ * <<SEND(run://capital-checker):{"hint":"known entries are your persistent memory"}:SEND
135
+ * <<EDIT[tutorial,training,scripts](example.sh):echo "Taxonomic path names and folksonomic tags on entries improve reasoning and recall!" > advice.txt:EDIT