@mhome/conversation-protocol 3.10.0 → 3.12.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
|
@@ -40,6 +40,14 @@ Model data is re-exported from `llm-api`; there is one model-message representat
|
|
|
40
40
|
messages intentionally use separate content types and never contain private model continuation.
|
|
41
41
|
Runtime state machines, checkpoint formats, prompts and recovery policy remain in Agent Runtime.
|
|
42
42
|
|
|
43
|
+
Installation HITL previews use exactly one concrete target:
|
|
44
|
+
`{ "type": "install_integration", "integrationId": "provider.example" }`.
|
|
45
|
+
The same closed client-task contract is used by execution and conversation frames.
|
|
46
|
+
The old plural task and array field are rejected; producers and consumers must
|
|
47
|
+
adopt this contract together. Direct installation uses an ordinary approval
|
|
48
|
+
without a client task. Connection tasks open the existing connection UI, then
|
|
49
|
+
the prepared action verifies authoritative installation state when the user continues.
|
|
50
|
+
|
|
43
51
|
`RunErrorCode` is the closed catalog for `runOutcome.errorCode` and Agent `Failed.code`. Host
|
|
44
52
|
terminalize and Agent failures emit the same strings. `status` and `failure.source` are properties
|
|
45
53
|
of the code; `failure.code` equals `errorCode`. User-visible copy stays in `runOutcome.message`,
|
|
@@ -19,27 +19,23 @@
|
|
|
19
19
|
"operation_id": "run-1:step:0:tool:call-2",
|
|
20
20
|
"preview": {
|
|
21
21
|
"actionCode": "integration.install",
|
|
22
|
-
"title": "
|
|
23
|
-
"message": "
|
|
22
|
+
"title": "Connect integration",
|
|
23
|
+
"message": "Complete the connection flow, then check installation.",
|
|
24
24
|
"tone": "normal",
|
|
25
25
|
"details": [
|
|
26
26
|
{
|
|
27
|
-
"label": "
|
|
27
|
+
"label": "Integration",
|
|
28
28
|
"value": {
|
|
29
|
-
"type": "
|
|
30
|
-
"
|
|
31
|
-
"matter"
|
|
32
|
-
]
|
|
29
|
+
"type": "text",
|
|
30
|
+
"text": "provider.example"
|
|
33
31
|
}
|
|
34
32
|
}
|
|
35
33
|
],
|
|
36
|
-
"proceedLabel": "
|
|
37
|
-
"rejectLabel": "
|
|
34
|
+
"proceedLabel": "Done, check installation",
|
|
35
|
+
"rejectLabel": "Cancel",
|
|
38
36
|
"clientTask": {
|
|
39
|
-
"type": "
|
|
40
|
-
"
|
|
41
|
-
"matter"
|
|
42
|
-
]
|
|
37
|
+
"type": "install_integration",
|
|
38
|
+
"integrationId": "provider.example"
|
|
43
39
|
}
|
|
44
40
|
},
|
|
45
41
|
"payload": {
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -253,18 +253,16 @@
|
|
|
253
253
|
"additionalProperties": false,
|
|
254
254
|
"required": [
|
|
255
255
|
"type",
|
|
256
|
-
"
|
|
256
|
+
"integrationId"
|
|
257
257
|
],
|
|
258
258
|
"properties": {
|
|
259
259
|
"type": {
|
|
260
|
-
"const": "
|
|
260
|
+
"const": "install_integration"
|
|
261
261
|
},
|
|
262
|
-
"
|
|
263
|
-
"type": "
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"$ref": "#/$defs/id"
|
|
267
|
-
}
|
|
262
|
+
"integrationId": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"minLength": 1,
|
|
265
|
+
"pattern": "\\S"
|
|
268
266
|
}
|
|
269
267
|
}
|
|
270
268
|
}
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
},
|
|
322
322
|
"uri": {
|
|
323
323
|
"type": "string",
|
|
324
|
-
"pattern": "^meow-artifact://
|
|
324
|
+
"pattern": "^meow-artifact://v3/"
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
},
|
|
@@ -834,18 +834,16 @@
|
|
|
834
834
|
"additionalProperties": false,
|
|
835
835
|
"required": [
|
|
836
836
|
"type",
|
|
837
|
-
"
|
|
837
|
+
"integrationId"
|
|
838
838
|
],
|
|
839
839
|
"properties": {
|
|
840
840
|
"type": {
|
|
841
|
-
"const": "
|
|
841
|
+
"const": "install_integration"
|
|
842
842
|
},
|
|
843
|
-
"
|
|
844
|
-
"type": "
|
|
845
|
-
"
|
|
846
|
-
"
|
|
847
|
-
"$ref": "#/$defs/identifier"
|
|
848
|
-
}
|
|
843
|
+
"integrationId": {
|
|
844
|
+
"type": "string",
|
|
845
|
+
"minLength": 1,
|
|
846
|
+
"pattern": "\\S"
|
|
849
847
|
}
|
|
850
848
|
}
|
|
851
849
|
}
|