markform 0.1.24 → 0.1.25

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.
Files changed (44) hide show
  1. package/README.md +54 -31
  2. package/dist/ai-sdk.d.mts +1 -1
  3. package/dist/ai-sdk.mjs +2 -2
  4. package/dist/bin.mjs +1 -1
  5. package/dist/{cli-B1DhFYBS.mjs → cli-B1T8kMFt.mjs} +85 -40
  6. package/dist/cli-B1T8kMFt.mjs.map +1 -0
  7. package/dist/cli.mjs +1 -1
  8. package/dist/{coreTypes-GxzWNXap.d.mts → coreTypes-CxpqKpBA.d.mts} +45 -2
  9. package/dist/{coreTypes-CctFK6uE.mjs → coreTypes-DIv9Aabl.mjs} +19 -5
  10. package/dist/coreTypes-DIv9Aabl.mjs.map +1 -0
  11. package/dist/{fillRecord-DeqI2pQ5.d.mts → fillRecord-V3vlyobd.d.mts} +5 -1
  12. package/dist/{fillRecordRenderer-VBQ2vwPV.mjs → fillRecordRenderer-BqRPHPmE.mjs} +47 -15
  13. package/dist/fillRecordRenderer-BqRPHPmE.mjs.map +1 -0
  14. package/dist/index.d.mts +32 -4
  15. package/dist/index.mjs +4 -4
  16. package/dist/{prompts-BCnYaH4_.mjs → prompts-DaPKumGY.mjs} +114 -11
  17. package/dist/prompts-DaPKumGY.mjs.map +1 -0
  18. package/dist/render.d.mts +2 -2
  19. package/dist/render.mjs +1 -1
  20. package/dist/{session-BLjN3BkJ.mjs → session-BW9jtYNV.mjs} +2 -2
  21. package/dist/{session-BLjN3BkJ.mjs.map → session-BW9jtYNV.mjs.map} +1 -1
  22. package/dist/{session-D7C7IlEv.mjs → session-DHyTMP67.mjs} +1 -1
  23. package/dist/{shared-DtorFV21.mjs → shared-BLh342F5.mjs} +1 -1
  24. package/dist/{shared-CuSRYcIB.mjs → shared-BszoSkAO.mjs} +8 -8
  25. package/dist/{shared-CuSRYcIB.mjs.map → shared-BszoSkAO.mjs.map} +1 -1
  26. package/dist/{src-C5OWf1dL.mjs → src-DrXmaOWl.mjs} +155 -27
  27. package/dist/src-DrXmaOWl.mjs.map +1 -0
  28. package/docs/markform-apis.md +19 -7
  29. package/docs/markform-reference.md +247 -178
  30. package/docs/markform-spec.md +81 -33
  31. package/docs/skill/SKILL.md +62 -20
  32. package/examples/markform-demo-playbook.md +342 -0
  33. package/examples/parallel/parallel-research.form.md +2 -6
  34. package/examples/simple/simple-mock-filled.report.md +2 -2
  35. package/examples/simple/simple-skipped-filled.report.md +2 -2
  36. package/examples/twitter-thread/twitter-thread.form.md +5 -5
  37. package/package.json +1 -1
  38. package/dist/cli-B1DhFYBS.mjs.map +0 -1
  39. package/dist/coreTypes-CctFK6uE.mjs.map +0 -1
  40. package/dist/fillRecordRenderer-VBQ2vwPV.mjs.map +0 -1
  41. package/dist/prompts-BCnYaH4_.mjs.map +0 -1
  42. package/dist/src-C5OWf1dL.mjs.map +0 -1
  43. package/examples/startup-research/startup-research-mock-filled.form.md +0 -297
  44. package/examples/startup-research/startup-research.form.md +0 -181
