@mhome/app-facade-protocol 1.8.0 → 1.9.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 +19 -0
- package/manifest/app-facade.v1.json +4 -1
- package/manifest/routing.v1.json +2 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
package/README.md
CHANGED
|
@@ -65,3 +65,22 @@ supervise Hub and Node processes, but it is not a public App Facade executor;
|
|
|
65
65
|
Host process management remains an implementation detail behind the selected
|
|
66
66
|
Hub. Lion's legacy controller annotations and non-`/app/*` protocols are
|
|
67
67
|
outside this contract.
|
|
68
|
+
|
|
69
|
+
### System plugin catalog
|
|
70
|
+
|
|
71
|
+
`/app/plugin/catalog/list` returns `manifest/plugin-catalog.v1.json` from Cloud,
|
|
72
|
+
without requiring a local Space or connected Hub. Authentication and Space
|
|
73
|
+
membership still apply. Core also serves this catalog for clients with an older
|
|
74
|
+
routing manifest. The response schema is `schema/plugin-catalog.v1.schema.json`.
|
|
75
|
+
|
|
76
|
+
The catalog describes supported types, not installed software or bindings.
|
|
77
|
+
`componentId` joins to Host runtime inspection; `nodeType` joins to existing
|
|
78
|
+
Plugin candidate and installed/binding queries. Platform installability and
|
|
79
|
+
versions come from the Host release catalog, not this directory. Host inventory
|
|
80
|
+
is a native management API, not a portable App Facade executor.
|
|
81
|
+
|
|
82
|
+
Core and Cloud embed generated copies. After editing the catalog, run
|
|
83
|
+
`node scripts/sync-plugin-catalog.mjs --write <core-resource> <cloud-resource>`
|
|
84
|
+
from the Foundation root; omit `--write` to check conformance. Resource paths are
|
|
85
|
+
`src/application/plugin-catalog.v1.json` (Core) and
|
|
86
|
+
`src/main/resources/app/plugin-catalog.v1.json` (Cloud module-service).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.9.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",
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
"plugin": {
|
|
21
21
|
"extensionVersion": "v1",
|
|
22
22
|
"targetPrefix": "/app/plugin",
|
|
23
|
+
"catalog": "manifest/plugin-catalog.v1.json",
|
|
24
|
+
"catalogSchema": "schema/plugin-catalog.v1.schema.json",
|
|
23
25
|
"exactRequestTargets": [
|
|
26
|
+
"/app/plugin/catalog/list",
|
|
24
27
|
"/app/plugin/installed/list",
|
|
25
28
|
"/app/plugin/detail/get",
|
|
26
29
|
"/app/plugin/candidate/list",
|
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.9.0",
|
|
4
4
|
"targetPrefix": "/app/",
|
|
5
5
|
"default": {
|
|
6
6
|
"execution": "scopeMode",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"/app/hub/cache/clear",
|
|
20
20
|
"/app/hub/get",
|
|
21
21
|
"/app/hub/remove",
|
|
22
|
+
"/app/plugin/catalog/list",
|
|
22
23
|
"/app/system/feedback/submit",
|
|
23
24
|
"/app/timeline/entity/latest/list"
|
|
24
25
|
],
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED