singularity-forge/src/resources
Nils Reeh e3e72174fa fix(gsd): use bun for update when installed via Bun (#4145)
When GSD is installed with `bun add -g`, running `gsd update` or
`/gsd update` previously shelled out to `npm install -g`, which fails
with EACCES on systems where npm has no write access to the global
node_modules directory.

Adds `resolveInstallCommand(pkg)` to `update-check.ts` that returns
`bun add -g <pkg>` when `process.versions.bun` is defined (i.e. the
current runtime is Bun), and `npm install -g <pkg>` otherwise.  All
three update paths — `update-cmd.ts`, `commands-handlers.ts`, and the
interactive startup prompt in `update-check.ts` — now use this helper,
including the fallback error message shown to the user.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:52:08 +02:00
..
agents feat(agents): add 8 specialist subagents and slim pro agents 2026-04-12 21:56:40 -05:00
extensions fix(gsd): use bun for update when installed via Bun (#4145) 2026-04-14 00:52:08 +02:00
skills fix(gsd): enforce anti-fabrication turn-taking in discuss prompts 2026-04-12 00:04:08 -05:00
GSD-WORKFLOW.md fix(gsd): enforce anti-fabrication turn-taking in discuss prompts 2026-04-12 00:04:08 -05:00