@plurnk/plurnk-grammar 0.13.0 → 0.15.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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/plurnk.md CHANGED
@@ -56,6 +56,7 @@ URI-shaped: `[scheme://]rest`.
56
56
 
57
57
  * Bare paths (no scheme) default to local relative project file paths (leader `/` for absolute path).
58
58
  * Glob metacharacters (`*`, `**`, `?`, `[...]`) are allowed in path segments.
59
+ * Path suffix (`.json`, `.md`, `.txt`, etc.) declares mimetype; absent suffix defers to scheme default.
59
60
 
60
61
  Internal schemes:
61
62
 
@@ -98,6 +99,7 @@ Body content is character-perfect, exactly matching whitespace.
98
99
  ```
99
100
  <<FIND(config/**/*.xml)://user[@role='admin']:FIND
100
101
  <<READ(lang/??.json):$.greeting:READ
102
+ <<READ(README.md):$.Installation:READ
101
103
  <<READ(log://1/2/3):$[*].matched.codename:READ
102
104
  <<READ(https://en.wikipedia.org/wiki/Paris)<426,465>::READ
103
105
  <<EDIT[philosophy,existentialism](known://philosophy/existentialism/meaning):The meaning of life is 42:EDIT
@@ -112,7 +114,7 @@ Body content is character-perfect, exactly matching whitespace.
112
114
  <<EDIT(known://plan)<2>:- [x] Discover capital of France:EDIT
113
115
  <<EDIT(known://countries/france/capital)<-1>:[Wikipedia: Paris](https://en.wikipedia.org/wiki/Paris):EDIT
114
116
  <<EDIT(known://countries/france/capital)<1,-1>::EDIT
115
- <<EDIT(known://users)<-1>:{"name":"Eve"}:EDIT
117
+ <<EDIT(known://users.json)<-1>:{"name":"Eve"}:EDIT
116
118
  <<COPY[archive,2026-05-14](known://draft):known://archive/2026-05-14/draft:COPY
117
119
  <<MOVE(known://draft/answer):known://final/answer:MOVE
118
120
  <<MOVE(known://obsolete/note):/dev/null:MOVE