markform 0.1.20 → 0.1.22
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/README.md +44 -12
- package/dist/ai-sdk.d.mts +1 -1
- package/dist/ai-sdk.mjs +2 -2
- package/dist/{apply-DIvm1b1s.mjs → apply-C7mO7VkZ.mjs} +158 -95
- package/dist/apply-C7mO7VkZ.mjs.map +1 -0
- package/dist/bin.mjs +1 -1
- package/dist/{cli-FFMoEhFS.mjs → cli-C8F9yDsv.mjs} +102 -1225
- package/dist/cli-C8F9yDsv.mjs.map +1 -0
- package/dist/cli.mjs +1 -1
- package/dist/{coreTypes-CkxML8g2.d.mts → coreTypes-BlsJkU1w.d.mts} +28 -2
- package/dist/{coreTypes-CPKXf2dc.mjs → coreTypes-CTLr-NGd.mjs} +24 -3
- package/dist/coreTypes-CTLr-NGd.mjs.map +1 -0
- package/dist/fillRecord-DTl5lnK0.d.mts +345 -0
- package/dist/fillRecordRenderer-CruJrLkj.mjs +1256 -0
- package/dist/fillRecordRenderer-CruJrLkj.mjs.map +1 -0
- package/dist/index.d.mts +22 -342
- package/dist/index.mjs +5 -5
- package/dist/render.d.mts +74 -0
- package/dist/render.mjs +4 -0
- package/dist/{session-CK0x28RO.mjs → session-BCcltrLA.mjs} +2 -2
- package/dist/{session-CK0x28RO.mjs.map → session-BCcltrLA.mjs.map} +1 -1
- package/dist/{session-ZHBi3LVQ.mjs → session-VeSkVrck.mjs} +1 -1
- package/dist/{shared-DwdyWmvE.mjs → shared-CsdT2T7k.mjs} +1 -1
- package/dist/{shared-DwdyWmvE.mjs.map → shared-CsdT2T7k.mjs.map} +1 -1
- package/dist/{shared-BTR35aMz.mjs → shared-fb0nkzQi.mjs} +1 -1
- package/dist/{src-wR7GoftB.mjs → src-CbRnGzMK.mjs} +205 -138
- package/dist/src-CbRnGzMK.mjs.map +1 -0
- package/dist/urlFormat-lls7CsEP.mjs +71 -0
- package/dist/urlFormat-lls7CsEP.mjs.map +1 -0
- package/docs/markform-apis.md +53 -0
- package/examples/movie-research/movie-deep-research-mock-filled.form.md +320 -343
- package/examples/movie-research/movie-deep-research.form.md +273 -308
- package/examples/movie-research/movie-research-demo.form.md +27 -41
- package/examples/parallel/parallel-research.form.md +33 -29
- package/examples/parallel/parallel-research.mock.filled.form.md +88 -0
- package/examples/rejection-test/rejection-test-mock-filled.form.md +21 -16
- package/examples/rejection-test/rejection-test-mock-filled.schema.json +1 -1
- package/examples/rejection-test/rejection-test.form.md +17 -15
- package/examples/rejection-test/rejection-test.session.yaml +88 -60
- package/examples/simple/simple-mock-filled.form.md +113 -126
- package/examples/simple/simple-mock-filled.schema.json +2 -3
- package/examples/simple/simple-skipped-filled.form.md +112 -129
- package/examples/simple/simple-skipped-filled.report.md +8 -8
- package/examples/simple/simple-skipped-filled.schema.json +2 -3
- package/examples/simple/simple-tags-syntax.form.md +32 -0
- package/examples/simple/simple-with-skips.session.yaml +663 -627
- package/examples/simple/simple.form.md +97 -113
- package/examples/simple/simple.schema.json +2 -3
- package/examples/simple/simple.session.yaml +663 -627
- package/examples/startup-deep-research/startup-deep-research.form.md +191 -235
- package/examples/startup-research/startup-research-mock-filled.form.md +128 -147
- package/examples/startup-research/startup-research.form.md +90 -129
- package/examples/twitter-thread/twitter-thread.form.md +373 -0
- package/package.json +5 -1
- package/dist/apply-DIvm1b1s.mjs.map +0 -1
- package/dist/cli-FFMoEhFS.mjs.map +0 -1
- package/dist/coreTypes-CPKXf2dc.mjs.map +0 -1
- package/dist/src-wR7GoftB.mjs.map +0 -1
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
markform:
|
|
3
3
|
spec: MF/0.1
|
|
4
4
|
run_mode: research
|
|
5
|
-
roles:
|
|
6
|
-
- user
|
|
7
|
-
- agent
|
|
8
5
|
role_instructions:
|
|
9
|
-
user:
|
|
6
|
+
user: Enter the name of the startup company you want to research.
|
|
10
7
|
agent: |
|
|
11
8
|
Research and fill in all company information for the specified startup.
|
|
12
9
|
Guidelines:
|
|
@@ -18,203 +15,167 @@ markform:
|
|
|
18
15
|
6. Leave unknown fields empty - Don't guess or fabricate information
|
|
19
16
|
7. Keep descriptions concise - Aim for 100-200 words max
|
|
20
17
|
---
|
|
21
|
-
{% form id="startup_research" title="Startup Research Form" %}
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
<!-- form id="startup_research" title="Startup Research Form" -->
|
|
20
|
+
|
|
21
|
+
<!-- description ref="startup_research" -->
|
|
24
22
|
A comprehensive research form for startup companies.
|
|
25
23
|
This form demonstrates URL field types for capturing company websites, funding sources,
|
|
26
24
|
press coverage, and other web references.
|
|
27
25
|
The user provides the company name, and the agent researches and fills all remaining
|
|
28
26
|
fields.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
{% documentation ref="startup_research" %}
|
|
32
|
-
**Workflow:**
|
|
33
|
-
1. User enters the startup company name
|
|
34
|
-
2. Agent researches and fills company information
|
|
35
|
-
3. Agent includes all relevant URLs (website, LinkedIn, press, funding sources)
|
|
36
|
-
4. Agent provides source citations
|
|
37
|
-
|
|
38
|
-
**Data Sources:**
|
|
39
|
-
- Crunchbase profiles
|
|
40
|
-
- Company websites
|
|
41
|
-
- Press releases
|
|
42
|
-
- LinkedIn company pages
|
|
43
|
-
- Tech news publications
|
|
27
|
+
<!-- /description -->
|
|
44
28
|
|
|
45
|
-
|
|
29
|
+
<!-- group id="basic_info" title="Company Information" -->
|
|
46
30
|
|
|
47
|
-
|
|
31
|
+
<!-- field kind="string" id="company_name" role="user" label="Company Name" maxLength=200 minLength=2 required=true --><!-- /field -->
|
|
48
32
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
{% instructions ref="company_name" %}
|
|
33
|
+
<!-- instructions ref="company_name" -->
|
|
52
34
|
Enter the official name of the startup company you want to research (e.g., “Stripe”,
|
|
53
35
|
“OpenAI”).
|
|
54
|
-
|
|
36
|
+
<!-- /instructions -->
|
|
55
37
|
|
|
56
|
-
|
|
38
|
+
<!-- field kind="url" id="company_website" label="Company Website" required=true --><!-- /field -->
|
|
57
39
|
|
|
58
|
-
|
|
40
|
+
<!-- instructions ref="company_website" -->
|
|
59
41
|
The official company website URL.
|
|
60
|
-
|
|
42
|
+
<!-- /instructions -->
|
|
61
43
|
|
|
62
|
-
|
|
44
|
+
<!-- field kind="url" id="linkedin_page" label="LinkedIn Company Page" --><!-- /field -->
|
|
63
45
|
|
|
64
|
-
|
|
46
|
+
<!-- instructions ref="linkedin_page" -->
|
|
65
47
|
LinkedIn company page URL if available.
|
|
66
|
-
|
|
48
|
+
<!-- /instructions -->
|
|
67
49
|
|
|
68
|
-
|
|
50
|
+
<!-- field kind="string" id="founded_date" label="Founded Date" pattern="^\\d{4}(-\\d{2}(-\\d{2})?)?$" --><!-- /field -->
|
|
69
51
|
|
|
70
|
-
|
|
52
|
+
<!-- instructions ref="founded_date" -->
|
|
71
53
|
Format: YYYY, YYYY-MM, or YYYY-MM-DD (e.g., 2010, 2010-06, 2010-06-15)
|
|
72
|
-
|
|
54
|
+
<!-- /instructions -->
|
|
73
55
|
|
|
74
|
-
|
|
56
|
+
<!-- field kind="string" id="headquarters" label="Headquarters Location" --><!-- /field -->
|
|
75
57
|
|
|
76
|
-
|
|
58
|
+
<!-- instructions ref="headquarters" -->
|
|
77
59
|
Format: City, State/Country (e.g., “San Francisco, California”)
|
|
78
|
-
|
|
60
|
+
<!-- /instructions -->
|
|
79
61
|
|
|
80
|
-
|
|
62
|
+
<!-- field kind="string" id="company_description" label="Company Description" maxLength=1000 multiline=true --><!-- /field -->
|
|
81
63
|
|
|
82
|
-
|
|
64
|
+
<!-- instructions ref="company_description" -->
|
|
83
65
|
Brief description of what the company does.
|
|
84
66
|
100-200 words max.
|
|
85
|
-
|
|
67
|
+
<!-- /instructions -->
|
|
86
68
|
|
|
87
|
-
|
|
69
|
+
<!-- /group -->
|
|
88
70
|
|
|
89
|
-
|
|
71
|
+
<!-- group id="funding_info" title="Funding Information" -->
|
|
90
72
|
|
|
91
|
-
|
|
73
|
+
<!-- field kind="string" id="total_funding" label="Total Funding Raised" pattern="^\\$[0-9]+(\\.[0-9]+)?(K|M|B)?$" --><!-- /field -->
|
|
92
74
|
|
|
93
|
-
|
|
75
|
+
<!-- instructions ref="total_funding" -->
|
|
94
76
|
Format: $X.XB, $XXM, or $XXK (e.g., “$1.5B”, “$50M”, “$500K”)
|
|
95
|
-
|
|
77
|
+
<!-- /instructions -->
|
|
96
78
|
|
|
97
|
-
|
|
79
|
+
<!-- field kind="string" id="latest_valuation" label="Latest Valuation" pattern="^\\$[0-9]+(\\.[0-9]+)?(K|M|B)?$" --><!-- /field -->
|
|
98
80
|
|
|
99
|
-
|
|
81
|
+
<!-- instructions ref="latest_valuation" -->
|
|
100
82
|
Format: $X.XB, $XXM, or $XXK (e.g., “$10B”)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
{% field kind="single_select" id="funding_stage" label="Funding Stage" %}
|
|
83
|
+
<!-- /instructions -->
|
|
104
84
|
|
|
105
|
-
|
|
106
|
-
- [ ]
|
|
107
|
-
- [ ]
|
|
108
|
-
- [ ] Series
|
|
109
|
-
- [ ] Series
|
|
110
|
-
- [ ] Series
|
|
111
|
-
- [ ]
|
|
85
|
+
<!-- field kind="single_select" id="funding_stage" label="Funding Stage" -->
|
|
86
|
+
- [ ] Pre-seed <!-- #pre_seed -->
|
|
87
|
+
- [ ] Seed <!-- #seed -->
|
|
88
|
+
- [ ] Series A <!-- #series_a -->
|
|
89
|
+
- [ ] Series B <!-- #series_b -->
|
|
90
|
+
- [ ] Series C <!-- #series_c -->
|
|
91
|
+
- [ ] Series D+ <!-- #series_d_plus -->
|
|
92
|
+
- [ ] Public <!-- #public -->
|
|
93
|
+
<!-- /field -->
|
|
112
94
|
|
|
113
|
-
|
|
95
|
+
<!-- field kind="table" id="funding_rounds" columnIds=["round_type", "date", "amount", "lead_investors", "source_url"] columnLabels=["Round Type", "Date", "Amount", "Lead Investor(s)", "Source URL"] columnTypes=["string", "string", "string", "string", "url"] label="Funding Rounds" maxRows=10 minRows=0 --><!-- /field -->
|
|
114
96
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
| Round Type | Date | Amount | Lead Investor(s) | Source URL |
|
|
118
|
-
|------------|------|--------|------------------|------------|
|
|
119
|
-
|
|
120
|
-
{% /field %}
|
|
121
|
-
|
|
122
|
-
{% instructions ref="funding_rounds" %}
|
|
97
|
+
<!-- instructions ref="funding_rounds" -->
|
|
123
98
|
List funding rounds, most recent first.
|
|
124
99
|
Date format: YYYY-MM. Example: Series B | 2023-06 | $50M | Sequoia Capital |
|
|
125
100
|
https://techcrunch.com/...
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
{% /group %}
|
|
129
|
-
|
|
130
|
-
{% group id="people" title="Key People" %}
|
|
101
|
+
<!-- /instructions -->
|
|
131
102
|
|
|
132
|
-
|
|
103
|
+
<!-- /group -->
|
|
133
104
|
|
|
134
|
-
|
|
135
|
-
|------|-------|--------------|
|
|
105
|
+
<!-- group id="people" title="Key People" -->
|
|
136
106
|
|
|
137
|
-
|
|
107
|
+
<!-- field kind="table" id="founders" columnIds=["name", "title", "linkedin"] columnLabels=["Name", "Title", "LinkedIn URL"] columnTypes=["string", "string", "url"] label="Founders" maxRows=5 minRows=1 --><!-- /field -->
|
|
138
108
|
|
|
139
|
-
|
|
109
|
+
<!-- instructions ref="founders" -->
|
|
140
110
|
List founders and co-founders.
|
|
141
111
|
Include name, current title, and LinkedIn profile URL.
|
|
142
|
-
|
|
112
|
+
<!-- /instructions -->
|
|
143
113
|
|
|
144
|
-
|
|
114
|
+
<!-- field kind="number" id="employee_count" integer=true label="Employee Count" min=1 --><!-- /field -->
|
|
145
115
|
|
|
146
|
-
|
|
116
|
+
<!-- instructions ref="employee_count" -->
|
|
147
117
|
Approximate number of employees.
|
|
148
|
-
|
|
118
|
+
<!-- /instructions -->
|
|
149
119
|
|
|
150
|
-
|
|
120
|
+
<!-- /group -->
|
|
151
121
|
|
|
152
|
-
|
|
122
|
+
<!-- group id="market_info" title="Market & Industry" -->
|
|
153
123
|
|
|
154
|
-
|
|
124
|
+
<!-- field kind="multi_select" id="industry_sectors" label="Industry Sectors" maxSelections=5 minSelections=1 -->
|
|
125
|
+
- [ ] AI/ML <!-- #ai_ml -->
|
|
126
|
+
- [ ] FinTech <!-- #fintech -->
|
|
127
|
+
- [ ] HealthTech <!-- #healthtech -->
|
|
128
|
+
- [ ] EdTech <!-- #edtech -->
|
|
129
|
+
- [ ] SaaS <!-- #saas -->
|
|
130
|
+
- [ ] E-commerce <!-- #ecommerce -->
|
|
131
|
+
- [ ] Security <!-- #security -->
|
|
132
|
+
- [ ] Developer Tools <!-- #devtools -->
|
|
133
|
+
- [ ] Climate Tech <!-- #climatetech -->
|
|
134
|
+
- [ ] Other <!-- #other -->
|
|
135
|
+
<!-- /field -->
|
|
155
136
|
|
|
156
|
-
- [ ]
|
|
157
|
-
- [ ] FinTech {% #fintech %}
|
|
158
|
-
- [ ] HealthTech {% #healthtech %}
|
|
159
|
-
- [ ] EdTech {% #edtech %}
|
|
160
|
-
- [ ] SaaS {% #saas %}
|
|
161
|
-
- [ ] E-commerce {% #ecommerce %}
|
|
162
|
-
- [ ] Security {% #security %}
|
|
163
|
-
- [ ] Developer Tools {% #devtools %}
|
|
164
|
-
- [ ] Climate Tech {% #climatetech %}
|
|
165
|
-
- [ ] Other {% #other %}
|
|
137
|
+
<!-- field kind="table" id="competitors" columnIds=["company_name", "website", "one_liner"] columnLabels=["Company Name", "Website", "One-liner"] columnTypes=["string", "url", "string"] label="Key Competitors" maxRows=5 minRows=0 --><!-- /field -->
|
|
166
138
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
{% field kind="table" id="competitors" label="Key Competitors" columnIds=["company_name", "website", "one_liner"] columnTypes=["string", "url", "string"] minRows=0 maxRows=5 %}
|
|
170
|
-
|
|
171
|
-
| Company Name | Website | One-liner |
|
|
172
|
-
|--------------|---------|-----------|
|
|
173
|
-
|
|
174
|
-
{% /field %}
|
|
175
|
-
|
|
176
|
-
{% instructions ref="competitors" %}
|
|
139
|
+
<!-- instructions ref="competitors" -->
|
|
177
140
|
List main competitors with their website and a brief description.
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
{% /group %}
|
|
141
|
+
<!-- /instructions -->
|
|
181
142
|
|
|
182
|
-
|
|
143
|
+
<!-- /group -->
|
|
183
144
|
|
|
184
|
-
|
|
145
|
+
<!-- group id="press_coverage" title="Press & Coverage" -->
|
|
185
146
|
|
|
186
|
-
|
|
187
|
-
|-------|-------------|------|-----|
|
|
147
|
+
<!-- field kind="table" id="press_articles" columnIds=["title", "publication", "date", "url"] columnLabels=["Title", "Publication", "Date", "URL"] columnTypes=["string", "string", "date", "url"] label="Press Coverage" maxRows=10 minRows=1 --><!-- /field -->
|
|
188
148
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
{% instructions ref="press_articles" %}
|
|
149
|
+
<!-- instructions ref="press_articles" -->
|
|
192
150
|
Notable press articles, reviews, or coverage about the company.
|
|
193
|
-
|
|
151
|
+
<!-- /instructions -->
|
|
194
152
|
|
|
195
|
-
|
|
153
|
+
<!-- field kind="url" id="crunchbase_url" label="Crunchbase Profile" --><!-- /field -->
|
|
196
154
|
|
|
197
|
-
|
|
155
|
+
<!-- instructions ref="crunchbase_url" -->
|
|
198
156
|
Crunchbase company profile URL.
|
|
199
|
-
|
|
157
|
+
<!-- /instructions -->
|
|
200
158
|
|
|
201
|
-
|
|
159
|
+
<!-- field kind="url" id="pitchbook_url" label="PitchBook Profile" --><!-- /field -->
|
|
202
160
|
|
|
203
|
-
|
|
161
|
+
<!-- instructions ref="pitchbook_url" -->
|
|
204
162
|
PitchBook company profile URL if available.
|
|
205
|
-
|
|
163
|
+
<!-- /instructions -->
|
|
206
164
|
|
|
207
|
-
|
|
165
|
+
<!-- /group -->
|
|
208
166
|
|
|
209
|
-
|
|
167
|
+
<!-- group id="sources_section" title="Research Sources" -->
|
|
210
168
|
|
|
211
|
-
|
|
169
|
+
<!-- field kind="url_list" id="sources" label="Source URLs" minItems=1 uniqueItems=true --><!-- /field -->
|
|
212
170
|
|
|
213
|
-
|
|
171
|
+
<!-- instructions ref="sources" -->
|
|
214
172
|
List all source URLs used for this research.
|
|
215
173
|
Include Crunchbase, company website, and any additional sources consulted.
|
|
216
|
-
|
|
174
|
+
<!-- /instructions -->
|
|
175
|
+
|
|
176
|
+
<!-- /group -->
|
|
177
|
+
|
|
178
|
+
<!-- /form -->
|
|
179
|
+
|
|
217
180
|
|
|
218
|
-
{% /group %}
|
|
219
181
|
|
|
220
|
-
{% /form %}
|