WIP: SX request handler — shell statics not passing through

The handler routes correctly and renders content, but shell statics
(__shell-sx-css etc.) resolve to nil/empty in the handler scope.
use-wasm flag also not working — need to remove sx-browser.js fallback.

Needs: debug shell static resolution in SX handler scope.
       Remove sx-browser.js from shell template entirely.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 08:17:20 +00:00
parent ea52f567de
commit aa4c911178

View File

@@ -73,7 +73,7 @@
(make-symbol "~shared:shell/sx-page-shell")
:title "SX"
:csrf ""
:page-sx ""
:page-sx (serialize full-ast)
:body-html body-html
:component-defs __shell-component-defs
:component-hash __shell-component-hash
@@ -89,7 +89,7 @@
:inline-css __shell-inline-css
:inline-head-js __shell-inline-head-js
:init-sx __shell-init-sx
:use-wasm false
:use-wasm true
:meta-html "")
env))))
(fn (err) (str "<h1>Render error</h1><pre>" err "</pre>"))))))))