Repository navigation
Done
Labels
Description
Part of #2269.
User outcome
Launching dima opens the ordinary local TUI. From Home or an existing conversation the user can open /devices, choose a computer, then choose what to work on.
dima -> /devices -> Office PC -> active Sessions across its workspaces
|-- Select a Session -> open its conversation
+-- New Session -> choose remote directory -> composer
Interaction
- First connection prompts for the token displayed on the sharing computer. Subsequent connections can use the remembered credential.
- List a visible Session once if any of its lines is running or it has an attached client. The server must report activity across lines for this list. The existing catalog field
runningdescribes the default line. Listing must avoid restoring idle historical Sessions. Show the workspace beside each title, including for same-named Sessions. Always offer “New Session”, including when the list is empty. - New Session opens a keyboard directory picker at the remote root. Enter visits a child, parent goes up, and an explicit action uses the displayed directory. Show visible directories only and allow a known path to be entered. The first message or shell command creates the Session.
- Put the selected device name immediately before the project path on the lower-right composer border, for example
office-pc:/srv/dim. Change the name and path together when switching. Preserve drafts and pending decisions per target. - A failed switch leaves the original view usable. Reconnecting a dropped current Session reopens that Session and never automatically resubmits an uncertain input. Choosing a remote computer from the device list opens its active Sessions again.
- Named targets also work with noninteractive CLI calls. Interactive invocations can select a known Session or directory directly.
Acceptance
Use local tmux scenarios for both layouts. Switch between two servers that have the same project path. Cover a Session running only on a non-default line with zero attached clients, a Session running on multiple lines that appears only once, an attached idle Session, an empty list, a directory that exists only on the target, cancel, connection failure, and reconnect. Confirm the correct device is visible before sending input and the old server continues its accepted work.
Activity
eric8810 commentedon Nov 28, 2026
Closed by #2284 (merged 01:40Z). It delivered the /devices picker, pairing, active-session selection, target directory choice and remembered reconnect in the native TUI. Target-side filesystem and system operations remain in #2277.