@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.
@@ -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, including when a filtered page is empty.
65
+ Follow `nextCursor` until absent.
66
66
  Cursors are opaque and bound to the authorized Space and Automation. Metadata
67
- is ordered by availability (or capture time for active records), newest first.
68
- Bodies are read separately; expired records are unavailable even before physical cleanup.
69
- Terminal metadata includes `availableAt` and `expiresAt`. Retain failed/interrupted,
70
- DEBUG and explicitly stopped/captured executions for 24 hours on cloud and 72 hours
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.160.0",
3
+ "contractVersion": "1.161.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",
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "1.160.0",
2
+ "contractVersion": "1.161.0",
3
3
  "operations": {
4
4
  "/app/agent/context/get": "spaceRead",
5
5
  "/app/agent/conversation/get": "spaceRead",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.host-provision.targets.v1",
3
- "contractVersion": "1.160.0",
3
+ "contractVersion": "1.161.0",
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.160.0",
3
+ "contractVersion": "1.161.0",
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.160.0",
3
+ "contractVersion": "1.161.0",
4
4
  "contract": "contract/pod-commissioning-v1.md",
5
5
  "localTargets": [
6
6
  "/local/pod/discovery/start",
@@ -53,8 +53,7 @@
53
53
  "diagnostics.*.timestamp",
54
54
  "diagnostics.*.startedAt",
55
55
  "diagnostics.*.finishedAt",
56
- "diagnostics.*.availableAt",
57
- "diagnostics.*.expiresAt"
56
+ "diagnostics.*.availableAt"
58
57
  ]
59
58
  },
60
59
  "/app/group/list": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.routing.v1",
3
- "contractVersion": "1.160.0",
3
+ "contractVersion": "1.161.0",
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.160.0",
3
+ "contractVersion": "1.161.0",
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.160.0",
3
+ "version": "1.161.0",
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.160.0",
3
+ "contractVersion": "1.161.0",
4
4
  "manifest": "manifest/app-facade.v1.json",
5
5
  "schemas": {
6
6
  "dashboardCardAuthoring": "schema/dashboard-card-authoring.v1.schema.json",