markform 0.1.26 → 0.1.28

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/dist/cli.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
- import { t as runCli } from "./cli-BMQ9k9z7.mjs";
2
+ import { t as runCli } from "./cli-DCNF1zx5.mjs";
3
3
 
4
4
  export { runCli };
@@ -62,6 +62,10 @@ declare const TimelineEntrySchema: z.ZodObject<{
62
62
  input: z.ZodNumber;
63
63
  output: z.ZodNumber;
64
64
  }, z.core.$strip>;
65
+ llmCallDurationMs: z.ZodOptional<z.ZodNumber>;
66
+ llmCallCount: z.ZodOptional<z.ZodNumber>;
67
+ responseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
+ requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
69
  toolCalls: z.ZodArray<z.ZodObject<{
66
70
  tool: z.ZodString;
67
71
  startedAt: z.ZodString;
@@ -251,6 +255,8 @@ declare const FillRecordSchema: z.ZodObject<{
251
255
  cancelled: "cancelled";
252
256
  }>;
253
257
  statusDetail: z.ZodOptional<z.ZodString>;
258
+ errorType: z.ZodOptional<z.ZodString>;
259
+ errorCode: z.ZodOptional<z.ZodString>;
254
260
  formProgress: z.ZodObject<{
255
261
  totalFields: z.ZodNumber;
256
262
  requiredFields: z.ZodNumber;
@@ -332,6 +338,10 @@ declare const FillRecordSchema: z.ZodObject<{
332
338
  input: z.ZodNumber;
333
339
  output: z.ZodNumber;
334
340
  }, z.core.$strip>;
341
+ llmCallDurationMs: z.ZodOptional<z.ZodNumber>;
342
+ llmCallCount: z.ZodOptional<z.ZodNumber>;
343
+ responseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
344
+ requestIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
335
345
  toolCalls: z.ZodArray<z.ZodObject<{
336
346
  tool: z.ZodString;
337
347
  startedAt: z.ZodString;
@@ -366,8 +376,73 @@ declare const FillRecordSchema: z.ZodObject<{
366
376
  executionThreads: z.ZodArray<z.ZodString>;
367
377
  }, z.core.$strip>;
368
378
  customData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
379
+ eventLog: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
380
+ type: z.ZodLiteral<"turn_start">;
381
+ timestamp: z.ZodString;
382
+ turnNumber: z.ZodNumber;
383
+ issuesCount: z.ZodNumber;
384
+ order: z.ZodNumber;
385
+ executionId: z.ZodString;
386
+ }, z.core.$strip>, z.ZodObject<{
387
+ type: z.ZodLiteral<"turn_complete">;
388
+ timestamp: z.ZodString;
389
+ turnNumber: z.ZodNumber;
390
+ patchesApplied: z.ZodNumber;
391
+ patchesRejected: z.ZodNumber;
392
+ issuesAddressed: z.ZodNumber;
393
+ coercionWarnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
394
+ patchIndex: z.ZodNumber;
395
+ fieldId: z.ZodString;
396
+ message: z.ZodString;
397
+ coercion: z.ZodEnum<{
398
+ string_to_list: "string_to_list";
399
+ url_to_list: "url_to_list";
400
+ option_to_array: "option_to_array";
401
+ boolean_to_checkbox: "boolean_to_checkbox";
402
+ array_to_checkboxes: "array_to_checkboxes";
403
+ }>;
404
+ }, z.core.$strip>>>;
405
+ executionId: z.ZodOptional<z.ZodString>;
406
+ }, z.core.$strip>, z.ZodObject<{
407
+ type: z.ZodLiteral<"llm_call_start">;
408
+ timestamp: z.ZodString;
409
+ model: z.ZodString;
410
+ executionId: z.ZodString;
411
+ }, z.core.$strip>, z.ZodObject<{
412
+ type: z.ZodLiteral<"llm_call_end">;
413
+ timestamp: z.ZodString;
414
+ model: z.ZodString;
415
+ inputTokens: z.ZodNumber;
416
+ outputTokens: z.ZodNumber;
417
+ executionId: z.ZodString;
418
+ durationMs: z.ZodOptional<z.ZodNumber>;
419
+ responseId: z.ZodOptional<z.ZodString>;
420
+ requestId: z.ZodOptional<z.ZodString>;
421
+ error: z.ZodOptional<z.ZodString>;
422
+ }, z.core.$strip>, z.ZodObject<{
423
+ type: z.ZodLiteral<"tool_start">;
424
+ timestamp: z.ZodString;
425
+ name: z.ZodString;
426
+ input: z.ZodUnknown;
427
+ executionId: z.ZodString;
428
+ }, z.core.$strip>, z.ZodObject<{
429
+ type: z.ZodLiteral<"tool_end">;
430
+ timestamp: z.ZodString;
431
+ name: z.ZodString;
432
+ output: z.ZodUnknown;
433
+ durationMs: z.ZodNumber;
434
+ error: z.ZodOptional<z.ZodString>;
435
+ executionId: z.ZodString;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ type: z.ZodLiteral<"web_search">;
438
+ timestamp: z.ZodString;
439
+ query: z.ZodString;
440
+ resultCount: z.ZodNumber;
441
+ provider: z.ZodString;
442
+ executionId: z.ZodString;
443
+ }, z.core.$strip>], "type">>>;
369
444
  }, z.core.$strip>;
