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.

7.8 KB
Raw Blame

> [email protected] gate
> npm run check:conflicts && npm run check:claude && npm run check:vendored && npm run check:fetch-timeouts && npm run check:tdz-bootstrap && npm run check:event && npm run check:cron-syntax && npm run check:studio-openapi && npm run test:gate && npm run test:gate-3d && npm run audit:mcp && npm run audit:mcp-golden && npm run audit:mcp-safety && npm run audit:mcp-catalog && npm run audit:mcp-listing && npm run audit:routes && npm run audit:handlers && npm run audit:pages && npm run audit:links && npm run audit:docs && npm run audit:upstreams && npm run check:tutorials && npm run audit:hidden-guard && npm run audit:inline-handlers && npm run audit:x402-catalog && npm run audit:tokens && npm run audit:guards && npm run audit:tour-atlas && npm run check:ios-icons && npm run check:macos-icon && npm run check:apple-widget


> [email protected] check:conflicts
> node scripts/check-merge-conflicts.mjs

check:conflicts: no unresolved merge-conflict markers in tracked files

> [email protected] check:claude
> node scripts/check-claude-md.mjs

[check-claude] OK: every script, path, and typography rule in CLAUDE.md matches the repo

> [email protected] check:vendored
> node scripts/check-vendored-workers.mjs

[check-vendored-workers] OK: 27 vendored file copies across 32 workers are byte-identical

> [email protected] check:fetch-timeouts
> node scripts/check-fetch-timeouts.mjs

check:fetch-timeouts: every external fetch, and every fetch under api/, is bounded by a deadline

> [email protected] check:tdz-bootstrap
> node scripts/check-tdz-bootstrap.mjs

check:tdz-bootstrap: no bootstrap-before-state ordering in 1604 browser module(s)

> [email protected] check:event
> node scripts/check-event-window.mjs

[check-event] OK: public/event.json carries the explicit no-event state, so no event is configured (a supported state)

> [email protected] check:cron-syntax
> node scripts/check-cron-drift.mjs --offline

Declared crons in vercel.json: 114
Most frequent:
  every 1m  /api/cron/economy-tick
  every 1m  /api/cron/three-market-refresh
  every 1m  /api/cron/avaturn-seed-cron
  every 1m  /api/cron/flush-usage-events
  every 1m  /api/cron/forge-finalize

All cron expressions are valid (offline mode: live jobs not compared).

> [email protected] check:studio-openapi
> node scripts/sync-studio-openapi.mjs --check

3D Studio OpenAPI in sync: prompts/store-submissions/_generated/openai-actions.yaml matches public/.well-known/3d-studio-openapi.yaml.

> [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  08:17:40
   Duration  5.03s (transform 5.62s, setup 0ms, import 14.07s, tests 3.50s, 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  559 passed (559)
   Start at  08:17:47
   Duration  1.97s (transform 1.03s, setup 0ms, import 2.89s, tests 1.26s, environment 1ms)


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

[audit:mcp] 50 MCP manifests consistent

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

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

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

[audit:mcp-safety] 307 MCP tool annotations verified against handler behavior across 248 files, 6 reviewed exemption(s)

> [email protected] audit:mcp-catalog
> node scripts/build-mcp-catalog.mjs --check

[audit:mcp-catalog] catalog matches source: 307 tools across 40 servers

> [email protected] audit:mcp-listing
> node scripts/build-mcp-listing-source.mjs --check

[mcp-listing-source] up to date: 50 servers (7 remote, 43 stdio)

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

Route verify: 794 catalog pages, 1317 main routes, 1 post-filesystem routes.
  modeled dist files: 2938 · canonical-covered: 794 · literal page routes checked for shadows: 580
  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 (2199 checked)

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

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

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

Link audit: scanned 2256 files

Broken internal links : 0

Stub hrefs (#, void(0)) : 0

Dangling routes (→ missing file) : 0

External links collected : 556
  (run with --external to probe liveness)

Dynamic targets skipped : 1377

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

docs audit: clean (1526 markdown files checked).

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

audit:upstreams: 225 outbound call sites across 79 upstreams (A:0 B:54 C:92 D:79 F:0)
audit:upstreams: no regressions

> [email protected] check:tutorials
> node scripts/sync-tutorial-pages.mjs

manifest entries: 70  markdown files: 70
pages.json: every tutorial is registered

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

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

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

inline-handler audit: clean (2172 files, roots: pages, public, src)

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

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

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

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

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

[audit-guards] OK: 57 guards registered, every stage claim verified (gate:27 build:gcp:5 pre-push:2 manual:26 prebuild:3)

> [email protected] audit:tour-atlas
> node scripts/build-tour-atlas.mjs --check

audit:tour-atlas: 263 stops, all anchored and photographed (35 curated, 228 generic).

> [email protected] check:ios-icons
> node ios/scripts/make-icons.mjs --check

[ios-icons] ok   app icon (1024px)
[ios-icons] ok   splash (2732px)
[ios-icons] ok   splash (dark) (2732px)
[ios-icons] ok   splash (alt) (2732px)

> [email protected] check:macos-icon
> node apple/scripts/make-macos-icon.mjs --check

[macos-icon] ok 10 icons match the brand mark

> [email protected] check:apple-widget
> node scripts/check-apple-widget.mjs

[apple-widget] ok   9 shared sources and 2 widget sources present
[apple-widget] ok   project.pbxproj resolves all 87 object ids
[apple-widget] ok   project.pbxproj braces balance
[apple-widget] ok   every apple/ path in project.pbxproj resolves
[apple-widget] ok   the iOS widget target is wired and embedded
[apple-widget] ok   every shared source is a member of the iOS targets that need it
[apple-widget] ok   the iOS project defines the three Glance build settings on both targets
[apple-widget] ok   the macOS project builds and embeds the same sources
[apple-widget] ok   6 plists carry the keys the widget reads
[apple-widget] ok   the Swift client calls the endpoint with the query the server reads
[apple-widget] ok   the unlinked card sends an Apple device to the Apple hand-off
[apple-widget] ok   the client reads 6 of the 9 headers the server sets
[apple-widget] ok   GlanceState covers all 4 server states
[apple-widget] ok   sizes and scales agree with the server (small, medium, large at 2 and 3x)
[apple-widget] ok   the deep link and the token shape match the server
[apple-widget] 15 checks passed
EXIT=0