nyxora 1.0.7 → 1.0.9

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
@@ -7,11 +7,17 @@ With a beautiful, real-time dashboard inspired by modern control centers, Nyxora
7
7
  ## Features ✨
8
8
 
9
9
  ### 🧠 Core Agent Capabilities
10
- * **Multi-LLM Support**: Seamlessly switch between Google Gemini, OpenAI, or local Ollama models dynamically.
10
+ * **Multi-LLM Support**: Seamlessly switch between Google Gemini, OpenAI, OpenRouter (unlimited models!), or local Ollama models dynamically.
11
11
  * **Round-Robin API Rotation**: Add up to 10 API keys via the dashboard. The system will auto-rotate them to prevent rate-limiting and token drain.
12
12
  * **Deep Personalization**: Feed the agent custom rules via `user.md` and define its core persona via `IDENTITY.md`.
13
13
  * **Multi-Lingual Auto-Sync**: The agent natively detects your language and replies in the exact same language automatically.
14
14
 
15
+ ### 🛡️ Production-Ready Security (NEW in v1.0.9)
16
+ * **Encrypted Local Keystore**: No more `.env` leaks. Your Private Key is encrypted using `AES-256-GCM` and locked behind a custom **Master Password**.
17
+ * **Human-in-the-Loop Sandboxing**: The agent CANNOT execute transactions on its own. All transactions (Transfers & Swaps) are queued in a **Transaction Manager** and require explicit 1-click Approval from you.
18
+ * **Omnichannel Approvals**: Approve or reject pending transactions directly from the Web Dashboard's UI or via Telegram Inline Keyboard buttons on the go!
19
+ * **Strict API Auth**: The local Express server is protected via ephemeral Session Tokens (`x-nyxora-token`) and Strict CORS, preventing unauthorized local API requests.
20
+
15
21
  ### ⛓️ Web3 DeFi Skills
16
22
  * **Multi-Chain Support**: Operate across Ethereum, Base, BSC, Arbitrum, Optimism, and Sepolia Testnet.
17
23
  * **Native Wallet Operations**: Autonomously check balances and transfer native tokens using securely injected wallets.
@@ -41,15 +47,18 @@ No need to navigate to any specific folder! Just type:
41
47
  ```bash
42
48
  nyxora
43
49
  ```
50
+ On first launch, Nyxora will greet you with an **Interactive Setup Wizard**. This CLI wizard will guide you to securely configure your LLM providers, API keys, and Web3 Wallet.
51
+
44
52
  Nyxora will automatically:
45
- 1. Initialize a secure vault in your `~/.nyxora/` directory (where your `.env` and `memory.json` will safely live).
46
- 2. Start the local server.
47
- 3. Open the gorgeous Web Dashboard automatically in your default browser!
53
+ 1. Initialize a secure vault in your `~/.nyxora/` directory.
54
+ 2. Store your Wallet Private Key securely in an encrypted `~/.nyxora/keystore.json` locked by your Master Password.
55
+ 3. Store operational data (API Keys, RPCs) in `~/.nyxora/config.yaml`.
56
+ 4. Start the local server, generate a secure Session Token, and open the Web Dashboard automatically!
48
57
 
49
- ### 3. Configuration
50
- When the dashboard opens, simply enter your **OpenAI/Gemini API Key** and your **Wallet Private Key** in the Settings tab. These are securely saved in your local OS environment (`~/.nyxora/.env`) and never exposed to the internet.
58
+ > 💡 **Tip:** You can invoke the setup wizard at any time to update your keys by running `nyxora setup`.
51
59
 
52
- ---
60
+ ### 3. Configuration
61
+ When the dashboard opens, you can modify any operational parameters in the **Settings** tab. The dashboard allows you to type custom model names, switch RPCs, and rotate your API keys effortlessly.
53
62
 
54
63
  ## Local Development (For Contributors) 🏗️
55
64
 
package/SECURITY.md CHANGED
@@ -13,7 +13,8 @@ Instead, please send an email to the repository owner or reach out privately. We
13
13
  ## Best Practices for Users
14
14
  When using Nyxora, you are configuring an autonomous agent that has direct access to your injected Web3 Wallet's private key.
15
15
 
16
- 1. **NEVER commit your `.env` file**. The `.gitignore` in this repository explicitly ignores `.env` files to prevent accidental leakage.
17
- 2. **Use Testnets**: While getting started or testing new skills, ALWAYS use a testnet (e.g., Sepolia) and a wallet containing only testnet funds.
18
- 3. **Do Not Share Your `memory.json`**: The agent's memory may contain sensitive conversational data or addresses you've interacted with. Be cautious before sharing the `memory.json` export.
19
- 4. **API Keys**: Treat your OpenAI, Gemini, and other LLM provider API keys as highly confidential. Rotate them immediately if you suspect a compromise.
16
+ 1. **Protect Your Keystore**: Your private key is encrypted and stored in `~/.nyxora/keystore.json`. While it is encrypted using `AES-256-GCM`, you must still treat it and your **Master Password** as highly sensitive. NEVER share your `keystore.json` or your Master Password with anyone.
17
+ 2. **Human-in-the-Loop Verification**: The agent is restricted from making unilateral transactions. Always review the exact details of the transaction when prompted to "Approve" or "Reject" on the Web Dashboard or Telegram Inline Keyboard before confirming.
18
+ 3. **Use Testnets**: While getting started or testing new skills, ALWAYS use a testnet (e.g., Sepolia) and a wallet containing only testnet funds.
19
+ 4. **Do Not Share Your `memory.json`**: The agent's memory may contain sensitive conversational data or addresses you've interacted with. Be cautious before sharing the `memory.json` export.
20
+ 5. **API Keys**: Treat your OpenAI, Gemini, and other LLM provider API keys as highly confidential. Rotate them immediately if you suspect a compromise.
package/config.yaml CHANGED
@@ -5,6 +5,11 @@ llm:
5
5
  provider: gemini
6
6
  model: gemini-2.5-flash
7
7
  temperature: 0.2
8
+ credentials:
9
+ gemini_key: AIzaSyDBlde1SSp_kbTweW1QXHknwzRTYHp98IQ
8
10
  memory:
9
11
  type: file
10
12
  path: ./memory.json
13
+ integrations:
14
+ telegram:
15
+ enabled: false