polydev-ai 1.8.95 → 1.8.96

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/cliManager.js CHANGED
@@ -156,6 +156,20 @@ class CLIManager {
156
156
  return (now - checked) < this.CACHE_TIMEOUT_MS;
157
157
  }
158
158
 
159
+ /**
160
+ * Get all cached CLI statuses (synchronous)
161
+ * Returns empty object if no statuses cached
162
+ */
163
+ getCachedStatus() {
164
+ const result = {};
165
+ for (const [providerId, status] of this.statusCache.entries()) {
166
+ if (this.isCacheValid(status)) {
167
+ result[providerId] = status;
168
+ }
169
+ }
170
+ return result;
171
+ }
172
+
159
173
  async detectCliProvider(provider) {
160
174
  try {
161
175
  const cliPath = await this.findCliPath(provider.command);
@@ -644,7 +644,7 @@ After login, restart your IDE.`
644
644
  'User-Agent': 'polydev-stdio-wrapper/1.0.0'
645
645
  }
646
646
  }),
647
- this.cliManager?.getQuickStatus?.() || null
647
+ this.cliManager?.getCliStatus?.() || null
648
648
  ]);
649
649
 
650
650
  if (accountResponse.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.8.95",
3
+ "version": "1.8.96",
4
4
  "engines": {
5
5
  "node": ">=20.x <=22.x"
6
6
  },