triflux 9.7.1 → 9.7.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.
@@ -8,12 +8,15 @@
8
8
  "plugins": [
9
9
  {
10
10
  "name": "triflux",
11
- "description": "CLI-first multi-model orchestrator for Claude Code. Routes tasks to Codex, Gemini, and Claude CLIs with automatic triage (Sonnet classification + Opus decomposition), DAG-based parallel execution, and cost-optimized routing. Includes 16 skills, HUD status bar, and shell-based CLI routing wrapper.",
12
- "version": "9.0.0",
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.2",
13
13
  "author": {
14
14
  "name": "tellang"
15
15
  },
16
- "source": "./",
16
+ "source": {
17
+ "source": "npm",
18
+ "package": "triflux"
19
+ },
17
20
  "category": "productivity",
18
21
  "homepage": "https://github.com/tellang/triflux",
19
22
  "tags": [
@@ -27,5 +30,5 @@
27
30
  ]
28
31
  }
29
32
  ],
30
- "version": "9.0.0"
33
+ "version": "9.7.2"
31
34
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "9.7.0",
3
+ "version": "9.7.2",
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
@@ -2386,6 +2386,24 @@ function cmdUpdate() {
2386
2386
  console.log(`\n${CYAN}── 설정 동기화 ──${RESET}`);
2387
2387
  cmdSetup({ fromUpdate: true });
2388
2388
 
2389
+ // hook-orchestrator apply — settings.json 훅 경로를 올바른 절대경로로 갱신
2390
+ try {
2391
+ const hookMgrPath = join(PKG_ROOT, "hooks", "hook-manager.mjs");
2392
+ if (existsSync(hookMgrPath)) {
2393
+ const result = execSync(`node "${hookMgrPath}" apply`, {
2394
+ encoding: "utf8",
2395
+ timeout: 10000,
2396
+ windowsHide: true,
2397
+ }).trim();
2398
+ const parsed = JSON.parse(result);
2399
+ if (parsed?.status === "applied") {
2400
+ ok(`훅 오케스트레이터 적용 (${parsed.events?.length || 0}개 이벤트)`);
2401
+ }
2402
+ }
2403
+ } catch {
2404
+ // apply 실패 시 무시 — ensureHooksInSettings이 개별 훅을 이미 등록함
2405
+ }
2406
+
2389
2407
  if (stoppedHubInfo) {
2390
2408
  if (startHubAfterUpdate(stoppedHubInfo)) ok("hub 재기동 완료");
2391
2409
  else warn("hub 재기동 실패 — `tfx hub start`로 수동 시작 필요");
@@ -171,7 +171,7 @@ function apply() {
171
171
 
172
172
  // 오케스트레이터 명령 생성
173
173
  const nodeExe = getNodeExe();
174
- const orchestratorPath = "${CLAUDE_PLUGIN_ROOT}/hooks/hook-orchestrator.mjs";
174
+ const orchestratorPath = join(PLUGIN_ROOT, "hooks", "hook-orchestrator.mjs");
175
175
  const orchestratorCmd = `"${nodeExe}" "${orchestratorPath}"`;
176
176
 
177
177
  // 모든 이벤트를 하나의 오케스트레이터로 통합
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "9.7.1",
3
+ "version": "9.7.3",
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": {