Skip to content

Commit e0381e0

Browse files
authored
Remove chat sessions (#8382)
* Remove chat sessions * Remove todo code lens
1 parent ddae979 commit e0381e0

27 files changed

Lines changed: 57 additions & 4282 deletions

package.json

Lines changed: 3 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"chatContextProvider",
1616
"chatParticipantAdditions",
1717
"chatParticipantPrivate",
18-
"chatSessionsProvider@3",
18+
"chatSessionsProvider",
1919
"codiconDecoration",
2020
"codeActionRanges",
2121
"commentingRangeHint",
@@ -88,28 +88,6 @@
8888
"displayName": "GitHub Issues"
8989
}
9090
],
91-
"chatSessions": [
92-
{
93-
"type": "copilot-swe-agent",
94-
"name": "copilot",
95-
"displayName": "GitHub Copilot coding agent",
96-
"description": "Delegate tasks to the GitHub Copilot coding agent. The agent works asynchronously to implement changes, iterates via chat, and can create or update pull requests as needed.",
97-
"when": "config.chat.agentSessionsViewLocation && config.chat.agentSessionsViewLocation != 'disabled' && config.github.copilot.chat.advanced.copilotCodingAgentV0.enabled",
98-
"capabilities": {
99-
"supportsFileAttachments": true
100-
}
101-
}
102-
],
103-
"remoteCodingAgents": [
104-
{
105-
"id": "githubCodingAgent",
106-
"command": "githubpr.remoteAgent",
107-
"displayName": "GitHub Copilot coding agent",
108-
"description": "Copilot coding agent is a remote, autonomous software development agent. Developers delegate tasks to the agent, which iterates on pull requests based on feedback and reviews.",
109-
"followUpRegex": "open-pull-request-webview.*((%7B.*?%7D)|(\\{.*?\\}))",
110-
"when": "config.githubPullRequests.codingAgent.enabled && config.githubPullRequests.codingAgent.uiIntegration && copilotCodingAgentAssignable && config.github.copilot.chat.advanced.copilotCodingAgentV0.enabled"
111-
}
112-
],
11391
"chatParticipants": [
11492
{
11593
"id": "githubpr",
@@ -658,11 +636,6 @@
658636
],
659637
"description": "%githubIssues.createIssueTriggers.description%"
660638
},
661-
"githubPullRequests.codingAgent.codeLens": {
662-
"type": "boolean",
663-
"default": true,
664-
"description": "%githubPullRequests.codingAgent.codeLens.description%"
665-
},
666639
"githubIssues.createInsertFormat": {
667640
"type": "string",
668641
"enum": [
@@ -971,11 +944,6 @@
971944
]
972945
},
973946
"commands": [
974-
{
975-
"command": "githubpr.remoteAgent",
976-
"title": "%command.githubpr.remoteAgent.title%",
977-
"enablement": "config.githubPullRequests.codingAgent.enabled"
978-
},
979947
{
980948
"command": "github.api.preloadPullRequest",
981949
"title": "Preload Pull Request",
@@ -1888,38 +1856,10 @@
18881856
"category": "%command.notifications.category%",
18891857
"icon": "$(gear)"
18901858
},
1891-
{
1892-
"command": "pr.refreshChatSessions",
1893-
"title": "%command.pr.refreshChatSessions.title%",
1894-
"icon": "$(refresh)",
1895-
"category": "%command.pull.request.category%"
1896-
},
1897-
{
1898-
"command": "pr.preferredCodingAgentGitHubRemote",
1899-
"title": "%command.pr.preferredCodingAgentGitHubRemote.title%",
1900-
"icon": "$(gear)",
1901-
"enablement": "github:hasMultipleGitHubRemotes",
1902-
"category": "%command.pull.request.category%"
1903-
},
1904-
{
1905-
"command": "pr.resetCodingAgentPreferences",
1906-
"title": "%command.pr.resetCodingAgentPreferences.title%",
1907-
"category": "%command.pull.request.category%"
1908-
},
19091859
{
19101860
"command": "pr.checkoutChatSessionPullRequest",
19111861
"title": "%command.pr.checkoutChatSessionPullRequest.title%",
19121862
"category": "%command.pull.request.category%"
1913-
},
1914-
{
1915-
"command": "pr.closeChatSessionPullRequest",
1916-
"title": "%command.pr.closeChatSessionPullRequest.title%",
1917-
"category": "%command.pull.request.category%"
1918-
},
1919-
{
1920-
"command": "pr.cancelCodingAgent",
1921-
"title": "%command.pr.cancelCodingAgent.title%",
1922-
"category": "%command.pull.request.category%"
19231863
}
19241864
],
19251865
"viewsWelcome": [
@@ -2027,31 +1967,6 @@
20271967
"view": "notifications:github",
20281968
"when": "ReposManagerStateContext == RepositoriesLoaded && github:notificationCount == -1",
20291969
"contents": "%welcome.github.notifications.contents%"
2030-
},
2031-
{
2032-
"view": "workbench.view.chat.sessions.copilot-swe-agent",
2033-
"when": "workspaceFolderCount == 0",
2034-
"contents": "%welcome.pr.github.noFolder.contents%"
2035-
},
2036-
{
2037-
"view": "workbench.view.chat.sessions.copilot-swe-agent",
2038-
"when": "git.state == initialized && gitOpenRepositoryCount == 0 && workspaceFolderCount > 0 && git.parentRepositoryCount == 0",
2039-
"contents": "%welcome.pr.github.noRepo.contents%"
2040-
},
2041-
{
2042-
"view": "workbench.view.chat.sessions.copilot-swe-agent",
2043-
"when": "git.state == initialized && workspaceFolderCount > 0 && (git.parentRepositoryCount > 0 || gitOpenRepositoryCount > 0) && !github:hasGitHubRemotes",
2044-
"contents": "%welcome.chat.sessions.copilot-swe-agent.noGitHub.contents%"
2045-
},
2046-
{
2047-
"view": "workbench.view.chat.sessions.copilot-swe-agent",
2048-
"when": "ReposManagerStateContext == NeedsAuthentication && github:hasGitHubRemotes",
2049-
"contents": "%welcome.chat.sessions.copilot-swe-agent.login.contents%"
2050-
},
2051-
{
2052-
"view": "workbench.view.chat.sessions.copilot-swe-agent",
2053-
"when": "ReposManagerStateContext != NeedsAuthentication && github:hasGitHubRemotes",
2054-
"contents": "%welcome.chat.sessions.copilot-swe-agent.startSession.contents%"
20551970
}
20561971
],
20571972
"keybindings": [
@@ -2097,10 +2012,6 @@
20972012
"command": "github.api.preloadPullRequest",
20982013
"when": "false"
20992014
},
2100-
{
2101-
"command": "githubpr.remoteAgent",
2102-
"when": "false"
2103-
},
21042015
{
21052016
"command": "pr.configureRemotes",
21062017
"when": "gitHubOpenRepositoryCount != 0"
@@ -2740,18 +2651,6 @@
27402651
{
27412652
"command": "review.copyPrLink",
27422653
"when": "github:inReviewMode"
2743-
},
2744-
{
2745-
"command": "pr.preferredCodingAgentGitHubRemote",
2746-
"when": "false"
2747-
},
2748-
{
2749-
"command": "pr.closeChatSessionPullRequest",
2750-
"when": "false"
2751-
},
2752-
{
2753-
"command": "pr.cancelCodingAgent",
2754-
"when": "false"
27552654
}
27562655
],
27572656
"view/title": [
@@ -2904,16 +2803,6 @@
29042803
"command": "notifications.refresh",
29052804
"when": "gitHubOpenRepositoryCount != 0 && github:initialized && view == notifications:github",
29062805
"group": "navigation@1"
2907-
},
2908-
{
2909-
"command": "pr.refreshChatSessions",
2910-
"when": "view == workbench.view.chat.sessions.copilot-swe-agent",
2911-
"group": "navigation@1"
2912-
},
2913-
{
2914-
"command": "pr.preferredCodingAgentGitHubRemote",
2915-
"when": "github:hasMultipleGitHubRemotes && view == workbench.view.chat.sessions.copilot-swe-agent",
2916-
"group": "overflow@1"
29172806
}
29182807
],
29192808
"view/item/context": [
@@ -3708,22 +3597,12 @@
37083597
"chat/chatSessions": [
37093598
{
37103599
"command": "pr.openChanges",
3711-
"when": "chatSessionType == copilot-swe-agent || chatSessionType == copilot-cloud-agent",
3600+
"when": "chatSessionType == copilot-cloud-agent",
37123601
"group": "inline"
37133602
},
37143603
{
37153604
"command": "pr.checkoutChatSessionPullRequest",
3716-
"when": "chatSessionType == copilot-swe-agent || chatSessionType == copilot-cloud-agent",
3717-
"group": "context"
3718-
},
3719-
{
3720-
"command": "pr.closeChatSessionPullRequest",
3721-
"when": "chatSessionType == copilot-swe-agent",
3722-
"group": "context"
3723-
},
3724-
{
3725-
"command": "pr.cancelCodingAgent",
3726-
"when": "chatSessionType == copilot-swe-agent",
3605+
"when": "chatSessionType == copilot-cloud-agent",
37273606
"group": "context"
37283607
}
37293608
],
@@ -4545,7 +4424,6 @@
45454424
"fast-deep-equal": "^3.1.3",
45464425
"js-yaml": "^4.1.1",
45474426
"jsonc-parser": "^3.3.1",
4548-
"jszip": "^3.10.1",
45494427
"lru-cache": "6.0.0",
45504428
"markdown-it": "^14.1.0",
45514429
"marked": "^4.0.10",

package.nls.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
"githubIssues.ignoreMilestones.description": "An array of milestone titles to never show issues from.",
114114
"githubIssues.createIssueTriggers.description": "Strings that will cause the 'Create issue from comment' code action to show.",
115115
"githubIssues.createIssueTriggers.items": "String that enables the 'Create issue from comment' code action. Should not contain whitespace.",
116-
"githubPullRequests.codingAgent.codeLens.description": "Show the 'Delegate to agent' CodeLens actions above TODO comments for delegating to coding agent.",
117116
"githubIssues.createInsertFormat.description": "Controls whether an issue number (ex. #1234) or a full url (ex. https://github.com/owner/name/issues/1234) is inserted when the Create Issue code action is run.",
118117
"githubIssues.issueCompletions.enabled.description": "Controls whether completion suggestions are shown for issues.",
119118
"githubIssues.userCompletions.enabled.description": "Controls whether completion suggestions are shown for users.",
@@ -201,7 +200,6 @@
201200
"view.github.active.pull.request.name": "Review Pull Request",
202201
"view.github.active.pull.request.welcome.name": "Active Pull Request",
203202
"command.pull.request.category": "GitHub Pull Requests",
204-
"command.githubpr.remoteAgent.title": "Remote agent integration",
205203
"command.pr.create.title": "Create Pull Request",
206204
"command.pr.pick.title": "Checkout Pull Request",
207205
"command.pr.openChanges.title": "Open Changes",
@@ -241,7 +239,6 @@
241239
"command.review.createSuggestionFromChange.title": "Convert to Pull Request Suggestion",
242240
"command.review.copyPrLink.title": "Copy Pull Request Link",
243241
"command.pr.refreshList.title": "Refresh Pull Requests List",
244-
"command.pr.refreshChatSessions.title": "Refresh Chat Sessions",
245242
"command.pr.setFileListLayoutAsTree.title": "View as Tree",
246243
"command.pr.setFileListLayoutAsFlat.title": "View as List",
247244
"command.pr.toggleHideViewedFiles.title": "Toggle Hide Viewed Files",
@@ -355,10 +352,6 @@
355352
"command.notifications.configureNotificationsViewlet.title": "Configure...",
356353
"command.notification.chatSummarizeNotification.title": "Summarize With Copilot",
357354
"command.pr.checkoutChatSessionPullRequest.title": "Checkout Pull Request",
358-
"command.pr.closeChatSessionPullRequest.title": "Close Pull Request",
359-
"command.pr.preferredCodingAgentGitHubRemote.title": "Set Preferred GitHub Remote",
360-
"command.pr.resetCodingAgentPreferences.title": "Reset Coding Agent Workspace Preferences",
361-
"command.pr.cancelCodingAgent.title": "Cancel Coding Agent",
362355
"welcome.github.login.contents": {
363356
"message": "You have not yet signed in with GitHub\n[Sign in](command:pr.signin)",
364357
"comment": [
@@ -421,21 +414,6 @@
421414
"welcome.issues.github.noFolder.contents": "You have not yet opened a folder.",
422415
"welcome.issues.github.noRepo.contents": "No git repositories found",
423416
"welcome.github.activePullRequest.contents": "Loading...",
424-
"welcome.chat.sessions.copilot-swe-agent.login.contents": {
425-
"message": "Sign in to get started with Copilot coding agent\n[Sign in](command:pr.signin)",
426-
"comment": [
427-
"Do not translate what's inside of (...). It is link syntax.",
428-
"{Locked='](command:pr.signin)'}"
429-
]
430-
},
431-
"welcome.chat.sessions.copilot-swe-agent.startSession.contents": {
432-
"message": "No Copilot coding agent sessions\n[Start a coding session](command:workbench.action.chat.openNewSessionEditor.copilot-swe-agent)",
433-
"comment": [
434-
"Do not translate what's inside of (...). It is link syntax.",
435-
"{Locked='](command:workbench.action.chat.open?%7B%22query%22%3A%22%23copilotCodingAgent%20%22%2C%22isPartialQuery%22%3Atrue%7D)'}"
436-
]
437-
},
438-
"welcome.chat.sessions.copilot-swe-agent.noGitHub.contents": "Clone or open a GitHub repository to get started",
439417
"languageModelTools.github-pull-request_issue_fetch.displayName": "Get a GitHub Issue or pull request",
440418
"languageModelTools.github-pull-request_issue_summarize.displayName": "Summarize a GitHub Issue or pull request",
441419
"languageModelTools.github-pull-request_notification_fetch.displayName": "Get a GitHub Notification",

0 commit comments

Comments
 (0)