Skip to content

Trellis 0.12.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 23:40
· 115 commits to master since this release
2e72751

This release adds project files and tasks from .trellis/, and drag reordering for windows and tabs.

Added

  • Tasks: a Tasks menu in each local pane's header lists the pane's project .trellis/launch.json tasks (name, command, optional cwd, group and env) and runs one in that pane's shell (FR-TK01, FR-TK02, FR-TK05).
    • Detects npm/pnpm/yarn/bun scripts, Make targets, CMake, SwiftPM, Python and Cargo builds and tests; run one directly or add it to launch.json with + (FR-TK03, FR-TK04).
    • The button shows Running: name with the elapsed time, then the result with its exit code; Stop sends Ctrl-C and becomes Force Stop (Ctrl-) after 2 seconds (FR-TK07, FR-TK08).
    • Environment variables per file and per task, applied to the whole command line (FR-TK09).
    • A launch.json version's tasks run only after you review them and choose Trust and Run; any change asks again (FR-TK06).
  • Window drag reordering: drag a window in the sidebar, or a square in the collapsed rail, to move it; an accent bar shows where it lands. VoiceOver gets Move Up/Move Down actions (FR-W07).
  • Tab drag reordering: drag a tab along the tab bar to move it; an accent bar shows where it lands. VoiceOver gets Move Left/Move Right actions (FR-T10).
  • Project files: a project's .trellis/project.json, reviewable in its repository, describes one window: tabs with color labels, splits, pane titles, folders relative to the project, and a command per pane (FR-WF01).
    • When a shell cds into the project, hovering its tab shows Load Project. It's also in the tab's context menu and available to VoiceOver (FR-WF02).
    • Commands run only after you review every command and choose Trust and Open. Trust is kept per folder and SHA-256 digest, so any change to the file asks again. Open Without Commands opens plain shells (FR-WF03).
    • Opening creates the project's window; opening it again reconciles that window without restarting panes or rerunning commands (FR-WF04).
    • Each command is typed at its new shell's first prompt, and the shell stays when the command ends (FR-WF05).
    • File → Open Project… (⌘O, rebindable) opens a project folder or its file directly.
    • Save as Project… (window sidebar menu) and File → Save Window as Project… write the window with editable commands, in a stable, diff-friendly format (FR-WF06).
    • API layouts can now carry tab colors internally, but the automation layout format is unchanged and still never carries commands.

Changed

  • Clearer names: "workspace" now means only Trellis's own saved windows (File → Save Workspace). File → Export/Import Workspace… is now Export/Import Windows & Hosts…, and files from the 0.12.0 pre-release named .trellis/workspace.json are still opened when a project has no project.json; saving writes project.json and leaves the old file for you to remove (FR-WF07). Saved keyboard shortcuts and trust carry over.

Fixed

  • Window close keeps the workspace: closing the main window with the red button ends the sessions but keeps windows, tabs and splits as stopped panes, so a following Quit no longer saves an empty workspace (MAC-04, FR-R01).

Downloads

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

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