-
- 2captcha
-
- Captcha credits
Available provider balances
-
-
-
Balance bars use a $5 reference scale.
-diff --git a/autoreg/index.html b/autoreg/index.html
index b8a675b..c47c458 100644
--- a/autoreg/index.html
+++ b/autoreg/index.html
@@ -217,47 +217,19 @@
- Available provider balances Balance bars use a $5 reference scale.
-
-
- 2captcha
- Captcha credits
-
-
-
PC resources, real time
Stack health — видно агенту и ПК
No captcha balances reported.
'; - } - - function renderSystem(S) { - const pc = S.pc || {}; - const setBar = (id, pct, txt) => { - const bar = $(id + '-bar'); const el = $(id); - if (el) el.textContent = txt; - if (bar) { - const p = Math.min(100, Math.max(0, pct || 0)); - bar.style.width = p + '%'; - bar.style.background = p > 85 ? 'var(--destructive)' : p > 60 ? '#f59e0b' : 'var(--success)'; - } - }; - setBar('pc-cpu', pc.cpu_pct, pc.cpu_pct != null ? pc.cpu_pct + '%' : '—'); - const ramPct = pc.ram_total_gb ? (pc.ram_used_gb / pc.ram_total_gb * 100) : 0; - setBar('pc-ram', ramPct, pc.ram_total_gb ? pc.ram_used_gb + ' / ' + pc.ram_total_gb + ' GB' : '—'); - const d = $('pc-disk2'); if (d) d.textContent = (S.disk_free_gb ?? '—') + ' GB'; - const db = $('pc-disk-bar'); if (db) { db.style.width = Math.min(100, (S.disk_free_gb || 0) / 5) + '%'; } + function renderSystem(S) { const sv = S.services || {}; const waveUp = !!(S.wave && S.wave.running); const items = [ @@ -541,7 +480,7 @@ const values = { 'c-total': S.bank.total, 'c-comp': S.bank.complete, 'c-act': S.bank.activated, 'c-dead': S.bank.dead, - 'c-pool': S.pool_left, 'c-disk': S.disk_free_gb + 'c-pool': S.pool_left }; Object.entries(values).forEach(([id, value]) => { $(id).textContent = value ?? '—'; @@ -558,7 +497,6 @@ $('wave-pill').textContent = S.wave.running ? 'Running' + (pids != null && pids !== '' ? ' · PID ' + pids : '') : 'Stopped'; $('wave-pill').className = 'badge ' + (S.wave.running ? 'badge-success' : 'badge-outline'); updateWaveButtons(); - renderCaptcha(S.captcha || []); renderSystem(S); renderModels(S.gateway.models || []); if (Array.isArray(S.log) && currentTab !== 'log') renderLog(S.log);