Initialize Treehouse tmux plugin #2

Merged
Fryuni merged 1 commit from init into main 2026-08-12 01:21:24 +00:00
Owner

Summary

Initialize the repository as a directly installable and Nix-packaged tmux plugin that leases Treehouse worktrees into dedicated sessions and safely returns them when those sessions close.

Changes

  • Add the configurable prefix + W lease binding and reload-safe session-closed hook.
  • Implement lease acquisition, tmux session creation, metadata persistence, rollback, and conditional worktree return.
  • Export conventional tmux plugin packages and pkgs.tmuxPlugins.treehouse through the Nix flake.
  • Document TPM, direct, Nix profile, overlay, and Home Manager installation.

Testing

  • Checked all shell scripts with sh -n.
  • Exercised lease cleanup and conditional return against a mocked Treehouse CLI.
  • Verified a single binding and close hook after repeated plugin loads.
  • Ran nix flake show and nix flake check --no-build.
  • Built .#tmux-treehouse successfully.
## Summary Initialize the repository as a directly installable and Nix-packaged tmux plugin that leases Treehouse worktrees into dedicated sessions and safely returns them when those sessions close. ## Changes - Add the configurable `prefix + W` lease binding and reload-safe `session-closed` hook. - Implement lease acquisition, tmux session creation, metadata persistence, rollback, and conditional worktree return. - Export conventional tmux plugin packages and `pkgs.tmuxPlugins.treehouse` through the Nix flake. - Document TPM, direct, Nix profile, overlay, and Home Manager installation. ## Testing - Checked all shell scripts with `sh -n`. - Exercised lease cleanup and conditional return against a mocked Treehouse CLI. - Verified a single binding and close hook after repeated plugin loads. - Ran `nix flake show` and `nix flake check --no-build`. - Built `.#tmux-treehouse` successfully.
Fryuni merged commit f50ae61f01 into main 2026-08-12 01:21:24 +00:00
Fryuni deleted branch init 2026-08-12 01:21:24 +00:00
Fryuni referenced this pull request from a commit 2026-08-12 01:21:25 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Fryuni/tmux-treehouse!2
No description provided.