370
445
  type FillRecord = z.infer<typeof FillRecordSchema>;
371
446
  //#endregion
372
447
  export { ToolSummary as _, FillRecordStatus as a, TimelineEntrySchema as c, TimingBreakdownItemSchema as d, TimingBreakdownSchema as f, ToolStatsSchema as g, ToolStats as h, FillRecordSchema as i, TimingBreakdown as l, ToolCallRecordSchema as m, ExecutionMetadataSchema as n, FillRecordStatusSchema as o, ToolCallRecord as p, FillRecord as r, TimelineEntry as s, ExecutionMetadata as t, TimingBreakdownItem as u, ToolSummarySchema as v };
373
- //# sourceMappingURL=fillRecord-V3vlyobd.d.mts.map
448
+ //# sourceMappingURL=fillRecord-CncFQ23t.d.mts.map
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { $ as HarnessConfigSchema, $n as TableRowResponseSchema, $t as SetCheckboxesPatch, A as ExecutionPlan, An as SourcePositionSchema, Ar as YearFieldSchema, At as ParsedForm, B as FieldPriorityLevel, Bn as StringListValueSchema, Bt as ProgressSummarySchema, C as DateFieldSchema, Cn as SimpleCheckboxState, Cr as WireResponseStep, Ct as NumberFieldSchema, D as DocumentationBlockSchema, Dn as SingleSelectValue, Dr as WireToolResult, Dt as OptionId, E as DocumentationBlock, En as SingleSelectFieldSchema, Er as WireToolCallSchema, Et as Option, F as FieldBase, Fn as StringField, Ft as ProgressCounts, G as FieldSchema, Gn as SyntaxStyle, Gt as SessionFinal, H as FieldProgressSchema, Hn as StringValueSchema, Ht as QualifiedOptionRef, I as FieldGroup, In as StringFieldSchema, It as ProgressCountsSchema, J as FillMode, Jn as TableField, Jt as SessionTranscriptSchema, K as FieldValue, Kn as TableColumn, Kt as SessionFinalSchema, L as FieldGroupSchema, Ln as StringListField, Lt as ProgressState, M as ExplicitCheckboxValue, Mn as SourceRangeSchema, Mr as YearValueSchema, Mt as PatchRejection, N as ExplicitCheckboxValueSchema, Nn as StepResult, Nt as PatchSchema, O as DocumentationTag, On as SingleSelectValueSchema, Or as WireToolResultSchema, Ot as OptionIdSchema, P as Field, Pn as StepResultSchema, Pt as PatchWarning, Q as HarnessConfig, Qn as TableRowResponse, Qt as SessionTurnStats, R as FieldKind, Rn as StringListFieldSchema, Rt as ProgressStateSchema, S as DateField, Sn as SeveritySchema, Sr as WireResponseFormatSchema, St as NumberField, T as DateValueSchema, Tn as SingleSelectField, Tr as WireToolCall, Tt as NumberValueSchema, U as FieldResponse, Un as StructureSummary, Ut as RunMode, V as FieldProgress, Vn as StringValue, Vt as QualifiedColumnRef, W as FieldResponseSchema, Wn as StructureSummarySchema, Wt as RunModeSchema, X as FormSchemaSchema, Xn as TableRowPatch, Xt as SessionTurnContext, Y as FormSchema, Yn as TableFieldSchema, Yt as SessionTurn, Z as FrontmatterHarnessConfig, Zn as TableRowPatchSchema, Zt as SessionTurnSchema, _ as CheckboxesValueSchema, _n as SetUrlPatch, _r as WireFormat, _t as MultiSelectFieldSchema, a as ApprovalMode, an as SetNumberPatch, ar as UrlListFieldSchema, at as InspectResult, b as ColumnTypeName, bn as SetYearPatchSchema, br as WireRequestFormatSchema, bt as NodeType, c as CheckboxMode, cn as SetSingleSelectPatchSchema, cr as UrlValue, ct as IssueReasonSchema, d as CheckboxProgressCountsSchema, dn as SetStringPatch, dr as ValidationIssueSchema, dt as MarkformFrontmatter, en as SetCheckboxesPatchSchema, er as TableValue, et as Id, f as CheckboxValue, fn as SetStringPatchSchema, fr as ValidatorContext, ft as MarkformFrontmatterSchema, g as CheckboxesValue, gn as SetUrlListPatchSchema, gr as ValidatorRegistry, gt as MultiSelectField, h as CheckboxesFieldSchema, hn as SetUrlListPatch, hr as ValidatorRefSchema, ht as MultiCheckboxStateSchema, i as ApplyResultSchema, in as SetMultiSelectPatchSchema, ir as UrlListField, it as InspectIssueSchema, j as ExecutionPlanItem, jn as SourceRange, jr as YearValue, jt as Patch, k as DocumentationTagSchema, kn as SourcePosition, kr as YearField, kt as OptionSchema, l as CheckboxModeSchema, ln as SetStringListPatch, lr as UrlValueSchema, lt as IssueScope, m as CheckboxesField, mn as SetTablePatchSchema, mr as ValidatorRef, mt as MultiCheckboxState, n as AnswerStateSchema, nn as SetDatePatchSchema, nr as UrlField, nt as IdSchema, o as CellResponse, on as SetNumberPatchSchema, or as UrlListValue, ot as InspectResultSchema, p as CheckboxValueSchema, pn as SetTablePatch, pr as ValidatorFn, pt as MarkformSectionInputSchema, q as FieldValueSchema, qn as TableColumnSchema, qt as SessionTranscript, r as ApplyResult, rn as SetMultiSelectPatch, rr as UrlFieldSchema, rt as InspectIssue, s as CellResponseSchema, sn as SetSingleSelectPatch, sr as UrlListValueSchema, st as IssueReason, t as AnswerState, tn as SetDatePatch, tr as TableValueSchema, tt as IdIndexEntry, u as CheckboxProgressCounts, un as SetStringListPatchSchema, ur as ValidationIssue, ut as IssueScopeSchema, v as ClearFieldPatch, vn as SetUrlPatchSchema, vr as WireFormatSchema, vt as MultiSelectValue, w as DateValue, wn as SimpleCheckboxStateSchema, wr as WireResponseStepSchema, wt as NumberValue, x as ColumnTypeNameSchema, xn as Severity, xr as WireResponseFormat, xt as Note, y as ClearFieldPatchSchema, yn as SetYearPatch, yr as WireRequestFormat, yt as MultiSelectValueSchema, z as FieldKindSchema, zn as StringListValue, zt as ProgressSummary } from "./coreTypes-CxpqKpBA.mjs";
3
- import { _ as ToolSummary, a as FillRecordStatus, c as TimelineEntrySchema, d as TimingBreakdownItemSchema, f as TimingBreakdownSchema, g as ToolStatsSchema, h as ToolStats, i as FillRecordSchema, l as TimingBreakdown, m as ToolCallRecordSchema, n as ExecutionMetadataSchema, o as FillRecordStatusSchema, p as ToolCallRecord, r as FillRecord, s as TimelineEntry, t as ExecutionMetadata, u as TimingBreakdownItem, v as ToolSummarySchema } from "./fillRecord-V3vlyobd.mjs";
3
+ import { _ as ToolSummary, a as FillRecordStatus, c as TimelineEntrySchema, d as TimingBreakdownItemSchema, f as TimingBreakdownSchema, g as ToolStatsSchema, h as ToolStats, i as FillRecordSchema, l as TimingBreakdown, m as ToolCallRecordSchema, n as ExecutionMetadataSchema, o as FillRecordStatusSchema, p as ToolCallRecord, r as FillRecord, s as TimelineEntry, t as ExecutionMetadata, u as TimingBreakdownItem, v as ToolSummarySchema } from "./fillRecord-CncFQ23t.mjs";
4
4
  import { LanguageModel, Tool } from "ai";
