@mhome/app-facade-protocol 1.18.1 → 1.19.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 +0 -12
- package/manifest/app-facade.v1.json +6 -14
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/routing.v1.json +2 -2
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +2 -3
- package/fixtures/device-topology.graph-conformance.json +0 -3309
- package/fixtures/device-topology.partial.json +0 -111
- package/fixtures/device-topology.snapshot.json +0 -170
- package/schema/device-topology.v1.schema.json +0 -305
package/README.md
CHANGED
|
@@ -34,18 +34,6 @@ sessions. Durable relations remain present while disconnected and carry an
|
|
|
34
34
|
explicit observation state so clients can distinguish expected topology from
|
|
35
35
|
the currently observed path.
|
|
36
36
|
|
|
37
|
-
`device_topology` exposes the Scope-owned Device Integration relationship graph.
|
|
38
|
-
Device Integration, Provider, Connection, Plugin Instance, source device, and
|
|
39
|
-
Device identities are independent vertices joined by typed edges. Edge direction
|
|
40
|
-
only describes relation semantics: the graph does not require a fixed layer order,
|
|
41
|
-
a single parent, containment, or acyclicity. Durable relations remain present
|
|
42
|
-
while unavailable, and partial snapshots preserve confirmed structure when one
|
|
43
|
-
source cannot be observed.
|
|
44
|
-
|
|
45
|
-
Device topology is read on page entry and explicit Refresh only. It has no
|
|
46
|
-
changed event or subscription. Its generation and revision identify reads;
|
|
47
|
-
revision is a process-local read sequence, not a domain-change counter.
|
|
48
|
-
|
|
49
37
|
`artifact` exposes the MeowLink-facing `/app/artifact/resolve` operation. Its
|
|
50
38
|
domain input and output reuse `mhome-artifact-api`; Node runtimes use the
|
|
51
39
|
separate transport-neutral `/artifact/*` targets and never enter the App
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.19.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",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"catalogSchema": "schema/plugin-catalog.v1.schema.json",
|
|
27
27
|
"exactRequestTargets": [
|
|
28
28
|
"/app/plugin/catalog/list",
|
|
29
|
-
"/app/plugin/
|
|
29
|
+
"/app/plugin/enabled/list",
|
|
30
30
|
"/app/plugin/detail/get",
|
|
31
31
|
"/app/plugin/candidate/list",
|
|
32
|
-
"/app/plugin/
|
|
33
|
-
"/app/plugin/
|
|
34
|
-
"/app/plugin/
|
|
35
|
-
"/app/plugin/
|
|
32
|
+
"/app/plugin/enable/start",
|
|
33
|
+
"/app/plugin/enable/status",
|
|
34
|
+
"/app/plugin/enable/cancel",
|
|
35
|
+
"/app/plugin/disable",
|
|
36
36
|
"/app/plugin/profile/update"
|
|
37
37
|
],
|
|
38
38
|
"eventTargets": [
|
|
@@ -54,14 +54,6 @@
|
|
|
54
54
|
"/app/runtime/status/changed"
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
|
-
"deviceTopology": {
|
|
58
|
-
"contract": "mhome.device.topology.v1",
|
|
59
|
-
"schema": "schema/device-topology.v1.schema.json",
|
|
60
|
-
"requestTargets": [
|
|
61
|
-
"/app/device/topology/get"
|
|
62
|
-
],
|
|
63
|
-
"eventTargets": []
|
|
64
|
-
},
|
|
65
57
|
"interactionFlow": {
|
|
66
58
|
"schema": "schema/interaction-flow-app.v1.schema.json",
|
|
67
59
|
"requestTargets": [
|
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.19.0",
|
|
4
4
|
"targetPrefix": "/app/",
|
|
5
5
|
"default": {
|
|
6
6
|
"execution": "scopeMode",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"cloudRelayTargets": [
|
|
43
43
|
"/app/plugin/candidate/list",
|
|
44
44
|
"/app/plugin/detail/get",
|
|
45
|
-
"/app/plugin/
|
|
45
|
+
"/app/plugin/enabled/list",
|
|
46
46
|
"/app/object-storage/overview",
|
|
47
47
|
"/app/object-storage/folders/create",
|
|
48
48
|
"/app/object-storage/folders/get",
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"protocol": "mhome.app-facade",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.19.0",
|
|
4
4
|
"manifest": "manifest/app-facade.v1.json",
|
|
5
5
|
"schemas": {
|
|
6
6
|
"call": "schema/facade-call.v1.schema.json",
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"systemHosts": "schema/system-hosts.v1.schema.json",
|
|
14
14
|
"systemHostsRuntime": "schema/system-hosts-runtime.v1.schema.json",
|
|
15
15
|
"systemInstances": "schema/system-instances.v1.schema.json",
|
|
16
|
-
"topology": "schema/topology.v1.schema.json"
|
|
17
|
-
"deviceTopology": "schema/device-topology.v1.schema.json"
|
|
16
|
+
"topology": "schema/topology.v1.schema.json"
|
|
18
17
|
},
|
|
19
18
|
"fixtures": {
|
|
20
19
|
"valid": "fixtures",
|