@mhome/app-facade-protocol 1.64.0 → 1.69.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.
@@ -638,5 +638,37 @@
638
638
  "hubReady": false,
639
639
  "cloudReady": false,
640
640
  "entry": "unavailable"
641
+ },
642
+ {
643
+ "target": "/app/artifact/external/resolve",
644
+ "execution": "cloud",
645
+ "placement": null,
646
+ "hubReady": true,
647
+ "cloudReady": true,
648
+ "entry": "cloud"
649
+ },
650
+ {
651
+ "target": "/app/artifact/external/resolve",
652
+ "execution": "cloud",
653
+ "placement": null,
654
+ "hubReady": true,
655
+ "cloudReady": false,
656
+ "entry": "unavailable"
657
+ },
658
+ {
659
+ "target": "/app/artifact/external/resolve",
660
+ "execution": "cloud",
661
+ "placement": null,
662
+ "hubReady": false,
663
+ "cloudReady": true,
664
+ "entry": "cloud"
665
+ },
666
+ {
667
+ "target": "/app/artifact/external/resolve",
668
+ "execution": "cloud",
669
+ "placement": null,
670
+ "hubReady": false,
671
+ "cloudReady": false,
672
+ "entry": "unavailable"
641
673
  }
642
674
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.64.0",
3
+ "contractVersion": "1.69.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",
@@ -9,6 +9,7 @@
9
9
  "contract": "mhome.artifact.v1",
10
10
  "requestTargets": [
11
11
  "/app/artifact/resolve",
12
+ "/app/artifact/external/resolve",
12
13
  "/app/artifact/put",
13
14
  "/app/artifact/import",
14
15
  "/app/artifact/delete",
@@ -237,6 +238,38 @@
237
238
  "requestTargets": [
238
239
  "/app/entity/presentation/get"
239
240
  ]
241
+ },
242
+ "integrationPresentation": {
243
+ "schema": "schema/integration-presentation.v1.schema.json",
244
+ "contract": "contract/integration-presentation-v1.md",
245
+ "requestTargets": [
246
+ "/app/integration/presentation/get"
247
+ ]
248
+ },
249
+ "group": {
250
+ "schema": "schema/group.v1.schema.json",
251
+ "requestTargets": [
252
+ "/app/group/list",
253
+ "/app/group/detail/get",
254
+ "/app/group/create",
255
+ "/app/group/rename",
256
+ "/app/group/members/update",
257
+ "/app/group/delete",
258
+ "/app/group/presentation/get"
259
+ ]
260
+ },
261
+ "resourceRead": {
262
+ "requestTargets": [
263
+ "/app/device/state/get",
264
+ "/app/widget/value/get",
265
+ "/app/automation/status",
266
+ "/app/graph/relations/get"
267
+ ],
268
+ "contract": "contract/resource-read-v1.md",
269
+ "uiRequestTargets": [
270
+ "/app/device/view/get",
271
+ "/app/device/history/series/get"
272
+ ]
240
273
  }
241
274
  },
