···2233## Unreleased
4455+## 0.10.0 (2026-04-24)
66+57### Nesting prevention (client-inside-a-client refusal)
68- **`pty attach`, `pty a`, and `pty attach -r`** now refuse to run when `$PTY_SESSION` is set. Attaching inside an existing client nested two clients and sent detach keybindings to the outer one, leaving users tangled. The guard fires before ref resolution, so even a mistyped name yields the nesting hint instead of "Session not found." Error text points at `Ctrl+\\` to detach and at pty-layout's `^]n` for users inside a tiled layout. `--force` restores the old behavior.
79- **`pty restart <ref>`** still restarts the session when nested (that operation is independent of attach), but skips the trailing `doAttach` and prints `(not attached: already inside pty session "X")`. `--force` restores the old restart-then-attach behavior. `-y` / `--yes` (which skips the kill-confirm prompt) is unchanged and independent.
+1-1
flake.nix
···29293030 # Generated from package-lock.json.
3131 # Regenerate with: nix run nixpkgs#prefetch-npm-deps -- package-lock.json
3232- npmDepsHash = "sha256-G5qXsMNRbMfI7LVmytXQkE0Yt/sWMx9Bw+BUy3u0XtA=";
3232+ npmDepsHash = "sha256-mbrHBmn5oHc3C+T3XimQbr9lHAWnM/gBe0OSb+2Tf6I=";
33333434 # node-pty has native code that needs these at build time
3535 nativeBuildInputs = with pkgs; [ python3 pkg-config ];