15 Commits

Author SHA1 Message Date
dekun 1d2bdc3aa1 Align instance dashboard with snapshot+SSE and options net PnL.
Only dashboard path changes: background snapshot, SSE refresh, smaller header type, options net PnL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 22:10:58 +08:00
dekun 4fe0df6c6d Show TRC20 USDT pay address on the license page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 20:12:09 +08:00
dekun bd14121c02 fix: keep exchange API only in env config, remove from system settings.
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 20:00:20 +08:00
dekun 4d381e9104 fix: hot-reload trade direction/whitelist on env save without forced restart.
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 19:24:10 +08:00
dekun b7966fd935 fix: render POSITION_SIZING_MODE as select in env SSR template.
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 19:12:48 +08:00
dekun 2e049dbbd9 chore: bump settings prefs cache bust to v16.
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 19:07:58 +08:00
dekun fda5d121ea fix: make full_margin env save/restart reliable (no empty numeric wipe).
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 19:07:38 +08:00
dekun 1664693d3d fix: show leave-license interstitial instead of blank black page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 18:46:16 +08:00
dekun bc00671382 fix: hide /license after activation; keep gate before activate.
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 18:38:05 +08:00
dekun 30a2efce3f feat: license page uses per-customer client token wording.
Align redeem/validate UX with per-code tokens from the auth server.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 17:46:15 +08:00
dekun 8eefc6cfd5 feat: accept CLIENT_API_KEY on /license page.
Users can paste the key from the seller instead of editing license.env; it persists in license_state.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 17:20:47 +08:00
dekun 863da10d1f fix: clearer LICENSE_CLIENT_KEY setup and ignore empty env overrides.
license.env now fills blank LICENSE_* values; error text points to copying license.env.example.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 17:11:54 +08:00
dekun fd1bf9982c settings: add Exchange API tab for instance system settings.
Allow configuring perpetual API keys and live trading from Settings, reusing the existing env save API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 17:09:53 +08:00
dekun 16ef0f31e3 User edition: prune docs, license gate, obfuscate core lib.
Keep deploy/basic docs only; integrate sq.bz121.com license client; encrypt strategy/trade/key_monitor/options/hedge_plan for release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 16:30:58 +08:00
dekun 53863559f4 Initialize crypto_monitor_user (user edition) from monitor codebase.
Retarget git remote, install path, and deploy docs from crypto_monitor to crypto_monitor_user.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 16:18:13 +08:00