@plurnk/plurnk-grammar 0.7.0 → 0.7.1

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 +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/plurnk.md CHANGED
@@ -94,11 +94,13 @@ Body content is character-perfect, exactly matching whitespace.
94
94
  <<READ(https://en.wikipedia.org/wiki/Paris)<426-465>::READ
95
95
  <<EDIT[philosophy,existentialism](known://philosophy/existentialism/meaning):The meaning of life is 42:EDIT
96
96
  <<EDIT[france,geography](unknown://countries/france/capital):What is the capital of France?:EDIT
97
+
97
98
  <<EDIT[plan,france,task](known://plan):
98
99
  - [ ] Decompose prompt into unknowns
99
100
  - [ ] Discover capital of France
100
101
  - [ ] Deliver
101
102
  :EDIT
103
+
102
104
  <<EDIT(known://plan)<2>:- [x] Discover capital of France:EDIT
103
105
  <<EDIT(known://countries/france/capital)<-1>:[Wikipedia: Paris](https://en.wikipedia.org/wiki/Paris):EDIT
104
106
  <<EDIT(known://countries/france/capital)::EDIT
@@ -107,11 +109,13 @@ Body content is character-perfect, exactly matching whitespace.
107
109
  <<SHOW[france](known://countries/**):Paris*:SHOW
108
110
  <<HIDE(log://**/get)<101-200>::HIDE
109
111
  <<FIND(log://**/error):/timeout|deadline exceeded/i:FIND
112
+
110
113
  <<EXEC[node](./):
111
114
  const sum = [1, 2, 3].reduce((a, b) => a + b, 0);
112
115
  console.log(sum);
113
116
  :EXEC
117
+
114
118
  <<SEND[102]:decomposed prompt into unknowns; plan initialized:SEND
115
- <<SEND[200]:{"city":"Paris","population":2161000}:SEND
116
119
  <<SEND[200]:Paris:SEND
120
+ <<SEND[200]:{"city":"Paris","population":2161000}:SEND
117
121
  ```