Conversation
…t instance (#304344) * Fix loading sessions that were created by a previous instance of the server Co-authored-by: Copilot <copilot@github.com> * Add handleRestoreSession to agentHostMain side effects Wire up the handleRestoreSession method in the utility process agent host entry point, delegating to AgentService which forwards to AgentSideEffects. This was missing after the interface was updated to require session restore support. * Address Copilot review: wrap backend errors, use Cancelled for interrupted turns - Wrap agent.listSessions() and agent.getSessionMessages() calls in try/catch so raw backend errors become ProtocolErrors instead of leaking stack traces to clients. - Use TurnState.Cancelled instead of TurnState.Complete for interrupted/dangling turns during session restoration. - Update test assertions to match new interrupted turn state. (Written by Copilot) --------- Co-authored-by: Copilot <copilot@github.com>
* refactor: Copilot CLI resort to restoring model from history * Updates
* Fix Windows agent harness links in postinstall * Update build/npm/postinstall.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
#304406) Co-authored-by: Copilot <copilot@github.com>
This reverts commit 9ea434f.
…304397) Use ITaskService to run tasks in sessions window Replace the hacky terminal-based task execution (creating a terminal and sending commands directly) with proper ITaskService.run() delegation. This ensures all task types are supported on all platforms, not just shell and npm tasks. Changes: - runTask now looks up the task by label via ITaskService.getTask() using the workspace folder for the session worktree, then runs it via ITaskService.run() - Removed _resolveCommand, _appendArgs, _getExistingTerminalInstance and the _taskTerminals cache (no longer needed) - Removed _SUPPORTED_TASK_TYPES filter since the task service handles all task types - Replaced ITerminalService dependency with ITaskService and IWorkspaceContextService - Updated tests to mock ITaskService and IWorkspaceContextService Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Revert "Session grouping api"
* Sessions - customize badge rendering * Fix comment format
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )