Repository navigation
chore(deps): refresh dependencies and move CI to Bun 1.4.2 - #7
Merged
Merged
Conversation
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
This was referenced Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshes dependencies, moves CI to Bun 1.4.2, fixes
/lsp warmupfor custom servers, and bumps the version to 0.2.0 (minor, because #5 added a contributor feature).Fixes #6
Fixes #4
Version changes
vscode-jsonrpc^8.2.1^9.0.2(major)@biomejs/biome2.5.52.5.14vitest^4.1.55.0.1(major)typescript^7.0.27.0.2@types/node^22.10.526.6.2(major)@typescript/native-preview^7.0.0-dev.20260120.17.0.0-dev.20260707.2@earendil-works/pi-ai0.87.1@earendil-works/pi-coding-agent0.87.1@earendil-works/pi-tui0.87.1@earendil-works/pi-ai/pi-coding-agent/pi-tui**(unchanged)typebox*node>=20.0.0>=22.19.0Major upgrades:
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.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 --writeupdated the schema to 2.5.14 (recommended: true->preset: "recommended"). The only new findings were import-order fixes; no rules were disabled.CI
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.npm-consumer: ubuntu-latest, node 22,npm cithennpm test.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
/lsp warmuprejects custom servers from.pi/lsp-client.json#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
findServerForExtension(), validates their values, and removes the comments from the README JSON example.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, andnpm pack --dry-runall exit 0.Summary by cubic
Refreshes dependencies, moves CI to Bun 1.4.2, fixes
/lsp warmupso 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.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.@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.Written for commit 13b1e95. Summary will update on new commits.