Skip to content

Relax Bun version requirements#237

Merged
adolago merged 2 commits intodevfrom
fix/relax-bun-version
Feb 7, 2026
Merged

Relax Bun version requirements#237
adolago merged 2 commits intodevfrom
fix/relax-bun-version

Conversation

@adolago
Copy link
Owner

@adolago adolago commented Feb 7, 2026

Summary

  • Use semver.satisfies() with ^ range instead of exact string match for Bun version check in the build script
  • Allows compatible newer Bun versions (e.g. 1.3.6, 1.4.x) without failing the build
  • Adds semver + @types/semver as dev dependencies

Closes #222

Test plan

  • bun install resolves cleanly
  • bun run build succeeds
  • ./script/verify-binary.sh passes
  • Error message shows range (bun@^1.3.5) when version is incompatible

Generated with Claude Code

adolago and others added 2 commits February 7, 2026 08:31
Use semver range (^1.3.5) instead of exact match so newer compatible
Bun versions work without failing the build script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adolago adolago merged commit 6574a0b into dev Feb 7, 2026
1 of 5 checks passed
@adolago adolago deleted the fix/relax-bun-version branch February 7, 2026 07:34
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1ba955bf4c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 1 to +3
import { $ } from "bun"
import path from "path"
import { satisfies } from "semver"

Choose a reason for hiding this comment

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

P2 Badge Add semver dependency to agent-core package

The new import { satisfies } from "semver" is in the packages/agent-core package, but semver is only added to the root package.json. Following the package’s own instructions (packages/agent-core/AGENTS.md says bun install from that directory), bun run build will fail with a module-not-found error because packages/agent-core/package.json does not declare semver (or @types/semver). This breaks local builds unless you install at the repo root; consider adding the dependency to packages/agent-core so package-local installs work.

Useful? React with 👍 / 👎.

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.

Port upstream config: relax Bun version requirements

1 participant