@lanonasis/cli 1.2.0 → 1.2.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
@@ -8,13 +8,15 @@
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.1.0
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
- - **Tool Discovery**: Dynamic MCP tool listing for AI agents
16
- - **Unified Interface**: Same commands work with local or cloud backends
17
- - **Auto-detection**: Intelligently chooses best connection mode
18
20
 
19
21
  ## ⚡ Quick Start
20
22
 
@@ -83,6 +85,20 @@ npx lanonasis --help
83
85
  - `lanonasis list [-l <limit>] [--type <type>]` - List memories
84
86
  - `lanonasis help` - Show detailed help
85
87
 
88
+ ### 🔑 API Key Management (NEW in v1.2.0)
89
+ - `lanonasis api-keys create` - Create a new API key with secure encryption
90
+ - `lanonasis api-keys list` - List all API keys with usage statistics
91
+ - `lanonasis api-keys get <keyId>` - Get details of a specific API key
92
+ - `lanonasis api-keys update <keyId>` - Update API key name, tags, or rotation policy
93
+ - `lanonasis api-keys delete <keyId>` - Securely delete an API key
94
+ - `lanonasis api-keys projects create` - Create a project for organizing keys
95
+ - `lanonasis api-keys projects list` - List all API key projects
96
+ - `lanonasis api-keys mcp register-tool` - Register MCP tools for API access
97
+ - `lanonasis api-keys mcp list-tools` - List registered MCP tools
98
+ - `lanonasis api-keys mcp request-access` - Request access to API keys via MCP
99
+ - `lanonasis api-keys analytics usage` - View API key usage analytics
100
+ - `lanonasis api-keys analytics security-events` - Monitor security events
101
+
86
102
  #### Alternative Commands (Backwards Compatibility)
87
103
  - `memory <command>` - Direct memory operations
88
104
  - `maas <command>` - Memory as a Service operations
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ declare const apiKeysCommand: Command;
3
+ export default apiKeysCommand;