triflux 2.4.7 → 3.0.0
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/README.ko.md +9 -7
- package/README.md +9 -7
- package/bin/tfx-doctor.mjs +1 -1
- package/bin/tfx-setup.mjs +1 -1
- package/bin/triflux.mjs +25 -13
- package/hud/hud-qos-status.mjs +221 -108
- package/package.json +1 -1
- package/scripts/cli-route.sh +2 -967
- package/scripts/mcp-check.mjs +2 -2
- package/scripts/notion-read.mjs +104 -49
- package/scripts/setup.mjs +10 -5
- package/scripts/tfx-batch-stats.mjs +96 -0
- package/scripts/tfx-route-post.mjs +366 -0
- package/scripts/tfx-route.sh +448 -0
- package/skills/tfx-auto/SKILL.md +31 -31
- package/skills/tfx-codex/SKILL.md +1 -1
- package/skills/tfx-doctor/SKILL.md +2 -2
- package/skills/tfx-gemini/SKILL.md +1 -1
- package/skills/tfx-setup/SKILL.md +1 -1
package/README.ko.md
CHANGED
|
@@ -187,7 +187,8 @@ tfx doctor
|
|
|
187
187
|
- **Codex CLI** (선택): `npm install -g @openai/codex`
|
|
188
188
|
- **Gemini CLI** (선택): `npm install -g @google/gemini-cli`
|
|
189
189
|
|
|
190
|
-
>
|
|
190
|
+
> [!TIP]
|
|
191
|
+
> **triflux는 100% 독립적으로 동작합니다.** 기능을 수행하기 위해 [oh-my-claudecode (OMC)](https://github.com/nicepkg/oh-my-claudecode)가 필요하지 않습니다. OMC가 설치된 경우에만 이를 감지하여 선택적인 통합 기능을 제공합니다. Codex/Gemini 없이도 자동으로 Claude 네이티브 에이전트로 fallback되어 동작합니다.
|
|
191
192
|
|
|
192
193
|
### 설치 후
|
|
193
194
|
|
|
@@ -224,14 +225,15 @@ Claude Code 상태줄에서 실시간 모니터링:
|
|
|
224
225
|
</details>
|
|
225
226
|
|
|
226
227
|
<details>
|
|
227
|
-
<summary><strong
|
|
228
|
+
<summary><strong>선택 사항: oh-my-claudecode (OMC) 통합</strong></summary>
|
|
228
229
|
|
|
229
|
-
triflux는
|
|
230
|
+
triflux는 **100% 독립적으로 동작**하며 기능을 수행하기 위해 외부 도구에 의존하지 않습니다. 다만, [oh-my-claudecode](https://github.com/nicepkg/oh-my-claudecode) 생태계를 사용하는 사용자를 위해 선택적 호환성을 제공합니다:
|
|
230
231
|
|
|
231
|
-
- OMC
|
|
232
|
-
-
|
|
233
|
-
-
|
|
234
|
-
- OMC
|
|
232
|
+
- **완전한 독립성**: OMC나 다른 래퍼 없이 단독으로 100% 동작합니다.
|
|
233
|
+
- **캐시 호환성**: OMC 캐시 경로(예: `~/.omc/state/`)가 존재할 경우 이를 감지하고 배려하지만, 기본적으로 자체 격리된 상태를 유지합니다.
|
|
234
|
+
- **심리스한 플러그인**: OMC가 설치된 경우 OMC 플러그인 시스템을 통해 스킬이 자동 등록됩니다.
|
|
235
|
+
- **확장된 HUD**: OMC가 감지되면 HUD가 자동으로 OMC 상태줄을 확장하여 표시합니다.
|
|
236
|
+
- **모드 지원**: OMC autopilot, ralph, team, ultrawork 모드와 완벽히 호환됩니다.
|
|
235
237
|
|
|
236
238
|
</details>
|
|
237
239
|
|
package/README.md
CHANGED
|
@@ -187,7 +187,8 @@ User: "/tfx-auto refactor auth + improve UI + add tests"
|
|
|
187
187
|
- **Codex CLI** (optional): `npm install -g @openai/codex`
|
|
188
188
|
- **Gemini CLI** (optional): `npm install -g @google/gemini-cli`
|
|
189
189
|
|
|
190
|
-
>
|
|
190
|
+
> [!TIP]
|
|
191
|
+
> **triflux is 100% standalone.** It does not require [oh-my-claudecode (OMC)](https://github.com/nicepkg/oh-my-claudecode) to function. It will automatically detect and provide optional integration only if OMC is present. Without Codex or Gemini, triflux falls back to Claude native agents.
|
|
191
192
|
|
|
192
193
|
### Post-install
|
|
193
194
|
|
|
@@ -224,14 +225,15 @@ Configured automatically via `tfx setup`.
|
|
|
224
225
|
</details>
|
|
225
226
|
|
|
226
227
|
<details>
|
|
227
|
-
<summary><strong>oh-my-claudecode Integration</strong></summary>
|
|
228
|
+
<summary><strong>Optional: oh-my-claudecode (OMC) Integration</strong></summary>
|
|
228
229
|
|
|
229
|
-
triflux
|
|
230
|
+
triflux is **100% independent** and does not require any external tools to function. However, it provides optional compatibility with [oh-my-claudecode](https://github.com/nicepkg/oh-my-claudecode) for users who prefer that ecosystem:
|
|
230
231
|
|
|
231
|
-
-
|
|
232
|
-
-
|
|
233
|
-
-
|
|
234
|
-
-
|
|
232
|
+
- **Full Independence**: Works standalone without OMC or any other wrappers.
|
|
233
|
+
- **Cache Compatibility**: Detects and respects OMC cache paths (e.g., `~/.omc/state/`) if present, but maintains its own isolated state by default.
|
|
234
|
+
- **Seamless Plugin**: Skills auto-registered via OMC's plugin system if OMC is installed.
|
|
235
|
+
- **Extended HUD**: HUD automatically extends OMC's status line when detected.
|
|
236
|
+
- **Mode Support**: Compatible with OMC autopilot, ralph, team, and ultrawork modes.
|
|
235
237
|
|
|
236
238
|
</details>
|
|
237
239
|
|
package/bin/tfx-doctor.mjs
CHANGED
package/bin/tfx-setup.mjs
CHANGED
package/bin/triflux.mjs
CHANGED
|
@@ -145,7 +145,7 @@ function checkCliCrossShell(cmd, installHint) {
|
|
|
145
145
|
return 1;
|
|
146
146
|
}
|
|
147
147
|
if (bashMissing) {
|
|
148
|
-
warn("bash에서 미발견 —
|
|
148
|
+
warn("bash에서 미발견 — tfx-route.sh 실행 불가");
|
|
149
149
|
info('→ ~/.bashrc에 추가: export PATH="$PATH:$APPDATA/npm"');
|
|
150
150
|
return 1;
|
|
151
151
|
}
|
|
@@ -158,9 +158,9 @@ function cmdSetup() {
|
|
|
158
158
|
console.log(`\n${BOLD}triflux setup${RESET}\n`);
|
|
159
159
|
|
|
160
160
|
syncFile(
|
|
161
|
-
join(PKG_ROOT, "scripts", "
|
|
162
|
-
join(CLAUDE_DIR, "scripts", "
|
|
163
|
-
"
|
|
161
|
+
join(PKG_ROOT, "scripts", "tfx-route.sh"),
|
|
162
|
+
join(CLAUDE_DIR, "scripts", "tfx-route.sh"),
|
|
163
|
+
"tfx-route.sh"
|
|
164
164
|
);
|
|
165
165
|
|
|
166
166
|
syncFile(
|
|
@@ -175,6 +175,18 @@ function cmdSetup() {
|
|
|
175
175
|
"notion-read.mjs"
|
|
176
176
|
);
|
|
177
177
|
|
|
178
|
+
syncFile(
|
|
179
|
+
join(PKG_ROOT, "scripts", "tfx-route-post.mjs"),
|
|
180
|
+
join(CLAUDE_DIR, "scripts", "tfx-route-post.mjs"),
|
|
181
|
+
"tfx-route-post.mjs"
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
syncFile(
|
|
185
|
+
join(PKG_ROOT, "scripts", "tfx-batch-stats.mjs"),
|
|
186
|
+
join(CLAUDE_DIR, "scripts", "tfx-batch-stats.mjs"),
|
|
187
|
+
"tfx-batch-stats.mjs"
|
|
188
|
+
);
|
|
189
|
+
|
|
178
190
|
// 스킬 동기화 (~/.claude/skills/{name}/SKILL.md)
|
|
179
191
|
const skillsSrc = join(PKG_ROOT, "skills");
|
|
180
192
|
const skillsDst = join(CLAUDE_DIR, "skills");
|
|
@@ -323,9 +335,9 @@ function cmdDoctor(options = {}) {
|
|
|
323
335
|
if (fix) {
|
|
324
336
|
section("Auto Fix");
|
|
325
337
|
syncFile(
|
|
326
|
-
join(PKG_ROOT, "scripts", "
|
|
327
|
-
join(CLAUDE_DIR, "scripts", "
|
|
328
|
-
"
|
|
338
|
+
join(PKG_ROOT, "scripts", "tfx-route.sh"),
|
|
339
|
+
join(CLAUDE_DIR, "scripts", "tfx-route.sh"),
|
|
340
|
+
"tfx-route.sh"
|
|
329
341
|
);
|
|
330
342
|
syncFile(
|
|
331
343
|
join(PKG_ROOT, "hud", "hud-qos-status.mjs"),
|
|
@@ -375,9 +387,9 @@ function cmdDoctor(options = {}) {
|
|
|
375
387
|
|
|
376
388
|
let issues = 0;
|
|
377
389
|
|
|
378
|
-
// 1.
|
|
379
|
-
section("
|
|
380
|
-
const routeSh = join(CLAUDE_DIR, "scripts", "
|
|
390
|
+
// 1. tfx-route.sh
|
|
391
|
+
section("tfx-route.sh");
|
|
392
|
+
const routeSh = join(CLAUDE_DIR, "scripts", "tfx-route.sh");
|
|
381
393
|
if (existsSync(routeSh)) {
|
|
382
394
|
const ver = getVersion(routeSh);
|
|
383
395
|
ok(`설치됨 ${ver ? `${DIM}v${ver}${RESET}` : ""}`);
|
|
@@ -676,7 +688,7 @@ function cmdUpdate() {
|
|
|
676
688
|
return;
|
|
677
689
|
}
|
|
678
690
|
|
|
679
|
-
// 3. setup 재실행 (
|
|
691
|
+
// 3. setup 재실행 (tfx-route.sh, HUD, 스킬 동기화)
|
|
680
692
|
if (updated) {
|
|
681
693
|
console.log("");
|
|
682
694
|
// 업데이트 후 새 버전 읽기
|
|
@@ -742,10 +754,10 @@ function cmdList() {
|
|
|
742
754
|
}
|
|
743
755
|
|
|
744
756
|
function cmdVersion() {
|
|
745
|
-
const routeVer = getVersion(join(CLAUDE_DIR, "scripts", "
|
|
757
|
+
const routeVer = getVersion(join(CLAUDE_DIR, "scripts", "tfx-route.sh"));
|
|
746
758
|
const hudVer = getVersion(join(CLAUDE_DIR, "hud", "hud-qos-status.mjs"));
|
|
747
759
|
console.log(`\n ${AMBER}${BOLD}⬡ triflux${RESET} ${WHITE_BRIGHT}v${PKG.version}${RESET}`);
|
|
748
|
-
if (routeVer) console.log(` ${GRAY}
|
|
760
|
+
if (routeVer) console.log(` ${GRAY}tfx-route${RESET} v${routeVer}`);
|
|
749
761
|
if (hudVer) console.log(` ${GRAY}hud${RESET} v${hudVer}`);
|
|
750
762
|
console.log("");
|
|
751
763
|
}
|