triflux 6.0.13 → 6.0.15

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.
@@ -2,6 +2,7 @@ import { BOLD, DIM, GREEN, RESET, AMBER } from "../../../shared.mjs";
2
2
  import { runHeadlessInteractive } from "../../../headless.mjs";
3
3
  import { ok, warn } from "../../render.mjs";
4
4
  import { buildTasks } from "../../services/task-model.mjs";
5
+ import { clearTeamState } from "../../services/state-store.mjs";
5
6
 
6
7
  export async function startHeadlessTeam({ sessionId, task, lead, agents, subtasks, layout, assigns, autoAttach, progressive, timeoutSec }) {
7
8
  console.log(` ${AMBER}모드: headless (Lead-Direct v6.0.0)${RESET}`);
@@ -78,6 +79,8 @@ export async function startHeadlessTeam({ sessionId, task, lead, agents, subtask
78
79
  headlessResults: results,
79
80
  tasks: buildTasks(assignments.map(a => a.prompt), members.filter((m) => m.role === "worker")),
80
81
  postSave() {
82
+ // headless는 실행 완료 후 즉시 정리 — HUD에 잔존 방지
83
+ clearTeamState();
81
84
  console.log(`\n ${DIM}세션 정리 완료.${RESET}\n`);
82
85
  },
83
86
  };
@@ -20,11 +20,11 @@ import {
20
20
 
21
21
  const RESULT_DIR = join(tmpdir(), "tfx-headless");
22
22
 
23
- /** CLI별 브랜드 — 이모지 + ANSI 색상 (시각적 구분) */
23
+ /** CLI별 브랜드 — 이모지 + 공식 색상 (HUD와 통일) */
24
24
  const CLI_BRAND = {
25
- codex: { emoji: "\u{1F7E2}", label: "Codex", ansi: "\x1b[32m" }, // 🟢 green
26
- gemini: { emoji: "\u{1F535}", label: "Gemini", ansi: "\x1b[34m" }, // 🔵 blue
27
- claude: { emoji: "\u{1F7E0}", label: "Claude", ansi: "\x1b[33m" }, // 🟠 yellow/orange
25
+ codex: { emoji: "\u{26AA}", label: "Codex", ansi: "\x1b[97m" }, // bright white (codexWhite)
26
+ gemini: { emoji: "\u{1F535}", label: "Gemini", ansi: "\x1b[38;5;39m" }, // 🔵 geminiBlue
27
+ claude: { emoji: "\u{1F7E0}", label: "Claude", ansi: "\x1b[38;2;232;112;64m" }, // 🟠 claudeOrange
28
28
  };
29
29
  const ANSI_RESET = "\x1b[0m";
30
30
  const ANSI_DIM = "\x1b[2m";
@@ -450,7 +450,8 @@ function getTeamRow() {
450
450
  : "";
451
451
 
452
452
  // CLI 브랜드: 단일문자 + ANSI 색상 (x=codex, g=gemini, c=claude)
453
- const cliTag = (cli) => cli === "codex" ? green("x") : cli === "gemini" ? geminiBlue("g") : claudeOrange("c");
453
+ // CLI 브랜드 색상 통일 프로바이더 행과 동일 (codexWhite, geminiBlue, claudeOrange)
454
+ const cliTag = (cli) => cli === "codex" ? bold(codexWhite("x")) : cli === "gemini" ? bold(geminiBlue("g")) : bold(claudeOrange("c"));
454
455
  // 멤버 상태: 태그 + 상태기호 (60col 이상)
455
456
  const memberIcons = (CURRENT_TIER === "full" || CURRENT_TIER === "compact" || CURRENT_TIER === "minimal") ? workers.map((m) => {
456
457
  const task = tasks.find((t) => t.owner === m.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "6.0.13",
3
+ "version": "6.0.15",
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": {