|
15 | 15 | "chatContextProvider", |
16 | 16 | "chatParticipantAdditions", |
17 | 17 | "chatParticipantPrivate", |
18 | | - "chatSessionsProvider@3", |
| 18 | + "chatSessionsProvider", |
19 | 19 | "codiconDecoration", |
20 | 20 | "codeActionRanges", |
21 | 21 | "commentingRangeHint", |
|
88 | 88 | "displayName": "GitHub Issues" |
89 | 89 | } |
90 | 90 | ], |
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 | | - ], |
113 | 91 | "chatParticipants": [ |
114 | 92 | { |
115 | 93 | "id": "githubpr", |
|
658 | 636 | ], |
659 | 637 | "description": "%githubIssues.createIssueTriggers.description%" |
660 | 638 | }, |
661 | | - "githubPullRequests.codingAgent.codeLens": { |
662 | | - "type": "boolean", |
663 | | - "default": true, |
664 | | - "description": "%githubPullRequests.codingAgent.codeLens.description%" |
665 | | - }, |
666 | 639 | "githubIssues.createInsertFormat": { |
667 | 640 | "type": "string", |
668 | 641 | "enum": [ |
|
971 | 944 | ] |
972 | 945 | }, |
973 | 946 | "commands": [ |
974 | | - { |
975 | | - "command": "githubpr.remoteAgent", |
976 | | - "title": "%command.githubpr.remoteAgent.title%", |
977 | | - "enablement": "config.githubPullRequests.codingAgent.enabled" |
978 | | - }, |
979 | 947 | { |
980 | 948 | "command": "github.api.preloadPullRequest", |
981 | 949 | "title": "Preload Pull Request", |
|
1888 | 1856 | "category": "%command.notifications.category%", |
1889 | 1857 | "icon": "$(gear)" |
1890 | 1858 | }, |
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 | | - }, |
1909 | 1859 | { |
1910 | 1860 | "command": "pr.checkoutChatSessionPullRequest", |
1911 | 1861 | "title": "%command.pr.checkoutChatSessionPullRequest.title%", |
1912 | 1862 | "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%" |
1923 | 1863 | } |
1924 | 1864 | ], |
1925 | 1865 | "viewsWelcome": [ |
|
2027 | 1967 | "view": "notifications:github", |
2028 | 1968 | "when": "ReposManagerStateContext == RepositoriesLoaded && github:notificationCount == -1", |
2029 | 1969 | "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%" |
2055 | 1970 | } |
2056 | 1971 | ], |
2057 | 1972 | "keybindings": [ |
|
2097 | 2012 | "command": "github.api.preloadPullRequest", |
2098 | 2013 | "when": "false" |
2099 | 2014 | }, |
2100 | | - { |
2101 | | - "command": "githubpr.remoteAgent", |
2102 | | - "when": "false" |
2103 | | - }, |
2104 | 2015 | { |
2105 | 2016 | "command": "pr.configureRemotes", |
2106 | 2017 | "when": "gitHubOpenRepositoryCount != 0" |
|
2740 | 2651 | { |
2741 | 2652 | "command": "review.copyPrLink", |
2742 | 2653 | "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" |
2755 | 2654 | } |
2756 | 2655 | ], |
2757 | 2656 | "view/title": [ |
|
2904 | 2803 | "command": "notifications.refresh", |
2905 | 2804 | "when": "gitHubOpenRepositoryCount != 0 && github:initialized && view == notifications:github", |
2906 | 2805 | "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" |
2917 | 2806 | } |
2918 | 2807 | ], |
2919 | 2808 | "view/item/context": [ |
|
3708 | 3597 | "chat/chatSessions": [ |
3709 | 3598 | { |
3710 | 3599 | "command": "pr.openChanges", |
3711 | | - "when": "chatSessionType == copilot-swe-agent || chatSessionType == copilot-cloud-agent", |
| 3600 | + "when": "chatSessionType == copilot-cloud-agent", |
3712 | 3601 | "group": "inline" |
3713 | 3602 | }, |
3714 | 3603 | { |
3715 | 3604 | "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", |
3727 | 3606 | "group": "context" |
3728 | 3607 | } |
3729 | 3608 | ], |
|
4545 | 4424 | "fast-deep-equal": "^3.1.3", |
4546 | 4425 | "js-yaml": "^4.1.1", |
4547 | 4426 | "jsonc-parser": "^3.3.1", |
4548 | | - "jszip": "^3.10.1", |
4549 | 4427 | "lru-cache": "6.0.0", |
4550 | 4428 | "markdown-it": "^14.1.0", |
4551 | 4429 | "marked": "^4.0.10", |
|
0 commit comments