@mhome/app-facade-protocol 1.160.0 → 1.161.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-v1.md +11 -7
- package/fixtures/presentation/cases.json +2 -4
- 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/presentation-times.v1.json +1 -2
- package/manifest/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
|
@@ -62,16 +62,20 @@ An already absent and cleaned definition is a completed delete target.
|
|
|
62
62
|
A started external call without a result is uncertain, not a confirmed failure.
|
|
63
63
|
- `/app/automation/diagnostic/get` takes `{automationId, cursor?, limit?}` and returns
|
|
64
64
|
`{diagnostics, nextCursor}`. The default page size is 50, with a maximum of 100.
|
|
65
|
-
Follow `nextCursor` until absent
|
|
65
|
+
Follow `nextCursor` until absent.
|
|
66
66
|
Cursors are opaque and bound to the authorized Space and Automation. Metadata
|
|
67
|
-
is ordered by
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
locally, from the first completed publication. Reads and retries do not extend expiry.
|
|
72
|
-
Active captures and pending terminal publication are protected. Ordinary successful
|
|
67
|
+
is ordered by frozen completion time (capture time while active), then thread and
|
|
68
|
+
raw instance identity, all newest first. Each thread exposes its latest 10 retained
|
|
69
|
+
terminal instances across revisions. Failed/interrupted, DEBUG and explicitly
|
|
70
|
+
stopped/captured executions share this quota; ordinary successful
|
|
73
71
|
runs create no run-history event and retain no completed execution detail; their
|
|
74
72
|
checkpoint objects are reclaimed asynchronously. Last-run state remains separate.
|
|
73
|
+
Active captures are additional. `availableAt` records first terminal publication;
|
|
74
|
+
there is no `expiresAt` or age expiry. Reads/retries and richer updates never refresh
|
|
75
|
+
terminal order. Internal storage may buffer about 20 records before batch trimming
|
|
76
|
+
to 10; periodic cleanup handles lower volume and failed object deletion. Buffered
|
|
77
|
+
older terminal records are unavailable through both list and direct-read APIs.
|
|
78
|
+
Active and pending-publication bytes are protected until settlement/acknowledgement.
|
|
75
79
|
- `/app/automation/diagnostic/read` takes the execution identity and optional
|
|
76
80
|
`cursor`, and returns `{logs, nextCursor}`. Follow the opaque cursor for older
|
|
77
81
|
events. Pages contain up to 100 events with a target size of 256 KiB; a single
|
|
@@ -354,8 +354,7 @@
|
|
|
354
354
|
"startedAt": 90,
|
|
355
355
|
"finishedAt": 100,
|
|
356
356
|
"captured": false,
|
|
357
|
-
"availableAt": 100
|
|
358
|
-
"expiresAt": 86400100
|
|
357
|
+
"availableAt": 100
|
|
359
358
|
}
|
|
360
359
|
],
|
|
361
360
|
"nextCursor": null
|
|
@@ -380,8 +379,7 @@
|
|
|
380
379
|
"startedAt": "1970-01-01 00:00:00.090 +00:00 (UTC)",
|
|
381
380
|
"finishedAt": "1970-01-01 00:00:00.100 +00:00 (UTC)",
|
|
382
381
|
"captured": false,
|
|
383
|
-
"availableAt": "1970-01-01 00:00:00.100 +00:00 (UTC)"
|
|
384
|
-
"expiresAt": "1970-01-02 00:00:00.100 +00:00 (UTC)"
|
|
382
|
+
"availableAt": "1970-01-01 00:00:00.100 +00:00 (UTC)"
|
|
385
383
|
}
|
|
386
384
|
],
|
|
387
385
|
"nextCursor": null
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED