markform 0.1.14 → 0.1.16
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 +48 -39
- package/dist/ai-sdk.d.mts +3 -2
- package/dist/ai-sdk.mjs +3 -2
- package/dist/ai-sdk.mjs.map +1 -0
- package/dist/{apply-CUH_16RD.mjs → apply-CXsI5N9x.mjs} +639 -9
- package/dist/apply-CXsI5N9x.mjs.map +1 -0
- package/dist/bin.mjs +3 -2
- package/dist/bin.mjs.map +1 -0
- package/dist/{cli-ixzNVirs.mjs → cli-BsFessUW.mjs} +713 -120
- package/dist/cli-BsFessUW.mjs.map +1 -0
- package/dist/cli.d.mts +2 -1
- package/dist/cli.mjs +1 -1
- package/dist/{coreTypes-CnKsB1H3.d.mts → coreTypes-DE6Giau5.d.mts} +10 -1
- package/dist/coreTypes-DiCddBKu.mjs +2 -1
- package/dist/coreTypes-DiCddBKu.mjs.map +1 -0
- package/dist/index.d.mts +15 -2
- package/dist/index.mjs +2 -2
- package/dist/session-XDrocA3j.mjs +2 -1
- package/dist/session-XDrocA3j.mjs.map +1 -0
- package/dist/{shared-D3dNi-Gn.mjs → shared-CCq4haEV.mjs} +9 -1
- package/dist/shared-CCq4haEV.mjs.map +1 -0
- package/dist/shared-fUKfJ1UA.mjs +4 -0
- package/dist/{src-BKRKMdgR.mjs → src-Dv3IZSQU.mjs} +15 -6
- package/dist/src-Dv3IZSQU.mjs.map +1 -0
- package/docs/markform-reference.md +58 -7
- package/docs/markform-spec.md +142 -0
- package/examples/movie-research/movie-deep-research-mock-filled.form.md +64 -40
- package/examples/movie-research/movie-deep-research.form.md +58 -37
- package/examples/movie-research/movie-research-demo.form.md +9 -6
- package/examples/rejection-test/rejection-test-mock-filled.form.md +5 -7
- package/examples/rejection-test/rejection-test-mock-filled.report.md +4 -2
- package/examples/rejection-test/rejection-test-mock-filled.schema.json +1 -1
- package/examples/rejection-test/rejection-test.form.md +5 -7
- package/examples/rejection-test/rejection-test.session.yaml +10 -10
- package/examples/simple/simple-comment-syntax.form.md +79 -0
- package/examples/simple/simple-mock-filled.form.md +20 -9
- package/examples/simple/simple-mock-filled.report.md +30 -7
- package/examples/simple/simple-skipped-filled.form.md +22 -10
- package/examples/simple/simple-skipped-filled.report.md +27 -4
- package/examples/simple/simple-skipped-filled.yml +1 -1
- package/examples/simple/simple-with-skips.session.yaml +35 -19
- package/examples/simple/simple.form.md +20 -9
- package/examples/simple/simple.raw.md +18 -25
- package/examples/simple/simple.session.yaml +35 -19
- package/examples/startup-deep-research/startup-deep-research.form.md +126 -103
- package/examples/startup-research/startup-research-mock-filled.form.md +19 -10
- package/examples/startup-research/startup-research.form.md +36 -29
- package/package.json +9 -3
- package/dist/shared-CNqwaxUt.mjs +0 -4
package/dist/bin.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { t as runCli } from "./cli-
|
|
4
|
+
import { t as runCli } from "./cli-BsFessUW.mjs";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { config } from "dotenv";
|
|
@@ -30,4 +30,5 @@ runCli().catch((error) => {
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
|
-
export { };
|
|
33
|
+
export { };
|
|
34
|
+
//# sourceMappingURL=bin.mjs.map
|
package/dist/bin.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.mjs","names":[],"sources":["../src/cli/bin.ts"],"sourcesContent":["#!/usr/bin/env node\n/**\n * CLI entry point for the markform command.\n *\n * Loads environment variables from .env files before running the CLI.\n * Loading order: .env.local first (local overrides), then .env (defaults).\n * Existing environment variables are not overwritten.\n */\n\nimport { existsSync } from 'node:fs';\nimport { resolve } from 'node:path';\n\nimport { config } from 'dotenv';\n\nimport { runCli } from './cli.js';\n\n// Load .env files from current working directory\n// .env.local takes precedence over .env, shell env takes precedence over both\nconst cwd = process.cwd();\nfor (const file of ['.env.local', '.env']) {\n const path = resolve(cwd, file);\n if (existsSync(path)) {\n // quiet: true suppresses the tip messages added in dotenv v17\n config({ path, override: false, debug: false, quiet: true });\n }\n}\n\nrunCli().catch((error: unknown) => {\n console.error('Fatal error:', error);\n process.exit(1);\n});\n"],"mappings":";;;;;;;;;;;;;;;;;AAkBA,MAAM,MAAM,QAAQ,KAAK;AACzB,KAAK,MAAM,QAAQ,CAAC,cAAc,OAAO,EAAE;CACzC,MAAM,OAAO,QAAQ,KAAK,KAAK;AAC/B,KAAI,WAAW,KAAK,CAElB,QAAO;EAAE;EAAM,UAAU;EAAO,OAAO;EAAO,OAAO;EAAM,CAAC;;AAIhE,QAAQ,CAAC,OAAO,UAAmB;AACjC,SAAQ,MAAM,gBAAgB,MAAM;AACpC,SAAQ,KAAK,EAAE;EACf"}
|