agent-window 1.1.4 → 1.1.5
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/package.json +1 -1
- package/src/core/instance/manager.js +1 -12
package/package.json
CHANGED
|
@@ -292,18 +292,7 @@ export async function discoverInstances() {
|
|
|
292
292
|
// Detect instance type based on project structure
|
|
293
293
|
let instanceType = 'unknown';
|
|
294
294
|
if (projectPath) {
|
|
295
|
-
|
|
296
|
-
if (existsSync(path.join(projectPath, '_agent-bridge'))) {
|
|
297
|
-
instanceType = 'bmad-plugin';
|
|
298
|
-
}
|
|
299
|
-
// Check if it has a config file (simple config instance)
|
|
300
|
-
else if (existsSync(path.join(projectPath, 'config.json'))) {
|
|
301
|
-
instanceType = 'simple-config';
|
|
302
|
-
}
|
|
303
|
-
// Check if configPath exists and has config.json
|
|
304
|
-
else if (configPath && existsSync(configPath)) {
|
|
305
|
-
instanceType = 'simple-config';
|
|
306
|
-
}
|
|
295
|
+
instanceType = detectInstanceType(projectPath);
|
|
307
296
|
}
|
|
308
297
|
|
|
309
298
|
discovered.push({
|