wisp-schema 1.17.0 → 1.18.1
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/generate_steps.json +44 -0
- data/stable/blocks/generated_steps_block.json +15 -0
- data/wisp.json +62 -0
- 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: b9d3411fbc595aa647fcf055460fd227dba97d42fa5816a00b60f1382720245d
|
4
|
+
data.tar.gz: e60b15bdd02d195863c7d676d4067ac7bb886ad098a517034c7b5cfc6cebc63c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1eaf2e24cca8843380d3b3eac50ee39abc146fe4a02ef5bf2b8acf837d2e513a973c3fc47e17eeed180615783e38cc6304c811ad4f44ff4b8c1f74ab5c3e6c
|
7
|
+
data.tar.gz: d9ca83baa5269cc7ec61de050ed3e908aaca0abe20b0c7f93ed051fbd67af3353ac0434ebd1c0bfcc87ee89850760b4584d6c6a06b32f66e81df30810bc5d9b6
|
data/lib/version.rb
CHANGED
data/lib/wisp-schema.rb
CHANGED
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"action_type": "action",
|
5
|
+
"title": "Generate Steps",
|
6
|
+
"description": "Generates a set of wisp actions based on the given prompt",
|
7
|
+
"properties": {
|
8
|
+
"action": {
|
9
|
+
"enum": ["generate_steps"]
|
10
|
+
},
|
11
|
+
"execution_mode": {
|
12
|
+
"enum": ["run", "generate"]
|
13
|
+
},
|
14
|
+
"id": {"title": "Action ID", "type": "integer"},
|
15
|
+
"job_step_id": {
|
16
|
+
"title": "The id of the action's related job step",
|
17
|
+
"type": "integer"
|
18
|
+
},
|
19
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
20
|
+
"generated_steps_blocks": {
|
21
|
+
"title": "Generated Steps Blocks",
|
22
|
+
"type": "object",
|
23
|
+
"description": "A list of blocks that each contain steps generated by the action",
|
24
|
+
"properties": {
|
25
|
+
"steps": {
|
26
|
+
"title": "Generated Steps",
|
27
|
+
"$ref": "../blocks/generated_steps_block.json"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"additionalProperties": false,
|
31
|
+
"required": ["steps"]
|
32
|
+
},
|
33
|
+
"prompt": {
|
34
|
+
"title": "The text used to generate the steps",
|
35
|
+
"type": "string"
|
36
|
+
},
|
37
|
+
"version": {
|
38
|
+
"type": "string",
|
39
|
+
"title": "Version"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"additionalProperties": false,
|
43
|
+
"required": ["action", "generated_steps_blocks", "prompt"]
|
44
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"title": "Generated Steps Block",
|
5
|
+
"description": "A block containing the steps generated by the action",
|
6
|
+
"properties": {
|
7
|
+
"id": {"title": "The generated steps block's id", "type": "integer"},
|
8
|
+
"verbs": {
|
9
|
+
"title": "Verbs",
|
10
|
+
"$ref": "../verbs.json"
|
11
|
+
}
|
12
|
+
},
|
13
|
+
"additionalProperties": false,
|
14
|
+
"required": ["verbs"]
|
15
|
+
}
|
data/wisp.json
CHANGED
@@ -121,6 +121,7 @@
|
|
121
121
|
{"$ref": "#/definitions/conditional_observe"},
|
122
122
|
{"$ref": "#/definitions/double_click"},
|
123
123
|
{"$ref": "#/definitions/fill"},
|
124
|
+
{"$ref": "#/definitions/generate_steps"},
|
124
125
|
{"$ref": "#/definitions/type"},
|
125
126
|
{"$ref": "#/definitions/send_key"},
|
126
127
|
{"$ref": "#/definitions/hover"},
|
@@ -331,6 +332,67 @@
|
|
331
332
|
"additionalProperties": false,
|
332
333
|
"required": ["action", "target", "text"]
|
333
334
|
},
|
335
|
+
"generate_steps": {
|
336
|
+
"type": "object",
|
337
|
+
"action_type": "action",
|
338
|
+
"title": "Generate Steps",
|
339
|
+
"description": "Generates a set of wisp actions based on the given prompt",
|
340
|
+
"properties": {
|
341
|
+
"action": {
|
342
|
+
"enum": ["generate_steps"]
|
343
|
+
},
|
344
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
345
|
+
"execution_mode": {
|
346
|
+
"enum": ["run", "generate"]
|
347
|
+
},
|
348
|
+
"id": {"title": "Action ID", "type": "integer"},
|
349
|
+
"job_step_id": {
|
350
|
+
"title": "The id of the action's related job step",
|
351
|
+
"type": "integer"
|
352
|
+
},
|
353
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
354
|
+
"generated_steps_blocks": {
|
355
|
+
"title": "Generated Steps Blocks",
|
356
|
+
"type": "object",
|
357
|
+
"description": "A list of blocks that each contain steps generated by the action",
|
358
|
+
"properties": {
|
359
|
+
"steps": {
|
360
|
+
"title": "Generated Steps",
|
361
|
+
"$ref": "#/definitions/generated_steps_block"
|
362
|
+
}
|
363
|
+
},
|
364
|
+
"additionalProperties": false,
|
365
|
+
"required": ["steps"]
|
366
|
+
},
|
367
|
+
"prompt": {
|
368
|
+
"title": "The text used to generate the steps",
|
369
|
+
"type": "string"
|
370
|
+
},
|
371
|
+
"version": {
|
372
|
+
"type": "string",
|
373
|
+
"title": "Version"
|
374
|
+
}
|
375
|
+
},
|
376
|
+
"additionalProperties": false,
|
377
|
+
"required": ["action", "generated_steps_blocks", "prompt"]
|
378
|
+
},
|
379
|
+
"generated_steps_block": {
|
380
|
+
"type": "object",
|
381
|
+
"title": "Generated Steps Block",
|
382
|
+
"description": "A block containing the steps generated by the action",
|
383
|
+
"properties": {
|
384
|
+
"id": {"title": "The generated steps block's id", "type": "integer"},
|
385
|
+
"verbs": {
|
386
|
+
"type": "array",
|
387
|
+
"title": "Verbs",
|
388
|
+
"items": {
|
389
|
+
"$ref": "#/definitions/verb"
|
390
|
+
}
|
391
|
+
}
|
392
|
+
},
|
393
|
+
"additionalProperties": false,
|
394
|
+
"required": ["verbs"]
|
395
|
+
},
|
334
396
|
"type": {
|
335
397
|
"type": "object",
|
336
398
|
"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.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Grodowski
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- stable/actions/double_click.json
|
86
86
|
- stable/actions/drag_and_drop.json
|
87
87
|
- stable/actions/fill.json
|
88
|
+
- stable/actions/generate_steps.json
|
88
89
|
- stable/actions/hover.json
|
89
90
|
- stable/actions/navigate.json
|
90
91
|
- stable/actions/observe.json
|
@@ -98,6 +99,7 @@ files:
|
|
98
99
|
- stable/actions/ui_element_reference.json
|
99
100
|
- stable/actions/wait.json
|
100
101
|
- stable/blocks/conditional_block.json
|
102
|
+
- stable/blocks/generated_steps_block.json
|
101
103
|
- stable/embeddings/embedded_test.json
|
102
104
|
- stable/verbs.json
|
103
105
|
- wisp.json
|