@mhome/app-facade-protocol 1.149.0 → 1.150.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.
@@ -17,10 +17,10 @@ Space/Hub selector, grant, certificate or private key is an input/output.
17
17
  exactly one transport; there is no implicit discovery or fallback.
18
18
  Results are untrusted location hints, scoped to this caller, Space and Hub
19
19
  generation and transport, expiring after two minutes. They never grant operation
20
- authority.
21
- - `/app/wave/pair` is retired. Core rejects it with guidance to select the
22
- Integration and use `/app/integration/connect`. Its constant/input DTO remain
23
- readable for older clients; this route cannot enroll a device.
20
+ authority. No connected BLE Relay, all-busy Relays or failed scans return an
21
+ availability error rather than a successful empty list. Partial scan coverage
22
+ returns available candidates with a `WAVE_BLE_DISCOVERY_INCOMPLETE` warning.
23
+ A successful empty scan has no such warning.
24
24
  - `/app/wave/list`: `{}` -> `{bindings:[{deviceId,grantState}]}`. States are
25
25
  `candidate`, `committed` or `removing`; this is authorization bookkeeping, not
26
26
  Device/Twin inventory, online state or evidence that a candidate committed on the device.
@@ -59,6 +59,10 @@ Core checks the selected resource before pairing, verifies it against authentica
59
59
  inventory after grant confirmation, writes the normal IntegrationInstall, and
60
60
  publishes compatible entities. It creates no ordinary Connection record.
61
61
 
62
+ The lifecycle response has optional top-level `warnings` for partial discovery,
63
+ including before a device is selected. Committed authorizations are labeled
64
+ “already added”; discovery does not assert that they are online.
65
+
62
66
  The lifecycle response includes `wave: {deviceId,grantState,inventoryState,installed,
63
67
  entityIds,warnings,reason?}`. Completed projection is `status: done`; interrupted
64
68
  setup is `status: failed, recoverable: true, canCancel: false`, preserving committed
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.149.0",
3
+ "contractVersion": "1.150.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",
@@ -487,7 +487,6 @@
487
487
  "contract": "contract/wave-v1.md",
488
488
  "requestTargets": [
489
489
  "/app/wave/discover",
490
- "/app/wave/pair",
491
490
  "/app/wave/list",
492
491
  "/app/wave/refresh",
493
492
  "/app/wave/remove"
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "1.149.0",
2
+ "contractVersion": "1.150.0",
3
3
  "operations": {
4
4
  "/app/agent/context/get": "spaceRead",
5
5
  "/app/agent/credit/usage": "spaceRead",
@@ -374,7 +374,6 @@
374
374
  "/pod/talk/view/get": "spaceRead",
375
375
  "/app/entity/state/get": "spaceRead",
376
376
  "/app/wave/discover": "spaceManage",
377
- "/app/wave/pair": "spaceManage",
378
377
  "/app/wave/list": "spaceManage",
379
378
  "/app/wave/refresh": "spaceManage",
380
379
  "/app/wave/remove": "spaceManage"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.host-provision.targets.v1",
3
- "contractVersion": "1.149.0",
3
+ "contractVersion": "1.150.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.149.0",
3
+ "contractVersion": "1.150.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.149.0",
3
+ "contractVersion": "1.150.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.149.0",
3
+ "contractVersion": "1.150.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.149.0",
3
+ "contractVersion": "1.150.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.149.0",
3
+ "version": "1.150.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.149.0",
3
+ "contractVersion": "1.150.0",
4
4
  "manifest": "manifest/app-facade.v1.json",
5
5
  "schemas": {
6
6
  "storage": "schema/storage.v1.schema.json",