@jjlabsio/claude-crew 0.1.20 → 0.1.21
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.21",
|
|
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.21"
|
|
32
32
|
}
|
package/hud/index.mjs
CHANGED
|
@@ -47,13 +47,16 @@ async function readStdin(timeoutMs = 1000) {
|
|
|
47
47
|
// ---------------------------------------------------------------------------
|
|
48
48
|
// Project installation info from installed_plugins.json
|
|
49
49
|
// ---------------------------------------------------------------------------
|
|
50
|
-
function
|
|
50
|
+
function getInstallInfo(projectRoot) {
|
|
51
51
|
try {
|
|
52
52
|
const pluginsJsonPath = join(homedir(), '.claude', 'plugins', 'installed_plugins.json');
|
|
53
53
|
if (!existsSync(pluginsJsonPath)) return null;
|
|
54
54
|
const data = JSON.parse(readFileSync(pluginsJsonPath, 'utf-8'));
|
|
55
55
|
const crewEntries = data.plugins?.['claude-crew@claude-crew'] || [];
|
|
56
|
-
|
|
56
|
+
// Prefer project-level install, fall back to user-level install
|
|
57
|
+
return crewEntries.find(e => e.projectPath === projectRoot)
|
|
58
|
+
|| crewEntries.find(e => e.scope === 'user')
|
|
59
|
+
|| null;
|
|
57
60
|
} catch { return null; }
|
|
58
61
|
}
|
|
59
62
|
|
|
@@ -591,8 +594,8 @@ async function main() {
|
|
|
591
594
|
? dirname(commonDir) // worktree: commonDir is /path/to/main-repo/.git
|
|
592
595
|
: topLevel;
|
|
593
596
|
|
|
594
|
-
// Only show HUD if claude-crew is installed
|
|
595
|
-
const installInfo =
|
|
597
|
+
// Only show HUD if claude-crew is installed (project-level or user-level)
|
|
598
|
+
const installInfo = getInstallInfo(projectRoot);
|
|
596
599
|
if (!installInfo) return;
|
|
597
600
|
|
|
598
601
|
const version = getVersion(installInfo);
|