ai-lens 0.6.7 → 0.6.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/.commithash +1 -1
- package/cli/init.js +1 -1
- package/client/config.js +5 -0
- package/package.json +1 -1
package/.commithash
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1e318f3
|
package/cli/init.js
CHANGED
|
@@ -455,7 +455,7 @@ export default async function init() {
|
|
|
455
455
|
|
|
456
456
|
// MCP setup (HTTP transport — auth via OAuth in browser, no token needed)
|
|
457
457
|
const mcpUrl = `${serverUrl}/mcp`;
|
|
458
|
-
const setupMcp = !flags.noMcp;
|
|
458
|
+
const setupMcp = auto ? !!flags.mcpScope : !flags.noMcp;
|
|
459
459
|
|
|
460
460
|
// Claude Code MCP
|
|
461
461
|
const claudeDir = join(homedir(), '.claude');
|
package/client/config.js
CHANGED
|
@@ -28,6 +28,11 @@ function loadConfig() {
|
|
|
28
28
|
return _configCache;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/** @internal Test helper: override the config cache. */
|
|
32
|
+
export function _setConfigCache(val) { _configCache = val; }
|
|
33
|
+
/** @internal Test helper: clear the config cache. */
|
|
34
|
+
export function _clearConfigCache() { _configCache = undefined; }
|
|
35
|
+
|
|
31
36
|
const DEFAULT_SERVER_URL = 'http://localhost:3000';
|
|
32
37
|
|
|
33
38
|
export function ensureDataDir() {
|