markform 0.1.19 → 0.1.20
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 +2 -2
- package/dist/ai-sdk.mjs +1 -1
- package/dist/{apply-Dalpt-D6.mjs → apply-DIvm1b1s.mjs} +37 -3
- package/dist/apply-DIvm1b1s.mjs.map +1 -0
- package/dist/bin.mjs +1 -1
- package/dist/{cli-tpvFNqFY.mjs → cli-FFMoEhFS.mjs} +901 -17
- package/dist/cli-FFMoEhFS.mjs.map +1 -0
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{src-BTyz-wS6.mjs → src-wR7GoftB.mjs} +169 -51
- package/dist/src-wR7GoftB.mjs.map +1 -0
- package/docs/markform-reference.md +15 -1
- package/package.json +8 -8
- package/dist/apply-Dalpt-D6.mjs.map +0 -1
- package/dist/cli-tpvFNqFY.mjs.map +0 -1
- package/dist/src-BTyz-wS6.mjs.map +0 -1
|
@@ -61,7 +61,21 @@ markform:
|
|
|
61
61
|
|
|
62
62
|
## Conventions
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
### File Extensions
|
|
65
|
+
|
|
66
|
+
| File Type | Extension | Description |
|
|
67
|
+
|-----------|-----------|-------------|
|
|
68
|
+
| Form | `.form.md` | Markform source and filled forms |
|
|
69
|
+
| Fill Record | `.fill.json` | Execution metadata (sidecar file) |
|
|
70
|
+
| Report | `.report.md` | Filtered human-readable output |
|
|
71
|
+
| Schema | `.schema.json` | JSON Schema for form structure |
|
|
72
|
+
| Values | `.yml` or `.json` | Exported field values |
|
|
73
|
+
|
|
74
|
+
**Recommended:** Use `.form.md` for all Markform files. This enables:
|
|
75
|
+
- Auto-discovery of fill records by `markform serve`
|
|
76
|
+
- Consistent tooling behavior across CLI commands
|
|
77
|
+
- Clear distinction from regular markdown files
|
|
78
|
+
|
|
65
79
|
Markform uses HTML comment syntax for structure tags, which render invisibly on GitHub.
|
|
66
80
|
|
|
67
81
|
### Syntax
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markform",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Markdown forms for token-friendly workflows",
|
|
5
5
|
"license": "AGPL-3.0-or-later",
|
|
6
6
|
"author": "Joshua Levy",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"node": ">=20"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@ai-sdk/deepseek": "^2.0.
|
|
59
|
-
"@ai-sdk/google": "^3.0.
|
|
60
|
-
"@ai-sdk/openai": "^3.0.
|
|
61
|
-
"@ai-sdk/xai": "^3.0.
|
|
58
|
+
"@ai-sdk/deepseek": "^2.0.16",
|
|
59
|
+
"@ai-sdk/google": "^3.0.19",
|
|
60
|
+
"@ai-sdk/openai": "^3.0.24",
|
|
61
|
+
"@ai-sdk/xai": "^3.0.45",
|
|
62
62
|
"@clack/prompts": "^1.0.0",
|
|
63
63
|
"@markdoc/markdoc": "^0.5.4",
|
|
64
|
-
"ai": "^6.0.
|
|
64
|
+
"ai": "^6.0.66",
|
|
65
65
|
"atomically": "^2.1.0",
|
|
66
|
-
"commander": "^14.0.
|
|
66
|
+
"commander": "^14.0.3",
|
|
67
67
|
"dotenv": "^17.2.3",
|
|
68
68
|
"jiti": "^2.6.1",
|
|
69
69
|
"js-sha256": "^0.11.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"zod": "^4.3.6"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@ai-sdk/anthropic": "^3.0.
|
|
77
|
+
"@ai-sdk/anthropic": "^3.0.34",
|
|
78
78
|
"@types/node": "^25.1.0",
|
|
79
79
|
"@vitest/coverage-v8": "^4.0.18",
|
|
80
80
|
"ajv": "^8.17.1",
|