@lanonasis/cli 2.0.4 → 2.0.7

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.
@@ -45,7 +45,7 @@ program
45
45
  .alias(isOnasisInvocation ? 'lanonasis' : 'memory')
46
46
  .alias(isOnasisInvocation ? 'memory' : 'maas')
47
47
  .description(colors.info(`🧠 ${isOnasisInvocation ? 'Onasis-Core Golden Contract CLI' : 'LanOnasis Enterprise CLI'} - Memory as a Service, API Management & Infrastructure Orchestration`))
48
- .version('2.0.1', '-v, --version', 'display version number')
48
+ .version('2.0.6', '-v, --version', 'display version number')
49
49
  .option('-V, --verbose', 'enable verbose logging')
50
50
  .option('--api-url <url>', 'override API URL')
51
51
  .option('--output <format>', 'output format (json, table, yaml)', 'table')
@@ -57,12 +57,12 @@ export class CLIConfig {
57
57
  console.log('Service discovery failed, using fallback defaults');
58
58
  }
59
59
  // Set fallback service endpoints to prevent double slash issues
60
- // Based on architecture: auth routes through onasis-core, not MCP server
60
+ // CORRECTED: CLI auth routes through central auth system (api.lanonasis.com)
61
61
  this.config.discoveredServices = {
62
- auth_base: 'https://api.lanonasis.com/api/v1',
63
- memory_base: 'https://api.lanonasis.com/api/v1',
64
- mcp_ws_base: 'wss://mcp.lanonasis.com/ws',
65
- project_scope: 'lanonasis'
62
+ auth_base: 'https://api.lanonasis.com', // CLI auth goes to central auth system
63
+ memory_base: 'https://api.lanonasis.com/api/v1', // Memory via onasis-core
64
+ mcp_ws_base: 'wss://mcp.lanonasis.com/ws', // MCP WebSocket separate
65
+ project_scope: 'lanonasis-maas' // Correct project scope
66
66
  };
67
67
  await this.save();
68
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lanonasis/cli",
3
- "version": "2.0.4",
3
+ "version": "2.0.7",
4
4
  "description": "LanOnasis Enterprise CLI - Memory as a Service, API Key Management, and Infrastructure Orchestration",
5
5
  "main": "dist/index-simple.js",
6
6
  "bin": {