@mhome/app-facade-protocol 1.133.0 → 1.134.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.
@@ -24,10 +24,13 @@ hydrate source bodies or read the temporary/Group stores. This is not a promise
24
24
  of a type-specific physical index. Billing display and lifecycle state retain
25
25
  their existing authorities; enabled, runnable and running are independent.
26
26
 
27
- List items, selected summaries and overview may include `saveIncomplete`.
28
- It reflects the existing persisted marker for an unfinished definition save,
29
- independently of execution health, run capability and cloud quota. A completed
30
- save clears the marker. Readers may treat an absent field as false.
27
+ List items, selected summaries and overview may include `pendingOperation`
28
+ (`create`, `update` or `delete`). Omission means the definition is ready for
29
+ ordinary management. An incomplete creation can only be deleted; an incomplete
30
+ update can be saved again or deleted; an incomplete deletion can be continued
31
+ by deleting the same ID. All three states block new execution. The
32
+ `saveIncomplete` field remains available to older clients and is true when a
33
+ pending operation is present.
31
34
 
32
35
  List Full timestamps are milliseconds. Essential renders explicit timestamp
33
36
  fields in the Space's Home timezone. Widget values retain their existing Widget
@@ -32,9 +32,15 @@ is committed before the optional attempt to restore the enabled state. If that
32
32
  attempt is rejected or unconfirmed, the Facade returns `partial` with the
33
33
  Automation ID and `restoreIssue` (`failed` or `unconfirmed`). Rollback also
34
34
  includes the snapshot ID. Its `enabled` field is omitted when the post-write
35
- observation is unavailable. Read current state before deciding whether to enable.
35
+ observation is unavailable. A newer user stop or definition change supersedes a
36
+ pending restoration without changing the successful definition save. Read
37
+ current state before deciding whether to enable.
36
38
 
37
39
  `/app/automation/delete` returns `success` when all targets complete and `partial`
38
40
  when `deletedIds` and `failedIds` both contain IDs. A batch with no completed
39
41
  targets returns `error` with its per-target details. These outcomes apply to direct
40
42
  calls and prepared commits, in Full and Essential presentation.
43
+
44
+ A partially deleted definition remains available for deletion with the same ID.
45
+ Existing cleanup steps tolerate resources already removed by an earlier attempt.
46
+ An already absent and cleaned definition is a completed delete target.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.133.0",
3
+ "contractVersion": "1.134.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.133.0",
2
+ "contractVersion": "1.134.0",
3
3
  "operations": {
4
4
  "/app/agent/context/get": "spaceRead",
5
5
  "/app/agent/credit/usage": "spaceRead",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.host-provision.targets.v1",
3
- "contractVersion": "1.133.0",
3
+ "contractVersion": "1.134.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.133.0",
3
+ "contractVersion": "1.134.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.133.0",
3
+ "contractVersion": "1.134.0",
4
4
  "contract": "contract/pod-commissioning-v1.md",
5
5
  "localTargets": [
6
6
  "/local/pod/discovery/start",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.routing.v1",
3
- "contractVersion": "1.133.0",
3
+ "contractVersion": "1.134.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.133.0",
3
+ "contractVersion": "1.134.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.133.0",
3
+ "version": "1.134.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.133.0",
3
+ "contractVersion": "1.134.0",
4
4
  "manifest": "manifest/app-facade.v1.json",
5
5
  "schemas": {
6
6
  "storage": "schema/storage.v1.schema.json",
@@ -98,6 +98,9 @@
98
98
  "corrupted": {
99
99
  "type": "boolean"
100
100
  },
101
+ "pendingOperation": {
102
+ "enum": ["create", "update", "delete"]
103
+ },
101
104
  "saveIncomplete": {
102
105
  "type": "boolean"
103
106
  },
@@ -180,6 +183,9 @@
180
183
  "corrupted": {
181
184
  "type": "boolean"
182
185
  },
186
+ "pendingOperation": {
187
+ "enum": ["create", "update", "delete"]
188
+ },
183
189
  "saveIncomplete": {
184
190
  "type": "boolean"
185
191
  },
@@ -271,6 +277,9 @@
271
277
  "corrupted": {
272
278
  "type": "boolean"
273
279
  },
280
+ "pendingOperation": {
281
+ "enum": ["create", "update", "delete"]
282
+ },
274
283
  "saveIncomplete": {
275
284
  "type": "boolean"
276
285
  },