-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
327 lines (327 loc) · 9.98 KB
/
Copy pathpackage.json
File metadata and controls
327 lines (327 loc) · 9.98 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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
{
"name": "docferry",
"displayName": "DocFerry",
"description": "Save links, create detailed notes, and share Markdown files or folders from VS Code.",
"version": "0.2.7",
"publisher": "bondie",
"author": {
"name": "Bondie",
"email": "support@bondie.io",
"url": "https://bondie.io"
},
"license": "SEE LICENSE IN LICENSE",
"pricing": "Free",
"preview": true,
"icon": "resources/docferry-256.png",
"homepage": "https://docferry.bondie.io",
"repository": {
"type": "git",
"url": "https://github.com/fyaic/Docferry-VSCode.git"
},
"bugs": {
"url": "https://github.com/fyaic/Docferry-VSCode/issues"
},
"qna": false,
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Other"
],
"keywords": [
"docferry",
"markdown",
"share",
"import",
"notes",
"knowledge",
"audio",
"video"
],
"galleryBanner": {
"color": "#F7F7F3",
"theme": "light"
},
"extensionKind": [
"workspace"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "DocFerry reads selected workspace files and starts its bundled helper only after the workspace is trusted."
},
"virtualWorkspaces": {
"supported": false,
"description": "Sharing and importing require a local filesystem-backed workspace."
}
},
"main": "./dist/extension.js",
"activationEvents": [
"onStartupFinished",
"onView:docferry.workspace",
"onCommand:docferry.signIn",
"onCommand:docferry.signOut",
"onCommand:docferry.showMembership",
"onCommand:docferry.saveLink",
"onCommand:docferry.shareCurrentFile",
"onCommand:docferry.shareFolder",
"onCommand:docferry.stopShare",
"onCommand:docferry.stopFolderShare",
"onCommand:docferry.copyShareLink",
"onCommand:docferry.updateShare",
"onCommand:docferry.updateFolderShare",
"onCommand:docferry.deleteShareRecord",
"onCommand:docferry.deleteFolderShareRecord",
"onCommand:docferry.checkDetailedNote",
"onCommand:docferry.cancelDetailedNote"
],
"contributes": {
"commands": [
{
"command": "docferry.saveLink",
"title": "DocFerry: Save Link to Workspace",
"icon": "$(link)"
},
{
"command": "docferry.shareCurrentFile",
"title": "DocFerry: Share Markdown",
"icon": "$(cloud-upload)"
},
{
"command": "docferry.shareFolder",
"title": "DocFerry: Share Folder",
"icon": "$(folder-opened)",
"enablement": "docferry.folderShareEnabled && isWorkspaceTrusted"
},
{
"command": "docferry.showMembership",
"title": "DocFerry: Show Plan and Usage",
"icon": "$(account)"
},
{
"command": "docferry.signIn",
"title": "DocFerry: Sign In",
"icon": "$(sign-in)"
},
{
"command": "docferry.signOut",
"title": "DocFerry: Sign Out",
"icon": "$(sign-out)"
},
{
"command": "docferry.openDashboard",
"title": "DocFerry: Open Dashboard",
"icon": "$(globe)"
},
{
"command": "docferry.refresh",
"title": "DocFerry: Refresh",
"icon": "$(refresh)"
},
{
"command": "docferry.stopShare",
"title": "DocFerry: Stop Share",
"icon": "$(circle-slash)"
},
{
"command": "docferry.stopFolderShare",
"title": "DocFerry: Stop Folder Share",
"icon": "$(circle-slash)"
},
{
"command": "docferry.copyShareLink",
"title": "DocFerry: Copy Share Link",
"icon": "$(copy)"
},
{
"command": "docferry.updateShare",
"title": "DocFerry: Update Shared Markdown",
"icon": "$(cloud-upload)"
},
{
"command": "docferry.updateFolderShare",
"title": "DocFerry: Update Shared Folder",
"icon": "$(cloud-upload)"
},
{
"command": "docferry.deleteShareRecord",
"title": "DocFerry: Delete Stopped Share History",
"icon": "$(trash)"
},
{
"command": "docferry.deleteFolderShareRecord",
"title": "DocFerry: Delete Stopped Folder History",
"icon": "$(trash)"
},
{
"command": "docferry.checkDetailedNote",
"title": "DocFerry: Check Detailed Note",
"icon": "$(history)"
},
{
"command": "docferry.cancelDetailedNote",
"title": "DocFerry: Cancel Detailed Note",
"icon": "$(circle-slash)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "docferry",
"title": "DocFerry",
"icon": "resources/docferry.svg"
}
]
},
"views": {
"docferry": [
{
"id": "docferry.workspace",
"name": "Workspace"
}
]
},
"viewsWelcome": [
{
"view": "docferry.workspace",
"contents": "Starting DocFerry...",
"when": "!docferry.accountState"
},
{
"view": "docferry.workspace",
"contents": "Checking your DocFerry account...",
"when": "docferry.accountState == checking"
},
{
"view": "docferry.workspace",
"contents": "Connect your Bondie account to continue.\n[Connect Bondie account](command:docferry.signIn)\nUses your system browser.",
"when": "docferry.accountState == signedOut"
},
{
"view": "docferry.workspace",
"contents": "DocFerry could not check your account.\n[Try again](command:docferry.refresh)\n[Get support](https://github.com/fyaic/Docferry-VSCode/issues)",
"when": "docferry.accountState == error"
}
],
"menus": {
"view/title": [
{
"command": "docferry.signIn",
"when": "view == docferry.workspace && docferry.accountState == signedOut",
"group": "navigation@1"
},
{
"command": "docferry.refresh",
"when": "view == docferry.workspace",
"group": "navigation@2"
}
],
"editor/title": [
{
"command": "docferry.shareCurrentFile",
"when": "resourceExtname == .md && isWorkspaceTrusted",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "docferry.shareCurrentFile",
"when": "resourceExtname == .md && isWorkspaceTrusted",
"group": "docferry@1"
},
{
"command": "docferry.shareFolder",
"when": "explorerResourceIsFolder && isWorkspaceTrusted && docferry.folderShareEnabled",
"group": "docferry@2"
}
],
"view/item/context": [
{
"command": "docferry.stopShare",
"when": "view == docferry.workspace && viewItem == docferry.noteShare.active",
"group": "inline"
},
{
"command": "docferry.stopFolderShare",
"when": "view == docferry.workspace && viewItem == docferry.folderShare.active",
"group": "inline"
},
{
"command": "docferry.copyShareLink",
"when": "view == docferry.workspace && (viewItem == docferry.noteShare.active || viewItem == docferry.folderShare.active)",
"group": "docferry@1"
},
{
"command": "docferry.updateShare",
"when": "view == docferry.workspace && viewItem == docferry.noteShare.active",
"group": "docferry@2"
},
{
"command": "docferry.updateFolderShare",
"when": "view == docferry.workspace && viewItem == docferry.folderShare.active",
"group": "docferry@2"
},
{
"command": "docferry.deleteShareRecord",
"when": "view == docferry.workspace && viewItem == docferry.noteShare.deletable",
"group": "docferry@3"
},
{
"command": "docferry.deleteFolderShareRecord",
"when": "view == docferry.workspace && viewItem == docferry.folderShare.deletable",
"group": "docferry@3"
}
]
},
"configuration": {
"title": "DocFerry",
"properties": {
"docferry.cliPath": {
"type": "string",
"default": "",
"scope": "machine",
"description": "Optional path to an external DocFerry CLI. Leave empty to use the helper bundled with this extension."
},
"docferry.importFolder": {
"type": "string",
"default": "DocFerry Imports",
"scope": "resource",
"description": "Visible workspace folder where imported notes are saved."
},
"docferry.commandTimeoutSeconds": {
"type": "number",
"default": 900,
"minimum": 30,
"maximum": 1800,
"scope": "machine",
"description": "Maximum time to wait for sign-in or Advanced Import."
}
}
}
},
"scripts": {
"check": "tsc --noEmit",
"compile": "tsc",
"bundle": "node esbuild.mjs",
"test:unit": "npm run compile && node --test out/test/contracts.test.js",
"test:marketplace": "python3 scripts/test_verify_marketplace_release.py",
"test:extension": "npm run compile && node scripts/run_extension_tests.mjs",
"test": "npm run test:unit",
"build": "npm run check && npm run test:unit && npm run bundle",
"vscode:prepublish": "npm run bundle",
"sync:agent-kit": "node scripts/run_python.mjs scripts/sync_agent_kit.py",
"verify:source": "node scripts/run_python.mjs scripts/verify_source.py",
"build:helper": "node scripts/run_python.mjs scripts/build_helper.py",
"package:vsix": "npm run build && npm run sync:agent-kit && npm run build:helper && node scripts/package_vsix.mjs",
"verify:vsix": "node scripts/run_python.mjs scripts/verify_vsix.py",
"package": "npm run verify:source && npm run package:vsix && npm run verify:vsix"
},
"devDependencies": {
"@types/node": "^20.14.0",
"@types/vscode": "^1.96.0",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.9.2",
"esbuild": "^0.25.12",
"typescript": "^5.4.5"
}
}