triflux 10.55.1 → 10.56.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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { existsSync, statSync } from "node:fs";
3
+ import { existsSync, readFileSync, statSync } from "node:fs";
4
4
  import { homedir } from "node:os";
5
5
  import { join } from "node:path";
6
6
  import { resolveHudCliVisibility } from "./cli-policy.mjs";
@@ -157,8 +157,10 @@ main().catch(() => {
157
157
  function isClaudeBandActive(sessionId) {
158
158
  if (!sessionId) return false;
159
159
  try {
160
- const { mtimeMs } = statSync(join(CLAUDE_BAND_MARKER_DIR, sessionId));
161
- return Date.now() - mtimeMs < CLAUDE_BAND_MARKER_TTL_MS;
160
+ const marker = join(CLAUDE_BAND_MARKER_DIR, sessionId);
161
+ // band 위치를 statusline 으로 고른 세션은 표식에 "off" 를 쓴다.
162
+ if (readFileSync(marker, "utf8").trim() === "off") return false;
163
+ return Date.now() - statSync(marker).mtimeMs < CLAUDE_BAND_MARKER_TTL_MS;
162
164
  } catch {
163
165
  return false;
164
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "10.55.1",
3
+ "version": "10.56.0",
4
4
  "description": "CLI-first multi-model orchestrator for Claude Code — route tasks to Codex, Antigravity, and Claude",
5
5
  "type": "module",
6
6
  "bin": {