triflux 10.9.26 → 10.9.27

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.
@@ -30,5 +30,5 @@
30
30
  ]
31
31
  }
32
32
  ],
33
- "version": "10.9.26"
33
+ "version": "10.9.27"
34
34
  }
@@ -21,7 +21,7 @@ function toStringList(value) {
21
21
  * 빈 문자열은 ""로, 특수문자 포함 시 큰따옴표로 감싼다.
22
22
  */
23
23
  function quoteWindowsCmdArg(value) {
24
- const raw = String(value ?? "");
24
+ const raw = String(value ?? "").replace(/[\r\n]/g, " ");
25
25
  if (raw.length === 0) return '""';
26
26
  if (!/[\s"()^&|<>%!]/.test(raw)) return raw;
27
27
  const escaped = raw
@@ -55,7 +55,7 @@ function buildSpawnSpec(command, args) {
55
55
 
56
56
  if (/\.(cmd|bat)$/i.test(resolved)) {
57
57
  const line = [resolved, ...args].map(quoteWindowsCmdArg).join(" ");
58
- return { command: "cmd.exe", args: ["/d", "/s", "/c", line], shell: false };
58
+ return { command: "cmd.exe", args: ["/d", "/s", "/v:off", "/c", line], shell: false };
59
59
  }
60
60
 
61
61
  return { command: resolved, args, shell: false };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "10.9.26",
3
+ "version": "10.9.27",
4
4
  "description": "CLI-first multi-model orchestrator for Claude Code — route tasks to Codex, Gemini, and Claude",
5
5
  "type": "module",
6
6
  "bin": {
@@ -7,9 +7,9 @@ import { fileURLToPath, pathToFileURL } from "node:url";
7
7
 
8
8
  const SCRIPT_DIR = dirname(fileURLToPath(import.meta.url));
9
9
  const FACTORY_CANDIDATES = [
10
- resolve(process.cwd(), "hub/workers/factory.mjs"),
11
10
  resolve(SCRIPT_DIR, "../hub/workers/factory.mjs"),
12
11
  resolve(SCRIPT_DIR, "./hub/workers/factory.mjs"),
12
+ resolve(process.cwd(), "hub/workers/factory.mjs"),
13
13
  ];
14
14
 
15
15
  // MCP transport 실패 시 tfx-route.sh가 exec fallback을 수행할 수 있도록