@lanonasis/cli 2.0.9 → 3.0.1
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/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @lanonasis/cli
|
|
1
|
+
# @lanonasis/cli v3.0.1 - Enhanced MCP & Interactive CLI Experience
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@lanonasis/cli)
|
|
4
4
|
[](https://www.npmjs.com/package/@lanonasis/cli)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
[](https://api.lanonasis.com/.well-known/onasis.json)
|
|
7
7
|
|
|
8
|
-
🚀 **NEW IN
|
|
8
|
+
🚀 **NEW IN v3.0**: Advanced Model Context Protocol (MCP) support with multi-server connections, enhanced error handling, and enterprise-grade transport protocols. Revolutionary interactive CLI experience with guided workflows, smart suggestions, achievement system, and power user mode. Professional command-line interface for LanOnasis Memory as a Service (MaaS) platform with **Golden Contract compliance**.
|
|
9
9
|
|
|
10
10
|
## 🚀 Quick Start
|
|
11
11
|
|
|
@@ -166,13 +166,13 @@ onasis mcp tools # List available MCP tools
|
|
|
166
166
|
onasis mcp resources # List MCP resources
|
|
167
167
|
onasis mcp call <tool> --args # Execute MCP tool directly
|
|
168
168
|
|
|
169
|
-
# Advanced Features (
|
|
169
|
+
# Advanced Features (v3.0)
|
|
170
170
|
onasis mcp health # Detailed health check with latency
|
|
171
171
|
onasis mcp server start # Start local MCP server
|
|
172
172
|
onasis mcp server stop # Stop local MCP server
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
### 🆕 MCP Server Mode (
|
|
175
|
+
### 🆕 MCP Server Mode (v3.0)
|
|
176
176
|
Run the CLI as a standalone MCP server:
|
|
177
177
|
```bash
|
|
178
178
|
# Start MCP server for IDE integrations
|
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('
|
|
48
|
+
.version('3.0.1', '-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/index.js
CHANGED
|
@@ -32,8 +32,8 @@ program
|
|
|
32
32
|
.name('lanonasis')
|
|
33
33
|
.alias('memory')
|
|
34
34
|
.alias('maas')
|
|
35
|
-
.description(colors.info('
|
|
36
|
-
.version('
|
|
35
|
+
.description(colors.info(' LanOnasis Enterprise CLI - Memory as a Service, API Management & Infrastructure Orchestration'))
|
|
36
|
+
.version('3.0.1', '-v, --version', 'display version number')
|
|
37
37
|
.option('-V, --verbose', 'enable verbose logging')
|
|
38
38
|
.option('--api-url <url>', 'override API URL')
|
|
39
39
|
.option('--output <format>', 'output format (json, table, yaml)', 'table')
|
|
@@ -128,7 +128,7 @@ export class EnhancedMCPClient extends EventEmitter {
|
|
|
128
128
|
this.transports.set(config.name, transport);
|
|
129
129
|
const client = new Client({
|
|
130
130
|
name: `lanonasis-cli-${config.name}`,
|
|
131
|
-
version: '
|
|
131
|
+
version: '3.0.1'
|
|
132
132
|
}, {
|
|
133
133
|
capabilities: {
|
|
134
134
|
tools: {},
|
|
@@ -18,7 +18,7 @@ export class LanonasisMCPServer {
|
|
|
18
18
|
// Initialize server with metadata
|
|
19
19
|
this.server = new Server({
|
|
20
20
|
name: options.name || "lanonasis-maas-server",
|
|
21
|
-
version: options.version || "
|
|
21
|
+
version: options.version || "3.0.1"
|
|
22
22
|
}, {
|
|
23
23
|
capabilities: {
|
|
24
24
|
tools: {},
|
|
@@ -580,7 +580,7 @@ Please choose an option (1-4):`
|
|
|
580
580
|
const health = {
|
|
581
581
|
status: 'healthy',
|
|
582
582
|
server: this.options.name || 'lanonasis-maas-server',
|
|
583
|
-
version: this.options.version || '
|
|
583
|
+
version: this.options.version || '3.0.1',
|
|
584
584
|
timestamp: new Date().toISOString()
|
|
585
585
|
};
|
|
586
586
|
if (verbose) {
|
package/dist/utils/mcp-client.js
CHANGED
package/package.json
CHANGED