triflux 9.7.2 → 9.7.4

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
@@ -688,7 +688,7 @@ function buildSetupDryRunPlan() {
688
688
  }
689
689
 
690
690
  function cmdSetup(options = {}) {
691
- const { dryRun = false } = options;
691
+ const { dryRun = false, overrideVersion } = options;
692
692
  if (dryRun) {
693
693
  printJson(buildSetupDryRunPlan());
694
694
  return;
@@ -935,7 +935,7 @@ function cmdSetup(options = {}) {
935
935
  }
936
936
 
937
937
  console.log(`\n${DIM}설치 위치: ${CLAUDE_DIR}${RESET}`);
938
- console.log(`${DIM}버전: v${PKG.version}${RESET}\n`);
938
+ console.log(`${DIM}버전: v${overrideVersion || PKG.version}${RESET}\n`);
939
939
  }
940
940
 
941
941
  function addDoctorCheck(report, entry) {
@@ -2384,7 +2384,25 @@ function cmdUpdate() {
2384
2384
 
2385
2385
  // setup 재실행 — 개선된 cmdSetup()이 Gemini 프로필, CLI 확인, 요약 테이블 포함
2386
2386
  console.log(`\n${CYAN}── 설정 동기화 ──${RESET}`);
2387
- cmdSetup({ fromUpdate: true });
2387
+ cmdSetup({ fromUpdate: true, overrideVersion: newVer });
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
+ }
2388
2406
 
2389
2407
  if (stoppedHubInfo) {
2390
2408
  if (startHubAfterUpdate(stoppedHubInfo)) ok("hub 재기동 완료");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "9.7.2",
3
+ "version": "9.7.4",
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": {