@infernetprotocol/liquid-agent 0.0.0-stage → 0.1.66
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/LICENSE +15 -0
- package/README.md +15 -2
- package/fixtures/contract.json +6 -0
- package/fixtures/invalid/episode-extra-field.json +275 -0
- package/fixtures/invalid/episode-no-capture.json +265 -0
- package/fixtures/invalid/episode-unknown-action.json +274 -0
- package/fixtures/invalid/model-manifest-bad-hash.json +92 -0
- package/fixtures/invalid/predict-negative-seq.json +48 -0
- package/fixtures/invalid/proposal-bad-abstain.json +31 -0
- package/fixtures/invalid/proposal-confidence-range.json +31 -0
- package/fixtures/invalid/session-bad-seq.json +17 -0
- package/fixtures/invalid/train-job-bad-family.json +44 -0
- package/fixtures/invalid/train-job-zero-lr.json +44 -0
- package/fixtures/valid/action-proposal.json +27 -0
- package/fixtures/valid/dataset-bundle.json +3747 -0
- package/fixtures/valid/dataset-manifest.json +126 -0
- package/fixtures/valid/episode.json +270 -0
- package/fixtures/valid/inference-session.json +13 -0
- package/fixtures/valid/model-manifest.json +88 -0
- package/fixtures/valid/predict-request.json +44 -0
- package/fixtures/valid/train-job.json +40 -0
- package/package.json +28 -3
- package/runtime/infernet_liquid/__init__.py +6 -0
- package/runtime/infernet_liquid/__main__.py +95 -0
- package/runtime/infernet_liquid/bench.py +125 -0
- package/runtime/infernet_liquid/bundle.py +63 -0
- package/runtime/infernet_liquid/canonical.py +75 -0
- package/runtime/infernet_liquid/data.py +121 -0
- package/runtime/infernet_liquid/errors.py +13 -0
- package/runtime/infernet_liquid/evaluate.py +145 -0
- package/runtime/infernet_liquid/export.py +136 -0
- package/runtime/infernet_liquid/features.py +105 -0
- package/runtime/infernet_liquid/models.py +63 -0
- package/runtime/infernet_liquid/schema.py +155 -0
- package/runtime/infernet_liquid/secretscan.py +64 -0
- package/runtime/infernet_liquid/server.py +251 -0
- package/runtime/infernet_liquid/sessions.py +279 -0
- package/runtime/infernet_liquid/synth.py +194 -0
- package/runtime/infernet_liquid/train.py +136 -0
- package/runtime/pyproject.toml +14 -0
- package/runtime/requirements-cuda.lock +461 -0
- package/runtime/requirements.lock +344 -0
- package/schemas/action-proposal.schema.json +40 -0
- package/schemas/common.schema.json +88 -0
- package/schemas/dataset-bundle.schema.json +15 -0
- package/schemas/dataset-manifest.schema.json +100 -0
- package/schemas/episode.schema.json +71 -0
- package/schemas/inference-session.schema.json +23 -0
- package/schemas/model-manifest.schema.json +103 -0
- package/schemas/predict-request.schema.json +20 -0
- package/schemas/train-job.schema.json +75 -0
- package/src/canonical.js +49 -0
- package/src/contract.js +62 -0
- package/src/dataset.js +133 -0
- package/src/index.js +13 -0
- package/src/runtime.js +206 -0
- package/src/secrets.js +79 -0
- package/src/validate.js +161 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Infernet Protocol
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
+
PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @infernetprotocol/liquid-agent
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The liquid-agent/v1 contract and the client for `infernet-liquid`, the isolated Python runtime behind Infernet's temporal-policy family (CfC and LTC liquid neural networks from [ncps](https://github.com/mlech26l/ncps), with a GRU baseline).
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
import { buildBundle, verifyBundle, validate, LiquidRuntime } from "@infernetprotocol/liquid-agent";
|
|
7
|
+
|
|
8
|
+
const bundle = buildBundle(reviewedEpisodes, { consent, strategy: "by_session", seed: 0 });
|
|
9
|
+
verifyBundle(bundle); // schema + hashes + secret scan
|
|
10
|
+
const rt = new LiquidRuntime(); // needs `infernet model runtime setup --yes`
|
|
11
|
+
const res = await rt.request("train", { bundle_path, output_dir, family: "cfc" });
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Design, protocol, error codes and threat model: [docs/liquid-agent](../../docs/liquid-agent/README.md).
|
|
15
|
+
|
|
16
|
+
Runtime dev loop (from `runtime/`): `PYTHONPATH=. python -m unittest tests.test_runtime`, `python -m tests.make_fixtures`, `python -m infernet_liquid bench --out-dir /some/dir`.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bundle_dataset_hash": "sha256:dce2e7d70920e254b3b04e633dd2ad1383f41d592e2d79506fb42e0c9336c6ec",
|
|
3
|
+
"episode_content_hash": "sha256:252f9609047a61f694e0bba93740e561277ed10a59372fb7a6f8f7dc8a118e13",
|
|
4
|
+
"schema_version": "liquid-agent/v1",
|
|
5
|
+
"schemas_hash": "sha256:b8c14ae7a6148406e7ad923f9660ed68068b0fbac65cb8679d68afd6cd80a2b0"
|
|
6
|
+
}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "episode",
|
|
3
|
+
"value": {
|
|
4
|
+
"capture": {
|
|
5
|
+
"app_scope": [
|
|
6
|
+
"mail"
|
|
7
|
+
],
|
|
8
|
+
"consent_id": "synthetic",
|
|
9
|
+
"device_local": true,
|
|
10
|
+
"redaction_profile": "strict",
|
|
11
|
+
"source": "synthetic"
|
|
12
|
+
},
|
|
13
|
+
"content_hash": "sha256:252f9609047a61f694e0bba93740e561277ed10a59372fb7a6f8f7dc8a118e13",
|
|
14
|
+
"cookies": "sid=1",
|
|
15
|
+
"created_at": "2026-10-25T12:00:00Z",
|
|
16
|
+
"episode_id": "ep_syn_email_3_0000",
|
|
17
|
+
"kind": "episode",
|
|
18
|
+
"labels": {
|
|
19
|
+
"goal": "Reply to the unread message and save the reply as a draft",
|
|
20
|
+
"reviewed": true,
|
|
21
|
+
"risk": "low",
|
|
22
|
+
"success": true
|
|
23
|
+
},
|
|
24
|
+
"schema_version": "liquid-agent/v1",
|
|
25
|
+
"split_group": "email-s0",
|
|
26
|
+
"steps": [
|
|
27
|
+
{
|
|
28
|
+
"action": {
|
|
29
|
+
"target": {
|
|
30
|
+
"name": "Inbox",
|
|
31
|
+
"role": "link"
|
|
32
|
+
},
|
|
33
|
+
"type": "click"
|
|
34
|
+
},
|
|
35
|
+
"observation": {
|
|
36
|
+
"app": "mail",
|
|
37
|
+
"elements": [
|
|
38
|
+
{
|
|
39
|
+
"name": "Calendar",
|
|
40
|
+
"role": "link"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Drafts",
|
|
44
|
+
"role": "link"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "Spam",
|
|
48
|
+
"role": "link"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "Settings",
|
|
52
|
+
"role": "link"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Sent",
|
|
56
|
+
"role": "link"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "Compose",
|
|
60
|
+
"role": "button"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Inbox",
|
|
64
|
+
"role": "link"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"url_pattern": "mail://home"
|
|
68
|
+
},
|
|
69
|
+
"result": {
|
|
70
|
+
"status": "ok"
|
|
71
|
+
},
|
|
72
|
+
"t_ms": 0
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"action": {
|
|
76
|
+
"target": {
|
|
77
|
+
"name": "Unread · From Ari: Contract draft",
|
|
78
|
+
"role": "row"
|
|
79
|
+
},
|
|
80
|
+
"type": "click"
|
|
81
|
+
},
|
|
82
|
+
"observation": {
|
|
83
|
+
"app": "mail",
|
|
84
|
+
"elements": [
|
|
85
|
+
{
|
|
86
|
+
"name": "From Jo: Lunch?",
|
|
87
|
+
"role": "row"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "From Dana: Re: roadmap",
|
|
91
|
+
"role": "row"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "Unread · From Ari: Contract draft",
|
|
95
|
+
"role": "row"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "From Noor: Team offsite",
|
|
99
|
+
"role": "row"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "Compose",
|
|
103
|
+
"role": "button"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "Inbox",
|
|
107
|
+
"role": "link"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"url_pattern": "mail://inbox"
|
|
111
|
+
},
|
|
112
|
+
"result": {
|
|
113
|
+
"status": "ok"
|
|
114
|
+
},
|
|
115
|
+
"t_ms": 664
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"action": {
|
|
119
|
+
"target": {
|
|
120
|
+
"name": "Reply",
|
|
121
|
+
"role": "button"
|
|
122
|
+
},
|
|
123
|
+
"type": "click"
|
|
124
|
+
},
|
|
125
|
+
"observation": {
|
|
126
|
+
"app": "mail",
|
|
127
|
+
"elements": [
|
|
128
|
+
{
|
|
129
|
+
"name": "Delete",
|
|
130
|
+
"role": "button"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "Mark unread",
|
|
134
|
+
"role": "button"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "Reply",
|
|
138
|
+
"role": "button"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "Forward",
|
|
142
|
+
"role": "button"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "Archive",
|
|
146
|
+
"role": "button"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "From Ari",
|
|
150
|
+
"role": "text"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"url_pattern": "mail://message"
|
|
154
|
+
},
|
|
155
|
+
"result": {
|
|
156
|
+
"status": "ok"
|
|
157
|
+
},
|
|
158
|
+
"t_ms": 1878
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"action": {
|
|
162
|
+
"target": {
|
|
163
|
+
"name": "Message body",
|
|
164
|
+
"role": "textbox"
|
|
165
|
+
},
|
|
166
|
+
"text_redacted": true,
|
|
167
|
+
"type": "type"
|
|
168
|
+
},
|
|
169
|
+
"observation": {
|
|
170
|
+
"app": "mail",
|
|
171
|
+
"elements": [
|
|
172
|
+
{
|
|
173
|
+
"name": "Save draft",
|
|
174
|
+
"role": "button"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "Message body",
|
|
178
|
+
"role": "textbox"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "Send",
|
|
182
|
+
"role": "button"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "Discard",
|
|
186
|
+
"role": "button"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "Attach",
|
|
190
|
+
"role": "button"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"focus": {
|
|
194
|
+
"name": "Message body",
|
|
195
|
+
"role": "textbox"
|
|
196
|
+
},
|
|
197
|
+
"url_pattern": "mail://compose"
|
|
198
|
+
},
|
|
199
|
+
"result": {
|
|
200
|
+
"status": "ok"
|
|
201
|
+
},
|
|
202
|
+
"t_ms": 2516
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"action": {
|
|
206
|
+
"target": {
|
|
207
|
+
"name": "Save draft",
|
|
208
|
+
"role": "button"
|
|
209
|
+
},
|
|
210
|
+
"type": "click"
|
|
211
|
+
},
|
|
212
|
+
"observation": {
|
|
213
|
+
"app": "mail",
|
|
214
|
+
"elements": [
|
|
215
|
+
{
|
|
216
|
+
"name": "Save draft",
|
|
217
|
+
"role": "button"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "Message body",
|
|
221
|
+
"role": "textbox"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "Send",
|
|
225
|
+
"role": "button"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "Discard",
|
|
229
|
+
"role": "button"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "Attach",
|
|
233
|
+
"role": "button"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"focus": {
|
|
237
|
+
"name": "Message body",
|
|
238
|
+
"role": "textbox"
|
|
239
|
+
},
|
|
240
|
+
"url_pattern": "mail://compose"
|
|
241
|
+
},
|
|
242
|
+
"result": {
|
|
243
|
+
"status": "ok"
|
|
244
|
+
},
|
|
245
|
+
"t_ms": 8648
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"action": {
|
|
249
|
+
"type": "done"
|
|
250
|
+
},
|
|
251
|
+
"observation": {
|
|
252
|
+
"app": "mail",
|
|
253
|
+
"elements": [
|
|
254
|
+
{
|
|
255
|
+
"name": "Draft saved",
|
|
256
|
+
"role": "text"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "Inbox",
|
|
260
|
+
"role": "link"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"url_pattern": "mail://compose"
|
|
264
|
+
},
|
|
265
|
+
"result": {
|
|
266
|
+
"status": "ok"
|
|
267
|
+
},
|
|
268
|
+
"t_ms": 9161
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"task": "email.reply_draft",
|
|
272
|
+
"variant": "v0"
|
|
273
|
+
},
|
|
274
|
+
"why": "additionalProperties false"
|
|
275
|
+
}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "episode",
|
|
3
|
+
"value": {
|
|
4
|
+
"content_hash": "sha256:252f9609047a61f694e0bba93740e561277ed10a59372fb7a6f8f7dc8a118e13",
|
|
5
|
+
"created_at": "2026-10-25T12:00:00Z",
|
|
6
|
+
"episode_id": "ep_syn_email_3_0000",
|
|
7
|
+
"kind": "episode",
|
|
8
|
+
"labels": {
|
|
9
|
+
"goal": "Reply to the unread message and save the reply as a draft",
|
|
10
|
+
"reviewed": true,
|
|
11
|
+
"risk": "low",
|
|
12
|
+
"success": true
|
|
13
|
+
},
|
|
14
|
+
"schema_version": "liquid-agent/v1",
|
|
15
|
+
"split_group": "email-s0",
|
|
16
|
+
"steps": [
|
|
17
|
+
{
|
|
18
|
+
"action": {
|
|
19
|
+
"target": {
|
|
20
|
+
"name": "Inbox",
|
|
21
|
+
"role": "link"
|
|
22
|
+
},
|
|
23
|
+
"type": "click"
|
|
24
|
+
},
|
|
25
|
+
"observation": {
|
|
26
|
+
"app": "mail",
|
|
27
|
+
"elements": [
|
|
28
|
+
{
|
|
29
|
+
"name": "Calendar",
|
|
30
|
+
"role": "link"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Drafts",
|
|
34
|
+
"role": "link"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "Spam",
|
|
38
|
+
"role": "link"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "Settings",
|
|
42
|
+
"role": "link"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "Sent",
|
|
46
|
+
"role": "link"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "Compose",
|
|
50
|
+
"role": "button"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "Inbox",
|
|
54
|
+
"role": "link"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"url_pattern": "mail://home"
|
|
58
|
+
},
|
|
59
|
+
"result": {
|
|
60
|
+
"status": "ok"
|
|
61
|
+
},
|
|
62
|
+
"t_ms": 0
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"action": {
|
|
66
|
+
"target": {
|
|
67
|
+
"name": "Unread · From Ari: Contract draft",
|
|
68
|
+
"role": "row"
|
|
69
|
+
},
|
|
70
|
+
"type": "click"
|
|
71
|
+
},
|
|
72
|
+
"observation": {
|
|
73
|
+
"app": "mail",
|
|
74
|
+
"elements": [
|
|
75
|
+
{
|
|
76
|
+
"name": "From Jo: Lunch?",
|
|
77
|
+
"role": "row"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "From Dana: Re: roadmap",
|
|
81
|
+
"role": "row"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "Unread · From Ari: Contract draft",
|
|
85
|
+
"role": "row"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "From Noor: Team offsite",
|
|
89
|
+
"role": "row"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "Compose",
|
|
93
|
+
"role": "button"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "Inbox",
|
|
97
|
+
"role": "link"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"url_pattern": "mail://inbox"
|
|
101
|
+
},
|
|
102
|
+
"result": {
|
|
103
|
+
"status": "ok"
|
|
104
|
+
},
|
|
105
|
+
"t_ms": 664
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"action": {
|
|
109
|
+
"target": {
|
|
110
|
+
"name": "Reply",
|
|
111
|
+
"role": "button"
|
|
112
|
+
},
|
|
113
|
+
"type": "click"
|
|
114
|
+
},
|
|
115
|
+
"observation": {
|
|
116
|
+
"app": "mail",
|
|
117
|
+
"elements": [
|
|
118
|
+
{
|
|
119
|
+
"name": "Delete",
|
|
120
|
+
"role": "button"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "Mark unread",
|
|
124
|
+
"role": "button"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "Reply",
|
|
128
|
+
"role": "button"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "Forward",
|
|
132
|
+
"role": "button"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "Archive",
|
|
136
|
+
"role": "button"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "From Ari",
|
|
140
|
+
"role": "text"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"url_pattern": "mail://message"
|
|
144
|
+
},
|
|
145
|
+
"result": {
|
|
146
|
+
"status": "ok"
|
|
147
|
+
},
|
|
148
|
+
"t_ms": 1878
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"action": {
|
|
152
|
+
"target": {
|
|
153
|
+
"name": "Message body",
|
|
154
|
+
"role": "textbox"
|
|
155
|
+
},
|
|
156
|
+
"text_redacted": true,
|
|
157
|
+
"type": "type"
|
|
158
|
+
},
|
|
159
|
+
"observation": {
|
|
160
|
+
"app": "mail",
|
|
161
|
+
"elements": [
|
|
162
|
+
{
|
|
163
|
+
"name": "Save draft",
|
|
164
|
+
"role": "button"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "Message body",
|
|
168
|
+
"role": "textbox"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "Send",
|
|
172
|
+
"role": "button"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "Discard",
|
|
176
|
+
"role": "button"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "Attach",
|
|
180
|
+
"role": "button"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"focus": {
|
|
184
|
+
"name": "Message body",
|
|
185
|
+
"role": "textbox"
|
|
186
|
+
},
|
|
187
|
+
"url_pattern": "mail://compose"
|
|
188
|
+
},
|
|
189
|
+
"result": {
|
|
190
|
+
"status": "ok"
|
|
191
|
+
},
|
|
192
|
+
"t_ms": 2516
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"action": {
|
|
196
|
+
"target": {
|
|
197
|
+
"name": "Save draft",
|
|
198
|
+
"role": "button"
|
|
199
|
+
},
|
|
200
|
+
"type": "click"
|
|
201
|
+
},
|
|
202
|
+
"observation": {
|
|
203
|
+
"app": "mail",
|
|
204
|
+
"elements": [
|
|
205
|
+
{
|
|
206
|
+
"name": "Save draft",
|
|
207
|
+
"role": "button"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "Message body",
|
|
211
|
+
"role": "textbox"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "Send",
|
|
215
|
+
"role": "button"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "Discard",
|
|
219
|
+
"role": "button"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "Attach",
|
|
223
|
+
"role": "button"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"focus": {
|
|
227
|
+
"name": "Message body",
|
|
228
|
+
"role": "textbox"
|
|
229
|
+
},
|
|
230
|
+
"url_pattern": "mail://compose"
|
|
231
|
+
},
|
|
232
|
+
"result": {
|
|
233
|
+
"status": "ok"
|
|
234
|
+
},
|
|
235
|
+
"t_ms": 8648
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"action": {
|
|
239
|
+
"type": "done"
|
|
240
|
+
},
|
|
241
|
+
"observation": {
|
|
242
|
+
"app": "mail",
|
|
243
|
+
"elements": [
|
|
244
|
+
{
|
|
245
|
+
"name": "Draft saved",
|
|
246
|
+
"role": "text"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "Inbox",
|
|
250
|
+
"role": "link"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"url_pattern": "mail://compose"
|
|
254
|
+
},
|
|
255
|
+
"result": {
|
|
256
|
+
"status": "ok"
|
|
257
|
+
},
|
|
258
|
+
"t_ms": 9161
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"task": "email.reply_draft",
|
|
262
|
+
"variant": "v0"
|
|
263
|
+
},
|
|
264
|
+
"why": "capture (consent) is required"
|
|
265
|
+
}
|