@memnexus-ai/cli 1.7.197 → 1.7.198
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/dist/commands/config.js +5 -5
- package/dist/commands/mcp.js +1 -1
- package/dist/lib/config.js +1 -1
- package/package.json +1 -1
package/dist/commands/config.js
CHANGED
|
@@ -138,7 +138,7 @@ function registerConfigCommands(program) {
|
|
|
138
138
|
envOverrides.apiUrl ? chalk_1.default.yellow('env') : 'config',
|
|
139
139
|
], [
|
|
140
140
|
'mcpUrl',
|
|
141
|
-
envOverrides.mcpUrl || allConfig.mcpUrl || 'https://
|
|
141
|
+
envOverrides.mcpUrl || allConfig.mcpUrl || 'https://api.memnexus.ai/mcp',
|
|
142
142
|
envOverrides.mcpUrl ? chalk_1.default.yellow('env') : 'config',
|
|
143
143
|
], [
|
|
144
144
|
'defaultFormat',
|
|
@@ -345,10 +345,10 @@ function registerConfigCommands(program) {
|
|
|
345
345
|
.action(() => {
|
|
346
346
|
try {
|
|
347
347
|
config_1.config.set('apiUrl', 'https://api.dev.memnexus.ai');
|
|
348
|
-
config_1.config.set('mcpUrl', 'https://
|
|
348
|
+
config_1.config.set('mcpUrl', 'https://api.dev.memnexus.ai/mcp');
|
|
349
349
|
console.log(chalk_1.default.green('✓ Switched to dev environment'));
|
|
350
350
|
console.log(` apiUrl: https://api.dev.memnexus.ai`);
|
|
351
|
-
console.log(` mcpUrl: https://
|
|
351
|
+
console.log(` mcpUrl: https://api.dev.memnexus.ai/mcp`);
|
|
352
352
|
console.log(chalk_1.default.yellow('\nRestart your MCP connection (/mcp in Claude Code) for changes to take effect.'));
|
|
353
353
|
}
|
|
354
354
|
catch (error) {
|
|
@@ -365,10 +365,10 @@ function registerConfigCommands(program) {
|
|
|
365
365
|
.action(() => {
|
|
366
366
|
try {
|
|
367
367
|
config_1.config.set('apiUrl', 'https://api.memnexus.ai');
|
|
368
|
-
config_1.config.set('mcpUrl', 'https://
|
|
368
|
+
config_1.config.set('mcpUrl', 'https://api.memnexus.ai/mcp');
|
|
369
369
|
console.log(chalk_1.default.green('✓ Switched to prod environment'));
|
|
370
370
|
console.log(` apiUrl: https://api.memnexus.ai`);
|
|
371
|
-
console.log(` mcpUrl: https://
|
|
371
|
+
console.log(` mcpUrl: https://api.memnexus.ai/mcp`);
|
|
372
372
|
console.log(chalk_1.default.yellow('\nRestart your MCP connection (/mcp in Claude Code) for changes to take effect.'));
|
|
373
373
|
}
|
|
374
374
|
catch (error) {
|
package/dist/commands/mcp.js
CHANGED
|
@@ -62,7 +62,7 @@ const rules_templates_js_1 = require("../lib/setup/rules-templates.js");
|
|
|
62
62
|
const index_1 = require("../lib/setup/index");
|
|
63
63
|
const error_reporter_js_1 = require("../lib/error-reporter.js");
|
|
64
64
|
const package_json_1 = __importDefault(require("../../package.json"));
|
|
65
|
-
const DEFAULT_MCP_URL = 'https://
|
|
65
|
+
const DEFAULT_MCP_URL = 'https://api.memnexus.ai/mcp';
|
|
66
66
|
/** Reconnection constants for HTTP transport recovery. */
|
|
67
67
|
const MAX_RECONNECT_ATTEMPTS = 10;
|
|
68
68
|
const INITIAL_RECONNECT_DELAY_MS = 1000;
|
package/dist/lib/config.js
CHANGED
|
@@ -8,7 +8,7 @@ const configstore_1 = __importDefault(require("configstore"));
|
|
|
8
8
|
const package_json_1 = __importDefault(require("../../package.json"));
|
|
9
9
|
const DEFAULT_CONFIG = {
|
|
10
10
|
apiUrl: 'https://api.memnexus.ai',
|
|
11
|
-
mcpUrl: 'https://
|
|
11
|
+
mcpUrl: 'https://api.memnexus.ai/mcp',
|
|
12
12
|
defaultFormat: 'table',
|
|
13
13
|
defaultPageSize: 20,
|
|
14
14
|
defaultPreviewLength: 200,
|