@clazic/kordoc 2.2.6 → 2.2.7

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/index.js CHANGED
@@ -2051,8 +2051,10 @@ function callCli(mode, imagePath) {
2051
2051
  const args = buildCliArgs(mode, imagePath);
2052
2052
  const result = spawnSync(mode, args, {
2053
2053
  encoding: "utf-8",
2054
- timeout: 6e4,
2055
- maxBuffer: 10 * 1024 * 1024
2054
+ timeout: 18e4,
2055
+ maxBuffer: 10 * 1024 * 1024,
2056
+ // claude: /tmp에서 실행하여 프로젝트 CLAUDE.md의 규칙 간섭 방지
2057
+ ...mode === "claude" ? { cwd: tmpdir() } : {}
2056
2058
  });
2057
2059
  if (result.error) {
2058
2060
  throw new Error(`${mode} CLI \uC2E4\uD589 \uC2E4\uD328: ${result.error.message}`);
@@ -2446,7 +2448,7 @@ import JSZip2 from "jszip";
2446
2448
  import { DOMParser } from "@xmldom/xmldom";
2447
2449
 
2448
2450
  // src/utils.ts
2449
- var VERSION = true ? "2.2.6" : "0.0.0-dev";
2451
+ var VERSION = true ? "2.2.7" : "0.0.0-dev";
2450
2452
  function toArrayBuffer(buf) {
2451
2453
  if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
2452
2454
  return buf.buffer;