markform 0.1.10 → 0.1.12
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 +3 -3
- package/dist/{apply-BTFCHpYV.mjs → apply-WeeBXwXg.mjs} +63 -31
- package/dist/bin.mjs +1 -1
- package/dist/{cli-BZa4fYR9.mjs → cli-R_mVVf4x.mjs} +37 -37
- package/dist/cli.mjs +1 -1
- package/dist/{coreTypes-JCPm418M.d.mts → coreTypes-Cw_cJsa5.d.mts} +30 -30
- package/dist/{coreTypes-B1oI7qvV.mjs → coreTypes-Z8SvQyoL.mjs} +6 -6
- package/dist/index.d.mts +51 -6
- package/dist/index.mjs +5 -5
- package/dist/{session-CzCh6JeY.mjs → session-BJe-hei3.mjs} +1 -1
- package/dist/{session-Dxqwt0RC.mjs → session-DX-DvjRP.mjs} +5 -5
- package/dist/{src-CYnyLwBe.mjs → src-DMQCFp2l.mjs} +75 -51
- package/docs/markform-apis.md +110 -8
- package/docs/markform-spec.md +33 -28
- package/examples/rejection-test/rejection-test.session.yaml +4 -4
- package/examples/simple/simple-mock-filled.schema.json +20 -16
- package/examples/simple/simple-skipped-filled.schema.json +20 -16
- package/examples/simple/simple-with-skips.session.yaml +17 -17
- package/examples/simple/simple.schema.json +20 -16
- package/examples/simple/simple.session.yaml +19 -19
- package/examples/startup-research/startup-research.form.md +34 -33
- package/package.json +1 -1
|
@@ -82,12 +82,12 @@ turns:
|
|
|
82
82
|
value: 32
|
|
83
83
|
- op: set_multi_select
|
|
84
84
|
field_id: categories
|
|
85
|
-
|
|
85
|
+
value:
|
|
86
86
|
- frontend
|
|
87
87
|
- backend
|
|
88
88
|
- op: set_checkboxes
|
|
89
89
|
field_id: confirmations
|
|
90
|
-
|
|
90
|
+
value:
|
|
91
91
|
backed_up: yes
|
|
92
92
|
notified: no
|
|
93
93
|
- op: set_string
|
|
@@ -104,16 +104,16 @@ turns:
|
|
|
104
104
|
value: Alice Johnson
|
|
105
105
|
- op: set_single_select
|
|
106
106
|
field_id: priority
|
|
107
|
-
|
|
107
|
+
value: medium
|
|
108
108
|
- op: set_string_list
|
|
109
109
|
field_id: tags
|
|
110
|
-
|
|
110
|
+
value:
|
|
111
111
|
- typescript
|
|
112
112
|
- testing
|
|
113
113
|
- forms
|
|
114
114
|
- op: set_checkboxes
|
|
115
115
|
field_id: tasks_multi
|
|
116
|
-
|
|
116
|
+
value:
|
|
117
117
|
research: done
|
|
118
118
|
design: done
|
|
119
119
|
implement: done
|
|
@@ -712,7 +712,7 @@ turns:
|
|
|
712
712
|
properties:
|
|
713
713
|
patches:
|
|
714
714
|
description: Array of patches to apply to the form
|
|
715
|
-
|
|
715
|
+
value:
|
|
716
716
|
$ref: '#/$defs/patch'
|
|
717
717
|
type: array
|
|
718
718
|
required:
|
|
@@ -729,12 +729,12 @@ turns:
|
|
|
729
729
|
value: 32
|
|
730
730
|
- field_id: categories
|
|
731
731
|
op: set_multi_select
|
|
732
|
-
|
|
732
|
+
value:
|
|
733
733
|
- frontend
|
|
734
734
|
- backend
|
|
735
735
|
- field_id: confirmations
|
|
736
736
|
op: set_checkboxes
|
|
737
|
-
|
|
737
|
+
value:
|
|
738
738
|
backed_up: yes
|
|
739
739
|
notified: no
|
|
740
740
|
- field_id: email
|
|
@@ -751,16 +751,16 @@ turns:
|
|
|
751
751
|
value: Alice Johnson
|
|
752
752
|
- field_id: priority
|
|
753
753
|
op: set_single_select
|
|
754
|
-
|
|
754
|
+
value: medium
|
|
755
755
|
- field_id: tags
|
|
756
|
-
|
|
756
|
+
value:
|
|
757
757
|
- typescript
|
|
758
758
|
- testing
|
|
759
759
|
- forms
|
|
760
760
|
op: set_string_list
|
|
761
761
|
- field_id: tasks_multi
|
|
762
762
|
op: set_checkboxes
|
|
763
|
-
|
|
763
|
+
value:
|
|
764
764
|
design: done
|
|
765
765
|
implement: done
|
|
766
766
|
research: done
|
|
@@ -837,7 +837,7 @@ turns:
|
|
|
837
837
|
patches:
|
|
838
838
|
- op: set_checkboxes
|
|
839
839
|
field_id: tasks_simple
|
|
840
|
-
|
|
840
|
+
value:
|
|
841
841
|
read_guidelines: done
|
|
842
842
|
agree_terms: done
|
|
843
843
|
- op: set_url
|
|
@@ -864,7 +864,7 @@ turns:
|
|
|
864
864
|
reason: No value in mock form
|
|
865
865
|
- op: set_url_list
|
|
866
866
|
field_id: references
|
|
867
|
-
|
|
867
|
+
value:
|
|
868
868
|
- https://docs.example.com/guide
|
|
869
869
|
- https://github.com/example/project
|
|
870
870
|
- https://medium.com/article-about-forms
|
|
@@ -1520,7 +1520,7 @@ turns:
|
|
|
1520
1520
|
properties:
|
|
1521
1521
|
patches:
|
|
1522
1522
|
description: Array of patches to apply to the form
|
|
1523
|
-
|
|
1523
|
+
value:
|
|
1524
1524
|
$ref: '#/$defs/patch'
|
|
1525
1525
|
type: array
|
|
1526
1526
|
required:
|
|
@@ -1534,7 +1534,7 @@ turns:
|
|
|
1534
1534
|
patches:
|
|
1535
1535
|
- field_id: tasks_simple
|
|
1536
1536
|
op: set_checkboxes
|
|
1537
|
-
|
|
1537
|
+
value:
|
|
1538
1538
|
agree_terms: done
|
|
1539
1539
|
read_guidelines: done
|
|
1540
1540
|
- field_id: website
|
|
@@ -1560,7 +1560,7 @@ turns:
|
|
|
1560
1560
|
reason: No value in mock form
|
|
1561
1561
|
role: agent
|
|
1562
1562
|
- field_id: references
|
|
1563
|
-
|
|
1563
|
+
value:
|
|
1564
1564
|
- https://docs.example.com/guide
|
|
1565
1565
|
- https://github.com/example/project
|
|
1566
1566
|
- https://medium.com/article-about-forms
|
|
@@ -1589,7 +1589,7 @@ turns:
|
|
|
1589
1589
|
patches:
|
|
1590
1590
|
- op: set_table
|
|
1591
1591
|
field_id: team_members
|
|
1592
|
-
|
|
1592
|
+
value:
|
|
1593
1593
|
- name: Alice
|
|
1594
1594
|
role: Engineer
|
|
1595
1595
|
start_date: 2024-01-15
|
|
@@ -2192,7 +2192,7 @@ turns:
|
|
|
2192
2192
|
properties:
|
|
2193
2193
|
patches:
|
|
2194
2194
|
description: Array of patches to apply to the form
|
|
2195
|
-
|
|
2195
|
+
value:
|
|
2196
2196
|
$ref: '#/$defs/patch'
|
|
2197
2197
|
type: array
|
|
2198
2198
|
required:
|
|
@@ -2206,7 +2206,7 @@ turns:
|
|
|
2206
2206
|
patches:
|
|
2207
2207
|
- field_id: team_members
|
|
2208
2208
|
op: set_table
|
|
2209
|
-
|
|
2209
|
+
value:
|
|
2210
2210
|
- name: Alice
|
|
2211
2211
|
role: Engineer
|
|
2212
2212
|
start_date: 2024-01-15
|
|
@@ -106,38 +106,33 @@ Format: $X.XB, $XXM, or $XXK (e.g., "$10B")
|
|
|
106
106
|
- [ ] Public {% #public %}
|
|
107
107
|
{% /field %}
|
|
108
108
|
|
|
109
|
-
{% field kind="
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
{%
|
|
109
|
+
{% field kind="table" id="funding_rounds" label="Funding Rounds"
|
|
110
|
+
columnIds=["round_type", "date", "amount", "lead_investors", "source_url"]
|
|
111
|
+
columnTypes=["string", "string", "string", "string", "url"]
|
|
112
|
+
minRows=0 maxRows=10 %}
|
|
113
|
+
| Round Type | Date | Amount | Lead Investor(s) | Source URL |
|
|
114
|
+
|------------|------|--------|------------------|------------|
|
|
115
|
+
{% /field %}
|
|
116
116
|
|
|
117
|
-
{% instructions ref="
|
|
118
|
-
|
|
117
|
+
{% instructions ref="funding_rounds" %}
|
|
118
|
+
List funding rounds, most recent first. Date format: YYYY-MM.
|
|
119
|
+
Example: Series B | 2023-06 | $50M | Sequoia Capital | https://techcrunch.com/...
|
|
119
120
|
{% /instructions %}
|
|
120
121
|
|
|
121
122
|
{% /group %}
|
|
122
123
|
|
|
123
124
|
{% group id="people" title="Key People" %}
|
|
124
125
|
|
|
125
|
-
{% field kind="
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
{%
|
|
132
|
-
|
|
133
|
-
{% instructions ref="ceo_linkedin" %}
|
|
134
|
-
LinkedIn profile URL of the CEO/founder.
|
|
135
|
-
{% /instructions %}
|
|
136
|
-
|
|
137
|
-
{% field kind="string_list" id="founders" label="Founders" maxItems=5 %}{% /field %}
|
|
126
|
+
{% field kind="table" id="founders" label="Founders"
|
|
127
|
+
columnIds=["name", "title", "linkedin"]
|
|
128
|
+
columnTypes=["string", "string", "url"]
|
|
129
|
+
minRows=1 maxRows=5 %}
|
|
130
|
+
| Name | Title | LinkedIn URL |
|
|
131
|
+
|------|-------|--------------|
|
|
132
|
+
{% /field %}
|
|
138
133
|
|
|
139
134
|
{% instructions ref="founders" %}
|
|
140
|
-
List
|
|
135
|
+
List founders and co-founders. Include name, current title, and LinkedIn profile URL.
|
|
141
136
|
{% /instructions %}
|
|
142
137
|
|
|
143
138
|
{% field kind="number" id="employee_count" label="Employee Count" min=1 integer=true %}{% /field %}
|
|
@@ -163,26 +158,32 @@ Approximate number of employees.
|
|
|
163
158
|
- [ ] Other {% #other %}
|
|
164
159
|
{% /field %}
|
|
165
160
|
|
|
166
|
-
{% field kind="
|
|
161
|
+
{% field kind="table" id="competitors" label="Key Competitors"
|
|
162
|
+
columnIds=["company_name", "website", "one_liner"]
|
|
163
|
+
columnTypes=["string", "url", "string"]
|
|
164
|
+
minRows=0 maxRows=5 %}
|
|
165
|
+
| Company Name | Website | One-liner |
|
|
166
|
+
|--------------|---------|-----------|
|
|
167
|
+
{% /field %}
|
|
167
168
|
|
|
168
169
|
{% instructions ref="competitors" %}
|
|
169
|
-
List main competitors
|
|
170
|
-
{% /instructions %}
|
|
171
|
-
|
|
172
|
-
{% field kind="url_list" id="competitor_urls" label="Competitor Website URLs" maxItems=5 uniqueItems=true %}{% /field %}
|
|
173
|
-
|
|
174
|
-
{% instructions ref="competitor_urls" %}
|
|
175
|
-
Website URLs of main competitors.
|
|
170
|
+
List main competitors with their website and a brief description.
|
|
176
171
|
{% /instructions %}
|
|
177
172
|
|
|
178
173
|
{% /group %}
|
|
179
174
|
|
|
180
175
|
{% group id="press_coverage" title="Press & Coverage" %}
|
|
181
176
|
|
|
182
|
-
{% field kind="
|
|
177
|
+
{% field kind="table" id="press_articles" label="Press Coverage"
|
|
178
|
+
columnIds=["title", "publication", "date", "url"]
|
|
179
|
+
columnTypes=["string", "string", "date", "url"]
|
|
180
|
+
minRows=1 maxRows=10 %}
|
|
181
|
+
| Title | Publication | Date | URL |
|
|
182
|
+
|-------|-------------|------|-----|
|
|
183
|
+
{% /field %}
|
|
183
184
|
|
|
184
185
|
{% instructions ref="press_articles" %}
|
|
185
|
-
|
|
186
|
+
Notable press articles, reviews, or coverage about the company.
|
|
186
187
|
{% /instructions %}
|
|
187
188
|
|
|
188
189
|
{% field kind="url" id="crunchbase_url" label="Crunchbase Profile" %}{% /field %}
|