markform 0.1.22 → 0.1.23

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/bin.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { t as runCli } from "./cli-C8F9yDsv.mjs";
3
+ import { t as runCli } from "./cli-ZcOC47KK.mjs";
4
4
  import { resolve } from "node:path";
5
5
  import { existsSync } from "node:fs";
6
6
  import { config } from "dotenv";
@@ -1,10 +1,10 @@
1
1
 
2
2
  import { R as PatchSchema } from "./coreTypes-CTLr-NGd.mjs";
3
- import { $ as WEB_SEARCH_CONFIG, A as DEFAULT_FORMS_DIR, F as DEFAULT_MAX_TURNS, G as deriveExportPath, H as MAX_FORMS_IN_MENU, I as DEFAULT_PORT, J as deriveSchemaPath, K as deriveFillRecordPath, N as DEFAULT_MAX_PATCHES_PER_TURN, Q as SUGGESTED_LLMS, R as DEFAULT_RESEARCH_MAX_ISSUES_PER_TURN, U as REPORT_EXTENSION, W as USER_ROLE, X as parseRolesFlag, Y as detectFileType, c as computeProgressSummary, d as serializeForm, et as formatSuggestedLlms, f as serializeRawMarkdown, g as validateSyntaxConsistency, i as inspect, j as DEFAULT_MAX_ISSUES_PER_TURN, k as AGENT_ROLE, l as computeStructureSummary, n as getAllFields, nt as hasWebSearchSupport, p as serializeReport, q as deriveReportPath, rt as parseModelIdForDisplay, t as applyPatches, z as DEFAULT_RESEARCH_MAX_PATCHES_PER_TURN } from "./apply-C7mO7VkZ.mjs";
4
- import { C as resolveModel, D as computeExecutionPlan, E as FillRecordCollector, H as formToJsonSchema, S as getProviderNames, T as createLiveAgent, U as parseForm, _ as fillForm, g as resolveHarnessConfig, h as formatFillRecordSummary, i as runResearch, j as createHarness, k as createMockAgent, m as stripUnstableFillRecordFields, n as isResearchForm, t as VERSION, w as buildMockWireFormat, x as getProviderInfo } from "./src-CbRnGzMK.mjs";
3
+ import { $ as WEB_SEARCH_CONFIG, A as DEFAULT_FORMS_DIR, F as DEFAULT_MAX_TURNS, G as deriveExportPath, H as MAX_FORMS_IN_MENU, I as DEFAULT_PORT, J as deriveSchemaPath, K as deriveFillRecordPath, N as DEFAULT_MAX_PATCHES_PER_TURN, Q as SUGGESTED_LLMS, R as DEFAULT_RESEARCH_MAX_ISSUES_PER_TURN, U as REPORT_EXTENSION, W as USER_ROLE, X as parseRolesFlag, Y as detectFileType, c as computeProgressSummary, d as serializeForm, et as formatSuggestedLlms, f as serializeRawMarkdown, g as validateSyntaxConsistency, i as inspect, j as DEFAULT_MAX_ISSUES_PER_TURN, k as AGENT_ROLE, l as computeStructureSummary, n as getAllFields, nt as hasWebSearchSupport, p as serializeReport, q as deriveReportPath, rt as parseModelIdForDisplay, t as applyPatches, z as DEFAULT_RESEARCH_MAX_PATCHES_PER_TURN } from "./apply-KzQztrDV.mjs";
4
+ import { A as createMockAgent, C as getProviderNames, D as FillRecordCollector, E as createLiveAgent, M as createHarness, O as computeExecutionPlan, S as getProviderInfo, T as buildMockWireFormat, U as formToJsonSchema, W as parseForm, _ as fillForm, g as resolveHarnessConfig, h as formatFillRecordSummary, i as runResearch, m as stripUnstableFillRecordFields, n as isResearchForm, t as VERSION, w as resolveModel } from "./src-B2uFvGli.mjs";
5
5
  import { n as serializeSession } from "./session-BCcltrLA.mjs";
6
6
  import { _ as writeFile, 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-CsdT2T7k.mjs";
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-CruJrLkj.mjs";
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-VBQ2vwPV.mjs";
8
8
  import Markdoc from "@markdoc/markdoc";
9
9
  import YAML from "yaml";
10
10
  import { Command } from "commander";
@@ -4677,6 +4677,12 @@ function renderFormHtml(form, tabs) {
4677
4677
  border-radius: 3px;
4678
4678
  margin-left: 0.5rem;
4679
4679
  }
4680
+ .skip-reason {
4681
+ font-size: 0.85rem;
4682
+ color: #6c757d;
4683
+ font-style: italic;
4684
+ margin-top: 0.25rem;
4685
+ }
4680
4686
  .table-container {
4681
4687
  overflow-x: auto;
4682
4688
  }
@@ -5052,8 +5058,8 @@ function renderFieldHtml(field, value, isSkipped, skipReason) {
5052
5058
  const skipped = isSkipped === true;
5053
5059
  const requiredMark = field.required ? "<span class=\"required\">*</span>" : "";
5054
5060
  const typeLabel = `<span class="type-badge">${field.kind}</span>`;
5055
- const skippedText = skipped && skipReason ? `Skipped: ${escapeHtml(skipReason)}` : "Skipped";
5056
- const skippedBadge = skipped ? `<span class="skipped-badge">${skippedText}</span>` : "";
5061
+ const skippedBadge = skipped ? `<span class="skipped-badge">Skipped</span>` : "";
5062
+ const skipReasonHtml = skipped && skipReason ? `<div class="skip-reason">(skipped: ${escapeHtml(skipReason)})</div>` : "";
5057
5063
  const fieldClass = skipped ? "field field-skipped" : "field";
5058
5064
  const disabledAttr = skipped ? " disabled" : "";
5059
5065
  let inputHtml;
@@ -5105,6 +5111,7 @@ function renderFieldHtml(field, value, isSkipped, skipReason) {
5105
5111
  ${escapeHtml(field.label)} ${requiredMark} ${typeLabel} ${skippedBadge}
5106
5112
  </label>
5107
5113
  ${inputHtml}
5114
+ ${skipReasonHtml}
5108
5115
  ${skipButton}
5109
5116
  </div>`;
5110
5117
  }
@@ -6085,4 +6092,4 @@ async function runCli() {
6085
6092
 
6086
6093
  //#endregion
6087
6094
  export { runCli as t };
6088
- //# sourceMappingURL=cli-C8F9yDsv.mjs.map
6095
+ //# sourceMappingURL=cli-ZcOC47KK.mjs.map