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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(launch): document funded launch intents, pin the creator-fee rules with tests, and add the changelog entry and structure row
nirholas9ab67661ebee
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex befdd3507..0a76e27c1 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -13,12 +13,14 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Developer plans** (`/developers`): Free, Builder, Scale and Enterprise API plans with monthly call quotas that are enforced, not just recorded: burst and concurrency ceilings, 429 and 402 responses with a clear upgrade path, and self-serve upgrades in credits, USDC or $THREE on Solana.- **Docs · Destination Whitelist** (`/docs/destination-whitelist`): Cooldown allowlist for agent wallet payouts: step-up to add, propose-only agents, one-click cancel, instant removal.- **Docs · Developer plans** (`/docs/developer-plans`): Free, Builder, Scale and Enterprise API plans: monthly call quotas, burst and concurrency ceilings enforced on every v1 call with 429 and 402 responses, live usage in the dashboard, upgrades paid in credits, USDC or $THREE on Solana with proration and receipts, immediate key revocation, rotation with an overlap window, IP allowlists and per-key analytics.+- **Docs · Funded launch intents** (`/docs/launch-intents`): Launch a coin from a priced quote paid by the agent wallet: quote, paid, submitted, confirmed, indexed. A creator-fee picker, a once-only replayable funding proof, owner approval before anything is sent, and a devnet dry run.- **Docs · Importing skills** (`/docs/skill-import`): Install SKILL.md skills from any public GitHub repository or registry manifest: pinned to an exact commit, licence-checked, scanned for hostile instructions, approved by the owner, and run under the spend gate when they ask to spend, sign or message. Includes the fork and publish flow, the MCP tools and the REST API.- **Docs · Launch Lanes** (`/docs/launch-lanes`): Every way to launch a coin on three.ws compared from live config: chain, fees, creator share, graduation and liquidity lock. Covers the Uniswap V3 pool lane on Base, quote then launch, and the Idempotency-Key and launch status endpoint that make a retried launch return the same launch.- **Docs · Local agent runtime for the desktop app** (`/docs/desktop-local-runtime`): Run agents, paper and live strategies, limit orders and automations on your own machine: keys in the OS keychain, native approvals with the same payload hash as the web flow, a tray menu, and a mascot that shows agent state.- **Docs · Solana Trading Tools** (`/docs/trading-tools`): Ten MCP tools and REST routes for agents that trade on Solana: token research, ecosystem signals, swap quotes compared across aggregators with the reason a route won, confirmed and re-priced execution from the agent wallet, and arbitrage with its worst case shown.- **Docs · Specialist teams** (`/docs/teams`): How specialist teams work: the four roles and their permission ceilings, the shared findings board and its live stream, the cite-or-research rule the Trader follows, launch prep you sign yourself, and the full API.- **Docs · Web Domains** (`/docs/domains`): Search, price, check and register web domains from an agent or the dashboard through Google Cloud Domains, paid from credits behind a quote and an explicit confirm, with the daily registrar quota, one-year terms, auto-renew and connecting a domain to an agent's public page.+- **Docs: Agent Commerce** (`/docs/agent-commerce`): Let an agent invoice in USDC, SOL or $THREE with a Solana Pay link and QR verified on-chain, send money with a preview and confirm, sell and buy offers with fulfillment released on payment, and propose limit changes only the owner can approve. REST, MCP and webhook reference.- **Docs: Agent Mail** (`/docs/agent-mail`): Give an agent a real email address on agents.three.ws: quote-then-confirm sends, the recipient allowlist and daily cap, why received mail is data and never instructions, rules that turn incoming mail into agent runs, and the REST and MCP reference.- **Docs: Usage control and spend** (`/docs/inference-billing`): Dollar caps and token ceilings per agent, the /spend page, cap alerts, resume and extend-once, deposits in SOL, USDC and $THREE with the configurable $THREE bonus, and the free-tier error that carries your choices including the one-step paid fallback.- **Domains** (`/domains`): Search live registrar availability, see the exact yearly price, register a web domain from credits and serve an agent's public page on it.@@ -32,6 +34,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **A complete REST API for agents, with signed webhooks**: Everything you can do with an agent in the app now works over plain HTTP with one API key: create and edit agents, start and stop them, chat, start runs and watch them live, schedule automations and fire them on demand, manage skills, and export or import an agent. Lists page with cursors, every response has the same shape, and a retry with an Idempotency-Key never does the work twice. Webhooks tell your server when a run finishes, an automation fires, a message arrives or an approval is needed. They are signed, retried for up to a day, logged attempt by attempt, and any delivery can be replayed from the new Developers dashboard. (`/docs/api-reference`) `[feature, sdk]`- **Agents can compare every Solana swap route and see why one wins**: Ten trading tools are now available to agents in Claude or any MCP client, and over the API at /api/v1/trading. Research a token (search with a safety read, live price, indicators, news) or read the whole Solana launch ecosystem at once: launch and graduation rates against their usual levels, the biggest movers, and anything unusual, each with the data behind it and the time it was measured. A swap quote now prices every aggregator side by side, shows what you actually end up with after fees and price impact, and says in plain words why the winner won. Filling it from an agent wallet takes a confirmed quote that expires in five minutes, is re-priced before it fills, is refused if the price slipped below what you approved, and can fill only once; a dry run simulates it first with nothing signed. Arbitrage quotes are honest about the risk: the two legs are separate trades, so you see a simulated worst case and a verdict, and large sizes are refused unless you ask for them. (`/docs/trading-tools`) `[feature, sdk]`- **Agents can find and register web domains**: Search any name across popular extensions with live availability and the exact yearly price, check a single name, and register it from your credits after a quote and an explicit yes. Coin pages now suggest available domains for the project name, and a registered domain can serve your agent's public page. Registration is for one year, renews at the same price, and has no markup. (`/domains`) `[feature]`+- **Agents can now send invoices, sell things, buy from each other and ask for higher limits**: Your agent can bill anyone in USDC, SOL or $THREE. Each invoice gets a share page, a Solana Pay link and a QR code that any Solana wallet can scan, and three.ws watches the chain to mark it paid, part-paid or expired on its own, with notifications, webhooks and a receipt. Paid invoices show up in your agent's earnings next to skill sales and creator fees. Agents can also list things for sale and buy from each other with a quote first and an explicit confirm, and the goods are only released once the payment is verified. Sending money takes a preview and a confirm, and goes to your approvals unless the address is on your allowlist. An agent can read its own spending limits and propose changes, but only you can approve them, after confirming it is you. Manage it all on the new Commerce page. (`/commerce`) `[feature]`- **Agents can read their portfolio, run a launch sniper, set alerts and challenge each other to duels**: Fifteen new tools for Claude or any MCP client, plus a portfolio API at /api/v1/agents/:id/portfolio. An agent can read its own valued Solana portfolio with cost basis and risk flags, its net-worth history (now recorded hourly) and its profit and loss broken down by where it came from. It can check its launch sniper, and arm it only after you have seen the exact budget, per-trade size, limits and network in a preview and said yes; turning it off is one call. It can subscribe to signal feeds in paper mode, and create, list and delete pump alert rules, including a new kind that fires on any new launch matching your filters: a name pattern, a market cap band, a minimum safety score, the creator's track record and risk flags to avoid. Alerts reach you on the bell, by push, and in any Telegram or Discord chat you have paired. Agents can also challenge another agent to a points-only duel, accept one, read a duel and browse the open markets, with every result counted on the duels leaderboard. (`/docs/mcp`) `[feature, sdk]`- **Agents can sign themselves up, and the platform now reports its health honestly**: An autonomous agent can now create its own three.ws account by signing a short message with its key: no email, no browser. It gets a wallet and an API key and starts in paper mode with strict limits until a person claims it. New public endpoints list every tool with prices and rules, publish real platform totals (agents, launches, volume, payouts, active strategies) with their sources, and a readiness check that reports degraded when the database, Solana RPC, the worker or wallet encryption is unwell. All of it is shown on the status page. (`/status`) `[feature, improvement]`- **Agents get their own email inbox**: Every agent can now have an email address on agents.three.ws, with an inbox right on its profile (the Mail button). It can send, read, reply in thread, search and delete, from the web, the API, or any MCP client. Nothing is created or sent until you have seen the exact recipients and message and said yes. You can limit an agent to a list of recipients and a daily number of sends, and only you, signed in, can change those limits. Mail an agent receives is always treated as information, never as orders: hidden characters are shown, links are disabled, and the agent is told not to follow anything inside it. Rules let you turn incoming mail into work, such as "when mail arrives from this sender, summarize it", either right away or after you approve. (`/agent-mail`) `[feature, security]`@@ -40,8 +43,10 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Coin logos, agent art and IPFS images load again**: Several public IPFS gateways started refusing image and metadata requests from websites this month, which left coin logos, the 3D coin face, agent cards and on-chain agent art blank or broken across the site. Every page and API now reads IPFS content through gateways that still answer, races them so the fastest wins, and quietly rewrites links that point at the refusing gateways, so art that was published long ago still shows up. Images from a host that no longer serves them now fall back to a clean placeholder instead of a broken-image icon. (`/launches`) `[fix, improvement]`- **Developer plans with quotas that are enforced, self-serve upgrades, key rotation, IP allowlists and per-key analytics**: Every API key now sits on a developer plan: Free, Builder, Scale or Enterprise, each with a monthly call quota, a per-minute burst ceiling, a concurrency ceiling and a webhook cap, all enforced on every /api/v1 call rather than only recorded. Each response carries x-plan, x-ratelimit-* and x-quota-* headers; past the burst or concurrency ceiling you get a 429 with Retry-After, and when the period's calls are used up you get a 402 that names the next plan and links to the upgrade. The new /developers page renders the plans straight from the config, and the dashboard's Plan tab shows live usage against the quota, lets you upgrade with credits, USDC or $THREE on Solana (your own wallet signs, with a review of recipient, amount, asset and chain first), prorates mid-period upgrades, schedules downgrades for the end of the period and lists every receipt. Revoking a key now takes effect immediately on every server. Keys can be rotated with an overlap window so a deployment never loses access, locked to IP addresses or ranges, and inspected per key: calls by route, error rate, latency percentiles and top callers. (`/developers`) `[feature, sdk, security, docs]`- **Every MCP tool now has its own page, and the tool counts are measured, not typed**: The MCP tool catalog now shows the real totals for every server, worked out from the live servers with a plain note on how, and a release view that lists which tools each release added. Open any tool to see its arguments, an example call, its price and what it can touch, and try the free read-only ones right on the page. You can filter the catalog by category. Behind it, every tool now says whether it only reads, whether it can destroy anything, whether repeating it is safe and whether it reaches outside three.ws, and every tool says when to use it. Prompts that pointed at tools that did not exist now point at real ones, and the tool counts quoted in our READMEs and docs are checked against the catalog on every build so they cannot go stale again. (`/mcp-tools`) `[feature, improvement]`+- **Every three.ws package now has its own home, docs site and agent-readable guide**: Each SDK and MCP server is mirrored to its own GitHub repository with a documentation site, install command, topics for search, an AGENTS.md and llms.txt so coding agents can use it, plus contributing, security and issue templates. Find them all in the standalone repositories list. (`/docs/start-here`) `[docs, improvement]`- **Import skills from any registry, safely**: Agents can now take skills from outside three.ws. Point the new Import Skills page at any public GitHub repository of SKILL.md files or any registry manifest, browse by category (DeFi, intelligence, social, infrastructure, security, data) with install counts, and install in two steps: a scan you read, then your approval. Every skill is pinned to the exact commit it was read at, licence-checked (skills that do not permit reuse are never offered), and scanned for hidden instructions, secret grabbing, data leaks and hardcoded payout addresses. Skills that ask to spend, sign or send messages need a second yes and can never move funds on their own. Updates never apply silently: you see the diff and approve it. You can also fork any skill and publish your own for everyone to import, from the page or from any MCP client. (`/skills/import`) `[feature, security]`- **Launch a coin as a Uniswap pool on Base, and retry launches safely**: There is a new launch lane: your agent launches a fixed-supply coin whose whole supply sits in one Uniswap V3 pool on Base. You choose the pool fee, lock the liquidity for a set time or forever, and route the fees, and a confirmation table lists every fee before anything is signed. The launch wizard now compares every lane (chain, fees, creator share, graduation, lock) from live figures. Launches on Base and Robinhood Chain now take an Idempotency-Key and keep a record you can follow at GET /api/launches/:id, so a dropped connection or a retry returns the same launch instead of a second one. Solana stays the default lane. The Base lane opens once its launcher contract is deployed. (`/launch/uniswap`) `[feature]`+- **Launch a coin from a quote the agent wallet pays, with a creator-fee picker and a live status**: Agents can now launch a coin from a priced quote. Pick the quote asset and a creator fee, see the full fee lines and what a coin could earn, then fund it from the agent's own wallet and confirm it in the approvals inbox. Only a signed-in browser can fund or confirm, so an API key can never spend. Every launch walks the same stages (quote, paid, submitted, confirmed, indexed) and replays safely if you retry. A devnet dry run lets you rehearse the whole thing with no real funds, and the command line prints the quote and tracks the stage with npx three-ws agent launch --intent. (`/launch/intents`) `[feature, improvement]`- **Live agent payments keep running when fee sponsorship pauses**: When the wallet that covers Solana network fees for agent payments runs low, agents on three.ws now pay their own fraction-of-a-cent fee and the purchase goes through, instead of failing with an error. The live agent-to-agent payment demo and the activity feed keep moving through it. (`/agent-exchange`) `[fix]`- **Manage agents, autonomous runs and automations from any MCP client, and replay every run on the agent page**: Sixteen new MCP tools let an AI client do everything the dashboard can with an agent: edit it, start and stop it, give it a new avatar from a GLB or image, delete it, launch and steer autonomous runs, and create, edit, test-fire and remove automations. Deleting takes two steps, a preview and then an explicit confirm, so nothing disappears by accident. Every run now has a turn budget and a dollar budget, stops cleanly between steps when you cancel it, and ends with a plain-language summary. Each step is sealed with a receipt that chains to the one before, and the new Runs tab on your agent's page replays any run step by step, shows every tool call with its result, checks the receipts, follows a live run as it works and lets you cancel it. (`/docs/mcp`) `[feature]`- **New payout addresses now wait out a cooldown you can cancel**: Your agent wallet has a destination whitelist. A new address cannot receive funds until it has served a cooldown (24 hours by default, never less than 1 hour). Adding one needs you to re-confirm with your password or an emailed code, you are told instantly on every connected channel, and you can cancel it with one click. Agents and API keys can only propose an address, never activate it. Removing an address works instantly. The check covers withdrawals, transfers, tips, bridge sends and payouts, and every confirmation shows whether the destination is on your list. Manage it on the new Allowlist tab of your agent wallet. (`/agent-wallet`) `[feature, security]`diff --git a/STRUCTURE.md b/STRUCTURE.mdindex 8a021ccc7..4231ee58c 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -65,6 +65,7 @@ bottom.| My Creations (personal creation index) | [pages/mine.html](pages/mine.html) `→ /mine` (alias `→ /my-creations`) + page module [src/mine.js](src/mine.js), styles [src/mine.css](src/mine.css) | Live | The answer to "where did the thing I just made go?". One newest-first grid merging four real feeds: `/api/agents` and `/api/avatars/mine` (session-scoped), `/api/forge-gallery` (scoped to this browser's `forge:cid`, so a model forged before signing up is still findable), and `/api/users/:username/creations` (models, worlds and restyles forged while signed in on any device), de-duplicated by id. Cards carry Open, Edit (or "Forge again", which re-runs the original prompt through `/forge?prompt=`) and Copy link, with lazy `<model-viewer>` previews under a six-context budget. Signed out it still renders this browser's models behind a sign-in prompt rather than an empty void, and a total source failure renders an error state, never a false "you have nothing". Reachable from the nav's My creations button ([public/nav.html](public/nav.html), drawer row in [public/nav.js](public/nav.js), Build menu in [public/nav-data.js](public/nav-data.js)), the dashboard sidebar, the create-agent success screen, the /create hub, /forge's creations strip and /my-agents. Tests: [tests/mine-page.test.js](tests/mine-page.test.js) || Cross-surface rankings, streaks & badges | [pages/rankings.html](pages/rankings.html) `→ /rankings`, backend [api/leaderboard/unified.js](api/leaderboard/unified.js), streak/badge engine [api/_lib/streaks.js](api/_lib/streaks.js) (migration [api/_lib/migrations/20260712020000_leaderboard_streaks_badges.sql](api/_lib/migrations/20260712020000_leaderboard_streaks_badges.sql)), daily Top-10 badge sweep [api/cron/leaderboard-rollup.js](api/cron/leaderboard-rollup.js) | Live | Five real, queried leaderboard metrics — creations (forge models + worlds), remixes received, coin launches, followers, and walk distance (signed-in walkers, all-time) — ranked live with the viewer's own rank pinned even off-page. Every signed-in qualifying action (login, a finished forge model, a saved world, a `/walk` session) rolls a per-user daily streak in `user_streaks` via `recordDailyActivity()`, called from [api/_lib/auth.js](api/_lib/auth.js), [api/_lib/forge-store.js](api/_lib/forge-store.js), [api/_lib/diorama-store.js](api/_lib/diorama-store.js), and [api/walk/metrics.js](api/walk/metrics.js). Four real earned badges persist in `user_badges`: First Creation, Remixed (awarded in [api/x402/remix-asset.js](api/x402/remix-asset.js) when a remix lands on your creation), 7-Day Streak, and a daily-refreshed `top10_<metric>` per leaderboard. Streak + badges surface on the profile ([pages/profile.html](pages/profile.html)) and the Rankings page itself. Rejected metrics (documented in `api/leaderboard/unified.js`'s header): royalties earned in USD (the settlement record is a single overwritten JSONB column, not a cumulative ledger) and `/play` activity (no per-human-user session table exists). || Agent creator earnings ("Earned") | API [api/agents/[id]/earnings.js](api/agents/%5Bid%5D/earnings.js) `→ GET /api/agents/:id/earnings`, read model [api/_lib/agent-earnings.js](api/_lib/agent-earnings.js), snapshot [api/_lib/creator-earnings-snapshot.js](api/_lib/creator-earnings-snapshot.js) run by [api/cron/creator-earnings-snapshot.js](api/cron/creator-earnings-snapshot.js) (every 30 min), pump.fun + on-chain client [api/_lib/pump-creator-fees.js](api/_lib/pump-creator-fees.js), migrations [20260930120000_launcher_claims.sql](api/_lib/migrations/20260930120000_launcher_claims.sql) and [20260930121000_agent_coin_earnings.sql](api/_lib/migrations/20260930121000_agent_coin_earnings.sql), card [src/shared/agent-earnings-card.js](src/shared/agent-earnings-card.js) on `/agents/:id`, `/agents/:id/profile` and the coin page `/launches/:mint`, MCP resource `three://agents/{agentId}/earnings` | Live | What each agent has earned, in SOL with USD beside it: lifetime pump.fun creator fees from its coins (earned, claimed, unclaimed, per coin) with every recorded claim linked to Solscan, plus x402 skill sales and hires. Each coin's fee recipient is read on-chain; pump.fun's creator-fee index supplies per-wallet totals and 30-minute/daily buckets (the 24h/7d/30d windows); unclaimed is the vault balance on-chain. A wallet's fees count toward an agent only when it is that agent's own custodial wallet; other wallets' coins are listed as not counted. Devnet excluded. Docs: [docs/api-reference.md](docs/api-reference.md#agent-earnings). Tests: [tests/agent-earnings.test.js](tests/agent-earnings.test.js), [tests/pump-creator-fees.test.js](tests/pump-creator-fees.test.js) |+| Funded launch intents | Pairs [api/pump/pairs.js](api/pump/pairs.js) + [api/_lib/pump-launch-pairs.js](api/_lib/pump-launch-pairs.js), intents [api/pump/launch-intents.js](api/pump/launch-intents.js) + [api/_lib/pump-funded-launch.js](api/_lib/pump-funded-launch.js), page [pages/launch-intent.html](pages/launch-intent.html) `→ /launch/intents` + [src/launch/launch-intent-page.js](src/launch/launch-intent-page.js), CLI `three-ws agent launch --intent`, migration `20261011000000_pump_funded_launch_intents.sql` | Live | A launch priced up front and paid by the agent wallet: quote, paid, submitted, confirmed, indexed. Only a same-site session can fund or confirm (a bearer can create, read and dry-run), the funding proof is once-only and replayable, the creator fee is picked inside the range the program allows, and a devnet lane rehearses it with no real funds. Docs: [docs/launch-intents.md](docs/launch-intents.md). Tests: [tests/pump-funded-launch.test.js](tests/pump-funded-launch.test.js) || Earned leaderboard (agents ranked by what they earned) | Tab on [pages/leaderboard.html](pages/leaderboard.html) `→ /leaderboard?tab=earned&window=7d`, module [src/leaderboard-earned.js](src/leaderboard-earned.js), API [api/leaderboard/earnings.js](api/leaderboard/earnings.js) `→ GET /api/leaderboard/earnings`, ranking [listEarningsLeaderboard in api/_lib/agent-earnings.js](api/_lib/agent-earnings.js) (the same read model as each agent's Earned card), launch counts shared by the unified board and the daily badge sweep [api/_lib/launch-counts.js](api/_lib/launch-counts.js) | Live | Public agents ranked by creator fees plus service income in a window, with the split, the agent's coin, and movement against the previous window; the window and tab live in the URL and the rank pill on the Earned card links here. Tests: [tests/agent-earnings.test.js](tests/agent-earnings.test.js), [tests/leaderboard-launch-counts.test.js](tests/leaderboard-launch-counts.test.js). Docs: [docs/api-reference.md](docs/api-reference.md) || create-agent (one command, one 3D character) | [packages/create-agent/](packages/create-agent) (client [src/forge.js](packages/create-agent/src/forge.js), scaffold [src/scaffold.js](packages/create-agent/src/scaffold.js), CLI [bin/create-agent.js](packages/create-agent/bin/create-agent.js)), server tools [api/_mcp-studio/tools.js](api/_mcp-studio/tools.js) | Live | `npm create @three-ws/agent "a friendly cartoon astronaut"` generates a textured figure, rigs it, downloads the GLB, and writes a folder with a working demo page and the embed snippet. No account and no API key: it rides the public, keyless JSON-RPC tools on [/api/mcp-studio](api/_mcp-studio) (`forge_avatar`, `forge_free`, `rig_mesh`) that the platform already exposes to MCP clients. A rigged character reliably outlives the endpoint's inline wait, so the client collects the returned poll handle and, when the job that finished was only the mesh, rigs it before reporting done: that is what the `stage` field on a pending result exists for. Progress is real elapsed time, never an invented bar. Docs [docs/create-agent.md](docs/create-agent.md). Tests: [tests/create-agent.test.js](tests/create-agent.test.js) || Glance (agent cards for home screens, READMEs and chat) | Page [public/glance/index.html](public/glance/index.html) `-> /glance` (+ [glance-page.js](public/glance/glance-page.js), [glance.css](public/glance/glance.css)), hosted element [public/glance/element.js](public/glance/element.js), endpoints [api/glance/card.js](api/glance/card.js) / [api/glance/mine.js](api/glance/mine.js) / [api/glance/token.js](api/glance/token.js) / [api/glance/template.js](api/glance/template.js), model [api/_lib/glance-card.js](api/_lib/glance-card.js), SVG [api/_lib/glance-svg.js](api/_lib/glance-svg.js), PNG [api/_lib/glance-png.js](api/_lib/glance-png.js), widget tokens [api/_lib/glance-tokens.js](api/_lib/glance-tokens.js) (`glance_widget_tokens`), Adaptive Card [api/_lib/glance-adaptive.js](api/_lib/glance-adaptive.js), Windows widget worker [public/glance-sw.js](public/glance-sw.js) (imported by the VitePWA service worker, manifest `widgets` member in [vite.config.js](vite.config.js)), Android home screen widget [solana-mobile/android-overlay/](solana-mobile/android-overlay/README.md) (applied by [solana-mobile/scripts/apply-overlay.mjs](solana-mobile/scripts/apply-overlay.mjs) inside `build-apk.sh`), macOS and iOS WidgetKit widget [apple/](apple/README.md) (shared [apple/GlanceKit/](apple/GlanceKit), extension [apple/GlanceWidget/](apple/GlanceWidget), Mac app [apple/macos/](apple/macos), an iOS target in [ios/native/App/App.xcodeproj](ios/native/App)), npm client [packages/agent-glance/](packages/agent-glance) | Live | One agent reduced to what fits in an OS widget slot: name, one live number (actions in the last 24h), and a link back. The same model renders five ways from one endpoint (JSON, SVG, PNG, Adaptive Card, and the `<agent-glance>` element), which is what keeps a new surface a rendering job rather than a data job. Windows 11 installs the widget straight from the PWA manifest (no store submission). Android ships it in the app (1.1+): a WorkManager-refreshed `AppWidgetProvider` that fetches the PNG with a revocable per-account widget token minted on `/glance`, keeps the last card offline, and opens the agent on tap. macOS and iOS run one WidgetKit extension over the same PNG and the same token, in small, medium and large: the Mac ships as a Developer ID menu bar app that holds the token and feeds the widget, and the iPhone gets the extension inside the existing Capacitor app. Both fetch the card in each theme so the widget follows the reader's appearance. `npm run check:apple-widget` proves both Xcode projects and the client-to-server contract without a Mac in the room. Deliberately not the 3D embed: no widget host on any of these platforms can run WebGL, so the body stays at [/widgets](public/widgets-gallery/index.html) and the status lives here. Private avatars never leak (the thumbnail is attached only for a public or unlisted avatar; everything else draws a generated monogram). Spec [specs/GLANCE_CARD.md](specs/GLANCE_CARD.md), docs [docs/glance.md](docs/glance.md), [docs/native-widgets.md](docs/native-widgets.md). Tests: [tests/glance-card.test.js](tests/glance-card.test.js), [tests/glance-png.test.js](tests/glance-png.test.js), [tests/glance-tokens.test.js](tests/glance-tokens.test.js), [tests/glance-sw.test.js](tests/glance-sw.test.js), [tests/agent-glance-sdk.test.js](tests/agent-glance-sdk.test.js), guard [scripts/check-apple-widget.mjs](scripts/check-apple-widget.mjs) |diff --git a/data/changelog.json b/data/changelog.jsonindex 931619fb6..878b98f3e 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, desktop (desktop entries become the desktop app's release notes). `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-10-10",+ "title": "Launch a coin from a quote the agent wallet pays, with a creator-fee picker and a live status",+ "summary": "Agents can now launch a coin from a priced quote. Pick the quote asset and a creator fee, see the full fee lines and what a coin could earn, then fund it from the agent's own wallet and confirm it in the approvals inbox. Only a signed-in browser can fund or confirm, so an API key can never spend. Every launch walks the same stages (quote, paid, submitted, confirmed, indexed) and replays safely if you retry. A devnet dry run lets you rehearse the whole thing with no real funds, and the command line prints the quote and tracks the stage with npx three-ws agent launch --intent.",+ "tags": ["feature", "improvement"],+ "link": "/launch/intents"+ },{"date": "2026-10-10","title": "Sign in with Telegram, link devices with one-time codes, and prove payout wallets with a signature",diff --git a/data/pages.json b/data/pages.jsonindex 64fd2232f..6cda1ede2 100644--- a/data/pages.json+++ b/data/pages.json@@ -6625,6 +6625,14 @@"changefreq": "monthly","added": "2026-08-21"},+ {+ "path": "/docs/launch-intents",+ "title": "Docs · Funded launch intents",+ "description": "Launch a coin from a priced quote paid by the agent wallet: quote, paid, submitted, confirmed, indexed. A creator-fee picker, a once-only replayable funding proof, owner approval before anything is sent, and a devnet dry run.",+ "priority": 0.6,+ "changefreq": "monthly",+ "added": "2026-10-10"+ },{"path": "/docs/pill-mascot","title": "Docs · Rigging the pump.fun pill mascot",diff --git a/docs/api-reference.md b/docs/api-reference.mdindex dc95f922b..7b0a879d5 100644--- a/docs/api-reference.md+++ b/docs/api-reference.md@@ -4069,6 +4069,21 @@ curl -s 'https://three.ws/api/v1/pump/launches?limit=10'---+### Funded launch intents++Quote a launch, fund it from the agent wallet, confirm it in the approvals inbox, and poll its stage (`quote`, `paid`, `submitted`, `confirmed`, `indexed`).++| Method and path | Auth | Purpose |+| --- | --- | --- |+| `GET /api/pump/pairs` | none | Quote assets a launch can pair with, fee schedule and creator-fee rule. |+| `POST /api/pump/launch-intents` | session or bearer | Create an intent and its quote. |+| `GET /api/pump/launch-intents/:id` | session or bearer | Read an intent and its stage. |+| `POST /api/pump/launch-intents/:id/pay` | session only | Record the funding proof, once, replayable. |+| `POST /api/pump/launch-intents/:id/confirm` | session only | Ask the owner to approve the launch. |+| `POST /api/pump/launch-intents/:id/dry-run` | session or bearer | Simulate the launch without sending it. |++Full flow, errors and configuration: [launch-intents.md](launch-intents.md).+### WhalesWhale / large-buy detection across pump.fun — **facts only**: which walletsdiff --git a/docs/launch-intents.md b/docs/launch-intents.mdnew file mode 100644index 000000000..d0b0f5957--- /dev/null+++ b/docs/launch-intents.md@@ -0,0 +1,113 @@+# Funded launch intents++A funded launch intent is a quote you pay once and a coin that launches from it. The agent's own wallet funds the launch, you confirm it from a signed-in browser, and every step is a stage you can poll.++Use it when you want a launch that is priced up front, paid by the agent wallet and replayable without paying twice. For a plain launch with no quote, use the launch tools described in [pump-launcher.md](pump-launcher.md).++## The flow++```+quote -> paid -> submitted -> confirmed -> indexed+```++| Stage | Meaning |+| --- | --- |+| `quote` | The intent exists. Fees are priced from the chain's live fee schedule and the quote is held for 15 minutes. |+| `paid` | The agent wallet funded the launch. The funding signature is stored once and replays safely. |+| `submitted` | The owner confirmed in the approvals inbox and the launch transaction was sent. |+| `confirmed` | The transaction landed on chain. |+| `indexed` | The coin is in the three.ws launch directory and the creator fee recipient is set. |++`failed` and `expired` are the only other terminal stages.++## Who can do what++- A bearer token (API key or CLI login) can **create** an intent, **read** it, and run a **dry run**.+- Only a same-site browser session can **fund** (`pay`) or **confirm** (`confirm`) it. A bearer is refused with `session_required` (403), so a leaked key can never spend.+- Confirming creates a `pump_funded_launch` request in the [approvals inbox](approvals.md). Nothing is submitted until the owner approves it.++## Endpoints++### List the quote assets++`GET /api/pump/pairs?network=mainnet|devnet`++Returns every quote asset a launch can pair with, read from chain state: whether the program will accept it now, the fee schedule at a fresh curve's market cap, the creator-fee rule and a projection of earnings. A pair is `live` only when the program accepts a `create_v2` against it.++### Create an intent++`POST /api/pump/launch-intents`++```json+{+ "agent_id": "agt_...",+ "name": "Example",+ "symbol": "EXMPL",+ "description": "What the coin is for",+ "image_url": "https://example.com/image.png",+ "network": "mainnet",+ "quote": "sol",+ "initial_buy": 0.5,+ "creator_fee_bps": 100+}+```++`creator_fee_bps` is optional. When the program lets the creator choose, it must sit inside the pair's `min_bps..max_bps`. When it does not, the schedule rate applies and a different value is refused.++The response carries the quote, the fee lines, the funding address, the required amount and a `preflight_token` that binds the funding transaction to this intent.++### Read, list and poll++- `GET /api/pump/launch-intents/:id` returns the intent and its stage. Add `?balance=0` to skip the wallet balance read.+- `GET /api/pump/launch-intents?agent=<id>&limit=30` lists your intents.++### Fund and confirm (browser session only)++- `POST /api/pump/launch-intents/:id/pay` with `{ "signature": "...", "preflight_token": "..." }` records the funding proof. Repeating the same call returns `200` with `replayed: true` instead of paying again.+- `POST /api/pump/launch-intents/:id/confirm` asks for the owner's approval and returns the approval request.++### Dry run++`POST /api/pump/launch-intents/:id/dry-run` builds and simulates the launch instructions against the network without sending anything. Create the intent with `"network": "devnet"` to exercise the whole lane with no real funds.++## Errors++| Code | Status | Meaning |+| --- | --- | --- |+| `session_required` | 403 | Funding or confirming needs a signed-in browser session. |+| `quote_expired` | 410 | The 15 minute quote lapsed. Create a new intent. |+| `preflight_mismatch` | 403 | The preflight token does not belong to this intent. |+| `signature_used` / `already_paid` | 409 | The funding proof was already recorded. |+| `funding_insufficient` | 402 | The transaction paid less than the quote. |+| `not_a_funding_tx` | 422 | The signature is not a transfer from the agent wallet to the funding address. |+| `creator_fee_out_of_range` | 400 | Pick a value inside the returned `min_bps..max_bps`. |+| `creator_fee_fixed` | 400 | This quote pays the schedule rate and it cannot be changed. |+| `quote_not_live` | 409 | The program does not accept this quote asset right now. |+| `unknown_quote` | 400 | The quote asset is not one of the listed pairs. |+| `wrong_stage` | 409 | The action does not apply at the intent's current stage. |+| `agent_not_found` / `not_found` | 404 | No such agent or intent for this account. |++## From the command line++```+npx three-ws agent launch --intent --quote usdc --creator-fee 100+npx three-ws agent launch status <id> --watch+```++The CLI prints the quote and the preflight token, opens the intent page for the owner to fund and confirm, and polls the stage. It never signs or pays.++## In the browser++`/launch/intents` is the page that shows the quote, picks the fee, funds the launch from the agent wallet and confirms it.++## Configuration++| Variable | Default | Meaning |+| --- | --- | --- |+| `PUMP_CREATOR_FEE_MIN_BPS` | 0 | Lowest creator fee the platform offers. |+| `PUMP_CREATOR_FEE_MAX_BPS` | 1000 | Highest creator fee the platform offers. |+| `PUMP_CREATOR_FEE_DEFAULT_BPS` | 100 | The pre-selected fee. |++The platform range is intersected with what the program allows, so a value the API accepts is one the chain will take.++Code: [api/pump/pairs.js](../api/pump/pairs.js), [api/pump/launch-intents.js](../api/pump/launch-intents.js), [api/_lib/pump-funded-launch.js](../api/_lib/pump-funded-launch.js), [api/_lib/pump-launch-pairs.js](../api/_lib/pump-launch-pairs.js). Tests: [tests/pump-funded-launch.test.js](../tests/pump-funded-launch.test.js).diff --git a/public/changelog-recent.json b/public/changelog-recent.jsonindex b030ec5b8..24c8df859 100644--- a/public/changelog-recent.json+++ b/public/changelog-recent.json@@ -1,11 +1,11 @@{- "generated_at": "2026-10-10T20:52:15.832Z",+ "generated_at": "2026-10-10T21:02:24.880Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws","url": "https://three.ws"},- "total": 3935,+ "total": 3940,"complete": false,"full_feed": "/changelog.json","entries": [@@ -79,6 +79,16 @@"launch"]},+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Docs · Funded launch intents",+ "summary": "Launch a coin from a priced quote paid by the agent wallet: quote, paid, submitted, confirmed, indexed. A creator-fee picker, a once-only replayable funding proof, owner approval before anything is sent, and a devnet dry run.",+ "link": "/docs/launch-intents",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -139,6 +149,16 @@"launch"]},+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Docs: Agent Commerce",+ "summary": "Let an agent invoice in USDC, SOL or $THREE with a Solana Pay link and QR verified on-chain, send money with a preview and confirm, sell and buy offers with fulfillment released on payment, and propose limit changes only the owner can approve. REST, MCP and webhook reference.",+ "link": "/docs/agent-commerce",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -271,6 +291,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Agents can now send invoices, sell things, buy from each other and ask for higher limits",+ "summary": "Your agent can bill anyone in USDC, SOL or $THREE. Each invoice gets a share page, a Solana Pay link and a QR code that any Solana wallet can scan, and three.ws watches the chain to mark it paid, part-paid or expired on its own, with notifications, webhooks and a receipt. Paid invoices show up in your agent's earnings next to skill sales and creator fees. Agents can also list things for sale and buy from each other with a quote first and an explicit confirm, and the goods are only released once the payment is verified. Sending money takes a preview and a confirm, and goes to your approvals unless the address is on your allowlist. An agent can read its own spending limits and propose changes, but only you can approve them, after confirming it is you. Manage it all on the new Commerce page.",+ "link": "/commerce",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",@@ -360,6 +390,17 @@"improvement"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Every three.ws package now has its own home, docs site and agent-readable guide",+ "summary": "Each SDK and MCP server is mirrored to its own GitHub repository with a documentation site, install command, topics for search, an AGENTS.md and llms.txt so coding agents can use it, plus contributing, security and issue templates. Find them all in the standalone repositories list.",+ "link": "/docs/start-here",+ "tags": [+ "docs",+ "improvement"+ ]+ },{"date": "2026-10-10","type": "update",@@ -381,6 +422,17 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Launch a coin from a quote the agent wallet pays, with a creator-fee picker and a live status",+ "summary": "Agents can now launch a coin from a priced quote. Pick the quote asset and a creator fee, see the full fee lines and what a coin could earn, then fund it from the agent's own wallet and confirm it in the approvals inbox. Only a signed-in browser can fund or confirm, so an API key can never spend. Every launch walks the same stages (quote, paid, submitted, confirmed, indexed) and replays safely if you retry. A devnet dry run lets you rehearse the whole thing with no real funds, and the command line prints the quote and tracks the stage with npx three-ws agent launch --intent.",+ "link": "/launch/intents",+ "tags": [+ "feature",+ "improvement"+ ]+ },{"date": "2026-10-10","type": "update",@@ -1492,57 +1544,6 @@"tags": ["docs"]- },- {- "date": "2026-09-30",- "type": "update",- "title": "Experiment write-up: how many new agents ever launch a coin?",- "summary": "Of the 788 agents people created in the 30 days to September 30, 2 went on to launch a coin, about three in four had no wallet, and the token plan built to bridge that gap has never been saved. The write-up publishes the numbers, what we got wrong about reading agent sign-ups as traction, what we already changed, and the queries so anyone can re-run them. It is the first entry on the new experiments page.",- "link": "/docs/experiments-agent-launch-funnel",- "tags": [- "docs"- ]- },- {- "date": "2026-09-30",- "type": "update",- "title": "Photo to 3D keeps going when its main engines go down",- "summary": "When a photo-to-3D job fails partway through, it already moves to the next engine on its own. Until now that only worked while another textured engine was up, so when the two main engines failed together last week, photo generations stopped completely. There is now one more rung: our own TripoSG engine takes over the job and delivers the shape of your model without textures, and the progress screen tells you when that happens. You get a model you can work with instead of an error, and whenever a textured engine is up, it is still used first.",- "link": "/image-to-3d",- "tags": [- "fix",- "improvement"- ]- },- {- "date": "2026-09-30",- "type": "update",- "title": "See what every agent has earned",- "summary": "Agent profiles, avatar pages and coin pages now show an Earned card: lifetime creator fees from the coins the agent launched, in SOL with USD beside it, what has been claimed and what is still waiting, a per-coin breakdown and every recorded claim with its Solscan link, plus income from selling its skills and services. The figures come from a snapshot refreshed twice an hour, and are also readable over MCP.",- "link": null,- "tags": [- "feature"- ]- },- {- "date": "2026-09-30",- "type": "update",- "title": "See where every $100 paid in $THREE goes",- "summary": "The $THREE page now shows, for paid compute, marketplace sales, scarcity mints, spins and copy-trading fees, how every $100 splits between the seller, the treasury that funds buybacks, and holder rewards. The numbers are read live from the same config the payment code enforces, and the treasury and holder-rewards wallets are listed with their live $THREE and USDC balances, or marked not yet published. The platform never burns $THREE. The page also follows your light or dark theme now.",- "link": "/three-token",- "tags": [- "feature"- ]- },- {- "date": "2026-09-30",- "type": "update",- "title": "Sell your whole agent as a paid API",- "summary": "Flip one switch on your agent's Earn tab, set a price per call and a short description, and your agent becomes a pay-per-call API anyone can use. Buyers pay in USDC on Solana straight to your agent's own wallet, so there is nothing to withdraw, and they talk to exactly the agent you configured. Agents on sale are listed in the x402 catalog and discovery feed so other agents can find and hire them.",- "link": null,- "tags": [- "feature"- ]}]}diff --git a/public/changelog.json b/public/changelog.jsonindex 426a6bc69..601792a98 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-10-10T20:52:15.787Z",+ "generated_at": "2026-10-10T21:02:24.858Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -76,6 +76,16 @@"launch"]},+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Docs · Funded launch intents",+ "summary": "Launch a coin from a priced quote paid by the agent wallet: quote, paid, submitted, confirmed, indexed. A creator-fee picker, a once-only replayable funding proof, owner approval before anything is sent, and a devnet dry run.",+ "link": "/docs/launch-intents",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -136,6 +146,16 @@"launch"]},+ {+ "date": "2026-10-10",+ "type": "launch",+ "title": "Docs: Agent Commerce",+ "summary": "Let an agent invoice in USDC, SOL or $THREE with a Solana Pay link and QR verified on-chain, send money with a preview and confirm, sell and buy offers with fulfillment released on payment, and propose limit changes only the owner can approve. REST, MCP and webhook reference.",+ "link": "/docs/agent-commerce",+ "tags": [+ "launch"+ ]+ },{"date": "2026-10-10","type": "launch",@@ -268,6 +288,16 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Agents can now send invoices, sell things, buy from each other and ask for higher limits",+ "summary": "Your agent can bill anyone in USDC, SOL or $THREE. Each invoice gets a share page, a Solana Pay link and a QR code that any Solana wallet can scan, and three.ws watches the chain to mark it paid, part-paid or expired on its own, with notifications, webhooks and a receipt. Paid invoices show up in your agent's earnings next to skill sales and creator fees. Agents can also list things for sale and buy from each other with a quote first and an explicit confirm, and the goods are only released once the payment is verified. Sending money takes a preview and a confirm, and goes to your approvals unless the address is on your allowlist. An agent can read its own spending limits and propose changes, but only you can approve them, after confirming it is you. Manage it all on the new Commerce page.",+ "link": "/commerce",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-10","type": "update",@@ -357,6 +387,17 @@"improvement"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Every three.ws package now has its own home, docs site and agent-readable guide",+ "summary": "Each SDK and MCP server is mirrored to its own GitHub repository with a documentation site, install command, topics for search, an AGENTS.md and llms.txt so coding agents can use it, plus contributing, security and issue templates. Find them all in the standalone repositories list.",+ "link": "/docs/start-here",+ "tags": [+ "docs",+ "improvement"+ ]+ },{"date": "2026-10-10","type": "update",@@ -378,6 +419,17 @@"feature"]},+ {+ "date": "2026-10-10",+ "type": "update",+ "title": "Launch a coin from a quote the agent wallet pays, with a creator-fee picker and a live status",+ "summary": "Agents can now launch a coin from a priced quote. Pick the quote asset and a creator fee, see the full fee lines and what a coin could earn, then fund it from the agent's own wallet and confirm it in the approvals inbox. Only a signed-in browser can fund or confirm, so an API key can never spend. Every launch walks the same stages (quote, paid, submitted, confirmed, indexed) and replays safely if you retry. A devnet dry run lets you rehearse the whole thing with no real funds, and the command line prints the quote and tracks the stage with npx three-ws agent launch --intent.",+ "link": "/launch/intents",+ "tags": [+ "feature",+ "improvement"+ ]+ },{"date": "2026-10-10","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 91b75488e..3c87cf053 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -62,6 +62,14 @@<category>launch</category><description>Free, Builder, Scale and Enterprise API plans: monthly call quotas, burst and concurrency ceilings enforced on every v1 call with 429 and 402 responses, live usage in the dashboard, upgrades paid in credits, USDC or $THREE on Solana with proration and receipts, immediate key revocation, rotation with an overlap window, IP allowlists and per-key analytics.</description></item>+ <item>+ <title>Docs · Funded launch intents</title>+ <link>https://three.ws/docs/launch-intents</link>+ <guid isPermaLink="false">2026-10-10:Docs · Funded launch intents</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>Launch a coin from a priced quote paid by the agent wallet: quote, paid, submitted, confirmed, indexed. A creator-fee picker, a once-only replayable funding proof, owner approval before anything is sent, and a devnet dry run.</description>+ </item><item><title>Docs · Importing skills</title><link>https://three.ws/docs/skill-import</link>@@ -110,6 +118,14 @@<category>launch</category><description>Search, price, check and register web domains from an agent or the dashboard through Google Cloud Domains, paid from credits behind a quote and an explicit confirm, with the daily registrar quota, one-year terms, auto-renew and connecting a domain to an agent's public page.</description></item>+ <item>+ <title>Docs: Agent Commerce</title>+ <link>https://three.ws/docs/agent-commerce</link>+ <guid isPermaLink="false">2026-10-10:Docs: Agent Commerce</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>Let an agent invoice in USDC, SOL or $THREE with a Solana Pay link and QR verified on-chain, send money with a preview and confirm, sell and buy offers with fulfillment released on payment, and propose limit changes only the owner can approve. REST, MCP and webhook reference.</description>+ </item><item><title>Docs: Agent Mail</title><link>https://three.ws/docs/agent-mail</link>@@ -214,6 +230,14 @@<category>feature</category><description>Search any name across popular extensions with live availability and the exact yearly price, check a single name, and register it from your credits after a quote and an explicit yes. Coin pages now suggest available domains for the project name, and a registered domain can serve your agent's public page. Registration is for one year, renews at the same price, and has no markup.</description></item>+ <item>+ <title>Agents can now send invoices, sell things, buy from each other and ask for higher limits</title>+ <link>https://three.ws/commerce</link>+ <guid isPermaLink="false">2026-10-10:Agents can now send invoices, sell things, buy from each other and ask for higher limits</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Your agent can bill anyone in USDC, SOL or $THREE. Each invoice gets a share page, a Solana Pay link and a QR code that any Solana wallet can scan, and three.ws watches the chain to mark it paid, part-paid or expired on its own, with notifications, webhooks and a receipt. Paid invoices show up in your agent's earnings next to skill sales and creator fees. Agents can also list things for sale and buy from each other with a quote first and an explicit confirm, and the goods are only released once the payment is verified. Sending money takes a preview and a confirm, and goes to your approvals unless the address is on your allowlist. An agent can read its own spending limits and propose changes, but only you can approve them, after confirming it is you. Manage it all on the new Commerce page.</description>+ </item><item><title>Agents can read their portfolio, run a launch sniper, set alerts and challenge each other to duels</title><link>https://three.ws/docs/mcp</link>@@ -278,6 +302,14 @@<category>feature</category><description>The MCP tool catalog now shows the real totals for every server, worked out from the live servers with a plain note on how, and a release view that lists which tools each release added. Open any tool to see its arguments, an example call, its price and what it can touch, and try the free read-only ones right on the page. You can filter the catalog by category. Behind it, every tool now says whether it only reads, whether it can destroy anything, whether repeating it is safe and whether it reaches outside three.ws, and every tool says when to use it. Prompts that pointed at tools that did not exist now point at real ones, and the tool counts quoted in our READMEs and docs are checked against the catalog on every build so they cannot go stale again.</description></item>+ <item>+ <title>Every three.ws package now has its own home, docs site and agent-readable guide</title>+ <link>https://three.ws/docs/start-here</link>+ <guid isPermaLink="false">2026-10-10:Every three.ws package now has its own home, docs site and agent-readable guide</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>docs</category>+ <description>Each SDK and MCP server is mirrored to its own GitHub repository with a documentation site, install command, topics for search, an AGENTS.md and llms.txt so coding agents can use it, plus contributing, security and issue templates. Find them all in the standalone repositories list.</description>+ </item><item><title>Import skills from any registry, safely</title><link>https://three.ws/skills/import</link>@@ -294,6 +326,14 @@<category>feature</category><description>There is a new launch lane: your agent launches a fixed-supply coin whose whole supply sits in one Uniswap V3 pool on Base. You choose the pool fee, lock the liquidity for a set time or forever, and route the fees, and a confirmation table lists every fee before anything is signed. The launch wizard now compares every lane (chain, fees, creator share, graduation, lock) from live figures. Launches on Base and Robinhood Chain now take an Idempotency-Key and keep a record you can follow at GET /api/launches/:id, so a dropped connection or a retry returns the same launch instead of a second one. Solana stays the default lane. The Base lane opens once its launcher contract is deployed.</description></item>+ <item>+ <title>Launch a coin from a quote the agent wallet pays, with a creator-fee picker and a live status</title>+ <link>https://three.ws/launch/intents</link>+ <guid isPermaLink="false">2026-10-10:Launch a coin from a quote the agent wallet pays, with a creator-fee picker and a live status</guid>+ <pubDate>Sat, 10 Oct 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Agents can now launch a coin from a priced quote. Pick the quote asset and a creator fee, see the full fee lines and what a coin could earn, then fund it from the agent's own wallet and confirm it in the approvals inbox. Only a signed-in browser can fund or confirm, so an API key can never spend. Every launch walks the same stages (quote, paid, submitted, confirmed, indexed) and replays safely if you retry. A devnet dry run lets you rehearse the whole thing with no real funds, and the command line prints the quote and tracks the stage with npx three-ws agent launch --intent.</description>+ </item><item><title>Live agent payments keep running when fee sponsorship pauses</title><link>https://three.ws/agent-exchange</link>diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex d80bf83f5..025b0c70f 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -96,7 +96,7 @@<main class="sm-wrap"><div class="sm-hero"><h1 data-i18n="sitemap_index.sitemap">Sitemap</h1>- <p><span>1023</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p>+ <p><span>1027</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p><div class="sm-formats"><a href="/sitemap.xml" data-i18n-html="sitemap_index.for_search_engines"><code>sitemap.xml</code> · for search engines</a><a href="/llms.txt" data-i18n-html="sitemap_index.for_ai_agents"><code>llms.txt</code> · for AI agents</a>@@ -108,7 +108,7 @@</div><div class="sm-filter"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>- <input id="sm-filter-input" type="search" placeholder="Filter 1023 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+ <input id="sm-filter-input" type="search" placeholder="Filter 1027 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" /><kbd id="sm-filter-kbd" aria-hidden="true">/</kbd></div><p class="sm-filter-count" role="status" aria-live="polite"><span id="sm-filter-count"></span><span id="sm-filter-hint" aria-hidden="true"></span></p>@@ -2849,7 +2849,7 @@<section class="sm-section" id="learn"><header>- <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>475</span></h2>+ <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>479</span></h2><p class="sm-section-desc" data-i18n="sitemap_index.docs_tutorials_and_reference">Docs, tutorials, and reference.</p></header><ul class="sm-list">@@ -4617,6 +4617,20 @@<span class="sm-desc" data-i18n="sitemap_index.d_docs_approvals">How agents pause for your yes before moving funds: the /approvals inbox, push Approve and Deny, signed deep links, payload-hash checks, auto-approve rules, and the API.</span></a></li>+ <li>+ <a href="/docs/account-linking">+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_account_linking">Docs: Account linking</span></span>+ <span class="sm-path" translate="no">/docs/account-linking</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_account_linking">Sign in with Telegram, link phones, desktop apps, the CLI and chats with one-time codes, and attach Solana or EVM wallets by signature, with audit-logged revoke.</span>+ </a>+ </li>+ <li>+ <a href="/docs/chat-gateways">+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_chat_gateways">Docs: Chat gateways</span></span>+ <span class="sm-path" translate="no">/docs/chat-gateways</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_chat_gateways">Talk to your agent from Telegram and other chat platforms: pairing, commands, approval limits, the Telegram webhook, privacy and rate limits.</span>+ </a>+ </li><li><a href="/docs/agent-mail"><span class="sm-title"><span data-i18n="sitemap_index.t_docs_agent_mail">Docs: Agent Mail</span></span>@@ -4624,6 +4638,13 @@<span class="sm-desc" data-i18n="sitemap_index.d_docs_agent_mail">Give an agent a real email address on agents.three.ws: quote-then-confirm sends, the recipient allowlist and daily cap, why received mail is data and never instructions, rules that turn incoming mail into agent runs, and the REST and MCP reference.</span></a></li>+ <li>+ <a href="/docs/agent-commerce">+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_agent_commerce">Docs: Agent Commerce</span></span>+ <span class="sm-path" translate="no">/docs/agent-commerce</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_agent_commerce">Let an agent invoice in USDC, SOL or $THREE with a Solana Pay link and QR verified on-chain, send money with a preview and confirm, sell and buy offers with fulfillment released on payment, and propose limit changes only the owner can approve. REST, MCP and webhook reference.</span>+ </a>+ </li><li><a href="/docs/checkout-companion"><span class="sm-title"><span data-i18n="sitemap_index.t_docs_checkout_companion">Docs: Checkout companion</span></span>@@ -6136,6 +6157,13 @@<span class="sm-desc" data-i18n="sitemap_index.d_docs_triage">How incoming issues and pull requests get sorted, what every label means, how to claim work, and the response times contributors can expect.</span></a></li>+ <li>+ <a href="/docs/launch-intents">+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_launch_intents">Docs · Funded launch intents</span></span>+ <span class="sm-path" translate="no">/docs/launch-intents</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_launch_intents">Launch a coin from a priced quote paid by the agent wallet: quote, paid, submitted, confirmed, indexed. A creator-fee picker, a once-only replayable funding proof, owner approval before anything is sent, and a devnet dry run.</span>+ </a>+ </li><li><a href="/docs/pill-mascot"><span class="sm-title"><span data-i18n="sitemap_index.t_docs_pill_mascot">Docs · Rigging the pump.fun pill mascot</span></span>diff --git a/tests/pump-funded-launch.test.js b/tests/pump-funded-launch.test.jsnew file mode 100644index 000000000..b6e726964--- /dev/null+++ b/tests/pump-funded-launch.test.js@@ -0,0 +1,100 @@+// Creator-fee rules for funded launches. The picker, the quote and the CLI all+// lean on these two functions, so the contract is pinned here: a creator may+// only choose a rate when the program lets them, and never outside the range.++import { afterEach, describe, expect, it } from 'vitest';+import { creatorFeeRule, configuredCreatorFeeRange } from '../api/_lib/pump-launch-pairs.js';+import { FundedLaunchError, resolveCreatorFee, STAGES, TERMINAL_STAGES } from '../api/_lib/pump-funded-launch.js';++const KEYS = ['PUMP_CREATOR_FEE_MIN_BPS', 'PUMP_CREATOR_FEE_MAX_BPS', 'PUMP_CREATOR_FEE_DEFAULT_BPS'];+const saved = Object.fromEntries(KEYS.map((k) => [k, process.env[k]]));+afterEach(() => {+ for (const k of KEYS) {+ if (saved[k] === undefined) delete process.env[k];+ else process.env[k] = saved[k];+ }+});++const global = (over = {}) => ({ creatorFeeConfigurable: true, maxConfigurableCreatorFeeBps: { toString: () => '500' }, ...over });++describe('configuredCreatorFeeRange', () => {+ it('defaults to 0..1000 bps with a 100 bps default', () => {+ for (const k of KEYS) delete process.env[k];+ expect(configuredCreatorFeeRange()).toEqual({ min_bps: 0, max_bps: 1000, default_bps: 100 });+ });++ it('rejects an inverted range', () => {+ process.env.PUMP_CREATOR_FEE_MIN_BPS = '600';+ process.env.PUMP_CREATOR_FEE_MAX_BPS = '300';+ expect(() => configuredCreatorFeeRange()).toThrow(/above/);+ });+});++describe('creatorFeeRule', () => {+ it('is configurable on an admitted quote, clamped to what the program allows', () => {+ for (const k of KEYS) delete process.env[k];+ const rule = creatorFeeRule({ global: global(), scheduleCreatorBps: 30, admitted: true });+ expect(rule).toMatchObject({ configurable: true, min_bps: 1, max_bps: 500, default_bps: 100, fixed_bps: null });+ });++ it('falls back to the schedule rate when the program gate is off', () => {+ const rule = creatorFeeRule({ global: global({ creatorFeeConfigurable: false }), scheduleCreatorBps: 30, admitted: true });+ expect(rule).toMatchObject({ configurable: false, fixed_bps: 30 });+ expect(rule.reason).toMatch(/not accepting/);+ });++ it('falls back to the schedule rate on a quote that is not admitted', () => {+ const rule = creatorFeeRule({ global: global(), scheduleCreatorBps: 30, admitted: false });+ expect(rule).toMatchObject({ configurable: false, fixed_bps: 30 });+ });++ it('falls back when the configured range does not overlap the chain range', () => {+ process.env.PUMP_CREATOR_FEE_MIN_BPS = '800';+ process.env.PUMP_CREATOR_FEE_MAX_BPS = '900';+ const rule = creatorFeeRule({ global: global(), scheduleCreatorBps: 30, admitted: true });+ expect(rule.configurable).toBe(false);+ expect(rule.fixed_bps).toBe(30);+ });+});++describe('resolveCreatorFee', () => {+ const configurable = { symbol: 'SOL', creator_fee: { configurable: true, min_bps: 1, max_bps: 500, default_bps: 100 } };+ const fixed = { symbol: 'USDC', creator_fee: { configurable: false, fixed_bps: 30, reason: 'This quote pays the schedule rate.' }, fees: { creator_bps: 30 } };++ it('uses the default when the creator picks nothing', () => {+ expect(resolveCreatorFee(configurable, null)).toMatchObject({ bps: 100, configurable: true });+ });++ it('accepts a pick inside the range, including the edges', () => {+ expect(resolveCreatorFee(configurable, 1).bps).toBe(1);+ expect(resolveCreatorFee(configurable, 500).bps).toBe(500);+ });++ it('refuses a pick outside the range and returns the range to correct it', () => {+ try {+ resolveCreatorFee(configurable, 501);+ throw new Error('expected a refusal');+ } catch (err) {+ expect(err).toBeInstanceOf(FundedLaunchError);+ expect(err.status).toBe(400);+ expect(err.code).toBe('creator_fee_out_of_range');+ expect(err.extra).toEqual({ min_bps: 1, max_bps: 500, default_bps: 100 });+ }+ });++ it('returns the fixed rate when the quote is not configurable', () => {+ expect(resolveCreatorFee(fixed, null)).toMatchObject({ bps: 30, configurable: false });+ expect(resolveCreatorFee(fixed, 30).bps).toBe(30);+ });++ it('refuses a different pick on a fixed-rate quote', () => {+ expect(() => resolveCreatorFee(fixed, 250)).toThrow(expect.objectContaining({ code: 'creator_fee_fixed', status: 400 }));+ });+});++describe('stages', () => {+ it('runs quote, paid, submitted, confirmed, indexed, with failed and expired as the only exits', () => {+ expect(STAGES).toEqual(['quote', 'paid', 'submitted', 'confirmed', 'indexed']);+ expect(TERMINAL_STAGES).toEqual(['failed', 'expired']);+ });+});