triflux 2.4.6 → 2.5.1
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 +21 -1
- package/hud/hud-qos-status.mjs +208 -101
- package/package.json +1 -1
- package/scripts/cli-route.sh +236 -9
- package/scripts/notion-read.mjs +553 -0
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
// triflux CLI — setup, doctor, version
|
|
3
3
|
import { copyFileSync, existsSync, readFileSync, writeFileSync, mkdirSync, chmodSync, readdirSync, unlinkSync } from "fs";
|
|
4
4
|
import { join, dirname } from "path";
|
|
@@ -169,6 +169,12 @@ function cmdSetup() {
|
|
|
169
169
|
"hud-qos-status.mjs"
|
|
170
170
|
);
|
|
171
171
|
|
|
172
|
+
syncFile(
|
|
173
|
+
join(PKG_ROOT, "scripts", "notion-read.mjs"),
|
|
174
|
+
join(CLAUDE_DIR, "scripts", "notion-read.mjs"),
|
|
175
|
+
"notion-read.mjs"
|
|
176
|
+
);
|
|
177
|
+
|
|
172
178
|
// 스킬 동기화 (~/.claude/skills/{name}/SKILL.md)
|
|
173
179
|
const skillsSrc = join(PKG_ROOT, "skills");
|
|
174
180
|
const skillsDst = join(CLAUDE_DIR, "skills");
|
|
@@ -326,6 +332,11 @@ function cmdDoctor(options = {}) {
|
|
|
326
332
|
join(CLAUDE_DIR, "hud", "hud-qos-status.mjs"),
|
|
327
333
|
"hud-qos-status.mjs"
|
|
328
334
|
);
|
|
335
|
+
syncFile(
|
|
336
|
+
join(PKG_ROOT, "scripts", "notion-read.mjs"),
|
|
337
|
+
join(CLAUDE_DIR, "scripts", "notion-read.mjs"),
|
|
338
|
+
"notion-read.mjs"
|
|
339
|
+
);
|
|
329
340
|
// 스킬 동기화
|
|
330
341
|
const fSkillsSrc = join(PKG_ROOT, "skills");
|
|
331
342
|
const fSkillsDst = join(CLAUDE_DIR, "skills");
|
|
@@ -790,6 +801,7 @@ ${updateNotice}
|
|
|
790
801
|
${DIM} --reset${RESET} ${GRAY}캐시 전체 초기화${RESET}
|
|
791
802
|
${WHITE_BRIGHT}tfx update${RESET} ${GRAY}최신 버전으로 업데이트${RESET}
|
|
792
803
|
${WHITE_BRIGHT}tfx list${RESET} ${GRAY}설치된 스킬 목록${RESET}
|
|
804
|
+
${WHITE_BRIGHT}tfx notion-read${RESET} ${GRAY}Notion 페이지 → 마크다운 (Codex/Gemini MCP)${RESET}
|
|
793
805
|
${WHITE_BRIGHT}tfx version${RESET} ${GRAY}버전 표시${RESET}
|
|
794
806
|
|
|
795
807
|
${BOLD}Skills${RESET} ${GRAY}(Claude Code 슬래시 커맨드)${RESET}
|
|
@@ -819,6 +831,14 @@ switch (cmd) {
|
|
|
819
831
|
}
|
|
820
832
|
case "update": cmdUpdate(); break;
|
|
821
833
|
case "list": case "ls": cmdList(); break;
|
|
834
|
+
case "notion-read": case "nr": {
|
|
835
|
+
const scriptPath = join(PKG_ROOT, "scripts", "notion-read.mjs");
|
|
836
|
+
const nrArgs = process.argv.slice(3).map(a => `"${a}"`).join(" ");
|
|
837
|
+
try {
|
|
838
|
+
execSync(`"${process.execPath}" "${scriptPath}" ${nrArgs}`, { stdio: "inherit", timeout: 660000 });
|
|
839
|
+
} catch (e) { process.exit(e.status || 1); }
|
|
840
|
+
break;
|
|
841
|
+
}
|
|
822
842
|
case "version": case "--version": case "-v": cmdVersion(); break;
|
|
823
843
|
case "help": case "--help": case "-h": cmdHelp(); break;
|
|
824
844
|
default:
|