@mhome/app-facade-protocol 1.183.1 → 1.186.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.
@@ -103,12 +103,24 @@ The small activity summary is independent of detailed diagnostic retention and d
103
103
  not add an activity-history row. Suppression follows the existing runtime outcome;
104
104
  there is no separate suppressed terminal state. The durable `corrupted` flag is removed.
105
105
 
106
- `lastExecution.failureCode` is optional. `FAILED` with `failureCode: SUPPRESSED`
107
- means the whole Automation execution was blocked by its entry/resume suppression
108
- gate. UI may render this as "Suppressed" without changing the outcome. An internal
109
- command/member failure never supplies this classification, even when its own error
110
- code is SUPPRESSED. Internal errors are not aggregated into this reason. A resume
111
- gate may block a run after earlier actions have completed; the reason describes
112
- that gate's rejection, not whether any prior action succeeded. Rule-store/evaluation
113
- failures, older summaries and unknown reasons retain the ordinary outcome label.
114
- The marker uses the existing summary independently of diagnostic-log retention.
106
+ `lastExecution.failureCode` is an optional best-effort reason for a committed
107
+ `FAILED` outcome. It does not determine success/failure and has no companion stage
108
+ field. Known raw operation codes are retained; missing, malformed, ambiguous or
109
+ unknown reasons are omitted. Consumers must fall back to the ordinary outcome
110
+ label for absent or unrecognized codes. The shared cases in
111
+ `fixtures/automation-failure-codes.json` define current recognized codes.
112
+
113
+ `SUPPRESSED` means the whole Automation was rejected at its entry/resume gate.
114
+ `STEP_SUPPRESSED` means an unhandled action suppression caused execution to fail;
115
+ the diagnostic retains its original `SUPPRESSED` code. A resume gate can reject a
116
+ run after earlier actions succeeded. Neither classification claims that nothing
117
+ ran. Successful continue/fallback paths and successful Group commands with failed
118
+ members remain successful and have no summary failure code.
119
+
120
+ Sequential/repeat failures propagate the unhandled action reason. An exhausted
121
+ alternative uses its last attempted branch. Parallel execution retains a reason
122
+ only when exactly one branch failed. Selected then/else actions are covered;
123
+ internal context/condition evaluation and wait setup/cleanup may remain generic. An
124
+ unclassified fatal runtime fault must not reuse a prior handled action's reason.
125
+ Old generated Plans can remain generic until normal regeneration; no automatic
126
+ migration is required. The summary is independent of diagnostic-log retention.
@@ -0,0 +1,150 @@
1
+ # Chat reference protocol (v1)
2
+
3
+ This contract defines the single canonical text syntax for inline chat object
4
+ references, internal App route links, and interactive shortcut suggestions across
5
+ Agent prompts, App UIs (Default and Compact), speech playback (TTS), and external
6
+ Messaging channels (Core and Cloud).
7
+
8
+ This contract applies to conversational text only. Two distinct platform
9
+ contracts remain independent and unchanged:
10
+
11
+ - Private media attachments: `![description](meow-artifact://v3/...)`
12
+ - Backend Automation `waitUserInput` form DSL: `<MeowInput var="$x">...</MeowInput>`
13
+ and server-generated inert `<input ...>` description references.
14
+
15
+ ## Canonical wire syntax
16
+
17
+ All new producers (Agent prompts, chat input editors, and drag-and-drop sources)
18
+ emit standard Markdown links using the `meow:` URI scheme:
19
+
20
+ ```markdown
21
+ [label](meow://<kind>?<query>)
22
+ ```
23
+
24
+ No new producer may emit `<MeowEntity>`, `<MeowAutomation>`, `<MeowWidget>`, or
25
+ `<MeowShortcutSuggestion>` XML tags.
26
+
27
+ | `kind` | Canonical format | Required query params | Optional query params | Scope |
28
+ | --- | --- | --- | --- | --- |
29
+ | `entity` | `[label](meow://entity?type=<T>&id=<ID>)` | `type`, `id` | — | Devices (`basic.device.Device`), ordinary entities, and groups (`id=g:...`) |
30
+ | `automation` | `[label](meow://automation?id=<ID>)` | `id` | — | Regular/temporary automations and automation groups |
31
+ | `widget` | `[label](meow://widget?type=<T>&id=<ID>)` | `type`, `id` | `automation` | Global and automation-owned widgets (aliases `data`, `button`, `circadian` normalize to `basic.widget.*`) |
32
+ | `route` | `[label](meow://route?url=<base64url>)` | `url` | — | In-app relative path (decoded path must start with `/` and not `//`) |
33
+ | `shortcut` | `[prompt](meow://shortcut?phrase=<P>)` | `phrase` | — | Replaces `<MeowShortcutSuggestion>`; interactive shortcut creation prompt |
34
+ | `suggestion` | `[label](meow://suggestion?id=<ID>)` | `id` | — | Reserved for Suggestion references |
35
+
36
+ ## Encoding and decoding rules
37
+
38
+ ### Serialization (encode)
39
+
40
+ 1. **Visible `label`**:
41
+ - Normalize `\r` and `\n` to spaces and trim surrounding whitespace.
42
+ - Escape Markdown link-label special characters (`\`, `[`, `]`).
43
+ - Never substitute a raw opaque `id` when a human-readable label is absent.
44
+ Use a safe generic fallback by kind (`device`, `entity`, `automation`,
45
+ `widget`, `route`, `shortcut`, `suggestion`, or `item`).
46
+ 2. **Query parameter encoding (RFC 3986 URI percent-encoding)**:
47
+ - Encode every parameter value with `encodeURIComponent` plus `(` -> `%28`
48
+ and `)` -> `%29` so parentheses inside opaque IDs or phrases never close
49
+ the Markdown link destination prematurely.
50
+ - Spaces encode as `%20` (not `+`); literal `+` encodes as `%2B`; `&` as
51
+ `%26`; `%` as `%25`; `#` as `%23`; `=` as `%3D`.
52
+
53
+ ### Actionable parsing (decode)
54
+
55
+ Actionable parsers (App click navigation, Lexical mention import, Compact
56
+ operation targets) separate syntax recognition from business decoding:
57
+
58
+ 1. **Scheme and structure**:
59
+ - Accept only `meow://` (case-insensitive scheme and host/kind).
60
+ - Reject credentials (`user@host`), ports, extra path segments, or fragments.
61
+ - Reject duplicate query keys or missing/blank required parameters.
62
+ 2. **Strict single-pass RFC 3986 query decoding**:
63
+ - Split the raw query string on `&` and the first `=`, then percent-decode
64
+ each parameter value **once** as UTF-8.
65
+ - Do **not** use `application/x-www-form-urlencoded` decoding (`URLSearchParams`),
66
+ which silently converts bare `+` into spaces and corrupts opaque IDs
67
+ containing literal `+`.
68
+ - Reject malformed percent sequences or invalid UTF-8 sequences.
69
+ 3. **Original-text offsets**:
70
+ - Scanners returning match spans (`start`, `end`) must compute indices on the
71
+ original input string without pre-rewriting syntax.
72
+ 4. **Visible label preservation**:
73
+ - Preserve the link's human-readable `label` as initial/fallback display text
74
+ until asynchronous name hydration resolves, without mutating the Markdown
75
+ source string.
76
+ 5. **Bounded tolerance for `meow://shortcut?phrase=...`**:
77
+ - Accept standard percent-encoded destinations (`meow://shortcut?phrase=Office%20lights`),
78
+ CommonMark angle-bracket destinations (`<meow://shortcut?phrase=Office lights>`),
79
+ and a bounded single-line balanced-parenthesis fallback outside code spans
80
+ and code blocks if a model omits `%20` in `meow://shortcut?phrase=...`.
81
+
82
+ ## Legacy XML read-only compatibility
83
+
84
+ Persisted historical messages and legacy clipboard payloads may contain:
85
+
86
+ - `<MeowEntity type="..." name="..." id="..." ...></MeowEntity>`
87
+ - `<MeowAutomation id="..." name="..."></MeowAutomation>`
88
+ - `<MeowWidget type="..." id="..." name="..." [automation="..."]></MeowWidget>`
89
+ - `<MeowShortcutSuggestion shortcut="...">prompt</MeowShortcutSuggestion>`
90
+
91
+ Consumers retain read-only parsing compatibility for these historical forms:
92
+
93
+ - Decode XML attribute values with HTML entity decoding **once**; do not
94
+ percent-decode legacy XML `id` values.
95
+ - Treat legacy `name` attributes strictly as plain text (never re-interpret as
96
+ HTML or nested Markdown links/actions).
97
+ - Never fall back to raw `id` when `name` is empty; use the safe generic kind
98
+ label.
99
+
100
+ ## Per-surface capability matrix
101
+
102
+ | Surface | Supported actionable kinds | Unsupported / unknown `meow://` kinds |
103
+ | --- | --- | --- |
104
+ | Lexical editor & drag-and-drop | `entity`, `automation`, `widget` become `MentionNode` | Kept as canonical plain text; never coerced into `entity` mentions |
105
+ | Default App assistant reply | `entity`, `automation`, `widget` (`<MentionChip>` with batched `getNames`), `route` (opt-in `<AppRouteLink>`), `shortcut` (block `<ChatShortcutSuggestion>` card) | Rendered as inert readable `label` (`<span>`); never falls through to raw `<a href="meow://...">` |
106
+ | Default App user bubble / temp text / notifications | Explicit per-caller opt-in only (e.g., `NotificationDialogCard` does not enable `route` or `shortcut` actions) | Inert readable `label` |
107
+ | Compact App (`default-pod`) | Supported device / automation / widget targets (without misclassifying `g:` groups) | Inert readable `label` |
108
+ | External Messaging (Core & Cloud) & TTS | None (non-App surface) | Universal text projection below |
109
+
110
+ ## Universal non-App text projection (Messaging & TTS)
111
+
112
+ External Messaging gateways (Core Telegram, Feishu, WeChat iLink; Cloud Telegram,
113
+ WeChat Official) and TTS playback apply one universal projection rule across all
114
+ outbound exits and all visible text fields (message parts, interaction titles,
115
+ messages, card previews, dialog prompts, field labels/descriptions, terminal
116
+ replacements, action/menu/button labels, run outcomes, and simple/edited text
117
+ replies). Projection operates on a transient copy and never mutates persisted
118
+ conversations, callback tokens, form values, resource IDs, or media URIs.
119
+
120
+ Outside fenced code blocks, indented code blocks, and inline code spans:
121
+
122
+ 1. Any `[label](meow://...)` link — including angle-bracket destinations,
123
+ reference-style `[label][ref]` + `[ref]: meow://...`, bounded unencoded-space
124
+ `meow://shortcut?phrase=...`, and unknown or parameter-invalid `meow://`
125
+ targets — projects to its inner `label` (preserving inner Markdown formatting
126
+ such as `**bold**`; falling back to a safe generic kind word when `label` is
127
+ empty). Internal reference definitions targeting `meow://...` are removed.
128
+ 2. Autolinks `<meow://...>` never expose the internal URI; they project to the
129
+ safe generic kind fallback (`device`, `entity`, `automation`, `widget`,
130
+ `route`, `shortcut`, `suggestion`, or `item`).
131
+ 3. Internal images `![alt](meow://...)` degrade to `alt` (or safe fallback).
132
+ Artifact images `![alt](meow-artifact://...)` are untouched.
133
+ 4. External links (`http://`, `https://`, `mailto:`, `tg://`) and all code
134
+ blocks/inline code spans remain verbatim.
135
+ 5. Legacy `<MeowShortcutSuggestion ...>inner</MeowShortcutSuggestion>` projects
136
+ to trimmed `inner`.
137
+ 6. Legacy `<MeowEntity|MeowAutomation|MeowWidget ...>` projects to HTML-decoded
138
+ `name` (or safe generic kind fallback, never exposing `id`).
139
+ 7. Projection is idempotent: `project(project(text)) == project(text)`.
140
+
141
+ Defense in depth: provider link formatters (such as Telegram HTML and Telegram
142
+ MarkdownV2) only emit clickable link markup for external schemes (`http://`,
143
+ `https://`, `mailto:`, `tg://`) and degrade all other schemes to plain text.
144
+
145
+ ## Cross-language conformance corpus
146
+
147
+ Language-agnostic test vectors live in
148
+ `fixtures/chat-reference-projection.conformance.json`. JavaScript (`@pallas/domain`),
149
+ Rust (`messaging-gateway`), and Java (`module-runtime`) implementations must
150
+ agree on every vector and preserve idempotency and code/external-link invariants.
@@ -1,35 +1,128 @@
1
1
  # Entity extension management
2
2
 
3
- These App Facades operate on the existing standalone entity. They create no
3
+ These App Facades operate on the Provider-owned standalone entity. They create no
4
4
  second inventory and do not transfer Provider Connection data. Requests use the
5
- ordinary Facade call envelope and current Space authority.
6
-
7
- - `/app/entity/extension/get`: `{ "entityUid": "device-1" }`; Space read access.
8
- Returns `entityUid`, `revision`, `extensionBindings`, full `capabilities`, and
9
- `visibleCapabilities`. The revision is an optimistic concurrency token.
10
- - `/app/entity/extension/change`: `{ "entityUid": "device-1", "serviceId": "camera",
11
- "expectedRevision": 4, "action": "add", "nodeId": "camera-A" }`; Space management
12
- access. Actions are `add`, `disable`, `enable`, and `remove`. Only `add` accepts
13
- `nodeId`; it requires an explicitly selected compatible instance. Existing
14
- owned associations must be removed before adding elsewhere. Stale revisions
15
- fail without changing the association.
16
- - `/app/entity/extension/default/set`: `{ "serviceId": "camera", "nodeId": "camera-A" }`;
17
- Space management access. Omit `nodeId` to clear the default. The selected default
18
- affects only unassigned eligible entities, never existing or disabled bindings.
19
-
20
- Changes return the current entity extension view. Removal clears extension-owned
21
- settings, recordings and cached data, while preserving the source entity and its
22
- Provider Connection. An unavailable owner or unknown acknowledgement leaves the
23
- association `removing`; the response fails and subsequent reads expose that state.
24
- Retry the exact association. Reassignment is remove followed by add, never an
25
- implicit overwrite or data migration. Disable retains data and the same binding ID.
26
-
27
- Bindings are keyed by service ID. `enabled` and `removing` require both `nodeId`
28
- and `bindingId`. `disabled` has either both (paused) or neither (sticky opt-out).
29
- Group projections are not standalone extension targets. Full support remains the
30
- invocation contract; visible support applies authored shadow solely to presentation.
31
-
32
- These are backend interfaces. UI, Agent, CLI and Plugin SDK adapters are delivered
33
- with their invocation/synchronization integration; a manifest does not establish
34
- that those adapters exist. Cloud Spaces currently have no native Plugin instances;
35
- they preserve association metadata and expose only eligible pure composites.
5
+ ordinary Facade call envelope and authenticated current Space authority. Core
6
+ owns local associations; Cloud forwards local Space requests and does not create
7
+ native Plugin owners in Cloud Spaces.
8
+
9
+ ## Reads
10
+
11
+ | Target | Input | Result |
12
+ | --- | --- | --- |
13
+ | `/app/entity/extension/get` | `entityUid` | One extension view |
14
+ | `/app/entity/extension/candidates` | `entityUids?`, `nodeIds?`, `cursor?`, `limit?` | `items`, `instances`, `nextCursor?` |
15
+ | `/app/entity/extension/list` | `nodeId`, `cursor?`, `limit?` | Existing association `items`, `nextCursor?` |
16
+
17
+ All reads require Space read access. Candidates require at least one selector;
18
+ providing both selects their intersection. Lists contain 1–100 distinct, nonempty
19
+ IDs. Selected entity reads return each requested identity and do not accept a
20
+ cursor. Instance scans use opaque cursors bound to tenant, Space, operation and
21
+ selection, with a default page size of 50 and a maximum of 100. A scan page can be
22
+ empty after eligibility filtering and still have `nextCursor`; callers may
23
+ continue it. Reading never changes an association or chooses a default instance.
24
+
25
+ An extension view contains `entityUid`, optimistic concurrency `revision`,
26
+ `extensionBindings`, full `capabilities`, `visibleCapabilities`, and `candidates`
27
+ (service ID, Node ID and full canonical capability IDs). Candidates come from
28
+ verified instance offers and current dependencies. A retained association is not
29
+ reassigned when a different candidate appears.
30
+
31
+ An entity item contains `requestedId`, `found`, optional `name`, `entityType`,
32
+ `sourceStatus`, `view`, `reason` and structured `problem`. Confirmed absence uses
33
+ `not_found`; an unreadable item uses `unavailable`. If only candidate computation
34
+ fails, retain the authoritative view and omit unknown `candidates`. Independent
35
+ read settlement follows [the resource read contract](resource-read-failures-v1.md):
36
+ use partial results with ID-scoped problems, fail all-unavailable selected reads,
37
+ and never turn authority or mandatory shared-enumeration failures into empty data.
38
+
39
+ Instance entries contain `nodeId`, `found`, and, when known, `name`, `hostName`,
40
+ `serviceId`, `readiness`, `connected`. Readiness is `ready`, `pending`,
41
+ `unavailable`, `not_extension`, or `retiring`; connectivity is independent of a
42
+ retained verified offer. Pending and unavailable must not be displayed as an empty
43
+ candidate directory. Reverse association lists retain disabled, removing and
44
+ deleted-source references even when the entity is no longer a candidate.
45
+
46
+ ## Explicit mutations
47
+
48
+ All mutations require Space management access. Unknown input fields are rejected.
49
+
50
+ `/app/entity/extension/associate` is an add-only batch:
51
+
52
+ ```json
53
+ {
54
+ "items": [
55
+ {
56
+ "entityUid": "device-1",
57
+ "expectedRevision": 4,
58
+ "bindings": [
59
+ { "serviceId": "camera", "nodeId": "camera-A" },
60
+ { "serviceId": "analysis", "nodeId": "analysis-B" }
61
+ ]
62
+ }
63
+ ]
64
+ }
65
+ ```
66
+
67
+ Validate the entire input before side effects: 1–100 distinct entities, each with
68
+ its nonnegative revision and 1–16 distinct services with explicit nonempty Node
69
+ IDs. All selections for one entity commit atomically; entities settle
70
+ independently. Existing service owners cannot be overwritten. At commit, Core
71
+ checks the entity revision, source generation, runtime projection generation,
72
+ verified offer revision and contribution of every selected service.
73
+
74
+ The result contains `items`: each has `entityUid`, `outcome` (`committed`,
75
+ `rejected`, or `unknown`), a committed `view` or a structured `problem`. The Facade
76
+ status is success only when all items committed, otherwise partial, including
77
+ when all are rejected/unknown. Unknown means the backend cannot confirm the
78
+ write outcome; it does not authorize replay. Refresh before another explicit
79
+ selection. Instance notifications are coalesced after the batch.
80
+
81
+ `/app/entity/extension/change` takes `entityUid`, `serviceId`,
82
+ `expectedRevision`, and `action`:
83
+
84
+ | Action | Additional input | Effect |
85
+ | --- | --- | --- |
86
+ | `add` | `nodeId` | Associate an explicitly selected eligible instance |
87
+ | `disable` | None | Pause, preserving owner, lifetime and data |
88
+ | `enable` | None | Resume the same eligible owner and lifetime |
89
+ | `remove` | None | Fence execution, clean extension data, then release association |
90
+ | `unlink` | `bindingId` | Release the exact removing lifetime without confirmed cleanup |
91
+
92
+ Only add accepts `nodeId`; only unlink accepts `bindingId`. Every retained
93
+ binding (`enabled`, `disabled`, `removing`) requires both `nodeId` and `bindingId`.
94
+ No ownerless opt-out or default-instance policy exists. Remove and unlink delete
95
+ the service key; later add allocates a fresh lifetime. Stale revisions and old
96
+ acknowledgements cannot mutate a newer lifetime. Group projections are not
97
+ standalone extension targets.
98
+
99
+ Change returns the extension view and, for remove/unlink, `cleanup`:
100
+ `confirmed`, `pending`, optional `problem`. Successful detach acknowledgement
101
+ means confirmed cleanup. Failed/unreachable cleanup persists `removing` and
102
+ returns partial with pending cleanup. Explicit unlink returns success with
103
+ `confirmed: false`, `pending: false`: old data deletion is unconfirmed. It is
104
+ permitted only after the user chooses that consequence for the exact removing
105
+ binding. Reassignment is remove/unlink followed by a separate add.
106
+
107
+ ## Instance retirement and onboarding
108
+
109
+ Plugin removal first persists local profile `lifecycle: retiring`, fencing new
110
+ admission. It drains all references, including disabled and deleted-source ones,
111
+ while retaining authentication so the owner can reconnect to acknowledge cleanup.
112
+ The partial removal result returns `disabled: false`, `lifecycle: retiring`, and
113
+ `remainingAssociations` while references remain. Retrying removal resumes the
114
+ same operation. Only after no references remain may identity revocation,
115
+ disconnection and profile deletion finish. No network call runs inside a database
116
+ transaction. Restart does not reset retirement.
117
+
118
+ Device onboarding uses selected-entity candidates after synchronization and room
119
+ assignment. Plugin onboarding uses only confirmed successful Node IDs to discover
120
+ compatible existing entities. Both flows begin with no selections, support skip,
121
+ and preserve completed onboarding if this optional step fails. Permanent entity
122
+ and instance management use the same Facades. Agent/CLI/UI adapters present and
123
+ forward choices; they do not reproduce backend matching or mutation orchestration.
124
+
125
+ Full support remains the invocation contract. Visible support applies authored
126
+ shadow solely to presentation. Pure Plan composites can still be derived without
127
+ an instance. Installation, inventory refresh and reconnect never implicitly add
128
+ an instance-backed association.
@@ -31,5 +31,6 @@ rows and group capability resolution; this contract does not promise one DB quer
31
31
 
32
32
  The UI lazily caches types and items by Space/type and merges in-flight reads.
33
33
  Search remains client-side. Failed requests are retryable and are not successful
34
- empty catalogs. Space changes discard late results. Message reference identity and
35
- serialization remain unchanged. Legacy `/reference/*` request routes are retired.
34
+ empty catalogs. Space changes discard late results. Chat reference serialization
35
+ and decoding follow [chat-reference-v1.md](./chat-reference-v1.md). Legacy
36
+ `/reference/*` request routes are retired.
@@ -159,15 +159,27 @@ The small activity summary is independent of detailed diagnostic retention and d
159
159
  not add an activity-history row. Suppression follows the existing runtime outcome;
160
160
  there is no separate suppressed terminal state. The durable `corrupted` flag is removed.
161
161
 
162
- `lastExecution.failureCode` is optional. `FAILED` with `failureCode: SUPPRESSED`
163
- means the whole Automation execution was blocked by its entry/resume suppression
164
- gate. UI may render this as "Suppressed" without changing the outcome. An internal
165
- command/member failure never supplies this classification, even when its own error
166
- code is SUPPRESSED. Internal errors are not aggregated into this reason. A resume
167
- gate may block a run after earlier actions have completed; the reason describes
168
- that gate's rejection, not whether any prior action succeeded. Rule-store/evaluation
169
- failures, older summaries and unknown reasons retain the ordinary outcome label.
170
- The marker uses the existing summary independently of diagnostic-log retention.
162
+ `lastExecution.failureCode` is an optional best-effort reason for a committed
163
+ `FAILED` outcome. It does not determine success/failure and has no companion stage
164
+ field. Known raw operation codes are retained; missing, malformed, ambiguous or
165
+ unknown reasons are omitted. Consumers must fall back to the ordinary outcome
166
+ label for absent or unrecognized codes. The shared cases in
167
+ `fixtures/automation-failure-codes.json` define current recognized codes.
168
+
169
+ `SUPPRESSED` means the whole Automation was rejected at its entry/resume gate.
170
+ `STEP_SUPPRESSED` means an unhandled action suppression caused execution to fail;
171
+ the diagnostic retains its original `SUPPRESSED` code. A resume gate can reject a
172
+ run after earlier actions succeeded. Neither classification claims that nothing
173
+ ran. Successful continue/fallback paths and successful Group commands with failed
174
+ members remain successful and have no summary failure code.
175
+
176
+ Sequential/repeat failures propagate the unhandled action reason. An exhausted
177
+ alternative uses its last attempted branch. Parallel execution retains a reason
178
+ only when exactly one branch failed. Selected then/else actions are covered;
179
+ internal context/condition evaluation and wait setup/cleanup may remain generic. An
180
+ unclassified fatal runtime fault must not reuse a prior handled action's reason.
181
+ Old generated Plans can remain generic until normal regeneration; no automatic
182
+ migration is required. The summary is independent of diagnostic-log retention.
171
183
 
172
184
  Independent read failure and partial-result rules are defined in
173
185
  [resource-read-failures-v1.md](resource-read-failures-v1.md).
@@ -0,0 +1,215 @@
1
+ {
2
+ "source": "foundation/crates/app-facade-api/fixtures/automation-failure-codes.json",
3
+ "cases": [
4
+ {
5
+ "stage": "automationAdmission",
6
+ "code": "SUPPRESSED",
7
+ "summaryCode": "SUPPRESSED",
8
+ "label": "Last execution suppressed"
9
+ },
10
+ {
11
+ "stage": "execution",
12
+ "code": "SUPPRESSED",
13
+ "summaryCode": "STEP_SUPPRESSED",
14
+ "label": "Last execution failed: action suppressed"
15
+ },
16
+ {
17
+ "stage": "execution",
18
+ "code": "DEADLINE_EXCEEDED",
19
+ "summaryCode": "DEADLINE_EXCEEDED",
20
+ "label": "Last execution timed out"
21
+ },
22
+ {
23
+ "stage": "execution",
24
+ "code": "UNREACHABLE",
25
+ "summaryCode": "UNREACHABLE",
26
+ "label": "Last execution failed: connection unavailable"
27
+ },
28
+ {
29
+ "stage": "execution",
30
+ "code": "WS_CONNECTION_LOST",
31
+ "summaryCode": "WS_CONNECTION_LOST",
32
+ "label": "Last execution failed: connection lost"
33
+ },
34
+ {
35
+ "stage": "execution",
36
+ "code": "UNAUTHENTICATED",
37
+ "summaryCode": "UNAUTHENTICATED",
38
+ "label": "Last execution failed: sign-in required"
39
+ },
40
+ {
41
+ "stage": "execution",
42
+ "code": "SESSION_EXPIRED",
43
+ "summaryCode": "SESSION_EXPIRED",
44
+ "label": "Last execution failed: sign-in required"
45
+ },
46
+ {
47
+ "stage": "execution",
48
+ "code": "UNAUTHORIZED",
49
+ "summaryCode": "UNAUTHORIZED",
50
+ "label": "Last execution failed: permission denied"
51
+ },
52
+ {
53
+ "stage": "execution",
54
+ "code": "HUB_REVOKED",
55
+ "summaryCode": "HUB_REVOKED",
56
+ "label": "Last execution failed: permission denied"
57
+ },
58
+ {
59
+ "stage": "execution",
60
+ "code": "PHONE_PROVIDER_REVOKED",
61
+ "summaryCode": "PHONE_PROVIDER_REVOKED",
62
+ "label": "Last execution failed: permission denied"
63
+ },
64
+ {
65
+ "stage": "execution",
66
+ "code": "UNSUPPORTED",
67
+ "summaryCode": "UNSUPPORTED",
68
+ "label": "Last execution failed: unsupported operation"
69
+ },
70
+ {
71
+ "stage": "execution",
72
+ "code": "FUNCTION_NO_IMPL",
73
+ "summaryCode": "FUNCTION_NO_IMPL",
74
+ "label": "Last execution failed: unsupported operation"
75
+ },
76
+ {
77
+ "stage": "execution",
78
+ "code": "PRECONDITION_FAIL",
79
+ "summaryCode": "PRECONDITION_FAIL",
80
+ "label": "Last execution failed: requirements not met"
81
+ },
82
+ {
83
+ "stage": "execution",
84
+ "code": "SETUP_SUPERSEDED",
85
+ "summaryCode": "SETUP_SUPERSEDED",
86
+ "label": "Last execution failed: requirements not met"
87
+ },
88
+ {
89
+ "stage": "execution",
90
+ "code": "CONFLICT",
91
+ "summaryCode": "CONFLICT",
92
+ "label": "Last execution failed: requirements not met"
93
+ },
94
+ {
95
+ "stage": "execution",
96
+ "code": "RATE_LIMIT",
97
+ "summaryCode": "RATE_LIMIT",
98
+ "label": "Last execution failed: rate limited"
99
+ },
100
+ {
101
+ "stage": "execution",
102
+ "code": "NOT_FOUND",
103
+ "summaryCode": "NOT_FOUND",
104
+ "label": "Last execution failed: resource not found"
105
+ },
106
+ {
107
+ "stage": "execution",
108
+ "code": "ALREADY_EXISTS",
109
+ "summaryCode": "ALREADY_EXISTS",
110
+ "label": "Last execution failed: resource already exists"
111
+ },
112
+ {
113
+ "stage": "execution",
114
+ "code": "BAD_REQUEST",
115
+ "summaryCode": "BAD_REQUEST",
116
+ "label": "Last execution failed: invalid input"
117
+ },
118
+ {
119
+ "stage": "execution",
120
+ "code": "INVALID_WIDGET_DEFINITION",
121
+ "summaryCode": "INVALID_WIDGET_DEFINITION",
122
+ "label": "Last execution failed: invalid input"
123
+ },
124
+ {
125
+ "stage": "execution",
126
+ "code": "TEMPORARY_UNAVAILABLE",
127
+ "summaryCode": "TEMPORARY_UNAVAILABLE",
128
+ "label": "Last execution failed: temporarily unavailable"
129
+ },
130
+ {
131
+ "stage": "execution",
132
+ "code": "RESOURCE_LOCKED",
133
+ "summaryCode": "RESOURCE_LOCKED",
134
+ "label": "Last execution failed: resource busy"
135
+ },
136
+ {
137
+ "stage": "execution",
138
+ "code": "ERROR_LOCK",
139
+ "summaryCode": "ERROR_LOCK",
140
+ "label": "Last execution failed: resource busy"
141
+ },
142
+ {
143
+ "stage": "execution",
144
+ "code": "BILL_TOKEN_EXCEED",
145
+ "summaryCode": "BILL_TOKEN_EXCEED",
146
+ "label": "Last execution failed: usage limit reached"
147
+ },
148
+ {
149
+ "stage": "execution",
150
+ "code": "BILL_AUTOMATION_EXCEED",
151
+ "summaryCode": "BILL_AUTOMATION_EXCEED",
152
+ "label": "Last execution failed: usage limit reached"
153
+ },
154
+ {
155
+ "stage": "execution",
156
+ "code": "SCRIPT_ERROR",
157
+ "summaryCode": "SCRIPT_ERROR",
158
+ "label": "Last execution failed: script error"
159
+ },
160
+ {
161
+ "stage": "execution",
162
+ "code": "SCRIPT_RUNTIME_ERROR",
163
+ "summaryCode": "SCRIPT_RUNTIME_ERROR",
164
+ "label": "Last execution failed: script error"
165
+ },
166
+ {
167
+ "stage": "execution",
168
+ "code": "SCRIPT_INVALID_OUTPUT",
169
+ "summaryCode": "SCRIPT_INVALID_OUTPUT",
170
+ "label": "Last execution failed: script error"
171
+ },
172
+ {
173
+ "stage": "execution",
174
+ "code": "INVALID_SCRIPT",
175
+ "summaryCode": "INVALID_SCRIPT",
176
+ "label": "Last execution failed: script error"
177
+ },
178
+ {
179
+ "stage": "execution",
180
+ "code": "SCRIPT_RUNTIME_UNAVAILABLE",
181
+ "summaryCode": "SCRIPT_RUNTIME_UNAVAILABLE",
182
+ "label": "Last execution failed: script runtime unavailable"
183
+ },
184
+ {
185
+ "stage": "execution",
186
+ "code": "UNKNOWN",
187
+ "summaryCode": null,
188
+ "label": "Last execution failed"
189
+ },
190
+ {
191
+ "stage": "execution",
192
+ "code": "INTERNAL",
193
+ "summaryCode": null,
194
+ "label": "Last execution failed"
195
+ },
196
+ {
197
+ "stage": "execution",
198
+ "code": "EXECUTION_FAILED",
199
+ "summaryCode": null,
200
+ "label": "Last execution failed"
201
+ },
202
+ {
203
+ "stage": "execution",
204
+ "code": "RUNTIME_ERROR",
205
+ "summaryCode": null,
206
+ "label": "Last execution failed"
207
+ },
208
+ {
209
+ "stage": "execution",
210
+ "code": "FUTURE_CODE",
211
+ "summaryCode": null,
212
+ "label": "Last execution failed"
213
+ }
214
+ ]
215
+ }
@@ -0,0 +1,305 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "contract": "chat-reference-v1",
4
+ "parseHrefCases": [
5
+ {
6
+ "id": "entity_device",
7
+ "href": "meow://entity?type=basic.device.Device&id=dev_123",
8
+ "expected": {
9
+ "kind": "entity",
10
+ "type": "basic.device.Device",
11
+ "id": "dev_123"
12
+ }
13
+ },
14
+ {
15
+ "id": "entity_group",
16
+ "href": "meow://entity?type=basic.device.Device&id=g%3Aoffice-lights",
17
+ "expected": {
18
+ "kind": "entity",
19
+ "type": "basic.device.Device",
20
+ "id": "g:office-lights"
21
+ }
22
+ },
23
+ {
24
+ "id": "entity_opaque_id_special_chars_and_bare_plus",
25
+ "href": "meow://entity?type=basic.device.Device&id=provider%3Aa%26b%25c+d%2Be%281%29",
26
+ "expected": {
27
+ "kind": "entity",
28
+ "type": "basic.device.Device",
29
+ "id": "provider:a&b%c+d+e(1)"
30
+ }
31
+ },
32
+ {
33
+ "id": "automation_basic",
34
+ "href": "meow://automation?id=auto_456",
35
+ "expected": {
36
+ "kind": "automation",
37
+ "id": "auto_456"
38
+ }
39
+ },
40
+ {
41
+ "id": "widget_with_automation_and_alias",
42
+ "href": "meow://widget?type=data&id=w_1&automation=auto_9",
43
+ "expected": {
44
+ "kind": "widget",
45
+ "type": "basic.widget.DataWidget",
46
+ "id": "w_1",
47
+ "automationId": "auto_9"
48
+ }
49
+ },
50
+ {
51
+ "id": "route_relative",
52
+ "href": "meow://route?url=L25vdw",
53
+ "expected": {
54
+ "kind": "route",
55
+ "path": "/now"
56
+ }
57
+ },
58
+ {
59
+ "id": "shortcut_percent_encoded_with_placeholder",
60
+ "href": "meow://shortcut?phrase=Office%20lights%20to%20brightness%20%7B%7BNumber%7D%7D",
61
+ "expected": {
62
+ "kind": "shortcut",
63
+ "phrase": "Office lights to brightness {{Number}}"
64
+ }
65
+ },
66
+ {
67
+ "id": "shortcut_preserves_bare_plus",
68
+ "href": "meow://shortcut?phrase=AC+1%20degree",
69
+ "expected": {
70
+ "kind": "shortcut",
71
+ "phrase": "AC+1 degree"
72
+ }
73
+ },
74
+ {
75
+ "id": "suggestion_basic",
76
+ "href": "meow://suggestion?id=sug_789",
77
+ "expected": {
78
+ "kind": "suggestion",
79
+ "id": "sug_789"
80
+ }
81
+ },
82
+ {
83
+ "id": "reject_non_meow_scheme",
84
+ "href": "https://example.com/entity?type=basic.device.Device&id=1",
85
+ "expected": null
86
+ },
87
+ {
88
+ "id": "reject_unknown_kind",
89
+ "href": "meow://unknown?id=1",
90
+ "expected": null
91
+ },
92
+ {
93
+ "id": "reject_entity_missing_type",
94
+ "href": "meow://entity?id=dev_1",
95
+ "expected": null
96
+ },
97
+ {
98
+ "id": "reject_duplicate_param",
99
+ "href": "meow://automation?id=a1&id=a2",
100
+ "expected": null
101
+ },
102
+ {
103
+ "id": "reject_userinfo",
104
+ "href": "meow://user@automation?id=a1",
105
+ "expected": null
106
+ },
107
+ {
108
+ "id": "reject_port",
109
+ "href": "meow://automation:8080?id=a1",
110
+ "expected": null
111
+ },
112
+ {
113
+ "id": "reject_extra_path",
114
+ "href": "meow://automation/extra?id=a1",
115
+ "expected": null
116
+ },
117
+ {
118
+ "id": "reject_fragment",
119
+ "href": "meow://automation?id=a1#sec",
120
+ "expected": null
121
+ },
122
+ {
123
+ "id": "reject_malformed_percent",
124
+ "href": "meow://automation?id=%ZZ",
125
+ "expected": null
126
+ },
127
+ {
128
+ "id": "reject_route_protocol_relative",
129
+ "href": "meow://route?url=Ly9ldmlsLmNvbQ",
130
+ "expected": null
131
+ }
132
+ ],
133
+ "serializeCases": [
134
+ {
135
+ "id": "serialize_entity_with_special_chars",
136
+ "input": {
137
+ "kind": "entity",
138
+ "type": "basic.device.Device",
139
+ "id": "p:a&b%c+d(1)",
140
+ "label": "Lamp [1]\nDesk"
141
+ },
142
+ "expected": "[Lamp \\[1\\] Desk](meow://entity?type=basic.device.Device&id=p%3Aa%26b%25c%2Bd%281%29)"
143
+ },
144
+ {
145
+ "id": "serialize_entity_empty_label_never_exposes_id",
146
+ "input": {
147
+ "kind": "entity",
148
+ "type": "basic.device.Device",
149
+ "id": "secret_dev_id",
150
+ "label": ""
151
+ },
152
+ "expected": "[device](meow://entity?type=basic.device.Device&id=secret_dev_id)"
153
+ },
154
+ {
155
+ "id": "serialize_automation",
156
+ "input": {
157
+ "kind": "automation",
158
+ "id": "auto_1",
159
+ "label": "Good Night"
160
+ },
161
+ "expected": "[Good Night](meow://automation?id=auto_1)"
162
+ },
163
+ {
164
+ "id": "serialize_widget_with_automation",
165
+ "input": {
166
+ "kind": "widget",
167
+ "type": "basic.widget.ButtonWidget",
168
+ "id": "w_1",
169
+ "automationId": "auto_1",
170
+ "label": "Evening Lights"
171
+ },
172
+ "expected": "[Evening Lights](meow://widget?type=basic.widget.ButtonWidget&id=w_1&automation=auto_1)"
173
+ },
174
+ {
175
+ "id": "serialize_shortcut_phrase",
176
+ "input": {
177
+ "kind": "shortcut",
178
+ "phrase": "Office lights to brightness {{Number}}",
179
+ "label": "Want to set up a shortcut?"
180
+ },
181
+ "expected": "[Want to set up a shortcut?](meow://shortcut?phrase=Office%20lights%20to%20brightness%20%7B%7BNumber%7D%7D)"
182
+ },
183
+ {
184
+ "id": "serialize_suggestion",
185
+ "input": {
186
+ "kind": "suggestion",
187
+ "id": "sug_42",
188
+ "label": "Turn off forgotten hallway light"
189
+ },
190
+ "expected": "[Turn off forgotten hallway light](meow://suggestion?id=sug_42)"
191
+ }
192
+ ],
193
+ "projectionCases": [
194
+ {
195
+ "id": "inline_entity_device",
196
+ "input": "Turned on [Living Room Lamp](meow://entity?type=basic.device.Device&id=dev_1).",
197
+ "expected": "Turned on Living Room Lamp."
198
+ },
199
+ {
200
+ "id": "inline_group",
201
+ "input": "Dimmed [Office Lights](meow://entity?type=basic.device.Device&id=g%3Aoffice-1).",
202
+ "expected": "Dimmed Office Lights."
203
+ },
204
+ {
205
+ "id": "inline_automation",
206
+ "input": "Updated [Night Mode](meow://automation?id=auto_123).",
207
+ "expected": "Updated Night Mode."
208
+ },
209
+ {
210
+ "id": "inline_widget",
211
+ "input": "Added [Brightness](meow://widget?type=basic.widget.DataWidget&id=w_1&automation=auto_1).",
212
+ "expected": "Added Brightness."
213
+ },
214
+ {
215
+ "id": "inline_route",
216
+ "input": "Open [Now](meow://route?url=L25vdw) to inspect.",
217
+ "expected": "Open Now to inspect."
218
+ },
219
+ {
220
+ "id": "inline_suggestion",
221
+ "input": "Review [Evening Lights Suggestion](meow://suggestion?id=sug_1).",
222
+ "expected": "Review Evening Lights Suggestion."
223
+ },
224
+ {
225
+ "id": "inline_shortcut_encoded",
226
+ "input": "It's 72°F. [Want to set up a shortcut?](meow://shortcut?phrase=Office%20lights%20to%20brightness%20%7B%7BNumber%7D%7D)",
227
+ "expected": "It's 72°F. Want to set up a shortcut?"
228
+ },
229
+ {
230
+ "id": "inline_shortcut_angle_brackets",
231
+ "input": "Done. [Set up a shortcut?](<meow://shortcut?phrase=Office lights to brightness {{Number}}>)",
232
+ "expected": "Done. Set up a shortcut?"
233
+ },
234
+ {
235
+ "id": "inline_shortcut_unencoded_spaces_fallback",
236
+ "input": "Done. [Set up a shortcut?](meow://shortcut?phrase=Office lights to brightness {{Number}})",
237
+ "expected": "Done. Set up a shortcut?"
238
+ },
239
+ {
240
+ "id": "nested_markdown_and_unicode_in_label",
241
+ "input": "Check [**客厅灯** _主灯_](meow://entity?type=basic.device.Device&id=d1) ✅",
242
+ "expected": "Check **客厅灯** _主灯_ ✅"
243
+ },
244
+ {
245
+ "id": "escaped_brackets_in_label",
246
+ "input": "Opened [Lamp \\[1\\]](meow://entity?type=basic.device.Device&id=d1).",
247
+ "expected": "Opened Lamp \\[1\\]."
248
+ },
249
+ {
250
+ "id": "unknown_or_invalid_meow_still_strips_target",
251
+ "input": "See [My Object](meow://future_kind?id=secret_999) and [Broken](meow://entity?id=missing_type).",
252
+ "expected": "See My Object and Broken."
253
+ },
254
+ {
255
+ "id": "empty_label_uses_safe_kind_fallback",
256
+ "input": "Check [](meow://automation?id=secret_auto) and [](meow://entity?type=basic.device.Device&id=secret_dev).",
257
+ "expected": "Check automation and device."
258
+ },
259
+ {
260
+ "id": "autolink_never_leaks_internal_uri",
261
+ "input": "Open <meow://entity?type=basic.device.Device&id=secret_id> and <meow://automation?id=secret_2>.",
262
+ "expected": "Open device and automation."
263
+ },
264
+ {
265
+ "id": "internal_image_degrades_artifact_image_preserved",
266
+ "input": "![Lamp](meow://entity?type=basic.device.Device&id=d1) and ![Snap](meow-artifact://v3/img123)",
267
+ "expected": "Lamp and ![Snap](meow-artifact://v3/img123)"
268
+ },
269
+ {
270
+ "id": "external_links_preserved",
271
+ "input": "See [Docs](https://example.com/a?b=1&c=2) and [Mail](mailto:hi@example.com) with [Lamp](meow://entity?type=basic.device.Device&id=d1).",
272
+ "expected": "See [Docs](https://example.com/a?b=1&c=2) and [Mail](mailto:hi@example.com) with Lamp."
273
+ },
274
+ {
275
+ "id": "reference_style_link_and_definition",
276
+ "input": "Toggle [Lamp][r] and [Docs][ext].\n\n[r]: meow://entity?type=basic.device.Device&id=secret_1\n[ext]: https://example.com",
277
+ "expected": "Toggle Lamp and [Docs][ext].\n\n[ext]: https://example.com"
278
+ },
279
+ {
280
+ "id": "code_blocks_and_inline_code_preserved",
281
+ "input": "Use `[Lamp](meow://entity?type=basic.device.Device&id=d1)` or ``<MeowEntity id=\"x\" name=\"Y\"></MeowEntity>``.\n\n```md\n[Lamp](meow://entity?type=basic.device.Device&id=d1)\n<MeowShortcutSuggestion shortcut=\"s\">keep</MeowShortcutSuggestion>\n```\n\n [Indented](meow://automation?id=a1)\n\nReal [Lamp](meow://entity?type=basic.device.Device&id=d1).",
282
+ "expected": "Use `[Lamp](meow://entity?type=basic.device.Device&id=d1)` or ``<MeowEntity id=\"x\" name=\"Y\"></MeowEntity>``.\n\n```md\n[Lamp](meow://entity?type=basic.device.Device&id=d1)\n<MeowShortcutSuggestion shortcut=\"s\">keep</MeowShortcutSuggestion>\n```\n\n [Indented](meow://automation?id=a1)\n\nReal Lamp."
283
+ },
284
+ {
285
+ "id": "unclosed_backtick_does_not_suppress_projection",
286
+ "input": "Note ` unclosed backtick then [Lamp](meow://entity?type=basic.device.Device&id=d1).",
287
+ "expected": "Note ` unclosed backtick then Lamp."
288
+ },
289
+ {
290
+ "id": "legacy_xml_tags_and_multiline_shortcut",
291
+ "input": "Checked <MeowEntity type=\"basic.device.Device\" name=\"Kitchen &amp; Bar\" id=\"secret_1\"></MeowEntity>, <MeowAutomation id=\"secret_2\" name=\"\"></MeowAutomation>, <MeowWidget type=\"basic.widget.DataWidget\" id=\"secret_3\" name=\"Temp\"/>.\n<MeowShortcutSuggestion shortcut=\"weather\">\nWant a shortcut\nfor weather?\n</MeowShortcutSuggestion>",
292
+ "expected": "Checked Kitchen & Bar, automation, Temp.\nWant a shortcut\nfor weather?"
293
+ },
294
+ {
295
+ "id": "crlf_line_endings_preserved",
296
+ "input": "Line 1 [Lamp](meow://entity?type=basic.device.Device&id=d1)\r\nLine 2 [Night](meow://automation?id=a1)",
297
+ "expected": "Line 1 Lamp\r\nLine 2 Night"
298
+ },
299
+ {
300
+ "id": "opaque_id_special_chars",
301
+ "input": "Fixed [Sensor](meow://entity?type=basic.device.Device&id=p%3Aa%26b%25c+d%281%29).",
302
+ "expected": "Fixed Sensor."
303
+ }
304
+ ]
305
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.183.1",
3
+ "contractVersion": "1.186.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",
@@ -561,8 +561,10 @@
561
561
  "contract": "contract/entity-extensions-v1.md",
562
562
  "requestTargets": [
563
563
  "/app/entity/extension/get",
564
- "/app/entity/extension/change",
565
- "/app/entity/extension/default/set"
564
+ "/app/entity/extension/candidates",
565
+ "/app/entity/extension/list",
566
+ "/app/entity/extension/associate",
567
+ "/app/entity/extension/change"
566
568
  ]
567
569
  }
