OXYGENHUB
# 1cc0ff44e5ca oxygenhub-vscode / package.json
10.4 KiB · JSON · last changed Releases view and Draft Release from a tag with notes from history (0.6.0) 1 month ago source blame history raw
f0b06dea Andy McCall 1
{
2
  "name": "oxygenhub-vscode",
3
  "displayName": "Oxygenhub",
4
  "description": "Proposals, reviews, issues and checks from an Oxygenhub, in the editor. Builds on the Oxygen extension.",
1cc0ff44 Andy McCall ↶ 5
  "version": "0.6.0",
f0b06dea Andy McCall 6
  "publisher": "andymccall",
7
  "license": "MIT OR Apache-2.0",
8
  "icon": "assets/images/oxygenhub.png",
9
  "engines": {
10
    "vscode": "^1.137.0"
11
  },
486c15b0 Andy McCall ↶ 12
  "categories": [
13
    "SCM Providers",
14
    "Other"
15
  ],
16
  "keywords": [
17
    "oxygen",
18
    "oxygenhub",
19
    "review",
20
    "proposals",
21
    "issues"
22
  ],
23
  "extensionDependencies": [
52cef001 Andy McCall ↶ 24
    "oxygen.oxygen-vscode"
486c15b0 Andy McCall ↶ 25
  ],
26
  "activationEvents": [
27
    "workspaceContains:.oxy/format",
28
    "onAuthenticationRequest:oxygenhub",
29
    "onStartupFinished"
30
  ],
f0b06dea Andy McCall 31
  "main": "./dist/extension.js",
32
  "contributes": {
486c15b0 Andy McCall ↶ 33
    "authentication": [
34
      {
35
        "id": "oxygenhub",
36
        "label": "Oxygenhub"
37
      }
38
    ],
f0b06dea Andy McCall 39
    "configuration": {
40
      "title": "Oxygenhub",
41
      "properties": {
486c15b0 Andy McCall ↶ 42
        "oxygenhub.hubs": {
43
          "type": "array",
44
          "items": {
45
            "type": "string"
46
          },
47
          "default": [],
48
          "description": "Base URLs of hubs you use (learnt from sign in too)."
49
        },
50
        "oxygenhub.proposalBookmarkPrefix": {
51
          "type": "string",
52
          "default": "proposal/",
53
          "description": "Prefix of the local bookmark created when checking out a proposal."
54
        },
55
        "oxygenhub.autoRefresh": {
56
          "type": "number",
57
          "default": 60,
58
          "description": "Seconds between view refreshes; 0 disables."
b2dd082c Andy McCall ↶ 59
        },
60
        "oxygenhub.announceNotifications": {
61
          "type": "boolean",
62
          "default": true,
63
          "description": "Show a message when new notifications arrive (checked on the autoRefresh interval)."
486c15b0 Andy McCall ↶ 64
        }
f0b06dea Andy McCall 65
      }
66
    },
67
    "viewsContainers": {
486c15b0 Andy McCall ↶ 68
      "activitybar": [
69
        {
70
          "id": "oxygenhub",
71
          "title": "Oxygenhub",
52cef001 Andy McCall ↶ 72
          "icon": "assets/images/oxygenhub-activity.svg"
486c15b0 Andy McCall ↶ 73
        }
74
      ]
f0b06dea Andy McCall 75
    },
76
    "views": {
77
      "oxygenhub": [
486c15b0 Andy McCall ↶ 78
        {
79
          "id": "oxygenhub.proposals",
80
          "name": "Proposals"
81
        },
82
        {
83
          "id": "oxygenhub.issues",
84
          "name": "Issues"
1cc0ff44 Andy McCall ↶ 85
        },
86
        {
87
          "id": "oxygenhub.releases",
88
          "name": "Releases"
486c15b0 Andy McCall ↶ 89
        }
f0b06dea Andy McCall 90
      ]
91
    },
92
    "viewsWelcome": [
486c15b0 Andy McCall ↶ 93
      {
94
        "view": "oxygenhub.proposals",
95
        "contents": "Sign in to an Oxygenhub to see proposals.\n[Sign in](command:oxygenhub.signIn)"
96
      }
f0b06dea Andy McCall 97
    ],
98
    "commands": [
486c15b0 Andy McCall ↶ 99
      {
100
        "command": "oxygenhub.signIn",
101
        "title": "Sign in",
102
        "category": "Oxygenhub"
103
      },
104
      {
105
        "command": "oxygenhub.signOut",
106
        "title": "Sign out",
107
        "category": "Oxygenhub"
108
      },
109
      {
110
        "command": "oxygenhub.refresh",
111
        "title": "Refresh",
112
        "category": "Oxygenhub",
113
        "icon": "$(refresh)"
114
      },
115
      {
b2dd082c Andy McCall ↶ 116
        "command": "oxygenhub.inbox",
117
        "title": "Open Inbox",
118
        "category": "Oxygenhub",
119
        "icon": "$(bell)"
120
      },
121
      {
486c15b0 Andy McCall ↶ 122
        "command": "oxygenhub.openProposal",
123
        "title": "Open Proposal",
124
        "category": "Oxygenhub"
125
      },
126
      {
127
        "command": "oxygenhub.openOnHub",
128
        "title": "Open on Hub",
129
        "category": "Oxygenhub",
130
        "icon": "$(link-external)"
131
      },
132
      {
bf73998c Andy McCall ↶ 133
        "command": "oxygenhub.openProposalFile",
134
        "title": "Open Proposal File Diff",
135
        "category": "Oxygenhub"
136
      },
137
      {
138
        "command": "oxygenhub.openProposalChanges",
139
        "title": "View Changes",
140
        "category": "Oxygenhub",
141
        "icon": "$(diff-multiple)"
142
      },
143
      {
486c15b0 Andy McCall ↶ 144
        "command": "oxygenhub.checkoutProposal",
145
        "title": "Check Out Proposal",
146
        "category": "Oxygenhub",
147
        "icon": "$(git-branch)"
148
      },
149
      {
150
        "command": "oxygenhub.review",
151
        "title": "Review\u2026",
152
        "category": "Oxygenhub",
153
        "icon": "$(comment-discussion)"
154
      },
155
      {
156
        "command": "oxygenhub.sealApproval",
157
        "title": "Seal My Approval (oxy seal --proposal)",
158
        "category": "Oxygenhub"
159
      },
160
      {
161
        "command": "oxygenhub.land",
162
        "title": "Land Proposal",
163
        "category": "Oxygenhub"
164
      },
165
      {
166
        "command": "oxygenhub.closeProposal",
167
        "title": "Close Proposal",
168
        "category": "Oxygenhub"
169
      },
170
      {
171
        "command": "oxygenhub.createProposal",
172
        "title": "Propose Current Bookmark\u2026",
173
        "category": "Oxygenhub"
174
      },
175
      {
176
        "command": "oxygenhub.newIssue",
177
        "title": "New Issue\u2026",
178
        "category": "Oxygenhub",
179
        "icon": "$(add)"
1cc0ff44 Andy McCall ↶ 180
      },
181
      {
182
        "command": "oxygenhub.draftRelease",
183
        "title": "Draft Release\u2026",
184
        "category": "Oxygenhub",
185
        "icon": "$(tag)"
486c15b0 Andy McCall ↶ 186
      },
187
      {
95f69b4a Andy McCall ↶ 188
        "command": "oxygenhub.issueFromSelection",
189
        "title": "New Issue from Selection\u2026",
190
        "category": "Oxygenhub"
191
      },
192
      {
486c15b0 Andy McCall ↶ 193
        "command": "oxygenhub.openIssue",
194
        "title": "Open Issue",
195
        "category": "Oxygenhub"
196
      },
197
      {
198
        "command": "oxygenhub.commentIssue",
199
        "title": "Comment on Issue\u2026",
200
        "category": "Oxygenhub"
201
      },
202
      {
203
        "command": "oxygenhub.closeIssue",
204
        "title": "Close Issue",
205
        "category": "Oxygenhub"
206
      },
207
      {
208
        "command": "oxygenhub.reopenIssue",
209
        "title": "Reopen Issue",
210
        "category": "Oxygenhub"
211
      },
212
      {
213
        "command": "oxygenhub.assignMe",
214
        "title": "Assign to Me",
215
        "category": "Oxygenhub"
216
      },
217
      {
218
        "command": "oxygenhub.newThread",
219
        "title": "Start Review Thread",
220
        "category": "Oxygenhub"
221
      },
222
      {
223
        "command": "oxygenhub.reply",
224
        "title": "Reply",
225
        "category": "Oxygenhub"
226
      },
227
      {
228
        "command": "oxygenhub.resolveThread",
229
        "title": "Resolve",
230
        "category": "Oxygenhub"
231
      }
f0b06dea Andy McCall 232
    ],
233
    "menus": {
234
      "view/title": [
486c15b0 Andy McCall ↶ 235
        {
236
          "command": "oxygenhub.refresh",
1cc0ff44 Andy McCall ↶ 237
          "when": "view == oxygenhub.proposals || view == oxygenhub.issues || view == oxygenhub.releases",
486c15b0 Andy McCall ↶ 238
          "group": "navigation"
239
        },
240
        {
241
          "command": "oxygenhub.createProposal",
242
          "when": "view == oxygenhub.proposals",
243
          "group": "navigation"
244
        },
245
        {
246
          "command": "oxygenhub.newIssue",
247
          "when": "view == oxygenhub.issues",
1cc0ff44 Andy McCall ↶ 248
          "group": "navigation"
249
        },
250
        {
251
          "command": "oxygenhub.draftRelease",
252
          "when": "view == oxygenhub.releases",
486c15b0 Andy McCall ↶ 253
          "group": "navigation"
254
        }
f0b06dea Andy McCall 255
      ],
256
      "view/item/context": [
486c15b0 Andy McCall ↶ 257
        {
bf73998c Andy McCall ↶ 258
          "command": "oxygenhub.openProposalChanges",
259
          "when": "view == oxygenhub.proposals && viewItem == proposal",
260
          "group": "inline"
261
        },
262
        {
486c15b0 Andy McCall ↶ 263
          "command": "oxygenhub.openOnHub",
264
          "when": "view == oxygenhub.proposals && viewItem == proposal",
265
          "group": "inline"
266
        },
267
        {
268
          "command": "oxygenhub.checkoutProposal",
269
          "when": "view == oxygenhub.proposals && viewItem == proposal",
270
          "group": "inline"
271
        },
272
        {
273
          "command": "oxygenhub.review",
274
          "when": "view == oxygenhub.proposals && viewItem == proposal",
275
          "group": "inline"
276
        },
277
        {
278
          "command": "oxygenhub.sealApproval",
279
          "when": "view == oxygenhub.proposals && viewItem == proposal",
280
          "group": "actions@1"
281
        },
282
        {
283
          "command": "oxygenhub.land",
284
          "when": "view == oxygenhub.proposals && viewItem == proposal",
285
          "group": "actions@2"
286
        },
287
        {
288
          "command": "oxygenhub.closeProposal",
289
          "when": "view == oxygenhub.proposals && viewItem == proposal",
290
          "group": "actions@3"
291
        },
292
        {
293
          "command": "oxygenhub.openOnHub",
294
          "when": "view == oxygenhub.issues && viewItem == issue",
295
          "group": "inline"
296
        },
297
        {
298
          "command": "oxygenhub.commentIssue",
299
          "when": "view == oxygenhub.issues && viewItem == issue",
300
          "group": "actions@1"
301
        },
302
        {
303
          "command": "oxygenhub.assignMe",
304
          "when": "view == oxygenhub.issues && viewItem == issue",
305
          "group": "actions@2"
306
        },
307
        {
308
          "command": "oxygenhub.closeIssue",
309
          "when": "view == oxygenhub.issues && viewItem == issue",
310
          "group": "actions@3"
311
        },
312
        {
313
          "command": "oxygenhub.reopenIssue",
314
          "when": "view == oxygenhub.issues && viewItem == issue",
315
          "group": "actions@3"
1cc0ff44 Andy McCall ↶ 316
        },
317
        {
318
          "command": "oxygenhub.draftRelease",
319
          "when": "view == oxygenhub.releases && viewItem == releaseRepo",
320
          "group": "inline"
486c15b0 Andy McCall ↶ 321
        }
f0b06dea Andy McCall 322
      ],
323
      "comments/commentThread/context": [
486c15b0 Andy McCall ↶ 324
        {
325
          "command": "oxygenhub.reply",
326
          "when": "commentController == oxygenhub",
327
          "group": "inline"
328
        },
329
        {
330
          "command": "oxygenhub.newThread",
331
          "when": "commentController == oxygenhub && commentThreadIsEmpty",
332
          "group": "inline"
333
        }
f0b06dea Andy McCall 334
      ],
335
      "comments/commentThread/title": [
486c15b0 Andy McCall ↶ 336
        {
337
          "command": "oxygenhub.resolveThread",
338
          "when": "commentController == oxygenhub",
339
          "group": "navigation"
340
        }
bf73998c Andy McCall ↶ 341
      ],
342
      "commandPalette": [
343
        {
344
          "command": "oxygenhub.openProposalFile",
345
          "when": "false"
346
        }
95f69b4a Andy McCall ↶ 347
      ],
348
      "editor/context": [
349
        {
350
          "command": "oxygenhub.issueFromSelection",
351
          "when": "resourceScheme == file",
352
          "group": "9_oxygenhub@1"
353
        }
f0b06dea Andy McCall 354
      ]
355
    }
356
  },
357
  "scripts": {
358
    "types": "cp ../oxygenhub/crates/hub-api/ts/index.d.ts src/hubapi.d.ts",
359
    "build": "esbuild src/extension.ts --bundle --platform=node --format=cjs --external:vscode --outfile=dist/extension.js --sourcemap",
360
    "watch": "npm run build -- --watch",
361
    "typecheck": "tsc --noEmit -p .",
f902d5b8 Andy McCall ↶ 362
    "pretest": "esbuild src/hub.ts --bundle --platform=node --format=esm --outfile=out/hub.mjs && esbuild src/provider.ts --bundle --platform=node --format=esm --outfile=out/provider.mjs && esbuild src/refs.ts --bundle --platform=node --format=esm --outfile=out/refs.mjs",
f0b06dea Andy McCall 363
    "test": "node --test \"test/**/*.test.mjs\"",
364
    "check": "npm run typecheck && npm run build && npm test",
365
    "package": "vsce package --no-dependencies"
366
  },
367
  "devDependencies": {
368
    "@types/node": "^24.0.0",
369
    "@types/vscode": "^1.137.0",
370
    "@vscode/vsce": "^4.0.0",
371
    "esbuild": "^0.28.0",
372
    "typescript": "^5.9.0"
373
  }
374
}