@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.
- package/contract/widget-presentation-v1.md +2 -1
- package/contract/widget-writes-v1.md +7 -0
- package/manifest/app-facade.v1.json +1 -1
- package/manifest/authorization.v1.json +1 -1
- package/manifest/host-provision-targets.v1.json +1 -1
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/pod-targets.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
|
@@ -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.
|
|
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.
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED