markform 0.1.23 → 0.1.24
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 +19 -2
- package/dist/ai-sdk.d.mts +1 -1
- package/dist/ai-sdk.mjs +48 -6
- package/dist/ai-sdk.mjs.map +1 -1
- package/dist/bin.mjs +1 -1
- package/dist/{cli-ZcOC47KK.mjs → cli-B1DhFYBS.mjs} +632 -93
- package/dist/cli-B1DhFYBS.mjs.map +1 -0
- package/dist/cli.d.mts +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/{coreTypes-CTLr-NGd.mjs → coreTypes-CctFK6uE.mjs} +38 -2
- package/dist/coreTypes-CctFK6uE.mjs.map +1 -0
- package/dist/{coreTypes-BlsJkU1w.d.mts → coreTypes-GxzWNXap.d.mts} +137 -3
- package/dist/{fillRecord-DTl5lnK0.d.mts → fillRecord-DeqI2pQ5.d.mts} +25 -1
- package/dist/index.d.mts +4 -28
- package/dist/index.mjs +4 -4
- package/dist/{apply-KzQztrDV.mjs → prompts-BCnYaH4_.mjs} +969 -8
- package/dist/prompts-BCnYaH4_.mjs.map +1 -0
- package/dist/render.d.mts +2 -2
- package/dist/{session-BCcltrLA.mjs → session-BLjN3BkJ.mjs} +2 -2
- package/dist/{session-BCcltrLA.mjs.map → session-BLjN3BkJ.mjs.map} +1 -1
- package/dist/{session-VeSkVrck.mjs → session-D7C7IlEv.mjs} +1 -1
- package/dist/{shared-CsdT2T7k.mjs → shared-CuSRYcIB.mjs} +3 -3
- package/dist/shared-CuSRYcIB.mjs.map +1 -0
- package/dist/{shared-fb0nkzQi.mjs → shared-DtorFV21.mjs} +1 -1
- package/dist/{src-B2uFvGli.mjs → src-C5OWf1dL.mjs} +28 -817
- package/dist/src-C5OWf1dL.mjs.map +1 -0
- package/docs/markform-apis.md +6 -0
- package/docs/markform-reference.md +26 -1
- package/docs/markform-spec.md +11 -3
- package/docs/skill/SKILL.md +119 -0
- package/examples/rejection-test/rejection-test.session.yaml +52 -0
- package/examples/simple/simple-with-skips.session.yaml +78 -0
- package/examples/simple/simple.session.yaml +78 -0
- package/package.json +2 -2
- package/dist/apply-KzQztrDV.mjs.map +0 -1
- package/dist/cli-ZcOC47KK.mjs.map +0 -1
- package/dist/coreTypes-CTLr-NGd.mjs.map +0 -1
- package/dist/shared-CsdT2T7k.mjs.map +0 -1
- package/dist/src-B2uFvGli.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as
|
|
3
|
-
import {
|
|
4
|
-
import { A as
|
|
5
|
-
import { n as serializeSession, t as parseSession } from "./session-
|
|
2
|
+
import { $ as SetStringPatchSchema, A as MarkformSectionInputSchema, At as WireResponseStepSchema, B as ProgressCountsSchema, C as HarnessConfigSchema, Ct as UrlListValueSchema, D as IssueReasonSchema, Dt as WireFormatSchema, E as InspectResultSchema, Et as ValidatorRefSchema, F as NumberValueSchema, G as SessionTranscriptSchema, H as ProgressSummarySchema, I as OptionIdSchema, J as SetDatePatchSchema, K as SessionTurnSchema, L as OptionSchema, M as MultiSelectFieldSchema, Mt as WireToolResultSchema, N as MultiSelectValueSchema, Nt as YearFieldSchema, O as IssueScopeSchema, Ot as WireRequestFormatSchema, P as NumberFieldSchema, Pt as YearValueSchema, Q as SetStringListPatchSchema, R as PatchSchema, S as FormSchemaSchema, St as UrlListFieldSchema, T as InspectIssueSchema, Tt as ValidationIssueSchema, U as RunModeSchema, V as ProgressStateSchema, W as SessionFinalSchema, X as SetNumberPatchSchema, Y as SetMultiSelectPatchSchema, Z as SetSingleSelectPatchSchema, _ as FieldKindSchema, _t as TableFieldSchema, a as CheckboxProgressCountsSchema, at as SimpleCheckboxStateSchema, b as FieldSchema, bt as TableValueSchema, c as CheckboxesValueSchema, ct as SourcePositionSchema, d as DateFieldSchema, dt as StringFieldSchema, et as SetTablePatchSchema, f as DateValueSchema, ft as StringListFieldSchema, g as FieldGroupSchema, gt as TableColumnSchema, h as ExplicitCheckboxValueSchema, ht as StructureSummarySchema, i as CheckboxModeSchema, it as SeveritySchema, j as MultiCheckboxStateSchema, jt as WireToolCallSchema, k as MarkformFrontmatterSchema, kt as WireResponseFormatSchema, l as ClearFieldPatchSchema, lt as SourceRangeSchema, m as DocumentationTagSchema, mt as StringValueSchema, n as ApplyResultSchema, nt as SetUrlPatchSchema, o as CheckboxValueSchema, ot as SingleSelectFieldSchema, p as DocumentationBlockSchema, pt as StringListValueSchema, q as SetCheckboxesPatchSchema, r as CellResponseSchema, rt as SetYearPatchSchema, s as CheckboxesFieldSchema, st as SingleSelectValueSchema, t as AnswerStateSchema, tt as SetUrlListPatchSchema, u as ColumnTypeNameSchema, ut as StepResultSchema, v as FieldProgressSchema, vt as TableRowPatchSchema, w as IdSchema, wt as UrlValueSchema, x as FieldValueSchema, xt as UrlFieldSchema, y as FieldResponseSchema, yt as TableRowResponseSchema } from "./coreTypes-CctFK6uE.mjs";
|
|
3
|
+
import { At as isParseError, C as isFormComplete, Ct as MarkformPatchError, Dt as isConfigError, E as serializeReport, Et as isAbortError, Mt as isRetryableError, Nt as isValidationError, Ot as isLlmError, S as computeStructureSummary, St as MarkformParseError, Tt as ParseError, _ as inspect, b as computeFormState, bt as MarkformError, d as coerceInputContext, f as coerceToFieldPatch, jt as isPatchError, kt as isMarkformError, m as applyPatches, p as findFieldById, v as validate, vt as MarkformAbortError, w as serializeForm, wt as MarkformValidationError, x as computeProgressSummary, xt as MarkformLlmError, y as computeAllSummaries, yt as MarkformConfigError } from "./prompts-BCnYaH4_.mjs";
|
|
4
|
+
import { A as MockAgent, B as fieldToJsonSchema, F as isCellRef, G as injectHeaderIds, H as parseForm, I as isFieldRef, J as parseCellValue, K as findAllHeadings, L as isQualifiedRef, M as FormHarness, N as createHarness, O as FillRecordCollector, P as getFieldId, R as parseScopeRef, S as BUILT_IN_PROVIDERS, U as findAllCheckboxes, V as formToJsonSchema, W as injectCheckboxIds, X as parseRawTable, Y as parseMarkdownTable, _ as resolveHarnessConfig, a as ExecutionMetadataSchema, b as createParallelHarness, c as TimelineEntrySchema, d as ToolCallRecordSchema, f as ToolStatsSchema, g as formatFillRecordSummary, i as runResearch, j as createMockAgent, l as TimingBreakdownItemSchema, n as isResearchForm, o as FillRecordSchema, p as ToolSummarySchema, q as findEnclosingHeadings, r as validateResearchForm, s as FillRecordStatusSchema, t as VERSION, u as TimingBreakdownSchema, v as fillForm, x as scopeIssuesForItem, y as ParallelHarness, z as serializeScopeRef } from "./src-C5OWf1dL.mjs";
|
|
5
|
+
import { n as serializeSession, t as parseSession } from "./session-BLjN3BkJ.mjs";
|
|
6
6
|
|
|
7
7
|
export { AnswerStateSchema, ApplyResultSchema, BUILT_IN_PROVIDERS, CellResponseSchema, CheckboxModeSchema, CheckboxProgressCountsSchema, CheckboxValueSchema, CheckboxesFieldSchema, CheckboxesValueSchema, ClearFieldPatchSchema, ColumnTypeNameSchema, DateFieldSchema, DateValueSchema, DocumentationBlockSchema, DocumentationTagSchema, ExecutionMetadataSchema, ExplicitCheckboxValueSchema, FieldGroupSchema, FieldKindSchema, FieldProgressSchema, FieldResponseSchema, FieldSchema, FieldValueSchema, FillRecordCollector, FillRecordSchema, FillRecordStatusSchema, FormHarness, FormSchemaSchema, HarnessConfigSchema, IdSchema, InspectIssueSchema, InspectResultSchema, IssueReasonSchema, IssueScopeSchema, MarkformAbortError, MarkformConfigError, MarkformError, MarkformFrontmatterSchema, MarkformLlmError, MarkformParseError, MarkformPatchError, MarkformSectionInputSchema, MarkformValidationError, MockAgent, MultiCheckboxStateSchema, MultiSelectFieldSchema, MultiSelectValueSchema, NumberFieldSchema, NumberValueSchema, OptionIdSchema, OptionSchema, ParallelHarness, ParseError, PatchSchema, ProgressCountsSchema, ProgressStateSchema, ProgressSummarySchema, RunModeSchema, SessionFinalSchema, SessionTranscriptSchema, SessionTurnSchema, SetCheckboxesPatchSchema, SetDatePatchSchema, SetMultiSelectPatchSchema, SetNumberPatchSchema, SetSingleSelectPatchSchema, SetStringListPatchSchema, SetStringPatchSchema, SetTablePatchSchema, SetUrlListPatchSchema, SetUrlPatchSchema, SetYearPatchSchema, SeveritySchema, SimpleCheckboxStateSchema, SingleSelectFieldSchema, SingleSelectValueSchema, SourcePositionSchema, SourceRangeSchema, StepResultSchema, StringFieldSchema, StringListFieldSchema, StringListValueSchema, StringValueSchema, StructureSummarySchema, TableColumnSchema, TableFieldSchema, TableRowPatchSchema, TableRowResponseSchema, TableValueSchema, TimelineEntrySchema, TimingBreakdownItemSchema, TimingBreakdownSchema, ToolCallRecordSchema, ToolStatsSchema, ToolSummarySchema, UrlFieldSchema, UrlListFieldSchema, UrlListValueSchema, UrlValueSchema, VERSION, ValidationIssueSchema, ValidatorRefSchema, WireFormatSchema, WireRequestFormatSchema, WireResponseFormatSchema, WireResponseStepSchema, WireToolCallSchema, WireToolResultSchema, YearFieldSchema, YearValueSchema, applyPatches, coerceInputContext, coerceToFieldPatch, computeAllSummaries, computeFormState, computeProgressSummary, computeStructureSummary, createHarness, createMockAgent, createParallelHarness, fieldToJsonSchema, fillForm, findAllCheckboxes, findAllHeadings, findEnclosingHeadings, findFieldById, formToJsonSchema, formatFillRecordSummary, getFieldId, injectCheckboxIds, injectHeaderIds, inspect, isAbortError, isCellRef, isConfigError, isFieldRef, isFormComplete, isLlmError, isMarkformError, isParseError, isPatchError, isQualifiedRef, isResearchForm, isRetryableError, isValidationError, parseCellValue, parseForm, parseMarkdownTable, parseRawTable, parseScopeRef, parseSession, resolveHarnessConfig, runResearch, scopeIssuesForItem, serializeForm, serializeReport, serializeScopeRef, serializeSession, validate, validateResearchForm };
|