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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-window",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "A window to interact with AI agents through chat interfaces. Simplified interaction, powerful backend capabilities.",
5
5
  "type": "module",
6
6
  "main": "src/bot.js",
@@ -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
- // Check if it has BMAD plugin (_agent-bridge directory)
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({