Cache-bust wasm scripts, fix orchestration.sx paren balance

- Add wasm_hash (MD5 of sx_browser.bc.js) to shell template
- Script tags: /wasm/sx_browser.bc.js?v={hash}, /wasm/sx-platform.js?v={hash}
- Pass wasm_hash through helpers.py and ocaml_bridge.py
- Fix missing close paren in bind-sse-swap (broke SX parsing)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 14:21:51 +00:00
parent 1e42eb62a2
commit 998536f52d
5 changed files with 37 additions and 10 deletions

View File

@@ -300,7 +300,8 @@
(with-transition use-transition
(fn ()
(let ((swap-result (swap-dom-nodes target content swap-style)))
(post-swap (or swap-result target))))))))))))
(post-swap (or swap-result target)))))))))))))
(define handle-html-response :effects [mutation io]
@@ -1083,7 +1084,7 @@
(with-transition use-transition
(fn ()
(swap-html-string target trimmed swap-style)
(post-swap target))))))))
(post-swap target)))))))))
;; --------------------------------------------------------------------------