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.

2.5 KB
Raw Blame

> [email protected] gate
> npm run test:gate && npm run test:gate-3d && npm run audit:mcp && npm run audit:mcp-golden && npm run audit:routes && npm run audit:handlers && npm run audit:pages && npm run audit:hidden-guard && npm run audit:x402-catalog && npm run audit:tokens


> [email protected] test:gate
> node scripts/test-gate.mjs

[test-gate] running 7 critical-path test files…

 RUN  v4.1.9 /workspaces/three.ws


 Test Files  7 passed (7)
      Tests  86 passed (86)
   Start at  18:13:58
   Duration  2.69s (transform 984ms, setup 0ms, import 2.18s, tests 2.67s, environment 1ms)

[test-gate] ✓ all critical-path tests passed

> [email protected] test:gate-3d
> vitest run tests/glb-canonicalize.test.js tests/animation-retarget.test.js tests/animation-retarget-rest-pollution.test.js tests/viewer-framing.test.js


 RUN  v4.1.9 /workspaces/three.ws


 Test Files  4 passed (4)
      Tests  244 passed (244)
   Start at  18:14:01
   Duration  354ms (transform 186ms, setup 0ms, import 462ms, tests 216ms, environment 0ms)


> [email protected] audit:mcp
> node scripts/audit-mcp-manifests.mjs

[audit:mcp] 16 MCP manifests consistent

> [email protected] audit:mcp-golden
> node scripts/audit-mcp-golden.mjs

[audit:mcp-golden] 236 hosted MCP tool contracts match the golden fixture

> [email protected] audit:routes
> node scripts/verify-routes.mjs

Route verify — 330 catalog pages, 1112 main routes, 1 post-filesystem routes.
  modeled dist files: 1626 · canonical-covered: 330 · literal page routes checked for shadows: 481
  filesystem boundary (handle:filesystem) present: yes

✓ static checks pass: every catalog page reachable, unknown paths → designed 404, no shadowed page routes.

> [email protected] audit:handlers
> node scripts/audit-empty-handlers.mjs

✓ audit-empty-handlers: all API handlers export a body (1759 checked)

> [email protected] audit:pages
> node scripts/audit-page-index.mjs

Route audit: 145 auditable page routes, 330 documented in pages.json.
✓ Every auditable page route is documented.

ℹ 6 manifest page(s) have no `added` date (omitted from /changelog). Fine for legacy pages; add dates as you touch them.

> [email protected] audit:hidden-guard
> node scripts/audit-hidden-guard.mjs

✓ audit-hidden-guard: all 293 pages resolve the [hidden] guard

> [email protected] audit:x402-catalog
> node scripts/audit-x402-catalog.mjs

✓ audit-x402-catalog: all 92 x402 endpoints are documented

> [email protected] audit:tokens
> node scripts/audit-token-drift.mjs

✓ token drift unchanged: 0 hardcoded token-hex(es) (baseline 0).