feat: add interactive sessions with terminal and PR tracking#93
Merged
jonwiggins merged 3 commits intomainfrom Mar 25, 2026
Merged
Conversation
Add a first-class Session concept to Optio — persistent, interactive workspaces scoped to a repository pod. Sessions give users direct access to repo pods via a web terminal with full PR lifecycle tracking. Changes: - Database: interactive_sessions and session_prs tables with migration - Shared: InteractiveSession types and WebSocket events (session:created, session:ended) - API: CRUD routes for sessions (/api/sessions), session PR tracking - WebSocket: /ws/sessions/:id/terminal endpoint for xterm.js terminal - Web UI: sessions list page (/sessions) with filtering and new session creation - Web UI: session detail page (/sessions/[id]) with terminal and PR sidebar - Sidebar: Sessions nav link with Terminal icon Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…I integration - Add automatic PR URL detection in session terminal WebSocket handler (scans stdout/stderr for GitHub PR URLs and registers them to session_prs) - Add session PR watching to pr-watcher worker (polls CI checks, review status, and merge state for PRs opened during active sessions) - Add active sessions section to the overview dashboard page with live session count and quick-connect cards - Add sessions section and "New Session" button to repo detail page, showing recent sessions for the repository Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Integrate main branch changes (schedules, task comments, activity feed) with the interactive sessions feature branch. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://github.com/owner/repo/pull/123) and registers them insession_prs, so users don't need to manually add PRs opened during a sessionTest plan
🤖 Generated with Claude Code