triflux 9.7.11 → 9.7.12

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.11",
12
+ "version": "9.7.12",
13
13
  "author": {
14
14
  "name": "tellang"
15
15
  },
@@ -30,5 +30,5 @@
30
30
  ]
31
31
  }
32
32
  ],
33
- "version": "9.7.11"
33
+ "version": "9.7.12"
34
34
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "9.7.11",
3
+ "version": "9.7.12",
4
4
  "description": "CLI-first multi-model orchestrator for Claude Code — route tasks to Codex, Gemini, and Claude",
5
5
  "author": {
6
6
  "name": "tellang"
package/bin/triflux.mjs CHANGED
@@ -2856,7 +2856,7 @@ async function checkHubRunning() {
2856
2856
  try {
2857
2857
  const cacheFile = join(homedir(), ".claude", "cache", "tfx-preflight.json");
2858
2858
  const cached = JSON.parse(readFileSync(cacheFile, "utf8"));
2859
- if (Date.now() - cached.timestamp < 300_000 && cached.hub?.ok) return true;
2859
+ if (Date.now() - cached.timestamp < 3_600_000 && cached.hub?.ok) return true;
2860
2860
  } catch {}
2861
2861
  const port = Number(process.env.TFX_HUB_PORT || "27888");
2862
2862
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "9.7.11",
3
+ "version": "9.7.12",
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": {
@@ -12,7 +12,7 @@ const PKG_ROOT = join(dirname(__filename), "..");
12
12
 
13
13
  const CACHE_DIR = join(homedir(), ".claude", "cache");
14
14
  const CACHE_FILE = join(CACHE_DIR, "tfx-preflight.json");
15
- const CACHE_TTL_MS = 300_000; // 5분 (warmup과 통일)
15
+ const CACHE_TTL_MS = 3_600_000; // 1시간 (세션당 1회, SessionStart 훅에서 갱신)
16
16
 
17
17
  function checkRoute() {
18
18
  const routePath = join(homedir(), ".claude", "scripts", "tfx-route.sh");