mirror of
https://github.com/cline/cline.git
synced 2026-10-16 07:17:01 +08:00
* fix(desktop): stop UPX-packing the Linux SSH remote helpers Since the Bun 1.4.2 upgrade (#14631) the compiled helper lazily reads its embedded module payload back from its own executable at runtime. On a UPX-packed binary those reads return NUL padding, so the helper starts but every --remote-hub-ensure fails with "SyntaxError: Invalid character: '\0'" and SSH remotes cannot start (desktop 0.0.38 through 0.0.44). Ship the helpers uncompressed again and drop the upx installs from the publish workflow. Bundles grow by roughly 175 MB until the CLI-managed Hub replaces the helper binary. Fixes #14815 Fixes #14781 Co-authored-by: Saoud Rizwan <saoudrizwan@users.noreply.github.com> * ci(desktop): smoke-test the bundled SSH remote helper before publishing Run each Linux job's native remote helper through --remote-hub-ensure and --remote-hub-stop against an isolated CLINE_DIR and discovery record. The UPX regression started the helper fine but failed on exactly this path, and nothing in the publish workflow exercised it. Co-authored-by: Saoud Rizwan <saoudrizwan@users.noreply.github.com> --------- Co-authored-by: Saoud Rizwan <saoudrizwan@users.noreply.github.com>