triflux 10.0.2 → 10.0.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.
- package/bin/triflux.mjs +4 -4
- package/package.json +16 -4
- package/scripts/__tests__/smoke.test.mjs +34 -34
package/bin/triflux.mjs
CHANGED
|
@@ -788,8 +788,8 @@ function cmdSetup(options = {}) {
|
|
|
788
788
|
}
|
|
789
789
|
{
|
|
790
790
|
const claudeGuide = ensureGlobalClaudeRoutingSection(CLAUDE_DIR);
|
|
791
|
-
if (
|
|
792
|
-
else if (claudeGuide.
|
|
791
|
+
if (claudeGuide.skipped) warn(`CLAUDE.md 라우팅 섹션 확인 실패: ${claudeGuide.reason}`);
|
|
792
|
+
else if (claudeGuide.action === "created" || claudeGuide.action === "updated") ok("CLAUDE.md: 전역 triflux 라우팅 요약 갱신");
|
|
793
793
|
else ok("CLAUDE.md: 전역 triflux 라우팅 요약 유지");
|
|
794
794
|
}
|
|
795
795
|
|
|
@@ -1374,8 +1374,8 @@ async function cmdDoctor(options = {}) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
{
|
|
1376
1376
|
const claudeGuide = ensureGlobalClaudeRoutingSection(CLAUDE_DIR);
|
|
1377
|
-
if (
|
|
1378
|
-
else if (claudeGuide.
|
|
1377
|
+
if (claudeGuide.skipped) warn(`CLAUDE.md 라우팅 섹션 확인 실패: ${claudeGuide.reason}`);
|
|
1378
|
+
else if (claudeGuide.action === "created" || claudeGuide.action === "updated") ok("CLAUDE.md: 전역 triflux 라우팅 요약 갱신");
|
|
1379
1379
|
}
|
|
1380
1380
|
// 스킬 동기화
|
|
1381
1381
|
const fSkillsSrc = join(PKG_ROOT, "skills");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "triflux",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.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": {
|
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
"tfx-doctor-tui": "bin/tfx-doctor-tui.mjs",
|
|
14
14
|
"tfx-setup-tui": "bin/tfx-setup-tui.mjs"
|
|
15
15
|
},
|
|
16
|
-
"engines": {
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=18.0.0"
|
|
18
|
+
},
|
|
17
19
|
"dependencies": {
|
|
18
|
-
"@triflux/core": "
|
|
20
|
+
"@triflux/core": "10.0.1",
|
|
19
21
|
"@triflux/remote": "^10.0.0-alpha.1"
|
|
20
22
|
},
|
|
21
23
|
"files": [
|
|
@@ -31,7 +33,17 @@
|
|
|
31
33
|
"README.md",
|
|
32
34
|
"LICENSE"
|
|
33
35
|
],
|
|
34
|
-
"keywords": [
|
|
36
|
+
"keywords": [
|
|
37
|
+
"claude-code",
|
|
38
|
+
"plugin",
|
|
39
|
+
"codex",
|
|
40
|
+
"gemini",
|
|
41
|
+
"cli-routing",
|
|
42
|
+
"orchestration",
|
|
43
|
+
"multi-model",
|
|
44
|
+
"triflux",
|
|
45
|
+
"tfx"
|
|
46
|
+
],
|
|
35
47
|
"author": "tellang",
|
|
36
48
|
"license": "MIT",
|
|
37
49
|
"homepage": "https://github.com/tellang/triflux#readme",
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { describe, it } from "node:test";
|
|
2
|
-
import assert from "node:assert/strict";
|
|
3
|
-
|
|
4
|
-
describe("smoke: 주요 모듈 import 검증", () => {
|
|
5
|
-
it("scripts/lib/keyword-rules.mjs — 순수 함수 export", async () => {
|
|
6
|
-
const mod = await import("../lib/keyword-rules.mjs");
|
|
7
|
-
assert.equal(typeof mod.loadRules, "function");
|
|
8
|
-
assert.equal(typeof mod.compileRules, "function");
|
|
9
|
-
assert.equal(typeof mod.matchRules, "function");
|
|
10
|
-
assert.equal(typeof mod.resolveConflicts, "function");
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
it("hub/team/shared.mjs — ANSI 상수 export", async () => {
|
|
14
|
-
const mod = await import("../../hub/team/shared.mjs");
|
|
15
|
-
assert.equal(typeof mod.AMBER, "string");
|
|
16
|
-
assert.equal(typeof mod.RESET, "string");
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
it("hub/team/staleState.mjs — stale 상태 유틸 export", async () => {
|
|
20
|
-
const mod = await import("../../hub/team/staleState.mjs");
|
|
21
|
-
assert.equal(typeof mod.TEAM_STATE_FILE_NAME, "string");
|
|
22
|
-
assert.equal(typeof mod.STALE_TEAM_MAX_AGE_MS, "number");
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it("hub/pipeline/transitions.mjs — 파이프라인 전이 규칙 export", async () => {
|
|
26
|
-
const mod = await import("../../hub/pipeline/transitions.mjs");
|
|
27
|
-
assert.ok(Array.isArray(mod.PHASES));
|
|
28
|
-
assert.ok(mod.PHASES.includes("plan"));
|
|
29
|
-
assert.ok(mod.PHASES.includes("complete"));
|
|
30
|
-
assert.ok(mod.TERMINAL instanceof Set);
|
|
31
|
-
assert.ok(mod.TERMINAL.has("complete"));
|
|
32
|
-
assert.ok(mod.TERMINAL.has("failed"));
|
|
33
|
-
});
|
|
34
|
-
});
|
|
1
|
+
import { describe, it } from "node:test";
|
|
2
|
+
import assert from "node:assert/strict";
|
|
3
|
+
|
|
4
|
+
describe("smoke: 주요 모듈 import 검증", () => {
|
|
5
|
+
it("scripts/lib/keyword-rules.mjs — 순수 함수 export", async () => {
|
|
6
|
+
const mod = await import("../lib/keyword-rules.mjs");
|
|
7
|
+
assert.equal(typeof mod.loadRules, "function");
|
|
8
|
+
assert.equal(typeof mod.compileRules, "function");
|
|
9
|
+
assert.equal(typeof mod.matchRules, "function");
|
|
10
|
+
assert.equal(typeof mod.resolveConflicts, "function");
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it("hub/team/shared.mjs — ANSI 상수 export", async () => {
|
|
14
|
+
const mod = await import("../../hub/team/shared.mjs");
|
|
15
|
+
assert.equal(typeof mod.AMBER, "string");
|
|
16
|
+
assert.equal(typeof mod.RESET, "string");
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it("hub/team/staleState.mjs — stale 상태 유틸 export", async () => {
|
|
20
|
+
const mod = await import("../../hub/team/staleState.mjs");
|
|
21
|
+
assert.equal(typeof mod.TEAM_STATE_FILE_NAME, "string");
|
|
22
|
+
assert.equal(typeof mod.STALE_TEAM_MAX_AGE_MS, "number");
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
it("hub/pipeline/transitions.mjs — 파이프라인 전이 규칙 export", async () => {
|
|
26
|
+
const mod = await import("../../hub/pipeline/transitions.mjs");
|
|
27
|
+
assert.ok(Array.isArray(mod.PHASES));
|
|
28
|
+
assert.ok(mod.PHASES.includes("plan"));
|
|
29
|
+
assert.ok(mod.PHASES.includes("complete"));
|
|
30
|
+
assert.ok(mod.TERMINAL instanceof Set);
|
|
31
|
+
assert.ok(mod.TERMINAL.has("complete"));
|
|
32
|
+
assert.ok(mod.TERMINAL.has("failed"));
|
|
33
|
+
});
|
|
34
|
+
});
|