@mhome/conversation-protocol 3.3.0 → 3.6.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 (31) hide show
  1. package/README.md +20 -0
  2. package/fixtures/control-get.request.json +5 -0
  3. package/fixtures/control-get.response.json +24 -0
  4. package/fixtures/control.event.json +28 -0
  5. package/fixtures/enqueue.response.json +25 -3
  6. package/fixtures/execution/enqueue.v1.json +30 -278
  7. package/fixtures/execution/observation.v1.json +3 -3
  8. package/fixtures/interaction-answer.response.json +25 -3
  9. package/fixtures/interaction.response.json +24 -2
  10. package/fixtures/live.event.json +4 -2
  11. package/fixtures/progress-planning.event.json +4 -2
  12. package/fixtures/progress-thinking.event.json +4 -2
  13. package/fixtures/progress-tool-scheduled.event.json +8 -2
  14. package/fixtures/progress-tool-started.event.json +5 -2
  15. package/fixtures/progress-waiting.event.json +4 -2
  16. package/fixtures/queue-reorder.response.json +24 -2
  17. package/fixtures/request-cancel-waiting.response.json +26 -4
  18. package/fixtures/request-cancel.response.json +26 -4
  19. package/fixtures/session-start.response.json +39 -9
  20. package/fixtures/system-failed.event.json +5 -2
  21. package/fixtures/thread-archive.response.json +36 -5
  22. package/fixtures/thread-create.response.json +35 -5
  23. package/fixtures/thread-load.response.json +26 -5
  24. package/fixtures/thread-rotate.response.json +45 -6
  25. package/fixtures/turn-submit-waiting.response.json +28 -6
  26. package/fixtures/turn-submit.response.json +27 -5
  27. package/manifest/targets.v1.json +2 -1
  28. package/package.json +1 -1
  29. package/protocol.json +1 -1
  30. package/schema/conversation-frame.v2.schema.json +440 -157
  31. package/schema/execution/envelope.v1.schema.json +8 -27
@@ -610,19 +610,15 @@
610
610
  }
611
611
  }
612
612
  },
613
- "llm_route_binding": {
613
+ "llm_execution_plan": {
614
614
  "type": "object",
615
615
  "additionalProperties": false,
616
616
  "required": [
617
- "use_case",
618
617
  "model_mode",
619
618
  "revision",
620
619
  "route"
621
620
  ],
622
621
  "properties": {
623
- "use_case": {
624
- "$ref": "#/$defs/identifier"
625
- },
626
622
  "model_mode": {
627
623
  "$ref": "#/$defs/identifier"
628
624
  },
@@ -642,22 +638,6 @@
642
638
  }
643
639
  }
644
640
  },
645
- "llm_execution_plan": {
646
- "type": "object",
647
- "additionalProperties": false,
648
- "required": [
649
- "routes"
650
- ],
651
- "properties": {
652
- "routes": {
653
- "type": "array",
654
- "minItems": 1,
655
- "items": {
656
- "$ref": "#/$defs/llm_route_binding"
657
- }
658
- }
659
- }
660
- },
661
641
  "command_request": {
662
642
  "type": "object",
663
643
  "additionalProperties": false,
@@ -1135,8 +1115,7 @@
1135
1115
  "additionalProperties": false,
1136
1116
  "required": [
1137
1117
  "type",
1138
- "content",
1139
- "append"
1118
+ "content"
1140
1119
  ],
1141
1120
  "properties": {
1142
1121
  "type": {
@@ -1144,9 +1123,6 @@
1144
1123
  },
1145
1124
  "content": {
1146
1125
  "type": "string"
1147
- },
1148
- "append": {
1149
- "type": "boolean"
1150
1126
  }
1151
1127
  }
1152
1128
  },
@@ -1257,7 +1233,8 @@
1257
1233
  "additionalProperties": false,
1258
1234
  "required": [
1259
1235
  "context",
1260
- "observation"
1236
+ "observation",
1237
+ "sequence"
1261
1238
  ],
1262
1239
  "properties": {
1263
1240
  "context": {
@@ -1265,6 +1242,10 @@
1265
1242
  },
1266
1243
  "observation": {
1267
1244
  "$ref": "#/$defs/agent_observation"
1245
+ },
1246
+ "sequence": {
1247
+ "type": "integer",
1248
+ "minimum": 1
1268
1249
  }
1269
1250
  }
1270
1251
  },