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(skills): update API query parameters for skill loading and sorting

nirholas345be1db1478
diff --git a/chat/src/SkillsMarketplaceModal.svelte b/chat/src/SkillsMarketplaceModal.svelte
index fba86ff06..a56da0183 100644
--- a/chat/src/SkillsMarketplaceModal.svelte
+++ b/chat/src/SkillsMarketplaceModal.svelte
@@ -123,7 +123,7 @@
loading = true;
try {
const p = new URLSearchParams();
- if (debouncedSearch) p.set('search', debouncedSearch);
+ if (debouncedSearch) p.set('q', debouncedSearch);
const catSlug = categorySlug(selectedCategory);
if (catSlug) p.set('category', catSlug);
if (sort) p.set('sort', sort);
@@ -132,8 +132,8 @@
if (!res.ok) throw new Error('Failed to load skills');
const data = await res.json();
skills = reset ? (data.skills || []) : [...skills, ...(data.skills || [])];
- page = data.nextCursor || null;
- hasMore = !!data.hasMore;
+ page = data.next_cursor || null;
+ hasMore = !!data.next_cursor;
} catch (e) {
notify(e.message, 'error');
} finally {
@@ -536,7 +536,7 @@
class="rounded-lg border border-slate-200 bg-white px-2 py-1.5 text-[12px] text-slate-600 outline-none focus:border-indigo-400"
>
<option value="popular">Popular</option>
- <option value="newest">Newest</option>
+ <option value="new">Newest</option>
<option value="az">A-Z</option>
</select>
</div>
diff --git a/scripts/test-pages.mjs b/scripts/test-pages.mjs
index 8f67021bd..570def6e2 100644
--- a/scripts/test-pages.mjs
+++ b/scripts/test-pages.mjs
@@ -9,38 +9,82 @@ const BASE = `http://localhost:${PORT}`;
// Routes to visit. Some need params (template pages) — pass a placeholder
// agent id so they can boot.
const SAMPLE_AGENT = '0xdeadbeef';
+const SAMPLE_SOL_ASSET = 'So11111111111111111111111111111111111111112';
+const SAMPLE_USER = 'alice';
const ROUTES = [
+ // Top-level marketing / landing
'/',
- '/app',
'/home',
+ '/app',
'/create',
- '/profile',
+ '/features',
'/login',
+ '/register',
+ '/forgot-password',
+ '/reset-password',
+ '/profile',
+
+ // Agent / template pages
`/agent/${SAMPLE_AGENT}`,
`/agent/${SAMPLE_AGENT}/edit`,
`/agent/${SAMPLE_AGENT}/embed`,
+ `/a/1/${SAMPLE_AGENT}/edit`,
+ `/a/1/${SAMPLE_AGENT}/embed`,
+ `/a/sol/${SAMPLE_SOL_ASSET}`,
+ `/u/${SAMPLE_USER}`,
+ '/agent-passport.html',
+ '/agent-badge.html',
+
+ // Discover / marketplace
'/agents',
+ '/marketplace',
+ '/my-agents',
+ '/discover',
+ '/explore',
+
+ // Dashboard
'/dashboard',
+ '/dashboard/actions',
+ '/dashboard/sessions',
+ '/dashboard/usage',
+ '/dashboard/wallets',
+ '/dashboard/storage',
+ '/dashboard/embed-policy',
+ '/dashboard/agent-pumpfun',
+
+ // Studio / widgets / docs
'/studio',
'/widgets',
'/docs',
'/docs/widgets',
+
+ // Other product pages
'/cz',
'/validation',
'/hydrate',
- '/my-agents',
- '/discover',
- '/explore',
- '/features',
- '/embed.html?src=/avatars/cz.glb',
`/reputation/?agent=1:${SAMPLE_AGENT}`,
+ '/settings',
+ '/admin',
+ '/chat',
+ '/pumpfun',
+ '/strategy-lab',
+
+ // Legal
+ '/legal/privacy',
+ '/legal/tos',
+
+ // Standalone HTML viewers / artifacts
+ '/embed.html?src=/avatars/cz.glb',
'/embed-test.html',
'/avatar-page.html',
+ `/avatars/${SAMPLE_AGENT}`,
'/avatar-artifact.html',
'/agent-embed.html',
'/a-edit.html',
'/a-embed.html',
- '/strategy-lab.html',
+ '/artifact-example.html',
+ '/first-meet/',
+ '/lobehub/iframe/',
];
// Dev-only failure patterns to ignore (CDN URLs, third-party CORS, etc).