@vizzor/cli 0.12.0 → 0.13.0

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
@@ -55,14 +55,21 @@ ETH at $2,112 | Bullish | Confidence: Medium-High
55
55
  **Any tradable crypto asset.** BTC, ETH, SOL, meme coins, new DEX launches, tokens by contract address — if it has a price, Vizzor can analyze it.
56
56
 
57
57
  - **Price predictions** — bull/bear/likely targets across 9 timeframes (5m to 3 months)
58
+ - **ChronoVisor engine** — mathematical prediction system using Bayesian inference, certainty-factor algebra, first-order logic rules, and meta-reasoning with 6 independent signal sources
58
59
  - **Microstructure analysis** — market structure, FVGs, VWAP, volume delta, liquidation map, order book depth, S/R zones, squeeze detection
59
60
  - **Token security audits** — honeypot detection, tax analysis, mint/blacklist flags, rug pull indicators
60
61
  - **On-chain forensics** — wallet analysis, whale tracking, holder concentration, token flow patterns
62
+ - **Blockchain fundamentals** — TVL, protocol revenue, developer activity, governance metrics, staking yields
61
63
  - **Derivatives positioning** — funding rates, open interest, long/short ratios from Binance Futures
64
+ - **Prediction markets** — integrates Gamma and Polymarket data for market-implied probabilities
65
+ - **Polymarket edge scanning** — compare ChronoVisor predictions against Polymarket odds, detect mispricings, execute trades via CLOB API
66
+ - **Multi-exchange pricing** — aggregated prices from 15 exchanges (Binance, Coinbase, Kraken, OKX, Bybit, Gate.io, KuCoin, HTX, MEXC, Bitget, CoinGecko, CryptoCompare, DexScreener, GeckoTerminal, Jupiter) with VWAP/median aggregation and outlier detection
62
67
  - **Sentiment analysis** — Fear & Greed Index, news sentiment, buy/sell transaction ratios
63
68
  - **Trending discovery** — what tokens are moving right now across DexScreener and CoinGecko
64
69
  - **ICO tracking** — upcoming launches, fundraising rounds, investor data
70
+ - **Notifications & alerts** — price alerts, prediction tracking, interactive alerts panel with detail views
65
71
  - **Autonomous agents** — set-and-forget trading agents with paper/live execution
72
+ - **DeFi protocols** — Aave V3, Lido integrations with health monitoring and yield orchestration
66
73
 
67
74
  ---
68
75
 
@@ -103,6 +110,7 @@ Works on **macOS**, **Linux**, and **Windows**.
103
110
  | `CRYPTOPANIC_API_KEY` | No | Free tier | News with sentiment |
104
111
  | `DISCORD_TOKEN` | No | Free | Discord bot |
105
112
  | `TELEGRAM_BOT_TOKEN` | No | Free | Telegram bot |
113
+ | `POLYMARKET_PRIVATE_KEY` | No | N/A | Polymarket CLOB trading (edge execution) |
106
114
 
107
115
  **No API key at all?** Use Ollama with a local model — fully offline predictions (lower quality but free).
108
116
 
@@ -204,8 +212,13 @@ Launch with `vizzor`. Interactive chat with live price ticker, streaming respons
204
212
  | `/track <wallet> [--chain <chain>]` | Wallet forensics |
205
213
  | `/trends` | Trending tokens + top gainers/losers |
206
214
  | `/audit <contract> [--chain <chain>]` | Smart contract audit |
207
- | `/add <symbol>` | Add token to live price ticker |
215
+ | `/add <symbol>` | Add token to live price ticker (any source: Binance, CoinGecko, DEX) |
208
216
  | `/remove <symbol>` | Remove token from ticker |
217
+ | `/alerts` | Interactive alerts panel — browse predictions, price alerts, notifications |
218
+ | `/alerts clear` | Mark all notifications as read |
219
+ | `/alerts hide` / `/alerts show` | Toggle alerts banner visibility |
220
+ | `/alerts purge [id\|all]` | Delete predictions, notifications, and alert rules |
221
+ | `/alerts delete <id\|all>` | Same as purge (alias) |
209
222
  | `/chain [<id>]` | Show/switch chain |
210
223
  | `/provider` | Show current AI provider |
211
224
  | `/provider <name>` | Switch to `anthropic`, `openai`, `gemini`, `ollama` |
@@ -214,10 +227,14 @@ Launch with `vizzor`. Interactive chat with live price ticker, streaming respons
214
227
  | `/agent start <name>` | Start agent |
215
228
  | `/agent stop <name>` | Stop agent |
216
229
  | `/agent status <name>` | Agent status + decisions |
230
+ | `/agent wallet <name>` | Show agent wallet balance |
231
+ | `/agent trades <name>` | Show agent trade history |
217
232
  | `/backtest` | Historical strategy backtest |
218
233
  | `/config` | Show config |
219
234
  | `/help` | Command reference |
220
235
 
236
+ **Alerts Panel:** Type `/alerts` to open the interactive panel. Use **Up/Down** to navigate predictions and alerts, **Enter** to view full details (entry price, confidence, outcome, signal snapshot), **Escape** to close.
237
+
221
238
  ### CLI Commands
222
239
 
