Add game UI panels, keyboard shortcuts, docs narrative overhaul, and unified dev script

- Add MiniStarMap, NpcMarketPanel, ShipStatusPanel, useKeyboardShortcuts
- Add progress bars for approach/mining operations and cargo fill indicator
- Rewrite docs from spreadsheet-first to exploration-first open-world RPG
- Replace dev:db + dev:standalone with unified dev script (scripts/dev.sh)
- Add Vite chunk splitting for three.js and spacetimedb
- Fix displayName dependency in useSpacetimeConnection
- Remove stale usePlayerSession.ts
- Add AGENTS.md files across all packages
This commit is contained in:
2026-06-02 17:32:15 -04:00
parent be8967d5fe
commit 7c93b8a1ae
40 changed files with 2263 additions and 266 deletions

16
apps/AGENTS.md Normal file
View File

@@ -0,0 +1,16 @@
# apps/ — Application Packages
Three Vite + React apps, each independently buildable and dev-serveable.
| App | Port | Package | Description |
|-----|------|---------|-------------|
| `docs` | 5173 | `@void-nav/docs` | Living design docs, 16 doc pages, 14 interactive demos, game-slice prototype |
| `game` | 5175 | `@void-nav/game` | Playable game client connected to SpacetimeDB backend |
| `site` | 5174 | `@void-nav/site` | Public landing page / marketing site |
## Shared
- All use Tailwind CSS v4 and `@void-nav/ui` for shared primitives
- All use Vite 7 as build tool
- All use React 18 with TypeScript 5.8
- `docs` and `game` also use Three.js + React Three Fiber for 3D scenes