@jjlabsio/claude-crew 0.1.18 → 0.1.19
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.
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"name": "claude-crew",
|
|
12
12
|
"source": "./",
|
|
13
13
|
"description": "오케스트레이터 + PM, 플래너, 개발, QA, 마케팅 에이전트 팀으로 단일 제품의 개발과 마케팅을 통합 관리",
|
|
14
|
-
"version": "0.1.
|
|
14
|
+
"version": "0.1.19",
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "Jaejin Song",
|
|
17
17
|
"email": "wowlxx28@gmail.com"
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"category": "workflow"
|
|
29
29
|
}
|
|
30
30
|
],
|
|
31
|
-
"version": "0.1.
|
|
31
|
+
"version": "0.1.19"
|
|
32
32
|
}
|
package/package.json
CHANGED
package/scripts/setup-hud.mjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import { execSync } from 'node:child_process';
|
|
11
11
|
import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
|
|
12
|
-
import { join } from 'node:path';
|
|
12
|
+
import { join, dirname } from 'node:path';
|
|
13
13
|
import { homedir } from 'node:os';
|
|
14
14
|
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
@@ -50,8 +50,13 @@ async function main() {
|
|
|
50
50
|
try { cwd = JSON.parse(raw).cwd || cwd; } catch { /* ignore */ }
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
//
|
|
54
|
-
|
|
53
|
+
// In worktrees, --show-toplevel returns the worktree path, not the main repo.
|
|
54
|
+
// Use --git-common-dir to resolve back to the main repo path.
|
|
55
|
+
const topLevel = gitExec('git rev-parse --show-toplevel', cwd) || cwd;
|
|
56
|
+
const commonDir = gitExec('git rev-parse --git-common-dir', cwd);
|
|
57
|
+
const projectRoot = (commonDir && commonDir !== '.git' && !commonDir.startsWith('.'))
|
|
58
|
+
? dirname(commonDir) // worktree: commonDir is /path/to/main-repo/.git
|
|
59
|
+
: topLevel;
|
|
55
60
|
|
|
56
61
|
const hudCommand = `node "${pluginRoot}/hud/index.mjs"`;
|
|
57
62
|
const localSettingsPath = join(projectRoot, '.claude', 'settings.local.json');
|