242
275
  "authorization": "manifest/authorization.v1.json",
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "1.64.0",
2
+ "contractVersion": "1.69.0",
3
3
  "operations": {
4
4
  "/app/agent/context/get": "spaceRead",
5
5
  "/app/agent/credit/usage": "spaceRead",
@@ -26,6 +26,7 @@
26
26
  "/app/artifact/import": "spaceWrite",
27
27
  "/app/artifact/put": "spaceWrite",
28
28
  "/app/artifact/resolve": "spaceRead",
29
+ "/app/artifact/external/resolve": "spaceRead",
29
30
  "/app/artifact/upload/cancel": "spaceWrite",
30
31
  "/app/artifact/upload/complete": "spaceWrite",
31
32
  "/app/artifact/upload/start": "spaceWrite",
@@ -34,8 +35,7 @@
34
35
  "/app/automation/delete": "spaceWrite",
35
36
  "/app/automation/description/update": "spaceWrite",
36
37
  "/app/automation/detail/get": "spaceRead",
37
- "/app/automation/diagnostic/detail": "spaceRead",
38
- "/app/automation/diagnostic/list": "spaceRead",
38
+ "/app/automation/diagnostic/get": "spaceRead",
39
39
  "/app/automation/list": "spaceRead",
40
40
  "/app/automation/save": "spaceWrite",
41
41
  "/app/automation/snapshot/list": "spaceRead",
@@ -64,19 +64,19 @@
64
64
  "/app/client/page/list": "spaceRead",
65
65
  "/app/client/page/open": "spaceWrite",
66
66
  "/app/client/page/report": "spaceRead",
67
- "/app/dashboard/canvas/list": "spaceRead",
68
67
  "/app/dashboard/canvas/content/get": "spaceRead",
69
68
  "/app/dashboard/canvas/create": "spaceWrite",
70
69
  "/app/dashboard/canvas/delete": "spaceWrite",
71
70
  "/app/dashboard/canvas/layout/get": "spaceRead",
72
71
  "/app/dashboard/canvas/layout/update": "spaceWrite",
72
+ "/app/dashboard/canvas/list": "spaceRead",
73
73
  "/app/dashboard/canvas/rename": "spaceWrite",
74
74
  "/app/dashboard/canvas/reorder": "spaceWrite",
75
75
  "/app/dashboard/card/add": "spaceWrite",
76
- "/app/dashboard/card/list": "spaceRead",
77
76
  "/app/dashboard/card/copy": "spaceWrite",
78
77
  "/app/dashboard/card/delete": "spaceWrite",
79
78
  "/app/dashboard/card/detail/get": "spaceRead",
79
+ "/app/dashboard/card/list": "spaceRead",
80
80
  "/app/dashboard/card/main-view/update": "spaceWrite",
81
81
  "/app/dashboard/card/move": "spaceWrite",
82
82
  "/app/device/activity/recent/list": "spaceRead",
@@ -95,11 +95,9 @@
95
95
  "/app/entity/history/list": "spaceRead",
96
96
  "/app/entity/list": "spaceRead",
97
97
  "/app/entity/presentation/get": "spaceRead",
98
- "/app/group/brief/list": "spaceRead",
99
98
  "/app/group/delete": "spaceWrite",
100
99
  "/app/group/detail/get": "spaceRead",
101
100
  "/app/group/list": "spaceRead",
102
- "/app/group/upsert": "spaceWrite",
103
101
  "/app/host/access/issue": "userWrite",
104
102
  "/app/host/administrator/approve": "userWrite",
105
103
  "/app/host/administrator/cancel": "userWrite",
@@ -128,12 +126,12 @@
128
126
  "/app/integration/disconnect": "spaceWrite",
129
127
  "/app/integration/entity/list": "spaceRead",
130
128
  "/app/integration/entity/refresh": "spaceWrite",
131
- "/app/integration/group/get": "spaceRead",
132
129
  "/app/integration/install": "spaceWrite",
133
130
  "/app/integration/installed/check": "spaceRead",
134
131
  "/app/integration/installed/list": "spaceRead",
135
132
  "/app/integration/list": "spaceRead",
136
133
  "/app/integration/official/list": "spaceRead",
134
+ "/app/integration/presentation/get": "spaceRead",
137
135
  "/app/integration/scope/list": "spaceRead",
138
136
  "/app/integration/uninstall": "spaceWrite",
139
137
  "/app/interaction-flow/back": "spaceWrite",
@@ -318,7 +316,6 @@
318
316
  "/integration/entity/getHistory": "spaceRead",
319
317
  "/integration/group/get": "spaceRead",
320
318
  "/integration/install": "spaceWrite",
321
- "/integration/meta/get": "spaceRead",
322
319
  "/integration/model/get": "spaceRead",
323
320
  "/integration/providerEnv/refresh": "spaceWrite",
324
321
  "/integration/uninstall": "spaceWrite",
@@ -399,7 +396,16 @@
399
396
  "/widget/history/list": "spaceRead",
400
397
  "/widget/list": "spaceRead",
401
398
  "/widget/names": "spaceRead",
402
- "/widget/setting/update": "spaceWrite"
399
+ "/widget/setting/update": "spaceWrite",
400
+ "/app/group/create": "spaceWrite",
401
+ "/app/group/rename": "spaceWrite",
402
+ "/app/group/members/update": "spaceWrite",
403
+ "/app/group/presentation/get": "spaceRead",
404
+ "/app/device/state/get": "spaceRead",
405
+ "/app/device/history/series/get": "spaceRead",
406
+ "/app/widget/value/get": "spaceRead",
407
+ "/app/graph/relations/get": "spaceRead",
408
+ "/app/device/view/get": "spaceRead"
403
409
  },
404
410
  "nodePrefix": "/app/plugin/",
405
411
  "serviceOperations": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.host-provision.targets.v1",
3
- "contractVersion": "1.64.0",
3
+ "contractVersion": "1.69.0",
4
4
  "contract": "contract/host-provisioning-v1.md",
