-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
181 lines (181 loc) · 7.03 KB
/
package.json
File metadata and controls
181 lines (181 loc) · 7.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "voce-vscode-copilot-extension",
"publisher": "Norschel-Harrybin",
"displayName": "VOCE-DevOps",
"description": "VOCE-DevOps, a 'Vs-cOde Copilot Extension' supporting referencing of GitHub issues/PRs and Azure DevOps work items/PRs",
"repository": {
"type": "git",
"url": "https://github.com/TheVOCE/devops-tools"
},
"bugs": {
"url": "https://github.com/TheVOCE/devops-tools/issues"
},
"version": "0.2.2",
"engines": {
"vscode": "^1.102.0"
},
"categories": [
"AI",
"Chat",
"Other"
],
"activationEvents": [],
"enabledApiProposals": [
"chatProvider",
"defaultChatParticipant",
"languageModelSystem"
],
"extensionDependencies": [
"github.copilot-chat"
],
"capabilities": {
"authentication": {
"supportsMultipleAccounts": false
}
},
"authentication": [
{
"id": "github",
"scopes": [
"repo"
]
},
{
"id": "microsoft",
"scopes": [
"https://app.vssps.visualstudio.com/user_impersonation"
]
}
],
"contributes": {
"configuration": {
"type": "object",
"title": "VOCE Extension Configuration",
"properties": {
"voce.echoFullGHIssue": {
"type": "boolean",
"default": true,
"description": "echo the full issue title and description in the chat."
},
"voce.echoGHIssueComments": {
"type": "boolean",
"default": true,
"description": "echo the comments of issue chat (only if echoFullIssue is also set)."
},
"voce.echoFullAzDWorkItem": {
"type": "boolean",
"default": true,
"description": "echo the full work item title and description in the chat."
},
"voce.echoAzDWorkItemComments": {
"type": "boolean",
"default": true,
"description": "echo the comments of work item chat (only if echoFullWorkItem is also set)."
},
"voce.echoFullAzDPullRequest": {
"type": "boolean",
"default": true,
"description": "echo the full pull request title and description in the chat."
},
"voce.echoAzDPullRequestComments": {
"type": "boolean",
"default": true,
"description": "echo the comments of pull request chat (only if echoFullAzDPullRequest is also set)."
},
"voce.echoFullGHPullRequest": {
"type": "boolean",
"default": true,
"description": "echo the full pull request title and description in the chat."
},
"voce.echoGHPullRequestComments": {
"type": "boolean",
"default": true,
"description": "echo the comments of pull request chat (only if echoFullGhPullRequest is also set)."
},
"voce.azureDevOpsPat": {
"type": "string",
"default": "",
"description": "Personal Access Token for Azure DevOps API access. Required for work item functionality."
},
"voce.preferredChatModel": {
"type": "string",
"default": "",
"description": "Preferred GitHub Copilot model family for general chat responses (e.g., 'gpt-4o', 'gpt-4'). Leave empty to use default model."
},
"voce.preferredChatVendor": {
"type": "string",
"default": "",
"description": "Preferred model vendor for general chat responses (e.g., 'copilot', 'openai'). Leave empty to use default vendor 'copilot'."
},
"voce.descriptionTruncationLength": {
"type": "number",
"default": 500,
"minimum": 50,
"maximum": 2000,
"description": "Description truncation length"
}
}
},
"chatParticipants": [
{
"id": "voce.devops",
"fullName": "VOCE-DevOps - Vs-cOde Copilot Extension",
"name": "voce",
"description": "VOCE-DevOps: GitHub `!<issueNumber>` or `!<prNumber>` and Azure DevOps `!<workItemNumber>` or `!<prNumber>`, append `+` for including comments.",
"isSticky": true,
"commands": [
{
"name": "gh-issue",
"description": "get data from GitHub issue using `!<issueNumber>`. Use `gh:<owner>/<repo>` to add a github context."
},
{
"name": "gh-pullrequest",
"description": "get data from GitHub pullrequest. Use `gh:<owner>/<repo>` to add a github context."
},
{
"name": "azd-workitem",
"description": "get data from Azure DevOps work item using `!<workItemNumber>`. Use `azdo:<org>/<project>` to add Azure DevOps context."
},
{
"name": "azd-pullrequest",
"description": "get data from Azure DevOps pullrequest using `!<prNumber>`. Use `azdo:<org>/<project>` to add Azure DevOps context."
}
]
}
],
"commands": [
{
"command": "VOCE.namesInEditor",
"title": "VOCE - Vs-cOde Copilot Extension"
}
]
},
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"package": "npm run vscode:prepublish && vsce package && npm run move-packages-installer-dir",
"move-packages-installer-dir": "node ./build/move-vsix-to-installer.js"
},
"dependencies": {
"@vscode/chat-extension-utils": "^0.0.0-alpha.1",
"@vscode/prompt-tsx": "^0.4.0-alpha.8",
"azure-devops-node-api": "^15.1.2",
"sanitize-html": "^2.17.2"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@octokit/rest": "^22.0.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/node": "^25",
"@types/sanitize-html": "^2.16.1",
"@types/vscode": "^1.115.0",
"@vscode/vsce": "^3.7.1",
"eslint": "^10.2.0",
"simple-git": "^3.36.0",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.2"
}
}