@vizzor/cli 0.15.0 → 0.15.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 +35 -1
- package/chronovisor-engine/models/regime_detector/regime_detector_1773536830_model.pkl +0 -0
- package/chronovisor-engine/models/rug_detector/rug_detector_1773536830_model.pkl +0 -0
- package/chronovisor-engine/models/sentiment_nlp/sentiment_nlp_1773536831_model.pkl +0 -0
- package/chronovisor-engine/models/trend_scorer/trend_scorer_1773536830_model.pkl +0 -0
- package/chronovisor-engine/pyproject.toml +1 -1
- package/dist/index.js +7285 -1672
- package/dist/index.js.map +1 -1
- package/package.json +29 -26
package/README.md
CHANGED
|
@@ -50,6 +50,22 @@ ETH at $2,112 | Bullish | Confidence: Medium-High
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
+
## What's new in v0.15.1 — Polaris
|
|
54
|
+
|
|
55
|
+
> [Full release notes →](https://github.com/7ayLabs/vizzor/releases/tag/v0.15.1)
|
|
56
|
+
|
|
57
|
+
- **Four new free-tier signal sources** — Deribit options term structure + 25-delta skew, Hyperliquid DEX positioning vs CEX funding divergence, Reddit + 4chan retail-sentiment NLP with contrarian top/bottom flags, and a 30-day funding-rate z-score from a new history table.
|
|
58
|
+
- **Closed-loop WR observability** — every signal records its vote + outcome, the auditor classifies each signal as INVERT / DAMPEN / WATCH / KEEP from rolling WR, and a polarity registry applies sign + magnitude overrides BEFORE CF combination. New `/wr-diagnose` + `/signal-override` commands.
|
|
59
|
+
- **Adversarial signal-conflict gate** — when onChain CF and logicRules CF disagree by >0.6 magnitude in opposite directions, the prediction is reframed as RANGE instead of emitting low-conviction directional noise.
|
|
60
|
+
- **Calibration acceleration** — regime-bucketed Platt shards per (family, regime), cross-symbol per-family prior inheritance, confidence-weighted SGD, calibrator bootstrap from a 30-day rolling window.
|
|
61
|
+
- **Production-grade auto-deploy** — merging to `main` auto-SSHes to the VPS, pulls the new image from GHCR, and rolls the docker stack in ~3-5 min. Health-gated, concurrency-protected.
|
|
62
|
+
- **Per-user accuracy correctness** — `user_id` persisted at `logPrediction` insert time closes the long-standing bug where every operator on the same bot saw a shared WR.
|
|
63
|
+
- **Session-scoped DM delivery + orphan re-guard** — old DMs from previous sessions never deliver, mid-session deletes suppress queued DMs.
|
|
64
|
+
- **Env-aware data dir** (`VIZZOR_DATA_DIR`) — dev and prod can now run on the same machine without thrashing shared SQLite state.
|
|
65
|
+
- **Sentry, Prometheus `/metrics`, bearer-auth `/health`** — observability for unattended 24/7 operation.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
53
69
|
## Why Vizzor?
|
|
54
70
|
|
|
55
71
|
Most crypto tools show you what already happened. Vizzor shows you what's likely to happen next.
|
|
@@ -157,6 +173,8 @@ docker compose up -d # Starts CLI + ChronoVisor Engine + PostgreSQL + Web D
|
|
|
157
173
|
|---------|-------------|
|
|
158
174
|
| **Price predictions** | Bull/bear/likely targets across 9 timeframes (5m to 3 months), batch multi-horizon in a single call |
|
|
159
175
|
| **ChronoVisor engine** | Mathematical prediction system: Bayesian inference, certainty-factor algebra with weak signal dampening, first-order logic rules (17 base + 7 scalping), meta-reasoning, and continuous weight learning with feedback loops |
|
|
176
|
+
| **Triple-system A+ gate** | Predictions promoted to tracked tier only when Vizzor TA + SMC structure + ICT timing all align on direction (Vizzor's mental model: take a trade only when momentum, structure, and timing agree) |
|
|
177
|
+
| **Persistent calibration** | Platt calibrator, FOL rule tracker, and per-symbol volatility registry survive process restarts — tracked WR no longer rebuilds from zero after every deploy |
|
|
160
178
|
| **Alert-hit notifications** | Toast banners when price targets hit, with training feedback (accuracy, streak, weight updates), ESC-to-dismiss, auto-dismiss |
|
|
161
179
|
| **Prediction markets** | Integrates Gamma and Polymarket data for market-implied probabilities |
|
|
162
180
|
| **Polymarket edge scanning** | Compare ChronoVisor predictions vs Polymarket odds, detect mispricings, execute trades via CLOB API |
|
|
@@ -167,6 +185,9 @@ docker compose up -d # Starts CLI + ChronoVisor Engine + PostgreSQL + Web D
|
|
|
167
185
|
|---------|-------------|
|
|
168
186
|
| **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 |
|
|
169
187
|
| **Microstructure analysis** | Market structure, FVGs, VWAP, volume delta, liquidation map, order book depth, S/R zones, squeeze detection |
|
|
188
|
+
| **CVD / aggressor delta** | Cumulative volume delta from Binance trade stream — short/mid divergence + impulse detection |
|
|
189
|
+
| **Anticipatory signals** | Whale Alert exchange flow, stablecoin mint/burn velocity, token unlock calendar, Coinbase premium spread, SEC EDGAR pre-news filings — fire before price moves, not after |
|
|
190
|
+
| **SMC + ICT layer** | Smart Money Concepts aggregator (BOS, CHoCH, liquidity sweeps, order blocks) + ICT timing (London/NY kill-zones, Asian range sweeps) |
|
|
170
191
|
| **Derivatives positioning** | Funding rates, open interest, long/short ratios from Binance Futures |
|
|
171
192
|
| **Sentiment analysis** | Fear & Greed Index + news sentiment + buy/sell transaction ratios |
|
|
172
193
|
| **Trending discovery** | What's moving right now across DexScreener and CoinGecko |
|
|
@@ -190,6 +211,7 @@ docker compose up -d # Starts CLI + ChronoVisor Engine + PostgreSQL + Web D
|
|
|
190
211
|
| **Backtesting** | Test strategies against historical data with full metrics (return, win rate, Sharpe, drawdown) |
|
|
191
212
|
| **Wallet management** | AES-256-GCM encrypted wallets with scrypt key derivation |
|
|
192
213
|
| **Notifications & alerts** | Price alerts for all prediction types (directional + sideways breakout), interactive alerts panel with dismiss-on-review |
|
|
214
|
+
| **AI auto-armed alerts** | When the AI composes a directional trade plan (Entry/TP/SL), the `set_trade_plan_alerts` tool automatically arms price-threshold alerts at those levels with confirmation footer in the reply |
|
|
193
215
|
|
|
194
216
|
### Platforms
|
|
195
217
|
|
|
@@ -199,7 +221,7 @@ docker compose up -d # Starts CLI + ChronoVisor Engine + PostgreSQL + Web D
|
|
|
199
221
|
| **Web Dashboard** | Next.js 15 — AI chat, markets, agents, portfolio, Polymarket, notifications |
|
|
200
222
|
| **REST API** | Fastify + Swagger — 40+ endpoints with API key auth and rate limiting |
|
|
201
223
|
| **Discord Bot** | Full command suite with AI-powered chat via @mention |
|
|
202
|
-
| **Telegram Bot** | Full command suite with AI chat on any message |
|
|
224
|
+
| **Telegram Bot** | Full command suite with AI chat on any message — production-ready with `/health` endpoint, graceful shutdown, automated backups, and 6-hour state persistence (Platt calibrator + rule tracker survive restart). New commands: `/alerts` (list armed alerts), `/whoami` (allowlist onboarding), `/chronovisor minsystems` (D4 gate runtime tuning) |
|
|
203
225
|
|
|
204
226
|
---
|
|
205
227
|
|
|
@@ -494,6 +516,18 @@ curl http://localhost:7200/health
|
|
|
494
516
|
| **Runtime** | Docker (recommended) or Python 3.11+ |
|
|
495
517
|
| **GPU** | Not required — CPU-based by default |
|
|
496
518
|
|
|
519
|
+
### Production deployment
|
|
520
|
+
|
|
521
|
+
A `docker-compose.prod.yml` overlay layers production hardening on top of the base compose: `restart: always`, JSON log rotation (10MB × 3 files per service), and the `vizzor-backup` sidecar that runs `scripts/backup.sh` every 6 hours with 14-day retention. The bot exposes a `/health` endpoint (default `:7101`) compatible with UptimeRobot, BetterStack, and Docker healthchecks.
|
|
522
|
+
|
|
523
|
+
```bash
|
|
524
|
+
# On the VPS, after first build:
|
|
525
|
+
docker compose -f docker-compose.yml -f docker-compose.prod.yml --env-file .env up -d
|
|
526
|
+
curl http://localhost:7101/health # → {"ok":true,"status":"healthy",...}
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
See [`scripts/backup.sh`](scripts/backup.sh), [`scripts/restore.sh`](scripts/restore.sh), and [`scripts/deploy-gen-env.py`](scripts/deploy-gen-env.py) for the operator-facing backup, restore, and `.env` bootstrap helpers.
|
|
530
|
+
|
|
497
531
|
---
|
|
498
532
|
|
|
499
533
|
## Configuration
|
|
Binary file
|
|
Binary file
|