markform 0.1.12 → 0.1.13
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/dist/ai-sdk.d.mts +1 -1
- package/dist/ai-sdk.mjs +7 -5
- package/dist/{apply-WeeBXwXg.mjs → apply-D5FLd9Yp.mjs} +102 -44
- package/dist/bin.mjs +1 -1
- package/dist/{cli-R_mVVf4x.mjs → cli-BQO5bzfd.mjs} +5 -5
- package/dist/cli.mjs +1 -1
- package/dist/{coreTypes-Cw_cJsa5.d.mts → coreTypes-2Duxp-Wo.d.mts} +135 -1
- package/dist/{coreTypes-Z8SvQyoL.mjs → coreTypes-Big8sgih.mjs} +30 -9
- package/dist/index.d.mts +6 -3
- package/dist/index.mjs +4 -4
- package/dist/{session-BJe-hei3.mjs → session-7QJlUeNg.mjs} +1 -1
- package/dist/{session-DX-DvjRP.mjs → session-CrhOG4eH.mjs} +1 -1
- package/dist/{src-DMQCFp2l.mjs → src-DuA3kv-E.mjs} +11 -9
- package/docs/markform-apis.md +1 -0
- package/examples/rejection-test/rejection-test.session.yaml +23 -39
- package/examples/simple/simple-mock-filled.schema.json +64 -12
- package/examples/simple/simple-skipped-filled.schema.json +64 -12
- package/examples/simple/simple-with-skips.session.yaml +23 -23
- package/examples/simple/simple.schema.json +64 -12
- package/examples/simple/simple.session.yaml +23 -23
- package/package.json +1 -1
|
@@ -351,7 +351,7 @@ turns:
|
|
|
351
351
|
Severity: required, Priority: P1
|
|
352
352
|
Type: multi_select
|
|
353
353
|
Options: frontend, backend, database, devops
|
|
354
|
-
Set: { op: "set_multi_select", fieldId: "categories",
|
|
354
|
+
Set: { op: "set_multi_select", fieldId: "categories", value: ["opt1", "opt2"] }
|
|
355
355
|
This field is required.
|
|
356
356
|
|
|
357
357
|
- **confirmations** (field): All items in "Confirmations (Explicit Mode)" must be answered (2 unfilled)
|
|
@@ -359,7 +359,7 @@ turns:
|
|
|
359
359
|
Type: checkboxes
|
|
360
360
|
Options: backed_up, notified
|
|
361
361
|
Mode: explicit
|
|
362
|
-
Set: { op: "set_checkboxes", fieldId: "confirmations",
|
|
362
|
+
Set: { op: "set_checkboxes", fieldId: "confirmations", value: { "opt1": "done", "opt2": "todo" } }
|
|
363
363
|
This field is required.
|
|
364
364
|
|
|
365
365
|
- **email** (field): Required field "Email" is empty
|
|
@@ -390,13 +390,13 @@ turns:
|
|
|
390
390
|
Severity: required, Priority: P1
|
|
391
391
|
Type: single_select
|
|
392
392
|
Options: low, medium, high
|
|
393
|
-
Set: { op: "set_single_select", fieldId: "priority",
|
|
393
|
+
Set: { op: "set_single_select", fieldId: "priority", value: "option_id" }
|
|
394
394
|
This field is required.
|
|
395
395
|
|
|
396
396
|
- **tags** (field): Required field "Tags" is empty
|
|
397
397
|
Severity: required, Priority: P1
|
|
398
398
|
Type: string_list
|
|
399
|
-
Set: { op: "set_string_list", fieldId: "tags",
|
|
399
|
+
Set: { op: "set_string_list", fieldId: "tags", value: ["...", "..."] }
|
|
400
400
|
This field is required.
|
|
401
401
|
|
|
402
402
|
- **tasks_multi** (field): All items in "Tasks (Multi Mode)" must be completed
|
|
@@ -404,7 +404,7 @@ turns:
|
|
|
404
404
|
Type: checkboxes
|
|
405
405
|
Options: research, design, implement, test
|
|
406
406
|
Mode: multi
|
|
407
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_multi",
|
|
407
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_multi", value: { "opt1": "done", "opt2": "todo" } }
|
|
408
408
|
This field is required.
|
|
409
409
|
|
|
410
410
|
# General Instructions
|
|
@@ -641,7 +641,7 @@ turns:
|
|
|
641
641
|
Severity: required, Priority: P1
|
|
642
642
|
Type: multi_select
|
|
643
643
|
Options: frontend, backend, database, devops
|
|
644
|
-
Set: { op: "set_multi_select", fieldId: "categories",
|
|
644
|
+
Set: { op: "set_multi_select", fieldId: "categories", value: ["opt1", "opt2"] }
|
|
645
645
|
This field is required.
|
|
646
646
|
|
|
647
647
|
- **confirmations** (field): All items in "Confirmations (Explicit Mode)" must be answered (2 unfilled)
|
|
@@ -649,7 +649,7 @@ turns:
|
|
|
649
649
|
Type: checkboxes
|
|
650
650
|
Options: backed_up, notified
|
|
651
651
|
Mode: explicit
|
|
652
|
-
Set: { op: "set_checkboxes", fieldId: "confirmations",
|
|
652
|
+
Set: { op: "set_checkboxes", fieldId: "confirmations", value: { "opt1": "done", "opt2": "todo" } }
|
|
653
653
|
This field is required.
|
|
654
654
|
|
|
655
655
|
- **email** (field): Required field "Email" is empty
|
|
@@ -680,13 +680,13 @@ turns:
|
|
|
680
680
|
Severity: required, Priority: P1
|
|
681
681
|
Type: single_select
|
|
682
682
|
Options: low, medium, high
|
|
683
|
-
Set: { op: "set_single_select", fieldId: "priority",
|
|
683
|
+
Set: { op: "set_single_select", fieldId: "priority", value: "option_id" }
|
|
684
684
|
This field is required.
|
|
685
685
|
|
|
686
686
|
- **tags** (field): Required field "Tags" is empty
|
|
687
687
|
Severity: required, Priority: P1
|
|
688
688
|
Type: string_list
|
|
689
|
-
Set: { op: "set_string_list", fieldId: "tags",
|
|
689
|
+
Set: { op: "set_string_list", fieldId: "tags", value: ["...", "..."] }
|
|
690
690
|
This field is required.
|
|
691
691
|
|
|
692
692
|
- **tasks_multi** (field): All items in "Tasks (Multi Mode)" must be completed
|
|
@@ -694,7 +694,7 @@ turns:
|
|
|
694
694
|
Type: checkboxes
|
|
695
695
|
Options: research, design, implement, test
|
|
696
696
|
Mode: multi
|
|
697
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_multi",
|
|
697
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_multi", value: { "opt1": "done", "opt2": "todo" } }
|
|
698
698
|
This field is required.
|
|
699
699
|
|
|
700
700
|
# General Instructions
|
|
@@ -711,7 +711,7 @@ turns:
|
|
|
711
711
|
properties:
|
|
712
712
|
patches:
|
|
713
713
|
description: Array of patches to apply to the form
|
|
714
|
-
|
|
714
|
+
items:
|
|
715
715
|
$ref: '#/$defs/patch'
|
|
716
716
|
type: array
|
|
717
717
|
required:
|
|
@@ -752,10 +752,10 @@ turns:
|
|
|
752
752
|
op: set_single_select
|
|
753
753
|
value: high
|
|
754
754
|
- field_id: tags
|
|
755
|
+
op: set_string_list
|
|
755
756
|
value:
|
|
756
757
|
- typescript
|
|
757
758
|
- testing
|
|
758
|
-
op: set_string_list
|
|
759
759
|
- field_id: tasks_multi
|
|
760
760
|
op: set_checkboxes
|
|
761
761
|
value:
|
|
@@ -1129,7 +1129,7 @@ turns:
|
|
|
1129
1129
|
Type: checkboxes
|
|
1130
1130
|
Options: read_guidelines, agree_terms
|
|
1131
1131
|
Mode: simple
|
|
1132
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_simple",
|
|
1132
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_simple", value: { "opt1": "done", "opt2": "todo" } }
|
|
1133
1133
|
This field is required.
|
|
1134
1134
|
|
|
1135
1135
|
- **website** (field): Required field "Website" is empty
|
|
@@ -1167,13 +1167,13 @@ turns:
|
|
|
1167
1167
|
Type: table
|
|
1168
1168
|
Columns: task (required), estimate_hrs, link
|
|
1169
1169
|
Rows: min: 0, max: 10
|
|
1170
|
-
Set: { op: "set_table", fieldId: "project_tasks",
|
|
1170
|
+
Set: { op: "set_table", fieldId: "project_tasks", value: [{ "task": "...", "estimate_hrs": "...", "link": "..." }, ...] }
|
|
1171
1171
|
Skip: { op: "skip_field", fieldId: "project_tasks", reason: "..." }
|
|
1172
1172
|
|
|
1173
1173
|
- **references** (field): Optional field not yet addressed
|
|
1174
1174
|
Severity: recommended, Priority: P3
|
|
1175
1175
|
Type: url_list
|
|
1176
|
-
Set: { op: "set_url_list", fieldId: "references",
|
|
1176
|
+
Set: { op: "set_url_list", fieldId: "references", value: ["https://...", "https://..."] }
|
|
1177
1177
|
Skip: { op: "skip_field", fieldId: "references", reason: "..." }
|
|
1178
1178
|
|
|
1179
1179
|
- **related_url** (field): Optional field not yet addressed
|
|
@@ -1444,7 +1444,7 @@ turns:
|
|
|
1444
1444
|
Type: checkboxes
|
|
1445
1445
|
Options: read_guidelines, agree_terms
|
|
1446
1446
|
Mode: simple
|
|
1447
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_simple",
|
|
1447
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_simple", value: { "opt1": "done", "opt2": "todo" } }
|
|
1448
1448
|
This field is required.
|
|
1449
1449
|
|
|
1450
1450
|
- **website** (field): Required field "Website" is empty
|
|
@@ -1482,13 +1482,13 @@ turns:
|
|
|
1482
1482
|
Type: table
|
|
1483
1483
|
Columns: task (required), estimate_hrs, link
|
|
1484
1484
|
Rows: min: 0, max: 10
|
|
1485
|
-
Set: { op: "set_table", fieldId: "project_tasks",
|
|
1485
|
+
Set: { op: "set_table", fieldId: "project_tasks", value: [{ "task": "...", "estimate_hrs": "...", "link": "..." }, ...] }
|
|
1486
1486
|
Skip: { op: "skip_field", fieldId: "project_tasks", reason: "..." }
|
|
1487
1487
|
|
|
1488
1488
|
- **references** (field): Optional field not yet addressed
|
|
1489
1489
|
Severity: recommended, Priority: P3
|
|
1490
1490
|
Type: url_list
|
|
1491
|
-
Set: { op: "set_url_list", fieldId: "references",
|
|
1491
|
+
Set: { op: "set_url_list", fieldId: "references", value: ["https://...", "https://..."] }
|
|
1492
1492
|
Skip: { op: "skip_field", fieldId: "references", reason: "..." }
|
|
1493
1493
|
|
|
1494
1494
|
- **related_url** (field): Optional field not yet addressed
|
|
@@ -1517,7 +1517,7 @@ turns:
|
|
|
1517
1517
|
properties:
|
|
1518
1518
|
patches:
|
|
1519
1519
|
description: Array of patches to apply to the form
|
|
1520
|
-
|
|
1520
|
+
items:
|
|
1521
1521
|
$ref: '#/$defs/patch'
|
|
1522
1522
|
type: array
|
|
1523
1523
|
required:
|
|
@@ -1558,9 +1558,9 @@ turns:
|
|
|
1558
1558
|
reason: No value in mock form
|
|
1559
1559
|
role: agent
|
|
1560
1560
|
- field_id: references
|
|
1561
|
+
op: set_url_list
|
|
1561
1562
|
value:
|
|
1562
1563
|
- https://docs.example.com
|
|
1563
|
-
op: set_url_list
|
|
1564
1564
|
- field_id: related_url
|
|
1565
1565
|
op: skip_field
|
|
1566
1566
|
reason: No value in mock form
|
|
@@ -1874,7 +1874,7 @@ turns:
|
|
|
1874
1874
|
Type: table
|
|
1875
1875
|
Columns: name (required), role, start_date
|
|
1876
1876
|
Rows: min: 0, max: 5
|
|
1877
|
-
Set: { op: "set_table", fieldId: "team_members",
|
|
1877
|
+
Set: { op: "set_table", fieldId: "team_members", value: [{ "name": "...", "role": "...", "start_date": "..." }, ...] }
|
|
1878
1878
|
Skip: { op: "skip_field", fieldId: "team_members", reason: "..." }
|
|
1879
1879
|
|
|
1880
1880
|
# General Instructions
|
|
@@ -2162,7 +2162,7 @@ turns:
|
|
|
2162
2162
|
Type: table
|
|
2163
2163
|
Columns: name (required), role, start_date
|
|
2164
2164
|
Rows: min: 0, max: 5
|
|
2165
|
-
Set: { op: "set_table", fieldId: "team_members",
|
|
2165
|
+
Set: { op: "set_table", fieldId: "team_members", value: [{ "name": "...", "role": "...", "start_date": "..." }, ...] }
|
|
2166
2166
|
Skip: { op: "skip_field", fieldId: "team_members", reason: "..." }
|
|
2167
2167
|
|
|
2168
2168
|
# General Instructions
|
|
@@ -2179,7 +2179,7 @@ turns:
|
|
|
2179
2179
|
properties:
|
|
2180
2180
|
patches:
|
|
2181
2181
|
description: Array of patches to apply to the form
|
|
2182
|
-
|
|
2182
|
+
items:
|
|
2183
2183
|
$ref: '#/$defs/patch'
|
|
2184
2184
|
type: array
|
|
2185
2185
|
required:
|
|
@@ -93,29 +93,49 @@
|
|
|
93
93
|
"properties": {
|
|
94
94
|
"research": {
|
|
95
95
|
"anyOf": [
|
|
96
|
-
{
|
|
97
|
-
|
|
96
|
+
{
|
|
97
|
+
"type": "string",
|
|
98
|
+
"enum": ["todo", "done", "incomplete", "active", "na"]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "boolean"
|
|
102
|
+
}
|
|
98
103
|
],
|
|
99
104
|
"title": "Research"
|
|
100
105
|
},
|
|
101
106
|
"design": {
|
|
102
107
|
"anyOf": [
|
|
103
|
-
{
|
|
104
|
-
|
|
108
|
+
{
|
|
109
|
+
"type": "string",
|
|
110
|
+
"enum": ["todo", "done", "incomplete", "active", "na"]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
}
|
|
105
115
|
],
|
|
106
116
|
"title": "Design"
|
|
107
117
|
},
|
|
108
118
|
"implement": {
|
|
109
119
|
"anyOf": [
|
|
110
|
-
{
|
|
111
|
-
|
|
120
|
+
{
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": ["todo", "done", "incomplete", "active", "na"]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "boolean"
|
|
126
|
+
}
|
|
112
127
|
],
|
|
113
128
|
"title": "Implement"
|
|
114
129
|
},
|
|
115
130
|
"test": {
|
|
116
131
|
"anyOf": [
|
|
117
|
-
{
|
|
118
|
-
|
|
132
|
+
{
|
|
133
|
+
"type": "string",
|
|
134
|
+
"enum": ["todo", "done", "incomplete", "active", "na"]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "boolean"
|
|
138
|
+
}
|
|
119
139
|
],
|
|
120
140
|
"title": "Test"
|
|
121
141
|
}
|
|
@@ -131,11 +151,27 @@
|
|
|
131
151
|
"type": "object",
|
|
132
152
|
"properties": {
|
|
133
153
|
"read_guidelines": {
|
|
134
|
-
"anyOf": [
|
|
154
|
+
"anyOf": [
|
|
155
|
+
{
|
|
156
|
+
"type": "string",
|
|
157
|
+
"enum": ["todo", "done"]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "boolean"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
135
163
|
"title": "I have read the guidelines"
|
|
136
164
|
},
|
|
137
165
|
"agree_terms": {
|
|
138
|
-
"anyOf": [
|
|
166
|
+
"anyOf": [
|
|
167
|
+
{
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": ["todo", "done"]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "boolean"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
139
175
|
"title": "I agree to the terms"
|
|
140
176
|
}
|
|
141
177
|
},
|
|
@@ -150,11 +186,27 @@
|
|
|
150
186
|
"type": "object",
|
|
151
187
|
"properties": {
|
|
152
188
|
"backed_up": {
|
|
153
|
-
"anyOf": [
|
|
189
|
+
"anyOf": [
|
|
190
|
+
{
|
|
191
|
+
"type": "string",
|
|
192
|
+
"enum": ["unfilled", "yes", "no"]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "boolean"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
154
198
|
"title": "Data has been backed up"
|
|
155
199
|
},
|
|
156
200
|
"notified": {
|
|
157
|
-
"anyOf": [
|
|
201
|
+
"anyOf": [
|
|
202
|
+
{
|
|
203
|
+
"type": "string",
|
|
204
|
+
"enum": ["unfilled", "yes", "no"]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "boolean"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
158
210
|
"title": "Stakeholders notified"
|
|
159
211
|
}
|
|
160
212
|
},
|
|
@@ -352,7 +352,7 @@ turns:
|
|
|
352
352
|
Severity: required, Priority: P1
|
|
353
353
|
Type: multi_select
|
|
354
354
|
Options: frontend, backend, database, devops
|
|
355
|
-
Set: { op: "set_multi_select", fieldId: "categories",
|
|
355
|
+
Set: { op: "set_multi_select", fieldId: "categories", value: ["opt1", "opt2"] }
|
|
356
356
|
This field is required.
|
|
357
357
|
|
|
358
358
|
- **confirmations** (field): All items in "Confirmations (Explicit Mode)" must be answered (2 unfilled)
|
|
@@ -360,7 +360,7 @@ turns:
|
|
|
360
360
|
Type: checkboxes
|
|
361
361
|
Options: backed_up, notified
|
|
362
362
|
Mode: explicit
|
|
363
|
-
Set: { op: "set_checkboxes", fieldId: "confirmations",
|
|
363
|
+
Set: { op: "set_checkboxes", fieldId: "confirmations", value: { "opt1": "done", "opt2": "todo" } }
|
|
364
364
|
This field is required.
|
|
365
365
|
|
|
366
366
|
- **email** (field): Required field "Email" is empty
|
|
@@ -391,13 +391,13 @@ turns:
|
|
|
391
391
|
Severity: required, Priority: P1
|
|
392
392
|
Type: single_select
|
|
393
393
|
Options: low, medium, high
|
|
394
|
-
Set: { op: "set_single_select", fieldId: "priority",
|
|
394
|
+
Set: { op: "set_single_select", fieldId: "priority", value: "option_id" }
|
|
395
395
|
This field is required.
|
|
396
396
|
|
|
397
397
|
- **tags** (field): Required field "Tags" is empty
|
|
398
398
|
Severity: required, Priority: P1
|
|
399
399
|
Type: string_list
|
|
400
|
-
Set: { op: "set_string_list", fieldId: "tags",
|
|
400
|
+
Set: { op: "set_string_list", fieldId: "tags", value: ["...", "..."] }
|
|
401
401
|
This field is required.
|
|
402
402
|
|
|
403
403
|
- **tasks_multi** (field): All items in "Tasks (Multi Mode)" must be completed
|
|
@@ -405,7 +405,7 @@ turns:
|
|
|
405
405
|
Type: checkboxes
|
|
406
406
|
Options: research, design, implement, test
|
|
407
407
|
Mode: multi
|
|
408
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_multi",
|
|
408
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_multi", value: { "opt1": "done", "opt2": "todo" } }
|
|
409
409
|
This field is required.
|
|
410
410
|
|
|
411
411
|
# General Instructions
|
|
@@ -642,7 +642,7 @@ turns:
|
|
|
642
642
|
Severity: required, Priority: P1
|
|
643
643
|
Type: multi_select
|
|
644
644
|
Options: frontend, backend, database, devops
|
|
645
|
-
Set: { op: "set_multi_select", fieldId: "categories",
|
|
645
|
+
Set: { op: "set_multi_select", fieldId: "categories", value: ["opt1", "opt2"] }
|
|
646
646
|
This field is required.
|
|
647
647
|
|
|
648
648
|
- **confirmations** (field): All items in "Confirmations (Explicit Mode)" must be answered (2 unfilled)
|
|
@@ -650,7 +650,7 @@ turns:
|
|
|
650
650
|
Type: checkboxes
|
|
651
651
|
Options: backed_up, notified
|
|
652
652
|
Mode: explicit
|
|
653
|
-
Set: { op: "set_checkboxes", fieldId: "confirmations",
|
|
653
|
+
Set: { op: "set_checkboxes", fieldId: "confirmations", value: { "opt1": "done", "opt2": "todo" } }
|
|
654
654
|
This field is required.
|
|
655
655
|
|
|
656
656
|
- **email** (field): Required field "Email" is empty
|
|
@@ -681,13 +681,13 @@ turns:
|
|
|
681
681
|
Severity: required, Priority: P1
|
|
682
682
|
Type: single_select
|
|
683
683
|
Options: low, medium, high
|
|
684
|
-
Set: { op: "set_single_select", fieldId: "priority",
|
|
684
|
+
Set: { op: "set_single_select", fieldId: "priority", value: "option_id" }
|
|
685
685
|
This field is required.
|
|
686
686
|
|
|
687
687
|
- **tags** (field): Required field "Tags" is empty
|
|
688
688
|
Severity: required, Priority: P1
|
|
689
689
|
Type: string_list
|
|
690
|
-
Set: { op: "set_string_list", fieldId: "tags",
|
|
690
|
+
Set: { op: "set_string_list", fieldId: "tags", value: ["...", "..."] }
|
|
691
691
|
This field is required.
|
|
692
692
|
|
|
693
693
|
- **tasks_multi** (field): All items in "Tasks (Multi Mode)" must be completed
|
|
@@ -695,7 +695,7 @@ turns:
|
|
|
695
695
|
Type: checkboxes
|
|
696
696
|
Options: research, design, implement, test
|
|
697
697
|
Mode: multi
|
|
698
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_multi",
|
|
698
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_multi", value: { "opt1": "done", "opt2": "todo" } }
|
|
699
699
|
This field is required.
|
|
700
700
|
|
|
701
701
|
# General Instructions
|
|
@@ -712,7 +712,7 @@ turns:
|
|
|
712
712
|
properties:
|
|
713
713
|
patches:
|
|
714
714
|
description: Array of patches to apply to the form
|
|
715
|
-
|
|
715
|
+
items:
|
|
716
716
|
$ref: '#/$defs/patch'
|
|
717
717
|
type: array
|
|
718
718
|
required:
|
|
@@ -753,11 +753,11 @@ turns:
|
|
|
753
753
|
op: set_single_select
|
|
754
754
|
value: medium
|
|
755
755
|
- field_id: tags
|
|
756
|
+
op: set_string_list
|
|
756
757
|
value:
|
|
757
758
|
- typescript
|
|
758
759
|
- testing
|
|
759
760
|
- forms
|
|
760
|
-
op: set_string_list
|
|
761
761
|
- field_id: tasks_multi
|
|
762
762
|
op: set_checkboxes
|
|
763
763
|
value:
|
|
@@ -1131,7 +1131,7 @@ turns:
|
|
|
1131
1131
|
Type: checkboxes
|
|
1132
1132
|
Options: read_guidelines, agree_terms
|
|
1133
1133
|
Mode: simple
|
|
1134
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_simple",
|
|
1134
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_simple", value: { "opt1": "done", "opt2": "todo" } }
|
|
1135
1135
|
This field is required.
|
|
1136
1136
|
|
|
1137
1137
|
- **website** (field): Required field "Website" is empty
|
|
@@ -1169,13 +1169,13 @@ turns:
|
|
|
1169
1169
|
Type: table
|
|
1170
1170
|
Columns: task (required), estimate_hrs, link
|
|
1171
1171
|
Rows: min: 0, max: 10
|
|
1172
|
-
Set: { op: "set_table", fieldId: "project_tasks",
|
|
1172
|
+
Set: { op: "set_table", fieldId: "project_tasks", value: [{ "task": "...", "estimate_hrs": "...", "link": "..." }, ...] }
|
|
1173
1173
|
Skip: { op: "skip_field", fieldId: "project_tasks", reason: "..." }
|
|
1174
1174
|
|
|
1175
1175
|
- **references** (field): Optional field not yet addressed
|
|
1176
1176
|
Severity: recommended, Priority: P3
|
|
1177
1177
|
Type: url_list
|
|
1178
|
-
Set: { op: "set_url_list", fieldId: "references",
|
|
1178
|
+
Set: { op: "set_url_list", fieldId: "references", value: ["https://...", "https://..."] }
|
|
1179
1179
|
Skip: { op: "skip_field", fieldId: "references", reason: "..." }
|
|
1180
1180
|
|
|
1181
1181
|
- **related_url** (field): Optional field not yet addressed
|
|
@@ -1447,7 +1447,7 @@ turns:
|
|
|
1447
1447
|
Type: checkboxes
|
|
1448
1448
|
Options: read_guidelines, agree_terms
|
|
1449
1449
|
Mode: simple
|
|
1450
|
-
Set: { op: "set_checkboxes", fieldId: "tasks_simple",
|
|
1450
|
+
Set: { op: "set_checkboxes", fieldId: "tasks_simple", value: { "opt1": "done", "opt2": "todo" } }
|
|
1451
1451
|
This field is required.
|
|
1452
1452
|
|
|
1453
1453
|
- **website** (field): Required field "Website" is empty
|
|
@@ -1485,13 +1485,13 @@ turns:
|
|
|
1485
1485
|
Type: table
|
|
1486
1486
|
Columns: task (required), estimate_hrs, link
|
|
1487
1487
|
Rows: min: 0, max: 10
|
|
1488
|
-
Set: { op: "set_table", fieldId: "project_tasks",
|
|
1488
|
+
Set: { op: "set_table", fieldId: "project_tasks", value: [{ "task": "...", "estimate_hrs": "...", "link": "..." }, ...] }
|
|
1489
1489
|
Skip: { op: "skip_field", fieldId: "project_tasks", reason: "..." }
|
|
1490
1490
|
|
|
1491
1491
|
- **references** (field): Optional field not yet addressed
|
|
1492
1492
|
Severity: recommended, Priority: P3
|
|
1493
1493
|
Type: url_list
|
|
1494
|
-
Set: { op: "set_url_list", fieldId: "references",
|
|
1494
|
+
Set: { op: "set_url_list", fieldId: "references", value: ["https://...", "https://..."] }
|
|
1495
1495
|
Skip: { op: "skip_field", fieldId: "references", reason: "..." }
|
|
1496
1496
|
|
|
1497
1497
|
- **related_url** (field): Optional field not yet addressed
|
|
@@ -1520,7 +1520,7 @@ turns:
|
|
|
1520
1520
|
properties:
|
|
1521
1521
|
patches:
|
|
1522
1522
|
description: Array of patches to apply to the form
|
|
1523
|
-
|
|
1523
|
+
items:
|
|
1524
1524
|
$ref: '#/$defs/patch'
|
|
1525
1525
|
type: array
|
|
1526
1526
|
required:
|
|
@@ -1560,11 +1560,11 @@ turns:
|
|
|
1560
1560
|
reason: No value in mock form
|
|
1561
1561
|
role: agent
|
|
1562
1562
|
- field_id: references
|
|
1563
|
+
op: set_url_list
|
|
1563
1564
|
value:
|
|
1564
1565
|
- https://docs.example.com/guide
|
|
1565
1566
|
- https://github.com/example/project
|
|
1566
1567
|
- https://medium.com/article-about-forms
|
|
1567
|
-
op: set_url_list
|
|
1568
1568
|
- field_id: related_url
|
|
1569
1569
|
op: set_url
|
|
1570
1570
|
value: https://markform.dev/docs
|
|
@@ -1884,7 +1884,7 @@ turns:
|
|
|
1884
1884
|
Type: table
|
|
1885
1885
|
Columns: name (required), role, start_date
|
|
1886
1886
|
Rows: min: 0, max: 5
|
|
1887
|
-
Set: { op: "set_table", fieldId: "team_members",
|
|
1887
|
+
Set: { op: "set_table", fieldId: "team_members", value: [{ "name": "...", "role": "...", "start_date": "..." }, ...] }
|
|
1888
1888
|
Skip: { op: "skip_field", fieldId: "team_members", reason: "..." }
|
|
1889
1889
|
|
|
1890
1890
|
# General Instructions
|
|
@@ -2175,7 +2175,7 @@ turns:
|
|
|
2175
2175
|
Type: table
|
|
2176
2176
|
Columns: name (required), role, start_date
|
|
2177
2177
|
Rows: min: 0, max: 5
|
|
2178
|
-
Set: { op: "set_table", fieldId: "team_members",
|
|
2178
|
+
Set: { op: "set_table", fieldId: "team_members", value: [{ "name": "...", "role": "...", "start_date": "..." }, ...] }
|
|
2179
2179
|
Skip: { op: "skip_field", fieldId: "team_members", reason: "..." }
|
|
2180
2180
|
|
|
2181
2181
|
# General Instructions
|
|
@@ -2192,7 +2192,7 @@ turns:
|
|
|
2192
2192
|
properties:
|
|
2193
2193
|
patches:
|
|
2194
2194
|
description: Array of patches to apply to the form
|
|
2195
|
-
|
|
2195
|
+
items:
|
|
2196
2196
|
$ref: '#/$defs/patch'
|
|
2197
2197
|
type: array
|
|
2198
2198
|
required:
|