Skip to content

chore: bump earendil to 0.82.x and all deps to latest - #96

Merged
digby-bw merged 3 commits into
mainfrom
chore/bump-deps-0.82
Jul 28, 2026
Merged

chore: bump earendil to 0.82.x and all deps to latest#96
digby-bw merged 3 commits into
mainfrom
chore/bump-deps-0.82

Conversation

@digby-bw

@digby-bw digby-bw commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps all dependencies to latest versions and fixes breaking API changes in earendil 0.82.x.

Earendil (0.75.5 → 0.82.1)

  • @earendil-works/pi-agent-core
  • @earendil-works/pi-ai
  • @earendil-works/pi-coding-agent

Other notable bumps

  • @linear/sdk 81 → 88.3.0
  • @slack/socket-mode 2 → 3
  • @slack/web-api 7 → 8
  • croner 9 → 10
  • diff 8 → 9
  • file-type 21 → 22
  • pi-mcp-adapter 2.6 → 2.15
  • @biomejs/biome 2.3.5 → 2.5.5
  • @types/node 22 → 26
  • @typescript/native-preview 20260120 → 20260707
  • typescript kept at 5.9.3 (qmd peer dep constraint)
  • vitest 4.1.2 → 4.1.10

Breaking changes fixed (earendil 0.82.x)

  • getModel removed from @earendil-works/pi-ai main export → replaced with getBuiltinModel from @earendil-works/pi-ai/providers/all
  • AuthStorage removed from pi-coding-agent → replaced with ModelRuntime.create()
  • ModelRegistry.create(authStorage) removed → AgentSessionConfig now takes modelRuntime: ModelRuntime directly
  • AgentOptions.streamFn is now required → wired from modelRuntime.streamSimple
  • Biome 2.5.5 flagged a redundant null check in watcher.ts → fixed with optional chain

Test results

234/234 tests passing


Summary by cubic

Upgrades Earendil to 0.82.x and refreshes major deps. Migrates to the new model runtime API with a process‑wide ModelRuntime singleton, fixes a watcher filename edge case, and syncs lockfile peers (graphql, undici) to unblock CI.

  • Dependencies

    • @earendil-works/pi-agent-core, @earendil-works/pi-ai, @earendil-works/pi-coding-agent0.82.1
    • @slack/socket-mode3, @slack/web-api8
    • @linear/sdk88.3.0 (adds peer deps graphql@17, undici@7 in lockfile)
    • pi-mcp-adapter2.15.0
    • @shikijs/markdown-it4.3.1, markdown-it14.3.0
    • croner10, diff9, file-type22, @tobilu/qmd2.5.3, typebox1.3.8
    • Tooling: @biomejs/biome2.5.5, @types/node26, vitest4.1.10
  • Migration

    • Replace getModel with getBuiltinModel from @earendil-works/pi-ai/providers/all.
    • Create a module-level ModelRuntime singleton with ModelRuntime.create() and pass modelRuntime to AgentSessionConfig (replaces AuthStorage/ModelRegistry).
    • Provide AgentOptions.streamFn using modelRuntime.streamSimple.
    • Update getApiKey to accept a provider argument.

Written for commit 834d3c9. Summary will update on new commits.

Review in cubic

@digby-bw
digby-bw enabled auto-merge (squash) July 27, 2026 06:48

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.

Re-trigger cubic

Digby and others added 2 commits July 27, 2026 23:32
npm ci was failing in CI because the @linear/sdk 88.x bump pulls in
graphql@17.0.2 and undici@7.29.0 as peer deps, which were missing from
package-lock.json. Also picks up biome 2.5.5's export-ordering fix in
skills.ts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@digby-bw
digby-bw merged commit e49eac3 into main Jul 28, 2026
5 checks passed
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.

2 participants