Windows SSH users can fail during the default local-download-upload remote asset flow with:
spawn C:\Windows\System32\tar.exe ENOENT
Logs show SSH authentication and remote environment detection succeed. The failure happens after the desktop host downloads a CDN component archive into the local remote-assets-cache and tries to extract it by spawning the Windows system tar binary.
Remove the desktop client's dependency on a local system tar executable for remote asset cache extraction and local upload archive creation.
local-download-upload.remote-download behavior unchanged: remote servers still use their detected tar tool.tar.Add a small Node-based .tar.gz helper in packages/server/src/remote:
extractTarGzArchive(archivePath, targetDir)createTarGzArchive(archivePath, entries)The helper uses Node built-ins (zlib, fs/promises, path) and supports the archive shapes used by ZCode remote assets:
The extractor rejects unsafe entries:
.. traversalpackages/server/src/remote/remoteAssetCache.ts
tar -xzf extraction of downloaded CDN component archives with extractTarGzArchive.packages/server/src/remote/remoteAssetInstaller.ts
tar -czf creation for LocalUploadAssetInstaller.installDirectory() with createTarGzArchive.packages/server/test/remoteDeploy.test.ts
createTarGzArchive for test CDN fixture archives so tests no longer depend on local system tar.Existing cache layout and deployment behavior stay the same:
.ready markers and atomic commit behavior stay in existing callersensureRemoteReleaseDirFromCdn() can download and extract component archives without spawning local tar.tar and preserves the expected archive shape.