@mhome/app-facade-protocol 1.139.0 → 1.140.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.
@@ -324,7 +324,7 @@ never show these values or `message` verbatim.
324
324
  | `/local/pod/commission/code` | `{"sessionId","code"}` | session snapshot |
325
325
  | `/local/pod/commission/wifi` | `{"sessionId","ssid","password"?,"enrollment"?}` | session snapshot |
326
326
  | `/local/pod/commission/wifi/scan` | `{"sessionId"}` | session snapshot |
327
- | `/local/pod/commission/authorize` | `{"sessionId","spaceId"}` | session snapshot |
327
+ | `/local/pod/commission/authorize` | `{"sessionId","spaceId","clientMode","firstHub"?}` | session snapshot |
328
328
  | `/local/pod/commission/status` | `{}` | `{"session": snapshot or null}` |
329
329
  | `/local/pod/bluetooth/settings` | `{}` | `{"opened"}` |
330
330
 
@@ -353,9 +353,12 @@ only after receiving a setup target or when in its authorized reprovision
353
353
  window. It verifies a selected Hub from the new Wi-Fi before committing the
354
354
  network. The Client later authorizes the exact enrollment selected before the
355
355
  trial and rejects a credential from a different Hub.
356
- `bootstrap` is reserved for a verified product with an embedded dependent Host
357
- when the selected Space has no existing Hub or pending Hub transition. A
358
- standalone Pod rejects that mode.
356
+ `bootstrap` requires explicit `firstHub: true` and a verified product with an
357
+ embedded dependent Host. The selected Space must have no existing Hub or
358
+ pending Hub transition. For BLE, include the flag in `enrollment` before sending
359
+ Wi-Fi and repeat the same intent during authorization. An already-networked
360
+ product supplies its intent during authorization. A standalone Pod rejects
361
+ first Hub setup.
359
362
 
360
363
  Discovery is shared by every MeowLink device kind: each candidate carries
361
364
  `kind` (`pod` or `host`). `/local/pod/commission/start` accepts only `pod`
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.139.0",
3
+ "contractVersion": "1.140.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",
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "1.139.0",
2
+ "contractVersion": "1.140.0",
3
3
  "operations": {
4
4
  "/app/agent/context/get": "spaceRead",
5
5
  "/app/agent/credit/usage": "spaceRead",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.host-provision.targets.v1",
3
- "contractVersion": "1.139.0",
3
+ "contractVersion": "1.140.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.139.0",
3
+ "contractVersion": "1.140.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.139.0",
3
+ "contractVersion": "1.140.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.139.0",
3
+ "contractVersion": "1.140.0",
4
4
  "targetPrefix": "/app/",
5
5
  "default": {
6
6
  "execution": "spaceMode"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.messaging.targets.v1",
3
- "contractVersion": "1.139.0",
3
+ "contractVersion": "1.140.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.139.0",
3
+ "version": "1.140.0",
4
4
  "description": "Build-time protocol artifacts for mhome.app-facade",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/protocol.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "protocol": "mhome.app-facade",
3
- "contractVersion": "1.139.0",
3
+ "contractVersion": "1.140.0",
4
4
  "manifest": "manifest/app-facade.v1.json",
5
5
  "schemas": {
6
6
  "storage": "schema/storage.v1.schema.json",