triflux 6.1.1 → 6.1.3
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/hub/team/headless.mjs
CHANGED
|
@@ -479,9 +479,8 @@ export function autoAttachTerminal(sessionName, opts = {}, workerCount = 2) {
|
|
|
479
479
|
"[System.Windows.Forms.SendKeys]::SendWait('^+{TAB}')",
|
|
480
480
|
].join("; ");
|
|
481
481
|
|
|
482
|
-
//
|
|
482
|
+
// WT new-tab은 --size 미지원 (window-level only). 기존 창(-w 0)에 탭 추가만.
|
|
483
483
|
const wtArgs = ["-w", "0", "nt", "--profile", "triflux", "--title", sessionName];
|
|
484
|
-
if (cols && rows) wtArgs.push("--size", `${cols},${rows}`);
|
|
485
484
|
wtArgs.push("--", "pwsh.exe", "-NoProfile", "-NoLogo", "-File", viewerScript);
|
|
486
485
|
|
|
487
486
|
try {
|
package/package.json
CHANGED
|
@@ -134,6 +134,11 @@ async function main() {
|
|
|
134
134
|
|
|
135
135
|
// tfx-route.sh 실행만 감지: 명령이 bash로 시작할 때만 (커밋 메시지/echo 등 무시)
|
|
136
136
|
if (/^\s*bash\s+.*tfx-route\.sh\s/.test(cmd)) {
|
|
137
|
+
// --async, --job-status, --job-result, --job-wait는 tfx-route.sh 내부 플래그 → 통과
|
|
138
|
+
if (/tfx-route\.sh\s+--(async|job-status|job-result|job-wait)\b/.test(cmd)) {
|
|
139
|
+
process.exit(0);
|
|
140
|
+
}
|
|
141
|
+
|
|
137
142
|
const parsed = parseRouteCommand(cmd);
|
|
138
143
|
if (parsed) {
|
|
139
144
|
const safePrompt = parsed.prompt.replace(/'/g, "'\\''");
|