chore(deps): refresh dependencies and move CI to Bun 1.4.2
Merged
CO
2mo ago+2540+2540+0123456789012345678901234567890123456789-2018-2018-0123456789012345678901234567890123456789
Summary
Refreshes dependencies, moves CI to Bun 1.4.2, fixes /lsp warmup for custom servers, and bumps the version to 0.2.0 (minor, because #5 added a contributor feature).
Version changes
| package | field | old | new |
|---|---|---|---|
vscode-jsonrpc | dependencies | ^8.2.1 | ^9.0.2 (major) |
@biomejs/biome | devDependencies | 2.5.5 | 2.5.14 |
vitest | devDependencies | ^4.1.5 | 5.0.1 (major) |
typescript | devDependencies | ^7.0.2 | 7.0.2 |
@types/node | devDependencies | ^22.10.5 | 26.6.2 (major) |
@typescript/native-preview | devDependencies | ^7.0.0-dev.20260120.1 | 7.0.0-dev.20260707.2 |
@earendil-works/pi-ai | devDependencies | - | 0.87.1 |
@earendil-works/pi-coding-agent | devDependencies | - | 0.87.1 |
@earendil-works/pi-tui | devDependencies | - | 0.87.1 |
@earendil-works/pi-ai / pi-coding-agent / pi-tui | peerDependencies | * | * (unchanged) |
typebox | peerDependencies | * | removed |
node | engines | >=20.0.0 | >=22.19.0 |
Major upgrades:
- vscode-jsonrpc 9: the package now resolves subpaths through
exports, andvscode-jsonrpc/node.jsno longer exists, sosrc/lsp/transport.tsandtest/transport.test.tsimportvscode-jsonrpc/node. The full unit suite passes. The repo has no integration tests (test/integrationdoesn't exist), so I also ran diagnostics, goto-definition and find-references end to end through the real tools against a localtypescript-language-server. All three passed. - vitest 5: no test changes were needed.
- typebox peer removed:
Typeis imported from@earendil-works/pi-ai, which re-exports it. That keeps the peer list to@earendil-works/pi-*, and the host's typebox copy is always the one used at runtime.
Biome: biome migrate --write updated the schema to 2.5.14 (recommended: true -> preset: "recommended"). The only new findings were import-order fixes; no rules were disabled.
CI
- Job
test: ubuntu-latest and macos-latest x node 22 and 24. Steps:actions/checkout@v7,actions/setup-node@v7,oven-sh/setup-bun@v2(bun 1.4.2),bun install --frozen-lockfile,bun run check,bun run test,npm pack --dry-run. - Job
npm-consumer: ubuntu-latest, node 22,npm cithennpm test. - Node 20 is dropped. On main, node 20 has failed since June with
webidl.util.markAsUncloneable is not a function, which comes from the undici copy inside pi-coding-agent (that package requires node >=22.19). bun.lockis added, andpackage-lock.jsonis refreshed for the npm consumer path. There is nopackageManagerfield.
Fixes
- #4:
runWarmup()now resolves ids throughgetMergedServers()instead of onlyBUILTIN_SERVERS. A regression test (test/warmup-command.test.ts) drives the/lsp warmupcommand handler; it failed before the fix.
PR and issue decisions
- #5 (@mixxer, per-server timeout overrides): merged before this PR. I pushed a follow-up on top that carries the overrides through
findServerForExtension(), validates their values, and removes the comments from the README JSON example. - #3 (multi-server routing and compound suffixes): triaged separately in the issue; out of scope here.
Local gates (Bun 1.4.2, Node 26)
bun install --frozen-lockfile, bun run check, bun run test (86 tests), rm -rf node_modules && npm ci && npm test, and npm pack --dry-run all exit 0.
Summary by cubic
Refreshes dependencies, moves CI to Bun 1.4.2, fixes /lsp warmup so custom servers can be warmed up, and bumps the version to 0.2.0.
Dependencies
vscode-jsonrpcupgrades 8→9; imports now use thevscode-jsonrpc/nodesubpath sincevscode-jsonrpc/node.jswas removed.- The
typeboxpeer is dropped;Typenow comes from@earendil-works/pi-ai. engines.noderaised to>=22.19.0; Node 20 is dropped from CI since it fails on the pinned@earendil-works/pi-coding-agent.- Dev dependencies are pinned exact with the
@earendil-works/pi-*runtime packages added as dev dependencies; CI runs on Bun 1.4.2 across node 22/24 plus a separate npm-consumer job.
Bug Fixes
/lsp warmupnow resolves server ids through the merged config (builtins plus custom fromlsp-client.json), covered by a new regression test.