diff --git a/.gitignore b/.gitignore index f22387e94..133804a24 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ node_modules .vercel /.svelte-kit /build +/build-base # OS .DS_Store @@ -32,6 +33,7 @@ static/version.json # 48 F3: generated by vite.config.ts's thirdPartyNotices (dev); a build emits its own static/third-party-notices.html static/third-party-notices.json +static/third-party-notices.txt # Cloud plugin dev artifact — copied in by the cloud repo's link-to-app vstask; the OSS # app is inert without it, so it must never be committed here. diff --git a/CHANGELOG.md b/CHANGELOG.md index d4757321c..4c1e3dfb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,39 @@ rendering, so maintainer notes stay out of the user-facing window. No emoji from 1.64 on (owner rule: no emoji in the UI); the app strips them from older entries. --> +## 1.88.0 — Claude works the editors like you do + +### Node editors and the HUD +- **Claude works the node editors like you do**: an AI app (Claude) can unplug a wire, move and tidy the cards, mute, collapse and group nodes and add notes in the Node editor and the Shader editor; put breakpoints on nodes and step through your game in your own Debugger (only on your screen, only while you play); and in the HUD it reads each element's style, lines elements up, duplicates them and shows you the ones it means in your HUD Editor. Everyone in the session sees each change, and one Undo takes a whole step back. + +### Materials and faces +- Claude can copy a whole material from one object to another in one step: every slot, the textures and their tiling. When the material is shared with copies, the answer says how many objects changed. +- Ask for texture sizes in metres: "bricks 30 cm tall", "floor tiles half a metre". Claude works out the tiling, and every answer says how big one repeat is. +- "Put the front of the table on the same wood as its top" moves those faces onto the existing wood slot, and Claude can tell you which faces each material slot covers. Top, bottom, front, back, left and right are the object's own sides. + +### Testing your game +- **Claude can test your game**: it starts and stops Play on your own screen (Play here too, never in VR) and puts your editor view back after; while you play it presses a HUD button, sets a slider, toggle, dropdown or tabs, or clicks an object as a player, and tells you which nodes fired. A press counts for everyone in the session, like your own. +- If you pressed Play yourself, Claude stops it only when you ask. + +### Layouts and windows +- Claude can arrange your whole layout in one step (dock, sidebars, splits, tabs, sizes) and put it back with one Back, manage your saved layouts, maximize floating windows, open the Inspector at a section or filter it, and offers you a button for pop-out windows and full screen (the browser needs your click). +- Applying a layout while the Code editor has unsaved tabs now asks you first. + +### Permissions +- Two new permissions, each asked on its own the first time: **Start and stop Play for me** and **Press game buttons for me**. Both are listed in **Settings ▸ Privacy** with Revoke; an "Allow everything" answer from an earlier version does not cover them. + +### Licences +- Every exported game now carries LICENSES.txt (the engine's MIT licence and the third-party notices) beside CREDITS.txt, and its README says: your game belongs to you; the engine inside is MIT. A new TRADEMARKS.md says the code is MIT and the name, logo and app icons are not; CONTRIBUTING says how contributions (AI-assisted too) are licensed. The copyright line is now 2024-2026 AlexZ005 and contributors. + +### Fixes +- Moving every face of a multi-material object back onto its first material (in the UV editor, or by Claude) now actually happens, on your screen and everyone else's; before, nothing changed. + +### For AI agents and developers +- **Agent contract 1.17.0** (additive, nothing renamed): person tools `flow_debug`, `select_hud`, `play_mode` and `press_game` (the connector's `run {debug, play, press}` and `hud {select}`); `update_flow_nodes` disconnect / move / tidy / group / ungroup / muted / collapsed and note nodes; `list_scene {flow, positions}`; `edit_shader` disconnect / move / tidy; `get_material {positions}` and each slot's faces; `edit_hud` duplicate / arrange and `list_hud` styles; `set_material {from}`, faces by `slot` and by direction; `set_uv {tileSize}` and `tileMetres` in every material answer; `show` arrange, layout list / delete, floating maximize, pop-out, full screen and Inspector sections. The connector lists 37 tools (122 KB). + +### Compatibility +- **Scene files**: no format change. **Sessions**: no new message. + ## 1.87.0 — Claude changes anything by name ### Every setting, by its Inspector name diff --git a/CLAUDE-index.md b/CLAUDE-index.md index 3e1c32200..80ee05ee6 100644 --- a/CLAUDE-index.md +++ b/CLAUDE-index.md @@ -2,7 +2,7 @@ Generated by `node scripts/claude-index.cjs` (never edit; on a merge conflict, run it again). Grep this file for a word, then read CLAUDE.md from that line (`Read CLAUDE.md offset= limit=60`). -7690 lines indexed. +7872 lines indexed. 1 # CLAUDE.md — theprototype.app @@ -133,539 +133,548 @@ Grep this file for a word, then read CLAUDE.md from that line (`Read CLAUDE.md o 2901 - 107b H1 — HISTORY AND CHANGES 2925 - 107b T1 (107b-timeline) — THE TIMELINE, CLIPS AND KEYS BY TOOL; A .TPANIM OPENS. 2948 - 107b K1 (107b-rig) — RIG MOTION BY TOOL. - 2959 - 107b-int-1 (1.87.0) — THE WAVE'S UNION RULES. - 2978 - ROADMAP 72 (72-materials) — MATERIAL MAP SLOTS (LK1) AND LOOK ANIMATION IN GLB (LK4). - 2993 - ROADMAP 59 (59-replace + 59-int) — REPLACE MODEL FROM A FILE. - 3002 - ROADMAP 59 (59-hub) — TOOLS & CONNECTIONS, FEATURE STATUS, SKIES OFF THE BUNDLE. - 3022 - ROADMAP 78 F4 + F9 (78-path) — THE PATH OBJECT. - 3052 - ROADMAP 93 (78-93-levels, 1.64 via 78-int) — LEVELS AND PROGRESS. - 3077 - ROADMAP 78 F26 + F27 + PL42 (built in 78-int, 1.64). - 3095 - ROADMAP 61 G1/G5-G8/G10 (61-nav) — ENEMIES THAT WALK. - 3109 - ROADMAP 95 SHARE A MOMENT (SM1-SM3). - 3130 - 102b-SOUND — SOUND IN VIDEOS AND MOMENTS; TRIM AND FADE A SOUND. - 3154 - SHADOW QUALITY AS SCENE DATA (106) + 2959 - 107b N1 (107b-nodes) — THE NODE EDITORS' HAND ACTIONS BY TOOL. + 2982 - 107b P1 (107b-play) — PLAY AND TEST INPUT BY TOOL. + 3003 - 107b L1 (107b-layout) — LAYOUTS AND DOCKING BY TOOL + 3022 - 107b S1 (107b-small) — THE SMALL VOICE ASKS BY TOOL. + 3048 - 107b R1 (107b-perf) — PERFORMANCE BY TOOL. + 3070 - 107b F1 (107b-files) — FILES ROUND 2 BY TOOL. + 3097 - 107b-int-1 (1.87.0) — THE WAVE'S UNION RULES. + 3116 - 107b-int-2 (1.88.0) — WAVE 2'S UNION RULES. + 3127 - ROADMAP 108 A1 (108-assistant) — HAND A TASK TO THE PERSON'S OWN ASSISTANT. + 3152 - ROADMAP 109 (109-licence) — LICENCE AND TRADEMARK HYGIENE. + 3160 - ROADMAP 72 (72-materials) — MATERIAL MAP SLOTS (LK1) AND LOOK ANIMATION IN GLB (LK4). + 3175 - ROADMAP 59 (59-replace + 59-int) — REPLACE MODEL FROM A FILE. + 3184 - ROADMAP 59 (59-hub) — TOOLS & CONNECTIONS, FEATURE STATUS, SKIES OFF THE BUNDLE. + 3204 - ROADMAP 78 F4 + F9 (78-path) — THE PATH OBJECT. + 3234 - ROADMAP 93 (78-93-levels, 1.64 via 78-int) — LEVELS AND PROGRESS. + 3259 - ROADMAP 78 F26 + F27 + PL42 (built in 78-int, 1.64). + 3277 - ROADMAP 61 G1/G5-G8/G10 (61-nav) — ENEMIES THAT WALK. + 3291 - ROADMAP 95 SHARE A MOMENT (SM1-SM3). + 3312 - 102b-SOUND — SOUND IN VIDEOS AND MOMENTS; TRIM AND FADE A SOUND. + 3336 - SHADOW QUALITY AS SCENE DATA (106) - 3181 ## UI design system (redesign epic) - 3183 - All UI follows the redesign spec kept in the `cloud` repo: `docs/design/redesign/SPEC.md` - 3186 - Build UI only from `src/components/ui` primitives (WindowChrome, Tabs, Segmented, Chips, - 3189 - Colours, radii, spacing and type come from the semantic tokens in `app.css` only — no raw - 3191 - Every icon goes through `ui/Icon.svelte` (sizes 16 or 20 only; custom glyphs as `tool:`; enforced by … - 3192 - A redesign change must not alter behaviour: DragRow scrubbing, modifiers, click-to-type, + 3363 ## UI design system (redesign epic) + 3365 - All UI follows the redesign spec kept in the `cloud` repo: `docs/design/redesign/SPEC.md` + 3368 - Build UI only from `src/components/ui` primitives (WindowChrome, Tabs, Segmented, Chips, + 3371 - Colours, radii, spacing and type come from the semantic tokens in `app.css` only — no raw + 3373 - Every icon goes through `ui/Icon.svelte` (sizes 16 or 20 only; custom glyphs as `tool:`; enforced by … + 3374 - A redesign change must not alter behaviour: DragRow scrubbing, modifiers, click-to-type, - 3196 ## Replication golden rules + 3378 ## Replication golden rules - 3296 ## Hard-won gotchas (do not rediscover) - 3298 - **THE BUILD'S FILE COUNT IS A PRODUCT LIMIT, AND ROLLDOWN'S DEFAULT SPLIT BLOWS IT (fix-export-files, - 3318 - SVELTEKIT 3 SHALLOW ENTRIES ARE ASYNC, AND THEIR STATE IS A STRING (sk3). - 3329 - RAPIER'S KinematicCharacterController COLLIDES WITH SENSORS unless the query passes `EXCLUDE_SENSORS` - 3333 - HEADLESS GPU SCREENSHOTS ON THIS MACHINE (ANGLE/Vulkan, RADV) CAN MISS TEXTURED KIT MESHES - 3336 - A LEVEL WITH NO DYNAMIC BODY STARTS NO SIMULATION, so its walker collides with nothing - 3338 - A sliced load changes what "right after" means. - 3341 - A two-page "in phase" check must compare CLOCKS, not poses - 3344 - A HEADSET'S EYE BUFFER IS NEVER LOWERED - 3348 - AN INSTALLED USER MODULE NEVER UPDATES ITSELF. - 3352 - A VITE STARTED INSIDE `e2e-slot` INHERITS FDS 8/9 AND HOLDS BOTH MACHINE-WIDE E2E LOCKS - 3355 - A LEGACY-MODE TEMPLATE CALL `fn(x)` IS UNTRACKED BEYOND ITS ARGUMENTS - 3358 - A `$state` (deep) PROXY OVER THREE OBJECTS IS A PER-FRAME COST - 3361 - `a ?? b + '/'` IS `a ?? (b + '/')` - 3364 - **HELPER_LAYER MUST NEVER BE 1 OR 2: three's WebXRManager gives the LEFT eye layer 1 and the - 3368 - three's `Euler.toArray()` IS `[x, y, z, 'XYZ']` - 3372 - A BLANKET SHAPE RENAME HITS EVERY KEY OF THAT SHAPE. - 3376 - A rapier collider with no body is FIXED AND SOLID. - 3381 - A THIRD SOFTWARE-GL PAGE BOOTS PAST setupPage's 30 s ON THE 1.17 UNION - 3386 - An ADDITIVE burst vanishes against a bright sky - 3389 - A module effect/click on a Quest cannot rely on the DOM HUD - 3392 - Known, not fixed (30c pack lanes): - 3396 - `TubeGeometry` HANDED A 2D `Shape` BUILDS EVERY VERTEX AS NaN - 3401 - A rAF TIMESTAMP IS THE FRAME'S START, WHICH CAN PRECEDE THE CALL THAT SCHEDULED IT. - 3406 - A HUD TEXT BOX IS A FLEX ROW, SO `text-align` ALONE NEVER CENTRED A SINGLE LINE. - 3410 - A perRound LATCH READS UN-SET THE INSTANT THE ROUND ENDS - 3413 - PARTICLE EMITTERS ARE COUNTED PER PAIR - 3416 - `--use-angle=gl` IS SWIFTSHADER ON LINUX. - 3419 - **EVERY TOP-LEVEL OBJECT IN objectsGroup BECOMES A FIXED PHYSICS BODY, and a decoration GROUP's - 3422 - DESKTOP PLAY SPAWNS AT Scene.svelte's FIXED `` - 3424 - THE EDITOR GRID DRAWS AT y = 0 - 3427 - A FLAT GROUND DISC ENDS IN A BAND, NOT A HORIZON - 3430 - THREE LANES NUMBERING ONE LIST FROM THE SAME BASE COLLIDE. - 3433 - jsDelivr PARSES `@v2` AS A SEMVER VERSION, AND A VERSION IS NEVER RE-RESOLVED. - 3442 · 29f CLOSED IT BY MEASUREMENT - 3456 - A jsDelivr BRANCH ref is `max-age=604800` IN THE BROWSER - 3463 - flowbite-svelte's `Button` FREEZES its class string at mount. - 3472 - An INVALIDATION KEY must name the thing whose change should invalidate. - 3478 - TWO LANES CAN EACH BE CORRECT AND COMPOSE WRONG — the enumerated-roots edition. - 3486 - A guard that saves INTO a store the guarded action then WIPES is a lie. - 3494 - A movement keydown guard must include ALT. - 3499 - e2e: the runner kills a suite at 8 minutes - 3508 - SessionsManager test hooks - 3516 - Vite watches `tests/` - 3522 - **A mount SAVE is several awaits long, so an edit made DURING one is not in the bytes - 3527 - ConfirmModal RESTORES FOCUS AFTER the thing you open next mounts. - 3532 - A SUITE THAT PASSES WITH SECONDS OF HEADROOM AGAINST THE 480s RUNNER CAP IS A COIN. - 3536 - CONSENT MUST BE RECORDED BEFORE THE WRITE THAT PUBLISHES IT. - 3542 - **A HASH IN `currentLevel` MEANS "THESE ARE THE BYTES I LOADED", and adoption must not - 3550 - A RE-SYNC REQUEST IS NOT A JOIN, and the receiver cannot tell unless it is told. - 3556 - FORK 3'S CARRY SEMANTICS MAKE A PULLED gameState ALWAYS LOSE. - 3562 - **WHEN A FLEX ROW OVERFLOWS, WHAT FALLS OFF THE END IS WHATEVER IS LAST IN THE MARKUP — - 3573 - A GROUPED WINDOW IS PLACED BY ITS GROUP, AND `dragWindow` HAS TO BE TOLD. - 3588 - ZERO IS NOT A WIDTH. - 3593 - A TAB GROUP'S MINIMUM IS THE WORST CASE ACROSS ITS MEMBERS, not a constant. - 3600 - A GATE THAT DISABLES THE GESTURE THAT WOULD UNDO ITS OWN STATE STRANDS THE USER. - 3606 - **A COUNTER THAT GAINS A DIGIT MOVES EVERYTHING AFTER IT, and `tabular-nums` alone does - 3613 - **A FRAME -> SECONDS -> FRAME ROUND TRIP IS NOT THE IDENTITY, and the first casualty is - 3624 - **DUPLICATE DOM ids ACROSS COMPONENT INSTANCES ARE HARMLESS UNTIL A `