Repository navigation
feat(vscode): vsix packaging and cursor/windsurf docs - #155
Merged
Merged
Conversation
Add a package script that bundles the extension and the thin client into one CommonJS file with esbuild, stages a minimal manifest named kindling (vsce rejects scoped names and pnpm workspace links) and runs vsce package --no-dependencies. Output: kindling-<version>.vsix. The release workflow gains a package-vsix job, gated on published releases only, that attaches the VSIX and a SHA256 sidecar.
Add a Cursor and Windsurf quickstart covering the kindling binary prerequisite, building the VSIX and Install from VSIX. Link it from the README, the integrations matrix and the extension README, and fix the binary override variable name (KINDLING_BIN, not KINDLING_BINARY).
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.
Summary
Implements C2 (Task 1.2, conversion surface): a buildable VSIX for the editor extension, a Cursor and Windsurf install guide, and a release step that attaches the VSIX.
pnpm --filter @eddacraft/kindling-adapter-vscode run package(newpackagescript +scripts/package-vsix.mjs): bundlessrc/extension.tsand the@eddacraft/kindlingthin client into a single CommonJS file with esbuild (vscodeexternal,import.meta.urlshimmed for the client's schema/binary lookup), stages a minimal manifest namedkindlingwith the schema version file, README and licence, then runsvsce package --no-dependencies. Output:kindling-<version>.vsix(or--out <dir>).vscerejects scoped package names and does not follow pnpm workspace links; the npm package itself is unchanged.@vscode/vsce@^4.0.0,esbuild@^0.27.0(resolves to the already-overridden 0.27.2).release.yml: newpackage-vsixjob,if: github.event_name == 'release'only, so PR/push/dispatch behaviour is unchanged. Checks the VSIX version matches the tag, writes a.sha256sidecar, and attaches both viasoftprops/action-gh-release@v2. Actions pinned to the same majors as the existing workflows. Nothing goes to the Marketplace or Open VSX.docs/quickstart/cursor-windsurf.md; extension README install section rewritten; links fromREADME.mdanddocs/integrations.md. Fixed the README'sKINDLING_BINARYreference to the variable the client actually reads (KINDLING_BIN). Docs only point at a release VSIX conditionally ("if the release lists one"), since no release carries one yet.Testing
pnpm run build,pnpm run lint,pnpm run type-check,pnpm run test: all pass.pnpm --filter @eddacraft/kindling-adapter-vscode run package: produceskindling-0.4.0.vsix(7 files, ~15 KB) with no vsce warnings.vscodemodule with a locally builtkindlingbinary: activation spawned the daemon, a file save was recorded, Search Memory found it, Status reported daemon 0.4.0 / schema 6, and deactivation closed the session.actionlint .github/workflows/release.yml: clean.package-vsixjob itself (runs only on a published release), and a manual install in Cursor/Windsurf.🤖 Generated with Claude Code