@mhome/app-facade-protocol 1.131.0 → 1.132.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 +12 -0
- package/contract/nfc-v1.md +3 -2
- 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
|
@@ -26,3 +26,15 @@ Generated Twin and Group programs remain internal resources.
|
|
|
26
26
|
rename. The script's authored root name remains available in the script itself.
|
|
27
27
|
|
|
28
28
|
Inputs are closed objects. The schema is `schema/automation.v1.schema.json`.
|
|
29
|
+
|
|
30
|
+
For `/app/automation/save` and `/app/automation/snapshot/rollback`, the definition
|
|
31
|
+
is committed before the optional attempt to restore the enabled state. If that
|
|
32
|
+
attempt is rejected or unconfirmed, the Facade returns `partial` with the
|
|
33
|
+
Automation ID and `restoreIssue` (`failed` or `unconfirmed`). Rollback also
|
|
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.
|
|
36
|
+
|
|
37
|
+
`/app/automation/delete` returns `success` when all targets complete and `partial`
|
|
38
|
+
when `deletedIds` and `failedIds` both contain IDs. A batch with no completed
|
|
39
|
+
targets returns `error` with its per-target details. These outcomes apply to direct
|
|
40
|
+
calls and prepared commits, in Full and Essential presentation.
|
package/contract/nfc-v1.md
CHANGED
|
@@ -33,8 +33,9 @@ Only activation changes pending to active and sets createdAt. Repeating activati
|
|
|
33
33
|
preserves createdAt and lastUsedAt. Cancelled/failed physical writes explicitly
|
|
34
34
|
delete pending; read/list/sync do not clean it up. No TTL or background cleanup.
|
|
35
35
|
Update patches configuration without activating or resetting metadata.
|
|
36
|
-
Delete missing IDs
|
|
37
|
-
|
|
36
|
+
Delete treats missing IDs as complete and returns an acknowledgement. SQLite and
|
|
37
|
+
DynamoDB delete a request atomically. Tablestore batch deletion can partially
|
|
38
|
+
apply before returning an error. Physical tags retain their written content.
|
|
38
39
|
Prepared preview includes requested IDs, found state, name and creation state;
|
|
39
40
|
last-use observations do not invalidate a preview.
|
|
40
41
|
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED