triflux 7.2.1 → 7.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triflux",
3
- "version": "7.2.1",
3
+ "version": "7.2.2",
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": {
package/scripts/setup.mjs CHANGED
@@ -171,6 +171,11 @@ const SYNC_MAP = [
171
171
  dst: join(CLAUDE_DIR, "scripts", "lib", "keyword-rules.mjs"),
172
172
  label: "lib/keyword-rules.mjs",
173
173
  },
174
+ {
175
+ src: join(PLUGIN_ROOT, "hub", "team", "agent-map.json"),
176
+ dst: join(CLAUDE_DIR, "hub", "team", "agent-map.json"),
177
+ label: "hub/team/agent-map.json",
178
+ },
174
179
  {
175
180
  src: join(PLUGIN_ROOT, "scripts", "headless-guard.mjs"),
176
181
  dst: join(CLAUDE_DIR, "scripts", "headless-guard.mjs"),
@@ -574,6 +574,14 @@ route_agent() {
574
574
  local codex_base="--dangerously-bypass-approvals-and-sandbox --skip-git-repo-check"
575
575
  local map_file
576
576
  map_file="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../hub/team/agent-map.json"
577
+ # ── breadcrumb 폴백 (synced 환경: ~/.claude/scripts/) ──
578
+ if [[ ! -f "$map_file" && -n "$TFX_PKG_ROOT" ]]; then
579
+ map_file="$TFX_PKG_ROOT/hub/team/agent-map.json"
580
+ fi
581
+ if [[ ! -f "$map_file" ]]; then
582
+ echo "ERROR: agent-map.json 미발견 (경로: $map_file, TFX_PKG_ROOT=${TFX_PKG_ROOT:-unset})" >&2
583
+ exit 1
584
+ fi
577
585
 
578
586
  # ── CLI_TYPE: 단일 소스 (agent-map.json) ──
579
587
  local _raw_type