feat(fetch): portable wasm build with passthrough and meta fixes #1
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/wasm-portable-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
@kreuzberg/html-to-markdowndep (per-OS .node binaries) with@kreuzberg/html-to-markdown-wasm; embed 3.2MB wasm viainitSyncinto single 4.5MBskill/resources/fetch.jsrunnable on Linux + macOS with no install step, no--compile, no per-arch matrixsrc/vendor(gen-wasm.tsregenerates gitignored base64 blob; chained intobuild/build:dev)--meta: hybrid extraction (document.* from full-page HTML, headers/links/images from cleaned content fragment), plain-JSON serialization of wasm getters, markdown-mode parsing, empty envelope for plain/JSONWhy
The bundled script only ran on the build OS due to the native html-to-markdown runtime. This makes the skill downloadable and runnable anywhere Bun runs.