@mhome/app-facade-protocol 1.188.0 → 1.191.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/README.md +2 -0
- package/contract/automation-control-v1.md +18 -0
- package/contract/automation-presentation-v1.md +15 -2
- package/contract/automation-v1.md +8 -4
- package/contract/chat-reference-v1.md +4 -26
- package/contract/resource-read-failures-v1.md +6 -1
- package/contract/resource-read-v1.md +10 -1
- package/fixtures/chat-reference-projection.conformance.json +24 -4
- package/fixtures/presentation/cases.json +42 -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/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
- package/schema/automation.v1.schema.json +45 -45
package/README.md
CHANGED
|
@@ -373,3 +373,5 @@ unassignment may share one request. Both operations validate the entire batch
|
|
|
373
373
|
and commit atomically at the Room owner; a rejected batch has no partial writes.
|
|
374
374
|
There is no separate single-create or remove-membership Facade.
|
|
375
375
|
See [Room batch writes](contract/room-writes-v1.md).
|
|
376
|
+
|
|
377
|
+
Automation start/stop receipts follow [the control contract](contract/automation-control-v1.md).
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Automation control receipts
|
|
2
|
+
|
|
3
|
+
`/app/automation/start` and `/app/automation/stop` return a control receipt, not a
|
|
4
|
+
promise that a Task Flow is still running or that all actions completed.
|
|
5
|
+
|
|
6
|
+
After the control manager explicitly accepts the control, `accepted` is true.
|
|
7
|
+
A successful post-control observation has `stateStatus: known` and boolean
|
|
8
|
+
`enabled` and `running`. A failed observation has `stateStatus: unknown` and omits
|
|
9
|
+
both flags. Both receipts return Facade `success`; unknown adds the structured
|
|
10
|
+
warning `AUTOMATION_STATE_UNAVAILABLE` scoped to the Automation ID.
|
|
11
|
+
|
|
12
|
+
Input, authority, prerequisite and control failures remain errors. A transport
|
|
13
|
+
failure without a receipt never establishes acceptance. Do not catch those failures
|
|
14
|
+
as unknown observations. Never replay control to repair an observation failure.
|
|
15
|
+
Full/Essential preserve the receipt discriminator and warnings. Clients may issue
|
|
16
|
+
an independent status read; they must not turn unknown into false or retry a start.
|
|
17
|
+
|
|
18
|
+
This operation-specific state does not add a Facade status or a response mode.
|
|
@@ -64,7 +64,7 @@ also uses metadata rather than downloading authored source.
|
|
|
64
64
|
| `/app/presentation/automation/overview/init` | `{automationId?,inspireId?,inspireVersion?,snapshotId?,args?}` | Existing editor session, required installs, AutomationOverview and already-loaded metadata. Snapshot takes precedence over existing program, then Inspire. Uses the authenticated Client and existing staged-Inspire developer session. |
|
|
65
65
|
| `/app/presentation/automation/overview/config/provide` | `{sessionId,var,input}` | Existing option query and editor revision. |
|
|
66
66
|
| `/app/presentation/automation/overview/config/update` | `{sessionId,var,inputs?,widgetize?}` | Existing config evaluation, diagnostics and revision. |
|
|
67
|
-
| `/app/presentation/automation/overview/save` | `{sessionId,automationId?,inspireId?,inspireVersion?,snapshotId?,preferredName?,debug?,addCard?,canvasIds?}` | `{automationId,runnable,enabled?,restoreIssue?}`. Updating an existing definition preserves its previous enabled intent; restoration runs after releasing the edit lock, is fenced by the saved revision, and cannot override a newer stop. A committed save with failed/unconfirmed restoration or an unavailable post-save enabled observation returns `partial`; unknown enabled is omitted. New saves retain existing creation semantics and saving never triggers a Task Flow. Existing single-save guard, Client ownership, prepare/save/complete revision checks and internal normalized-source persistence. Legacy snapshotId/addCard/canvasIds are accepted but do not perform placement
|
|
67
|
+
| `/app/presentation/automation/overview/save` | `{sessionId,automationId?,inspireId?,inspireVersion?,snapshotId?,preferredName?,debug?,addCard?,canvasIds?}` | `{automationId,runnable,enabled?,restoreIssue?}`. Updating an existing definition preserves its previous enabled intent; restoration runs after releasing the edit lock, is fenced by the saved revision, and cannot override a newer stop. A committed save with failed/unconfirmed restoration or an unavailable post-save enabled observation returns `partial`; unknown enabled is omitted. New saves retain existing creation semantics and saving never triggers a Task Flow. Existing single-save guard, Client ownership, prepare/save/complete revision checks and internal normalized-source persistence. Legacy snapshotId/addCard/canvasIds are accepted but do not perform placement. Adding a Dashboard Card is a separate user operation. |
|
|
68
68
|
| `/app/presentation/automation/overview/cancel` | `{sessionId}` | Canonical acknowledgement without data. Existing Client ownership check and session cleanup. |
|
|
69
69
|
| `/app/presentation/automation/copy` | `{automationId,name?}` | `{automationId,runnable,enabled}`. Copies the existing script/template metadata using the internal save operation. |
|
|
70
70
|
| `/app/presentation/automation/enroll` | `{automationId,name?}` | `{automationId,runnable,enabled}`. Existing enrollment behavior. |
|
|
@@ -126,4 +126,17 @@ unclassified fatal runtime fault must not reuse a prior handled action's reason.
|
|
|
126
126
|
Old generated Plans can remain generic until normal regeneration; no automatic
|
|
127
127
|
migration is required. The summary is independent of diagnostic-log retention.
|
|
128
128
|
|
|
129
|
-
Selected definition detail parses
|
|
129
|
+
Selected definition detail parses only the saved YAML declarations it exposes.
|
|
130
|
+
Failure to decode source, capabilities or declarations makes that Automation item
|
|
131
|
+
`unavailable`: omit its entire `automation` object and retain its ID-scoped problem.
|
|
132
|
+
Other selected Automations remain readable. A confirmed absence is `not_found`;
|
|
133
|
+
a failed shared status read remains a request error. Tags are lightweight filters:
|
|
134
|
+
unreadable Core tags may degrade to an empty array, as in list. Strict dependent
|
|
135
|
+
reads and writes do not fabricate empty source or capability lists. No derived
|
|
136
|
+
metadata cache or extra database fields are required.
|
|
137
|
+
|
|
138
|
+
Editor initialization has two existing response branches: an `automationOverview`
|
|
139
|
+
for editing, or nonempty `requiredInstalls` without an overview. Initial selections
|
|
140
|
+
are applied only to an available overview. Core preserves both branches through
|
|
141
|
+
the Cloud bridge. Runtime observation refresh is an independent summary read and
|
|
142
|
+
preserves the editor session and unsaved configuration.
|
|
@@ -8,10 +8,14 @@ Generated Twin and Group programs remain internal resources.
|
|
|
8
8
|
Recurring programs are enabled; Task Flows are activated and triggered.
|
|
9
9
|
- `/app/automation/stop` accepts `automationId`, disables the program and cancels
|
|
10
10
|
all its instances, including durable waits. Completed actions are not undone.
|
|
11
|
-
- Both return
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
- Both return a control receipt with `automationId`, `accepted: true` and
|
|
12
|
+
`stateStatus`. Known observation includes boolean `enabled` and `running`;
|
|
13
|
+
unknown observation omits both and carries `AUTOMATION_STATE_UNAVAILABLE`.
|
|
14
|
+
Both are Facade success. A short Task Flow may already be idle when start
|
|
15
|
+
returns. Essential preserves the same receipt and warnings as YAML. Input,
|
|
16
|
+
authority, prerequisite and control failures remain canonical errors. See
|
|
17
|
+
[control receipts](automation-control-v1.md); never replay accepted control
|
|
18
|
+
to repair an observation failure.
|
|
15
19
|
- `/app/automation/rename` accepts only Standard Automations (`AutomationUtil.is_std`),
|
|
16
20
|
excluding Group entity IDs. Twin, Group, Temporary and other prefixed internal
|
|
17
21
|
programs cannot be renamed here. Rename a Group through its Group operation.
|
|
@@ -21,8 +21,8 @@ emit standard Markdown links using the `meow:` URI scheme:
|
|
|
21
21
|
[label](meow://<kind>?<query>)
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
DeepLinks are the only supported chat reference syntax. XML object tags and
|
|
25
|
+
shortcut tags are neither emitted nor interpreted by consumers.
|
|
26
26
|
|
|
27
27
|
| `kind` | Canonical format | Required query params | Optional query params | Scope |
|
|
28
28
|
| --- | --- | --- | --- | --- |
|
|
@@ -30,7 +30,7 @@ No new producer may emit `<MeowEntity>`, `<MeowAutomation>`, `<MeowWidget>`, or
|
|
|
30
30
|
| `automation` | `[label](meow://automation?id=<ID>)` | `id` | — | Regular/temporary automations and automation groups |
|
|
31
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
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` | — |
|
|
33
|
+
| `shortcut` | `[prompt](meow://shortcut?phrase=<P>)` | `phrase` | — | Interactive shortcut creation prompt |
|
|
34
34
|
| `suggestion` | `[label](meow://suggestion?id=<ID>)` | `id` | — | Reserved for Suggestion references |
|
|
35
35
|
|
|
36
36
|
## Encoding and decoding rules
|
|
@@ -79,24 +79,6 @@ operation targets) separate syntax recognition from business decoding:
|
|
|
79
79
|
and a bounded single-line balanced-parenthesis fallback outside code spans
|
|
80
80
|
and code blocks if a model omits `%20` in `meow://shortcut?phrase=...`.
|
|
81
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
82
|
## Per-surface capability matrix
|
|
101
83
|
|
|
102
84
|
| Surface | Supported actionable kinds | Unsupported / unknown `meow://` kinds |
|
|
@@ -132,11 +114,7 @@ Outside fenced code blocks, indented code blocks, and inline code spans:
|
|
|
132
114
|
Artifact images `` are untouched.
|
|
133
115
|
4. External links (`http://`, `https://`, `mailto:`, `tg://`) and all code
|
|
134
116
|
blocks/inline code spans remain verbatim.
|
|
135
|
-
5.
|
|
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)`.
|
|
117
|
+
5. Projection is idempotent: `project(project(text)) == project(text)`.
|
|
140
118
|
|
|
141
119
|
Defense in depth: provider link formatters (such as Telegram HTML and Telegram
|
|
142
120
|
MarkdownV2) only emit clickable link markup for external schemes (`http://`,
|
|
@@ -43,7 +43,12 @@ retry is introduced. Required evidence for a dependent mutation remains required
|
|
|
43
43
|
projection fails; the Group's capabilities and Blueprint IDs remain unknown.
|
|
44
44
|
- Automation detail uses `items: [{requestedId, found, reason?, automation?,
|
|
45
45
|
problem?}]`, not an uncorrelated automations array. The list endpoint retains
|
|
46
|
-
its automations summaries array.
|
|
46
|
+
its automations summaries array. Automation definitions use the entire Automation
|
|
47
|
+
as the failure boundary: unreadable source, capabilities or exposed declarations
|
|
48
|
+
make that selected item unavailable, with no partial Automation object. Other
|
|
49
|
+
selected Automations remain independent. Tags are an explicit lightweight filter
|
|
50
|
+
exception and may degrade to an empty array. Full/Essential keep the same outcome.
|
|
51
|
+
Source/internal program ID rejection remains
|
|
47
52
|
request validation; known user program and Automation Group lookups are isolated.
|
|
48
53
|
|
|
49
54
|
- Device and Entity state retain ordered items when a selected Group or observation
|
|
@@ -85,8 +85,17 @@ adapters, separate from the shared definition/state/history contracts.
|
|
|
85
85
|
batch. No observations, history, related automations or suggestions are loaded.
|
|
86
86
|
|
|
87
87
|
`twin` contains `entityId`, `entityType`, `integration`, `capabilities`,
|
|
88
|
-
`blueprintIds`, `attributes`, `available`, and optional `problem`. Attributes use canonical data capability IDs as
|
|
88
|
+
`visibleCapabilities`, `blueprintIds`, `attributes`, `available`, and optional `problem`. Attributes use canonical data capability IDs as
|
|
89
89
|
keys and preserve typed JSON values, including units, false, zero and empty arrays.
|
|
90
|
+
`capabilities` retains complete callable support, including shadowed dependencies.
|
|
91
|
+
`visibleCapabilities` is the authoritative presentation subset computed from schema
|
|
92
|
+
shadow declarations. Use it to select visible actions and default media entrypoints;
|
|
93
|
+
use complete support to validate their helper operations and input transports. An
|
|
94
|
+
empty visible list is meaningful and must never fall back to the complete list.
|
|
95
|
+
Both lists come from the same Twin projection. Clients do not infer replacement
|
|
96
|
+
from Provider names or capability priorities. Explicit calls are not redirected by
|
|
97
|
+
shadow. Projection changes use the existing entity-update refresh path below.
|
|
98
|
+
|
|
90
99
|
Only immutable entity-only data is cached here; mutable or parameterized data is
|
|
91
100
|
invoked explicitly when needed. These reads never fetch providers. A missing key
|
|
92
101
|
means no cached value is available, not a null/empty result. Group `available` is
|
|
@@ -278,8 +278,8 @@
|
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
"id": "code_blocks_and_inline_code_preserved",
|
|
281
|
-
"input": "Use `[Lamp](meow://entity?type=basic.device.Device&id=d1)` or ``<
|
|
282
|
-
"expected": "Use `[Lamp](meow://entity?type=basic.device.Device&id=d1)` or ``<
|
|
281
|
+
"input": "Use `[Lamp](meow://entity?type=basic.device.Device&id=d1)` or ``<example name=\"Y\"></example>``.\n\n```md\n[Lamp](meow://entity?type=basic.device.Device&id=d1)\n<example>keep</example>\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 ``<example name=\"Y\"></example>``.\n\n```md\n[Lamp](meow://entity?type=basic.device.Device&id=d1)\n<example>keep</example>\n```\n\n [Indented](meow://automation?id=a1)\n\nReal Lamp."
|
|
283
283
|
},
|
|
284
284
|
{
|
|
285
285
|
"id": "unclosed_backtick_does_not_suppress_projection",
|
|
@@ -287,8 +287,8 @@
|
|
|
287
287
|
"expected": "Note ` unclosed backtick then Lamp."
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
|
-
"id": "
|
|
291
|
-
"input": "Checked
|
|
290
|
+
"id": "multiline_shortcut_label",
|
|
291
|
+
"input": "Checked [Kitchen & Bar](meow://entity?type=basic.device.Device&id=secret_1), [](meow://automation?id=secret_2), [Temp](meow://widget?type=basic.widget.DataWidget&id=secret_3).\n[Want a shortcut\nfor weather?](meow://shortcut?phrase=weather)",
|
|
292
292
|
"expected": "Checked Kitchen & Bar, automation, Temp.\nWant a shortcut\nfor weather?"
|
|
293
293
|
},
|
|
294
294
|
{
|
|
@@ -300,6 +300,26 @@
|
|
|
300
300
|
"id": "opaque_id_special_chars",
|
|
301
301
|
"input": "Fixed [Sensor](meow://entity?type=basic.device.Device&id=p%3Aa%26b%25c+d%281%29).",
|
|
302
302
|
"expected": "Fixed Sensor."
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"id": "unicode_before_final_definition_lf",
|
|
306
|
+
"input": "# 灯\n[r]: meow://automation?id=a1",
|
|
307
|
+
"expected": "# 灯"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"id": "emoji_before_final_definition_lf",
|
|
311
|
+
"input": "# 😀\n[r]: meow://automation?id=a1",
|
|
312
|
+
"expected": "# 😀"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"id": "unicode_before_final_definition_crlf",
|
|
316
|
+
"input": "# 灯\r\n[r]: meow://automation?id=a1",
|
|
317
|
+
"expected": "# 灯"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"id": "unicode_definition_with_final_newline",
|
|
321
|
+
"input": "# 灯\n[r]: meow://automation?id=a1\n",
|
|
322
|
+
"expected": "# 灯\n"
|
|
303
323
|
}
|
|
304
324
|
]
|
|
305
325
|
}
|
|
@@ -4003,13 +4003,17 @@
|
|
|
4003
4003
|
"data": {
|
|
4004
4004
|
"automationId": "a",
|
|
4005
4005
|
"enabled": true,
|
|
4006
|
-
"running": false
|
|
4006
|
+
"running": false,
|
|
4007
|
+
"accepted": true,
|
|
4008
|
+
"stateStatus": "known"
|
|
4007
4009
|
},
|
|
4008
4010
|
"status": "success",
|
|
4009
4011
|
"essential": {
|
|
4010
4012
|
"automationId": "a",
|
|
4011
4013
|
"enabled": true,
|
|
4012
|
-
"running": false
|
|
4014
|
+
"running": false,
|
|
4015
|
+
"accepted": true,
|
|
4016
|
+
"stateStatus": "known"
|
|
4013
4017
|
}
|
|
4014
4018
|
},
|
|
4015
4019
|
{
|
|
@@ -4027,13 +4031,17 @@
|
|
|
4027
4031
|
"data": {
|
|
4028
4032
|
"automationId": "a",
|
|
4029
4033
|
"enabled": false,
|
|
4030
|
-
"running": false
|
|
4034
|
+
"running": false,
|
|
4035
|
+
"accepted": true,
|
|
4036
|
+
"stateStatus": "known"
|
|
4031
4037
|
},
|
|
4032
4038
|
"status": "success",
|
|
4033
4039
|
"essential": {
|
|
4034
4040
|
"automationId": "a",
|
|
4035
4041
|
"enabled": false,
|
|
4036
|
-
"running": false
|
|
4042
|
+
"running": false,
|
|
4043
|
+
"accepted": true,
|
|
4044
|
+
"stateStatus": "known"
|
|
4037
4045
|
}
|
|
4038
4046
|
},
|
|
4039
4047
|
{
|
|
@@ -7032,5 +7040,35 @@
|
|
|
7032
7040
|
}
|
|
7033
7041
|
]
|
|
7034
7042
|
}
|
|
7043
|
+
},
|
|
7044
|
+
{
|
|
7045
|
+
"name": "/app/automation/start accepted with unavailable observation",
|
|
7046
|
+
"target": "/app/automation/start",
|
|
7047
|
+
"data": {
|
|
7048
|
+
"automationId": "a",
|
|
7049
|
+
"accepted": true,
|
|
7050
|
+
"stateStatus": "unknown"
|
|
7051
|
+
},
|
|
7052
|
+
"status": "success",
|
|
7053
|
+
"essential": {
|
|
7054
|
+
"automationId": "a",
|
|
7055
|
+
"accepted": true,
|
|
7056
|
+
"stateStatus": "unknown"
|
|
7057
|
+
}
|
|
7058
|
+
},
|
|
7059
|
+
{
|
|
7060
|
+
"name": "/app/automation/stop accepted with unavailable observation",
|
|
7061
|
+
"target": "/app/automation/stop",
|
|
7062
|
+
"data": {
|
|
7063
|
+
"automationId": "a",
|
|
7064
|
+
"accepted": true,
|
|
7065
|
+
"stateStatus": "unknown"
|
|
7066
|
+
},
|
|
7067
|
+
"status": "success",
|
|
7068
|
+
"essential": {
|
|
7069
|
+
"automationId": "a",
|
|
7070
|
+
"accepted": true,
|
|
7071
|
+
"stateStatus": "unknown"
|
|
7072
|
+
}
|
|
7035
7073
|
}
|
|
7036
7074
|
]
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -43,6 +43,15 @@
|
|
|
43
43
|
"type": "string",
|
|
44
44
|
"pattern": "\\S"
|
|
45
45
|
},
|
|
46
|
+
"accepted": {
|
|
47
|
+
"const": true
|
|
48
|
+
},
|
|
49
|
+
"stateStatus": {
|
|
50
|
+
"enum": [
|
|
51
|
+
"known",
|
|
52
|
+
"unknown"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
46
55
|
"enabled": {
|
|
47
56
|
"type": "boolean"
|
|
48
57
|
},
|
|
@@ -52,8 +61,42 @@
|
|
|
52
61
|
},
|
|
53
62
|
"required": [
|
|
54
63
|
"automationId",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
64
|
+
"accepted",
|
|
65
|
+
"stateStatus"
|
|
66
|
+
],
|
|
67
|
+
"oneOf": [
|
|
68
|
+
{
|
|
69
|
+
"properties": {
|
|
70
|
+
"stateStatus": {
|
|
71
|
+
"const": "known"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": [
|
|
75
|
+
"enabled",
|
|
76
|
+
"running"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"properties": {
|
|
81
|
+
"stateStatus": {
|
|
82
|
+
"const": "unknown"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"not": {
|
|
86
|
+
"anyOf": [
|
|
87
|
+
{
|
|
88
|
+
"required": [
|
|
89
|
+
"enabled"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"required": [
|
|
94
|
+
"running"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
57
100
|
]
|
|
58
101
|
},
|
|
59
102
|
"renameInput": {
|
|
@@ -161,35 +204,6 @@
|
|
|
161
204
|
"instanceId"
|
|
162
205
|
]
|
|
163
206
|
},
|
|
164
|
-
"diagnosticReadInput": {
|
|
165
|
-
"type": "object",
|
|
166
|
-
"additionalProperties": false,
|
|
167
|
-
"properties": {
|
|
168
|
-
"automationId": {
|
|
169
|
-
"type": "string",
|
|
170
|
-
"pattern": "\\S"
|
|
171
|
-
},
|
|
172
|
-
"threadId": {
|
|
173
|
-
"type": "integer",
|
|
174
|
-
"minimum": 0
|
|
175
|
-
},
|
|
176
|
-
"instanceId": {
|
|
177
|
-
"type": "string",
|
|
178
|
-
"pattern": "\\S"
|
|
179
|
-
},
|
|
180
|
-
"cursor": {
|
|
181
|
-
"type": [
|
|
182
|
-
"string",
|
|
183
|
-
"null"
|
|
184
|
-
]
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"required": [
|
|
188
|
-
"automationId",
|
|
189
|
-
"threadId",
|
|
190
|
-
"instanceId"
|
|
191
|
-
]
|
|
192
|
-
},
|
|
193
207
|
"instanceStopOutput": {
|
|
194
208
|
"type": "object",
|
|
195
209
|
"additionalProperties": false,
|
|
@@ -250,20 +264,6 @@
|
|
|
250
264
|
"automationId": {
|
|
251
265
|
"type": "string",
|
|
252
266
|
"pattern": "\\S"
|
|
253
|
-
},
|
|
254
|
-
"cursor": {
|
|
255
|
-
"type": [
|
|
256
|
-
"string",
|
|
257
|
-
"null"
|
|
258
|
-
]
|
|
259
|
-
},
|
|
260
|
-
"limit": {
|
|
261
|
-
"type": [
|
|
262
|
-
"integer",
|
|
263
|
-
"null"
|
|
264
|
-
],
|
|
265
|
-
"minimum": 1,
|
|
266
|
-
"maximum": 100
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
"required": [
|