chore(deps): refresh dependencies and move CI to Bun 1.4.2

Merged
CO
2mo ago
+2540-2018

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).

Fixes #6
Fixes #4

Version changes

packagefieldoldnew
vscode-jsonrpcdependencies^8.2.1^9.0.2 (major)
@biomejs/biomedevDependencies2.5.52.5.14
vitestdevDependencies^4.1.55.0.1 (major)
typescriptdevDependencies^7.0.27.0.2
@types/nodedevDependencies^22.10.526.6.2 (major)
@typescript/native-previewdevDependencies^7.0.0-dev.20260120.17.0.0-dev.20260707.2
@earendil-works/pi-aidevDependencies-0.87.1
@earendil-works/pi-coding-agentdevDependencies-0.87.1
@earendil-works/pi-tuidevDependencies-0.87.1
@earendil-works/pi-ai / pi-coding-agent / pi-tuipeerDependencies** (unchanged)
typeboxpeerDependencies*removed
nodeengines>=20.0.0>=22.19.0

Major upgrades:

  • vscode-jsonrpc 9: the package now resolves subpaths through exports, and vscode-jsonrpc/node.js no longer exists, so src/lsp/transport.ts and test/transport.test.ts import vscode-jsonrpc/node. The full unit suite passes. The repo has no integration tests (test/integration doesn't exist), so I also ran diagnostics, goto-definition and find-references end to end through the real tools against a local typescript-language-server. All three passed.
  • vitest 5: no test changes were needed.
  • typebox peer removed: Type is 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 ci then npm 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.lock is added, and package-lock.json is refreshed for the npm consumer path. There is no packageManager field.

Fixes

  • #4: runWarmup() now resolves ids through getMergedServers() instead of only BUILTIN_SERVERS. A regression test (test/warmup-command.test.ts) drives the /lsp warmup command 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-jsonrpc upgrades 8→9; imports now use the vscode-jsonrpc/node subpath since vscode-jsonrpc/node.js was removed.
  • The typebox peer is dropped; Type now comes from @earendil-works/pi-ai.
  • engines.node raised 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 warmup now resolves server ids through the merged config (builtins plus custom from lsp-client.json), covered by a new regression test.