Skip to content

Trellis 1.0.0-beta.1

Choose a tag to compare

@github-actions github-actions released this 23 Oct 21:36
· 206 commits to master since this release
ad3b97e

The first 1.0 beta. This release adds the command palette and the command scratchpad, and fixes project files, tasks and the upgrade from dev.trellis.

Added

  • Command palette: View → Command Palette… (⇧⌘P, rebindable) opens a searchable list over the workspace of every enabled action with its shortcut, every window, tab and pane, saved hosts, the focused pane's tasks and the installed themes; Return runs the selected row through its menu path (FR-CP01–FR-CP07).
    • Fuzzy matching with bold, underlined matched letters, alias keywords, recent items first when the field is empty, and Go to Window/Tab/Pane…, Connect to Host…, Run Task… and Use Theme… scopes (FR-CP04–FR-CP06).
    • Arrowing onto a theme previews it; Esc restores the previous colors (FR-CP08).
  • Command scratchpad: a panel beside the panes for writing a command or script, opened with the </> button left of Tasks in a local pane's header or View → Show Scratchpad (⌥⌘E) (FR-SP01).
    • Syntax highlighting in the terminal's font and theme colors, with line numbers and no smart-quote or dash substitution (FR-SP02).
    • A language selector for sh, bash, JavaScript and Markdown; each language is one registry entry, so more can be added (FR-SP03).
    • Validate runs sh -n, bash -n or node --check and shows errors with their line numbers (FR-SP04).
    • Run types <interpreter> '<file>' into the focused pane when its shell is at its prompt, and follows it like a task (FR-SP05). Its private copy of the script is deleted when Trellis quits (FR-SP07).
    • Save as Task asks for a task and file name, writes the script to .trellis/scratch/ and adds a task to launch.json; the sheet's Save & Run also runs it. The header then shows the saved file's name, with Edited after changes (FR-SP06).
    • Clear starts an empty buffer, asking first when there are unsaved changes (FR-SP09).
    • A file selector in the panel header lists the project's saved scratchpads and opens one; Markdown notes are highlighted and saved without a task (FR-SP10).

Fixed

  • Save as Project keeps each pane's folder when the project is reached through a symbolic link, instead of warning that every pane is outside the project; tasks no longer add a cd when the shell is already in the project through a link (FR-WF06, FR-TK05).
  • Save as Project warns that SSH panes and panes running another program will reopen as local shells, instead of saving them silently as plain shell panes (FR-WF06).
  • Upgrading from dev.trellis while the previous app is still running no longer shares its session broker, which left Keep Running sessions unable to start; after it has quit, kept sessions are still reattached (FR-R03).
  • Open Project… (⌘O) is disabled while the workspace is restoring or in recovery, and never records trust for a project it can't open (FR-WF06).
  • Save as Project keeps the existing file's $schema line, so editor validation keeps working after saving over it (FR-WF06).
  • VoiceOver announces a tab inside a project as “project … available to load”, matching its Load Project button, instead of “workspace … available” (FR-WF02).

Security

  • Save as Project, adding a task and Create launch.json refuse a .trellis folder that is a symbolic link, instead of writing wherever it points (FR-WF06, FR-TK02).

Downloads

  • Trellis-1.0.0-beta.1.dmg: Universal 2, runs on Apple silicon and Intel (recommended)
  • Trellis-1.0.0-beta.1-apple-silicon.dmg: Apple silicon (arm64) only
  • Trellis-1.0.0-beta.1-intel.dmg: Intel (x86_64) only

Verify with shasum -a 256 -c SHA256SUMS.txt. Requires macOS 14 or later.