Server-side simulation runtime: SimulationRunner owns one real WASM engine and its 20 Hz tick loop, applying commands (loadScenario, play/pause/reset, actuators, environment) and producing snapshots. attachRunnerToPort bridges it to a worker_thread port; the thread entrypoint lives in simulation-worker.entry.ts. Adds vitest to apps/api. Task: task_03. Tests: 12 passing (real engine + MessageChannel bridge), coverage 98.6% stmts / 89.5% branches. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
71 lines
1.0 KiB
Plaintext
71 lines
1.0 KiB
Plaintext
# Reference docs (legacy project — internal only)
|
|
.docs/
|
|
|
|
# Spec files (working documents — not repo artifacts)
|
|
.specs/
|
|
|
|
# Doxygen output
|
|
docs/api/
|
|
|
|
# Build
|
|
build/
|
|
build-*/
|
|
build_*/
|
|
cmake-build-*/
|
|
*.o
|
|
*.a
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
|
|
# CMake
|
|
CMakeCache.txt
|
|
CMakeFiles/
|
|
cmake_install.cmake
|
|
Makefile
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.xcodeproj/
|
|
*.xcworkspace/
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
.claude/
|
|
.discussions/
|
|
|
|
# Node / pnpm / Turborepo
|
|
node_modules/
|
|
.turbo/
|
|
*.tsbuildinfo
|
|
dist/
|
|
*.profraw
|
|
apps/web/coverage/
|
|
apps/web/test-results/
|
|
test-results/
|
|
|
|
# SQLite runtime database
|
|
apps/api/*.db
|
|
apps/api/*.db-shm
|
|
apps/api/*.db-wal
|
|
|
|
# Test coverage output
|
|
packages/types/coverage/
|
|
packages/wasm/coverage/
|
|
apps/api/coverage/
|
|
|
|
# Ad-hoc data files
|
|
current.json
|
|
|
|
# WASM build artifacts (generated by `pnpm build:wasm`; CI/devs build locally)
|
|
apps/web/public/wasm/*.js
|
|
apps/web/public/wasm/*.wasm
|
|
core/.wasm-stage/
|
|
core/build-wasm/
|
|
|
|
# 3D meshes (generated by apps/web/scripts/build-3d-assets.sh from local source packs)
|
|
apps/web/public/assets/3d/**/*.glb
|