Backend: - /api/devops/info now requires admin role (was: any authenticated user). Exposes env keys, dep checks, and socket counts — admin-only by design. - New /api/devops/version (public, no auth) returns build SHA/branch/image for ops/CI rollback verification. - Dep checks: live ping for Cosmos (trading_users) and platform-service. - Service version read dynamically via readServiceVersion(import.meta.url) — no more hardcoded '0.1.0'. - extra: socketIoConnections + tradingApiUrl for runtime debugging. - saveCurrentUserProfile no longer accepts client-supplied role — prevents drift with platform JWT (which is authoritative). Web: - DevOps tab is now admin-only (gated behind isAdmin like Bot Config and Admin Panel). Both the section list and content render are guarded. - Service version baked into bundle via Vite `define` (__WEB_SERVICE_VERSION__) read from web/package.json — no more hardcoded VERSION constant. - Bumps @bytelyst/devops dep to ^0.1.2. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| backtest | ||
| config | ||
| connectors | ||
| domain | ||
| scripts | ||
| services | ||
| strategies | ||
| utils | ||
| bootstrap.ts | ||
| index.ts | ||
| test_simulation.js | ||