60c66fd731
- sg (the browser's console): the project, tool, hint, open window, selection, errors and bodies in one look; pick things by name; list and run what's offered; read and set the open window's rows (slots, numbers, choices, toggles); give a waiting slot a face or edge; Done / Cancel; wait for the engine; each body's health; open a project. sg.help() lists it. - npm run check <project>: rebuilds it step by step and says what each step made, changed or took away, its error, and how sound each body is. - npm run render <project> <out.png>: a shaded picture with edges from any side, drawn without a browser. - tests/kit.ts: the engine started once, check / done, and quick sketches, shapes and steps (wrap.test.ts uses it). - version.json on the site: the commit it was built from; npm run live says whether main is live (--wait until it is). - The engine measures each body's health on request (valid, closed, solids, faces, volume, box). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
646 B
Plaintext
28 lines
646 B
Plaintext
# Cache rules for Cloudflare (copied into dist/ by the build).
|
|
#
|
|
# The page itself must always be fresh, so a push shows up right away.
|
|
# Everything in /assets/ has a content hash in its file name: a new build
|
|
# gets new names, so browsers may keep those files forever (fast repeat visits,
|
|
# and the 23 MB geometry engine is downloaded once).
|
|
|
|
/
|
|
Cache-Control: no-cache
|
|
|
|
/index.html
|
|
Cache-Control: no-cache
|
|
|
|
/manifest.webmanifest
|
|
Cache-Control: no-cache
|
|
|
|
/assets/*
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/sw.js
|
|
Cache-Control: no-cache
|
|
|
|
/offline-files.json
|
|
Cache-Control: no-cache
|
|
|
|
/version.json
|
|
Cache-Control: no-cache
|