-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
245 lines (245 loc) · 7.13 KB
/
package.json
File metadata and controls
245 lines (245 loc) · 7.13 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
{
"name": "reference-vscode-plugin",
"displayName": "Reference - Code Knowledge Manager",
"description": "Graphical frontend for the reference CLI tool. Manage code repository references and knowledge files directly in VS Code.",
"version": "0.1.0",
"publisher": "cicbyte",
"repository": {
"type": "git",
"url": "https://github.com/cicbyte/reference-vscode-plugin"
},
"license": "MIT",
"icon": "media/icon.png",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"reference",
"code knowledge",
"repository manager",
"AI coding"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "reference",
"title": "Reference",
"icon": "media/icon.svg"
}
]
},
"views": {
"reference": [
{
"id": "reference.repos",
"name": "Referenced Repositories",
"icon": "media/icon.svg"
},
{
"id": "reference.wiki",
"name": "Knowledge Files",
"icon": "media/icon.svg"
},
{
"id": "reference.actions",
"name": "Quick Actions",
"icon": "media/icon.svg"
}
]
},
"viewsWelcome": [
{
"view": "reference.repos",
"contents": "This workspace has not been initialized with Reference yet.\n[Initialize Now](command:reference.init)\n\nTo get started, the extension will create a `.reference/` directory in your workspace.\n\nDon't have the CLI? [Check Installation](command:reference.checkBinary)",
"when": "!reference:initialized"
},
{
"view": "reference.repos",
"contents": "No repositories referenced yet.\n[Add Repository](command:reference.addRepo)",
"when": "reference:initialized && reference:hasBinary"
},
{
"view": "reference.repos",
"contents": "Reference CLI not found.\n[Install / Configure](command:reference.checkBinary)",
"when": "reference:initialized && !reference:hasBinary"
},
{
"view": "reference.wiki",
"contents": "No knowledge files yet. Knowledge files are generated when you analyze or explore a repository.",
"when": "!reference:initialized"
},
{
"view": "reference.actions",
"contents": "Please initialize Reference first.\n[Initialize Now](command:reference.init)",
"when": "!reference:initialized"
}
],
"commands": [
{
"command": "reference.addRepo",
"title": "Reference: Add Repository",
"icon": "$(add)"
},
{
"command": "reference.removeRepo",
"title": "Reference: Remove Repository",
"icon": "$(trash)"
},
{
"command": "reference.updateRepo",
"title": "Reference: Update Repository",
"icon": "$(sync)"
},
{
"command": "reference.init",
"title": "Reference: Initialize Workspace"
},
{
"command": "reference.removeAllRepos",
"title": "Reference: Remove All Repositories"
},
{
"command": "reference.analyze",
"title": "Reference: Generate Architecture Overview"
},
{
"command": "reference.explore",
"title": "Reference: Explore Topic"
},
{
"command": "reference.listRepos",
"title": "Reference: List Referenced Repositories"
},
{
"command": "reference.viewStats",
"title": "Reference: Show Code Statistics"
},
{
"command": "reference.diagnostics",
"title": "Reference: Show Diagnostics & Logs"
},
{
"command": "reference.doctor",
"title": "Reference: Run Doctor"
},
{
"command": "reference.wikiCommit",
"title": "Reference: Wiki Commit"
},
{
"command": "reference.wikiSync",
"title": "Reference: Wiki Sync"
},
{
"command": "reference.checkBinary",
"title": "Reference: Check CLI Installation"
},
{
"command": "reference.refreshRepos",
"title": "Reference: Refresh Repository List",
"icon": "$(refresh)"
},
{
"command": "reference.refreshWiki",
"title": "Reference: Refresh Knowledge Files",
"icon": "$(refresh)"
},
{
"command": "reference.openWikiFile",
"title": "Reference: Open Knowledge File"
},
{
"command": "reference.openRepoFolder",
"title": "Reference: Open Repository Folder"
}
],
"menus": {
"view/title": [
{
"command": "reference.addRepo",
"when": "view == reference.repos",
"group": "navigation"
},
{
"command": "reference.refreshRepos",
"when": "view == reference.repos",
"group": "navigation"
},
{
"command": "reference.refreshWiki",
"when": "view == reference.wiki",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "reference.updateRepo",
"when": "view == reference.repos && viewItem == repo",
"group": "inline"
},
{
"command": "reference.removeRepo",
"when": "view == reference.repos && viewItem == repo",
"group": "inline"
},
{
"command": "reference.viewStats",
"when": "view == reference.repos && viewItem == repo"
},
{
"command": "reference.analyze",
"when": "view == reference.repos && viewItem == repo"
},
{
"command": "reference.explore",
"when": "view == reference.repos && viewItem == repo"
},
{
"command": "reference.openRepoFolder",
"when": "view == reference.repos && viewItem == repo"
},
{
"command": "reference.openWikiFile",
"when": "view == reference.wiki && viewItem == wikiFile"
}
]
},
"configuration": {
"title": "Reference",
"properties": {
"reference.binaryPath": {
"type": "string",
"default": "",
"description": "Absolute path to the reference binary. Leave empty to auto-detect from PATH."
},
"reference.autoRefresh": {
"type": "boolean",
"default": true,
"description": "Automatically refresh tree views when .reference/ directory changes."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --minify",
"watch": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --sourcemap --watch",
"lint": "tsc --noEmit",
"package": "npx @vscode/vsce package"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"esbuild": "^0.20.0",
"typescript": "^5.4.0"
}
}