@mhome/app-facade-protocol 1.71.0 → 1.81.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 +9 -3
- package/contract/client-screenshot-v1.md +29 -0
- package/contract/resource-read-v1.md +22 -1
- package/fixtures/agent-llm.conformance.json +340 -0
- package/fixtures/authorization/decisions.json +14 -14
- package/fixtures/group.conformance.json +51 -24
- package/fixtures/presentation/cases.json +160 -444
- package/manifest/app-facade.v1.json +21 -3
- package/manifest/authorization.v1.json +8 -17
- 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 +96 -0
- package/manifest/routing.v1.json +2 -3
- package/manifest/targets.v1.json +1 -1
- package/package.json +2 -3
- package/protocol.json +3 -1
- package/schema/agent-llm.v1.schema.json +836 -0
- package/schema/client-screenshot.v1.schema.json +22 -0
- package/schema/group.v1.schema.json +15 -30
- package/schema/hub-state.v1.schema.json +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.81.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",
|
|
@@ -256,8 +256,7 @@
|
|
|
256
256
|
"/app/group/create",
|
|
257
257
|
"/app/group/rename",
|
|
258
258
|
"/app/group/members/update",
|
|
259
|
-
"/app/group/delete"
|
|
260
|
-
"/app/group/presentation/get"
|
|
259
|
+
"/app/group/delete"
|
|
261
260
|
]
|
|
262
261
|
},
|
|
263
262
|
"resourceRead": {
|
|
@@ -272,6 +271,25 @@
|
|
|
272
271
|
"/app/device/view/get",
|
|
273
272
|
"/app/device/history/series/get"
|
|
274
273
|
]
|
|
274
|
+
},
|
|
275
|
+
"agentLlm": {
|
|
276
|
+
"schema": "schema/agent-llm.v1.schema.json",
|
|
277
|
+
"requestTargets": [
|
|
278
|
+
"/app/agent/llm/summary",
|
|
279
|
+
"/app/agent/llm/provider/list",
|
|
280
|
+
"/app/agent/llm/provider/get",
|
|
281
|
+
"/app/agent/llm/mapping/list",
|
|
282
|
+
"/app/agent/llm/mapping/save"
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
"clientScreenshot": {
|
|
286
|
+
"schema": "schema/client-screenshot.v1.schema.json",
|
|
287
|
+
"contract": "contract/client-screenshot-v1.md",
|
|
288
|
+
"requestTargets": [
|
|
289
|
+
"/app/client/screenshot/report"
|
|
290
|
+
],
|
|
291
|
+
"owner": "authenticatedClient",
|
|
292
|
+
"persistence": "connection lease only"
|
|
275
293
|
}
|
|
276
294
|
},
|
|
277
295
|
"authorization": "manifest/authorization.v1.json",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "1.
|
|
2
|
+
"contractVersion": "1.81.0",
|
|
3
3
|
"operations": {
|
|
4
4
|
"/app/agent/context/get": "spaceRead",
|
|
5
5
|
"/app/agent/credit/usage": "spaceRead",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"/app/agent/llm/provider/credential/delete": "spaceWrite",
|
|
15
15
|
"/app/agent/llm/provider/credential/save": "spaceWrite",
|
|
16
16
|
"/app/agent/llm/provider/list": "spaceRead",
|
|
17
|
+
"/app/agent/llm/provider/get": "spaceRead",
|
|
17
18
|
"/app/agent/llm/summary": "spaceRead",
|
|
18
19
|
"/app/agent/llm/usage": "spaceRead",
|
|
19
20
|
"/app/agent/memory/get": "spaceRead",
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
"/app/dashboard/card/main-view/update": "spaceWrite",
|
|
81
82
|
"/app/dashboard/card/move": "spaceWrite",
|
|
82
83
|
"/app/device/activity/recent/list": "spaceRead",
|
|
83
|
-
"/app/device/
|
|
84
|
+
"/app/device/list": "spaceRead",
|
|
84
85
|
"/app/device/detail/get": "spaceRead",
|
|
85
86
|
"/app/device/disable": "spaceWrite",
|
|
86
87
|
"/app/device/enable": "spaceWrite",
|
|
@@ -142,15 +143,6 @@
|
|
|
142
143
|
"/app/interaction-flow/next": "spaceWrite",
|
|
143
144
|
"/app/interaction-flow/resolve": "spaceRead",
|
|
144
145
|
"/app/interaction-flow/start": "spaceWrite",
|
|
145
|
-
"/app/matter/commissionable/list": "spaceRead",
|
|
146
|
-
"/app/matter/device/list": "spaceRead",
|
|
147
|
-
"/app/matter/fabric/get": "spaceRead",
|
|
148
|
-
"/app/matter/fabric/node/detail": "spaceRead",
|
|
149
|
-
"/app/matter/fabric/node/remove": "spaceWrite",
|
|
150
|
-
"/app/matter/onboarding/input": "spaceWrite",
|
|
151
|
-
"/app/matter/onboarding/start": "spaceWrite",
|
|
152
|
-
"/app/matter/onboarding/status": "spaceRead",
|
|
153
|
-
"/app/matter/status": "spaceRead",
|
|
154
146
|
"/app/messaging/bind/code/create": "spaceWrite",
|
|
155
147
|
"/app/messaging/binding/list": "spaceRead",
|
|
156
148
|
"/app/messaging/code/status": "userRead",
|
|
@@ -180,9 +172,9 @@
|
|
|
180
172
|
"/app/object-storage/folders/create": "spaceWrite",
|
|
181
173
|
"/app/object-storage/folders/get": "spaceRead",
|
|
182
174
|
"/app/object-storage/folders/list": "spaceRead",
|
|
183
|
-
"/app/object-storage/folders/
|
|
175
|
+
"/app/object-storage/folders/delete": "spaceWrite",
|
|
184
176
|
"/app/object-storage/overview": "spaceRead",
|
|
185
|
-
"/app/object-storage/
|
|
177
|
+
"/app/object-storage/session/acquire": "spaceWrite",
|
|
186
178
|
"/app/person/backup/close": "spaceWrite",
|
|
187
179
|
"/app/person/backup/export": "spaceWrite",
|
|
188
180
|
"/app/person/backup/import/commit": "spaceWrite",
|
|
@@ -252,7 +244,7 @@
|
|
|
252
244
|
"/app/user/profile/avatar/prepare": "userWrite",
|
|
253
245
|
"/app/user/profile/get": "userRead",
|
|
254
246
|
"/app/user/profile/update": "userWrite",
|
|
255
|
-
"/app/widget/
|
|
247
|
+
"/app/widget/list": "spaceRead",
|
|
256
248
|
"/app/widget/button/config/update": "spaceWrite",
|
|
257
249
|
"/app/widget/button/create": "spaceWrite",
|
|
258
250
|
"/app/widget/button/trigger": "spaceWrite",
|
|
@@ -264,7 +256,6 @@
|
|
|
264
256
|
"/app/widget/delete": "spaceWrite",
|
|
265
257
|
"/app/widget/detail/get": "spaceRead",
|
|
266
258
|
"/app/widget/history/list": "spaceRead",
|
|
267
|
-
"/app/widget/list": "spaceRead",
|
|
268
259
|
"/app/widget/upsert": "spaceWrite",
|
|
269
260
|
"/automation/activity/list": "spaceRead",
|
|
270
261
|
"/automation/batchGet": "spaceRead",
|
|
@@ -402,12 +393,12 @@
|
|
|
402
393
|
"/app/group/create": "spaceWrite",
|
|
403
394
|
"/app/group/rename": "spaceWrite",
|
|
404
395
|
"/app/group/members/update": "spaceWrite",
|
|
405
|
-
"/app/group/presentation/get": "spaceRead",
|
|
406
396
|
"/app/device/state/get": "spaceRead",
|
|
407
397
|
"/app/device/history/series/get": "spaceRead",
|
|
408
398
|
"/app/widget/value/get": "spaceRead",
|
|
409
399
|
"/app/graph/relations/get": "spaceRead",
|
|
410
|
-
"/app/device/view/get": "spaceRead"
|
|
400
|
+
"/app/device/view/get": "spaceRead",
|
|
401
|
+
"/app/client/screenshot/report": "spaceRead"
|
|
411
402
|
},
|
|
412
403
|
"nodePrefix": "/app/plugin/",
|
|
413
404
|
"serviceOperations": [
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"/app/automation/status": {
|
|
3
|
+
"ms": [
|
|
4
|
+
"items.*.resource.lastRunAt"
|
|
5
|
+
]
|
|
6
|
+
},
|
|
7
|
+
"/app/automation/activity/recent/list": {
|
|
8
|
+
"ms": [
|
|
9
|
+
"from",
|
|
10
|
+
"until",
|
|
11
|
+
"activities.*.timestamp"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"/app/automation/snapshot/list": {
|
|
15
|
+
"ms": [
|
|
16
|
+
"snapshots.*.createdAt"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"/app/device/activity/recent/list": {
|
|
20
|
+
"ms": [
|
|
21
|
+
"from",
|
|
22
|
+
"until",
|
|
23
|
+
"updates.*.changedAt"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"/app/widget/history/list": {
|
|
27
|
+
"sec": [
|
|
28
|
+
"history.*.timestamp"
|
|
29
|
+
],
|
|
30
|
+
"typedMs": [
|
|
31
|
+
"history.*.value"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"/app/notification/list": {
|
|
35
|
+
"ms": [
|
|
36
|
+
"notifications.*.timestamp"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"/app/dialog/list": {
|
|
40
|
+
"ms": [
|
|
41
|
+
"dialogs.*.createdAt",
|
|
42
|
+
"dialogs.*.expiresAt",
|
|
43
|
+
"dialogs.*.statusUpdatedAt"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"/app/schedule/list": {
|
|
47
|
+
"ms": [
|
|
48
|
+
"schedules.*.timestamp"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"/app/automation/diagnostic/get": {
|
|
52
|
+
"ms": [
|
|
53
|
+
"diagnostics.*.timestamp",
|
|
54
|
+
"diagnostics.*.startedAt",
|
|
55
|
+
"diagnostics.*.finishedAt",
|
|
56
|
+
"diagnostics.*.logs.*.timestamp"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"/app/group/list": {
|
|
60
|
+
"ms": [
|
|
61
|
+
"groups.*.createdAt",
|
|
62
|
+
"groups.*.updatedAt"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"/app/group/detail/get": {
|
|
66
|
+
"ms": [
|
|
67
|
+
"items.*.group.createdAt",
|
|
68
|
+
"items.*.group.updatedAt"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"/app/widget/value/get": {
|
|
72
|
+
"ms": [
|
|
73
|
+
"items.*.resource.nextTimestamp"
|
|
74
|
+
],
|
|
75
|
+
"typedMs": [
|
|
76
|
+
"items.*.resource.value",
|
|
77
|
+
"items.*.resource.next"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"/app/device/state/get": {
|
|
81
|
+
"sec": [
|
|
82
|
+
"items.*.resource.onlineUpdatedAtSec",
|
|
83
|
+
"items.*.resource.latest.*.state.timestamp",
|
|
84
|
+
"items.*.resource.latest.*.event.timestamp",
|
|
85
|
+
"items.*.resource.latest.*.log.timestamp"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"/app/widget/detail/get": {
|
|
89
|
+
"typedMs": [
|
|
90
|
+
"items.*.widget.options",
|
|
91
|
+
"items.*.widget.min",
|
|
92
|
+
"items.*.widget.max",
|
|
93
|
+
"items.*.widget.offset"
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
}
|
package/manifest/routing.v1.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.routing.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.81.0",
|
|
4
4
|
"targetPrefix": "/app/",
|
|
5
5
|
"default": {
|
|
6
6
|
"execution": "scopeMode"
|
|
@@ -69,8 +69,7 @@
|
|
|
69
69
|
"/app/object-storage/",
|
|
70
70
|
"/app/runtime/",
|
|
71
71
|
"/app/system/hosts/",
|
|
72
|
-
"/app/person/"
|
|
73
|
-
"/app/matter/"
|
|
72
|
+
"/app/person/"
|
|
74
73
|
],
|
|
75
74
|
"requestPlacementPrefixes": [
|
|
76
75
|
"/app/messaging/"
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mhome/app-facade-protocol",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.81.0",
|
|
4
4
|
"description": "Build-time protocol artifacts for mhome.app-facade",
|
|
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,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"protocol": "mhome.app-facade",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.81.0",
|
|
4
4
|
"manifest": "manifest/app-facade.v1.json",
|
|
5
5
|
"schemas": {
|
|
6
6
|
"hostAuthorization": "schema/host-authorization.v1.schema.json",
|
|
7
7
|
"hostAccess": "schema/host-access.v1.schema.json",
|
|
8
|
+
"agentLlm": "schema/agent-llm.v1.schema.json",
|
|
8
9
|
"entityPresentation": "schema/entity-presentation.v1.schema.json",
|
|
9
10
|
"integrationPresentation": "schema/integration-presentation.v1.schema.json",
|
|
10
11
|
"capabilityDescriptor": "schema/capability-descriptor.v1.schema.json",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"person": "schema/person.v1.schema.json"
|
|
30
31
|
},
|
|
31
32
|
"fixtures": {
|
|
33
|
+
"agentLlm": "fixtures/agent-llm.conformance.json",
|
|
32
34
|
"entityPresentation": "fixtures/entity-presentation.conformance.json",
|
|
33
35
|
"integrationPresentation": "fixtures/integration-presentation.conformance.json",
|
|
34
36
|
"group": "fixtures/group.conformance.json",
|