@@ -1,297 +0,0 @@
1
- ---
2
- markform:
3
- spec: MF/0.1
4
- role_instructions:
5
- user: Enter the name of the startup company you want to research.
6
- agent: |
7
- Research and fill in all company information for the specified startup.
8
- Guidelines:
9
- 1. Start with Crunchbase - The company's Crunchbase page is the primary source
10
- 2. Verify with company website and press releases
11
- 3. Use official formats - Dates as YYYY-MM-DD, funding as USD amounts
12
- 4. Fill funding rounds chronologically - Most recent first
13
- 5. Include all relevant URLs - Website, LinkedIn, press coverage
14
- 6. Leave unknown fields empty - Don't guess or fabricate information
15
- 7. Keep descriptions concise - Aim for 100-200 words max
16
- ---
17
-
18
- <!-- form id="startup_research" title="Startup Research Form" -->
19
-
20
- <!-- description ref="startup_research" -->
21
- A comprehensive research form for startup companies.
22
- This form demonstrates URL field types for capturing company websites, funding sources,
23
- press coverage, and other web references.
24
- The user provides the company name, and the agent researches and fills all remaining
25
- fields.
26
- <!-- /description -->
27
-
28
- <!-- group id="basic_info" title="Company Information" -->
29
-
30
- <!-- field kind="string" id="company_name" role="user" label="Company Name" maxLength=200 minLength=2 required=true -->
31
- ```value
32
- Anthropic
33
- ```
34
- <!-- /field -->
35
-
36
- <!-- instructions ref="company_name" -->
37
- Enter the official name of the startup company you want to research (e.g., “Stripe”,
38
- “OpenAI”).
39
- <!-- /instructions -->
40
-
41
- <!-- field kind="url" id="company_website" label="Company Website" required=true -->
42
- ```value
43
- https://www.anthropic.com
44
- ```
45
- <!-- /field -->
46
-
47
- <!-- instructions ref="company_website" -->
48
- The official company website URL.
49
- <!-- /instructions -->
50
-
51
- <!-- field kind="url" id="linkedin_page" label="LinkedIn Company Page" -->
52
- ```value
53
- https://www.linkedin.com/company/anthropic
54
- ```
55
- <!-- /field -->
56
-
57
- <!-- instructions ref="linkedin_page" -->
58
- LinkedIn company page URL if available.
59
- <!-- /instructions -->
60
-
61
- <!-- field kind="string" id="founded_date" label="Founded Date" pattern="^\\d{4}(-\\d{2}(-\\d{2})?)?$" -->
62
- ```value
63
- 2021
64
- ```
65
- <!-- /field -->
66
-
67
- <!-- instructions ref="founded_date" -->
68
- Format: YYYY, YYYY-MM, or YYYY-MM-DD (e.g., 2010, 2010-06, 2010-06-15)
69
- <!-- /instructions -->
70
-
71
- <!-- field kind="string" id="headquarters" label="Headquarters Location" -->
72
- ```value
73
- San Francisco, California
74
- ```
75
- <!-- /field -->
76
-
77
- <!-- instructions ref="headquarters" -->
78
- Format: City, State/Country (e.g., “San Francisco, California”)
79
- <!-- /instructions -->
80
-
81
- <!-- field kind="string" id="company_description" label="Company Description" maxLength=1000 multiline=true -->
82
- ```value
83
- Anthropic is an AI safety company focused on building reliable, interpretable, and steerable AI systems. Founded by former members of OpenAI, the company develops large language models with an emphasis on safety research and alignment. Their flagship product is Claude, an AI assistant designed to be helpful, harmless, and honest.
84
- ```
85
- <!-- /field -->
86
-
87
- <!-- instructions ref="company_description" -->
88
- Brief description of what the company does.
89
- 100-200 words max.
90
- <!-- /instructions -->
91
-
92
- <!-- /group -->
93
-
94
- <!-- group id="funding_info" title="Funding Information" -->
95
-
96
- <!-- field kind="string" id="total_funding" label="Total Funding Raised" pattern="^\\$[0-9]+(\\.[0-9]+)?(K|M|B)?$" -->
97
- ```value
98
- $7.6B
99
- ```
100
- <!-- /field -->
101
-
102
- <!-- instructions ref="total_funding" -->
103
- Format: $X.XB, $XXM, or $XXK (e.g., “$1.5B”, “$50M”, “$500K”)
104
- <!-- /instructions -->
105
-
106
- <!-- field kind="string" id="latest_valuation" label="Latest Valuation" pattern="^\\$[0-9]+(\\.[0-9]+)?(K|M|B)?$" -->
107
- ```value
108
- $18.4B
109
- ```
110
- <!-- /field -->
111
-
112
- <!-- instructions ref="latest_valuation" -->
113
- Format: $X.XB, $XXM, or $XXK (e.g., “$10B”)
114
- <!-- /instructions -->
115
-
116
- <!-- field kind="single_select" id="funding_stage" label="Funding Stage" -->
117
- - [ ] Pre-seed <!-- #pre_seed -->
118
- - [ ] Seed <!-- #seed -->
119
- - [ ] Series A <!-- #series_a -->
120
- - [ ] Series B <!-- #series_b -->
121
- - [ ] Series C <!-- #series_c -->
122
- - [x] Series D+ <!-- #series_d_plus -->
123
- - [ ] Public <!-- #public -->
124
- <!-- /field -->
125
-
126
- <!-- field kind="string_list" id="key_investors" label="Key Investors" maxItems=10 -->
127
- ```value
128
- Google
129
- Spark Capital
130
- Salesforce Ventures
131
- Amazon
132
- Sound Ventures
133
- ```
134
- <!-- /field -->
135
-
136
- <!-- instructions ref="key_investors" -->
137
- List notable investors (VCs, angels), one per line.
138
- <!-- /instructions -->
139
-
140
- <!-- field kind="url_list" id="funding_announcements" label="Funding Announcement URLs" maxItems=5 uniqueItems=true -->
141
- ```value
142
- https://www.anthropic.com/news/anthropic-raises-series-c
143
- https://techcrunch.com/2023/09/25/amazon-to-invest-up-to-4-billion-in-anthropic/
144
- ```
145
- <!-- /field -->
146
-
147
- <!-- instructions ref="funding_announcements" -->
148
- URLs to press releases or articles about funding rounds.
149
- <!-- /instructions -->
150
-
151
- <!-- /group -->
152
-
153
- <!-- group id="people" title="Key People" -->
154
-
155
- <!-- field kind="string" id="ceo" label="CEO / Founder" -->
156
- ```value
157
- Dario Amodei
158
- ```
159
- <!-- /field -->
160
-
161
- <!-- instructions ref="ceo" -->
162
- Name of CEO or primary founder.
163
- <!-- /instructions -->
164
-
165
- <!-- field kind="url" id="ceo_linkedin" label="CEO LinkedIn" -->
166
- ```value
167
- https://www.linkedin.com/in/dario-amodei
168
- ```
169
- <!-- /field -->
170
-
171
- <!-- instructions ref="ceo_linkedin" -->
172
- LinkedIn profile URL of the CEO/founder.
173
- <!-- /instructions -->
174
-
175
- <!-- field kind="string_list" id="founders" label="Founders" maxItems=5 -->
176
- ```value
177
- Dario Amodei
178
- Daniela Amodei
179
- Tom Brown
180
- Chris Olah
181
- Sam McCandlish
182
- ```
183
- <!-- /field -->
184
-
185
- <!-- instructions ref="founders" -->
186
- List all founders, one per line.
187
- <!-- /instructions -->
188
-
189
- <!-- field kind="number" id="employee_count" integer=true label="Employee Count" min=1 -->
190
- ```value
191
- 1000
192
- ```
193
- <!-- /field -->
194
-
195
- <!-- instructions ref="employee_count" -->
196
- Approximate number of employees.
197
- <!-- /instructions -->
198
-
199
- <!-- /group -->
200
-
201
- <!-- group id="market_info" title="Market & Industry" -->
202
-
203
- <!-- field kind="multi_select" id="industry_sectors" label="Industry Sectors" maxSelections=5 minSelections=1 -->
204
- - [x] AI/ML <!-- #ai_ml -->
205
- - [ ] FinTech <!-- #fintech -->
206
- - [ ] HealthTech <!-- #healthtech -->
207
- - [ ] EdTech <!-- #edtech -->
208
- - [x] SaaS <!-- #saas -->
209
- - [ ] E-commerce <!-- #ecommerce -->
210
- - [x] Security <!-- #security -->
211
- - [x] Developer Tools <!-- #devtools -->
212
- - [ ] Climate Tech <!-- #climatetech -->
213
- - [ ] Other <!-- #other -->
214
- <!-- /field -->
215
-
216
- <!-- field kind="string_list" id="competitors" label="Competitors" maxItems=5 -->
217
- ```value
218
- OpenAI
219
- Google DeepMind
220
- Cohere
221
- Mistral AI
222
- ```
223
- <!-- /field -->
224
-
225
- <!-- instructions ref="competitors" -->
226
- List main competitors, one per line.
227
- <!-- /instructions -->
228
-
229
- <!-- field kind="url_list" id="competitor_urls" label="Competitor Website URLs" maxItems=5 uniqueItems=true -->
230
- ```value
231
- https://openai.com
232
- https://deepmind.google
233
- https://cohere.com
234
- https://mistral.ai
235
- ```
236
- <!-- /field -->
237
-
238
- <!-- instructions ref="competitor_urls" -->
239
- Website URLs of main competitors.
240
- <!-- /instructions -->
241
-
242
- <!-- /group -->
243
-
244
- <!-- group id="press_coverage" title="Press & Coverage" -->
245
-
246
- <!-- field kind="url_list" id="press_articles" label="Press Coverage URLs" maxItems=10 minItems=1 uniqueItems=true -->
247
- ```value
248
- https://www.wired.com/story/anthropic-ai-claude-chatgpt-rival/
249
- https://www.nytimes.com/2023/03/14/technology/anthropic-ai-chatbot.html
250
- https://www.forbes.com/sites/alexkonrad/2023/09/25/anthropic-ai-amazon-investment/
251
- ```
252
- <!-- /field -->
253
-
254
- <!-- instructions ref="press_articles" -->
255
- URLs to major press articles, reviews, or coverage about the company.
256
- <!-- /instructions -->
257
-
258
- <!-- field kind="url" id="crunchbase_url" label="Crunchbase Profile" -->
259
- ```value
260
- https://www.crunchbase.com/organization/anthropic
261
- ```
262
- <!-- /field -->
263
-
264
- <!-- instructions ref="crunchbase_url" -->
265
- Crunchbase company profile URL.
266
- <!-- /instructions -->
267
-
268
- <!-- field kind="url" id="pitchbook_url" label="PitchBook Profile" --><!-- /field -->
269
-
270
- <!-- instructions ref="pitchbook_url" -->
271
- PitchBook company profile URL if available.
272
- <!-- /instructions -->
273
-
274
- <!-- /group -->
275
-
276
- <!-- group id="sources_section" title="Research Sources" -->
277
-
278
- <!-- field kind="url_list" id="sources" label="Source URLs" minItems=1 uniqueItems=true -->
279
- ```value
280
- https://www.crunchbase.com/organization/anthropic
281
- https://www.anthropic.com
282
- https://www.linkedin.com/company/anthropic
283
- https://en.wikipedia.org/wiki/Anthropic
284
- ```
285
- <!-- /field -->
286
-
287
- <!-- instructions ref="sources" -->
288
- List all source URLs used for this research.
289
- Include Crunchbase, company website, and any additional sources consulted.
290
- <!-- /instructions -->
291
-
292
- <!-- /group -->
293
-
294
- <!-- /form -->
295
-
296
-
297
-
@@ -1,181 +0,0 @@
1
- ---
2
- markform:
3
- spec: MF/0.1
4
- run_mode: research
5
- role_instructions:
6
- user: Enter the name of the startup company you want to research.
7
- agent: |
8
- Research and fill in all company information for the specified startup.
9
- Guidelines:
10
- 1. Start with Crunchbase - The company's Crunchbase page is the primary source
11
- 2. Verify with company website and press releases
12
- 3. Use official formats - Dates as YYYY-MM-DD, funding as USD amounts
13
- 4. Fill funding rounds chronologically - Most recent first
14
- 5. Include all relevant URLs - Website, LinkedIn, press coverage
15
- 6. Leave unknown fields empty - Don't guess or fabricate information
16
- 7. Keep descriptions concise - Aim for 100-200 words max
17
- ---
18
-
19
- <!-- form id="startup_research" title="Startup Research Form" -->
20
-
21
- <!-- description ref="startup_research" -->
22
- A comprehensive research form for startup companies.
23
- This form demonstrates URL field types for capturing company websites, funding sources,
24
- press coverage, and other web references.
25
- The user provides the company name, and the agent researches and fills all remaining
26
- fields.
27
- <!-- /description -->
28
-
29
- <!-- group id="basic_info" title="Company Information" -->
30
-
31
- <!-- field kind="string" id="company_name" role="user" label="Company Name" maxLength=200 minLength=2 required=true --><!-- /field -->
32
-
33
- <!-- instructions ref="company_name" -->
34
- Enter the official name of the startup company you want to research (e.g., “Stripe”,
35
- “OpenAI”).
36
- <!-- /instructions -->
37
-
38
- <!-- field kind="url" id="company_website" label="Company Website" required=true --><!-- /field -->
39
-
40
- <!-- instructions ref="company_website" -->
41
- The official company website URL.
42
- <!-- /instructions -->
43
-
44
- <!-- field kind="url" id="linkedin_page" label="LinkedIn Company Page" --><!-- /field -->
45
-
46
- <!-- instructions ref="linkedin_page" -->
47
- LinkedIn company page URL if available.
48
- <!-- /instructions -->
49
-
50
- <!-- field kind="string" id="founded_date" label="Founded Date" pattern="^\\d{4}(-\\d{2}(-\\d{2})?)?$" --><!-- /field -->
51
-
52
- <!-- instructions ref="founded_date" -->
53
- Format: YYYY, YYYY-MM, or YYYY-MM-DD (e.g., 2010, 2010-06, 2010-06-15)
54
- <!-- /instructions -->
55
-
56
- <!-- field kind="string" id="headquarters" label="Headquarters Location" --><!-- /field -->
57
-
58
- <!-- instructions ref="headquarters" -->
59
- Format: City, State/Country (e.g., “San Francisco, California”)
60
- <!-- /instructions -->
61
-
62
- <!-- field kind="string" id="company_description" label="Company Description" maxLength=1000 multiline=true --><!-- /field -->
63
-
64
- <!-- instructions ref="company_description" -->
65
- Brief description of what the company does.
66
- 100-200 words max.
67
- <!-- /instructions -->
68
-
69
- <!-- /group -->
70
-
71
- <!-- group id="funding_info" title="Funding Information" -->
72
-
73
- <!-- field kind="string" id="total_funding" label="Total Funding Raised" pattern="^\\$[0-9]+(\\.[0-9]+)?(K|M|B)?$" --><!-- /field -->
74
-
75
- <!-- instructions ref="total_funding" -->
76
- Format: $X.XB, $XXM, or $XXK (e.g., “$1.5B”, “$50M”, “$500K”)
77
- <!-- /instructions -->
78
-
79
- <!-- field kind="string" id="latest_valuation" label="Latest Valuation" pattern="^\\$[0-9]+(\\.[0-9]+)?(K|M|B)?$" --><!-- /field -->
80
-
81
- <!-- instructions ref="latest_valuation" -->
82
- Format: $X.XB, $XXM, or $XXK (e.g., “$10B”)
83
- <!-- /instructions -->
84
-
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 -->
94
-
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 -->
96
-
97
- <!-- instructions ref="funding_rounds" -->
98
- List funding rounds, most recent first.
99
- Date format: YYYY-MM. Example: Series B | 2023-06 | $50M | Sequoia Capital |
100
- https://techcrunch.com/...
101
- <!-- /instructions -->
102
-
103
- <!-- /group -->
104
-
105
- <!-- group id="people" title="Key People" -->
106
-
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 -->
108
-
109
- <!-- instructions ref="founders" -->
110
- List founders and co-founders.
111
- Include name, current title, and LinkedIn profile URL.
112
- <!-- /instructions -->
113
-
114
- <!-- field kind="number" id="employee_count" integer=true label="Employee Count" min=1 --><!-- /field -->
115
-
116
- <!-- instructions ref="employee_count" -->
117
- Approximate number of employees.
118
- <!-- /instructions -->
119
-
120
- <!-- /group -->
121
-
122
- <!-- group id="market_info" title="Market & Industry" -->
123
-
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 -->
136
-
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 -->
138
-
139
- <!-- instructions ref="competitors" -->
140
- List main competitors with their website and a brief description.
141
- <!-- /instructions -->
142
-
143
- <!-- /group -->
144
-
145
- <!-- group id="press_coverage" title="Press & Coverage" -->
146
-
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 -->
148
-
149
- <!-- instructions ref="press_articles" -->
150
- Notable press articles, reviews, or coverage about the company.
151
- <!-- /instructions -->
152
-
153
- <!-- field kind="url" id="crunchbase_url" label="Crunchbase Profile" --><!-- /field -->
154
-
155
- <!-- instructions ref="crunchbase_url" -->
156
- Crunchbase company profile URL.
157
- <!-- /instructions -->
158
-
159
- <!-- field kind="url" id="pitchbook_url" label="PitchBook Profile" --><!-- /field -->
160
-
161
- <!-- instructions ref="pitchbook_url" -->
162
- PitchBook company profile URL if available.
163
- <!-- /instructions -->
164
-
165
- <!-- /group -->
166
-
167
- <!-- group id="sources_section" title="Research Sources" -->
168
-
169
- <!-- field kind="url_list" id="sources" label="Source URLs" minItems=1 uniqueItems=true --><!-- /field -->
170
-
171
- <!-- instructions ref="sources" -->
172
- List all source URLs used for this research.
173
- Include Crunchbase, company website, and any additional sources consulted.
174
- <!-- /instructions -->
175
-
176
- <!-- /group -->
177
-
178
- <!-- /form -->
179
-
180
-
181
-