wisp-schema 1.21.1 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/version.rb +2 -2
- data/lib/wisp-schema.rb +1 -0
- data/stable/actions/snippet.json +23 -0
- data/stable/verbs.json +12 -11
- data/stable/verbs_for_execution.json +33 -0
- data/wisp.json +66 -11
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e1f9368fc1ec3d114837694214ef6ccda71b0bae445c503acef7d0ff5ff74b
|
4
|
+
data.tar.gz: 81acef8707a3e2deef2ccbfcf9f1f20561fce6a1712c1ed60f3e8775361e5e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9857e34361b1973347041f4f44fa9b6457a13c1e0d19a26dbbc2721890545b3941432d966e93c6275211fe8424302f84e1b31429fcff0503f8d3c86a827a240
|
7
|
+
data.tar.gz: 82bceb3ad712448043a05f658edaf970652099cc766805786d6ab497dfe91f586148fc55a6be4f6014ac47b8b5e3c455b29c43552ee3d4a3fbea26e76a135abe
|
data/lib/version.rb
CHANGED
data/lib/wisp-schema.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"action_type": "action",
|
5
|
+
"title": "Snippet",
|
6
|
+
"description": "Contains a set of actions. They can be regenerated if self-healing is on and a prompt exists",
|
7
|
+
"properties": {
|
8
|
+
"action": { "enum": ["snippet"] },
|
9
|
+
"execution_mode": { "enum": ["run", "generate"] },
|
10
|
+
"id": { "title": "Action ID", "type": "integer" },
|
11
|
+
"uniform_id": { "title": "Preserved Action ID", "type": "string" },
|
12
|
+
"job_step_id": { "title": "The id of the action's related job step", "type": "integer" },
|
13
|
+
"delay_after": { "title": "Delay after in seconds", "type": "integer" },
|
14
|
+
"prompt": { "title": "The text used to regenerate the steps", "type": "string" },
|
15
|
+
"verbs": {
|
16
|
+
"title": "Verbs",
|
17
|
+
"$ref": "../verbs_for_execution.json"
|
18
|
+
},
|
19
|
+
"version": { "type": "string", "title": "Version" }
|
20
|
+
},
|
21
|
+
"additionalProperties": false,
|
22
|
+
"required": ["action", "verbs", "prompt"]
|
23
|
+
}
|
data/stable/verbs.json
CHANGED
@@ -7,27 +7,28 @@
|
|
7
7
|
"oneOf": [
|
8
8
|
{"$ref": "actions/ai_confirmation.json"},
|
9
9
|
{"$ref": "actions/click.json"},
|
10
|
+
{"$ref": "actions/close_tab.json"},
|
10
11
|
{"$ref": "actions/comment.json"},
|
11
12
|
{"$ref": "actions/conditional_observe.json"},
|
12
13
|
{"$ref": "actions/double_click.json"},
|
13
|
-
{"$ref": "actions/
|
14
|
+
{"$ref": "actions/download_file.json"},
|
15
|
+
{"$ref": "actions/drag_and_drop.json"},
|
14
16
|
{"$ref": "actions/fill.json"},
|
15
17
|
{"$ref": "actions/generate_steps.json"},
|
16
|
-
{"$ref": "actions/type.json"},
|
17
|
-
{"$ref": "actions/send_key.json"},
|
18
18
|
{"$ref": "actions/hover.json"},
|
19
|
-
{"$ref": "actions/select.json"},
|
20
|
-
{"$ref": "actions/refresh.json"},
|
21
19
|
{"$ref": "actions/navigate.json"},
|
22
|
-
{"$ref": "actions/close_tab.json"},
|
23
|
-
{"$ref": "actions/scroll.json"},
|
24
|
-
{"$ref": "actions/wait.json"},
|
25
|
-
{"$ref": "actions/drag_and_drop.json"},
|
26
|
-
{"$ref": "actions/tester_instruction.json"},
|
27
20
|
{"$ref": "actions/observe.json"},
|
21
|
+
{"$ref": "actions/refresh.json"},
|
22
|
+
{"$ref": "actions/scroll.json"},
|
23
|
+
{"$ref": "actions/select.json"},
|
24
|
+
{"$ref": "actions/send_key.json"},
|
25
|
+
{"$ref": "actions/snippet.json"},
|
28
26
|
{"$ref": "actions/store_value.json"},
|
29
|
-
{"$ref": "actions/download_file.json"},
|
30
27
|
{"$ref": "actions/tester_confirmation.json"},
|
28
|
+
{"$ref": "actions/tester_instruction.json"},
|
29
|
+
{"$ref": "actions/triple_click.json"},
|
30
|
+
{"$ref": "actions/type.json"},
|
31
|
+
{"$ref": "actions/wait.json"},
|
31
32
|
{"$ref": "embeddings/embedded_test.json"}
|
32
33
|
]
|
33
34
|
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "array",
|
4
|
+
"title": "Verbs for execution",
|
5
|
+
"items": {
|
6
|
+
"title": "Wisp Verb for execution",
|
7
|
+
"oneOf": [
|
8
|
+
{"$ref": "actions/ai_confirmation.json"},
|
9
|
+
{"$ref": "actions/click.json"},
|
10
|
+
{"$ref": "actions/close_tab.json"},
|
11
|
+
{"$ref": "actions/comment.json"},
|
12
|
+
{"$ref": "actions/conditional_observe.json"},
|
13
|
+
{"$ref": "actions/double_click.json"},
|
14
|
+
{"$ref": "actions/download_file.json"},
|
15
|
+
{"$ref": "actions/drag_and_drop.json"},
|
16
|
+
{"$ref": "actions/fill.json"},
|
17
|
+
{"$ref": "actions/hover.json"},
|
18
|
+
{"$ref": "actions/navigate.json"},
|
19
|
+
{"$ref": "actions/observe.json"},
|
20
|
+
{"$ref": "actions/refresh.json"},
|
21
|
+
{"$ref": "actions/scroll.json"},
|
22
|
+
{"$ref": "actions/select.json"},
|
23
|
+
{"$ref": "actions/send_key.json"},
|
24
|
+
{"$ref": "actions/snippet.json"},
|
25
|
+
{"$ref": "actions/store_value.json"},
|
26
|
+
{"$ref": "actions/tester_confirmation.json"},
|
27
|
+
{"$ref": "actions/tester_instruction.json"},
|
28
|
+
{"$ref": "actions/triple_click.json"},
|
29
|
+
{"$ref": "actions/type.json"},
|
30
|
+
{"$ref": "actions/wait.json"}
|
31
|
+
]
|
32
|
+
}
|
33
|
+
}
|
data/wisp.json
CHANGED
@@ -150,28 +150,57 @@
|
|
150
150
|
"oneOf": [
|
151
151
|
{"$ref": "#/definitions/ai_confirmation"},
|
152
152
|
{"$ref": "#/definitions/click"},
|
153
|
+
{"$ref": "#/definitions/close_tab"},
|
153
154
|
{"$ref": "#/definitions/comment"},
|
154
155
|
{"$ref": "#/definitions/conditional_observe"},
|
155
156
|
{"$ref": "#/definitions/double_click"},
|
156
|
-
{"$ref": "#/definitions/
|
157
|
+
{"$ref": "#/definitions/download_file"},
|
158
|
+
{"$ref": "#/definitions/drag_and_drop"},
|
159
|
+
{"$ref": "#/definitions/embedded_test"},
|
157
160
|
{"$ref": "#/definitions/fill"},
|
158
161
|
{"$ref": "#/definitions/generate_steps"},
|
159
|
-
{"$ref": "#/definitions/type"},
|
160
|
-
{"$ref": "#/definitions/send_key"},
|
161
162
|
{"$ref": "#/definitions/hover"},
|
162
|
-
{"$ref": "#/definitions/select"},
|
163
|
-
{"$ref": "#/definitions/refresh"},
|
164
163
|
{"$ref": "#/definitions/navigate"},
|
165
|
-
{"$ref": "#/definitions/
|
164
|
+
{"$ref": "#/definitions/observe"},
|
165
|
+
{"$ref": "#/definitions/refresh"},
|
166
166
|
{"$ref": "#/definitions/scroll"},
|
167
|
-
{"$ref": "#/definitions/
|
168
|
-
{"$ref": "#/definitions/
|
167
|
+
{"$ref": "#/definitions/select"},
|
168
|
+
{"$ref": "#/definitions/send_key"},
|
169
|
+
{"$ref": "#/definitions/snippet"},
|
170
|
+
{"$ref": "#/definitions/store_value"},
|
171
|
+
{"$ref": "#/definitions/tester_confirmation"},
|
169
172
|
{"$ref": "#/definitions/tester_instruction"},
|
170
|
-
{"$ref": "#/definitions/
|
173
|
+
{"$ref": "#/definitions/triple_click"},
|
174
|
+
{"$ref": "#/definitions/type"},
|
175
|
+
{"$ref": "#/definitions/wait"}
|
176
|
+
]
|
177
|
+
},
|
178
|
+
"verb_for_execution": {
|
179
|
+
"title": "Wisp Verb for execution",
|
180
|
+
"oneOf": [
|
181
|
+
{"$ref": "#/definitions/ai_confirmation"},
|
182
|
+
{"$ref": "#/definitions/click"},
|
183
|
+
{"$ref": "#/definitions/close_tab"},
|
184
|
+
{"$ref": "#/definitions/comment"},
|
185
|
+
{"$ref": "#/definitions/conditional_observe"},
|
186
|
+
{"$ref": "#/definitions/double_click"},
|
187
|
+
{"$ref": "#/definitions/download_file"},
|
188
|
+
{"$ref": "#/definitions/drag_and_drop"},
|
189
|
+
{"$ref": "#/definitions/fill"},
|
190
|
+
{"$ref": "#/definitions/hover"},
|
191
|
+
{"$ref": "#/definitions/navigate"},
|
171
192
|
{"$ref": "#/definitions/observe"},
|
193
|
+
{"$ref": "#/definitions/refresh"},
|
194
|
+
{"$ref": "#/definitions/scroll"},
|
195
|
+
{"$ref": "#/definitions/select"},
|
196
|
+
{"$ref": "#/definitions/send_key"},
|
197
|
+
{"$ref": "#/definitions/snippet"},
|
172
198
|
{"$ref": "#/definitions/store_value"},
|
173
|
-
{"$ref": "#/definitions/
|
174
|
-
{"$ref": "#/definitions/
|
199
|
+
{"$ref": "#/definitions/tester_confirmation"},
|
200
|
+
{"$ref": "#/definitions/tester_instruction"},
|
201
|
+
{"$ref": "#/definitions/triple_click"},
|
202
|
+
{"$ref": "#/definitions/type"},
|
203
|
+
{"$ref": "#/definitions/wait"}
|
175
204
|
]
|
176
205
|
},
|
177
206
|
"ai_confirmation": {
|
@@ -462,6 +491,32 @@
|
|
462
491
|
"additionalProperties": false,
|
463
492
|
"required": ["verbs"]
|
464
493
|
},
|
494
|
+
"snippet": {
|
495
|
+
"type": "object",
|
496
|
+
"action_type": "action",
|
497
|
+
"title": "Snippet",
|
498
|
+
"description": "Contains a set of actions. They can be regenerated if self-healing is on and a prompt exists",
|
499
|
+
"properties": {
|
500
|
+
"action": { "enum": ["snippet"] },
|
501
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
502
|
+
"execution_mode": { "enum": ["run", "generate"] },
|
503
|
+
"id": { "title": "Action ID", "type": "integer" },
|
504
|
+
"uniform_id": { "title": "Preserved Action ID", "type": "string" },
|
505
|
+
"job_step_id": { "title": "The id of the action's related job step", "type": "integer" },
|
506
|
+
"delay_after": { "title": "Delay after in seconds", "type": "integer" },
|
507
|
+
"prompt": { "title": "The text used to regenerate the steps", "type": "string" },
|
508
|
+
"verbs": {
|
509
|
+
"type": "array",
|
510
|
+
"title": "Verbs",
|
511
|
+
"items": {
|
512
|
+
"$ref": "#/definitions/verb_for_execution"
|
513
|
+
}
|
514
|
+
},
|
515
|
+
"version": { "type": "string", "title": "Version" }
|
516
|
+
},
|
517
|
+
"additionalProperties": false,
|
518
|
+
"required": ["action", "steps", "prompt"]
|
519
|
+
},
|
465
520
|
"type": {
|
466
521
|
"type": "object",
|
467
522
|
"action_type": "action",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wisp-schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Grodowski
|
@@ -95,6 +95,7 @@ files:
|
|
95
95
|
- stable/actions/scroll.json
|
96
96
|
- stable/actions/select.json
|
97
97
|
- stable/actions/send_key.json
|
98
|
+
- stable/actions/snippet.json
|
98
99
|
- stable/actions/store_value.json
|
99
100
|
- stable/actions/tester_confirmation.json
|
100
101
|
- stable/actions/tester_instruction.json
|
@@ -106,6 +107,7 @@ files:
|
|
106
107
|
- stable/blocks/generated_steps_block.json
|
107
108
|
- stable/embeddings/embedded_test.json
|
108
109
|
- stable/verbs.json
|
110
|
+
- stable/verbs_for_execution.json
|
109
111
|
- wisp.json
|
110
112
|
homepage: https://github.com/rainforestapp/wisp
|
111
113
|
licenses:
|