@mhome/app-facade-protocol 1.137.1 → 1.137.2

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.
@@ -10,7 +10,8 @@ policy. They are not Agent/CLI/MCP tools. Inputs reject unknown fields.
10
10
  | `/app/presentation/widget/defaults/get` | `{}` | `{items, automationNames:{}}`. Preserves the existing default Widget lookup and lazy initialization, then reads the selected Data Widgets. |
11
11
 
12
12
  Rows carry ID, revision, displayName, description, source/baseId, global, tag,
13
- current value, and type-specific control configuration. Circadian rows contain
13
+ current value, and type-specific control configuration. `pendingDeletion: true`
14
+ identifies a Widget whose deletion can be completed through the delete Facade. Circadian rows contain
14
15
  only `curve`, `curvePreview` (active curve's UI points), current/next values and
15
16
  `nextTimestamp`; they omit complete schedules, location and internal state.
16
17
  Complete configuration uses `/app/widget/detail/get`; runtime uses
@@ -40,5 +40,12 @@ Create/configuration responses retain action, widgetId, type and displayName.
40
40
  to preserve its previous deletion behavior. This migration does not change the
41
41
  shared safe=true protection for Widgets referenced by Automations.
42
42
 
43
+ After validation, deletion marks each Widget before removing its associated
44
+ resources. A pending Widget remains readable and rejects controls, edits and
45
+ new Automation or Dashboard references. Its list/detail projections carry
46
+ `pendingDeletion: true`. Call the same delete endpoint with the original IDs
47
+ to finish the operation. Missing IDs are already complete. A validation failure
48
+ leaves unstarted Widgets available.
49
+
43
50
  All legacy public /widget/* request Controllers are retired. /widget/reportUpdate
44
51
  is a push event and internal /dispatch/widget/* operations retain their own roles.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.137.1",
3
+ "contractVersion": "1.137.2",
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.137.1",
2
+ "contractVersion": "1.137.2",
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.137.1",
3
+ "contractVersion": "1.137.2",
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.137.1",
3
+ "contractVersion": "1.137.2",
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.137.1",
3
+ "contractVersion": "1.137.2",
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.137.1",
3
+ "contractVersion": "1.137.2",
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.137.1",
3
+ "contractVersion": "1.137.2",
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.137.1",
3
+ "version": "1.137.2",
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.137.1",
3
+ "contractVersion": "1.137.2",
4
4
  "manifest": "manifest/app-facade.v1.json",
5
5
  "schemas": {
6
6
  "storage": "schema/storage.v1.schema.json",