Package Git-Ape as a VS Code extension (VSIX)#54
Merged
Conversation
4 tasks
- Add extension/package.template.json with VS Code manifest declaring all agents and skills - Add extension/.vscodeignore to exclude build-only files from VSIX - Add git-ape-build.yml workflow for PR builds (packages VSIX as artifact) - Update git-ape-release.yml to package VSIX and upload to GitHub Release - Update .gitignore with extension build artifacts and docs/docusaurus/ Agent-Logs-Url: https://github.com/Azure/git-ape/sessions/9de131a3-c177-497d-9325-a5082490e66f Co-authored-by: arnaudlh <20535201+arnaudlh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add CI/CD workflows to package Git-Ape as a VS Code extension
Package Git-Ape as a VS Code extension (VSIX)
May 6, 2026
- chatAgents/chatSkills entries use { "path": ... } shape per VS Code
chat extension spec; previous {id,name,description,instructions} shape
was rejected by the runtime
- add extensionKind: [workspace, ui] so the extension activates in
remote/workspace contexts
- bump engines.vscode to ^1.106.1 (chat contributions require 1.106+)
- bump Node to 22 in build and release workflows to match staging
Verified locally: vsce packages 49 files / 1.92 MB with correct schema.
… Marketplace - set publisher ID to Git-APE in package.template.json - add 'Publish to VS Code Marketplace' step to release workflow using vsce publish with VSCE_PAT secret - step is gated on non-prerelease tags only and gracefully skips when VSCE_PAT is not configured Requires repo secret VSCE_PAT (Azure DevOps PAT with Marketplace>Manage scope) on Azure/git-ape.
… step The line was leftover from a copy-paste — TAG is not in the publish step's env scope, and the VSIX is already uploaded to the GitHub release in the prior 'Upload VSIX to release' step.
2773b3d to
11c8fe4
Compare
Adopts Microsoft's official pre-release channel model: - Even minor (0.0.x, 0.2.x, 0.4.x, ...) -> Release channel - Odd minor (0.1.x, 0.3.x, 0.5.x, ...) -> Pre-Release channel (--pre-release) Removes the previous prerelease gate (which used semver -suffix to skip publishing entirely). Semver pre-release suffixes are still skipped because the VS Code Marketplace rejects them outright. Reference: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions
sendtoshailesh
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds CI/CD workflows and extension scaffolding to package Git-Ape as a distributable VSIX, enabling direct installation in VS Code instead of requiring a repo clone.
Extension manifest
extension/package.template.json— declares all 8 chat agents and 13 chat skills, publisherazure, categoryChatextension/.vscodeignore— excludes build-only files from the packaged VSIXpackage.template.jsonis the source of truth; gets copied topackage.json(gitignored) at build time with version stamped inWorkflows
git-ape-build.yml— runs on PRs touching agents/skills/plugin/extension files. Assembles payload (copiesLICENSE,APE.png,.github/intoextension/), packages VSIX, uploads as artifact.git-ape-release.yml— extended to assemble the extension, stamp the tag version intopackage.jsonviajq, package VSIX, and upload it to the GitHub Release alongside release notes..gitignore
extension/package.json,extension/*.vsix,extension/.github/,extension/LICENSE,extension/APE.png,node_modules/docs/docusaurus/Build flow
Both workflows pass actionlint. Local VSIX build verified (49 files, ~1.9 MB).