@plurnk/plurnk-grammar 0.74.9 → 0.74.10

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/dist/plurnk.gbnf +18 -11
  2. package/package.json +1 -1
package/dist/plurnk.gbnf CHANGED
@@ -240,7 +240,8 @@ rz-chan-b9 ::= ("<" rz-chan-b1 | [^\x00-\x08\x0B-\x0C\x0E-\x1F\x7F<>] rz-chan-b0
240
240
  think-block ::= "<think>" rz-think-b0 "</think>"
241
241
  channel-block ::= "<|channel>" rz-chan-b0 "<channel|>"
242
242
  reasoning ::= think-block | channel-block
243
- root-turn ::= reasoning? preplan plan sep batch-step* send-final-any sep
243
+ root-turn ::= reasoning? preplan plan sep turn-body sep
244
+ turn-body ::= send-final-any | batch-step batch-step* send-final-no200
244
245
  op-statement-6 ::= tags? target line? ":" copy-1-b0 ":COPY1"
245
246
  op-statement-7 ::= tags? target line? ":" copy-2-b0 ":COPY2"
246
247
  op-statement-5 ::= tags? target line? ":" copy-b0 ":COPY" | "1" op-statement-6 | "2" op-statement-7
@@ -287,17 +288,13 @@ op-statement-45 ::= tags? target line? ":" open-b0 ":OPEN" | "1" op-statement-46
287
288
  op-statement-44 ::= "N" op-statement-45
288
289
  op-statement-43 ::= "E" op-statement-44
289
290
  op-statement-42 ::= "P" op-statement-43
290
- op-statement-51 ::= ":" plan-b0ne ":PLAN"
291
- op-statement-50 ::= "N" op-statement-51
291
+ op-statement-52 ::= tags? target line? ":" read-1-b0 ":READ1"
292
+ op-statement-53 ::= tags? target line? ":" read-2-b0 ":READ2"
293
+ op-statement-51 ::= tags? target line? ":" read-b0 ":READ" | "1" op-statement-52 | "2" op-statement-53
294
+ op-statement-50 ::= "D" op-statement-51
292
295
  op-statement-49 ::= "A" op-statement-50
293
- op-statement-48 ::= "L" op-statement-49
294
- op-statement-56 ::= tags? target line? ":" read-1-b0 ":READ1"
295
- op-statement-57 ::= tags? target line? ":" read-2-b0 ":READ2"
296
- op-statement-55 ::= tags? target line? ":" read-b0 ":READ" | "1" op-statement-56 | "2" op-statement-57
297
- op-statement-54 ::= "D" op-statement-55
298
- op-statement-53 ::= "A" op-statement-54
299
- op-statement-52 ::= "E" op-statement-53
300
- op-statement-1 ::= "C" op-statement-2 | "E" op-statement-8 | "F" op-statement-19 | "K" op-statement-30 | "M" op-statement-36 | "O" op-statement-42 | "P" op-statement-48 | "R" op-statement-52
296
+ op-statement-48 ::= "E" op-statement-49
297
+ op-statement-1 ::= "C" op-statement-2 | "E" op-statement-8 | "F" op-statement-19 | "K" op-statement-30 | "M" op-statement-36 | "O" op-statement-42 | "R" op-statement-48
301
298
  op-statement-0 ::= "<" op-statement-1
302
299
  op-statement ::= "<" op-statement-0
303
300
  send-mid-any-6 ::= "[" status-mid "]" target ":" send-1-b0 ":SEND1" | target ":" send-1-b0 ":SEND1" | "[" status-mid "]" ":" send-1-b0 ":SEND1" | ":" send-1-b0 ":SEND1"
@@ -318,7 +315,17 @@ send-final-any-2 ::= "E" send-final-any-3
318
315
  send-final-any-1 ::= "S" send-final-any-2
319
316
  send-final-any-0 ::= "<" send-final-any-1
320
317
  send-final-any ::= "<" send-final-any-0
318
+ send-final-no200-6 ::= "[" status-final-no200 "]" target? ":" send-1-b0ne ":SEND1"
319
+ send-final-no200-7 ::= "[" status-final-no200 "]" target? ":" send-2-b0ne ":SEND2"
320
+ send-final-no200-5 ::= "[" status-final-no200 "]" target? ":" send-b0ne ":SEND" | "1" send-final-no200-6 | "2" send-final-no200-7
321
+ send-final-no200-4 ::= "D" send-final-no200-5
322
+ send-final-no200-3 ::= "N" send-final-no200-4
323
+ send-final-no200-2 ::= "E" send-final-no200-3
324
+ send-final-no200-1 ::= "S" send-final-no200-2
325
+ send-final-no200-0 ::= "<" send-final-no200-1
326
+ send-final-no200 ::= "<" send-final-no200-0
321
327
  status-final ::= "102" | "200" | "202" | "300" | "499"
328
+ status-final-no200 ::= "102" | "202" | "300" | "499"
322
329
  status-mid ::= "10" [0-13-9] | "1" [1-9] [0-9] | "20" [13-9] | "2" [1-9] [0-9] | "30" [1-9] | "3" [1-9] [0-9] | "4" [0-8] [0-9] | "49" [0-8] | [05-9] [0-9] [0-9]
323
330
  tags ::= "[" tag tag-rest* "]"
324
331
  tag ::= [A-Za-z0-9_.-]+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-grammar",
3
- "version": "0.74.9",
3
+ "version": "0.74.10",
4
4
  "description": "ANTLR4 grammar for the Plurnk LLM agent protocol",
5
5
  "type": "module",
6
6
  "license": "MIT",