69e3bced7c
Skip COOP for iframe-embedded requests (fixes CMMS Kiri:Moto/Mesh:Tool postMessage integration)
...
Cross-Origin-Opener-Policy describes a top-level document's opener
relationship and has no defined meaning for a nested document, but
addCorsHeaders() set it unconditionally on every response - including
when this app is loaded inside an iframe by a host like CMMS. That
turned out to silently break postMessage delivery into the frame: a
well-formed same-origin message with a correct explicit targetOrigin
simply never arrived, with zero error anywhere. Confirmed via CMMS's
cam-edit.php/mesh-edit.php integration: worked perfectly visited
directly (top-level), never worked embedded - consistent across
multiple browsers and devices, ruling out a client-side cause.
Both Chrome and Firefox send Sec-Fetch-Dest: iframe on a request for an
embed, so COOP is now skipped only for that case. COEP (what
SharedArrayBuffer actually needs) stays on unconditionally either way,
and a direct top-level visit (this app's other real use, e.g. as an
installable PWA) keeps full cross-origin isolation - no regression to
the working case, fixes the broken one.
2026-08-27 18:44:42 +10:00
Stewart Allen
5ef41da651
add cors headers, explicit local host for proxy
2026-03-01 22:58:17 -05:00
Stewart Allen
9bd0a4974d
add localhost http post proxy support for onshape or other https -> http scenarios
2026-03-01 22:18:12 -05:00
Stewart Allen
913977ec64
updating mesh visuals
...
add document history
2026-02-17 23:49:25 -05:00
Stewart Allen
02fb3cd30d
merge experimental void app
2026-02-14 19:00:48 -05:00
Stewart Allen
4c79aac48f
normalize dolly in/out across browsers
2026-01-10 21:01:20 -05:00
Stewart Allen
3e85a2c8f8
add cors to all /lib paths to make safari happy in dev mode
2026-01-10 20:50:16 -05:00
Stewart Allen
83a8857e7e
tighten arc tolerances. add license to boot image. remove version redirects
2025-12-14 14:04:46 -05:00
Stewart Allen
99503f5072
change electron build context detection, move mods package deps to main package
2025-11-15 17:33:32 -05:00
Stewart Allen
1beb8d7cc0
fix asset append missing module root
2025-11-15 10:47:51 -05:00
Stewart Allen
3d6a974fe8
suppress debug logging in dryrun
2025-11-13 13:18:30 -05:00
Stewart Allen
fc63f395a4
reflow build/serve of alt, update app-server dep for proper fallthrough handling
2025-11-13 11:32:15 -05:00
Stewart Allen
b046ae2fa8
set content-type for appended code bodies
2025-11-13 09:48:45 -05:00
Stewart Allen
f78e392e71
add src/dst bundle inputs, prod bundle config
2025-11-12 00:46:25 -05:00
Stewart Allen
49a63fad04
add radial gpu option (work in progress)
2025-10-31 17:35:26 -04:00
Stewart Allen
1c6a988d27
make bundler more resilient to missing sources
2025-10-14 00:33:36 -04:00
Stewart Allen
5894dcc61c
add bundler load order priority, module bundling with --dryrun
2025-10-13 12:24:23 -04:00
Stewart Allen
3bc0f0cfc2
add more servce worker boot controls
...
disable scarf by default
handle redirect with query
2025-10-13 11:45:14 -04:00
Stewart Allen
98f9082bc3
work in boot/install url using updated service worker
2025-10-11 22:17:42 -04:00
Stewart Allen
9674b50be0
fix jszip for production
2025-07-14 18:15:14 -04:00
Stewart Allen
e12f498afa
avoid redirect when served directly from versioned url
2025-07-13 18:50:14 -04:00
Stewart Allen
a4e687f709
allow app versions to be served with prefixes instead of cookies
2025-07-13 18:47:09 -04:00
Stewart Allen
083e874f26
allow for referer version testing for manifest request which does not receive cookies
2025-07-11 18:00:06 -04:00
Stewart Allen
806fc79eea
improve error handling for netdb create
2025-07-10 22:21:17 -04:00
Stewart Allen
5532cf28e4
add cam origin selector. fix wasm newpoly
2025-07-10 16:54:02 -04:00
Stewart Allen
6a683eec1d
bump threejs version, split webpack scripts
2025-07-09 14:30:46 -04:00
Stewart Allen
e782cc1bba
rename packed kiri devices, clean up package.json scripts
2025-07-09 13:14:00 -04:00
Stewart Allen
43104fa5ac
move src/kiri/* to src/kiri/core and src/kiri-*/ to src/kiri/* and updated all imports
2025-07-09 13:00:52 -04:00
Stewart Allen
3e48baf66f
get frame api working again, add missing build files
2025-07-09 02:05:25 -04:00
Stewart Allen
0022bffc20
move webpack to bin
2025-07-09 01:18:29 -04:00
Stewart Allen
418b5ba6a3
add fallback module code injection, api.beta and api.new endpoint for apps
2025-07-08 22:38:16 -04:00
Stewart Allen
526fbae724
5th times the charm?
2025-07-07 22:54:42 -04:00
Stewart Allen
b608f7bf4c
fix electron builds
2025-07-07 22:29:45 -04:00
Stewart Allen
e72ac11fbe
fix electron build/run
2025-07-07 18:51:17 -04:00
Stewart Allen
11552df76f
renew module work
2025-07-07 13:36:03 -04:00
Stewart Allen
ce4f5d6e78
move src2 -> src, web2 -> web, remove old module system, fix deps
2025-07-06 23:44:33 -04:00
Stewart Allen
7693b3d9ce
fix clip2/earcut deps
2025-07-05 12:41:00 -04:00
Stewart Allen
c1ee342dbb
more fdm slicing work
2025-07-05 00:48:53 -04:00
Stewart Allen
5bf4142355
add missing cors for kiri worker
2025-07-04 22:26:03 -04:00
Stewart Allen
7d22cc1029
checkpoint kiri module migration work
2025-07-04 22:18:18 -04:00
Stewart Allen
b095d7e949
Merge branch 'rel-4.2' into dev-4.2-refactor-module
2025-06-29 13:37:29 -04:00
Stewart Allen
bc0f51cc7b
experimentally load worker into engine as base64 blob payload
2025-06-27 17:25:18 -04:00
Stewart Allen
87137e44d1
add maybe future code for loading workers from blobs
2025-06-27 16:49:04 -04:00
Stewart Allen
2bb5a2399e
fix esbuild warnings
2025-06-25 23:05:13 -04:00
Stewart Allen
10a107e518
use esbuild to package mesh, remove fsave, add prod path overrides for esbuild files in prod server mode
2025-06-23 21:17:01 -04:00
Stewart Allen
6566c45f9a
mesh v2 at /v2/mesh
2025-06-14 01:05:08 -04:00
bakedpotatolord
80d49d8997
remove file extention from device names
2025-05-12 12:46:46 -06:00
Stewart Allen
bfbcf8fabd
remove cross-origin in debug
2025-02-10 20:44:33 -05:00
Stewart Allen
a193784fce
select target in manager after spooling to bambu printer
2025-02-10 19:45:04 -05:00
Stewart Allen
ac8b9c86cb
fix electron build
2025-02-04 16:59:06 -05:00