@mhome/conversation-protocol 5.2.1 → 5.3.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.
package/README.md CHANGED
@@ -202,8 +202,8 @@ Callers supply the known `ResponseDetail`; the renderer preserves Full JSON and
202
202
  Essential YAML with partial outcomes, warnings and late error observations intact.
203
203
  It does not change the stored result or choose domain business fields.
204
204
 
205
- `execution::essential_yaml` is the common Essential serializer: it omits
206
- null-valued object fields recursively while preserving array positions, root null,
207
- empty collections, false, zero and all string content. App Facade projections,
208
- Agent workflow results and provider-visible diagnostics use the same rule; Full
209
- business values and persisted execution state are unchanged.
205
+ `execution::essential_yaml` serializes an already selected Essential projection without
206
+ removing null or other business values. Domain projections own optional field omission;
207
+ the serializer preserves explicit null, array positions, empty collections, false, zero
208
+ and string content. Late warnings and errors use the same lossless rule. Full business
209
+ values and persisted execution state are unchanged.
@@ -6,10 +6,16 @@
6
6
  "requestId": "request-1",
7
7
  "content": {
8
8
  "parts": [
9
- { "type": "text", "text": "Hello" },
9
+ {
10
+ "type": "text",
11
+ "text": "Hello"
12
+ },
10
13
  {
11
14
  "type": "image",
12
- "source": { "kind": "artifact", "uri": "artifact://image-1" },
15
+ "source": {
16
+ "kind": "artifact",
17
+ "uri": "artifact://image-1"
18
+ },
13
19
  "mime_type": "image/png",
14
20
  "width_px": 640,
15
21
  "height_px": 480,
@@ -18,7 +24,6 @@
18
24
  ]
19
25
  },
20
26
  "accessMode": "interactive",
21
- "agentModelMode": "auto",
22
27
  "temperature": 0.2,
23
28
  "allowTools": true,
24
29
  "debug": false
@@ -46,7 +46,6 @@
46
46
  },
47
47
  "options": {
48
48
  "use_case": "chat",
49
- "model_mode": "auto",
50
49
  "access_mode": "interactive",
51
50
  "allow_tools": true,
52
51
  "max_steps": 8,
@@ -63,7 +62,6 @@
63
62
  "scope_integrations": "scope-integrations-1"
64
63
  },
65
64
  "llm_plan": {
66
- "model_mode": "auto",
67
65
  "revision": "1700000000000",
68
66
  "route": {
69
67
  "backend": "openrouter",
@@ -6,11 +6,13 @@
6
6
  "title": "Kitchen chat",
7
7
  "content": {
8
8
  "parts": [
9
- { "type": "text", "text": "Turn on the lights" }
9
+ {
10
+ "type": "text",
11
+ "text": "Turn on the lights"
12
+ }
10
13
  ]
11
14
  },
12
15
  "accessMode": "interactive",
13
- "agentModelMode": "auto",
14
16
  "temperature": null,
15
17
  "allowTools": true,
16
18
  "debug": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.conversation.targets.v1",
3
- "contractVersion": "5.2.1",
3
+ "contractVersion": "5.3.0",
4
4
  "requestTargets": [
5
5
  "/chat/control/get",
6
6
  "/chat/thread/list",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhome/conversation-protocol",
3
- "version": "5.2.1",
3
+ "version": "5.3.0",
4
4
  "description": "Build-time protocol artifacts for mhome.conversation",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -37,7 +37,6 @@
37
37
  "./fixtures/*": "./fixtures/*"
38
38
  },
39
39
  "publishConfig": {
40
- "access": "public",
41
- "provenance": true
40
+ "access": "public"
42
41
  }
43
42
  }
package/protocol.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "protocol": "mhome.conversation",
3
- "contractVersion": "5.2.1",
3
+ "contractVersion": "5.3.0",
4
4
  "manifest": "manifest/targets.v1.json",
5
5
  "schemas": {
6
6
  "frame": "schema/conversation-frame.v2.schema.json",
@@ -1631,7 +1631,6 @@
1631
1631
  "threadId",
1632
1632
  "requestId",
1633
1633
  "content",
1634
- "agentModelMode",
1635
1634
  "allowTools",
1636
1635
  "debug"
1637
1636
  ],
@@ -1652,9 +1651,6 @@
1652
1651
  "no_access"
1653
1652
  ]
1654
1653
  },
1655
- "agentModelMode": {
1656
- "$ref": "#/$defs/id"
1657
- },
1658
1654
  "temperature": {
1659
1655
  "oneOf": [
1660
1656
  {
@@ -1696,7 +1692,6 @@
1696
1692
  "required": [
1697
1693
  "requestId",
1698
1694
  "content",
1699
- "agentModelMode",
1700
1695
  "allowTools",
1701
1696
  "debug",
1702
1697
  "occurredAtUnixMs"
@@ -1718,9 +1713,6 @@
1718
1713
  "no_access"
1719
1714
  ]
1720
1715
  },
1721
- "agentModelMode": {
1722
- "$ref": "#/$defs/id"
1723
- },
1724
1716
  "temperature": {
1725
1717
  "oneOf": [
1726
1718
  {
@@ -403,7 +403,6 @@
403
403
  "additionalProperties": false,
404
404
  "required": [
405
405
  "use_case",
406
- "model_mode",
407
406
  "access_mode",
408
407
  "allow_tools",
409
408
  "max_steps",
@@ -415,10 +414,6 @@
415
414
  "type": "string",
416
415
  "minLength": 1
417
416
  },
418
- "model_mode": {
419
- "type": "string",
420
- "minLength": 1
421
- },
422
417
  "access_mode": {
423
418
  "enum": [
424
419
  "interactive",
@@ -615,14 +610,10 @@
615
610
  "type": "object",
616
611
  "additionalProperties": false,
617
612
  "required": [
618
- "model_mode",
619
613
  "revision",
620
614
  "route"
621
615
  ],
622
616
  "properties": {
623
- "model_mode": {
624
- "$ref": "#/$defs/identifier"
625
- },
626
617
  "revision": {
627
618
  "oneOf": [
628
619
  {