refactor(hooks): remove Bun runtime dependency completely #190

Merged
jonas.hanisch merged 1 commit from refactor/144-smart-install-cleanup into main 2026-01-24 11:14:10 +00:00
Owner

Summary

Complete removal of Bun runtime dependency. The project uses MikroORM with better-sqlite3 instead of bun:sqlite, so Bun is no longer needed.

Changes

File Change
smart-install.js Remove Bun/uv installation, use npm (402 → 127 lines, 68% reduction)
ci.yml Remove oven-sh/setup-bun step
release.yml Remove oven-sh/setup-bun step
build-plugin.mjs Change shebang to node, remove bun:sqlite external
packages/backend/package.json Remove @types/bun, change scripts to use node
packages/database/package.json Remove @types/bun and bun peerDependency
CLAUDE.md Update debugging examples to use sqlite3 CLI

Test plan

  • pnpm run build - All packages build successfully
  • node scripts/build-plugin.mjs - Plugin builds successfully
  • CI workflow passes without Bun
  • smart-install.js works with npm

Closes #144

🤖 Generated with Claude Code

## Summary Complete removal of Bun runtime dependency. The project uses MikroORM with better-sqlite3 instead of bun:sqlite, so Bun is no longer needed. ## Changes | File | Change | |------|--------| | `smart-install.js` | Remove Bun/uv installation, use npm (402 → 127 lines, **68% reduction**) | | `ci.yml` | Remove `oven-sh/setup-bun` step | | `release.yml` | Remove `oven-sh/setup-bun` step | | `build-plugin.mjs` | Change shebang to node, remove bun:sqlite external | | `packages/backend/package.json` | Remove @types/bun, change scripts to use node | | `packages/database/package.json` | Remove @types/bun and bun peerDependency | | `CLAUDE.md` | Update debugging examples to use sqlite3 CLI | ## Test plan - [x] `pnpm run build` - All packages build successfully - [x] `node scripts/build-plugin.mjs` - Plugin builds successfully - [ ] CI workflow passes without Bun - [ ] smart-install.js works with npm Closes #144 🤖 Generated with [Claude Code](https://claude.com/claude-code)
refactor(hooks): remove obsolete uv/Python/Chroma from smart-install
Some checks failed
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Failing after 3s
CI / validate-plugin (pull_request) Has been skipped
265c68f51e
Chroma is no longer used - the project now uses SQLite FTS5 and
optionally Qdrant for vector search. Bun remains required for
bun:sqlite support.

Changes:
- Remove all uv-related functions (getUvPath, isUvInstalled, getUvVersion, installUv)
- Remove UV_COMMON_PATHS constant
- Remove uv version tracking from install marker
- Update header documentation to reflect current requirements
- Fix Forgejo repository URL in CLAUDE.md (customable/claude-mem)

Reduces script from 402 to 295 lines (~27% reduction).

Closes #144

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch force-pushed refactor/144-smart-install-cleanup from 265c68f51e
Some checks failed
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Failing after 3s
CI / validate-plugin (pull_request) Has been skipped
to 782295bd33
Some checks failed
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Failing after 5s
CI / validate-plugin (pull_request) Has been skipped
2026-01-24 11:05:34 +00:00
Compare
jack changed title from refactor(hooks): remove obsolete uv/Python/Chroma from smart-install to refactor(hooks): remove Bun runtime dependency completely 2026-01-24 11:05:59 +00:00
jonas.hanisch force-pushed refactor/144-smart-install-cleanup from 782295bd33
Some checks failed
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Failing after 5s
CI / validate-plugin (pull_request) Has been skipped
to dc264de4e3
Some checks failed
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Failing after 23s
CI / validate-plugin (pull_request) Has been skipped
2026-01-24 11:06:33 +00:00
Compare
jonas.hanisch force-pushed refactor/144-smart-install-cleanup from dc264de4e3
Some checks failed
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Failing after 23s
CI / validate-plugin (pull_request) Has been skipped
to 1a73b8664c
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 34s
CI / validate-plugin (pull_request) Successful in 27s
2026-01-24 11:11:16 +00:00
Compare
jonas.hanisch force-pushed refactor/144-smart-install-cleanup from 1a73b8664c
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 34s
CI / validate-plugin (pull_request) Successful in 27s
to bfd4313934
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 34s
CI / validate-plugin (pull_request) Successful in 27s
2026-01-24 11:11:40 +00:00
Compare
jonas.hanisch deleted branch refactor/144-smart-install-cleanup 2026-01-24 11:14:10 +00:00
Sign in to join this conversation.
No description provided.