wisp-schema 1.6.0 → 1.8.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.
- checksums.yaml +4 -4
- data/canary-nouns.json +15 -0
- data/canary-wisp.json +37 -0
- data/lib/version.rb +3 -3
- data/lib/wisp-schema.rb +1 -0
- data/nouns.json +15 -0
- data/stable/actions/ai_confirmation.json +21 -0
- data/wisp.json +37 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cdd4e75996e7381f94fb24c2f94ef7fc3dd7ab991365ed88e700926c5f2d925e
|
|
4
|
+
data.tar.gz: d4ab320ceac39cad91a0904422bc5f50b375fd2ab705616d9dae8f532b263b01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65c701710cb9344a7151e2e1429b2e9229d96468f329b0b706ec1e38213b6b67b8762ad35d12184978612fb13c136e7757b0f2b790ed0ac3f16aa5c197ed8847
|
|
7
|
+
data.tar.gz: 0b9b3d11b4b135dead07af17c7fb0b88e2aeb473424518fa53ba373ed5c1aa638107adde93d9848e48c5babca725317237240c9f985866199b9047c444345ba2
|
data/canary-nouns.json
CHANGED
|
@@ -33,6 +33,21 @@
|
|
|
33
33
|
"w": {"type": "integer"},
|
|
34
34
|
"h": {"type": "integer"}
|
|
35
35
|
}
|
|
36
|
+
},
|
|
37
|
+
"masks": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"title": "Mask collection",
|
|
40
|
+
"description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"title": "Mask",
|
|
44
|
+
"properties": {
|
|
45
|
+
"x": {"type": "integer"},
|
|
46
|
+
"y": {"type": "integer"},
|
|
47
|
+
"w": {"type": "integer"},
|
|
48
|
+
"h": {"type": "integer"}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
36
51
|
}
|
|
37
52
|
},
|
|
38
53
|
"additionalProperties": false,
|
data/canary-wisp.json
CHANGED
|
@@ -40,6 +40,21 @@
|
|
|
40
40
|
"w": {"type": "integer"},
|
|
41
41
|
"h": {"type": "integer"}
|
|
42
42
|
}
|
|
43
|
+
},
|
|
44
|
+
"masks": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"title": "Mask collection",
|
|
47
|
+
"description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"title": "Mask",
|
|
51
|
+
"properties": {
|
|
52
|
+
"x": {"type": "integer"},
|
|
53
|
+
"y": {"type": "integer"},
|
|
54
|
+
"w": {"type": "integer"},
|
|
55
|
+
"h": {"type": "integer"}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
43
58
|
}
|
|
44
59
|
},
|
|
45
60
|
"additionalProperties": false,
|
|
@@ -61,6 +76,7 @@
|
|
|
61
76
|
"verb": {
|
|
62
77
|
"title": "Wisp Verb",
|
|
63
78
|
"oneOf": [
|
|
79
|
+
{"$ref": "#/definitions/ai_confirmation"},
|
|
64
80
|
{"$ref": "#/definitions/click"},
|
|
65
81
|
{"$ref": "#/definitions/comment"},
|
|
66
82
|
{"$ref": "#/definitions/double_click"},
|
|
@@ -81,6 +97,27 @@
|
|
|
81
97
|
{"$ref": "#/definitions/tester_confirmation"}
|
|
82
98
|
]
|
|
83
99
|
},
|
|
100
|
+
"ai_confirmation": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"action_type": "assertion",
|
|
103
|
+
"title": "AI Confirmation",
|
|
104
|
+
"description": "A Yes (pass) or No (fail) question answered by AI",
|
|
105
|
+
"properties": {
|
|
106
|
+
"action": {
|
|
107
|
+
"enum": ["ai_confirmation"]
|
|
108
|
+
},
|
|
109
|
+
"id": {"title": "Action ID", "type": "integer"},
|
|
110
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
111
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
|
112
|
+
"question": {"title": "Question for the AI", "type": "string"},
|
|
113
|
+
"version": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"title": "Version"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"required": ["action", "question"]
|
|
120
|
+
},
|
|
84
121
|
"click": {
|
|
85
122
|
"type": "object",
|
|
86
123
|
"action_type": "action",
|
data/lib/version.rb
CHANGED
data/lib/wisp-schema.rb
CHANGED
data/nouns.json
CHANGED
|
@@ -33,6 +33,21 @@
|
|
|
33
33
|
"w": {"type": "integer"},
|
|
34
34
|
"h": {"type": "integer"}
|
|
35
35
|
}
|
|
36
|
+
},
|
|
37
|
+
"masks": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"title": "Mask collection",
|
|
40
|
+
"description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"title": "Mask",
|
|
44
|
+
"properties": {
|
|
45
|
+
"x": {"type": "integer"},
|
|
46
|
+
"y": {"type": "integer"},
|
|
47
|
+
"w": {"type": "integer"},
|
|
48
|
+
"h": {"type": "integer"}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
36
51
|
}
|
|
37
52
|
},
|
|
38
53
|
"additionalProperties": false,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"action_type": "assertion",
|
|
5
|
+
"title": "AI Confirmation",
|
|
6
|
+
"description": "A Yes (pass) or No (fail) question answered by AI",
|
|
7
|
+
"properties": {
|
|
8
|
+
"action": {
|
|
9
|
+
"enum": ["ai_confirmation"]
|
|
10
|
+
},
|
|
11
|
+
"id": {"title": "Action ID", "type": "integer"},
|
|
12
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
|
13
|
+
"question": {"title": "Question for the AI", "type": "string"},
|
|
14
|
+
"version": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "Version"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false,
|
|
20
|
+
"required": ["action", "question"]
|
|
21
|
+
}
|
data/wisp.json
CHANGED
|
@@ -40,6 +40,21 @@
|
|
|
40
40
|
"w": {"type": "integer"},
|
|
41
41
|
"h": {"type": "integer"}
|
|
42
42
|
}
|
|
43
|
+
},
|
|
44
|
+
"masks": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"title": "Mask collection",
|
|
47
|
+
"description": "A collection of mask objects that tell the matching algorightms which parts of an image to ignore when attempting a match",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"title": "Mask",
|
|
51
|
+
"properties": {
|
|
52
|
+
"x": {"type": "integer"},
|
|
53
|
+
"y": {"type": "integer"},
|
|
54
|
+
"w": {"type": "integer"},
|
|
55
|
+
"h": {"type": "integer"}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
43
58
|
}
|
|
44
59
|
},
|
|
45
60
|
"additionalProperties": false,
|
|
@@ -61,6 +76,7 @@
|
|
|
61
76
|
"verb": {
|
|
62
77
|
"title": "Wisp Verb",
|
|
63
78
|
"oneOf": [
|
|
79
|
+
{"$ref": "#/definitions/ai_confirmation"},
|
|
64
80
|
{"$ref": "#/definitions/click"},
|
|
65
81
|
{"$ref": "#/definitions/comment"},
|
|
66
82
|
{"$ref": "#/definitions/double_click"},
|
|
@@ -81,6 +97,27 @@
|
|
|
81
97
|
{"$ref": "#/definitions/tester_confirmation"}
|
|
82
98
|
]
|
|
83
99
|
},
|
|
100
|
+
"ai_confirmation": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"action_type": "assertion",
|
|
103
|
+
"title": "AI Confirmation",
|
|
104
|
+
"description": "A Yes (pass) or No (fail) question answered by AI",
|
|
105
|
+
"properties": {
|
|
106
|
+
"action": {
|
|
107
|
+
"enum": ["ai_confirmation"]
|
|
108
|
+
},
|
|
109
|
+
"id": {"title": "Action ID", "type": "integer"},
|
|
110
|
+
"embedded_test_id": {"title": "Embedded Test ID", "type": "integer"},
|
|
111
|
+
"delay_after": {"title": "Delay after in seconds", "type": "integer"},
|
|
112
|
+
"question": {"title": "Question for the AI", "type": "string"},
|
|
113
|
+
"version": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"title": "Version"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"required": ["action", "question"]
|
|
120
|
+
},
|
|
84
121
|
"click": {
|
|
85
122
|
"type": "object",
|
|
86
123
|
"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.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Grodowski
|
|
@@ -51,6 +51,7 @@ files:
|
|
|
51
51
|
- lib/version.rb
|
|
52
52
|
- lib/wisp-schema.rb
|
|
53
53
|
- nouns.json
|
|
54
|
+
- stable/actions/ai_confirmation.json
|
|
54
55
|
- stable/actions/click.json
|
|
55
56
|
- stable/actions/close_tab.json
|
|
56
57
|
- stable/actions/comment.json
|