@mhome/app-facade-protocol 1.153.0 → 1.155.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 +4 -0
- package/contract/automation-v1.md +41 -0
- package/contract/suggestion-v1.md +185 -0
- package/fixtures/presentation/cases.json +72 -30
- package/fixtures/suggestion.conformance.json +946 -0
- package/manifest/app-facade.v1.json +9 -1
- package/manifest/authorization.v1.json +4 -1
- package/manifest/host-provision-targets.v1.json +1 -1
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/pod-targets.v1.json +1 -1
- package/manifest/presentation-times.v1.json +3 -2
- package/manifest/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +3 -1
- package/schema/automation.v1.schema.json +92 -0
- package/schema/suggestion.v1.schema.json +1213 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.155.0",
|
|
4
4
|
"callSchema": "schema/facade-call.v1.schema.json",
|
|
5
5
|
"routing": "manifest/routing.v1.json",
|
|
6
6
|
"routingSchema": "schema/routing.v1.schema.json",
|
|
@@ -395,6 +395,10 @@
|
|
|
395
395
|
"requestTargets": [
|
|
396
396
|
"/app/automation/start",
|
|
397
397
|
"/app/automation/stop",
|
|
398
|
+
"/app/automation/instance/stop",
|
|
399
|
+
"/app/automation/instance/list",
|
|
400
|
+
"/app/automation/diagnostic/get",
|
|
401
|
+
"/app/automation/diagnostic/read",
|
|
398
402
|
"/app/automation/rename",
|
|
399
403
|
"/app/automation/description/update"
|
|
400
404
|
]
|
|
@@ -528,6 +532,10 @@
|
|
|
528
532
|
"responses": {
|
|
529
533
|
"/app/dashboard/card/authoring/get": "#/definitions/output"
|
|
530
534
|
}
|
|
535
|
+
},
|
|
536
|
+
"suggestion": {
|
|
537
|
+
"schema": "schema/suggestion.v1.schema.json",
|
|
538
|
+
"contract": "contract/suggestion-v1.md"
|
|
531
539
|
}
|
|
532
540
|
},
|
|
533
541
|
"authorization": "manifest/authorization.v1.json",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "1.
|
|
2
|
+
"contractVersion": "1.155.0",
|
|
3
3
|
"operations": {
|
|
4
4
|
"/app/agent/context/get": "spaceRead",
|
|
5
5
|
"/app/agent/conversation/get": "spaceRead",
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
"/app/automation/description/update": "spaceWrite",
|
|
40
40
|
"/app/automation/detail/get": "spaceRead",
|
|
41
41
|
"/app/automation/diagnostic/get": "spaceRead",
|
|
42
|
+
"/app/automation/diagnostic/read": "spaceRead",
|
|
43
|
+
"/app/automation/instance/stop": "spaceWrite",
|
|
44
|
+
"/app/automation/instance/list": "spaceRead",
|
|
42
45
|
"/app/automation/list": "spaceRead",
|
|
43
46
|
"/app/automation/rename": "spaceWrite",
|
|
44
47
|
"/app/automation/save": "spaceWrite",
|
|
@@ -46,12 +46,13 @@
|
|
|
46
46
|
"schedules.*.timestamp"
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
|
+
"/app/automation/instance/list": { "ms": ["instances.*.startedAt"] },
|
|
50
|
+
"/app/automation/diagnostic/read": { "ms": ["logs.*.timestamp", "logs.*.details.dueAt"] },
|
|
49
51
|
"/app/automation/diagnostic/get": {
|
|
50
52
|
"ms": [
|
|
51
53
|
"diagnostics.*.timestamp",
|
|
52
54
|
"diagnostics.*.startedAt",
|
|
53
|
-
"diagnostics.*.finishedAt"
|
|
54
|
-
"diagnostics.*.logs.*.timestamp"
|
|
55
|
+
"diagnostics.*.finishedAt"
|
|
55
56
|
]
|
|
56
57
|
},
|
|
57
58
|
"/app/group/list": {
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"protocol": "mhome.app-facade",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.155.0",
|
|
4
4
|
"manifest": "manifest/app-facade.v1.json",
|
|
5
5
|
"schemas": {
|
|
6
6
|
"dashboardCardAuthoring": "schema/dashboard-card-authoring.v1.schema.json",
|
|
7
7
|
"storage": "schema/storage.v1.schema.json",
|
|
8
8
|
"householdRecording": "schema/household-recording.v1.schema.json",
|
|
9
9
|
"nowAttention": "schema/now-attention.v1.schema.json",
|
|
10
|
+
"suggestion": "schema/suggestion.v1.schema.json",
|
|
10
11
|
"billing": "schema/billing.v1.schema.json",
|
|
11
12
|
"userNavigation": "schema/user-navigation.v1.schema.json",
|
|
12
13
|
"pluginInstall": "schema/plugin-install.v1.schema.json",
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
"fixtures": {
|
|
43
44
|
"dashboardPacking": "fixtures/dashboard/composition-packing.json",
|
|
44
45
|
"attention": "fixtures/attention/conformance.json",
|
|
46
|
+
"suggestion": "fixtures/suggestion.conformance.json",
|
|
45
47
|
"agentLlm": "fixtures/agent-llm.conformance.json",
|
|
46
48
|
"billing": "fixtures/billing.conformance.json",
|
|
47
49
|
"entityPresentation": "fixtures/entity-presentation.conformance.json",
|
|
@@ -137,6 +137,98 @@
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
]
|
|
140
|
+
},
|
|
141
|
+
"instanceInput": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"properties": {
|
|
145
|
+
"automationId": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"pattern": "\\S"
|
|
148
|
+
},
|
|
149
|
+
"threadId": {
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"minimum": 0
|
|
152
|
+
},
|
|
153
|
+
"instanceId": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"pattern": "\\S"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"required": [
|
|
159
|
+
"automationId",
|
|
160
|
+
"threadId",
|
|
161
|
+
"instanceId"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"diagnosticReadInput": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"additionalProperties": false,
|
|
167
|
+
"properties": {
|
|
168
|
+
"automationId": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"pattern": "\\S"
|
|
171
|
+
},
|
|
172
|
+
"threadId": {
|
|
173
|
+
"type": "integer",
|
|
174
|
+
"minimum": 0
|
|
175
|
+
},
|
|
176
|
+
"instanceId": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"pattern": "\\S"
|
|
179
|
+
},
|
|
180
|
+
"cursor": {
|
|
181
|
+
"type": [
|
|
182
|
+
"string",
|
|
183
|
+
"null"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": [
|
|
188
|
+
"automationId",
|
|
189
|
+
"threadId",
|
|
190
|
+
"instanceId"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"instanceStopOutput": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"additionalProperties": false,
|
|
196
|
+
"properties": {
|
|
197
|
+
"automationId": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"pattern": "\\S"
|
|
200
|
+
},
|
|
201
|
+
"threadId": {
|
|
202
|
+
"type": "integer",
|
|
203
|
+
"minimum": 0
|
|
204
|
+
},
|
|
205
|
+
"instanceId": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"pattern": "\\S"
|
|
208
|
+
},
|
|
209
|
+
"state": {
|
|
210
|
+
"enum": [
|
|
211
|
+
"STOPPING",
|
|
212
|
+
"FINISHED"
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
"outcome": {
|
|
216
|
+
"enum": [
|
|
217
|
+
null,
|
|
218
|
+
"SUCCEEDED",
|
|
219
|
+
"FAILED",
|
|
220
|
+
"CANCELLED",
|
|
221
|
+
"INTERRUPTED"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"required": [
|
|
226
|
+
"automationId",
|
|
227
|
+
"threadId",
|
|
228
|
+
"instanceId",
|
|
229
|
+
"state",
|
|
230
|
+
"outcome"
|
|
231
|
+
]
|
|
140
232
|
}
|
|
141
233
|
}
|
|
142
234
|
}
|