vscode: revamp terminal UX, fix sizing, add cross-platform packaging

Nexus terminal:
- Fix CSP that silently blocked the inline <style>, so the terminal now
  fills 100% of the tab; theme xterm from VSCode colour variables and use
  the editor/terminal monospace font.
- Re-fit via ResizeObserver/visibility/font-load and re-send geometry once
  the session is connected, so the remote PTY no longer stays at 80x24.
- Remove the floating SFTP icon; SFTP now opens in the user's home folder
  (retry SFTPPwd instead of falling back to /).

Both extensions:
- Polish panels to VSCode design standards (themed buttons, focus rings,
  primary actions); redraw the activity-bar logos.
- chmod +x the bridge on activation (VSIX extraction may drop the exec bit).

Packaging:
- Stop tracking the per-host bridge binary (committed a macOS arm64 build
  that broke Linux/Windows); ignore vscode/bin, vscode/dist, vscode/*/bin.
- Add package-all.sh to cross-compile the pure-Go bridge and produce one
  platform-specific VSIX per target (win32/darwin/linux x64+arm64), with an
  opt-in macOS codesign + notarization hook.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 19:56:31 +01:00
co-authored by Claude Opus 4.8
parent 0f0b18c124
commit ab0e3a44e6
9 changed files with 440 additions and 85 deletions
+7 -9
View File
@@ -1,10 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
<path d="M5.5 4.2h8.7l4.3 4.3v11.3H5.5V4.2Z"/>
<path d="M14.2 4.2v4.3h4.3"/>
<path d="M8.4 8.2h2.2"/>
<path d="M8.4 11.4h4.9"/>
<path d="M8.4 14.6h2.9"/>
<path d="m15.1 14.3 1.5 1.5"/>
<circle cx="13.9" cy="13.1" r="2.1"/>
<path d="M8.4 17.8h6.8"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
<path d="M13.4 3.5H5a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 5 20.5h5.2"/>
<path d="M6.6 7.3h7"/>
<path d="M6.6 10.4h4.4"/>
<path d="M6.6 13.5h2.2"/>
<circle cx="15.3" cy="14.1" r="3.7"/>
<path d="m18 16.8 2.8 2.8"/>
</svg>

Before

Width:  |  Height:  |  Size: 433 B

After

Width:  |  Height:  |  Size: 396 B