Skip to content

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

Merged
code-yeongyu merged 5 commits into
mainfrom
chore/deps-refresh-20260924
Sep 24, 2026
Merged

code-yeongyu merged 5 commits into
mainfrom
chore/deps-refresh-20260924

Conversation

@code-yeongyu

@code-yeongyu code-yeongyu commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

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

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, 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

PR and issue decisions

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.

Written for commit 13b1e95. Summary will update on new commits.

Review in cubic

runWarmup() looked ids up only in BUILTIN_SERVERS, so custom servers
from .pi/lsp-client.json or ~/.pi/lsp-client.json were rejected as
unknown. Resolve through getMergedServers() so warmup matches tool
resolution, including disabled builtins and per-server overrides.

Fixes #4
- devDependencies pinned exact: biome 2.5.14, vitest 5.0.1,
  typescript 7.0.2, @types/node 26.6.2, native-preview
  7.0.0-dev.20260707.2, and pi-ai/pi-coding-agent/pi-tui 0.87.1 so
  tests run against the current upstream runtime
- vscode-jsonrpc ^8.2.1 -> ^9.0.2 (major); import the ./node subpath
  export instead of the removed node.js entry file
- peerDependencies limited to @earendil-works/pi-*; import Type from
  @earendil-works/pi-ai instead of a separate typebox peer
- engines.node >=22.19.0 to match pi-coding-agent
- biome migrate to the 2.5.14 schema
@code-yeongyu
code-yeongyu merged commit 9d029fb into main Sep 24, 2026
7 checks passed
@code-yeongyu
code-yeongyu deleted the chore/deps-refresh-20260924 branch September 24, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: refresh dependencies to latest and move CI to Bun 1.4.2 /lsp warmup rejects custom servers from .pi/lsp-client.json

1 participant