-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
153 lines (153 loc) · 4.12 KB
/
package.json
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
{
"name": "vscode-websearchforcopilot",
"publisher": "ms-vscode",
"displayName": "Web Search for Copilot",
"description": "Gives access to search engines from within Copilot",
"version": "0.1.1",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-websearchforcopilot.git"
},
"bugs": {
"url": "https://github.com/microsoft/vscode-websearchforcopilot/issues"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"AI",
"Chat",
"Other"
],
"activationEvents": [],
"l10n": "./l10n",
"main": "./dist/extension.js",
"contributes": {
"authentication": [
{
"id": "tavily",
"label": "Tavily"
},
{
"id": "bing",
"label": "Bing"
}
],
"configuration": [
{
"title": "%configuration.webSearch.title%",
"properties": {
"websearch.useSearchResultsDirectly": {
"type": "boolean",
"default": false,
"description": "%config.useSearchResultsDirectly.description%"
},
"websearch.preferredEngine": {
"type": "string",
"enum": [
"tavily",
"bing"
],
"default": "tavily",
"description": "%config.preferredEngine.description%"
}
}
}
],
"commands": [
{
"command": "vscode-websearchforcopilot.toggleWebSearchPromptTracer",
"category": "Web Search",
"enablement": "isDevelopment",
"title": "Toggle Web Search Prompt Tracer"
}
],
"chatParticipants": [
{
"id": "vscode-websearchforcopilot.websearch",
"fullName": "%chatParticipant.websearch.fullName%",
"name": "websearch",
"description": "%chatParticipant.websearch.description%",
"isSticky": true,
"disambiguation": [
{
"category": "web_questions",
"description": "This provides up-to-date and relevant information from the web. You'll want to use this if you think the user wants:\n* something directly from the internet\n*a topic that is brand new that you don't know about\n*a topic that is changing rapidly that your knowledge might be out of date",
"examples": [
"When was Workspace Trust released? https://code.visualstudio.com/updates",
"Can I use the screen capture API on Firefox 60?",
"What are people saying about the latest Source Control Graph feature in VS Code?",
"who is Moo Deng?"
]
}
]
}
],
"languageModelTools": [
{
"name": "vscode-websearchforcopilot_webSearch",
"tags": [
"web",
"search",
"vscode-websearchforcopilot"
],
"displayName": "%lmTool.webSearch.displayName%",
"canBeReferencedInPrompt": true,
"toolReferenceName": "websearch",
"icon": "globe",
"userDescription": "%lmTool.webSearch.userDescription%",
"modelDescription": "%lmTool.webSearch.modelDescription%",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "%lmTool.webSearch.query.description%"
}
},
"required": [
"query"
]
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir dist",
"watch-tests": "tsc -p . -w --outDir dist",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^8.54.0",
"eslint-plugin-header": "^3.1.1",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@azure-rest/ai-inference": "^1.0.0-beta.2",
"@azure/core-auth": "^1.8.0",
"@azure/core-sse": "^2.1.3",
"@microsoft/tiktokenizer": "^1.0.8",
"@vscode/prompt-tsx": "^0.3.0-alpha.12",
"@vscode/prompt-tsx-elements": "^0.1.0",
"cheerio": "^1.0.0-rc.12",
"jsdom": "^25.0.1"
}
}