kordoc 4.24.2 → 4.24.4
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 +13 -11
- package/dist/{-SRNEV7LS.js → -WND2HWVH.js} +11 -11
- package/dist/{chunk-NJ5RUDCW.js → chunk-3LSHLWTX.js} +3 -3
- package/dist/{chunk-WDSTW3BD.js → chunk-44E52JJ7.js} +2 -2
- package/dist/{chunk-R2GIGE5H.js → chunk-47MTLP4U.js} +2 -2
- package/dist/{chunk-NMFFIUI6.js → chunk-4XVL3OBP.js} +2 -2
- package/dist/{chunk-C6ZVB547.js → chunk-5AHG3XY3.js} +11 -11
- package/dist/{chunk-PNSALBXH.cjs → chunk-6A4KYMQR.cjs} +2 -2
- package/dist/{chunk-PNSALBXH.cjs.map → chunk-6A4KYMQR.cjs.map} +1 -1
- package/dist/{chunk-LMEF7FN5.js → chunk-6CPBNK5O.js} +2 -2
- package/dist/{chunk-MHNJOJQV.js → chunk-A5JDO52L.js} +4 -4
- package/dist/{chunk-M46PB75E.js → chunk-AKIJTKEA.js} +2 -2
- package/dist/{chunk-IGG63DFK.cjs → chunk-BODFTRWA.cjs} +3 -3
- package/dist/{chunk-IGG63DFK.cjs.map → chunk-BODFTRWA.cjs.map} +1 -1
- package/dist/{chunk-VPSF5LEM.js → chunk-BYYZUFPC.js} +11 -8
- package/dist/chunk-BYYZUFPC.js.map +1 -0
- package/dist/{chunk-E6VBLBOO.js → chunk-D4YWVZHD.js} +2 -2
- package/dist/{chunk-E7B5CXYI.js → chunk-DTADAHJD.js} +2 -2
- package/dist/{chunk-JMOAMKAR.js → chunk-E7N6BUJT.js} +12 -9
- package/dist/chunk-E7N6BUJT.js.map +1 -0
- package/dist/{chunk-WJAFE3Z6.js → chunk-FK3JPTHI.js} +2 -2
- package/dist/{chunk-W24TJJNN.js → chunk-GGVHKYKZ.js} +2 -2
- package/dist/{chunk-RIRPLFPN.js → chunk-JHUW5PKO.js} +8 -7
- package/dist/chunk-JHUW5PKO.js.map +1 -0
- package/dist/{chunk-HLTPMSYW.cjs → chunk-KFQNG2EA.cjs} +3 -3
- package/dist/{chunk-HLTPMSYW.cjs.map → chunk-KFQNG2EA.cjs.map} +1 -1
- package/dist/{chunk-4745MFQU.js → chunk-LBOXKGAH.js} +3 -3
- package/dist/{chunk-UNICY546.cjs → chunk-LJ7U7MFN.cjs} +31 -28
- package/dist/chunk-LJ7U7MFN.cjs.map +1 -0
- package/dist/{chunk-3HN65YAL.js → chunk-MC4DPT4I.js} +2 -2
- package/dist/{chunk-TDMBTG7U.js → chunk-MMPBJGWQ.js} +2 -2
- package/dist/{chunk-4XC4O7FJ.js → chunk-QTJTBCTZ.js} +4 -4
- package/dist/{chunk-JFUUFJZW.cjs → chunk-TPKP3WQU.cjs} +6 -6
- package/dist/{chunk-JFUUFJZW.cjs.map → chunk-TPKP3WQU.cjs.map} +1 -1
- package/dist/{chunk-TW3V6FSH.js → chunk-VBY3JQL2.js} +2 -2
- package/dist/{chunk-7NTMM6PO.js → chunk-WMDGGQXJ.js} +2 -2
- package/dist/{chunk-PNX5FYHC.cjs → chunk-WN5X4DT3.cjs} +24 -24
- package/dist/{chunk-PNX5FYHC.cjs.map → chunk-WN5X4DT3.cjs.map} +1 -1
- package/dist/{chunk-KUC5I5MB.js → chunk-YBCW544D.js} +2 -2
- package/dist/{chunk-DHMBPMKC.js → chunk-YEYNBH5W.js} +244 -31
- package/dist/chunk-YEYNBH5W.js.map +1 -0
- package/dist/chunks-2UDUNVGQ.js +10 -0
- package/dist/cli.js +30 -30
- package/dist/{formula-HK2MNZ3Q.cjs → formula-6DJAY3KI.cjs} +9 -9
- package/dist/{formula-HK2MNZ3Q.cjs.map → formula-6DJAY3KI.cjs.map} +1 -1
- package/dist/{formula-U2LZ67KI.js → formula-MPBZ7OMN.js} +3 -3
- package/dist/{formula-DSB574H7.js → formula-NA3LD35B.js} +4 -4
- package/dist/{image-ocr-3QB2HLSI.js → image-ocr-6TGDXUAS.js} +9 -9
- package/dist/{image-ocr-QNIMVE5A.cjs → image-ocr-REM4LZKX.cjs} +17 -17
- package/dist/{image-ocr-QNIMVE5A.cjs.map → image-ocr-REM4LZKX.cjs.map} +1 -1
- package/dist/{image-ocr-J54Q3YWP.js → image-ocr-THA5BASF.js} +6 -6
- package/dist/index.cjs +870 -656
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +250 -36
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +23 -23
- package/dist/{model-bundle-CGWU4ALC.js → model-bundle-3YDTJ6EQ.js} +5 -5
- package/dist/{models-A3TF3BDV.js → models-M7AX7VIN.js} +5 -5
- package/dist/{parse-worker-v2-MNUD4WAR.js → parse-worker-v2-3ZMFWDFW.js} +12 -12
- package/dist/{parser-RPAHN3OR.cjs → parser-GIDYL5LH.cjs} +163 -159
- package/dist/parser-GIDYL5LH.cjs.map +1 -0
- package/dist/{parser-OBGWEWSU.js → parser-MNNJSFEZ.js} +15 -11
- package/dist/parser-MNNJSFEZ.js.map +1 -0
- package/dist/{parser-C3ARF26I.js → parser-TD4VZDGY.js} +18 -14
- package/dist/parser-TD4VZDGY.js.map +1 -0
- package/dist/{pdf-ocr-K53REDNY.js → pdf-ocr-5HEVZKG5.js} +6 -6
- package/dist/{pdf-ocr-ENLVEEYL.js → pdf-ocr-6BAOQ6CY.js} +9 -9
- package/dist/pdf-ocr-NOSNTEDS.cjs +31 -0
- package/dist/{pdf-ocr-GA5QJFNK.cjs.map → pdf-ocr-NOSNTEDS.cjs.map} +1 -1
- package/dist/{profile-io-ZGFEO7CB.js → profile-io-H4WQIGN6.js} +3 -3
- package/dist/{rasterize-QMC2SAUT.js → rasterize-EOPWJWBO.js} +3 -3
- package/dist/{redact-doc-JH6RZZBE.js → redact-doc-BBZVAA3I.js} +11 -11
- package/dist/{render-ZGKQLKPJ.js → render-ZZ4CGJ6J.js} +7 -7
- package/dist/seal-RRYFKTEQ.js +10 -0
- package/dist/{setup-LAQGCYQ2.js → setup-UIPKBNLA.js} +3 -3
- package/dist/visual-DLLRTF6C.js +21 -0
- package/dist/{watch-7YPB4TKC.js → watch-OXQ6O5HD.js} +12 -12
- package/package.json +1 -1
- package/dist/chunk-DHMBPMKC.js.map +0 -1
- package/dist/chunk-JMOAMKAR.js.map +0 -1
- package/dist/chunk-RIRPLFPN.js.map +0 -1
- package/dist/chunk-UNICY546.cjs.map +0 -1
- package/dist/chunk-VPSF5LEM.js.map +0 -1
- package/dist/chunks-AL4P5TO5.js +0 -10
- package/dist/parser-C3ARF26I.js.map +0 -1
- package/dist/parser-OBGWEWSU.js.map +0 -1
- package/dist/parser-RPAHN3OR.cjs.map +0 -1
- package/dist/pdf-ocr-GA5QJFNK.cjs +0 -31
- package/dist/seal-KMGYTJAV.js +0 -10
- package/dist/visual-4OYJFGXL.js +0 -21
- /package/dist/{-SRNEV7LS.js.map → -WND2HWVH.js.map} +0 -0
- /package/dist/{chunk-NJ5RUDCW.js.map → chunk-3LSHLWTX.js.map} +0 -0
- /package/dist/{chunk-WDSTW3BD.js.map → chunk-44E52JJ7.js.map} +0 -0
- /package/dist/{chunk-R2GIGE5H.js.map → chunk-47MTLP4U.js.map} +0 -0
- /package/dist/{chunk-NMFFIUI6.js.map → chunk-4XVL3OBP.js.map} +0 -0
- /package/dist/{chunk-C6ZVB547.js.map → chunk-5AHG3XY3.js.map} +0 -0
- /package/dist/{chunk-LMEF7FN5.js.map → chunk-6CPBNK5O.js.map} +0 -0
- /package/dist/{chunk-MHNJOJQV.js.map → chunk-A5JDO52L.js.map} +0 -0
- /package/dist/{chunk-M46PB75E.js.map → chunk-AKIJTKEA.js.map} +0 -0
- /package/dist/{chunk-E6VBLBOO.js.map → chunk-D4YWVZHD.js.map} +0 -0
- /package/dist/{chunk-E7B5CXYI.js.map → chunk-DTADAHJD.js.map} +0 -0
- /package/dist/{chunk-WJAFE3Z6.js.map → chunk-FK3JPTHI.js.map} +0 -0
- /package/dist/{chunk-W24TJJNN.js.map → chunk-GGVHKYKZ.js.map} +0 -0
- /package/dist/{chunk-4745MFQU.js.map → chunk-LBOXKGAH.js.map} +0 -0
- /package/dist/{chunk-3HN65YAL.js.map → chunk-MC4DPT4I.js.map} +0 -0
- /package/dist/{chunk-TDMBTG7U.js.map → chunk-MMPBJGWQ.js.map} +0 -0
- /package/dist/{chunk-4XC4O7FJ.js.map → chunk-QTJTBCTZ.js.map} +0 -0
- /package/dist/{chunk-TW3V6FSH.js.map → chunk-VBY3JQL2.js.map} +0 -0
- /package/dist/{chunk-7NTMM6PO.js.map → chunk-WMDGGQXJ.js.map} +0 -0
- /package/dist/{chunk-KUC5I5MB.js.map → chunk-YBCW544D.js.map} +0 -0
- /package/dist/{chunks-AL4P5TO5.js.map → chunks-2UDUNVGQ.js.map} +0 -0
- /package/dist/{formula-U2LZ67KI.js.map → formula-MPBZ7OMN.js.map} +0 -0
- /package/dist/{formula-DSB574H7.js.map → formula-NA3LD35B.js.map} +0 -0
- /package/dist/{image-ocr-3QB2HLSI.js.map → image-ocr-6TGDXUAS.js.map} +0 -0
- /package/dist/{image-ocr-J54Q3YWP.js.map → image-ocr-THA5BASF.js.map} +0 -0
- /package/dist/{model-bundle-CGWU4ALC.js.map → model-bundle-3YDTJ6EQ.js.map} +0 -0
- /package/dist/{models-A3TF3BDV.js.map → models-M7AX7VIN.js.map} +0 -0
- /package/dist/{parse-worker-v2-MNUD4WAR.js.map → parse-worker-v2-3ZMFWDFW.js.map} +0 -0
- /package/dist/{pdf-ocr-ENLVEEYL.js.map → pdf-ocr-5HEVZKG5.js.map} +0 -0
- /package/dist/{pdf-ocr-K53REDNY.js.map → pdf-ocr-6BAOQ6CY.js.map} +0 -0
- /package/dist/{profile-io-ZGFEO7CB.js.map → profile-io-H4WQIGN6.js.map} +0 -0
- /package/dist/{rasterize-QMC2SAUT.js.map → rasterize-EOPWJWBO.js.map} +0 -0
- /package/dist/{redact-doc-JH6RZZBE.js.map → redact-doc-BBZVAA3I.js.map} +0 -0
- /package/dist/{render-ZGKQLKPJ.js.map → render-ZZ4CGJ6J.js.map} +0 -0
- /package/dist/{seal-KMGYTJAV.js.map → seal-RRYFKTEQ.js.map} +0 -0
- /package/dist/{setup-LAQGCYQ2.js.map → setup-UIPKBNLA.js.map} +0 -0
- /package/dist/{visual-4OYJFGXL.js.map → visual-DLLRTF6C.js.map} +0 -0
- /package/dist/{watch-7YPB4TKC.js.map → watch-OXQ6O5HD.js.map} +0 -0
package/dist/mcp.js
CHANGED
|
@@ -47,33 +47,33 @@ import {
|
|
|
47
47
|
unknownFontWarnings,
|
|
48
48
|
usesGaejosikMunche,
|
|
49
49
|
usesLogicStructure
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-5AHG3XY3.js";
|
|
51
|
+
import "./chunk-4XVL3OBP.js";
|
|
52
52
|
import {
|
|
53
53
|
detectFormat,
|
|
54
54
|
detectOle2Format,
|
|
55
55
|
detectZipFormat,
|
|
56
56
|
extractHwp5MetadataOnly
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-YEYNBH5W.js";
|
|
58
|
+
import "./chunk-D4YWVZHD.js";
|
|
59
|
+
import "./chunk-WMDGGQXJ.js";
|
|
60
60
|
import "./chunk-VKVDMH7X.js";
|
|
61
61
|
import "./chunk-VQFA55IC.js";
|
|
62
62
|
import "./chunk-BYMPPVT3.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-YBCW544D.js";
|
|
64
64
|
import {
|
|
65
65
|
blocksToMarkdown
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-44E52JJ7.js";
|
|
67
67
|
import {
|
|
68
68
|
assertWithinRoot,
|
|
69
69
|
getAccessRoot,
|
|
70
70
|
isOfflineMode
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-MMPBJGWQ.js";
|
|
72
72
|
import {
|
|
73
73
|
extractFormFields,
|
|
74
74
|
fillWithUniqueGuard
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
} from "./chunk-3LSHLWTX.js";
|
|
76
|
+
import "./chunk-JHUW5PKO.js";
|
|
77
77
|
import {
|
|
78
78
|
KordocError,
|
|
79
79
|
VERSION,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
routeConsoleToStderr,
|
|
82
82
|
sanitizeError,
|
|
83
83
|
toArrayBuffer
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-6CPBNK5O.js";
|
|
85
85
|
import "./chunk-3WSNLH4B.js";
|
|
86
86
|
|
|
87
87
|
// src/mcp.ts
|
|
@@ -396,7 +396,7 @@ ${markdown}`);
|
|
|
396
396
|
break;
|
|
397
397
|
case "pdf":
|
|
398
398
|
try {
|
|
399
|
-
const { extractPdfMetadataOnly } = await import("./parser-
|
|
399
|
+
const { extractPdfMetadataOnly } = await import("./parser-TD4VZDGY.js");
|
|
400
400
|
metadata = await extractPdfMetadataOnly(buffer);
|
|
401
401
|
} catch {
|
|
402
402
|
metadata = void 0;
|
|
@@ -573,7 +573,7 @@ ${tableMarkdown}` }]
|
|
|
573
573
|
if (!parsed.success) {
|
|
574
574
|
return { content: [{ type: "text", text: `\uD30C\uC2F1 \uC2E4\uD328: ${parsed.error}` }], isError: true };
|
|
575
575
|
}
|
|
576
|
-
const { blocksToChunks } = await import("./chunks-
|
|
576
|
+
const { blocksToChunks } = await import("./chunks-2UDUNVGQ.js");
|
|
577
577
|
const chunks = blocksToChunks(parsed.blocks, { granularity, includeTableCells: include_table_cells });
|
|
578
578
|
return { content: [{ type: "text", text: capResponseText(JSON.stringify(chunks, null, 2)) }] };
|
|
579
579
|
} catch (err) {
|
|
@@ -834,7 +834,7 @@ ${previewMd}` }]
|
|
|
834
834
|
}
|
|
835
835
|
const image = new Uint8Array(await readFile2(imgResolved));
|
|
836
836
|
const ext = extname2(imgResolved).slice(1).toLowerCase();
|
|
837
|
-
const { placeSealHwpx } = await import("./seal-
|
|
837
|
+
const { placeSealHwpx } = await import("./seal-RRYFKTEQ.js");
|
|
838
838
|
const result = await placeSealHwpx(buffer, [{
|
|
839
839
|
anchor,
|
|
840
840
|
occurrence,
|
|
@@ -953,7 +953,7 @@ ${previewMd}` }]
|
|
|
953
953
|
if (outPath && await isSameFile(outPath, resolved)) {
|
|
954
954
|
return { content: [{ type: "text", text: "output_path\uAC00 \uC785\uB825 \uD30C\uC77C\uACFC \uAC19\uC2B5\uB2C8\uB2E4 \u2014 \uC6D0\uBCF8\uC744 \uB36E\uC5B4\uC4F0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB2E4\uB978 \uACBD\uB85C\uB97C \uC9C0\uC815\uD558\uC138\uC694." }], isError: true };
|
|
955
955
|
}
|
|
956
|
-
const { redactDocument } = await import("./redact-doc-
|
|
956
|
+
const { redactDocument } = await import("./redact-doc-BBZVAA3I.js");
|
|
957
957
|
const r = await redactDocument(buffer, { rules, maskChar: mask_char, filePath: file_path, dryRun: dry_run });
|
|
958
958
|
const MAX_LINES = 50;
|
|
959
959
|
const listed = r.fileHits.length > 0 ? r.fileHits.map((h) => ` - [${h.rule}] ${h.masked} (${h.where} @ ${h.part})`) : r.markdownHits.map((h) => ` - [${h.rule}] ${h.masked}`);
|
|
@@ -1027,7 +1027,7 @@ function registerRenderTools(server2) {
|
|
|
1027
1027
|
const { buffer, resolved } = await readValidatedFile(file_path, MAX_FILE_SIZE, /* @__PURE__ */ new Set([".hwpx", ".hwp"]));
|
|
1028
1028
|
const isHwp5 = resolved.toLowerCase().endsWith(".hwp");
|
|
1029
1029
|
if (!isHwp5 && !pages && (format === "png" || format === "svg")) {
|
|
1030
|
-
const { renderHwpxToSvg } = await import("./render-
|
|
1030
|
+
const { renderHwpxToSvg } = await import("./render-ZZ4CGJ6J.js");
|
|
1031
1031
|
const result = await renderHwpxToSvg(buffer, { highlights, reflow: true, reflowMode: reflow_mode });
|
|
1032
1032
|
const summary2 = [
|
|
1033
1033
|
`\uB80C\uB354 \uC644\uB8CC: ${result.pageCount}\uD398\uC774\uC9C0, ${Math.round(result.width)}x${Math.round(result.height)}pt (\uD14D\uC2A4\uD2B8 ${result.stats.texts}\xB7\uC774\uBBF8\uC9C0 ${result.stats.images}\xB7\uD45C ${result.stats.tables})`,
|
|
@@ -1039,7 +1039,7 @@ function registerRenderTools(server2) {
|
|
|
1039
1039
|
summary2.push(`\uC800\uC7A5: ${outPath}`);
|
|
1040
1040
|
return { content: [{ type: "text", text: summary2.join("\n") }] };
|
|
1041
1041
|
}
|
|
1042
|
-
const { rasterizeSvg } = await import("./rasterize-
|
|
1042
|
+
const { rasterizeSvg } = await import("./rasterize-EOPWJWBO.js");
|
|
1043
1043
|
const raster = await rasterizeSvg(result.svg, result.width, result.height, max_width_px ? { maxWidthPx: max_width_px } : void 0);
|
|
1044
1044
|
if (outPath) {
|
|
1045
1045
|
await mkdir2(dirname3(outPath), { recursive: true });
|
|
@@ -1054,7 +1054,7 @@ function registerRenderTools(server2) {
|
|
|
1054
1054
|
]
|
|
1055
1055
|
};
|
|
1056
1056
|
}
|
|
1057
|
-
const { renderDocument } = await import("./render-
|
|
1057
|
+
const { renderDocument } = await import("./render-ZZ4CGJ6J.js");
|
|
1058
1058
|
const { scene, assets } = await renderDocument(buffer, { format, pages, highlights, reflow: true, reflowMode: reflow_mode, maxWidthPx: max_width_px });
|
|
1059
1059
|
const summary = [
|
|
1060
1060
|
`\uB80C\uB354 \uC644\uB8CC: \uBB38\uC11C ${scene.pages.length}\uD398\uC774\uC9C0 \uC911 ${assets.filter((a) => a.page !== void 0).length || 1}\uAC74 (\uD14D\uC2A4\uD2B8 ${scene.stats.texts}\xB7\uC774\uBBF8\uC9C0 ${scene.stats.images}\xB7\uD45C ${scene.stats.tables}\xB7\uB3C4\uD615 ${scene.stats.shapes})`,
|
|
@@ -1104,7 +1104,7 @@ function registerRenderTools(server2) {
|
|
|
1104
1104
|
try {
|
|
1105
1105
|
const { buffer } = await readValidatedFile(file_path, MAX_FILE_SIZE, /* @__PURE__ */ new Set([".hwpx", ".hwp"]));
|
|
1106
1106
|
const dir = safeOutputPath(join2(output_dir, "regions.json"), /* @__PURE__ */ new Set([".json"])).replace(/[\\/]regions\.json$/, "");
|
|
1107
|
-
const { extractRenderedRegions } = await import("./render-
|
|
1107
|
+
const { extractRenderedRegions } = await import("./render-ZZ4CGJ6J.js");
|
|
1108
1108
|
const regions = await extractRenderedRegions(buffer, { types: target, format, pages, paddingPt: padding_pt, reflow: true });
|
|
1109
1109
|
await mkdir2(dir, { recursive: true });
|
|
1110
1110
|
const ext = format === "jpeg" ? "jpg" : "png";
|
|
@@ -1140,7 +1140,7 @@ function registerRenderTools(server2) {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
const { buffer } = await readValidatedFile(file_path, MAX_FILE_SIZE, /* @__PURE__ */ new Set([".hwpx", ".hwp"]));
|
|
1142
1142
|
const dir = output_dir ? safeOutputPath(join2(output_dir, "tables.json"), /* @__PURE__ */ new Set([".json"])).replace(/[\\/]tables\.json$/, "") : void 0;
|
|
1143
|
-
const { extractTables } = await import("./visual-
|
|
1143
|
+
const { extractTables } = await import("./visual-DLLRTF6C.js");
|
|
1144
1144
|
const tables = await extractTables(buffer, { policy: visual, format, paddingPt: padding_pt });
|
|
1145
1145
|
if (dir) await mkdir2(dir, { recursive: true });
|
|
1146
1146
|
const ext = format === "jpeg" ? "jpg" : "png";
|
|
@@ -1197,7 +1197,7 @@ function registerGenerateTools(server2) {
|
|
|
1197
1197
|
try {
|
|
1198
1198
|
const out = safeOutputPath(output_path, PROFILE_EXTENSIONS);
|
|
1199
1199
|
const { buffer } = await readValidatedFile(hwpx_path);
|
|
1200
|
-
const { hwpxToProfile } = await import("./-
|
|
1200
|
+
const { hwpxToProfile } = await import("./-WND2HWVH.js");
|
|
1201
1201
|
const profile = await hwpxToProfile(buffer);
|
|
1202
1202
|
await mkdir3(dirname4(out), { recursive: true });
|
|
1203
1203
|
await writeOutputFile(out, JSON.stringify(profile, null, 2));
|
|
@@ -1344,7 +1344,7 @@ ${g.blocking.map((f) => `- ${formatGateFinding(f)}`).join("\n")}` }],
|
|
|
1344
1344
|
}
|
|
1345
1345
|
let profile;
|
|
1346
1346
|
if (profile_path) {
|
|
1347
|
-
const { parseFormatProfileJson } = await import("./profile-io-
|
|
1347
|
+
const { parseFormatProfileJson } = await import("./profile-io-H4WQIGN6.js");
|
|
1348
1348
|
profile = parseFormatProfileJson(await readFile3(safePath(profile_path, PROFILE_EXTENSIONS), "utf-8"));
|
|
1349
1349
|
}
|
|
1350
1350
|
const out = safeOutputPath(output_path, /* @__PURE__ */ new Set([".hwpx"]));
|
|
@@ -1448,7 +1448,7 @@ function registerLintTools(server2) {
|
|
|
1448
1448
|
let irBlocks;
|
|
1449
1449
|
if (file_path !== void 0) {
|
|
1450
1450
|
const { buffer, resolved } = await readValidatedFile(file_path, MAX_FILE_SIZE, ALLOWED_EXTENSIONS);
|
|
1451
|
-
const { parse: parse2 } = await import("./-
|
|
1451
|
+
const { parse: parse2 } = await import("./-WND2HWVH.js");
|
|
1452
1452
|
const parsed = await parse2(buffer, { filePath: resolved });
|
|
1453
1453
|
if (!parsed.success) throw new KordocError(`\uBB38\uC11C\uB97C \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4 \u2014 ${parsed.error}`);
|
|
1454
1454
|
body = parsed.markdown;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ALL_OCR_MODELS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-47MTLP4U.js";
|
|
5
5
|
import {
|
|
6
6
|
ALL_FORMULA_MODELS,
|
|
7
7
|
getModelStatusIn,
|
|
8
8
|
getModelsDir
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GGVHKYKZ.js";
|
|
10
|
+
import "./chunk-MMPBJGWQ.js";
|
|
11
|
+
import "./chunk-6CPBNK5O.js";
|
|
12
12
|
|
|
13
13
|
// src/shared/model-bundle.ts
|
|
14
14
|
import { copyFile, mkdir } from "fs/promises";
|
|
@@ -101,4 +101,4 @@ export {
|
|
|
101
101
|
importModels,
|
|
102
102
|
modelCacheStatus
|
|
103
103
|
};
|
|
104
|
-
//# sourceMappingURL=model-bundle-
|
|
104
|
+
//# sourceMappingURL=model-bundle-3YDTJ6EQ.js.map
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
ocrSourcePath,
|
|
18
18
|
parseCharacterDict,
|
|
19
19
|
resolveOcrModels
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-47MTLP4U.js";
|
|
21
|
+
import "./chunk-GGVHKYKZ.js";
|
|
22
|
+
import "./chunk-MMPBJGWQ.js";
|
|
23
|
+
import "./chunk-6CPBNK5O.js";
|
|
24
24
|
export {
|
|
25
25
|
ALL_OCR_MODELS,
|
|
26
26
|
DEFAULT_OCR_MODELS,
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
parseCharacterDict,
|
|
41
41
|
resolveOcrModels
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=models-
|
|
43
|
+
//# sourceMappingURL=models-M7AX7VIN.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
parseWorkerFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LBOXKGAH.js";
|
|
5
5
|
import {
|
|
6
6
|
PRESET_ALIAS,
|
|
7
7
|
lintBlocks
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-5AHG3XY3.js";
|
|
9
|
+
import "./chunk-4XVL3OBP.js";
|
|
10
|
+
import "./chunk-YEYNBH5W.js";
|
|
11
|
+
import "./chunk-D4YWVZHD.js";
|
|
12
|
+
import "./chunk-WMDGGQXJ.js";
|
|
13
13
|
import "./chunk-VKVDMH7X.js";
|
|
14
14
|
import "./chunk-VQFA55IC.js";
|
|
15
15
|
import {
|
|
16
16
|
validateOcrOptions
|
|
17
17
|
} from "./chunk-BYMPPVT3.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-YBCW544D.js";
|
|
19
|
+
import "./chunk-44E52JJ7.js";
|
|
20
|
+
import "./chunk-3LSHLWTX.js";
|
|
21
|
+
import "./chunk-JHUW5PKO.js";
|
|
22
22
|
import {
|
|
23
23
|
VERSION,
|
|
24
24
|
sanitizeError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6CPBNK5O.js";
|
|
26
26
|
import "./chunk-3WSNLH4B.js";
|
|
27
27
|
|
|
28
28
|
// src/cli/parse-worker-v2.ts
|
|
@@ -354,4 +354,4 @@ export {
|
|
|
354
354
|
runParseWorkerV2,
|
|
355
355
|
toParseOptions
|
|
356
356
|
};
|
|
357
|
-
//# sourceMappingURL=parse-worker-v2-
|
|
357
|
+
//# sourceMappingURL=parse-worker-v2-3ZMFWDFW.js.map
|