@mhome/app-facade-protocol 1.187.0 → 1.188.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 +4 -1
- package/fixtures/presentation/cases.json +0 -3
- package/manifest/app-facade.v1.json +2 -1
- package/manifest/authorization.v1.json +2 -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
|
@@ -8,6 +8,7 @@ Full and Essential use the same business read scope; UI requests Full.
|
|
|
8
8
|
| --- | --- | --- |
|
|
9
9
|
| `/app/presentation/automation/names/get` | `{ids}`: one or more 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/last-execution/expiry metadata, enabled/running/blocked, last-run `timestamp`, status timestamps and tags. No temporary-program, Group, Widget, snapshot, graph or authored-source expansion. |
|
|
11
|
+
| `/app/presentation/automation/group-candidates/list` | `{}` | `{candidates:[{entityId,name}]}`: runnable regular Recurring programs eligible for Automation Groups. Uses the same eligibility predicate as membership validation; excludes temporary, generated and Group IDs. Reads stored metadata only, without source, runtime state or history. UI displays the returned candidates without rebuilding eligibility. |
|
|
11
12
|
| `/app/presentation/automation/overview/get` | `{automationId}`: nonblank, trimmed | `{id,name,type,enabled,runnable,lastExecution,blocked,saveIncomplete?,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
13
|
| `/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
14
|
|
|
@@ -40,7 +41,7 @@ The frontend loads only the active list type, caches visited types within the
|
|
|
40
41
|
active Space, applies realtime events to loaded rows, and invalidates inactive
|
|
41
42
|
caches on incomplete updates or reconnect. Unloaded tab counts are unknown,
|
|
42
43
|
not zero. Overview and placements are separate on-demand reads. Snapshot panels
|
|
43
|
-
continue using `/app/automation/snapshot/list` only when opened.
|
|
44
|
+
continue using `/app/automation/snapshot/list` only when opened. This endpoint returns the newest 100 saved version summaries in both Full and Essential, never executable source or restore configuration. Rollback loads the selected source internally; backup/sync retain independent complete readers.
|
|
44
45
|
|
|
45
46
|
Automation detail includes `runnable` from its already-loaded definition; Group
|
|
46
47
|
entries omit it. Automation status exposes the current revision's `lastExecution`, when known,
|
|
@@ -124,3 +125,5 @@ internal context/condition evaluation and wait setup/cleanup may remain generic.
|
|
|
124
125
|
unclassified fatal runtime fault must not reuse a prior handled action's reason.
|
|
125
126
|
Old generated Plans can remain generic until normal regeneration; no automatic
|
|
126
127
|
migration is required. The summary is independent of diagnostic-log retention.
|
|
128
|
+
|
|
129
|
+
Selected definition detail parses saved YAML only when its declared metadata is required. Failed optional parsing preserves the known definition and source/hash, attaches an ID-scoped problem, and omits unknown inputVars/descriptionTemplate. Corrupt stored JSON is not an empty source or capability list; strict dependent operations fail rather than rewriting fabricated values. No derived-metadata cache or extra database fields are required.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.188.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",
|
|
@@ -354,6 +354,7 @@
|
|
|
354
354
|
"uiRequestTargets": [
|
|
355
355
|
"/app/presentation/automation/names/get",
|
|
356
356
|
"/app/presentation/automation/list",
|
|
357
|
+
"/app/presentation/automation/group-candidates/list",
|
|
357
358
|
"/app/presentation/automation/overview/get",
|
|
358
359
|
"/app/presentation/automation/placements/get",
|
|
359
360
|
"/app/presentation/automation/summaries/get",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "1.
|
|
2
|
+
"contractVersion": "1.188.0",
|
|
3
3
|
"operations": {
|
|
4
4
|
"/app/agent/context/get": "spaceRead",
|
|
5
5
|
"/app/agent/conversation/get": "spaceRead",
|
|
@@ -242,6 +242,7 @@
|
|
|
242
242
|
"/app/presentation/automation/generated/enable": "spaceWrite",
|
|
243
243
|
"/app/presentation/automation/generated/run": "spaceWrite",
|
|
244
244
|
"/app/presentation/automation/list": "spaceRead",
|
|
245
|
+
"/app/presentation/automation/group-candidates/list": "spaceRead",
|
|
245
246
|
"/app/presentation/automation/names/get": "spaceRead",
|
|
246
247
|
"/app/presentation/automation/overview/cancel": "spaceWrite",
|
|
247
248
|
"/app/presentation/automation/overview/config/provide": "spaceWrite",
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED