@lanonasis/cli 1.2.0 → 1.2.2
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 +30 -4
- package/dist/commands/api-keys.d.ts +3 -0
- package/dist/commands/api-keys.js +812 -0
- package/dist/commands/mcp.js +2 -2
- package/dist/commands/memory.js +22 -20
- package/dist/index-simple.js +522 -189
- package/dist/index.js +320 -23
- package/dist/utils/api.d.ts +12 -2
- package/dist/utils/api.js +17 -0
- package/dist/utils/formatting.d.ts +2 -0
- package/dist/utils/formatting.js +13 -0
- package/dist/utils/mcp-client.js +13 -7
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -8,13 +8,25 @@
|
|
|
8
8
|
|
|
9
9
|
The Lanonasis CLI provides a powerful command-line interface for interacting with the entire Lanonasis ecosystem, including Memory as a Service (MaaS), infrastructure management, and multi-service orchestration. Now with **Model Context Protocol (MCP)** integration for unified AI-agent communication. Manage your memories, search through knowledge bases, organize your thoughts, and control your infrastructure - all from the terminal.
|
|
10
10
|
|
|
11
|
-
## 🆕 New in v1.
|
|
11
|
+
## 🆕 New in v1.2.0 - API Key Management Integration
|
|
12
|
+
- **API Key Management**: Complete CLI commands for secure API key lifecycle management
|
|
13
|
+
- **MCP Tool Registration**: Register and manage MCP tools with scoped API access
|
|
14
|
+
- **Analytics & Security**: Track usage patterns and monitor security events
|
|
15
|
+
- **Project-based Organization**: Group API keys by projects for better organization
|
|
16
|
+
- **Zero-trust Security**: Encrypted key storage with proxy token generation
|
|
12
17
|
- **MCP Server Mode**: Run as MCP server for AI assistants (Claude, Cursor, Windsurf)
|
|
13
18
|
- **Hybrid Architecture**: Seamless switching between local MCP and remote API
|
|
14
19
|
- **Real-time Updates**: SSE streaming for live memory synchronization
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
20
|
+
|
|
21
|
+
## 🆕 New in v1.2.1 - Enhanced CLI Experience
|
|
22
|
+
- **🎨 Colorful VPS-style Interface**: Beautiful terminal output with intuitive color coding
|
|
23
|
+
- **📊 Enhanced System Status**: Comprehensive health checks and service monitoring
|
|
24
|
+
- **🔍 Improved Version Management**: Better version tracking and update notifications
|
|
25
|
+
- **⚡ Performance Optimizations**: Faster command execution and response times
|
|
26
|
+
- **🛡️ Enhanced Security Checks**: Real-time API endpoint validation
|
|
27
|
+
- **📈 Usage Statistics**: Track your CLI usage patterns and command history
|
|
28
|
+
- **🌈 Color-coded Output**: Error states, success messages, and warnings in vibrant colors
|
|
29
|
+
- **🔄 Auto-update Notifications**: Get notified when new versions are available
|
|
18
30
|
|
|
19
31
|
## ⚡ Quick Start
|
|
20
32
|
|
|
@@ -83,6 +95,20 @@ npx lanonasis --help
|
|
|
83
95
|
- `lanonasis list [-l <limit>] [--type <type>]` - List memories
|
|
84
96
|
- `lanonasis help` - Show detailed help
|
|
85
97
|
|
|
98
|
+
### 🔑 API Key Management (NEW in v1.2.0)
|
|
99
|
+
- `lanonasis api-keys create` - Create a new API key with secure encryption
|
|
100
|
+
- `lanonasis api-keys list` - List all API keys with usage statistics
|
|
101
|
+
- `lanonasis api-keys get <keyId>` - Get details of a specific API key
|
|
102
|
+
- `lanonasis api-keys update <keyId>` - Update API key name, tags, or rotation policy
|
|
103
|
+
- `lanonasis api-keys delete <keyId>` - Securely delete an API key
|
|
104
|
+
- `lanonasis api-keys projects create` - Create a project for organizing keys
|
|
105
|
+
- `lanonasis api-keys projects list` - List all API key projects
|
|
106
|
+
- `lanonasis api-keys mcp register-tool` - Register MCP tools for API access
|
|
107
|
+
- `lanonasis api-keys mcp list-tools` - List registered MCP tools
|
|
108
|
+
- `lanonasis api-keys mcp request-access` - Request access to API keys via MCP
|
|
109
|
+
- `lanonasis api-keys analytics usage` - View API key usage analytics
|
|
110
|
+
- `lanonasis api-keys analytics security-events` - Monitor security events
|
|
111
|
+
|
|
86
112
|
#### Alternative Commands (Backwards Compatibility)
|
|
87
113
|
- `memory <command>` - Direct memory operations
|
|
88
114
|
- `maas <command>` - Memory as a Service operations
|