Spaces:
Sleeping
Sleeping
Commit History
-
fix: detect iframe requests in service worker and skip COOP headers
Modified coi-serviceworker to check Sec-Fetch-Dest header. When the request destination is "iframe", skip adding Cross-Origin-Opener-Policy headers which block iframe embedding. This allows: - Direct access: Full SharedArrayBuffer support with COOP headers - Iframe embedding: Works without COOP (AI uses single-thread mode) Co-Authored-By: Claude <noreply@anthropic.com>a5530bb
-
feat: add coi-serviceworker for SharedArrayBuffer support
Enables cross-origin isolation on client side for ONNX Runtime Web multi-threading support without requiring server-side COOP/COEP headers. This fixes VS AI mode which requires SharedArrayBuffer for ONNX inference. Co-Authored-By: Claude <noreply@anthropic.com>f553531
-
Update trigo-web with VS People multiplayer mode
Changes include: - VS People mode: real-time multiplayer via Socket.io - Room management with URL hash sharing - Turn-based gameplay with validation - Pass and stone placement synchronization - Session storage fix for multiplayer mode - Updated ONNX model paths - Various bug fixes and improvements Co-Authored-By: Claude <noreply@anthropic.com>15f353f
-
onnx model added
66d6d4a -
updated
502af73
-
the first deploy
466436b