cmux vm push <id> <file> fails for any file, even 1 MB, on a Freestyle machine: Error: The Cloud VM request failed. The stack log shows the cause:
[freestyle] exec(vm-26d5...) FreestyleApiError: bad request: command cannot exceed 64 KiB
CLI/CMUXCLI+VMTransfer.swift sets vmTransferPushChunkBytes = 64 * 1024 and base64-encodes each chunk before wrapping it in a shell command, so one chunk alone is about 87 KiB on the wire. The cap applies to the whole command. Only --secret (a different channel) works today.
Fix: size the raw chunk so the encoded command stays under the cap with headroom, about 40 KiB raw, and cover it with a test that asserts the encoded command length for a full chunk.
Seen 2026-09-11 on a prsnc dev-backend stack while pushing a 50 MB daemon binary; the Freestyle SDK vm.fs.writeFile upload worked as the workaround.
https://claude.ai/code/session_012DpfpRex9MYKKZBz3Lv5sq
cmux vm push <id> <file>fails for any file, even 1 MB, on a Freestyle machine:Error: The Cloud VM request failed. The stack log shows the cause:CLI/CMUXCLI+VMTransfer.swiftsetsvmTransferPushChunkBytes = 64 * 1024and base64-encodes each chunk before wrapping it in a shell command, so one chunk alone is about 87 KiB on the wire. The cap applies to the whole command. Only--secret(a different channel) works today.Fix: size the raw chunk so the encoded command stays under the cap with headroom, about 40 KiB raw, and cover it with a test that asserts the encoded command length for a full chunk.
Seen 2026-09-11 on a
prsncdev-backend stack while pushing a 50 MB daemon binary; the Freestyle SDKvm.fs.writeFileupload worked as the workaround.https://claude.ai/code/session_012DpfpRex9MYKKZBz3Lv5sq