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.6 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  83 passed (83)
   Start at  07:55:33
   Duration  2.75s (transform 1.56s, setup 0ms, import 3.30s, tests 2.80s, 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  07:55:36
   Duration  386ms (transform 310ms, setup 0ms, import 559ms, tests 219ms, environment 1ms)


> [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] 235 hosted MCP tool contracts match the golden fixture

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

Route verify — 301 catalog pages, 1069 main routes, 1 post-filesystem routes.
  modeled dist files: 1532 · canonical-covered: 301 · literal page routes checked for shadows: 454
  filesystem boundary (handle:filesystem) present: yes

ℹ 1 advisory note(s):
   TRAILSLASH /payments/  → notfound (lands on designed 404)

✓ 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 (1638 checked)

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

Route audit: 142 auditable page routes, 301 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 265 pages resolve the [hidden] guard

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

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

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

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