@darksol/terminal 0.4.9 → 0.4.10

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.
Files changed (2) hide show
  1. package/README.md +45 -14
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,6 +15,8 @@ A unified CLI for market intel, trading, AI-powered analysis, on-chain oracle, c
15
15
  [![License: MIT](https://img.shields.io/badge/License-MIT-gold.svg)](https://opensource.org/licenses/MIT)
16
16
  [![Node](https://img.shields.io/badge/node-%3E%3D18.0.0-green.svg)](https://nodejs.org/)
17
17
 
18
+ - Changelog: `CHANGELOG.md`
19
+
18
20
  ## Install
19
21
 
20
22
  ```bash
@@ -34,6 +36,10 @@ darksol wallet create main
34
36
  darksol wallet balance
35
37
  darksol portfolio
36
38
 
39
+ # Send / receive
40
+ darksol receive
41
+ darksol send --to 0xabc... --amount 10 --token USDC
42
+
37
43
  # Token prices & live monitoring
38
44
  darksol price ETH AERO VIRTUAL
39
45
  darksol watch AERO --above 2.0
@@ -58,34 +64,56 @@ darksol serve
58
64
  darksol agent start main
59
65
  ```
60
66
 
67
+ ## `darksol serve` (Web Terminal UX)
68
+
69
+ `darksol serve` now supports an interactive keyboard-driven UI:
70
+
71
+ - Arrow-key menus (`↑/↓` + `Enter`) for wallet/config flows
72
+ - Interactive wallet picker + wallet action menu (receive/send/portfolio/history/switch chain)
73
+ - AI connection check at startup (shows ready/not configured)
74
+ - Interactive key setup from web terminal:
75
+ - `keys` → select provider → paste key/host directly
76
+ - masked input for API keys, plain input for Ollama URL
77
+ - Local chat memory logs at `~/.darksol/chat-logs/YYYY-MM-DD.jsonl`
78
+ - Natural language fuzzy routing to AI for non-command prompts
79
+
80
+ Useful web-shell commands:
81
+
82
+ ```bash
83
+ keys # provider status + interactive add/update
84
+ wallet # interactive wallet picker and actions
85
+ config # interactive config menu
86
+ logs 20 # show recent AI chat log lines
87
+ ai <prompt> # chat with trading assistant
88
+ ```
89
+
61
90
  ## Modules
62
91
 
63
92
  | Module | Description | Pricing |
64
93
  |--------|-------------|---------|
65
- | `wallet` | Create, import, manage encrypted wallets | Free |
94
+ | `wallet` | Create/import/manage encrypted EVM wallets | Free |
95
+ | `send` | Send ETH or ERC-20 tokens | Gas only |
96
+ | `receive` | Show receive address + chain safety hints | Free |
66
97
  | `trade` | Swap (Uniswap V3), snipe (V2), token trading | Gas only |
67
98
  | `dca` | Dollar-cost averaging engine | Gas only |
68
- | `ai` | LLM-powered trading assistant & analysis | Provider dependent |
99
+ | `ai` | LLM-powered trading assistant & intent execution | Provider dependent |
69
100
  | `agent` | Secure agent signer (PK-isolated proxy) | Free |
70
- | `keys` | API key vault (LLMs, data, RPCs) | Free |
101
+ | `keys` | Encrypted API key vault (LLMs/data/RPCs) | Free |
71
102
  | `script` | Execution scripts & automated strategies | Free |
72
103
  | `skills` | Agent skill directory & installer | Free |
73
- | `market` | Market intel, top movers, token analysis | x402 micropayments |
74
- | `oracle` | On-chain random number oracle | $0.05–$0.25 |
75
- | `casino` | The Clawsino — on-chain betting | $1 flat bets |
76
104
  | `portfolio` | Multi-chain balance view (5 EVM chains) | Free |
105
+ | `history` | Transaction history via block explorers | Free |
77
106
  | `gas` | Gas prices & cost estimates | Free |
78
107
  | `price` | Quick token price check (DexScreener) | Free |
79
108
  | `watch` | Live price monitoring with alerts | Free |
80
- | `history` | Transaction history via block explorers | Free |
109
+ | `market` | Market intel, top movers, token analysis | x402 micropayments |
81
110
  | `mail` | AgentMail — email for AI agents | Free tier |
82
- | `serve` | Web terminal in browser (xterm.js) | Free |
83
- | `facilitator` | x402 payment facilitator | Free |
84
- | `cards` | Prepaid Visa/MC cards | Service fees |
85
- | `builders` | ERC-8021 builder code directory | Free |
86
- | `cards` | Crypto → prepaid Visa/MC (no KYC) | 3% markup |
87
- | `builders` | ERC-8021 builder leaderboard | Free |
111
+ | `oracle` | On-chain random number oracle | $0.05–$0.25 |
112
+ | `casino` | The Clawsino on-chain betting | $1 flat bets |
113
+ | `cards` | Crypto → prepaid Visa/MC cards | Service fees |
114
+ | `builders` | ERC-8021 builder directory + leaderboard | Free |
88
115
  | `facilitator` | x402 payment verification & settlement | Free |
116
+ | `serve` | Local interactive web terminal (xterm.js) | Free |
89
117
  | `config` | Terminal configuration | Free |
90
118
 
91
119
  ---
@@ -152,9 +180,12 @@ Natural language trading powered by multi-provider LLM support.
152
180
  # Interactive chat with live market data
153
181
  darksol ai chat
154
182
 
155
- # One-shot intent parsing
183
+ # One-shot intent parsing (+ optional execution prompt)
156
184
  darksol ai ask "buy 0.5 ETH worth of AERO on Base"
157
185
 
186
+ # Parse + execute directly
187
+ darksol ai execute "send 10 USDC to 0x..."
188
+
158
189
  # DCA strategy recommendation
159
190
  darksol ai strategy VIRTUAL --budget 500 --timeframe "30 days"
160
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksol/terminal",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "DARKSOL Terminal — unified CLI for all DARKSOL services. Market intel, trading, oracle, casino, and more.",
5
5
  "type": "module",
6
6
  "bin": {