Commit Graph

37 Commits

Author SHA1 Message Date
Don Jayamanne dfaa4f6d5f Update Github Copilot to latest version (#2864)
* Update to latest version of Github Copilot CLI

* Use 0.0.381

* Reverts

* Update src/extension/agents/copilotcli/node/copilotcliSession.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Updates

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 01:36:52 +00:00
Don Jayamanne 3e1007d070 Log background agent session messages to show up in chat debug view (#2832) 2026-01-14 02:58:26 +00:00
Don Jayamanne 307affc186 Update logging to capture worktree information (#2702) 2026-01-05 21:27:25 +00:00
Don Jayamanne ab1f5242a6 Prepare Copilot CLI for streaming responses (#2678) 2025-12-24 03:02:55 +00:00
Don Jayamanne b86a9f8dd3 Remove dependency on Worktree from Session (#2676)
* Remove dependency on Worktree from Session

* Fix tests
2025-12-24 01:13:26 +00:00
Ladislau Szomoru b502918e99 Copilot CLI - add setting for auto commit (#2675)
* Introduce the concept of auto-commit

* More refactoring

* Add setting
2025-12-23 22:49:50 +00:00
Ladislau Szomoru 827a5aefdb Copilot CLI - local background agent (#2642)
* WIP - add code to commit changes

* WIP - saving my work

* Refactored the code to use the same memento

* Use vscode.Uri instead of string for worktree path

* Adopt the new diffWithStats git extension API

* Fix unit tests

* Got the Apply action working

* Pull request feedback

* Pull request feedback

* More logging to help debug any issues with committing changes
2025-12-22 16:12:42 +00:00
Don Jayamanne 86ae3ca69e Display pending CLI requests in Agents view (#2314) 2025-12-02 01:05:23 +00:00
Don Jayamanne 050ecb7690 When delegating to cloud/background hide summarized history from user (#2306)
* When delegating to cloud/background hide summarized history from user

* Fixes

* fixes

* Updates
2025-12-01 23:09:26 +00:00
Don Jayamanne aa2b9761fb Exclude incorrect workspace chat ref vars for Copilot CLI (#2254) 2025-11-28 06:17:34 +00:00
Don Jayamanne 69064c944d Restore edits for background sessions (#2180) 2025-11-26 12:29:49 +00:00
Don Jayamanne 288f24700a Update @github/copilot and add more stests (#2123)
* Update @github/copilot and add more stests

* Updates

* Fixes

* Add more tests

* Fix tests

* Account for new binaries in SDK.

* skip stests

* Update test/e2e/cli.stest.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-24 00:53:41 +00:00
Don Jayamanne 7e56e1c053 Ensure Copilot CLI directory references are displayed and referenced as directories and not files (#2159)
* Ensure Copilot CLI directory references are displayed and refnerenced as directories and not files

* Fixes
2025-11-24 00:50:50 +00:00
Don Jayamanne 30c37c740f Copilit CLI: Move auth information into SDK (#2095)
* Copilit CLI: Move auth information into SDK

* Remove unused authentication service from CopilotCLISession tests
2025-11-19 23:44:30 +00:00
Don Jayamanne 16c06e5a8a Fix error in handling Copilot CLI edits (#2064) 2025-11-18 20:02:25 +00:00
Don Jayamanne 0c7aec2532 Fix issue with cancellations in Copilot CLI (#2039)
* Fix issue with cancellations in Copilot CLI

* Fixes

* Fix tests
2025-11-17 07:57:47 +00:00
Don Jayamanne 218c1dbe71 fix: export UnknownToolCall type and update its usage in CopilotCLISession (#1990) 2025-11-13 21:16:44 +00:00
Don Jayamanne 315659d274 Display diff information when editing sensitive files in copilot cli (#1963)
* Display diff information when editing sensitive files in copilot cli

* Fix tests

* Fix typos
2025-11-13 02:59:55 +00:00
Don Jayamanne 704c3714cc Update Copilot CLI tool invocation (#1944)
* Updates

* Updates to Copilot CLI tool invocation

* updates

* Update src/extension/agents/copilotcli/common/copilotCLITools.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/extension/agents/copilotcli/common/copilotCLITools.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/extension/agents/copilotcli/common/copilotCLITools.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 10:51:24 +00:00
Don Jayamanne 9d98c3945d Minor speed improvements in Copilot CLI (#1942)
* Avoid dispose Copilot CLI session after use

* oops

* updates
2025-11-12 06:02:10 +00:00
Don Jayamanne 55fe767829 Skip permissinoes to edit files in copilot cli (#1919)
* Fixes to auto approval of copilot CLI file edits

* Perf

* Address review comments
2025-11-11 11:02:08 +00:00
Don Jayamanne 1fd38a6e21 Skip permissinoes to edit files in copilot cli (#1916) 2025-11-11 09:31:16 +00:00
Don Jayamanne daa8faa4a8 Create/Edit File permission checker for copilot cli chat (#1910)
* Create/Edit File permission checker for copilot cli chat

* More test fixes
2025-11-11 07:51:05 +00:00
Don Jayamanne ed46cfe7d0 Ensure Copilot CLI session handling is consistent (#1908) 2025-11-11 05:56:12 +00:00
Don Jayamanne ecbc197955 Remove Copilot CLI Session Options (#1894)
* Remove Copilot CLI Session Options

* Fix tests

* Fix tests

* Updates

* Fix tests

* Dispose unwanted readonly sessions
2025-11-10 12:51:32 +00:00
Ladislau Szomoru 69be7776e1 Copilot CLI - publish statistics for session using git worktree (#1874)
* Copilot CLI - publish statistics for session using git worktree

* Refactor things to stage changes

* Fix test

* Pull request feedback

* Fix test

* Another attempt to fix tests
2025-11-10 06:34:43 +00:00
Don Jayamanne ceecb18408 auto approve workspace file edits and track these edits (#1887)
* Track copilot cli edits to files when auto approved

* auto approve workspace file edits

* Reverts
2025-11-10 04:50:53 +00:00
Don Jayamanne 5d76f0975e Ensure we end thinking in Copilot CLI sessions (#1881) 2025-11-09 07:45:41 +00:00
Don Jayamanne 29c32f5f14 More tests for Copilot CLI and refactor permission handling (#1871)
* More Copilot CLI tests and refactor permissions

* Updates

* Address review comments

* Updates

* Address review comments

* Address review comments
2025-11-08 21:39:29 +00:00
Ladislau Szomoru 7f647610b3 Copilot CLI - allow to read/write into the git worktree directory (#1851)
* Got permissions to work when reading/writing files in the git worktree folder

* ensure only auto approve edits for git worktree

* fix workdir options handling

* 💄

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-11-07 21:35:25 +00:00
Don Jayamanne 8d607cbf6b Use new Copilot CLI SDK (#1761)
* Update to latest Copilot CLI SDK

* Skip failing testi

* Fix test and address review comments

* Address review comments

* Improve file write concurrency for node pty shim.

* Updates

* Fix testes

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-11-07 18:27:26 +00:00
Justin Chen c63e598b1f fix cli thinking streaming (#1802) 2025-11-05 18:41:44 +00:00
Don Jayamanne 00e96f5151 Display Copilot CLI edits when resuming a session (#1754)
* Display Copilot CLI edits when resuming a session

* Fix tests

* Fix test

* Fixes

* Fixes

* Fix issues
2025-11-02 22:41:30 +00:00
Don Jayamanne 3732454ecc Remove Copilot CLI Agent manager and introduce ICopilotCLISession interface (#1752)
* Rmove Copilot CLI Agent manager and introduce ICopilotCLISession interface

* Update src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Updates

* Updates

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 06:32:29 +00:00
Don Jayamanne 9ae8037d24 Updates (#1745) 2025-11-01 08:58:05 +00:00
Osvaldo Ortega ded9889742 Support for worktree working directory (#1172)
* Support for worktree working directory

* fix merge

* remove unnecessary command

* revert package.json change

* 💄

* copilot cli worktree

* fix default isolation preferrence

* 💄 revert cc worktree integration for now.

* Persist working tree relationship

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-10-31 23:39:30 +00:00
Don Jayamanne f9ed6387cd Refactor Copilot CLI loading and session management (#1730)
* Move Copilot CLI session out into own file

* Remvoe a few methods

* Updates
2025-10-31 04:23:45 +00:00