Skip to content

Termy v0.2.19

Choose a tag to compare

@lassejlv lassejlv released this 13 Jul 12:19

Bun-powered TypeScript plugins

Termy v0.2.19 introduces plugin API v1. Plugins are plain TypeScript backed by a persistent Bun host, with one isolated Worker per plugin and content-addressed bundle caching for fast reloads.

  • Add custom commands to the command palette with search metadata, icons, disabled states, and execution timeouts.
  • Collect native text, select, and confirmation inputs before a command runs.
  • Return typed actions for terminal commands, Termy commands, clipboard writes, HTTP(S) links, and toasts.
  • Use local TypeScript imports plus Bun and Node built-ins without a package install or handwritten build step.
  • Keep failed or timed-out plugins contained without taking down the terminal or other plugins.

Plugin installation and management

  • Added Settings → Extensions → Plugins with Bun status, folder installation, refresh, enable/disable, open-folder, and confirmed uninstall controls.
  • Added termy plugin init for creating a minimal plugin.json and plugin.ts project.
  • Added termy plugin add / install for GitHub repositories, refs, and monorepo subdirectories.
  • Added list, status, enable, disable, update, and remove / uninstall lifecycle commands.
  • GitHub installs resolve to pinned commit revisions, validate manifests and source bounds, reject symlinks and ambiguous repositories, and install atomically without cloning or running repository scripts.

Plugins are trusted Bun code with the same file, network, and process permissions as your user account. Read third-party source before enabling it.

Settings and task keybindings

  • Reorganized Settings into clearer App, Extensions, and Workflow groups.
  • Added custom task shortcuts through task.<name>.keybind, using the same trigger syntax as normal Termy keybindings.
  • Improved plugin command-palette layout and input rendering for long text and narrow windows.

Native macOS hardening

  • Added native candidate and soak workflows for both Apple Silicon and Intel builds.
  • Expanded diagnostics for launch, rendering, terminal state, and update failures.
  • Hardened update response and semantic-version validation.
  • Added broader native interaction coverage for keyboard input, IME, search, selection, workspace persistence, and tmux control mode.

Full changelog: v0.2.18...v0.2.19