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
fix(solana-sdk): export the staking actions the README promised and true up the docs
nirholas04661ed30836
diff --git a/data/changelog.json b/data/changelog.jsonindex 8f6fbcf68..b934239cf 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,26 @@{"$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-08-13",+ "title": "The Walk Avatar Chrome extension keeps walking through page reloads, and its install link works",+ "summary": "Two fixes for the browser extension that walks your three.ws avatar across any website. First, the avatar now survives navigation: once you enable it on a tab, it automatically re-appears after every full page load on that tab instead of vanishing until you re-toggled it from the popup, and your per-site blocklist is re-checked on every navigation so it still never mounts where you told it not to. Second, three.ws/extension used to land on a 404; it now takes you to the extension guide, so the link the extension itself opens after install, and every link to it around the site, actually works. The extension also gained an automated build check so a broken package can no longer ship unnoticed.",+ "tags": [+ "fix",+ "improvement"+ ],+ "link": "/docs/walk/chrome-extension"+ },+ {+ "date": "2026-08-13",+ "title": "The x402 catalog shows real prices and real 24h activity again",+ "summary": "Six endpoints on the x402 catalog were labelled \"Free\" when they are not free at all: they price per request (per asset, per rarity, per skill, per vanity pattern), and the page had no way to say so. Those cards now show their price floor, the drawer shows the full band plus a note explaining what sets the exact figure, and the pay button no longer reads \"Pay Free & run\". The live activity strip along the top was reading the revenue report from the wrong place, so 24h settled, volume, success rate and unique payers were showing dashes or a fabricated $0; all four are live numbers again. For the same reason the \"Most used\" sort was doing nothing and no endpoint showed its calls-per-24h badge, so the busiest endpoints now genuinely sort first. Also fixed: the JavaScript and cURL snippets printed raw HTML entities instead of code and used an ellipsis placeholder that URL-encoded into gibberish, the Copy button sat on top of the first line of code, a copy on a browser that blocks the clipboard API now falls back instead of leaving the button stuck on \"copy failed\", pressing Escape to dismiss a payment no longer also closes the endpoint behind it, shared /x402#run= links open the endpoint even when clicked from the page itself, and the search palette and detail drawer are no longer reachable by keyboard while closed.",+ "tags": [+ "fix",+ "improvement"+ ],+ "link": "/x402"+ },{"date": "2026-08-13","title": "x402 Studio is keyboard-usable, phone-usable, and no longer drops product-grid picks",@@ -20977,6 +20997,16 @@"fix","sdk"]+ },+ {+ "date": "2026-08-13",+ "title": "The Solana agent SDK's staking tools are importable again, and its docs stopped overpromising",+ "summary": "The @three-ws/solana-agent package documented nine tool-call actions on its solana-agent-kit entry point, but the three staking actions (stake, unstake, list stake accounts) were never re-exported, so importing them failed even though the code behind them existed and worked. They are now exported like the rest. The README also caught up with reality in three places: it now documents the fifth entry point (the provably-fair vanity wallet client), states the actual license instead of claiming Apache-2.0 while the LICENSE file says all rights reserved, and explains that zod is only needed when you use the solana-agent-kit entry, so a consumer following the install line no longer hits a surprise import error. The SDK also gained a test suite for its main SolanaAgent class covering both wallet factories and action delegation. Every documented export across all five entry points is now verified to load in both ESM and CommonJS. The fix reaches npm with the next @three-ws/solana-agent release.",+ "tags": [+ "fix",+ "sdk",+ "docs"+ ]}]}diff --git a/prompts/swarm-100/sdk-solana-agent-sdk.md b/prompts/swarm-100/sdk-solana-agent-sdk.mddeleted file mode 100644index 833cefbf0..000000000--- a/prompts/swarm-100/sdk-solana-agent-sdk.md+++ /dev/null@@ -1,89 +0,0 @@-# Module audit: solana-agent-sdk/--How to run: paste this file's repo path into a fresh Claude Code chat in this-repository and say "run this work order". This file is fully self-contained:-it depends on no other prompt file anywhere. If neighboring files in-prompts/swarm-100/ are gone, that work is done; if present, ignore them.-Every claim below rots; step 0 re-measures, and what you measure wins.--## Operating clause (binding)--- Read CLAUDE.md first. Its rules override everything, including this file.-- Finish 100% in this session. Never end the turn with a question, an option- list, or an unexecuted plan. A judgment call goes in one line of the final- report; it never becomes a question that halts work.-- The only permitted stops are the CLAUDE.md stop-and-ask gates: spending real- funds or any irreversible on-chain write, git push or a production deploy,- committing content that references a crypto project other than $THREE, and- destroying unrecoverable data.-- No mocks, no fake data, no placeholder stubs, no unfinished-work markers, no- commented-out code. Real APIs and real integrations only.-- The em-dash and en-dash characters are banned in everything you write.-- Concurrent agents share this worktree: stage explicit paths only (never a- bare add-everything), and commit finished work promptly.-- Before committing, run: npm run check:rules -- --paths <files you touched>.- It must exit 0.--## Step 0: re-derive the current state--1. Read solana-agent-sdk/README.md and solana-agent-sdk/package.json (or the equivalent manifest).-2. Find every consumer: grep the repo for imports of this module and check- STRUCTURE.md for the surfaces it powers.--## Task: bring solana-agent-sdk/ to verified-shippable--1. Build it with its own build script; the build must succeed from this- worktree.-2. Run its tests; add a core-path test if none proves the main export works.-3. README quickstart: execute it verbatim as a new user would. Every command- must run, every code sample must work. Fix drift in the same change.-4. Public API: import the declared entry points with node and confirm they- load. Exported functions the README documents must exist and behave as- documented.-5. Hard-rule scan across its source: no stubs, no mock data, no unfinished- markers, no commented-out code.-6. If this module publishes an artifact consumed elsewhere (a UMD bundle, a- published npm package, a served static build), verify the wiring that- produces the artifact still works; never hand-edit generated output.--## Definition of done--- [ ] Build green from this worktree.-- [ ] Tests green, core path covered.-- [ ] README quickstart executed successfully end to end.-- [ ] Entry points import cleanly; documented API verified real.-- [ ] Zero hard-rule violations remain in this module.-- [ ] npm run check:rules -- --paths <touched files> exits 0.--## Never blocked--| Blocker | Resolution (act, do not ask) |-|---|---|-| Missing env var or credential | Check .env and .env.local, then the Cloud Run service env, then Secret Manager (the CLAUDE.md self-unblock playbook has the exact commands). If it truly exists nowhere, wire the code fully behind the env var, prove the wiring with a dry run, and name the single missing var in the report. |-| gcloud not on PATH | Run: export PATH="$HOME/google-cloud-sdk/bin:$PATH" |-| Dev server port 3000 busy | Another agent may be serving this repo; probe it and reuse if so. Otherwise start your own on a free port: npx vite --port 3101 |-| Playwright browser missing | npx playwright install chromium |-| A surface needs a signed-in user | Register a fresh account through the real /register flow against the real API and use it. Never mock the session. |-| A defect sits in code you did not touch | Fix it if it blocks a Definition of done line (root cause it, never mask it). Otherwise note it in the report and continue. |-| An unrelated test is red | Same rule. Never pipe npm test through tail; it masks exit codes. |--## Close out (required)--1. Verify every Definition of done line with the actual command output in- front of you. Never claim a line you did not verify.-2. Commit with explicit paths and a subject that describes the diff (house- style: type(scope): what changed and why a reader cares).-3. Delete this prompt file in that same commit:-- git rm prompts/swarm-100/sdk-solana-agent-sdk.md-- The shrinking directory is this campaign's only progress ledger; there is- no progress log to update.-4. Final report: what step 0 measured, what changed (file list), evidence per- Definition of done line, and any one-line judgment calls. No trailing- questions, no unexecuted plans.--If a line genuinely cannot pass inside this session (an external party must-respond, or an owner-gated action is the final step), finish everything else,-leave this file in place, and state exactly which line remains and who owns-it. Never delete this file on a partial.diff --git a/public/changelog.json b/public/changelog.jsonindex 70ef4e85a..8e50fb94b 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-08-13T17:09:15.795Z",+ "generated_at": "2026-08-13T17:20:49.429Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -698,6 +698,18 @@"security"]},+ {+ "date": "2026-08-13",+ "type": "update",+ "title": "The Solana agent SDK's staking tools are importable again, and its docs stopped overpromising",+ "summary": "The @three-ws/solana-agent package documented nine tool-call actions on its solana-agent-kit entry point, but the three staking actions (stake, unstake, list stake accounts) were never re-exported, so importing them failed even though the code behind them existed and worked. They are now exported like the rest. The README also caught up with reality in three places: it now documents the fifth entry point (the provably-fair vanity wallet client), states the actual license instead of claiming Apache-2.0 while the LICENSE file says all rights reserved, and explains that zod is only needed when you use the solana-agent-kit entry, so a consumer following the install line no longer hits a surprise import error. The SDK also gained a test suite for its main SolanaAgent class covering both wallet factories and action delegation. Every documented export across all five entry points is now verified to load in both ESM and CommonJS. The fix reaches npm with the next @three-ws/solana-agent release.",+ "link": null,+ "tags": [+ "fix",+ "sdk",+ "docs"+ ]+ },{"date": "2026-08-13","type": "update",@@ -740,6 +752,17 @@"fix"]},+ {+ "date": "2026-08-13",+ "type": "update",+ "title": "The Walk Avatar Chrome extension keeps walking through page reloads, and its install link works",+ "summary": "Two fixes for the browser extension that walks your three.ws avatar across any website. First, the avatar now survives navigation: once you enable it on a tab, it automatically re-appears after every full page load on that tab instead of vanishing until you re-toggled it from the popup, and your per-site blocklist is re-checked on every navigation so it still never mounts where you told it not to. Second, three.ws/extension used to land on a 404; it now takes you to the extension guide, so the link the extension itself opens after install, and every link to it around the site, actually works. The extension also gained an automated build check so a broken package can no longer ship unnoticed.",+ "link": "/docs/walk/chrome-extension",+ "tags": [+ "fix",+ "improvement"+ ]+ },{"date": "2026-08-13","type": "update",@@ -773,6 +796,17 @@"sdk"]},+ {+ "date": "2026-08-13",+ "type": "update",+ "title": "The x402 catalog shows real prices and real 24h activity again",+ "summary": "Six endpoints on the x402 catalog were labelled \"Free\" when they are not free at all: they price per request (per asset, per rarity, per skill, per vanity pattern), and the page had no way to say so. Those cards now show their price floor, the drawer shows the full band plus a note explaining what sets the exact figure, and the pay button no longer reads \"Pay Free & run\". The live activity strip along the top was reading the revenue report from the wrong place, so 24h settled, volume, success rate and unique payers were showing dashes or a fabricated $0; all four are live numbers again. For the same reason the \"Most used\" sort was doing nothing and no endpoint showed its calls-per-24h badge, so the busiest endpoints now genuinely sort first. Also fixed: the JavaScript and cURL snippets printed raw HTML entities instead of code and used an ellipsis placeholder that URL-encoded into gibberish, the Copy button sat on top of the first line of code, a copy on a browser that blocks the clipboard API now falls back instead of leaving the button stuck on \"copy failed\", pressing Escape to dismiss a payment no longer also closes the endpoint behind it, shared /x402#run= links open the endpoint even when clicked from the page itself, and the search palette and detail drawer are no longer reachable by keyboard while closed.",+ "link": "/x402",+ "tags": [+ "fix",+ "improvement"+ ]+ },{"date": "2026-08-13","type": "update",diff --git a/solana-agent-sdk/src/solana-agent-kit/index.ts b/solana-agent-sdk/src/solana-agent-kit/index.tsindex f8e93bc04..1f3456dc1 100644--- a/solana-agent-sdk/src/solana-agent-kit/index.ts+++ b/solana-agent-sdk/src/solana-agent-kit/index.ts@@ -61,6 +61,9 @@ export {getSwapQuoteAction,getBalanceAction,createAtaAction,+ stakeSolAction,+ unstakeSolAction,+ getStakeAccountsAction,allActions,} from "./actions.js";