@mhome/app-facade-protocol 1.9.0 → 1.10.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/fixtures/shared-code-bind-create.request.json +9 -0
- package/fixtures/shared-code-link-create.request.json +11 -0
- package/manifest/app-facade.v1.json +1 -1
- package/manifest/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
- package/schema/messaging-frame.v3.schema.json +11 -7
package/README.md
CHANGED
|
@@ -84,3 +84,7 @@ Core and Cloud embed generated copies. After editing the catalog, run
|
|
|
84
84
|
from the Foundation root; omit `--write` to check conformance. Resource paths are
|
|
85
85
|
`src/application/plugin-catalog.v1.json` (Core) and
|
|
86
86
|
`src/main/resources/app/plugin-catalog.v1.json` (Cloud module-service).
|
|
87
|
+
|
|
88
|
+
## Shared messaging codes (1.10)
|
|
89
|
+
|
|
90
|
+
Code creation may omit bot/account and group/surface identifiers. The receiving authenticated provider determines the bot; shared candidates are confirmed in the App. The existing actor link claim status/confirm/event endpoints carry both kinds, distinguished by `kind` (`link` by default, or `bind`). Bind code responses include `challengeId`; completed bind claims omit `linkId`. Private link completes on receipt. A code is single-use within its provider and service deployment, never a cross-provider or cross-Hub credential.
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -663,6 +663,9 @@
|
|
|
663
663
|
"expiresAtMs": {
|
|
664
664
|
"type": "integer",
|
|
665
665
|
"minimum": 0
|
|
666
|
+
},
|
|
667
|
+
"challengeId": {
|
|
668
|
+
"$ref": "#/$defs/id"
|
|
666
669
|
}
|
|
667
670
|
}
|
|
668
671
|
},
|
|
@@ -1054,7 +1057,6 @@
|
|
|
1054
1057
|
"required": [
|
|
1055
1058
|
"provider",
|
|
1056
1059
|
"placement",
|
|
1057
|
-
"surfaceId",
|
|
1058
1060
|
"scopeId"
|
|
1059
1061
|
],
|
|
1060
1062
|
"properties": {
|
|
@@ -1078,7 +1080,6 @@
|
|
|
1078
1080
|
"required": [
|
|
1079
1081
|
"provider",
|
|
1080
1082
|
"placement",
|
|
1081
|
-
"accountId",
|
|
1082
1083
|
"target"
|
|
1083
1084
|
],
|
|
1084
1085
|
"properties": {
|
|
@@ -2305,8 +2306,7 @@
|
|
|
2305
2306
|
"type": "object",
|
|
2306
2307
|
"additionalProperties": false,
|
|
2307
2308
|
"required": [
|
|
2308
|
-
"audience"
|
|
2309
|
-
"surfaceId"
|
|
2309
|
+
"audience"
|
|
2310
2310
|
],
|
|
2311
2311
|
"properties": {
|
|
2312
2312
|
"audience": {
|
|
@@ -2396,7 +2396,6 @@
|
|
|
2396
2396
|
"challengeId",
|
|
2397
2397
|
"provider",
|
|
2398
2398
|
"placement",
|
|
2399
|
-
"accountId",
|
|
2400
2399
|
"target",
|
|
2401
2400
|
"expiresAtMs",
|
|
2402
2401
|
"lifecycle"
|
|
@@ -2423,6 +2422,12 @@
|
|
|
2423
2422
|
},
|
|
2424
2423
|
"lifecycle": {
|
|
2425
2424
|
"$ref": "#/$defs/actorLinkClaimLifecycle"
|
|
2425
|
+
},
|
|
2426
|
+
"kind": {
|
|
2427
|
+
"enum": [
|
|
2428
|
+
"link",
|
|
2429
|
+
"bind"
|
|
2430
|
+
]
|
|
2426
2431
|
}
|
|
2427
2432
|
}
|
|
2428
2433
|
},
|
|
@@ -2662,8 +2667,7 @@
|
|
|
2662
2667
|
"additionalProperties": false,
|
|
2663
2668
|
"required": [
|
|
2664
2669
|
"state",
|
|
2665
|
-
"candidate"
|
|
2666
|
-
"linkId"
|
|
2670
|
+
"candidate"
|
|
2667
2671
|
],
|
|
2668
2672
|
"properties": {
|
|
2669
2673
|
"state": {
|