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.

feat(publish): add user authentication check before publishing a skill

nirholasffee6eef1b1c
diff --git a/chat/src/SkillsMarketplaceModal.svelte b/chat/src/SkillsMarketplaceModal.svelte
index 51e2076d6..7b5a486f6 100644
--- a/chat/src/SkillsMarketplaceModal.svelte
+++ b/chat/src/SkillsMarketplaceModal.svelte
@@ -309,6 +309,7 @@
}
async function publishSkill() {
+ if (!$currentUser) { publishError = 'Sign in to publish a skill'; return; }
publishError = null;
validateSchema();
if (!schemaValid) {
diff --git a/chat/src/manus/flows/UtilityFlows.svelte b/chat/src/manus/flows/UtilityFlows.svelte
index 55323660c..5ddcca2c4 100644
--- a/chat/src/manus/flows/UtilityFlows.svelte
+++ b/chat/src/manus/flows/UtilityFlows.svelte
@@ -9,6 +9,12 @@
videoPrompts,
audioPrompts,
playbookPrompts,
+ gemsPrompts,
+ trackPrompts,
+ portfolioPrompts,
+ rugcheckPrompts,
+ chart3dPrompts,
+ scene3dPrompts,
} from './utilityFlowData.js';
</script>
@@ -30,4 +36,16 @@
</p>
{:else if $mode === 'playbook'}
<SamplePromptGrid title="Playbook examples" prompts={playbookPrompts} />
+{:else if $mode === 'gems'}
+ <SamplePromptGrid title="Find new gems" prompts={gemsPrompts} />
+{:else if $mode === 'track'}
+ <SamplePromptGrid title="Track a token" prompts={trackPrompts} />
+{:else if $mode === 'portfolio'}
+ <SamplePromptGrid title="Portfolio examples" prompts={portfolioPrompts} />
+{:else if $mode === 'rugcheck'}
+ <SamplePromptGrid title="Rug check examples" prompts={rugcheckPrompts} />
+{:else if $mode === 'chart3d'}
+ <SamplePromptGrid title="3D chart examples" prompts={chart3dPrompts} />
+{:else if $mode === 'scene3d'}
+ <SamplePromptGrid title="3D scene examples" prompts={scene3dPrompts} />
{/if}
diff --git a/chat/src/manus/flows/utilityFlowData.js b/chat/src/manus/flows/utilityFlowData.js
index 89c684bd3..542f9f47a 100644
--- a/chat/src/manus/flows/utilityFlowData.js
+++ b/chat/src/manus/flows/utilityFlowData.js
@@ -116,3 +116,57 @@ export const playbookPrompts = [
'Audit GitHub repos for missing CI on default branch',
'End-of-quarter portfolio review for a VC firm',
];
+
+export const gemsPrompts = [
+ 'What are the top 10 trending tokens on pump.fun right now?',
+ 'Show me the king of the hill token and analyze its bonding curve',
+ 'Find tokens launched in the last hour with growing volume',
+ 'Which tokens have KOL wallets buying right now?',
+ 'List new tokens with strong momentum but low market cap',
+ 'Find early gems: high trade velocity, low holder concentration',
+];
+
+export const trackPrompts = [
+ 'Show me a live 3D ticker for SOL with current price and 24h change',
+ 'Track BTC and render a 30-day 3D price chart',
+ 'Get the last 50 trades for pump.fun token [mint address]',
+ 'Show me the bonding curve progress for this token: [mint]',
+ 'What is the current price, volume, and market cap of ETH?',
+ 'Display a 90-day 3D price history for Solana',
+];
+
+export const portfolioPrompts = [
+ 'Show my Solana wallet [address] balances as a 3D coin stack',
+ 'Check my EVM wallet [0x…] and break down each token in USD',
+ 'Visualize my portfolio allocation as a 3D chart',
+ 'What are my top 5 holdings by USD value?',
+ 'Show all my wallet balances across SOL and ETH',
+ 'Check if any of my tokens have rug risk signals',
+];
+
+export const rugcheckPrompts = [
+ 'Rug check this token: [paste mint address]',
+ 'Analyze the holder distribution — is this token concentrated?',
+ 'How much does the dev wallet hold? Any recent dumps?',
+ 'Show me the bonding curve — is it near graduation or stalling?',
+ 'Check for suspicious trading patterns on this token',
+ 'Flag any honeypot signals or locked liquidity issues',
+];
+
+export const chart3dPrompts = [
+ 'Show me a 3D price chart for Bitcoin over the last 30 days',
+ 'Render a 3D bar chart for Ethereum price history this year',
+ 'Display a 90-day 3D chart for Solana',
+ 'Show me a 3D chart for the top trending pump.fun token',
+ 'Compare SOL price history with a 3D 7-day chart',
+ 'Render a 3D price visualization for PEPE over 14 days',
+];
+
+export const scene3dPrompts = [
+ 'Make my avatar wave and say hello to everyone',
+ 'Build a 3D mascot for my token launch',
+ 'Show a 3D flow diagram for this transaction: [signature]',
+ 'Import my NFT [mint] into a 3D orbit viewer',
+ 'Create a token-gated 3D scene for my NFT holders',
+ 'Mint the current 3D scene as a Solana NFT',
+];
diff --git a/publish/src/element.js b/publish/src/element.js
index 09443e4f2..f16ad3079 100644
--- a/publish/src/element.js
+++ b/publish/src/element.js
@@ -17,6 +17,11 @@ import { protocol, ACTION_TYPES } from './agent-protocol.js';
const MODES = ['inline', 'floating', 'section', 'fullscreen'];
+function _parsePx(val) {
+ const n = parseFloat(val);
+ return n > 0 && typeof val === 'string' && val.trim().endsWith('px') ? n : 0;
+}
+
// Derive the origin of the script itself so cross-origin embeds hit the right API.
const _scriptOrigin = (() => {
try {