@mhome/conversation-protocol 3.15.0 → 3.16.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,13 +40,12 @@ 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
|
-
|
|
44
|
-
`{ "type": "
|
|
45
|
-
The
|
|
46
|
-
The
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
the prepared action verifies authoritative installation state when the user continues.
|
|
43
|
+
Connection HITL previews resume one exact lifecycle session:
|
|
44
|
+
`{ "type": "connect_integration", "integrationId": "provider.example", "sessionId": "session" }`.
|
|
45
|
+
The execution and conversation contracts use the same closed client-task shape.
|
|
46
|
+
The UI reads and resumes that session; it never starts a replacement on reopening.
|
|
47
|
+
The Agent verifies its authoritative completion result and Connection ID. Expired
|
|
48
|
+
or lost sessions fail explicitly. Direct installation confirmations have no client task.
|
|
50
49
|
|
|
51
50
|
`RunErrorCode` is the closed catalog for `runOutcome.errorCode` and Agent `Failed.code`. Host
|
|
52
51
|
terminalize and Agent failures emit the same strings. `status` and `failure.source` are properties
|
|
@@ -34,12 +34,13 @@
|
|
|
34
34
|
"proceedLabel": "Done, check installation",
|
|
35
35
|
"rejectLabel": "Cancel",
|
|
36
36
|
"clientTask": {
|
|
37
|
-
"type": "
|
|
38
|
-
"integrationId": "provider.example"
|
|
37
|
+
"type": "connect_integration",
|
|
38
|
+
"integrationId": "provider.example",
|
|
39
|
+
"sessionId": "connection-session"
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
42
|
"payload": {
|
|
42
|
-
"target": "/app/integration/
|
|
43
|
+
"target": "/app/integration/connect"
|
|
43
44
|
},
|
|
44
45
|
"revision": 8,
|
|
45
46
|
"interaction_kind": "user_action"
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -253,16 +253,22 @@
|
|
|
253
253
|
"additionalProperties": false,
|
|
254
254
|
"required": [
|
|
255
255
|
"type",
|
|
256
|
-
"integrationId"
|
|
256
|
+
"integrationId",
|
|
257
|
+
"sessionId"
|
|
257
258
|
],
|
|
258
259
|
"properties": {
|
|
259
260
|
"type": {
|
|
260
|
-
"const": "
|
|
261
|
+
"const": "connect_integration"
|
|
261
262
|
},
|
|
262
263
|
"integrationId": {
|
|
263
264
|
"type": "string",
|
|
264
265
|
"minLength": 1,
|
|
265
266
|
"pattern": "\\S"
|
|
267
|
+
},
|
|
268
|
+
"sessionId": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"minLength": 1,
|
|
271
|
+
"pattern": "\\S"
|
|
266
272
|
}
|
|
267
273
|
}
|
|
268
274
|
}
|
|
@@ -834,16 +834,22 @@
|
|
|
834
834
|
"additionalProperties": false,
|
|
835
835
|
"required": [
|
|
836
836
|
"type",
|
|
837
|
-
"integrationId"
|
|
837
|
+
"integrationId",
|
|
838
|
+
"sessionId"
|
|
838
839
|
],
|
|
839
840
|
"properties": {
|
|
840
841
|
"type": {
|
|
841
|
-
"const": "
|
|
842
|
+
"const": "connect_integration"
|
|
842
843
|
},
|
|
843
844
|
"integrationId": {
|
|
844
845
|
"type": "string",
|
|
845
846
|
"minLength": 1,
|
|
846
847
|
"pattern": "\\S"
|
|
848
|
+
},
|
|
849
|
+
"sessionId": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"minLength": 1,
|
|
852
|
+
"pattern": "\\S"
|
|
847
853
|
}
|
|
848
854
|
}
|
|
849
855
|
}
|