triflux 10.25.1 → 10.27.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 +31 -26
- package/README.md +24 -20
- package/bin/tfx-live.mjs +1732 -0
- package/bin/triflux.mjs +388 -75
- package/docs/assets/architecture.svg +211 -0
- package/docs/assets/consensus-flow.svg +125 -0
- package/docs/assets/deep-vs-light.svg +193 -0
- package/docs/assets/demo-dark.gif +0 -0
- package/docs/assets/demo-light.gif +0 -0
- package/docs/assets/demo-multi.gif +0 -0
- package/docs/assets/demo-psmux.gif +0 -0
- package/docs/assets/logo-dark.svg +29 -0
- package/docs/assets/logo-light.svg +29 -0
- package/docs/assets/social-preview.png +0 -0
- package/docs/assets/social-preview.svg +80 -0
- package/hooks/hook-registry.json +1 -1
- package/hooks/keyword-rules.json +8 -8
- package/hub/bridge.mjs +221 -1
- package/hub/delegator/contracts.mjs +6 -1
- package/hub/delegator/schema/delegator-tools.schema.json +1 -1
- package/hub/delegator/service.mjs +7 -2
- package/hub/gemini-adapter.mjs +27 -35
- package/hub/lib/tfx-route-args.mjs +10 -3
- package/hub/routing/q-learning.mjs +3 -3
- package/hub/server.mjs +21 -8
- package/hub/team/agent-map.json +3 -3
- package/hub/team/backend.mjs +3 -9
- package/hub/team/build-worker-prompt.mjs +33 -2
- package/hub/team/claude-daemon-control.mjs +911 -0
- package/hub/team/claude-native-bridge.mjs +242 -10
- package/hub/team/claude-session-projection.mjs +10 -1
- package/hub/team/cli/commands/start/index.mjs +3 -6
- package/hub/team/cli/commands/start/parse-args.mjs +10 -3
- package/hub/team/cli/commands/start/start-headless.mjs +50 -20
- package/hub/team/cli/help.mjs +1 -1
- package/hub/team/cli/services/runtime-mode.mjs +6 -3
- package/hub/team/execution-mode.mjs +27 -12
- package/hub/team/headless.mjs +190 -42
- package/hub/team/interactive-native-launcher.mjs +106 -0
- package/hub/team/interactive-native-worker.mjs +80 -0
- package/hub/team/interactive-tui-transport.mjs +465 -0
- package/hub/team/launcher-template.mjs +28 -6
- package/hub/team/native.mjs +46 -7
- package/hub/team/pane.mjs +0 -5
- package/hub/team/psmux.mjs +3 -3
- package/hub/team/retry-state-machine.mjs +83 -14
- package/hub/team/session.mjs +5 -36
- package/hub/team/swarm-hypervisor.mjs +54 -10
- package/hub/team/swarm-preflight.mjs +3 -1
- package/hub/team/terminal-opener.mjs +1 -1
- package/hub/team/tui-core.mjs +4 -0
- package/hub/team/tui-lite.mjs +3 -2
- package/hub/team/tui-viewer.mjs +4 -4
- package/hub/team/tui.mjs +4 -2
- package/hub/team/worker-sandbox.mjs +4 -0
- package/hub/tools.mjs +4 -1
- package/hub/workers/antigravity-route-worker.mjs +179 -0
- package/hub/workers/delegator-mcp.mjs +60 -319
- package/hub/workers/factory.mjs +7 -4
- package/hub/workers/gemini-worker.mjs +56 -306
- package/hub/workers/interface.mjs +2 -1
- package/hub/workers/worker-utils.mjs +1 -1
- package/hud/constants.mjs +29 -0
- package/hud/hud-qos-status.mjs +38 -10
- package/hud/providers/gemini.mjs +74 -1
- package/hud/renderers.mjs +84 -4
- package/package.json +7 -3
- package/scripts/__tests__/gen-skill-manifest.test.mjs +81 -0
- package/scripts/__tests__/keyword-detector.test.mjs +6 -6
- package/scripts/__tests__/lint-skills.test.mjs +101 -0
- package/scripts/__tests__/skill-template.test.mjs +0 -37
- package/scripts/__tests__/tfx-route-bash-node-parity.test.mjs +21 -14
- package/scripts/__tests__/tfx-route-node-entry.test.mjs +12 -10
- package/scripts/cache-warmup.mjs +19 -5
- package/scripts/completions/tfx.bash +47 -14
- package/scripts/completions/tfx.fish +50 -33
- package/scripts/completions/tfx.zsh +68 -43
- package/scripts/demo.mjs +15 -5
- package/scripts/headless-guard-fast.sh +11 -3
- package/scripts/headless-guard.mjs +16 -13
- package/scripts/keyword-rules-expander.mjs +9 -9
- package/scripts/lib/cli-codex.mjs +3 -3
- package/scripts/lib/cli-gemini.mjs +20 -50
- package/scripts/lib/keyword-rules.mjs +1 -1
- package/scripts/lib/psmux-info.mjs +50 -5
- package/scripts/lint-skills.mjs +198 -0
- package/scripts/notion-read.mjs +38 -24
- package/scripts/preflight-cache.mjs +90 -19
- package/scripts/release/check-packages-mirror.mjs +64 -8
- package/scripts/setup.mjs +290 -97
- package/scripts/test-lock.mjs +26 -1
- package/scripts/tfx-route-worker.mjs +15 -9
- package/scripts/tfx-route.mjs +1 -2
- package/scripts/tfx-route.sh +231 -75
- package/skills/tfx-analysis/SKILL.md +4 -4
- package/skills/tfx-auto/SKILL.md +40 -36
- package/skills/tfx-auto/skill.json +2 -2
- package/skills/tfx-debate/SKILL.md +1 -1
- package/skills/tfx-hub/SKILL.md +1 -1
- package/skills/tfx-index/SKILL.md +1 -1
- package/skills/tfx-interview/SKILL.md +9 -9
- package/skills/tfx-live/SKILL.md +89 -0
- package/skills/tfx-live/skill.json +10 -0
- package/skills/tfx-panel/SKILL.md +2 -2
- package/skills/tfx-plan/SKILL.md +27 -13
- package/skills/tfx-profile/SKILL.md +35 -39
- package/skills/tfx-prune/SKILL.md +2 -2
- package/skills/tfx-qa/SKILL.md +3 -3
- package/skills/tfx-research/SKILL.md +3 -3
- package/skills/tfx-review/SKILL.md +3 -3
- package/skills/tfx-setup/SKILL.md +4 -4
- package/tui/codex-profile.mjs +409 -0
- package/tui/core.mjs +266 -0
- package/tui/doctor.mjs +375 -0
- package/tui/gemini-profile.mjs +299 -0
- package/tui/monitor-data.mjs +152 -0
- package/tui/monitor.mjs +317 -0
- package/tui/setup.mjs +633 -0
- package/scripts/__tests__/gen-skill-docs.test.mjs +0 -208
- package/scripts/convert-to-tmpl.mjs +0 -54
- package/scripts/gen-skill-docs.mjs +0 -119
- package/skills/merge-worktree/SKILL.md.tmpl +0 -144
- package/skills/star-prompt/SKILL.md.tmpl +0 -222
- package/skills/tfx-analysis/SKILL.md.tmpl +0 -107
- package/skills/tfx-auto/SKILL.md.tmpl +0 -331
- package/skills/tfx-autopilot/SKILL.md.tmpl +0 -116
- package/skills/tfx-consensus/SKILL.md.tmpl +0 -146
- package/skills/tfx-debate/SKILL.md.tmpl +0 -192
- package/skills/tfx-doctor/SKILL.md.tmpl +0 -172
- package/skills/tfx-find/SKILL.md.tmpl +0 -130
- package/skills/tfx-forge/SKILL.md.tmpl +0 -187
- package/skills/tfx-fullcycle/SKILL.md.tmpl +0 -286
- package/skills/tfx-hooks/SKILL.md.tmpl +0 -216
- package/skills/tfx-hub/SKILL.md.tmpl +0 -212
- package/skills/tfx-index/SKILL.md.tmpl +0 -148
- package/skills/tfx-interview/SKILL.md.tmpl +0 -285
- package/skills/tfx-multi/SKILL.md.tmpl +0 -183
- package/skills/tfx-panel/SKILL.md.tmpl +0 -189
- package/skills/tfx-persist/SKILL.md.tmpl +0 -276
- package/skills/tfx-plan/SKILL.md.tmpl +0 -68
- package/skills/tfx-profile/SKILL.md.tmpl +0 -239
- package/skills/tfx-prune/SKILL.md.tmpl +0 -200
- package/skills/tfx-psmux-rules/SKILL.md.tmpl +0 -41
- package/skills/tfx-qa/SKILL.md.tmpl +0 -122
- package/skills/tfx-ralph/SKILL.md.tmpl +0 -28
- package/skills/tfx-remote-setup/SKILL.md.tmpl +0 -42
- package/skills/tfx-remote-spawn/SKILL.md.tmpl +0 -52
- package/skills/tfx-research/SKILL.md.tmpl +0 -149
- package/skills/tfx-review/SKILL.md.tmpl +0 -57
- package/skills/tfx-setup/SKILL.md.tmpl +0 -545
- package/skills/tfx-swarm/SKILL.md.tmpl +0 -218
package/README.ko.md
CHANGED
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
</picture>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
|
-
<h3 align="center">Claude Code, Codex,
|
|
11
|
+
<h3 align="center">Claude Code, Codex, Antigravity를 위한 CLI-first 멀티 모델 오케스트레이션</h3>
|
|
12
12
|
|
|
13
13
|
<p align="center">
|
|
14
|
-
작업 라우팅, 에이전트 조율, 로컬/원격 팀 실행, Codex/
|
|
15
|
-
감사 가능한
|
|
14
|
+
작업 라우팅, 에이전트 조율, 로컬/원격 팀 실행, Codex/Antigravity/Claude 실행 경로를<br>
|
|
15
|
+
감사 가능한 경로로 묶는 단일 진입점입니다.
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
19
19
|
<a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/v/triflux?style=flat-square&color=FFAF00&label=npm" alt="npm version"></a>
|
|
20
20
|
<a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/dm/triflux?style=flat-square&color=F5C242" alt="npm downloads"></a>
|
|
21
21
|
<a href="https://github.com/tellang/triflux/stargazers"><img src="https://img.shields.io/github/stars/tellang/triflux?style=flat-square&color=FFAF00" alt="GitHub stars"></a>
|
|
22
|
-
<img src="https://img.shields.io/badge/skill_files-
|
|
23
|
-
<sub>deprecated 호환 alias 11개는 전면
|
|
22
|
+
<img src="https://img.shields.io/badge/skill_files-34-F5C242?style=flat-square" alt="34 skill files">
|
|
23
|
+
<sub>deprecated 호환 alias 11개는 전면 API가 아닙니다</sub>
|
|
24
24
|
<img src="https://img.shields.io/badge/node-%3E%3D18-374151?style=flat-square" alt="Node >= 18">
|
|
25
25
|
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-374151?style=flat-square" alt="License: MIT"></a>
|
|
26
26
|
</p>
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
|
|
43
43
|
## triflux란?
|
|
44
44
|
|
|
45
|
-
triflux는 **Claude Code plugin + npm CLI**입니다. Claude, Codex,
|
|
46
|
-
오가며 AI 코딩 작업을
|
|
47
|
-
되지 않도록 현재
|
|
45
|
+
triflux는 **Claude Code plugin + npm CLI**입니다. Claude, Codex, Antigravity를
|
|
46
|
+
오가며 AI 코딩 작업을 라우팅합니다. 임의 셸 명령이나 오래된 skill alias가
|
|
47
|
+
제어 표면이 되지 않도록 현재 진입점을 좁혔습니다.
|
|
48
48
|
|
|
49
49
|
현재 설계는 예전 README보다 단순합니다.
|
|
50
50
|
|
|
@@ -105,7 +105,7 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
|
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
> deep, consensus, team, swarm 경로는 관련 CLI와 터미널 multiplexer가 필요합니다.
|
|
108
|
-
> 먼저 `tfx doctor`를 실행하면 Codex/
|
|
108
|
+
> 먼저 `tfx doctor`를 실행하면 Codex/Antigravity/Claude, psmux/tmux, Hub, MCP,
|
|
109
109
|
> profile, stale skill 문제를 한 번에 확인할 수 있습니다.
|
|
110
110
|
|
|
111
111
|
---
|
|
@@ -120,26 +120,31 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
|
|
|
120
120
|
| --- | --- |
|
|
121
121
|
| `tfx setup` | scripts, HUD, hooks, MCP, profile 동기화. `--dry-run` 지원. |
|
|
122
122
|
| `tfx doctor` | 설치 상태 진단/복구. `--fix`, `--reset`, `--diagnose`, `--json` 지원. |
|
|
123
|
+
| `tfx auto` | `tfx-auto` 라우팅 결정을 미리 확인. `--cli`, `--mode`, `--parallel`, `--json` 지원. |
|
|
123
124
|
| `tfx mcp` | MCP registry 대상을 `list`, `sync`, `add`, `remove`. |
|
|
124
125
|
| `tfx hub` | 로컬 MCP 메시지 버스 시작/중지/보장/상태 확인. |
|
|
125
|
-
| `tfx list` | 설치된 package
|
|
126
|
+
| `tfx list` | 설치된 package skill과 user skill 목록. |
|
|
126
127
|
| `tfx handoff` | 현재 컨텍스트를 로컬/원격 이어받기 프롬프트로 직렬화. |
|
|
127
128
|
| `tfx schema` | CLI와 Hub delegator schema 출력. |
|
|
129
|
+
| `tfx hooks` | hook orchestrator를 scan/diff/apply/restore/status로 관리. |
|
|
130
|
+
| `tfx tray` | tray/HUD 상태 프로세스 실행. `--attach`는 foreground 디버깅용. |
|
|
128
131
|
| `tfx multi` | tmux/psmux + Hub 기반 로컬 multi-agent team 실행. |
|
|
129
132
|
| `tfx swarm` | PRD 기반 worktree 격리 swarm의 plan/preflight/run/list. |
|
|
130
133
|
| `tfx synapse` | swarm registry와 lease 상태 확인. |
|
|
131
|
-
| `tfx
|
|
132
|
-
| `tfx
|
|
134
|
+
| `tfx review` | Codex 기반 git diff review 실행. |
|
|
135
|
+
| `tfx codex-team` | Codex lead team mode용 편의 wrapper. |
|
|
136
|
+
| `tfx notion-read` | MCP client로 Notion 페이지를 Markdown으로 변환. |
|
|
133
137
|
| `tfx why` | 특정 경로의 마지막 커밋 intent trailer 조회. |
|
|
134
138
|
| `tfx update` | 최신 stable/dev 패키지로 업데이트. |
|
|
139
|
+
| `tfx monitor` | 터미널 TUI monitor 실행. |
|
|
135
140
|
| `tfx version` | 버전 정보 출력. |
|
|
136
|
-
| `tfx-profile` | Codex
|
|
141
|
+
| `tfx-profile` | Codex profile 관리용 편의 binary. |
|
|
137
142
|
|
|
138
143
|
정확한 인자 계약은 `tfx schema <command>`로 확인합니다.
|
|
139
144
|
|
|
140
145
|
### Claude Code skill
|
|
141
146
|
|
|
142
|
-
패키지에는 **
|
|
147
|
+
패키지에는 **34개 skill 파일**이 들어 있습니다. 크게 나누면 다음과 같습니다.
|
|
143
148
|
|
|
144
149
|
- **표준 진입점**: `tfx-auto`, `tfx-remote`, `tfx-doctor`, `tfx-setup`,
|
|
145
150
|
`tfx-profile`, `tfx-hub`, `tfx-hooks`, `tfx-ship`, `tfx-wt`.
|
|
@@ -150,7 +155,7 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
|
|
|
150
155
|
|
|
151
156
|
### 표준 플래그 맵
|
|
152
157
|
|
|
153
|
-
대부분의 옛 skill 이름은
|
|
158
|
+
대부분의 옛 skill 이름은 `tfx-auto` 플래그로 표현할 수 있습니다.
|
|
154
159
|
|
|
155
160
|
| 의도 | 표준 형태 |
|
|
156
161
|
| --- | --- |
|
|
@@ -161,11 +166,11 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
|
|
|
161
166
|
| debate 또는 panel 보고 | `/tfx-auto "작업" --mode consensus --shape debate|panel` |
|
|
162
167
|
| 로컬 병렬 작업 | `/tfx-auto "작업" --parallel N --mode deep` 또는 shell `tfx multi ...` |
|
|
163
168
|
| PRD/worktree swarm | `/tfx-auto "작업" --parallel swarm --mode consensus --isolation worktree` 또는 shell `tfx swarm ...` |
|
|
164
|
-
| CLI lane 강제 | `/tfx-auto "작업" --cli codex|
|
|
169
|
+
| CLI lane 강제 | `/tfx-auto "작업" --cli codex|antigravity|claude` |
|
|
165
170
|
|
|
166
171
|
### 제어 표면의 경계
|
|
167
172
|
|
|
168
|
-
triflux를 디버그하거나 확장할 때는 아래
|
|
173
|
+
triflux를 디버그하거나 확장할 때는 아래 경계를 분리해서 봐야 합니다.
|
|
169
174
|
|
|
170
175
|
| 표면 | 기준 위치 | npm/plugin 포함 여부 |
|
|
171
176
|
| --- | --- | --- |
|
|
@@ -208,7 +213,7 @@ triflux를 디버그하거나 확장할 때는 아래 표면을 나눠서 봐야
|
|
|
208
213
|
/tfx-auto "마이그레이션 전략 리뷰" --mode consensus --shape panel
|
|
209
214
|
```
|
|
210
215
|
|
|
211
|
-
참여 lane은 설정된 Claude/Codex/
|
|
216
|
+
참여 lane은 설정된 Claude/Codex/Antigravity입니다. 어떤 lane이 없으면 결과에 partial/degraded 상태가 드러나야 합니다.
|
|
212
217
|
|
|
213
218
|
### 로컬 팀 또는 PRD swarm
|
|
214
219
|
|
|
@@ -256,15 +261,15 @@ tfx handoff --target remote --decision "README는 canonical 중심, alias는 doc
|
|
|
256
261
|
graph TD
|
|
257
262
|
User([User / Claude Code / shell]) --> Skills[Claude skills]
|
|
258
263
|
User --> CLI[tfx CLI]
|
|
259
|
-
Skills --> Auto[/tfx-auto]
|
|
260
|
-
Skills --> Remote[/tfx-remote]
|
|
264
|
+
Skills --> Auto["/tfx-auto"]
|
|
265
|
+
Skills --> Remote["/tfx-remote"]
|
|
261
266
|
CLI --> Hub[triflux Hub]
|
|
262
267
|
CLI --> Team[tfx multi / swarm]
|
|
263
268
|
Auto --> Route[tfx-route.sh + guards]
|
|
264
269
|
Team --> Hub
|
|
265
270
|
Remote --> Hub
|
|
266
271
|
Route --> Codex[Codex CLI]
|
|
267
|
-
Route -->
|
|
272
|
+
Route --> Antigravity[Antigravity agy CLI]
|
|
268
273
|
Route --> Claude[Claude Code]
|
|
269
274
|
Hub --> MCP[MCP registry + bridge]
|
|
270
275
|
Hub --> Store[(SQLite or memory store)]
|
|
@@ -276,7 +281,7 @@ graph TD
|
|
|
276
281
|
1. Claude Code prompt 또는 명시적 skill 호출.
|
|
277
282
|
2. keyword/routing hook이 context를 추가하거나 skill을 고릅니다.
|
|
278
283
|
3. `tfx-auto`가 intent를 mode, retry, parallelism, risk tier, 대상 CLI lane으로 정규화합니다.
|
|
279
|
-
4. `tfx-route.sh`, Hub worker, 또는 `tfx` CLI가 실제 Codex/
|
|
284
|
+
4. `tfx-route.sh`, Hub worker, 또는 `tfx` CLI가 실제 Codex/Antigravity/Claude 기반 작업을 실행합니다.
|
|
280
285
|
5. Hub가 team message, lease, retry, handoff, status surface를 기록합니다.
|
|
281
286
|
|
|
282
287
|
### Hub
|
|
@@ -303,7 +308,7 @@ triflux는 위험한 실행을 관리된 경로 뒤에 둡니다.
|
|
|
303
308
|
|
|
304
309
|
### Profile과 모델 라우팅
|
|
305
310
|
|
|
306
|
-
Codex
|
|
311
|
+
Codex profile은 `tfx-profile`로 관리하고, Antigravity 및 legacy Gemini 호환 상태는 `tfx setup`/`tfx doctor`로 점검합니다. 이미 profile이
|
|
307
312
|
소유한 model/effort 값을 launcher script에 중복 하드코딩하지 마세요.
|
|
308
313
|
|
|
309
314
|
---
|
|
@@ -332,7 +337,7 @@ tfx mcp remove context7
|
|
|
332
337
|
```
|
|
333
338
|
|
|
334
339
|
registry가 관리 대상 MCP 설정의 source of truth입니다. Drift 디버깅이 아니라면
|
|
335
|
-
Codex/
|
|
340
|
+
Codex/Antigravity/Claude MCP 파일을 직접 수정하지 마세요.
|
|
336
341
|
|
|
337
342
|
### State snapshot
|
|
338
343
|
|
|
@@ -350,7 +355,7 @@ npm run snapshot:all
|
|
|
350
355
|
패키지 내용에 영향이 있는 저장소 변경은 ship 전에 release gate를 통과시킵니다.
|
|
351
356
|
|
|
352
357
|
```bash
|
|
353
|
-
npm run
|
|
358
|
+
npm run lint:skills
|
|
354
359
|
npm run gen:skill-manifest
|
|
355
360
|
npm run release:check-sync
|
|
356
361
|
npm run release:check-mirror
|
|
@@ -382,7 +387,7 @@ agent/launcher가 따라야 하는 더 엄격한 Windows/psmux 규칙은 `AGENTS
|
|
|
382
387
|
| Hub token auth | 설정된 경우 Hub API에 로컬 bearer token 적용. |
|
|
383
388
|
| Localhost binding | Hub 기본 bind는 `127.0.0.1`. |
|
|
384
389
|
| MCP registry guard | 지원하지 않거나 stale한 MCP record를 관리형 HTTP entry로 교체. |
|
|
385
|
-
| Headless guard | 비관리 Codex/
|
|
390
|
+
| Headless guard | 비관리 Codex/Antigravity headless 실행 경로와 deprecated Gemini route 차단. |
|
|
386
391
|
| Safety guard | psmux/SSH/WT 셸 민감 흐름 sanitizing. |
|
|
387
392
|
| Consensus reporting | deep/consensus workflow는 degraded/disputed 결과를 명시해야 함. |
|
|
388
393
|
|
package/README.md
CHANGED
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
</picture>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
|
-
<h3 align="center">CLI-first multi-model orchestration for Claude Code, Codex, and
|
|
11
|
+
<h3 align="center">CLI-first multi-model orchestration for Claude Code, Codex, and Antigravity</h3>
|
|
12
12
|
|
|
13
13
|
<p align="center">
|
|
14
14
|
One front door for routing work, coordinating agents, running local/remote teams,<br>
|
|
15
|
-
and keeping Codex/
|
|
15
|
+
and keeping Codex/Antigravity/Claude execution behind auditable guards.
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
19
19
|
<a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/v/triflux?style=flat-square&color=FFAF00&label=npm" alt="npm version"></a>
|
|
20
20
|
<a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/dm/triflux?style=flat-square&color=F5C242" alt="npm downloads"></a>
|
|
21
21
|
<a href="https://github.com/tellang/triflux/stargazers"><img src="https://img.shields.io/github/stars/tellang/triflux?style=flat-square&color=FFAF00" alt="GitHub stars"></a>
|
|
22
|
-
<img src="https://img.shields.io/badge/skill_files-
|
|
22
|
+
<img src="https://img.shields.io/badge/skill_files-34-F5C242?style=flat-square" alt="34 skill files">
|
|
23
23
|
<sub>11 compatibility aliases are deprecated</sub>
|
|
24
24
|
<img src="https://img.shields.io/badge/node-%3E%3D18-374151?style=flat-square" alt="Node >= 18">
|
|
25
25
|
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-374151?style=flat-square" alt="License: MIT"></a>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
## What is triflux?
|
|
44
44
|
|
|
45
45
|
triflux is a **Claude Code plugin + npm CLI** for routing AI coding work across
|
|
46
|
-
Claude, Codex, and
|
|
46
|
+
Claude, Codex, and Antigravity without letting ad-hoc shell commands or stale skill
|
|
47
47
|
aliases become the control plane.
|
|
48
48
|
|
|
49
49
|
The current design is intentionally simpler than the old README implied:
|
|
@@ -111,7 +111,7 @@ tfx codex-team "refactor auth + add tests"
|
|
|
111
111
|
```
|
|
112
112
|
|
|
113
113
|
> Deep, consensus, team, and swarm paths need the relevant CLIs and a terminal
|
|
114
|
-
> multiplexer. Run `tfx doctor` first; it reports missing Codex/
|
|
114
|
+
> multiplexer. Run `tfx doctor` first; it reports missing Codex/Antigravity/Claude,
|
|
115
115
|
> psmux/tmux, Hub, MCP, profile, and stale-skill issues.
|
|
116
116
|
|
|
117
117
|
---
|
|
@@ -126,26 +126,31 @@ The `tfx` CLI currently exposes these primary commands:
|
|
|
126
126
|
| --- | --- |
|
|
127
127
|
| `tfx setup` | Sync scripts, HUD, hooks, MCP, and profiles. Supports `--dry-run`. |
|
|
128
128
|
| `tfx doctor` | Diagnose and repair installation state. Supports `--fix`, `--reset`, `--diagnose`, `--json`. |
|
|
129
|
+
| `tfx auto` | Preview the `tfx-auto` routing decision. Supports `--cli`, `--mode`, `--parallel`, `--json`. |
|
|
129
130
|
| `tfx mcp` | Manage MCP registry targets with `list`, `sync`, `add`, and `remove`. |
|
|
130
131
|
| `tfx hub` | Start, stop, ensure, or inspect the local MCP message bus. |
|
|
131
132
|
| `tfx list` | Show installed package and user skills. |
|
|
132
133
|
| `tfx handoff` | Serialize the current context for local or remote continuation. |
|
|
133
134
|
| `tfx schema` | Print CLI and Hub delegator schemas. |
|
|
135
|
+
| `tfx hooks` | Scan, diff, apply, restore, or inspect hook orchestrator state. |
|
|
136
|
+
| `tfx tray` | Start the tray/HUD status process; use `--attach` for foreground debugging. |
|
|
134
137
|
| `tfx multi` | Launch local multi-agent team mode through tmux/psmux + Hub. |
|
|
135
138
|
| `tfx swarm` | Plan, preflight, run, or list PRD-based worktree-isolated swarm work. |
|
|
136
139
|
| `tfx synapse` | Inspect swarm registry and leases. |
|
|
140
|
+
| `tfx review` | Run Codex-backed git diff review. |
|
|
137
141
|
| `tfx codex-team` | Codex-led team mode convenience wrapper. |
|
|
138
142
|
| `tfx notion-read` | Convert Notion pages to Markdown through configured MCP clients. |
|
|
139
143
|
| `tfx why` | Read intent trailers from the last commit touching a path. |
|
|
140
144
|
| `tfx update` | Update to the latest stable or dev package. |
|
|
145
|
+
| `tfx monitor` | Open the terminal TUI monitor. |
|
|
141
146
|
| `tfx version` | Print version information. |
|
|
142
|
-
| `tfx-profile` | Convenience binary for interactive Codex
|
|
147
|
+
| `tfx-profile` | Convenience binary for interactive Codex profile management. |
|
|
143
148
|
|
|
144
149
|
Run `tfx schema <command>` for the exact argument contract.
|
|
145
150
|
|
|
146
151
|
### Claude Code skills
|
|
147
152
|
|
|
148
|
-
The package ships **
|
|
153
|
+
The package ships **34 skill files**. The important split is:
|
|
149
154
|
|
|
150
155
|
- **Canonical entrypoints**: `tfx-auto`, `tfx-remote`, `tfx-doctor`,
|
|
151
156
|
`tfx-setup`, `tfx-profile`, `tfx-hub`, `tfx-hooks`, `tfx-ship`, `tfx-wt`.
|
|
@@ -169,7 +174,7 @@ Most old skill names now map to explicit `tfx-auto` flags:
|
|
|
169
174
|
| debate or panel report | `/tfx-auto "task" --mode consensus --shape debate|panel` |
|
|
170
175
|
| local parallel work | `/tfx-auto "task" --parallel N --mode deep` or shell `tfx multi ...` |
|
|
171
176
|
| PRD/worktree swarm | `/tfx-auto "task" --parallel swarm --mode consensus --isolation worktree` or shell `tfx swarm ...` |
|
|
172
|
-
| force a CLI lane | `/tfx-auto "task" --cli codex|
|
|
177
|
+
| force a CLI lane | `/tfx-auto "task" --cli codex|antigravity|claude` |
|
|
173
178
|
|
|
174
179
|
### Control-plane boundaries
|
|
175
180
|
|
|
@@ -217,7 +222,7 @@ explicit. Use `--mode quick|deep|consensus` when you already know the mode.
|
|
|
217
222
|
/tfx-auto "review the migration strategy" --mode consensus --shape panel
|
|
218
223
|
```
|
|
219
224
|
|
|
220
|
-
Consensus participants are the configured Claude/Codex/
|
|
225
|
+
Consensus participants are the configured Claude/Codex/Antigravity lanes. If a lane is
|
|
221
226
|
unavailable, the result should report partial/degraded status instead of hiding it.
|
|
222
227
|
|
|
223
228
|
### Local team or PRD swarm
|
|
@@ -267,15 +272,15 @@ state without replaying the entire conversation.
|
|
|
267
272
|
graph TD
|
|
268
273
|
User([User / Claude Code / shell]) --> Skills[Claude skills]
|
|
269
274
|
User --> CLI[tfx CLI]
|
|
270
|
-
Skills --> Auto[/tfx-auto]
|
|
271
|
-
Skills --> Remote[/tfx-remote]
|
|
275
|
+
Skills --> Auto["/tfx-auto"]
|
|
276
|
+
Skills --> Remote["/tfx-remote"]
|
|
272
277
|
CLI --> Hub[triflux Hub]
|
|
273
278
|
CLI --> Team[tfx multi / swarm]
|
|
274
279
|
Auto --> Route[tfx-route.sh + guards]
|
|
275
280
|
Team --> Hub
|
|
276
281
|
Remote --> Hub
|
|
277
282
|
Route --> Codex[Codex CLI]
|
|
278
|
-
Route -->
|
|
283
|
+
Route --> Antigravity[Antigravity agy CLI]
|
|
279
284
|
Route --> Claude[Claude Code]
|
|
280
285
|
Hub --> MCP[MCP registry + bridge]
|
|
281
286
|
Hub --> Store[(SQLite or memory store)]
|
|
@@ -288,7 +293,7 @@ The common routing path is:
|
|
|
288
293
|
2. Keyword/routing hooks may add context or choose a skill.
|
|
289
294
|
3. `tfx-auto` normalizes intent into mode, retry, parallelism, risk tier, and
|
|
290
295
|
target CLI lane.
|
|
291
|
-
4. `tfx-route.sh`, Hub workers, or the `tfx` CLI execute the actual Codex/
|
|
296
|
+
4. `tfx-route.sh`, Hub workers, or the `tfx` CLI execute the actual Codex/Antigravity/
|
|
292
297
|
Claude-backed work.
|
|
293
298
|
5. Hub records team messages, leases, retries, handoffs, and status surfaces.
|
|
294
299
|
|
|
@@ -313,13 +318,13 @@ team, or MCP workflows allow localhost access if your environment requires it.
|
|
|
313
318
|
triflux keeps risky execution behind managed routes:
|
|
314
319
|
|
|
315
320
|
- CLI calls should flow through `tfx-route.sh`, Hub workers, or the `tfx` CLI.
|
|
316
|
-
- Direct `codex exec`
|
|
321
|
+
- Direct `codex exec`, unmanaged `agy`, and deprecated `gemini` routes are guarded in the installed workflow.
|
|
317
322
|
- psmux/Windows Terminal flows must use the managed API and documented rules, not
|
|
318
323
|
ad-hoc `wt.exe` or `psmux send-keys` snippets.
|
|
319
324
|
|
|
320
325
|
### Profiles and model routing
|
|
321
326
|
|
|
322
|
-
Use `tfx-profile`
|
|
327
|
+
Use `tfx-profile` for Codex profiles and `tfx setup`/`tfx doctor` for Antigravity plus legacy Gemini compatibility state. Do not hardcode
|
|
323
328
|
model and effort flags in launcher scripts when a profile already owns them.
|
|
324
329
|
|
|
325
330
|
---
|
|
@@ -348,12 +353,11 @@ tfx mcp remove context7
|
|
|
348
353
|
```
|
|
349
354
|
|
|
350
355
|
The registry is the source of truth for managed MCP targets. Avoid hand-editing
|
|
351
|
-
Codex/
|
|
356
|
+
Codex/Antigravity/Claude MCP files unless you are intentionally debugging drift.
|
|
352
357
|
|
|
353
358
|
### State snapshots
|
|
354
359
|
|
|
355
|
-
Hub startup can take best-effort daily snapshots of selected `~/.codex/` and
|
|
356
|
-
`~/.gemini/` state into ignored `references/*-snapshots/` folders. Manual helpers:
|
|
360
|
+
Hub startup can take best-effort daily snapshots of selected `~/.codex/` and Antigravity/Gemini `~/.gemini/` state into ignored `references/*-snapshots/` folders. Manual helpers:
|
|
357
361
|
|
|
358
362
|
```bash
|
|
359
363
|
npm run snapshot:codex
|
|
@@ -367,7 +371,7 @@ For repository changes that affect package contents, run the release gates befor
|
|
|
367
371
|
shipping:
|
|
368
372
|
|
|
369
373
|
```bash
|
|
370
|
-
npm run
|
|
374
|
+
npm run lint:skills
|
|
371
375
|
npm run gen:skill-manifest
|
|
372
376
|
npm run release:check-sync
|
|
373
377
|
npm run release:check-mirror
|
|
@@ -399,7 +403,7 @@ rules used by agents and launch scripts.
|
|
|
399
403
|
| Hub token auth | Local bearer token for Hub APIs where configured. |
|
|
400
404
|
| Localhost binding | Hub defaults to `127.0.0.1`. |
|
|
401
405
|
| MCP registry guard | Replaces unsupported or stale MCP records with managed HTTP entries. |
|
|
402
|
-
| Headless guard | Blocks unmanaged Codex/
|
|
406
|
+
| Headless guard | Blocks unmanaged Codex/Antigravity headless execution paths and deprecated Gemini routes. |
|
|
403
407
|
| Safety guard | Sanitizes shell-sensitive psmux/SSH/WT flows. |
|
|
404
408
|
| Consensus reporting | Deep/consensus workflows should report degraded or disputed findings explicitly. |
|
|
405
409
|
|