223
240
  ```bash
@@ -306,6 +323,8 @@ Autonomous prediction agents that run a continuous **think → analyze → decid
306
323
  | **Momentum** | RSI + MACD + Bollinger + Funding | Short-term reversals |
307
324
  | **Trend-Following** | EMA Crossover + OBV + Fear & Greed | Swing trades |
308
325
  | **ML-Adaptive** | All TA + ML regime + ChronoVisor | Adaptive, all conditions |
326
+ | **ChronoVisor** | 6-signal Bayesian engine + FOL rules + meta-reasoning | Multi-timeframe predictions |
327
+ | **Polymarket-Arbitrage** | ChronoVisor vs Polymarket odds | Prediction market edge trading |
309
328
 
310
329
  ### Safety Pipeline (Live Trading)
311
330
 
@@ -368,11 +387,13 @@ Requires the API server running (`vizzor api start`).
368
387
 
369
388
  ### Pages
370
389
 
371
- - **AI Chat** — conversational interface with streaming, tool call progress, trade action cards
372
- - **Dashboard** — market overview, Fear & Greed, sentiment, regime, trending tokens, news
390
+ - **AI Chat** — conversational interface with streaming, tool call progress, trade action cards, conversation persistence
391
+ - **Dashboard** — market overview, Fear & Greed, sentiment, regime, trending tokens, news, prediction accuracy tracker
373
392
  - **Markets** — token analysis, wallet analyzer, on-chain intelligence
374
- - **Agents** — create, monitor, start/stop agents with paper/live mode
393
+ - **Agents** — create, monitor, start/stop agents with paper/live mode, portfolio chart, trade history
375
394
  - **Portfolio** — positions, trade history, P&L metrics
395
+ - **Notifications** — real-time notification panel with prediction detail modals, price alert management, desktop push notifications
396
+ - **Polymarket** — edge scanner comparing ChronoVisor vs market odds, opportunity cards, position tracking, trade execution
376
397
  - **Settings** — API keys and provider configuration
377
398
 
378
399
  ---
@@ -393,30 +414,47 @@ All endpoints require `X-API-Key` header. Rate limited to 300 req/min per key.
393
414
  ### Endpoints
394
415
 
395
416
  ```
396
- GET /health # Health check (public)
397
- GET /docs # Swagger UI
398
- POST /v1/chat # AI chat (SSE streaming)
399
- POST /v1/chat/thread # Threaded chat reply
400
- GET /v1/market/price/:symbol # Price
401
- GET /v1/market/prices?symbols= # Batch prices
402
- GET /v1/market/trending # Trending tokens
403
- GET /v1/market/fear-greed # Fear & Greed Index
404
- GET /v1/market/ml-health # ML sidecar status
405
- GET /v1/market/trenches # Trenches scanner
406
- GET /v1/chronovisor/:symbol # ChronoVisor prediction
407
- POST /scan # Token security scan
408
- POST /trends # Market trends
409
- POST /track # Wallet forensics
410
- POST /predict # AI prediction
411
- POST /audit # Contract audit
412
- POST /v1/backtest # Backtest
413
- GET /v1/agents # List agents
414
- POST /v1/agents # Create agent
415
- POST /v1/agents/:name/start # Start agent
416
- POST /v1/agents/:name/stop # Stop agent
417
- GET /v1/portfolio/:id # Portfolio
418
- POST /v1/agents/emergency-stop # Global kill switch
419
- WS /ws # WebSocket real-time push
417
+ GET /health # Health check (public)
418
+ GET /docs # Swagger UI
419
+ POST /v1/chat # AI chat (SSE streaming)
420
+ POST /v1/chat/thread # Threaded chat reply
421
+ GET /v1/conversations # List conversations
422
+ GET /v1/conversations/:id # Get conversation with messages
423
+ GET /v1/market/price/:symbol # Price
424
+ GET /v1/market/prices?symbols= # Batch prices
425
+ GET /v1/market/trending # Trending tokens
426
+ GET /v1/market/fear-greed # Fear & Greed Index
427
+ GET /v1/market/ml-health # ML sidecar status
428
+ GET /v1/market/trenches # Trenches scanner
429
+ GET /v1/chronovisor/:symbol # ChronoVisor prediction
430
+ GET /v1/chronovisor/predictions # List all predictions
431
+ GET /v1/chronovisor/accuracy # Prediction accuracy metrics
432
+ GET /v1/polymarket/opportunities/:symbol # Edge opportunities for symbol
433
+ GET /v1/polymarket/positions # Open orders + recent trades
434
+ POST /v1/polymarket/trade # Place trade on market
435
+ GET /v1/notifications # List notifications
436
+ GET /v1/notifications/:id # Get notification detail
437
+ POST /v1/notifications/mark-read # Mark all as read
438
+ DELETE /v1/notifications/:id # Delete notification
439
+ GET /v1/notifications/rules # List alert rules
440
+ POST /v1/notifications/rules # Create alert rule
441
+ DELETE /v1/notifications/rules/:id # Delete alert rule
442
+ POST /scan # Token security scan
443
+ POST /trends # Market trends
444
+ POST /track # Wallet forensics
445
+ POST /predict # AI prediction
446
+ POST /audit # Contract audit
447
+ POST /v1/backtest # Backtest
448
+ GET /v1/agents # List agents
449
+ POST /v1/agents # Create agent
450
+ POST /v1/agents/:name/start # Start agent
451
+ POST /v1/agents/:name/stop # Stop agent
452
+ GET /v1/agents/:name/wallet # Agent wallet balance
453
+ GET /v1/agents/:name/trades # Agent trade history
454
+ GET /v1/agents/:name/stats # Agent trade statistics
455
+ GET /v1/portfolio/:id # Portfolio
456
+ POST /v1/agents/emergency-stop # Global kill switch
457
+ WS /ws # WebSocket real-time push
420
458
  ```
421
459
 
422
460
  ---
@@ -468,6 +506,11 @@ cacheTtl:
468
506
  marketData: 300
469
507
  walletData: 600
470
508
  contractCode: 86400
509
+
510
+ polymarket:
511
+ enabled: true
512
+ defaultSize: 10 # USD per trade
513
+ orderType: limit
471
514
  ```
472
515
 
473
516
  ### AI Provider Comparison