@mhome/conversation-protocol 3.9.1 → 3.10.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/fixtures/execution/admission.v1.json +6 -2
- package/fixtures/execution/app-facade-prepare.v1.json +6 -2
- package/fixtures/execution/completed-event.v1.json +6 -2
- package/fixtures/execution/enqueue.v1.json +6 -2
- package/fixtures/execution/failed-event.v1.json +6 -2
- package/fixtures/execution/interaction-required-event.v1.json +15 -3
- package/fixtures/execution/observation.v1.json +6 -2
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
- package/schema/execution/envelope.v1.schema.json +56 -5
|
@@ -20,8 +20,12 @@
|
|
|
20
20
|
"scope_id": "scope-1"
|
|
21
21
|
},
|
|
22
22
|
"actor": {
|
|
23
|
-
"
|
|
24
|
-
|
|
23
|
+
"principal": {
|
|
24
|
+
"kind": "user",
|
|
25
|
+
"userId": "user-1"
|
|
26
|
+
},
|
|
27
|
+
"client_id": "client-1",
|
|
28
|
+
"credential_id": null
|
|
25
29
|
},
|
|
26
30
|
"thread_id": "thread-1",
|
|
27
31
|
"run_id": "run-1",
|
|
@@ -20,8 +20,12 @@
|
|
|
20
20
|
"scope_id": "scope-1"
|
|
21
21
|
},
|
|
22
22
|
"actor": {
|
|
23
|
-
"
|
|
24
|
-
|
|
23
|
+
"principal": {
|
|
24
|
+
"kind": "user",
|
|
25
|
+
"userId": "user-1"
|
|
26
|
+
},
|
|
27
|
+
"client_id": "client-1",
|
|
28
|
+
"credential_id": null
|
|
25
29
|
},
|
|
26
30
|
"thread_id": "thread-1",
|
|
27
31
|
"run_id": "run-1",
|
|
@@ -22,8 +22,12 @@
|
|
|
22
22
|
"scope_id": "scope-1"
|
|
23
23
|
},
|
|
24
24
|
"actor": {
|
|
25
|
-
"
|
|
26
|
-
|
|
25
|
+
"principal": {
|
|
26
|
+
"kind": "user",
|
|
27
|
+
"userId": "user-1"
|
|
28
|
+
},
|
|
29
|
+
"client_id": "client-1",
|
|
30
|
+
"credential_id": null
|
|
27
31
|
},
|
|
28
32
|
"thread_id": "thread-1",
|
|
29
33
|
"run_id": "run-1",
|
|
@@ -21,8 +21,12 @@
|
|
|
21
21
|
"scope_id": "scope-1"
|
|
22
22
|
},
|
|
23
23
|
"actor": {
|
|
24
|
-
"
|
|
25
|
-
|
|
24
|
+
"principal": {
|
|
25
|
+
"kind": "user",
|
|
26
|
+
"userId": "user-1"
|
|
27
|
+
},
|
|
28
|
+
"client_id": "client-1",
|
|
29
|
+
"credential_id": null
|
|
26
30
|
},
|
|
27
31
|
"thread_id": "thread-1",
|
|
28
32
|
"run_id": "run-1",
|
|
@@ -22,8 +22,12 @@
|
|
|
22
22
|
"scope_id": "scope-1"
|
|
23
23
|
},
|
|
24
24
|
"actor": {
|
|
25
|
-
"
|
|
26
|
-
|
|
25
|
+
"principal": {
|
|
26
|
+
"kind": "user",
|
|
27
|
+
"userId": "user-1"
|
|
28
|
+
},
|
|
29
|
+
"client_id": "client-1",
|
|
30
|
+
"credential_id": null
|
|
27
31
|
},
|
|
28
32
|
"thread_id": "thread-1",
|
|
29
33
|
"run_id": "run-1",
|
|
@@ -17,8 +17,18 @@
|
|
|
17
17
|
"id": "event-1",
|
|
18
18
|
"sequence": 2,
|
|
19
19
|
"context": {
|
|
20
|
-
"scope": {
|
|
21
|
-
|
|
20
|
+
"scope": {
|
|
21
|
+
"tenant_id": "tenant-1",
|
|
22
|
+
"scope_id": "scope-1"
|
|
23
|
+
},
|
|
24
|
+
"actor": {
|
|
25
|
+
"principal": {
|
|
26
|
+
"kind": "user",
|
|
27
|
+
"userId": "user-1"
|
|
28
|
+
},
|
|
29
|
+
"client_id": "client-1",
|
|
30
|
+
"credential_id": null
|
|
31
|
+
},
|
|
22
32
|
"thread_id": "thread-1",
|
|
23
33
|
"run_id": "run-1",
|
|
24
34
|
"operation_id": "operation-1",
|
|
@@ -42,7 +52,9 @@
|
|
|
42
52
|
"proceedLabel": "Delete",
|
|
43
53
|
"rejectLabel": "Cancel"
|
|
44
54
|
},
|
|
45
|
-
"payload": {
|
|
55
|
+
"payload": {
|
|
56
|
+
"canvasId": "canvas-1"
|
|
57
|
+
},
|
|
46
58
|
"revision": 1,
|
|
47
59
|
"approval": "when_interactive",
|
|
48
60
|
"interaction_kind": "approval"
|
|
@@ -19,8 +19,12 @@
|
|
|
19
19
|
"scope_id": "scope-1"
|
|
20
20
|
},
|
|
21
21
|
"actor": {
|
|
22
|
-
"
|
|
23
|
-
|
|
22
|
+
"principal": {
|
|
23
|
+
"kind": "user",
|
|
24
|
+
"userId": "user-1"
|
|
25
|
+
},
|
|
26
|
+
"client_id": "client-1",
|
|
27
|
+
"credential_id": null
|
|
24
28
|
},
|
|
25
29
|
"thread_id": "thread-1",
|
|
26
30
|
"run_id": "run-1",
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -186,13 +186,11 @@
|
|
|
186
186
|
"type": "object",
|
|
187
187
|
"additionalProperties": false,
|
|
188
188
|
"required": [
|
|
189
|
-
"
|
|
190
|
-
"client_id"
|
|
189
|
+
"principal",
|
|
190
|
+
"client_id",
|
|
191
|
+
"credential_id"
|
|
191
192
|
],
|
|
192
193
|
"properties": {
|
|
193
|
-
"user_id": {
|
|
194
|
-
"$ref": "#/$defs/identifier"
|
|
195
|
-
},
|
|
196
194
|
"client_id": {
|
|
197
195
|
"oneOf": [
|
|
198
196
|
{
|
|
@@ -202,6 +200,19 @@
|
|
|
202
200
|
"type": "null"
|
|
203
201
|
}
|
|
204
202
|
]
|
|
203
|
+
},
|
|
204
|
+
"principal": {
|
|
205
|
+
"$ref": "#/$defs/client_principal"
|
|
206
|
+
},
|
|
207
|
+
"credential_id": {
|
|
208
|
+
"oneOf": [
|
|
209
|
+
{
|
|
210
|
+
"$ref": "#/$defs/identifier"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "null"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
205
216
|
}
|
|
206
217
|
}
|
|
207
218
|
},
|
|
@@ -1918,6 +1929,46 @@
|
|
|
1918
1929
|
"$ref": "#/$defs/llm_generation_support"
|
|
1919
1930
|
}
|
|
1920
1931
|
}
|
|
1932
|
+
},
|
|
1933
|
+
"client_principal": {
|
|
1934
|
+
"oneOf": [
|
|
1935
|
+
{
|
|
1936
|
+
"type": "object",
|
|
1937
|
+
"additionalProperties": false,
|
|
1938
|
+
"required": [
|
|
1939
|
+
"kind",
|
|
1940
|
+
"userId"
|
|
1941
|
+
],
|
|
1942
|
+
"properties": {
|
|
1943
|
+
"kind": {
|
|
1944
|
+
"const": "user"
|
|
1945
|
+
},
|
|
1946
|
+
"userId": {
|
|
1947
|
+
"$ref": "#/$defs/identifier"
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"type": "object",
|
|
1953
|
+
"additionalProperties": false,
|
|
1954
|
+
"required": [
|
|
1955
|
+
"kind",
|
|
1956
|
+
"tenantId",
|
|
1957
|
+
"scopeId"
|
|
1958
|
+
],
|
|
1959
|
+
"properties": {
|
|
1960
|
+
"kind": {
|
|
1961
|
+
"const": "space"
|
|
1962
|
+
},
|
|
1963
|
+
"tenantId": {
|
|
1964
|
+
"$ref": "#/$defs/identifier"
|
|
1965
|
+
},
|
|
1966
|
+
"scopeId": {
|
|
1967
|
+
"$ref": "#/$defs/identifier"
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
]
|
|
1921
1972
|
}
|
|
1922
1973
|
}
|
|
1923
1974
|
}
|