@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.
- package/package.json +1 -1
- package/plurnk.md +35 -44
package/package.json
CHANGED
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
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
:
|
|
118
|
-
|
|
119
|
-
<<
|
|
120
|
-
<<
|
|
121
|
-
<<
|
|
122
|
-
<<
|
|
123
|
-
<<
|
|
124
|
-
<<
|
|
125
|
-
<<
|
|
126
|
-
<<
|
|
127
|
-
<<
|
|
128
|
-
<<
|
|
129
|
-
<<
|
|
130
|
-
<<
|
|
131
|
-
<<
|
|
132
|
-
<<FIND(
|
|
133
|
-
<<FIND(
|
|
134
|
-
<<
|
|
135
|
-
<<
|
|
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
|