568
570
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "1.183.1",
2
+ "contractVersion": "1.186.0",
3
3
  "operations": {
4
4
  "/app/agent/context/get": "spaceRead",
5
5
  "/app/agent/conversation/get": "spaceRead",
@@ -103,7 +103,9 @@
103
103
  "/app/dialog/reply": "spaceWrite",
104
104
  "/app/entity/detail/get": "spaceRead",
105
105
  "/app/entity/extension/change": "spaceManage",
106
- "/app/entity/extension/default/set": "spaceManage",
106
+ "/app/entity/extension/associate": "spaceManage",
107
+ "/app/entity/extension/candidates": "spaceRead",
108
+ "/app/entity/extension/list": "spaceRead",
107
109
  "/app/entity/extension/get": "spaceRead",
108
110
  "/app/entity/history/list": "spaceRead",
109
111
  "/app/entity/list": "spaceRead",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.host-provision.targets.v1",
3
- "contractVersion": "1.183.1",
3
+ "contractVersion": "1.186.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.183.1",
3
+ "contractVersion": "1.186.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.183.1",
3
+ "contractVersion": "1.186.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.183.1",
3
+ "contractVersion": "1.186.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.183.1",
3
+ "contractVersion": "1.186.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.183.1",
3
+ "version": "1.186.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.183.1",
3
+ "contractVersion": "1.186.0",
4
4
  "manifest": "manifest/app-facade.v1.json",
5
5
  "schemas": {
6
6
  "dashboardCardAuthoring": "schema/dashboard-card-authoring.v1.schema.json",
@@ -684,7 +684,7 @@
684
684
  "string",
685
685
  "null"
686
686
  ],
687
- "description": "SUPPRESSED only when the whole Automation was blocked on entry/resume; absent otherwise."
687
+ "description": "Optional known reason for FAILED. SUPPRESSED is whole admission/resume; STEP_SUPPRESSED is an unhandled action. Unknown reasons are omitted."
688
688
  }
689
689
  }
690
690
  }