triflux 6.1.2 → 6.1.3

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": "6.1.2",
3
+ "version": "6.1.3",
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": {
@@ -134,6 +134,11 @@ async function main() {
134
134
 
135
135
  // tfx-route.sh 실행만 감지: 명령이 bash로 시작할 때만 (커밋 메시지/echo 등 무시)
136
136
  if (/^\s*bash\s+.*tfx-route\.sh\s/.test(cmd)) {
137
+ // --async, --job-status, --job-result, --job-wait는 tfx-route.sh 내부 플래그 → 통과
138
+ if (/tfx-route\.sh\s+--(async|job-status|job-result|job-wait)\b/.test(cmd)) {
139
+ process.exit(0);
140
+ }
141
+
137
142
  const parsed = parseRouteCommand(cmd);
138
143
  if (parsed) {
139
144
  const safePrompt = parsed.prompt.replace(/'/g, "'\\''");