Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Show treasury auto-funding flow on the capabilities sniper status bar

nirholascafb8cba753f
diff --git a/src/dashboard-next/pages/capabilities.js b/src/dashboard-next/pages/capabilities.js
index 9a0a5ca75..d76d79f87 100644
--- a/src/dashboard-next/pages/capabilities.js
+++ b/src/dashboard-next/pages/capabilities.js
@@ -248,11 +248,21 @@ function renderWorkerStatus(s) {
const pos = s.openPositions ?? 0;
const mode = s.mode ? ` · ${s.mode}` : '';
+ // Treasury → agent funding flow: shown only once the auto-funder has actually
+ // moved SOL, so it reads as proof the money pump is working rather than a zero.
+ const f = s.funding;
+ const fundedToday = Number(f?.fundedTodaySol) || 0;
+ const fundedTotal = Number(f?.fundedTotalSol) || 0;
+ const fundingMeta = fundedTotal > 0
+ ? `<span class="cp-muted" style="font-size:12px" title="SOL the treasury has auto-funded into sniper agents">⛽ ${fundedToday.toFixed(3)} SOL today · ${fundedTotal.toFixed(3)} SOL total</span>`
+ : '';
+
return `<div class="cp-status-bar">
<div class="cp-status-dot ${dotClass}"></div>
<span class="cp-status-label">${esc(label)}</span>
<span class="cp-status-meta">${esc(detail)}</span>
<div class="cp-status-spacer"></div>
+ ${fundingMeta}
${strats ? `<span class="cp-muted" style="font-size:12px">${strats} strategies · ${pos} positions open${esc(mode)}</span>` : ''}
<a class="cp-status-link" href="/dashboard/sniper">Sniper ↗</a>
</div>`;