{ "name": "oxygenhub-vscode", "displayName": "OxygenHub", "description": "Proposals, reviews, issues and checks from an OxygenHub, in the editor. Builds on the Oxygen extension.", "version": "0.6.2", "publisher": "andymccall", "license": "MIT OR Apache-2.0", "icon": "assets/images/oxygenhub.png", "engines": { "vscode": "^1.137.0" }, "categories": [ "SCM Providers", "Other" ], "keywords": [ "oxygen", "oxygenhub", "review", "proposals", "issues" ], "extensionDependencies": [ "oxygen.oxygen-vscode" ], "activationEvents": [ "workspaceContains:.oxy/format", "onAuthenticationRequest:oxygenhub", "onStartupFinished" ], "main": "./dist/extension.js", "contributes": { "authentication": [ { "id": "oxygenhub", "label": "OxygenHub" } ], "configuration": { "title": "OxygenHub", "properties": { "oxygenhub.hubs": { "type": "array", "items": { "type": "string" }, "default": [], "description": "Base URLs of hubs you use (learnt from sign in too)." }, "oxygenhub.proposalBookmarkPrefix": { "type": "string", "default": "proposal/", "description": "Prefix of the local bookmark created when checking out a proposal." }, "oxygenhub.autoRefresh": { "type": "number", "default": 60, "description": "Seconds between view refreshes; 0 disables." }, "oxygenhub.announceNotifications": { "type": "boolean", "default": true, "description": "Show a message when new notifications arrive (checked on the autoRefresh interval)." } } }, "viewsContainers": { "activitybar": [ { "id": "oxygenhub", "title": "OxygenHub", "icon": "assets/images/oxygenhub-activity.svg" } ] }, "views": { "oxygenhub": [ { "id": "oxygenhub.proposals", "name": "Proposals" }, { "id": "oxygenhub.issues", "name": "Issues" }, { "id": "oxygenhub.releases", "name": "Releases" } ] }, "viewsWelcome": [ { "view": "oxygenhub.proposals", "contents": "Sign in to an OxygenHub to see proposals.\n[Sign in](command:oxygenhub.signIn)" } ], "commands": [ { "command": "oxygenhub.signIn", "title": "Sign in", "category": "OxygenHub" }, { "command": "oxygenhub.signOut", "title": "Sign out", "category": "OxygenHub" }, { "command": "oxygenhub.refresh", "title": "Refresh", "category": "OxygenHub", "icon": "$(refresh)" }, { "command": "oxygenhub.inbox", "title": "Open Inbox", "category": "OxygenHub", "icon": "$(bell)" }, { "command": "oxygenhub.openProposal", "title": "Open Proposal", "category": "OxygenHub" }, { "command": "oxygenhub.openOnHub", "title": "Open on Hub", "category": "OxygenHub", "icon": "$(link-external)" }, { "command": "oxygenhub.openProposalFile", "title": "Open Proposal File Diff", "category": "OxygenHub" }, { "command": "oxygenhub.openProposalChanges", "title": "View Changes", "category": "OxygenHub", "icon": "$(diff-multiple)" }, { "command": "oxygenhub.checkoutProposal", "title": "Check Out Proposal", "category": "OxygenHub", "icon": "$(git-branch)" }, { "command": "oxygenhub.review", "title": "Review\u2026", "category": "OxygenHub", "icon": "$(comment-discussion)" }, { "command": "oxygenhub.sealApproval", "title": "Seal My Approval (oxy seal --proposal)", "category": "OxygenHub" }, { "command": "oxygenhub.land", "title": "Land Proposal", "category": "OxygenHub" }, { "command": "oxygenhub.closeProposal", "title": "Close Proposal", "category": "OxygenHub" }, { "command": "oxygenhub.createProposal", "title": "Propose Current Bookmark\u2026", "category": "OxygenHub" }, { "command": "oxygenhub.newIssue", "title": "New Issue\u2026", "category": "OxygenHub", "icon": "$(add)" }, { "command": "oxygenhub.draftRelease", "title": "Draft Release\u2026", "category": "OxygenHub", "icon": "$(tag)" }, { "command": "oxygenhub.issueFromSelection", "title": "New Issue from Selection\u2026", "category": "OxygenHub" }, { "command": "oxygenhub.openIssue", "title": "Open Issue", "category": "OxygenHub" }, { "command": "oxygenhub.commentIssue", "title": "Comment on Issue\u2026", "category": "OxygenHub" }, { "command": "oxygenhub.closeIssue", "title": "Close Issue", "category": "OxygenHub" }, { "command": "oxygenhub.reopenIssue", "title": "Reopen Issue", "category": "OxygenHub" }, { "command": "oxygenhub.assignMe", "title": "Assign to Me", "category": "OxygenHub" }, { "command": "oxygenhub.newThread", "title": "Start Review Thread", "category": "OxygenHub" }, { "command": "oxygenhub.reply", "title": "Reply", "category": "OxygenHub" }, { "command": "oxygenhub.resolveThread", "title": "Resolve", "category": "OxygenHub" } ], "menus": { "view/title": [ { "command": "oxygenhub.refresh", "when": "view == oxygenhub.proposals || view == oxygenhub.issues || view == oxygenhub.releases", "group": "navigation" }, { "command": "oxygenhub.createProposal", "when": "view == oxygenhub.proposals", "group": "navigation" }, { "command": "oxygenhub.newIssue", "when": "view == oxygenhub.issues", "group": "navigation" }, { "command": "oxygenhub.draftRelease", "when": "view == oxygenhub.releases", "group": "navigation" } ], "view/item/context": [ { "command": "oxygenhub.openProposalChanges", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "inline" }, { "command": "oxygenhub.openOnHub", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "inline" }, { "command": "oxygenhub.checkoutProposal", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "inline" }, { "command": "oxygenhub.review", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "inline" }, { "command": "oxygenhub.sealApproval", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "actions@1" }, { "command": "oxygenhub.land", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "actions@2" }, { "command": "oxygenhub.closeProposal", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "actions@3" }, { "command": "oxygenhub.openOnHub", "when": "view == oxygenhub.issues && viewItem == issue", "group": "inline" }, { "command": "oxygenhub.commentIssue", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@1" }, { "command": "oxygenhub.assignMe", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@2" }, { "command": "oxygenhub.closeIssue", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@3" }, { "command": "oxygenhub.reopenIssue", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@3" }, { "command": "oxygenhub.draftRelease", "when": "view == oxygenhub.releases && viewItem == releaseRepo", "group": "inline" } ], "comments/commentThread/context": [ { "command": "oxygenhub.reply", "when": "commentController == oxygenhub", "group": "inline" }, { "command": "oxygenhub.newThread", "when": "commentController == oxygenhub && commentThreadIsEmpty", "group": "inline" } ], "comments/commentThread/title": [ { "command": "oxygenhub.resolveThread", "when": "commentController == oxygenhub", "group": "navigation" } ], "commandPalette": [ { "command": "oxygenhub.openProposalFile", "when": "false" } ], "editor/context": [ { "command": "oxygenhub.issueFromSelection", "when": "resourceScheme == file", "group": "9_oxygenhub@1" } ] } }, "scripts": { "types": "cp ../oxygenhub/crates/hub-api/ts/index.d.ts src/hubapi.d.ts", "build": "esbuild src/extension.ts --bundle --platform=node --format=cjs --external:vscode --outfile=dist/extension.js --sourcemap", "watch": "npm run build -- --watch", "typecheck": "tsc --noEmit -p .", "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", "test": "node --test \"test/**/*.test.mjs\"", "check": "npm run typecheck && npm run build && npm test", "package": "vsce package --no-dependencies" }, "devDependencies": { "@types/node": "^24.0.0", "@types/vscode": "^1.137.0", "@vscode/vsce": "^4.0.0", "esbuild": "^0.28.0", "typescript": "^5.9.0" } }