agentgui 1.0.464 → 1.0.466
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/lib/tool-manager.js +2 -2
- package/package.json +1 -1
- package/.prd +0 -74
package/lib/tool-manager.js
CHANGED
|
@@ -9,8 +9,8 @@ const isWindows = os.platform() === 'win32';
|
|
|
9
9
|
const TOOLS = [
|
|
10
10
|
{ id: 'gm-oc', name: 'OpenCode', pkg: 'gm-oc', binary: 'opencode', marker: path.join(os.homedir(), '.config', 'opencode', 'agents') },
|
|
11
11
|
{ id: 'gm-gc', name: 'Gemini CLI', pkg: 'gm-gc', binary: 'gemini', marker: path.join(os.homedir(), '.gemini', 'extensions', 'gm', 'agents') },
|
|
12
|
-
{ id: 'gm-kilo', name: 'Kilo', pkg: '
|
|
13
|
-
{ id: 'gm-cc', name: 'Claude Code', pkg: '
|
|
12
|
+
{ id: 'gm-kilo', name: 'Kilo', pkg: 'gm-kilo', binary: 'kilo', marker: path.join(os.homedir(), '.config', 'kilo', 'agents') },
|
|
13
|
+
{ id: 'gm-cc', name: 'Claude Code', pkg: 'gm-cc', binary: 'claude', marker: path.join(os.homedir(), '.config', 'claude', 'agents') },
|
|
14
14
|
];
|
|
15
15
|
|
|
16
16
|
const versionCache = new Map();
|
package/package.json
CHANGED
package/.prd
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"project": "agentgui-tools-detection",
|
|
3
|
-
"created": "2026-03-01",
|
|
4
|
-
"objective": "Fix tools view to correctly detect, install, and upgrade CLI tools (OpenCode, Gemini CLI, Kilo, Claude Code)",
|
|
5
|
-
"problem": "Tools show 'Not installed' even after installation via npm/npx. Detection logic fails to recognize installed tools.",
|
|
6
|
-
"root_causes": [
|
|
7
|
-
"isInstalled() checks PATH but npm-installed binaries may not be in PATH immediately",
|
|
8
|
-
"Version detection uses --version flag which may not work for all tools",
|
|
9
|
-
"Marker directories are not created during installation, only checked",
|
|
10
|
-
"Race condition: binary checked before npm finishes fully writing files",
|
|
11
|
-
"No fallback detection method if which/where command fails"
|
|
12
|
-
],
|
|
13
|
-
"items": [
|
|
14
|
-
{
|
|
15
|
-
"id": "9",
|
|
16
|
-
"subject": "Verify git commit and all work is pushed",
|
|
17
|
-
"status": "pending",
|
|
18
|
-
"description": "Ensure all changes are committed and pushed to remote repository.",
|
|
19
|
-
"blocking": [],
|
|
20
|
-
"blockedBy": [
|
|
21
|
-
"8"
|
|
22
|
-
],
|
|
23
|
-
"effort": "small",
|
|
24
|
-
"category": "infra",
|
|
25
|
-
"acceptance": [
|
|
26
|
-
"git status shows no uncommitted changes",
|
|
27
|
-
"All commits are pushed to remote",
|
|
28
|
-
"CI/build passes if configured"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"completed": [
|
|
33
|
-
{
|
|
34
|
-
"id": "1",
|
|
35
|
-
"subject": "Understand current tool detection and installation flow",
|
|
36
|
-
"status": "completed"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"id": "2",
|
|
40
|
-
"subject": "Implement reliable tool installation detection with multiple fallbacks",
|
|
41
|
-
"status": "completed"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"id": "3",
|
|
45
|
-
"subject": "Improve version detection with multiple fallback strategies",
|
|
46
|
-
"status": "completed"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"id": "4",
|
|
50
|
-
"subject": "Add installation verification and marker directory creation",
|
|
51
|
-
"status": "completed"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"id": "5",
|
|
55
|
-
"subject": "Test tool installation and detection for all 4 tools",
|
|
56
|
-
"status": "completed"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"id": "6",
|
|
60
|
-
"subject": "Fix tools UI to show correct installation status",
|
|
61
|
-
"status": "completed"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"id": "7",
|
|
65
|
-
"subject": "Implement upgrade mechanism for installed tools",
|
|
66
|
-
"status": "completed"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"id": "8",
|
|
70
|
-
"subject": "Test upgrade path for each tool",
|
|
71
|
-
"status": "completed"
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
}
|