Skip to content

Releases: jjsmackay/vscode-dtach-sessions

v0.4.1

Choose a tag to compare

@jjsmackay jjsmackay released this 13 Jul 08:45

Fixed

  • Detached rows no longer flicker white on updates. The detached-row dimming
    decoration was invalidated wholesale on every tree refresh, so a Claude status
    update — which never changes attach-state — flashed every dimmed row's label to
    full strength for a frame before re-dimming. The decoration now fires only for
    rows whose attach-state actually changed, and stays silent on status-only
    refreshes.
  • Corrected the Explorer context menu label "Open in Detach Session" → "Open in
    dtach Session".

v0.4.0

Choose a tag to compare

@jjsmackay jjsmackay released this 07 Jul 13:48

Added

  • Configurable session sort order. A new dtachSessions.sortBy setting and a
    toolbar picker (Set Sort Order) order the list by created (default —
    unchanged), last attached, name, or status (an attention queue:
    waiting → working → done → idle). The status order reuses the same run-state
    the row icon and activity-bar badge already show, so it can never disagree with
    the rows.

Changed

  • Multiple sessions per folder from the Explorer. Right-click a folder →
    Open in Detach Session now opens a picker instead of silently reusing or
    creating: attach to any existing session in the folder's name family
    (<folder> and its <folder>-N siblings, newest-first, each showing live
    Claude status), or create a new numbered one. The prefilled folder name +
    Enter creates by default; attaching to an existing session is an explicit
    choice. BREAKING: the folder path no longer opens with zero prompts when
    no session exists yet — accepting the prefilled name is one Enter.
  • Corrected the row tooltip and an internal note that claimed a socket's
    modification time moves on attach/detach. Nothing is ever written to a dtach
    socket, so mtime is pinned at creation — the tooltip now labels it "created"
    rather than "last modified".

v0.3.3

Choose a tag to compare

@jjsmackay jjsmackay released this 02 Jul 14:57

Added

  • Legible dtach launch failures. If a session's terminal dies the instant it
    opens — the sign of a missing or mis-pathed dtach — the extension now says
    so and offers an Open Settings button that jumps straight to
    dtachSessions.dtachPath, instead of leaving you with VS Code's raw "failed to
    launch" text. It reads the terminal's own launch result rather than probing the
    host, so it never false-warns on a working setup.
  • python3 check when installing Claude hooks. Installing the status hooks now
    notes if python3 cannot be found on the extension host, so a "hooks installed
    but no status ever appears" outcome is explained rather than silent.
    Installation still completes either way.

Changed

  • Documented that Kill relies on lsof or pgrep to confirm what it
    removes; without either it removes the socket without confirming the process is
    gone.

v0.3.2 — legible session state

Choose a tag to compare

@jjsmackay jjsmackay released this 01 Jul 21:52

Added

  • done run-state. When a Claude finishes its turn and hands back to you,
    its row now shows a calm green check and a "done" badge — "finished, your
    move" — instead of rendering as nothing. The state persists until the session
    is next prompted (it does not decay on age).
  • Detached rows are dimmed. A session that is not attached in this window
    has its row label dimmed, so attach-state is always legible — even when a
    run-state icon owns the row icon. The urgent amber waiting bell stays
    full-strength on a dimmed row, so "dormant but needs you" stands out; the calm
    done check is muted to match the label, keeping a finished-and-detached row
    quiet.

Changed

  • The amber "waiting" bell now means a genuine permission block only. The
    status forwarder classifies Claude's Notification events by subtype: a
    permission request rings the bell; an idle prompt (which auto-fires ~60s after
    a finished turn) no longer does. The activity-bar waiting badge likewise counts
    only genuinely blocked sessions. (Requires re-running "Install Claude Hooks"
    to pick up the updated forwarder.)

Install

code --install-extension dtach-sessions-0.3.2.vsix

After upgrading, re-run dtach Sessions: Install Claude Hooks so the updated status forwarder is picked up, and restart any Claude sessions that were already running (hooks are read at session start).