5
5
 
6
6
  //#region src/errors.d.ts
@@ -1005,12 +1005,16 @@ interface FillCallbacks {
1005
1005
  model: string; /** Execution thread ID for parallel tracking */
1006
1006
  executionId: string;
1007
1007
  }): void;
1008
- /** Called after an LLM response */
1008
+ /** Called after an LLM response (including failed calls) */
1009
1009
  onLlmCallEnd?(call: {
1010
1010
  model: string;
1011
1011
  inputTokens: number;
1012
1012
  outputTokens: number; /** Execution thread ID for parallel tracking */
1013
- executionId: string;
1013
+ executionId: string; /** Duration of the generateText() call in milliseconds */
1014
+ durationMs?: number; /** Provider response ID (e.g., "chatcmpl-..." for OpenAI) */
1015
+ responseId?: string; /** Provider request ID from response headers (e.g., x-request-id) */
1016
+ requestId?: string; /** Error message when the LLM call failed (timeout, rate limit, network error) */
1017
+ error?: string;
1014
1018
  }): void;
1015
1019
  /** Called when a parallel batch starts execution */
1016
1020
  onBatchStart?(info: {
@@ -1172,6 +1176,16 @@ interface FillOptions {
1172
1176
  * @default 'required'
1173
1177
  */
1174
1178
  toolChoice?: 'auto' | 'required';
1179
+ /**
1180
+ * Maximum retries for transient API errors (429, 503, etc.).
1181
+ * Passed to the AI SDK's `generateText()` which handles exponential backoff.
1182
+ *
1183
+ * Set to 0 to disable AI SDK retries and handle retries externally
1184
+ * (recommended for production harnesses that need full control over retry behavior).
1185
+ *
1186
+ * @default 3 (DEFAULT_MAX_RETRIES from settings.ts)
1187
+ */
1188
+ maxRetries?: number;
1175
1189
  }
1176
1190
  /**
1177
1191
  * Progress information for each turn.
@@ -1210,7 +1224,9 @@ type FillStatus = {
1210
1224
  } | {
1211
1225
  ok: false;
1212
1226
  reason: 'max_turns' | 'batch_limit' | 'cancelled';
1213
- message?: string;
1227
+ message?: string; /** Error class name (e.g., 'AbortError' for signal cancellation) */
1228
+ errorType?: string; /** HTTP status code or error code, if available */
1229
+ errorCode?: string;
1214
1230
  } | {
1215
1231
  ok: false;
1216
1232
  reason: 'error';
@@ -1225,7 +1241,9 @@ type FillStatus = {
1225
1241
  * Not serialized into FillRecord — use for in-memory diagnostics, logging,
1226
1242
  * and real-time error handling.
1227
1243
  */
1228
- error?: Error;
1244
+ error?: Error; /** Error class name (e.g., 'AbortError', 'APICallError', 'MarkformLlmError') */
1245
+ errorType?: string; /** HTTP status code or error code, if available */
1246
+ errorCode?: string;
1229
1247
  };
1230
1248
  /**
1231
1249
  * Result of the fillForm operation.
@@ -1491,6 +1509,8 @@ declare class FillRecordCollector implements FillCallbacks {
1491
1509
  private events;
1492
1510
  private explicitStatus?;
1493
1511
  private explicitStatusDetail?;
1512
+ private explicitErrorType?;
1513
+ private explicitErrorCode?;
1494
1514
  private pendingToolCalls;
1495
1515
  private pendingLlmCalls;
1496
1516
  constructor(options: FillRecordCollectorOptions);
@@ -1510,6 +1530,10 @@ declare class FillRecordCollector implements FillCallbacks {
1510
1530
  inputTokens: number;
1511
1531
  outputTokens: number;
1512
1532
  executionId: string;
1533
+ durationMs?: number;
1534
+ responseId?: string;
1535
+ requestId?: string;
1536
+ error?: string;
1513
1537
  }): void;
1514
1538
  onToolStart(call: {
1515
1539
  name: string;
@@ -1536,7 +1560,10 @@ declare class FillRecordCollector implements FillCallbacks {
1536
1560
  /**
1537
1561
  * Set explicit status (overrides auto-detection from progress).
1538
1562
  */
1539
- setStatus(status: FillRecordStatus, detail?: string): void;
1563
+ setStatus(status: FillRecordStatus, detail?: string, errorInfo?: {
1564
+ errorType?: string;
1565
+ errorCode?: string;
1566
+ }): void;
1540
1567
  /**
1541
1568
  * Assemble the complete FillRecord from collected events.
1542
1569
  */
@@ -1545,6 +1572,13 @@ declare class FillRecordCollector implements FillCallbacks {
1545
1572
  private findTurnKeyForExecutionId;
1546
1573
  private normalizeInput;
1547
1574
  private extractResultCount;
1575
+ /**
1576
+ * Sanitize event log for JSON serialization.
1577
+ * Tool input/output values are typed as `unknown` and may contain
1578
+ * non-JSON-safe values (BigInt, circular objects, class instances)
1579
+ * from custom tools. Sanitize these before exposing in the fill record.
1580
+ */
1581
+ private sanitizeEventLog;
1548
1582
  private calculateLlmTotals;
1549
1583
  private calculateToolSummary;
1550
1584
  private extractResultCountFromOutput;
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
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-DIv9Aabl.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-4jZmkGKW.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-Dy3cDjDS.mjs";
3
+ import { At as isAbortError, C as isFormComplete, Ct as MarkformConfigError, Dt as MarkformPatchError, E as serializeReport, Et as MarkformParseError, Ft as isPatchError, It as isRetryableError, Lt as isValidationError, M as parseMarkdownTable, Mt as isLlmError, N as parseRawTable, Nt as isMarkformError, Ot as MarkformValidationError, Pt as isParseError, S as computeStructureSummary, St as MarkformAbortError, Tt as MarkformLlmError, _ as inspect, b as computeFormState, d as coerceInputContext, f as coerceToFieldPatch, j as parseCellValue, jt as isConfigError, kt as ParseError, m as applyPatches, p as findFieldById, v as validate, w as serializeForm, wt as MarkformError, x as computeProgressSummary, y as computeAllSummaries } from "./prompts-B47qW6SB.mjs";
4
+ import { A as MockAgent, B as fieldToJsonSchema, F as isCellRef, G as injectHeaderIds, H as parseForm, I as isFieldRef, 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, _ 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-BQG3HCjU.mjs";
5
5
  import { n as serializeSession, t as parseSession } from "./session-BW9jtYNV.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 };