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.

Restore applied micro-buy migration to its frozen bytes

nirholas78f3f1c91e21
diff --git a/api/_lib/migrations/20260717233000_three_microbuy.sql b/api/_lib/migrations/20260717233000_three_microbuy.sql
index 663f4f031..6ac23e54d 100644
--- a/api/_lib/migrations/20260717233000_three_microbuy.sql
+++ b/api/_lib/migrations/20260717233000_three_microbuy.sql
@@ -7,11 +7,9 @@
-- (three_buyback_runs). BUY-ONLY -- nothing here sells $THREE; bought tokens are
-- swept to the treasury.
--
--- One immutable row per settled call. Rows whose buy actually broadcast — status
--- 'submitted' (throughput path, not yet confirmed), 'pending' (confirm timed out),
--- or 'confirmed' — are the DB fallback for the UTC-daily spend cap (the Redis
--- counter is the fast path). 'skipped'/'failed' rows record why a call did not buy
--- (never a silent no-op). status is free text (no CHECK) so new states are additive.
+-- One immutable row per settled call. Confirmed/pending rows are the DB fallback
+-- for the UTC-daily spend cap (the Redis counter is the fast path); skipped and
+-- failed rows record why a call did not buy (never a silent no-op).
begin;