triflux 9.7.12 → 9.7.14
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.
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "triflux",
|
|
11
11
|
"description": "CLI-first multi-model orchestrator for Claude Code. Routes tasks to Codex, Gemini, and Claude CLIs with automatic triage, DAG-based parallel execution, headless psmux sessions, and cost-optimized routing. Includes 41 skills, HUD status bar, hook orchestrator, and shell-based CLI routing.",
|
|
12
|
-
"version": "9.7.
|
|
12
|
+
"version": "9.7.14",
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "tellang"
|
|
15
15
|
},
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
]
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
|
-
"version": "9.7.
|
|
33
|
+
"version": "9.7.14"
|
|
34
34
|
}
|
package/hooks/hook-registry.json
CHANGED
|
@@ -143,11 +143,11 @@
|
|
|
143
143
|
"source": "triflux",
|
|
144
144
|
"matcher": "*",
|
|
145
145
|
"command": "node \"${PLUGIN_ROOT}/scripts/preflight-cache.mjs\"",
|
|
146
|
-
"priority":
|
|
146
|
+
"priority": 3,
|
|
147
147
|
"enabled": true,
|
|
148
|
-
"timeout":
|
|
148
|
+
"timeout": 5,
|
|
149
149
|
"blocking": false,
|
|
150
|
-
"description": "CLI/Hub 가용성 캐시 (hub-ensure
|
|
150
|
+
"description": "CLI/Hub 가용성 캐시 (hub-ensure 완료 후 실행)"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"id": "ext-session-vault-start",
|
package/package.json
CHANGED
package/scripts/tfx-route.sh
CHANGED
|
@@ -890,18 +890,25 @@ TFX_CLI_MODE="${TFX_CLI_MODE:-auto}"
|
|
|
890
890
|
TFX_NO_CLAUDE_NATIVE="${TFX_NO_CLAUDE_NATIVE:-0}"
|
|
891
891
|
TFX_VERIFIER_OVERRIDE="${TFX_VERIFIER_OVERRIDE:-auto}"
|
|
892
892
|
TFX_CODEX_TRANSPORT="${TFX_CODEX_TRANSPORT:-exec}"
|
|
893
|
-
#
|
|
894
|
-
#
|
|
895
|
-
if [[ -z "${
|
|
896
|
-
|
|
893
|
+
# Preflight 캐시 일괄 로드 — CLI/Hub 가용성 + Codex 요금제를 환경변수로 내보냄
|
|
894
|
+
# 하위 프로세스(스킬 포함)가 TFX_CODEX_OK, TFX_GEMINI_OK, TFX_HUB_OK로 즉시 참조 가능
|
|
895
|
+
if [[ -z "${TFX_PREFLIGHT_LOADED:-}" ]]; then
|
|
896
|
+
eval "$(node -e '
|
|
897
897
|
try {
|
|
898
898
|
const c = JSON.parse(require("fs").readFileSync(require("path").join(require("os").homedir(),".claude","cache","tfx-preflight.json"),"utf8"));
|
|
899
|
+
const lines = [];
|
|
900
|
+
lines.push("export TFX_CODEX_OK=" + (c?.codex?.ok ? "1" : "0"));
|
|
901
|
+
lines.push("export TFX_GEMINI_OK=" + (c?.gemini?.ok ? "1" : "0"));
|
|
902
|
+
lines.push("export TFX_HUB_OK=" + (c?.hub?.ok ? "1" : "0"));
|
|
899
903
|
const p = c?.codex_plan?.plan;
|
|
900
|
-
if (p && p !== "unknown" && p !== "api")
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
904
|
+
if (p && p !== "unknown" && p !== "api") lines.push("export TFX_CODEX_PLAN=" + p);
|
|
905
|
+
const agents = c?.available_agents;
|
|
906
|
+
if (Array.isArray(agents)) lines.push("export TFX_AVAILABLE_AGENTS=" + agents.join(","));
|
|
907
|
+
lines.push("export TFX_PREFLIGHT_LOADED=1");
|
|
908
|
+
process.stdout.write(lines.join("\n") + "\n");
|
|
909
|
+
} catch { process.stdout.write("export TFX_PREFLIGHT_LOADED=1\n"); }
|
|
910
|
+
' 2>/dev/null)"
|
|
911
|
+
TFX_CODEX_PLAN="${TFX_CODEX_PLAN:-pro}"
|
|
905
912
|
fi
|
|
906
913
|
TFX_WORKER_INDEX="${TFX_WORKER_INDEX:-}"
|
|
907
914
|
TFX_SEARCH_TOOL="${TFX_SEARCH_TOOL:-}"
|
package/tui/doctor.mjs
CHANGED
|
@@ -28,6 +28,7 @@ const CACHE_FILES = [
|
|
|
28
28
|
{ name: "mcp-inventory.json", desc: "MCP 인벤토리" },
|
|
29
29
|
{ name: "cli-issues.jsonl", desc: "CLI 이슈 로그" },
|
|
30
30
|
{ name: "triflux-update-check.json", desc: "업데이트 체크" },
|
|
31
|
+
{ name: "tfx-preflight.json", desc: "Preflight 캐시 (CLI/Hub 가용성)" },
|
|
31
32
|
];
|
|
32
33
|
|
|
33
34
|
// ── Run triflux doctor --json ──
|