markform 0.1.25 → 0.1.27
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 +11 -10
- package/dist/ai-sdk.mjs +1 -1
- package/dist/bin.mjs +1 -1
- package/dist/{cli-B1T8kMFt.mjs → cli-yBrJefDI.mjs} +3 -3
- package/dist/{cli-B1T8kMFt.mjs.map → cli-yBrJefDI.mjs.map} +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/{fillRecord-V3vlyobd.d.mts → fillRecord-CncFQ23t.d.mts} +76 -1
- package/dist/index.d.mts +30 -6
- package/dist/index.mjs +2 -2
- package/dist/{prompts-DaPKumGY.mjs → prompts-CwEV0X5z.mjs} +14 -14
- package/dist/prompts-CwEV0X5z.mjs.map +1 -0
- package/dist/render.d.mts +1 -1
- package/dist/{src-DrXmaOWl.mjs → src-DMIq0BFC.mjs} +222 -22
- package/dist/src-DMIq0BFC.mjs.map +1 -0
- package/docs/markform-apis.md +72 -4
- package/docs/markform-reference.md +4 -6
- package/docs/markform-spec.md +39 -24
- package/examples/markform-demo-playbook.md +17 -15
- package/examples/simple/simple-mock-filled.report.md +4 -4
- package/examples/simple/simple-skipped-filled.report.md +8 -8
- package/examples/simple/simple.raw.md +9 -9
- package/package.json +1 -1
- package/dist/prompts-DaPKumGY.mjs.map +0 -1
- package/dist/src-DrXmaOWl.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -49,16 +49,17 @@ place.
|
|
|
49
49
|
on GitHub, so **forms look like regular Markdown**. (Jinja-style tag syntax also works
|
|
50
50
|
if you prefer.)
|
|
51
51
|
|
|
52
|
-
- Form-filling can scale to **hundreds of fields**
|
|
53
|
-
concurrent LLM requests
|
|
54
|
-
research processes or workflows.
|
|
55
|
-
(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- The CLI has a built-in web
|
|
59
|
-
debugging of forms
|
|
60
|
-
|
|
61
|
-
|
|
52
|
+
- Form-filling can scale to **hundreds of fields** and complex tabular data.
|
|
53
|
+
A form can be filled by **dozens of concurrent LLM requests**, which makes it possible
|
|
54
|
+
to systemetize extensive research processes or workflows.
|
|
55
|
+
(Also, a a detailed **JSON fill record** of the form-filling process is kept, so you
|
|
56
|
+
can review or debug agent behavior and tool usage.)
|
|
57
|
+
|
|
58
|
+
- The optional CLI has a small, built-in web server, **`markform serve`**, for easy
|
|
59
|
+
viewing and debugging of forms.
|
|
60
|
+
It including a form web UI, the form schema, and a waterfall-style overview of the
|
|
61
|
+
fill record, including performance details, which is useful for large, concurrently
|
|
62
|
+
filled forms).
|
|
62
63
|
|
|
63
64
|
## Simple Example: Research a Movie
|
|
64
65
|
|
package/dist/ai-sdk.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { R as PatchSchema } from "./coreTypes-DIv9Aabl.mjs";
|
|
3
|
-
import { _ as inspect, m as applyPatches, p as findFieldById, s as getPatchFormatHint, u as getFieldIdFromRef, w as serializeForm } from "./prompts-
|
|
3
|
+
import { _ as inspect, m as applyPatches, p as findFieldById, s as getPatchFormatHint, u as getFieldIdFromRef, w as serializeForm } from "./prompts-CwEV0X5z.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/integrations/vercelAiSdkTools.ts
|
package/dist/bin.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { R as PatchSchema } from "./coreTypes-DIv9Aabl.mjs";
|
|
3
|
-
import { $ as DEFAULT_RESEARCH_MAX_PATCHES_PER_TURN, E as serializeReport, H as AGENT_ROLE, K as DEFAULT_MAX_PATCHES_PER_TURN, Q as DEFAULT_RESEARCH_MAX_ISSUES_PER_TURN, S as computeStructureSummary, T as serializeRawMarkdown, U as DEFAULT_FORMS_DIR, W as DEFAULT_MAX_ISSUES_PER_TURN, X as DEFAULT_PORT, Y as DEFAULT_MAX_TURNS, _ as inspect, _t as parseModelIdForDisplay, at as deriveExportPath, c as filterIssuesByOrder, ct as deriveSchemaPath, d as coerceInputContext, f as coerceToFieldPatch, ft as SUGGESTED_LLMS, gt as hasWebSearchSupport, h as getAllFields, it as USER_ROLE, k as validateSyntaxConsistency, l as filterIssuesByScope, lt as detectFileType, m as applyPatches, mt as formatSuggestedLlms, nt as MAX_FORMS_IN_MENU, ot as deriveFillRecordPath, p as findFieldById, pt as WEB_SEARCH_CONFIG, rt as REPORT_EXTENSION, st as deriveReportPath, u as getFieldIdFromRef, ut as parseRolesFlag, w as serializeForm, x as computeProgressSummary } from "./prompts-
|
|
4
|
-
import { C as getProviderInfo, D as createLiveAgent, E as buildMockWireFormat, H as parseForm, N as createHarness, O as FillRecordCollector, T as resolveModel, V as formToJsonSchema, _ as resolveHarnessConfig, g as formatFillRecordSummary, h as stripUnstableFillRecordFields, i as runResearch, j as createMockAgent, k as computeExecutionPlan, m as isEmptyFillRecord, n as isResearchForm, t as VERSION, v as fillForm, w as getProviderNames } from "./src-
|
|
3
|
+
import { $ as DEFAULT_RESEARCH_MAX_PATCHES_PER_TURN, E as serializeReport, H as AGENT_ROLE, K as DEFAULT_MAX_PATCHES_PER_TURN, Q as DEFAULT_RESEARCH_MAX_ISSUES_PER_TURN, S as computeStructureSummary, T as serializeRawMarkdown, U as DEFAULT_FORMS_DIR, W as DEFAULT_MAX_ISSUES_PER_TURN, X as DEFAULT_PORT, Y as DEFAULT_MAX_TURNS, _ as inspect, _t as parseModelIdForDisplay, at as deriveExportPath, c as filterIssuesByOrder, ct as deriveSchemaPath, d as coerceInputContext, f as coerceToFieldPatch, ft as SUGGESTED_LLMS, gt as hasWebSearchSupport, h as getAllFields, it as USER_ROLE, k as validateSyntaxConsistency, l as filterIssuesByScope, lt as detectFileType, m as applyPatches, mt as formatSuggestedLlms, nt as MAX_FORMS_IN_MENU, ot as deriveFillRecordPath, p as findFieldById, pt as WEB_SEARCH_CONFIG, rt as REPORT_EXTENSION, st as deriveReportPath, u as getFieldIdFromRef, ut as parseRolesFlag, w as serializeForm, x as computeProgressSummary } from "./prompts-CwEV0X5z.mjs";
|
|
4
|
+
import { C as getProviderInfo, D as createLiveAgent, E as buildMockWireFormat, H as parseForm, N as createHarness, O as FillRecordCollector, T as resolveModel, V as formToJsonSchema, _ as resolveHarnessConfig, g as formatFillRecordSummary, h as stripUnstableFillRecordFields, i as runResearch, j as createMockAgent, k as computeExecutionPlan, m as isEmptyFillRecord, n as isResearchForm, t as VERSION, v as fillForm, w as getProviderNames } from "./src-DMIq0BFC.mjs";
|
|
5
5
|
import { n as serializeSession } from "./session-BW9jtYNV.mjs";
|
|
6
6
|
import { _ as writeFile$1, a as formatPath, c as logError, d as logTiming, f as logVerbose, g as stripHtmlComments, h as shouldUseColors, i as formatOutput, l as logInfo, m as readFile$1, n as createSpinner, o as getCommandContext, p as logWarn, r as ensureFormsDir, s as logDryRun, t as OUTPUT_FORMATS, u as logSuccess } from "./shared-BszoSkAO.mjs";
|
|
7
7
|
import { a as renderJsonContent, c as renderViewContent, i as highlightYamlValue, l as renderYamlContent, o as renderMarkdownContent, r as renderFillRecordContent, s as renderSourceContent, u as escapeHtml } from "./fillRecordRenderer-BqRPHPmE.mjs";
|
|
@@ -6676,4 +6676,4 @@ async function runCli() {
|
|
|
6676
6676
|
|
|
6677
6677
|
//#endregion
|
|
6678
6678
|
export { runCli as t };
|
|
6679
|
-
//# sourceMappingURL=cli-
|
|
6679
|
+
//# sourceMappingURL=cli-yBrJefDI.mjs.map
|