@mhome/app-facade-protocol 1.129.1 → 1.131.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/contract/automation-presentation-v1.md +1 -1
- package/contract/dashboard-composition-v1.md +12 -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
|
@@ -9,7 +9,7 @@ Full and Essential use the same business read scope; UI requests Full.
|
|
|
9
9
|
| `/app/presentation/automation/names/get` | `{ids}`: 1–100 selected, trimmed/deduplicated IDs | `{automations: {id: label}}`. Missing IDs omitted. Selected definition metadata only; no source downloads, parsing, state, history or graph reads. |
|
|
10
10
|
| `/app/presentation/automation/list` | `{type: "RECURRING" \| "TASK_FLOW"}` | `{automations}`: current-type regular user programs, with labels, runnable/health/expiry metadata, enabled/running/blocked, last-run `timestamp`, status timestamps and tags. No temporary-program, Group, Widget, snapshot, graph or authored-source expansion. |
|
|
11
11
|
| `/app/presentation/automation/overview/get` | `{automationId}`: nonblank, trimmed | `{id,name,type,enabled,runnable,corrupted,blocked,widgets}`. Selected metadata, status, cloud quota display state and owned Widget configuration/current values. No source, graph traversal, running history or snapshots. Missing definition is not-found. |
|
|
12
|
-
| `/app/presentation/automation/placements/get` | `{automationId}`: nonblank, trimmed | `{canvases:[{id,name,containsAutomation}]}`.
|
|
12
|
+
| `/app/presentation/automation/placements/get` | `{automationId}`: nonblank, trimmed | `{canvases:[{id,name,containsAutomation}]}`. Matches both owned Widget-to-Card relations and dedicated Automation Cards by `meta.automationId`, against Canvas leaf IDs including composition members. Backends read current-Space Card records to resolve these business references; responses contain only Canvas labels and membership flags. Retains existing default-canvas initialization when the Space has none. |
|
|
13
13
|
|
|
14
14
|
Labels use saved preferredName, then the script-derived saved name, then the
|
|
15
15
|
existing unknown-label fallback. Metadata reads never require source storage to
|
|
@@ -50,6 +50,18 @@ source and target Canvas documents together. Delete and resource cleanup prune
|
|
|
50
50
|
leaf references: one surviving member becomes an independent Card at its current
|
|
51
51
|
absolute position; zero members removes the container.
|
|
52
52
|
|
|
53
|
+
`/app/dashboard/canvas/list` and `/app/dashboard/canvas/content/get` include
|
|
54
|
+
`pendingDeletion: {canvas, itemIds}` when a Canvas has a staged deletion.
|
|
55
|
+
`canvas: true` identifies a staged whole-Canvas deletion. For card deletions,
|
|
56
|
+
`itemIds` contains the root or member IDs that were selected for deletion.
|
|
57
|
+
The read field is omitted after cleanup finishes.
|
|
58
|
+
|
|
59
|
+
Users can explicitly finish a staged deletion with `retryPending: true` on
|
|
60
|
+
`/app/dashboard/canvas/delete` for that `canvasId`, or on
|
|
61
|
+
`/app/dashboard/card/delete` with the selected pending `itemIds` as
|
|
62
|
+
`cardIds`. The backend processes the requested pending targets. An already
|
|
63
|
+
completed retry returns success with zero deletions.
|
|
64
|
+
|
|
53
65
|
Existing data is converted explicitly with old writers stopped, a verified
|
|
54
66
|
backup and conflict checks. Runtime startup never converts legacy placement or
|
|
55
67
|
silently deletes a database. Cloud Canvas records stay in the existing `canvas`
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED