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.

fix(home.html): update menu item title from "Pump.fun launcher" to "Pump.fun stream"

nirholasd785056aca6d
diff --git a/chat/src/AvatarIcon.svelte b/chat/src/AvatarIcon.svelte
index bac9d0d58..28b8497f9 100644
--- a/chat/src/AvatarIcon.svelte
+++ b/chat/src/AvatarIcon.svelte
@@ -190,12 +190,14 @@
});
</script>
-<canvas
- bind:this={canvas}
- width="128"
- height="128"
- class="h-full w-full object-cover {state !== 'done' ? 'animate-pulse bg-teal-100' : ''} {$generating && live ? 'avatar-bob' : ''}"
-/>
+<span class="h-full w-full block {state === 'done' ? 'avatar-fall-in' : 'invisible'}">
+ <canvas
+ bind:this={canvas}
+ width="128"
+ height="128"
+ class="h-full w-full object-cover {$generating && live ? 'avatar-bob' : ''}"
+ />
+</span>
<style>
@keyframes avatar-bob {
@@ -205,7 +207,16 @@
.avatar-bob {
animation: avatar-bob 0.7s ease-in-out infinite;
}
+ @keyframes avatar-fall-in {
+ 0% { transform: translateY(-120%); opacity: 0; }
+ 70% { transform: translateY(8%); opacity: 1; }
+ 100% { transform: translateY(0); opacity: 1; }
+ }
+ .avatar-fall-in {
+ animation: avatar-fall-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
+ }
@media (prefers-reduced-motion: reduce) {
.avatar-bob { animation: none; }
+ .avatar-fall-in { animation: none; }
}
</style>
diff --git a/home.html b/home.html
index c45eb2dac..b45f4059f 100644
--- a/home.html
+++ b/home.html
@@ -142,7 +142,7 @@
<ul class="nav-menu" role="menu" aria-label="Solana">
<li role="none">
<a href="/pumpfun" role="menuitem"
- ><span class="nav-mi-title">Pump.fun launcher</span
+ ><span class="nav-mi-title">Pump.fun stream</span
><span class="nav-mi-sub">Mint agent tokens</span></a
>
</li>
diff --git a/public/features/features.css b/public/features/features.css
index a853f8c97..eae4d4832 100644
--- a/public/features/features.css
+++ b/public/features/features.css
@@ -65,6 +65,12 @@
perspective: var(--features-perspective);
perspective-origin: 50% 0%;
scroll-behavior: smooth;
+ display: flex;
+ flex-direction: column;
+}
+
+.features-parallax-page > .parallax > .h-footer-horizon {
+ margin-top: auto;
}
/* Hide WebKit scrollbar without affecting scroll behavior. */
diff --git a/publish/src/permissions/toolkit.js b/publish/src/permissions/toolkit.js
index ac632234d..1bc346140 100644
--- a/publish/src/permissions/toolkit.js
+++ b/publish/src/permissions/toolkit.js
@@ -165,7 +165,8 @@ export function encodeScopedDelegation({ delegator, delegate, caveats, expiry, c
}));
// Cryptographically random 32-byte salt to prevent replay.
- const salt = BigInt('0x' + Buffer.from(randomBytes(32)).toString('hex'));
+ const saltHex = Array.from(randomBytes(32), (b) => b.toString(16).padStart(2, '0')).join('');
+ const salt = BigInt('0x' + saltHex);
return {
delegate: delegateAddr,
diff --git a/src/agent-solana-wallet.js b/src/agent-solana-wallet.js
index 9758f33b2..ed5e9cce1 100644
--- a/src/agent-solana-wallet.js
+++ b/src/agent-solana-wallet.js
@@ -15,7 +15,6 @@
* Existing wallets are non-destructive: a "Replace" button calls DELETE first.
*/
-import { openVanityModal } from './erc8004/vanity-modal.js';
import { grindVanity } from './solana/vanity/grinder.js';
const ENDPOINT = (id, qs = '') =>
@@ -419,19 +418,15 @@ export function mountAgentSolanaWalletCard({ panel, identity, onProvisioned }) {
root.innerHTML = `
<h3>Solana wallet</h3>
- <p class="sub">Provision a wallet for this agent. Optionally pick a vanity prefix.</p>
+ <p class="sub">Provision a wallet for this agent.</p>
<div class="row">
- <button class="primary" data-act="vanity" ${state.busy ? 'disabled' : ''}>
- ${state.busy ? 'Working…' : 'Choose vanity prefix'}
+ <button class="primary" data-act="random" ${state.busy ? 'disabled' : ''}>
+ ${state.busy ? 'Working…' : 'Generate wallet'}
</button>
- <button data-act="random" ${state.busy ? 'disabled' : ''}>Random</button>
</div>
- ${state.progress ? `<div class="progress">grinding… ${_esc(formatRate(state.progress.rate))}/s · eta ${_esc(state.progress.eta)} <button data-act="cancel">cancel</button></div>` : ''}
${state.err ? `<div class="err">${_esc(state.err)}</div>` : ''}
`;
- root.querySelector('[data-act="vanity"]')?.addEventListener('click', onVanity);
root.querySelector('[data-act="random"]')?.addEventListener('click', onRandom);
- root.querySelector('[data-act="cancel"]')?.addEventListener('click', () => abort?.abort());
}
async function onRandom() {
@@ -453,43 +448,6 @@ export function mountAgentSolanaWalletCard({ panel, identity, onProvisioned }) {
}
}
- async function onVanity() {
- const choice = await openVanityModal({
- agentName: identity.name || '',
- initial: state.vanityPrefix || '',
- });
- if (choice == null || choice === '') return; // dismissed or "skip"
-
- const prefix = typeof choice === 'string' ? choice : choice.prefix;
- const preGround = typeof choice === 'object' ? choice.secretKey : null;
-
- state.busy = true; state.err = null; state.progress = null; render();
- abort = new AbortController();
- try {
- const data = await provisionAgentSolanaWallet({
- agentId: identity.id,
- vanityPrefix: prefix,
- preGround,
- signal: abort.signal,
- onProgress: (p) => { state.progress = p; render(); },
- });
- state.address = data.address;
- state.vanityPrefix = data.vanity_prefix || prefix || null;
- state.source = data.source || 'imported_vanity';
- state.lamports = data.lamports ?? 0;
- state.sol = data.sol ?? 0;
- state.progress = null;
- _propagate(identity, data);
- onProvisioned?.(data);
- refreshBalance();
- } catch (e) {
- state.err = e.name === 'AbortError' ? 'cancelled' : e.message;
- state.progress = null;
- } finally {
- state.busy = false; abort = null; render();
- }
- }
-
async function onReplace() {
if (!confirm('Replace the existing Solana wallet? The old key will be discarded — funds will be lost if not transferred first.')) return;
state.busy = true; state.err = null; render();
diff --git a/src/permissions/toolkit.js b/src/permissions/toolkit.js
index ac632234d..1bc346140 100644
--- a/src/permissions/toolkit.js
+++ b/src/permissions/toolkit.js
@@ -165,7 +165,8 @@ export function encodeScopedDelegation({ delegator, delegate, caveats, expiry, c
}));
// Cryptographically random 32-byte salt to prevent replay.
- const salt = BigInt('0x' + Buffer.from(randomBytes(32)).toString('hex'));
+ const saltHex = Array.from(randomBytes(32), (b) => b.toString(16).padStart(2, '0')).join('');
+ const salt = BigInt('0x' + saltHex);
return {
delegate: delegateAddr,