feat: add Copilot CLI resume support to session dropdown#173
Merged
Conversation
- Add "copilot" to resumeAgents map with command template "copilot --resume=%s" - Add RESUME_AGENTS["copilot"] to frontend resume.ts - Update readSessionCwd to also extract cwd from data.context.cwd, matching the Copilot session.start JSONL format - Update resume_handler_test: replace copilot unsupported test with a passing copilot command_only test; use cursor for unsupported case - Update resume.test.ts: mark copilot as supported, add copilot command generation test - Add TestReadSessionCwd_CopilotFormat for the data.context.cwd path Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
roborev: Combined Review (
|
Use a realistic prefixed session ID (copilot:abc123) and assert the exact command string to verify the agent-prefix stripping logic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
roborev: Combined Review (
|
Restrict the pull_request paths filter to directories that actually affect the desktop binary: cmd/agentsview/, internal/web/, desktop/, and frontend/. Previously internal/** triggered desktop builds for any Go change including test-only modifications. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The desktop workflow wraps the Go sidecar binary in a Tauri shell. Go compilation and correctness are already validated by ci.yml (build, test, vet, lint). The desktop build only needs to run when the Tauri wrapper, frontend assets, or workflow config change — not for every Go code change. Removed go.mod, go.sum, cmd/, and internal/ from the paths filter. The desktop-release workflow (tag-triggered) still builds everything for actual releases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dependency changes can break CGO or cross-compilation in the Tauri sidecar build in ways that the Linux-only CI wouldn't catch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
roborev: Combined Review (
|
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.
This is simply adding copilot support for the resume session dropdown.
Here's what all changed and is mentioned in the commit message: