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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.ko.md +2 -0
- package/README.md +2 -0
- package/bin/triflux.mjs +297 -47
- package/hooks/hook-registry.json +4 -4
- package/hub/fullcycle.mjs +96 -0
- package/hub/paths.mjs +30 -28
- package/hub/pipeline/index.mjs +318 -318
- package/hub/schema.sql +146 -146
- package/hub/team/cli/commands/kill.mjs +37 -37
- package/hub/team/cli/commands/stop.mjs +31 -31
- package/hub/team/cli/commands/task.mjs +30 -30
- package/hub/team/cli/services/hub-client.mjs +208 -208
- package/hub/team/cli/services/native-control.mjs +118 -118
- package/hub/team/cli/services/runtime-mode.mjs +62 -62
- package/hub/team/cli/services/state-store.mjs +48 -48
- package/hub/team/dashboard.mjs +274 -274
- package/hub/team/native.mjs +649 -649
- package/hub/team/psmux.mjs +68 -13
- package/hub/tools.mjs +554 -554
- package/hub/workers/claude-worker.mjs +423 -423
- package/hub/workers/codex-mcp.mjs +410 -410
- package/hub/workers/gemini-worker.mjs +429 -429
- package/hub/workers/interface.mjs +40 -40
- package/package.json +1 -1
- package/scripts/__tests__/remote-spawn-transfer.test.mjs +1 -1
- package/scripts/cache-warmup.mjs +1 -0
- package/scripts/claude-logged.ps1 +54 -0
- package/scripts/demo-tui.mjs +59 -0
- package/scripts/headless-guard.mjs +4 -7
- package/scripts/hub-ensure.mjs +120 -120
- package/scripts/lib/psmux-info.mjs +119 -0
- package/scripts/lib/remote-spawn-transfer.mjs +1 -1
- package/scripts/setup.mjs +150 -6
- package/scripts/tfx-route-post.mjs +90 -13
- package/scripts/token-snapshot.mjs +575 -575
- package/skills/.omc/state/agent-replay-8f0e10a9-9693-4410-96f5-a6b07e8ed995.jsonl +1 -0
- package/skills/.omc/state/idle-notif-cooldown.json +3 -0
- package/skills/.omc/state/last-tool-error.json +7 -0
- package/skills/.omc/state/subagent-tracking.json +7 -0
- package/skills/tfx-codex-swarm/SKILL.md +40 -5
- package/skills/tfx-codex-swarm/mcp-daemon/register-autostart.ps1 +32 -0
- package/skills/tfx-doctor/SKILL.md +3 -0
- package/skills/tfx-fullcycle/SKILL.md +79 -4
- package/skills/tfx-hub/SKILL.md +3 -1
- package/skills/tfx-psmux-rules/SKILL.md +53 -31
- package/skills/tfx-remote-spawn/references/hosts.json +16 -16
- package/skills/tfx-setup/SKILL.md +9 -0
- 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
|
-
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
+
}
|