clawkit-ai 1.0.8 → 1.0.9
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/sync.mjs +2 -31
package/package.json
CHANGED
package/src/sync.mjs
CHANGED
|
@@ -235,37 +235,8 @@ function gatherState(workspace) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
// OpenRouter
|
|
239
|
-
|
|
240
|
-
if (hasOR && !state.connectedAccounts.openrouter) {
|
|
241
|
-
state.connectedAccounts.openrouter = {
|
|
242
|
-
credential: 'configured (gateway)',
|
|
243
|
-
label: 'OpenRouter',
|
|
244
|
-
connectedAt: new Date().toISOString(),
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// Any model providers with API keys
|
|
249
|
-
const providers = gw.models?.providers || {};
|
|
250
|
-
for (const [name, prov] of Object.entries(providers)) {
|
|
251
|
-
const key = name.toLowerCase().replace(/[^a-z0-9]/g, '_');
|
|
252
|
-
if (!state.connectedAccounts[key] && prov.apiKey) {
|
|
253
|
-
state.connectedAccounts[key] = {
|
|
254
|
-
credential: prov.apiKey === '__OPENCLAW_REDACTED__' ? 'configured (gateway)' : prov.apiKey,
|
|
255
|
-
label: name.charAt(0).toUpperCase() + name.slice(1),
|
|
256
|
-
connectedAt: new Date().toISOString(),
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
// Browser
|
|
262
|
-
if (gw.browser?.enabled && !state.connectedAccounts.browser) {
|
|
263
|
-
state.connectedAccounts.browser = {
|
|
264
|
-
credential: gw.browser.executablePath || 'enabled',
|
|
265
|
-
label: 'Browser',
|
|
266
|
-
connectedAt: new Date().toISOString(),
|
|
267
|
-
};
|
|
268
|
-
}
|
|
238
|
+
// Skip internal/infra services: OpenRouter, Qwen, Nvidia, Browser
|
|
239
|
+
// These are model routing, not user-facing connected accounts
|
|
269
240
|
}
|
|
270
241
|
} catch {}
|
|
271
242
|
|