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.

585 B
Raw Blame
import type { WorkflowExtension } from './mockExtensions'

/**
 * Scene is model-only and must be the node's single `input` (never inside
 * `inputs`). Mirrors assertSupportedSceneNodeShape on the install side.
 */
export function hasUnsupportedSceneShape(ext: Pick<WorkflowExtension, 'type' | 'input' | 'inputs' | 'output'>): boolean {
  const usesSceneInput = ext.input === 'scene' || ext.inputs?.includes('scene') === true
  if (ext.type === 'process') return usesSceneInput || ext.output === 'scene'
  return usesSceneInput && (ext.inputs !== undefined || ext.input !== 'scene')
}