| 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.", |
| 5 |
"version": "0.6.1", |
| 6 |
"publisher": "andymccall", |
| 7 |
"license": "MIT OR Apache-2.0", |
| 8 |
"icon": "assets/images/oxygenhub.png", |
| 9 |
"engines": { |
| 10 |
"vscode": "^1.137.0" |
| 11 |
}, |
| 12 |
"categories": [ |
| 13 |
"SCM Providers", |
| 14 |
"Other" |
| 15 |
], |
| 16 |
"keywords": [ |
| 17 |
"oxygen", |
| 18 |
"oxygenhub", |
| 19 |
"review", |
| 20 |
"proposals", |
| 21 |
"issues" |
| 22 |
], |
| 23 |
"extensionDependencies": [ |
| 24 |
"oxygen.oxygen-vscode" |
| 25 |
], |
| 26 |
"activationEvents": [ |
| 27 |
"workspaceContains:.oxy/format", |
| 28 |
"onAuthenticationRequest:oxygenhub", |
| 29 |
"onStartupFinished" |
| 30 |
], |
| 31 |
"main": "./dist/extension.js", |
| 32 |
"contributes": { |
| 33 |
"authentication": [ |
| 34 |
{ |
| 35 |
"id": "oxygenhub", |
| 36 |
"label": "OxygenHub" |
| 37 |
} |
| 38 |
], |
| 39 |
"configuration": { |
| 40 |
"title": "OxygenHub", |
| 41 |
"properties": { |
| 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." |
| 59 |
}, |
| 60 |
"oxygenhub.announceNotifications": { |
| 61 |
"type": "boolean", |
| 62 |
"default": true, |
| 63 |
"description": "Show a message when new notifications arrive (checked on the autoRefresh interval)." |
| 64 |
} |
| 65 |
} |
| 66 |
}, |
| 67 |
"viewsContainers": { |
| 68 |
"activitybar": [ |
| 69 |
{ |
| 70 |
"id": "oxygenhub", |
| 71 |
"title": "OxygenHub", |
| 72 |
"icon": "assets/images/oxygenhub-activity.svg" |
| 73 |
} |
| 74 |
] |
| 75 |
}, |
| 76 |
"views": { |
| 77 |
"oxygenhub": [ |
| 78 |
{ |
| 79 |
"id": "oxygenhub.proposals", |
| 80 |
"name": "Proposals" |
| 81 |
}, |
| 82 |
{ |
| 83 |
"id": "oxygenhub.issues", |
| 84 |
"name": "Issues" |
| 85 |
}, |
| 86 |
{ |
| 87 |
"id": "oxygenhub.releases", |
| 88 |
"name": "Releases" |
| 89 |
} |
| 90 |
] |
| 91 |
}, |
| 92 |
"viewsWelcome": [ |
| 93 |
{ |
| 94 |
"view": "oxygenhub.proposals", |
| 95 |
"contents": "Sign in to an OxygenHub to see proposals.\n[Sign in](command:oxygenhub.signIn)" |
| 96 |
} |
| 97 |
], |
| 98 |
"commands": [ |
| 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 |
{ |
| 116 |
"command": "oxygenhub.inbox", |
| 117 |
"title": "Open Inbox", |
| 118 |
"category": "OxygenHub", |
| 119 |
"icon": "$(bell)" |
| 120 |
}, |
| 121 |
{ |
| 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 |
{ |
| 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 |
{ |
| 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)" |
| 180 |
}, |
| 181 |
{ |
| 182 |
"command": "oxygenhub.draftRelease", |
| 183 |
"title": "Draft Release\u2026", |
| 184 |
"category": "OxygenHub", |
| 185 |
"icon": "$(tag)" |
| 186 |
}, |
| 187 |
{ |
| 188 |
"command": "oxygenhub.issueFromSelection", |
| 189 |
"title": "New Issue from Selection\u2026", |
| 190 |
"category": "OxygenHub" |
| 191 |
}, |
| 192 |
{ |
| 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 |
} |
| 232 |
], |
| 233 |
"menus": { |
| 234 |
"view/title": [ |
| 235 |
{ |
| 236 |
"command": "oxygenhub.refresh", |
| 237 |
"when": "view == oxygenhub.proposals || view == oxygenhub.issues || view == oxygenhub.releases", |
| 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", |
| 248 |
"group": "navigation" |
| 249 |
}, |
| 250 |
{ |
| 251 |
"command": "oxygenhub.draftRelease", |
| 252 |
"when": "view == oxygenhub.releases", |
| 253 |
"group": "navigation" |
| 254 |
} |
| 255 |
], |
| 256 |
"view/item/context": [ |
| 257 |
{ |
| 258 |
"command": "oxygenhub.openProposalChanges", |
| 259 |
"when": "view == oxygenhub.proposals && viewItem == proposal", |
| 260 |
"group": "inline" |
| 261 |
}, |
| 262 |
{ |
| 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" |
| 316 |
}, |
| 317 |
{ |
| 318 |
"command": "oxygenhub.draftRelease", |
| 319 |
"when": "view == oxygenhub.releases && viewItem == releaseRepo", |
| 320 |
"group": "inline" |
| 321 |
} |
| 322 |
], |
| 323 |
"comments/commentThread/context": [ |
| 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 |
} |
| 334 |
], |
| 335 |
"comments/commentThread/title": [ |
| 336 |
{ |
| 337 |
"command": "oxygenhub.resolveThread", |
| 338 |
"when": "commentController == oxygenhub", |
| 339 |
"group": "navigation" |
| 340 |
} |
| 341 |
], |
| 342 |
"commandPalette": [ |
| 343 |
{ |
| 344 |
"command": "oxygenhub.openProposalFile", |
| 345 |
"when": "false" |
| 346 |
} |
| 347 |
], |
| 348 |
"editor/context": [ |
| 349 |
{ |
| 350 |
"command": "oxygenhub.issueFromSelection", |
| 351 |
"when": "resourceScheme == file", |
| 352 |
"group": "9_oxygenhub@1" |
| 353 |
} |
| 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 .", |
| 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", |
| 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 |
} |