Session Management¶
Sessions are tmux sessions that run your AI agents. PlexusOne Desktop helps you manage them visually.
Creating Sessions¶
From Terminal¶
# Create a session with Claude Code
tmux new-session -d -s coder-1 "claude"
# Create a session with a custom command
tmux new-session -d -s my-agent "kiro"
# Create an empty session
tmux new-session -d -s scratch
From PlexusOne Desktop¶
- Click the + button (toolbar or status bar)
- Fill in the New Session form:
- Name: Session identifier (e.g.,
feature-login) - Command: Optional command to run (e.g.,
claude) - Click Create
The session is created and attached to the first empty pane.
Attaching Sessions¶
Via Dropdown¶
- Click the session dropdown in any pane header
- Select a session from the list
- Session output appears in the pane
Via Empty Pane¶
Empty panes show available sessions. Click any session to attach it.
Detaching Sessions¶
Click the ✕ button in the pane header to detach.
Detach vs Kill
- Detach: Session keeps running, just hidden from view
- Kill: Session terminates, agent stops
Session Status¶
Status Detection¶
PlexusOne Desktop monitors sessions and infers status:
| Status | Indicators |
|---|---|
| Running | Recent output, active process |
| Idle | No recent output, waiting |
| Stuck | Long pause, potential issue |
Status Bar¶
The status bar shows all pane assignments:
Listing Sessions¶
In PlexusOne Desktop¶
- Click any session dropdown to see available sessions
- Status bar shows session count
From Terminal¶
# List all sessions
tmux list-sessions
# Detailed view
tmux list-sessions -F "#{session_name}: #{session_windows} windows"
Killing Sessions¶
From Terminal¶
From PlexusOne Desktop¶
Currently, sessions must be killed from the terminal. Future versions will add in-app session management.
Session Refresh¶
Click the refresh button (↻) in the toolbar to:
- Reload session list from tmux
- Update session statuses
- Detect new sessions created externally
Sessions auto-refresh periodically, but manual refresh is instant.
Best Practices¶
Naming Conventions¶
Use descriptive, consistent names:
# By feature
feature-auth
feature-payments
feature-dashboard
# By role
coder-1
coder-2
reviewer
tester
# By task type
bugfix-123
refactor-api
docs-update
Session Lifecycle¶
- Create session when starting a task
- Attach to pane for visibility
- Detach when not actively monitoring
- Kill when task is complete
Long-Running Sessions¶
For agents that run for hours:
- Keep sessions attached for visibility
- Use larger scrollback (PlexusOne Desktop has 10,000 lines)
- Monitor status colors for issues
- Detach temporarily if needed for other work
Troubleshooting¶
"Session Error" Alert¶
If PlexusOne Desktop can't complete a session operation (for example, tmux isn't installed or a command failed), a Session Error alert now appears describing the problem instead of failing silently. Click OK to dismiss it; the underlying error is cleared.
Session Not Appearing¶
- Refresh the session list (↻ button)
- Verify session exists:
tmux list-sessions - Check tmux socket:
tmux -L default list-sessions
Session Shows "Ended"¶
The process inside the session exited. Options:
- Reattach and start a new command
- Kill and recreate the session
Pane Frozen / Warning Triangle Next to Session Name¶
If you see an amber warning triangle (⚠) next to a session name, or a dismissible banner at the top of the window, PlexusOne Desktop has detected that the session's shell is running behind an autocomplete PTY shim from one of:
- Kiro CLI (
kiro-cli-term) - Fig (
figterm) - Amazon Q (
qterm)
These tools re-exec your shell inside a PTY wrapper so they can watch keystrokes for inline completions. It's a known cause of frozen panes — when the shim deadlocks, the agent running inside blocks on I/O and the pane hangs for every attached client, including PlexusOne Desktop.
Fix: remove the wrapper's shell integration, then open a new shell/session:
# Kiro CLI
kiro-cli integration uninstall dotfiles
# Fig
fig integrations uninstall dotfiles
# Amazon Q
q integrations uninstall dotfiles
Hover the warning triangle or the banner's "Copy" button to get the exact command for the detected tool. Use Don't show again on the banner once you've addressed it, or ✕ to dismiss it for the current session only.
Multiple tmux Servers¶
PlexusOne Desktop connects to the default tmux server. If using named servers: