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(keys): accept the herald:announce scope on /api/keys and the dashboard key form
nirholasceb354786396
diff --git a/api/keys/index.js b/api/keys/index.jsindex 7ce2e3f17..e81496b3d 100644--- a/api/keys/index.js+++ b/api/keys/index.js@@ -12,7 +12,7 @@ import { limits } from '../_lib/rate-limit.js';import { parse } from '../_lib/validate.js';import { z } from 'zod';-const ALLOWED_SCOPES = new Set(['avatars:read', 'avatars:write', 'avatars:delete', 'profile', 'memory:read', 'memory:write', 'agents:read', 'agents:write']);+const ALLOWED_SCOPES = new Set(['avatars:read', 'avatars:write', 'avatars:delete', 'profile', 'memory:read', 'memory:write', 'agents:read', 'agents:write', 'herald:announce']);const createSchema = z.object({name: z.string().trim().min(1).max(80),diff --git a/docs/developer-platform.md b/docs/developer-platform.mdindex 4e3b8555c..aa9f1e6f6 100644--- a/docs/developer-platform.md+++ b/docs/developer-platform.md@@ -62,6 +62,11 @@ endpoints that accept `Authorization: Bearer` (see the`avatars:read`, `avatars:write`, `avatars:delete`, `profile`, `memory:read`,`memory:write`, `agents:read`, `agents:write`+One more scope, `herald:announce` (posting through the+[Herald](./herald.md)), is accepted by `/api/keys`, the dashboard form, and the+older `POST /api/api-keys` route documented in+[Authentication](./authentication.md#available-scopes).+Keys are stored as a SHA-256 hash. The plaintext secret is returned **exactlyonce**, in the create response. Only the 12-character prefix is kept fordisplay.diff --git a/src/dashboard-next/pages/api.js b/src/dashboard-next/pages/api.jsindex d8690f8e5..2dc970b62 100644--- a/src/dashboard-next/pages/api.js+++ b/src/dashboard-next/pages/api.js@@ -33,6 +33,7 @@ const SCOPES = [{ value: 'memory:write', label: 'memory:write', note: 'Store and forget agent memories' },{ value: 'agents:read', label: 'agents:read', note: 'Read your agents and their identities' },{ value: 'agents:write', label: 'agents:write', note: 'Create, update, and register agents' },+ { value: 'herald:announce', label: 'herald:announce', note: 'Post announcements through the Herald' },];const EXPIRY_OPTIONS = [