@openagents-org/agent-connector 0.2.3 → 0.2.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/registry.js +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-connector",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Agent management CLI and library for OpenAgents — install, configure, and run AI coding agents",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/registry.js CHANGED
@@ -83,7 +83,16 @@ class Registry {
83
83
  */
84
84
  getEntry(agentType) {
85
85
  const catalog = this.getCatalogSync();
86
- return catalog.find((e) => e.name === agentType) || null;
86
+ const entry = catalog.find((e) => e.name === agentType) || null;
87
+ // If the cached entry is missing install info, merge with bundled
88
+ if (entry && !entry.install) {
89
+ const bundled = this._loadBundled();
90
+ const bundledEntry = bundled.find((e) => e.name === agentType);
91
+ if (bundledEntry && bundledEntry.install) {
92
+ return { ...entry, install: bundledEntry.install };
93
+ }
94
+ }
95
+ return entry;
87
96
  }
88
97
 
89
98
  /**