Streamlined provider auth and stable operations
Threadlines v0.3.1 brings provider authentication into settings with automatic token handling, automatic retry for git operations interrupted by index locks, improved terminal stability, smarter subagent worktree following, and automatic remote-status refreshes.
Provider auth moved into settings
Provider sign-in now runs directly inside settings in an inline terminal panel. For Claude setup-token, the server automatically captures the printed token, saves it as an instance variable, and masks it before sending to the browser—eliminating manual copy-paste.
Git commands retry when index is locked
When another terminal, editor, or agent holds git's index lock (which can happen during concurrent operations), git commands now retry automatically for about 2 seconds instead of failing immediately. This helps transient index-lock contention recover without aborting multi-step flows partway through.
Improved terminal connection stability
Fixed terminal subprocess tracking on PowerShell by detecting prompt completion markers, resolved bare Windows shell commands via PATH lookup, and improved WebSocket stream recovery so terminal activity reaches all subscribers after socket replacement.
Changed subagent worktrees remain accessible after tasks complete
When an isolated subagent finishes with changes, its surviving worktree stays followed for review and follow-up edits. Active turns stay pinned to their original checkout, and requested switches wait until the next turn.
Show and refresh remote changes
The chat header now displays when the repository has pending remote changes, and the server periodically fetches remote refs so the status can update without pulling or merging files.
Also improved
- Refresh working-tree diffs before opening source control files to ensure you see the latest file changes.
- Prevent overlapping changes across threads from being incorrectly attributed to the wrong task by tracking turn-window overlaps in shared checkouts.
- Keep agent preview tabs independent and distinguish user input from agent-dispatched browser events so user takeover can interrupt the affected automation action.
- Load Codex subagent transcripts in bounded cursor pages instead of fetching the entire history at once.
- Use GPT-5.6-Luna with medium reasoning for generated thread titles, branch names, commit messages, and PR copy, and show that configured effort in settings.
- Add bounded event replay for thread recovery, project snapshots for CLI discovery, and conditional transfer compression for remote or headless sessions.