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.

feat: agent activation hardening, SDK types for activate(), changelog, and build

nirholasbb3ddc54bc20
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a3407c4d0..22c5d9d40 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **three.ws Joins the Alibaba Cloud Partner Network** (`/blog/three-ws-alibaba-cloud-partnership`) — three.ws is now an Alibaba Cloud Partner, bringing Qwen foundation models and Asia-Pacific cloud infrastructure to the three.ws 3D AI agent platform.
- **60 live x402 payments per minute** — A new per-minute cron fires 60 parallel real Solana USDC micropayments each tick via the x402 protocol, seeding the platform's payment activity feed and club stage with continuous on-chain traffic. Each payment is a signed SPL TransferChecked transaction broadcast via the Solana facilitator — not simulated. Configure the batch size or pause it with X402_SEED_BATCH_SIZE / X402_SEED_ENABLED. (`/pay`) `[infra, feature]`
- **Activate your agent — a one-tap welcome grant that brings it live** — New agents now have a "Go Live" step in their wallet. One tap claims a real, one-time on-chain welcome grant from three.ws — it funds the agent's wallet and lands it on the live Money Pulse as an active wallet, in a single explorer-verifiable transaction. No more agents stuck at a zero balance with no way to make their first move. The Go Live screen shows the grant, the confirmed transaction, and what to do next, all in the platform's monochrome look. (`/pulse`) `[feature]`
+- **Activation, upgraded — Live badges, one-call agent activation, and a Go Live first step** — Bringing an agent to life is now front-and-center and easier for people and agents alike. Right after you create an agent, "Go live" is the first thing offered. Agents that have claimed their welcome grant now wear a "◉ Live" badge across the marketplace so funded, active agents stand out, and their live status is published in each agent's manifest. Developers and autonomous agents can activate in a single call with the three.ws SDK (client.activate(agentId)). Behind the scenes, activating now also registers the agent's payout wallet so it can earn from day one, and counts toward referral rewards when you were invited. We also hardened the on-chain grant so it can never be sent twice. (`/marketplace`) `[feature, improvement, sdk]`
- **Alibaba Cloud partnership — Qwen models and alibaba-cloud-mcp** — three.ws joins the Alibaba Cloud Partner Network. Qwen-Max, Qwen-Plus, Qwen-Turbo, and Qwen-Long are now available as agent brain options via DashScope. Ships with @three-ws/alibaba-cloud-mcp — a new MCP server for chat, embeddings, and model discovery using your own Alibaba Cloud API key. Set DASHSCOPE_API_KEY in Vercel to activate. (`/blog/three-ws-alibaba-cloud-partnership`) `[feature]`
- **Autonomous coin launcher — creator fees, revenue tracking, and admin console upgrades** — The memetic launcher now auto-claims pump.fun creator fees from every coin it mints, routing the configured share toward $THREE. The admin console at /admin/launcher gains a live revenue panel (total creator fees claimed, $THREE allocated), agent-name visibility in the run feed, a Force Tick button for instant testing, and a cleaner 8-column stat grid. Know Your Meme is wired as a live trend source alongside Hacker News, Reddit, and Wikipedia — so the launcher reads what the internet is actually minting. (`/admin/launcher`) `[feature, improvement]`
- **Capabilities dashboard — live command center for all 4 autonomous features** — New /dashboard/capabilities page surfaces live status for Alpha Hunt, Coin Launcher, Auto-Claim, and Market Maker in one view. KPI strips show daily budget, total volume, claimable fees, and net P&L per capability. Tabbed tables show launched coins, schedule status, per-market inventory bars, and recent MM trades. Alpha Hunt trigger is now also configurable directly from the Sniper Strategies dashboard — full field set including min smart-money count, quality score, organic score, max market cap, and narrative keywords. (`/dashboard/capabilities`) `[feature, improvement]`
diff --git a/api/_lib/agent-activation.js b/api/_lib/agent-activation.js
index 82183a97b..930f2d494 100644
--- a/api/_lib/agent-activation.js
+++ b/api/_lib/agent-activation.js
@@ -268,151 +268,165 @@ export async function activateAgent({ agentId, userId }) {
() => {},
);
- // Rolling daily cap — checked AFTER claiming so this request's own pending row
- // is counted; a concurrent burst can overshoot only by the read-skew window.
- if ((await recentActivationCount()) > cfg.dailyCap) {
- await releaseClaim();
- return { ok: false, code: 'cap_reached', message: 'daily activation cap reached — try again tomorrow' };
- }
-
- // Provision the wallet if it isn't already (lazy-mint path), then resolve the
- // destination address.
- let address = agent.meta?.solana_address || null;
+ // Everything from here can fail. The invariant: release the claim ONLY when no
+ // grant could have left the treasury. `transferStarted` flips true the instant
+ // before we broadcast — after that, an unexpected throw must leave the row
+ // `pending` (which blocks any re-grant) rather than release it and risk a
+ // double-spend. The outer catch is the backstop for any fail-able call (e.g. the
+ // cap query, an RPC hiccup) that isn't already handled inline below.
+ let transferStarted = false;
try {
- const w = await ensureAgentWallet(agentId, userId, { reason: 'activation' });
+ // Rolling daily cap — checked AFTER claiming so this request's own pending row
+ // is counted; a concurrent burst can overshoot only by the read-skew window.
+ if ((await recentActivationCount()) > cfg.dailyCap) {
+ await releaseClaim();
+ return { ok: false, code: 'cap_reached', message: 'daily activation cap reached — try again tomorrow' };
+ }
+
+ // Provision the wallet if it isn't already (lazy-mint path), then resolve the
+ // destination address.
+ let address = agent.meta?.solana_address || null;
+ const w = await ensureAgentWallet(agentId, userId, { reason: 'activation' }).catch((err) => {
+ console.error('[agent-activation] wallet provision failed', err?.message);
+ return null;
+ });
if (w?.address) address = w.address;
- } catch (err) {
- console.error('[agent-activation] wallet provision failed', err?.message);
- await releaseClaim();
- return { ok: false, code: 'wallet_unavailable', message: 'could not prepare the agent wallet' };
- }
- if (!address) {
- await releaseClaim();
- return { ok: false, code: 'wallet_unavailable', message: 'agent has no wallet to fund' };
- }
+ if (!address) {
+ await releaseClaim();
+ return { ok: false, code: 'wallet_unavailable', message: 'could not prepare the agent wallet' };
+ }
- let treasuryKp;
- try {
- treasuryKp = await getTreasuryKeypair(TREASURY_ENV_OVERRIDE);
- } catch (err) {
- await releaseClaim();
- return { ok: false, code: 'not_configured', message: 'activation is not available right now' };
- }
+ let treasuryKp;
+ try {
+ treasuryKp = await getTreasuryKeypair(TREASURY_ENV_OVERRIDE);
+ } catch (err) {
+ await releaseClaim();
+ return { ok: false, code: 'not_configured', message: 'activation is not available right now' };
+ }
- const conn = treasuryConnection(cfg.network);
- const lamports = cfg.grantLamports;
+ const conn = treasuryConnection(cfg.network);
+ const lamports = cfg.grantLamports;
- // Confirm the treasury can cover the grant + a fee buffer before sending, so a
- // dry treasury yields a clean message instead of a raw RPC failure.
- try {
- const have = await lamportBalance(conn, treasuryKp.publicKey.toBase58());
- if (have < BigInt(lamports) + BigInt(FEE_BUFFER)) {
- await releaseClaim();
- return { ok: false, code: 'treasury_low', message: 'activation is temporarily paused' };
+ // Confirm the treasury can cover the grant + a fee buffer before sending, so a
+ // dry treasury yields a clean message instead of a raw RPC failure.
+ try {
+ const have = await lamportBalance(conn, treasuryKp.publicKey.toBase58());
+ if (have < BigInt(lamports) + BigInt(FEE_BUFFER)) {
+ await releaseClaim();
+ return { ok: false, code: 'treasury_low', message: 'activation is temporarily paused' };
+ }
+ } catch {
+ /* balance probe is best-effort; the transfer below is the real gate */
}
- } catch {
- /* balance probe is best-effort; the transfer below is the real gate */
- }
- let signature;
- try {
- signature = await transferSol(conn, treasuryKp, address, lamports);
- } catch (err) {
- console.error('[agent-activation] grant transfer failed', err?.message);
- // A confirmation timeout can throw even though the transfer actually landed
- // on-chain (common under RPC congestion). transferSol attaches the broadcast
- // signature to the error; before releasing the claim — which would let the
- // owner retry and DOUBLE-SPEND the treasury — probe the chain. If the grant
- // already landed, treat it as success; only release when it provably did not.
- const broadcastSig = err?.signature || null;
- const landed = broadcastSig ? await signatureLanded(conn, broadcastSig).catch(() => false) : false;
- if (!landed) {
- await releaseClaim();
- return { ok: false, code: 'transfer_failed', message: 'the grant could not be sent — try again' };
+ let signature;
+ transferStarted = true; // past this point, never auto-release the claim
+ try {
+ signature = await transferSol(conn, treasuryKp, address, lamports);
+ } catch (err) {
+ console.error('[agent-activation] grant transfer failed', err?.message);
+ // A confirmation timeout can throw even though the transfer actually landed
+ // on-chain (common under RPC congestion). transferSol attaches the broadcast
+ // signature to the error; before releasing the claim — which would let the
+ // owner retry and DOUBLE-SPEND the treasury — probe the chain. Release only
+ // when the grant provably did NOT land.
+ const broadcastSig = err?.signature || null;
+ const landed = broadcastSig ? await signatureLanded(conn, broadcastSig).catch(() => false) : false;
+ if (!landed) {
+ await releaseClaim();
+ return { ok: false, code: 'transfer_failed', message: 'the grant could not be sent — try again' };
+ }
+ signature = broadcastSig;
}
- signature = broadcastSig;
- }
- // Price the grant in USD (best-effort) so the Pulse can value it.
- let usd = null;
- try {
- const px = await solUsdPrice();
- if (px) usd = (lamports / SOL) * px;
- } catch {
- /* usd is decoration */
- }
+ // Price the grant in USD (best-effort) so the Pulse can value it.
+ let usd = null;
+ try {
+ const px = await solUsdPrice();
+ if (px) usd = (lamports / SOL) * px;
+ } catch {
+ /* usd is decoration */
+ }
- // Record the grant as a real inbound tip — this is what lands the agent on the
- // Money Pulse and in active-wallet / tip counts. Idempotent on (agent, key).
- await recordCustodyEvent({
- agentId,
- userId: null,
- eventType: 'tip',
- category: 'tip',
- network: cfg.network,
- asset: 'SOL',
- amountLamports: lamports,
- usd,
- destination: address,
- signature,
- status: 'confirmed',
- idempotencyKey: `activation:${agentId}`,
- meta: {
- source: 'activation_grant',
- from: 'three.ws',
- label: 'Activation welcome grant',
- block_time: new Date().toISOString(),
- decimals: 9,
- },
- }).catch((e) => console.warn('[agent-activation] custody event failed', e?.message));
+ // Record the grant as a real inbound tip — this is what lands the agent on the
+ // Money Pulse and in active-wallet / tip counts. Idempotent on (agent, key).
+ await recordCustodyEvent({
+ agentId,
+ userId: null,
+ eventType: 'tip',
+ category: 'tip',
+ network: cfg.network,
+ asset: 'SOL',
+ amountLamports: lamports,
+ usd,
+ destination: address,
+ signature,
+ status: 'confirmed',
+ idempotencyKey: `activation:${agentId}`,
+ meta: {
+ source: 'activation_grant',
+ from: 'three.ws',
+ label: 'Activation welcome grant',
+ block_time: new Date().toISOString(),
+ decimals: 9,
+ },
+ }).catch((e) => console.warn('[agent-activation] custody event failed', e?.message));
- await sql`
- update agent_activations
- set status = 'confirmed', signature = ${signature}, lamports = ${String(lamports)},
- usd = ${usd}, confirmed_at = now()
- where agent_id = ${agentId}
- `;
+ await sql`
+ update agent_activations
+ set status = 'confirmed', signature = ${signature}, lamports = ${String(lamports)},
+ usd = ${usd}, confirmed_at = now()
+ where agent_id = ${agentId}
+ `;
- // Announce on the live ticker + notify the owner. Fire-and-forget — never block.
- publishFeedEvent({
- type: 'agent-activated',
- ts: Date.now(),
- actor: agent.name,
- agentId,
- name: agent.name,
- }).catch(() => {});
- insertNotification(userId, 'agent_activated', {
- agent_id: agentId,
- agent_name: agent.name,
- sol: lamports / SOL,
- signature,
- }).catch(() => {});
+ // Announce on the live ticker + notify the owner. Fire-and-forget — never block.
+ publishFeedEvent({
+ type: 'agent-activated',
+ ts: Date.now(),
+ actor: agent.name,
+ agentId,
+ name: agent.name,
+ }).catch(() => {});
+ insertNotification(userId, 'agent_activated', {
+ agent_id: agentId,
+ agent_name: agent.name,
+ sol: lamports / SOL,
+ signature,
+ }).catch(() => {});
- // Ramp value: make the agent able to EARN the moment it's live. Register its
- // custodial wallet as the default payout destination so any skill it lists
- // resolves a recipient and the marketplace demand loop (circulation real-seller
- // demand) can route real $THREE to it. Best-effort — never blocks the grant.
- sql`
- insert into agent_payout_wallets (user_id, agent_id, address, chain, is_default, preferred_network)
- values (${userId}, ${agentId}, ${address}, 'solana', true, 'mainnet')
- on conflict (user_id, agent_id, chain) do update set address = excluded.address, is_default = true
- `.catch((e) => console.warn('[agent-activation] payout wallet upsert failed', e?.message));
+ // Ramp value: make the agent able to EARN the moment it's live. Register its
+ // custodial wallet as the default payout destination so any skill it lists
+ // resolves a recipient and the marketplace demand loop (circulation real-seller
+ // demand) can route real $THREE to it. Best-effort — never blocks the grant.
+ sql`
+ insert into agent_payout_wallets (user_id, agent_id, address, chain, is_default, preferred_network)
+ values (${userId}, ${agentId}, ${address}, 'solana', true, 'mainnet')
+ on conflict (user_id, agent_id, chain) do update set address = excluded.address, is_default = true
+ `.catch((e) => console.warn('[agent-activation] payout wallet upsert failed', e?.message));
- // Cross-system milestone: funding your first agent IS a "first win" — stamp the
- // owner's user-activation milestone, which fires the two-sided referral reward
- // when they were referred. Best-effort, never blocks the grant return.
- markActivated(userId, {
- source: 'agent_activation',
- meta: { agentId, grantSol: cfg.grantSol },
- }).catch(() => {});
+ // Cross-system milestone: funding your first agent IS a "first win" — stamp the
+ // owner's user-activation milestone, which fires the two-sided referral reward
+ // when they were referred. Best-effort, never blocks the grant return.
+ markActivated(userId, {
+ source: 'agent_activation',
+ meta: { agentId, grantSol: cfg.grantSol },
+ }).catch(() => {});
- return {
- ok: true,
- signature,
- explorer: explorerTxUrl(signature, cfg.network),
- sol: lamports / SOL,
- usd,
- activated_at: new Date().toISOString(),
- network: cfg.network,
- };
+ return {
+ ok: true,
+ signature,
+ explorer: explorerTxUrl(signature, cfg.network),
+ sol: lamports / SOL,
+ usd,
+ activated_at: new Date().toISOString(),
+ network: cfg.network,
+ };
+ } catch (err) {
+ console.error('[agent-activation] unexpected failure', err?.message);
+ // Safe backstop: only release before any broadcast. After a transfer may have
+ // gone out, leave the row `pending` — it blocks a re-grant (no double-spend);
+ // if the grant did land, the custody event already marked the agent live.
+ if (!transferStarted) await releaseClaim();
+ return { ok: false, code: 'transfer_failed', message: 'activation could not complete — try again' };
+ }
}
diff --git a/data/changelog.json b/data/changelog.json
index d1a30ab10..05bee29a9 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,13 @@
{
"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-06-27",
+ "title": "Activation, upgraded — Live badges, one-call agent activation, and a Go Live first step",
+ "summary": "Bringing an agent to life is now front-and-center and easier for people and agents alike. Right after you create an agent, \"Go live\" is the first thing offered. Agents that have claimed their welcome grant now wear a \"◉ Live\" badge across the marketplace so funded, active agents stand out, and their live status is published in each agent's manifest. Developers and autonomous agents can activate in a single call with the three.ws SDK (client.activate(agentId)). Behind the scenes, activating now also registers the agent's payout wallet so it can earn from day one, and counts toward referral rewards when you were invited. We also hardened the on-chain grant so it can never be sent twice.",
+ "tags": ["feature", "improvement", "sdk"],
+ "link": "/marketplace"
+ },
{
"date": "2026-06-27",
"title": "Sign-up and 3D avatar reliability fixes",
diff --git a/package.json b/package.json
index c6ebb6b47..eb55dcd2d 100644
--- a/package.json
+++ b/package.json
@@ -96,7 +96,7 @@
]
},
"scripts": {
- "postinstall": "(node scripts/build-cache.mjs check agent-payments-sdk agent-payments-sdk/src agent-payments-sdk/package.json || (npm run build --prefix agent-payments-sdk && node scripts/build-cache.mjs stamp agent-payments-sdk agent-payments-sdk/src agent-payments-sdk/package.json)) && (node scripts/fix-pump-sdk-esm.mjs & node scripts/fix-x402-extensions-esm.mjs & node scripts/fix-zauth-sdk-solana-esm.mjs & node scripts/fix-colyseus-storage.mjs & node scripts/copy-three-decoders.mjs & node scripts/setup-claude-skills.mjs & wait)",
+ "postinstall": "(node scripts/build-cache.mjs check agent-payments-sdk agent-payments-sdk/src agent-payments-sdk/package.json || (npm run build --prefix agent-payments-sdk && node scripts/build-cache.mjs stamp agent-payments-sdk agent-payments-sdk/src agent-payments-sdk/package.json)) && (node scripts/build-cache.mjs check solana-agent-sdk solana-agent-sdk/src solana-agent-sdk/package.json || (npm run build:dist --prefix solana-agent-sdk && node scripts/build-cache.mjs stamp solana-agent-sdk solana-agent-sdk/src solana-agent-sdk/package.json)) && (node scripts/fix-pump-sdk-esm.mjs & node scripts/fix-x402-extensions-esm.mjs & node scripts/fix-zauth-sdk-solana-esm.mjs & node scripts/fix-colyseus-storage.mjs & node scripts/copy-three-decoders.mjs & node scripts/setup-claude-skills.mjs & wait)",
"setup": "node scripts/setup-dev.mjs",
"dev": "vite --port 3000",
"dev:multi": "npm run dev --prefix multiplayer",
diff --git a/public/changelog.json b/public/changelog.json
index 095a41e27..55068816b 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-27T22:06:13.568Z",
+ "generated_at": "2026-06-27T22:11:27.496Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -107,6 +107,18 @@
"feature"
]
},
+ {
+ "date": "2026-06-27",
+ "type": "update",
+ "title": "Activation, upgraded — Live badges, one-call agent activation, and a Go Live first step",
+ "summary": "Bringing an agent to life is now front-and-center and easier for people and agents alike. Right after you create an agent, \"Go live\" is the first thing offered. Agents that have claimed their welcome grant now wear a \"◉ Live\" badge across the marketplace so funded, active agents stand out, and their live status is published in each agent's manifest. Developers and autonomous agents can activate in a single call with the three.ws SDK (client.activate(agentId)). Behind the scenes, activating now also registers the agent's payout wallet so it can earn from day one, and counts toward referral rewards when you were invited. We also hardened the on-chain grant so it can never be sent twice.",
+ "link": "/marketplace",
+ "tags": [
+ "feature",
+ "improvement",
+ "sdk"
+ ]
+ },
{
"date": "2026-06-27",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index c741fd088..cd5da3183 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -86,6 +86,14 @@
<category>feature</category>
<description>New agents now have a &quot;Go Live&quot; step in their wallet. One tap claims a real, one-time on-chain welcome grant from three.ws — it funds the agent's wallet and lands it on the live Money Pulse as an active wallet, in a single explorer-verifiable transaction. No more agents stuck at a zero balance with no way to make their first move. The Go Live screen shows the grant, the confirmed transaction, and what to do next, all in the platform's monochrome look.</description>
</item>
+ <item>
+ <title>Activation, upgraded — Live badges, one-call agent activation, and a Go Live first step</title>
+ <link>https://three.ws/marketplace</link>
+ <guid isPermaLink="false">2026-06-27:Activation, upgraded — Live badges, one-call agent activation, and a Go Live first step</guid>
+ <pubDate>Sat, 27 Jun 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Bringing an agent to life is now front-and-center and easier for people and agents alike. Right after you create an agent, &quot;Go live&quot; is the first thing offered. Agents that have claimed their welcome grant now wear a &quot;◉ Live&quot; badge across the marketplace so funded, active agents stand out, and their live status is published in each agent's manifest. Developers and autonomous agents can activate in a single call with the three.ws SDK (client.activate(agentId)). Behind the scenes, activating now also registers the agent's payout wallet so it can earn from day one, and counts toward referral rewards when you were invited. We also hardened the on-chain grant so it can never be sent twice.</description>
+ </item>
<item>
<title>Alibaba Cloud partnership — Qwen models and alibaba-cloud-mcp</title>
<link>https://three.ws/blog/three-ws-alibaba-cloud-partnership</link>
diff --git a/public/features.json b/public/features.json
index 274d20d15..c3cfb3b2d 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-27T22:06:13.554Z",
+ "generated_at": "2026-06-27T22:11:27.414Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/sdk/types/index.d.ts b/sdk/types/index.d.ts
index c250b2b74..c87f31deb 100644
--- a/sdk/types/index.d.ts
+++ b/sdk/types/index.d.ts
@@ -184,4 +184,42 @@ export declare class AgentClient {
args?: Record<string, unknown>,
options?: InvokeSkillOptions,
): Promise<unknown>;
+ /**
+ * Bring an agent live in one call — claim its one-time on-chain activation grant.
+ * Requires a bearer token with `avatars:write` for the agent's owner. Idempotent.
+ */
+ activate(agentId: string): Promise<AgentActivationResult>;
+ /** Read an agent's activation status (the "Go Live" state it's in). */
+ getActivationStatus(agentId: string): Promise<AgentActivationStatus>;
+}
+
+export interface AgentActivationResult {
+ ok: boolean;
+ already?: boolean;
+ pending?: boolean;
+ signature?: string;
+ explorer?: string | null;
+ sol?: number;
+ usd?: number | null;
+ activated_at?: string;
+ network?: string;
+}
+
+export interface AgentActivationStatus {
+ enabled: boolean;
+ eligible: boolean;
+ activated: boolean;
+ pending: boolean;
+ reason: string | null;
+ grant_sol: number;
+ network: string;
+ has_wallet: boolean;
+ receipt: {
+ signature: string;
+ explorer: string | null;
+ sol: number | null;
+ usd: number | null;
+ activated_at: string;
+ network: string;
+ } | null;
}
diff --git a/solana-agent-sdk/package.json b/solana-agent-sdk/package.json
index f4dbb48fa..eccf6c66a 100644
--- a/solana-agent-sdk/package.json
+++ b/solana-agent-sdk/package.json
@@ -38,6 +38,7 @@
],
"scripts": {
"build": "tsup",
+ "build:dist": "tsup --no-dts",
"build:prod": "TSUP_SOURCEMAP=false tsup --minify",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",