5
5
  "localTargets": [
6
6
  "/local/host/provision/start",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.hub.targets.v1",
3
- "contractVersion": "1.64.0",
3
+ "contractVersion": "1.69.0",
4
4
  "appTargets": [
5
5
  "/app/hub/get",
6
6
  "/app/hub/remove",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.pod.targets.v1",
3
- "contractVersion": "1.64.0",
3
+ "contractVersion": "1.69.0",
4
4
  "contract": "contract/pod-commissioning-v1.md",
5
5
  "localTargets": [
6
6
  "/local/pod/discovery/start",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.routing.v1",
3
- "contractVersion": "1.64.0",
3
+ "contractVersion": "1.69.0",
4
4
  "targetPrefix": "/app/",
5
5
  "default": {
6
6
  "execution": "scopeMode"
@@ -34,7 +34,8 @@
34
34
  "/app/messaging/unbind",
35
35
  "/app/pod/enrollment/get",
36
36
  "/app/host/directory/list",
37
- "/app/pod/rename"
37
+ "/app/pod/rename",
38
+ "/app/artifact/external/resolve"
38
39
  ],
39
40
  "scopeModeTargets": [
40
41
  "/app/artifact/resolve",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.messaging.targets.v1",
3
- "contractVersion": "1.64.0",
3
+ "contractVersion": "1.69.0",
4
4
  "requestTargets": [
5
5
  "/app/messaging/provider/list",
6
6
  "/app/messaging/provider-account/list",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhome/app-facade-protocol",
3
- "version": "1.64.0",
3
+ "version": "1.69.0",
4
4
  "description": "Build-time protocol artifacts for mhome.app-facade",
5
5
  "license": "MIT",
6
6
  "repository": {
package/protocol.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "protocol": "mhome.app-facade",
3
- "contractVersion": "1.64.0",
3
+ "contractVersion": "1.69.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
8
  "entityPresentation": "schema/entity-presentation.v1.schema.json",
9
+ "integrationPresentation": "schema/integration-presentation.v1.schema.json",
9
10
  "capabilityDescriptor": "schema/capability-descriptor.v1.schema.json",
10
11
  "cardSkinPackage": "schema/card-skin-package.v1.schema.json",
11
12
  "cardSkins": "schema/card-skins.v1.schema.json",
12
13
  "call": "schema/facade-call.v1.schema.json",
13
14
  "response": "schema/facade-response.v1.schema.json",
15
+ "group": "schema/group.v1.schema.json",
14
16
  "frame": "schema/messaging-frame.v3.schema.json",
15
17
  "interactionFlow": "schema/interaction-flow-app.v1.schema.json",
16
18
  "routing": "schema/routing.v1.schema.json",
@@ -28,6 +30,8 @@
28
30
  },
29
31
  "fixtures": {
30
32
  "entityPresentation": "fixtures/entity-presentation.conformance.json",
33
+ "integrationPresentation": "fixtures/integration-presentation.conformance.json",
34
+ "group": "fixtures/group.conformance.json",
31
35
  "valid": "fixtures",
32
36
  "invalid": "fixtures/invalid",
33
37
  "hostAccess": "schema/host-access.v1.schema.json",
@@ -13,74 +13,33 @@
13
13
  "const": "success"
14
14
  },
15
15
  "data": true,
16
- "text": {
17
- "type": "string"
18
- },
19
16
  "warnings": {
20
17
  "type": "array",
21
18
  "items": {
22
19
  "$ref": "#/$defs/problem"
23
20
  }
24
21
  }
25
- },
26
- "oneOf": [
27
- {
28
- "required": [
29
- "data"
30
- ],
31
- "properties": {
32
- "data": true
33
- }
34
- },
35
- {
36
- "required": [
37
- "text"
38
- ],
39
- "properties": {
40
- "text": true
41
- }
42
- }
43
- ]
22
+ }
44
23
  },
45
24
  {
46
25
  "type": "object",
47
26
  "additionalProperties": false,
48
27
  "required": [
49
- "status"
28
+ "status",
29
+ "data"
50
30
  ],
51
31
  "properties": {
52
32
  "status": {
53
33
  "const": "partial"
54
34
  },
55
35
  "data": true,
56
- "text": {
57
- "type": "string"
58
- },
59
36
  "warnings": {
60
37
  "type": "array",
61
38
  "items": {
62
39
  "$ref": "#/$defs/problem"
63
40
  }
64
41
  }
65
- },
66
- "oneOf": [
67
- {
68
- "required": [
69
- "data"
70
- ],
71
- "properties": {
72
- "data": true
73
- }
74
- },
75
- {
76
- "required": [
77
- "text"
78
- ],
79
- "properties": {
80
- "text": true
81
- }
82
- }
83
- ]
42
+ }
84
43
  },
85
44
  {
86
45
  "type": "object",
@@ -95,6 +54,9 @@
95
54
  },
96
55
  "error": {
97
56
  "$ref": "#/$defs/problem"
57
+ },
58
+ "data": {
59
+ "type": "string"
98
60
  }
99
61
  }
100
62
  },