Skip to content

Fix wasm SSH#504

Open
palchrb wants to merge 6 commits intotale:mainfrom
palchrb:main
Open

Fix wasm SSH#504
palchrb wants to merge 6 commits intotale:mainfrom
palchrb:main

Conversation

@palchrb
Copy link

@palchrb palchrb commented Mar 20, 2026

Two minor fixes to make SSH work again; 1. making sure that the wasm files are in the docker image + making sure that headplane tries to fetch the resource at /admin/ not root

claude and others added 4 commits March 20, 2026 10:18
The WASM files (hp_ssh.wasm, wasm_exec.js) were being copied to /run/app/
which contains React Router source files that get compiled. Static assets
need to be in /run/public/ so Vite copies them to build/client/ during the
build, making them available at runtime via the Hono static file server.

https://claude.ai/code/session_01E9a9GGxEPjEyMTRcbTrVmC
The wasm_exec.js and hp_ssh.wasm files were referenced with absolute
root paths (e.g. /wasm_exec.js) instead of using the __PREFIX__ global,
causing them to fail when Headplane is served under a subpath like /admin.

https://claude.ai/code/session_01E9a9GGxEPjEyMTRcbTrVmC
claude and others added 2 commits March 20, 2026 14:54
@shopify/lang-jsonc pulled in @codemirror/state@6.5.4 while the rest
of the codemirror packages used 6.6.0, causing "multiple instances of
@codemirror/state" errors that broke the ACL editor.

https://claude.ai/code/session_01E9a9GGxEPjEyMTRcbTrVmC
fix: deduplicate @codemirror/state to fix ACL editor crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants