From aa4c911178ec76a113bd5bc2d6f362b4a2ac564a Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 29 Mar 2026 08:17:20 +0000 Subject: [PATCH] =?UTF-8?q?WIP:=20SX=20request=20handler=20=E2=80=94=20she?= =?UTF-8?q?ll=20statics=20not=20passing=20through?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- web/request-handler.sx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/request-handler.sx b/web/request-handler.sx index bc706e5b..57bb371f 100644 --- a/web/request-handler.sx +++ b/web/request-handler.sx @@ -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 "

Render error

" err "
"))))))))