triflux 9.7.13 → 9.8.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.
Files changed (50) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.ko.md +2 -0
  4. package/README.md +2 -0
  5. package/bin/triflux.mjs +297 -47
  6. package/hooks/hook-registry.json +4 -4
  7. package/hub/fullcycle.mjs +96 -0
  8. package/hub/paths.mjs +30 -28
  9. package/hub/pipeline/index.mjs +318 -318
  10. package/hub/schema.sql +146 -146
  11. package/hub/team/cli/commands/kill.mjs +37 -37
  12. package/hub/team/cli/commands/stop.mjs +31 -31
  13. package/hub/team/cli/commands/task.mjs +30 -30
  14. package/hub/team/cli/services/hub-client.mjs +208 -208
  15. package/hub/team/cli/services/native-control.mjs +118 -118
  16. package/hub/team/cli/services/runtime-mode.mjs +62 -62
  17. package/hub/team/cli/services/state-store.mjs +48 -48
  18. package/hub/team/dashboard.mjs +274 -274
  19. package/hub/team/native.mjs +649 -649
  20. package/hub/team/psmux.mjs +68 -13
  21. package/hub/tools.mjs +554 -554
  22. package/hub/workers/claude-worker.mjs +423 -423
  23. package/hub/workers/codex-mcp.mjs +410 -410
  24. package/hub/workers/gemini-worker.mjs +429 -429
  25. package/hub/workers/interface.mjs +40 -40
  26. package/package.json +1 -1
  27. package/scripts/__tests__/remote-spawn-transfer.test.mjs +1 -1
  28. package/scripts/cache-warmup.mjs +1 -0
  29. package/scripts/claude-logged.ps1 +54 -0
  30. package/scripts/demo-tui.mjs +59 -0
  31. package/scripts/headless-guard.mjs +4 -7
  32. package/scripts/hub-ensure.mjs +120 -120
  33. package/scripts/lib/psmux-info.mjs +119 -0
  34. package/scripts/lib/remote-spawn-transfer.mjs +1 -1
  35. package/scripts/setup.mjs +150 -6
  36. package/scripts/tfx-route-post.mjs +90 -13
  37. package/scripts/token-snapshot.mjs +575 -575
  38. package/skills/.omc/state/agent-replay-8f0e10a9-9693-4410-96f5-a6b07e8ed995.jsonl +1 -0
  39. package/skills/.omc/state/idle-notif-cooldown.json +3 -0
  40. package/skills/.omc/state/last-tool-error.json +7 -0
  41. package/skills/.omc/state/subagent-tracking.json +7 -0
  42. package/skills/tfx-codex-swarm/SKILL.md +40 -5
  43. package/skills/tfx-codex-swarm/mcp-daemon/register-autostart.ps1 +32 -0
  44. package/skills/tfx-doctor/SKILL.md +3 -0
  45. package/skills/tfx-fullcycle/SKILL.md +79 -4
  46. package/skills/tfx-hub/SKILL.md +3 -1
  47. package/skills/tfx-psmux-rules/SKILL.md +53 -31
  48. package/skills/tfx-remote-spawn/references/hosts.json +16 -16
  49. package/skills/tfx-setup/SKILL.md +9 -0
  50. package/tui/doctor.mjs +1 -0
package/hub/paths.mjs CHANGED
@@ -1,28 +1,30 @@
1
- // hub/paths.mjs — triflux 워킹 디렉토리 경로 상수
2
-
3
- import { mkdirSync } from 'node:fs';
4
- import { join } from 'node:path';
5
-
6
- export const TFX_WORK_DIR = '.tfx';
7
- export const TFX_PLANS_DIR = join(TFX_WORK_DIR, 'plans');
8
- export const TFX_REPORTS_DIR = join(TFX_WORK_DIR, 'reports');
9
- export const TFX_HANDOFFS_DIR = join(TFX_WORK_DIR, 'handoffs');
10
- export const TFX_LOGS_DIR = join(TFX_WORK_DIR, 'logs');
11
- export const TFX_STATE_DIR = join(TFX_WORK_DIR, 'state');
12
-
13
- /**
14
- * triflux 워킹 디렉토리 구조를 보장한다.
15
- * @param {string} baseDir
16
- */
17
- export function ensureTfxDirs(baseDir) {
18
- for (const relativeDir of [
19
- TFX_WORK_DIR,
20
- TFX_PLANS_DIR,
21
- TFX_REPORTS_DIR,
22
- TFX_HANDOFFS_DIR,
23
- TFX_LOGS_DIR,
24
- TFX_STATE_DIR,
25
- ]) {
26
- mkdirSync(join(baseDir, relativeDir), { recursive: true });
27
- }
28
- }
1
+ // hub/paths.mjs — triflux 워킹 디렉토리 경로 상수
2
+
3
+ import { mkdirSync } from 'node:fs';
4
+ import { join } from 'node:path';
5
+
6
+ export const TFX_WORK_DIR = '.tfx';
7
+ export const TFX_PLANS_DIR = join(TFX_WORK_DIR, 'plans');
8
+ export const TFX_REPORTS_DIR = join(TFX_WORK_DIR, 'reports');
9
+ export const TFX_HANDOFFS_DIR = join(TFX_WORK_DIR, 'handoffs');
10
+ export const TFX_LOGS_DIR = join(TFX_WORK_DIR, 'logs');
11
+ export const TFX_STATE_DIR = join(TFX_WORK_DIR, 'state');
12
+ export const TFX_FULLCYCLE_DIR = join(TFX_WORK_DIR, 'fullcycle');
13
+
14
+ /**
15
+ * triflux 워킹 디렉토리 구조를 보장한다.
16
+ * @param {string} baseDir
17
+ */
18
+ export function ensureTfxDirs(baseDir) {
19
+ for (const relativeDir of [
20
+ TFX_WORK_DIR,
21
+ TFX_PLANS_DIR,
22
+ TFX_REPORTS_DIR,
23
+ TFX_HANDOFFS_DIR,
24
+ TFX_LOGS_DIR,
25
+ TFX_STATE_DIR,
26
+ TFX_FULLCYCLE_DIR,
27
+ ]) {
28
+ mkdirSync(join(baseDir, relativeDir), { recursive: true });
29
+ }
30
+ }