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
add xspace-agent/packages/core/src/gateway/index.ts
overstepping630e8a8ddbc8
diff --git a/xspace-agent/packages/core/src/gateway/index.ts b/xspace-agent/packages/core/src/gateway/index.tsnew file mode 100644index 000000000..5bc623866--- /dev/null+++ b/xspace-agent/packages/core/src/gateway/index.ts@@ -0,0 +1,72 @@+// SPDX-License-Identifier: Apache-2.0+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§78]++// =============================================================================+// API Gateway — Main exports+// =============================================================================++// Types+export {+ API_SCOPES,+ API_VERSIONS,+ type ApiScope,+ type ApiKeyEnvironment,+ type ParsedApiKey,+ type ApiVersion,+ type VersionStatus,+ type VersionInfo,+ type ApiErrorType,+ type ApiErrorBody,+ type ApiRequestLog,+ type CreateApiKeyRequest,+ type CreateApiKeyResponse,+ type UpdateApiKeyRequest,+ type ApiKeyInfo,+ type RotateApiKeyResponse,+ type AuthenticatedRequest,+ type GatewayConfig,+} from './types'++// API Key Service+export { ApiKeyService } from './api-key-service'++// Errors+export {+ ApiError,+ invalidApiKey,+ missingApiKey,+ expiredApiKey,+ insufficientScope,+ rateLimitExceeded,+ validationError,+ notFoundError,+ conflictError,+ internalError,+} from './errors'++// Middleware+export {+ createAuthMiddleware,+ requireScope,+ createRateLimitMiddleware,+ createVersioningMiddleware,+ createRequestLoggerMiddleware,+ createErrorHandlerMiddleware,+ onRequestLog,+ offRequestLog,+ clearRequestLogHandlers,+ type RequestLogHandler,+} from './middleware'++// Route handlers+export {+ createApiKey,+ listApiKeys,+ getApiKey,+ updateApiKey,+ deleteApiKey,+ rotateApiKey,+ getApiStatus,+} from './routes'++