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.

chore(deps): decline @solana/pay v1 (web3.js 2 rewrite), fix stale embed CSP test (#55)

oversteppingc870fb70bfbc
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 5f1dec7da..6765ab654 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -31,6 +31,14 @@ updates:
# ethers v6 → v7 will need a code sweep when the time comes.
- dependency-name: ethers
update-types: [version-update:semver-major]
+ # @solana/pay v1 is a full rewrite on @solana/kit (web3.js 2.0): findReference
+ # and validateTransfer now take a kit Rpc + branded Address/Signature instead
+ # of a web3.js v1 Connection/PublicKey. Our entire payment path (api/_lib/
+ # purchase-confirm.js, api/marketplace/buy-asset.js, api/purchase/skill.js) is
+ # web3.js v1, so adopting it would fragment the stack into kit + v1 in the most
+ # sensitive code. Pin at 0.2.x until a deliberate, coordinated web3.js 2 migration.
+ - dependency-name: "@solana/pay"
+ update-types: [version-update:semver-major]
# Colyseus is 0.x, so a "minor" bump is breaking: 0.16 → 0.17 requires
# @colyseus/schema v4 (new wire format + API), but we pin schema at 3.0.76
# because multiplayer/src/schemas.js uses the v3 defineTypes/positional-
diff --git a/tests/share-panel.test.js b/tests/share-panel.test.js
index 11235732e..656df21a3 100644
--- a/tests/share-panel.test.js
+++ b/tests/share-panel.test.js
@@ -250,7 +250,7 @@ describe('vercel.json — embed route headers', () => {
it('sets a permissive frame-ancestors CSP header so external sites can iframe', () => {
const r = routes.find((x) => x.src === '/agent/([^/]+)/embed');
- expect(r?.headers?.['content-security-policy']).toBe('frame-ancestors *');
+ expect(r?.headers?.['content-security-policy']).toContain('frame-ancestors *');
});
it('does NOT set X-Frame-Options (would block cross-origin embedding)', () => {
@@ -266,7 +266,7 @@ describe('vercel.json — embed route headers', () => {
it('applies the same headers to the on-chain /a/{chain}/{id}/embed route', () => {
const r = routes.find((x) => x.src === '/a/(\\d+)/(\\d+)/embed');
- expect(r?.headers?.['content-security-policy']).toBe('frame-ancestors *');
+ expect(r?.headers?.['content-security-policy']).toContain('frame-ancestors *');
});
});