@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.
- package/dist/index-simple.js +1 -1
- package/dist/utils/config.js +5 -5
- package/package.json +1 -1
package/dist/index-simple.js
CHANGED
|
@@ -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.
|
|
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')
|
package/dist/utils/config.js
CHANGED
|
@@ -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
|
-
//
|
|
60
|
+
// CORRECTED: CLI auth routes through central auth system (api.lanonasis.com)
|
|
61
61
|
this.config.discoveredServices = {
|
|
62
|
-
auth_base: 'https://api.lanonasis.com
|
|
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