Sync plugin for the legacy dfx assetstorage canister. Reads per-asset metadata from .ic-assets.json5; ignores _headers/_redirects.
Built from the migration branch at commit 6b48585 (see #71). The migration branch is never merged into main — these tagged pre-releases exist solely to host the plugin wasm for icp-cli recipes/templates.
Intended consumer: asset-canister-v2.2.1 icp-cli recipe, which swaps the asset sync mechanism from type: assets to type: plugin while keeping the canister wasm unchanged (eases upgrades when type: assets sync is dropped in the next icp-cli release).
Changes since v2.2.0
- Fix sync failure when a
dirsentry is a nested path (e.g.src/frontend/dist). The scan step no longer callscanonicalize: under WASI that callsrealpath, which returnsENOENTfor any path beneath a preopened dir whose guest name has more than one component, even though plain access works. Single-component dirs likedistwere unaffected. Reported on the forum.
Asset
sync_plugin.wasm— wasm32-wasip2 component- sha256:
ca7cb5666c30d2875f8d5e10535f8a53f97a86c79c263f7d5bdac2fdd1bbf83c