Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/sessions/test/e2e/extensions/sessions-e2e-mock/package.json
13405 views
1
{
2
"name": "sessions-e2e-mock",
3
"displayName": "Sessions E2E Mock",
4
"description": "Mock auth, chat participant, and file system for E2E testing",
5
"version": "0.0.1",
6
"publisher": "vscode",
7
"engines": {
8
"vscode": "^1.100.0"
9
},
10
"extensionKind": ["ui", "workspace"],
11
"browser": "./extension.js",
12
"activationEvents": ["*"],
13
"enabledApiProposals": ["chatSessionsProvider"],
14
"capabilities": {
15
"virtualWorkspaces": true,
16
"untrustedWorkspaces": {
17
"supported": true
18
}
19
},
20
"contributes": {
21
"authentication": [
22
{
23
"id": "github",
24
"label": "GitHub (Mock)"
25
}
26
],
27
"commands": [
28
{
29
"command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges.apply",
30
"title": "Apply Changes",
31
"icon": "$(check)"
32
},
33
{
34
"command": "github.copilot.chat.checkoutPullRequestReroute",
35
"title": "Checkout Pull Request",
36
"icon": "$(git-pull-request)"
37
},
38
{
39
"command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
40
"title": "Open Pull Request",
41
"icon": "$(link-external)"
42
},
43
{
44
"command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
45
"title": "Merge",
46
"icon": "$(git-merge)"
47
},
48
{
49
"command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
50
"title": "Merge and Sync",
51
"icon": "$(git-merge)"
52
},
53
{
54
"command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
55
"title": "Create Pull Request",
56
"icon": "$(git-pull-request-create)"
57
},
58
{
59
"command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
60
"title": "Update",
61
"icon": "$(cloud-upload)"
62
},
63
{
64
"command": "github.copilot.chat.codeReview.run",
65
"title": "Run Code Review"
66
}
67
],
68
"menus": {
69
"chat/input/editing/sessionToolbar": [
70
{
71
"command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges.apply",
72
"when": "chatSessionType == copilotcli && workbenchState != empty && !isSessionsWindow",
73
"group": "navigation@0"
74
},
75
{
76
"command": "github.copilot.chat.checkoutPullRequestReroute",
77
"when": "chatSessionType == copilot-cloud-agent && !github.vscode-pull-request-github.activated && gitOpenRepositoryCount != 0",
78
"group": "navigation@0"
79
},
80
{
81
"command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
82
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasOpenPullRequest",
83
"group": "navigation@1"
84
}
85
],
86
"chat/input/editing/sessionApplyActions": [
87
{
88
"command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
89
"when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.isMergeBaseBranchProtected",
90
"group": "merge@1"
91
},
92
{
93
"command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
94
"when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.isMergeBaseBranchProtected",
95
"group": "merge@2"
96
},
97
{
98
"command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
99
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isMergeBaseBranchProtected && !sessions.hasOpenPullRequest",
100
"group": "pull_request@1"
101
},
102
{
103
"command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
104
"when": "chatSessionType == copilotcli && isSessionsWindow",
105
"group": "update@1"
106
}
107
]
108
}
109
}
110
}
111
112