Skip to content

chore(deps): bump packages and preserve agents init note styling#186

Merged
SutuSebastian merged 7 commits into
mainfrom
chore/deps-bump-jun-2026
Jul 7, 2026
Merged

chore(deps): bump packages and preserve agents init note styling#186
SutuSebastian merged 7 commits into
mainfrom
chore/deps-bump-jun-2026

Conversation

@SutuSebastian

@SutuSebastian SutuSebastian commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Deps bump (run via the new upgrade-packages skill below):

  • @clack/prompts 1.6.0 → 1.7.0
  • oxc-parser 0.137.0 → 0.139.0
  • oxc-resolver 11.21.3 → 11.23.0
  • package-manager-detector 1.6.0 → 1.7.0
  • @typescript/native-preview 7.0.0-dev.20260706.1 → 20260707.2
  • oxfmt 0.57.0 → 0.58.0, oxlint 1.72.0 → 1.73.0

Tooling: adopt the upgrade-packages skill + evidence script (scripts/upgrade-packages/) — a delta-driven dep-upgrade workflow (script gathers release deltas, GHSA advisories, codemap usage sites into one JSON artifact; agent reads + judges). Ported from merchant-dashboard-v2, adapted to codemap's CI mirror. Dir-local .gitignore handles its own transient artifact.json + .cache/.

Formatting: oxfmt 0.58 drops the for-loop trailing space and markdown table cell padding; reformatted src/worker-pool.ts + docs/plans/perf-triangulation-rollout.md. Also fixed a pre-existing broken markdown table in that plan doc (unescaped | in a cell + phantom 3rd separator column).

Pre-existing (from initial branch commit): preserve dim note() body text in codemap agents init --interactive after @clack/prompts 1.6 changed the default formatter. hono/js-yaml/qs/zod overrides unchanged.

Security

GHSA zod (GHSA-m95q-7qp3-xv42, CVE-2023-4316) — cleared-at-current (installed 4.4.3 > fixed-in 3.22.3). bun audit clean.

Test plan

  • bun run check (build, format:check, lint:ci, test, test:scripts, typecheck, test:golden, test:agent-eval)
  • bun run build
  • bun audit — no vulnerabilities
  • CI green

Refresh runtime and toolchain deps to latest, and keep dim note() text
in agents init after @clack/prompts 1.6 changed the default formatter.
@changeset-bot

changeset-bot Bot commented Jun 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cc29511

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stainless-code/codemap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@SutuSebastian, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 55 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e624b7e2-0bd8-42b0-9962-a89b18d4c504

📥 Commits

Reviewing files that changed from the base of the PR and between d368004 and cc29511.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (11)
  • .agents/skills/upgrade-packages/REFERENCE.md
  • .agents/skills/upgrade-packages/SKILL.md
  • .changeset/deps-bump-clack-oxc.md
  • .cursor/skills/upgrade-packages
  • .oxfmtrc.json
  • docs/plans/perf-triangulation-rollout.md
  • package.json
  • scripts/upgrade-packages/.gitignore
  • scripts/upgrade-packages/evidence.ts
  • src/agents-init-interactive.test.ts
  • src/worker-pool.ts
📝 Walkthrough

Walkthrough

Bumps several runtime and dev dependencies (@clack/prompts to 1.6.0, oxc-parser, oxc-resolver, and dev tooling), then adds a dimNote formatter in agents-init-interactive.ts using styleText from node:util to restore dim styling for note body text after @clack/prompts v1.6 changed its defaults. A changeset documents the patch release.

Changes

Dependency bumps and clack styling fix

Layer / File(s) Summary
Dependency version bumps and changeset
package.json, .changeset/deps-bump-clack-oxc.md
@clack/prompts, oxc-parser, oxc-resolver bumped in dependencies; @types/node, @typescript/native-preview, lint-staged, oxfmt, oxlint, tsdown bumped in devDependencies; changeset documents the patch release.
dimNote formatter for clack v1.6 compatibility
src/agents-init-interactive.ts
Imports styleText from node:util, defines dimNote formatter, and passes it to both note() calls to preserve dim body text styling.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐇 A bump here, a bump there,
versions fresh beyond compare!
Clack changed its style, oh no, oh my—
dimNote keeps the text just right.
Hop along, the CI's green,
sleekest rabbit you have seen! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the dependency bumps and the note styling fix in this PR.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/deps-bump-jun-2026

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/agents-init-interactive.ts`:
- Around line 1-2: The CLI startup path in agents-init-interactive.ts uses
node:util.styleText, which breaks on Bun versions below 1.0.31. Update the Bun
engine requirement to match the minimum needed for styleText, or replace
styleText usage with a compatible fallback in the relevant startup/init code so
the path works on the currently advertised Bun range.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9e684a8c-a4b7-4bb3-9aad-53875119b1f2

📥 Commits

Reviewing files that changed from the base of the PR and between aaa5b3a and d368004.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • .changeset/deps-bump-clack-oxc.md
  • package.json
  • src/agents-init-interactive.ts

Comment thread src/agents-init-interactive.ts
Re-sync bun.lock workspace metadata to pinned versions, consumer-clean
changeset copy, and regression test for agents init note dim styling.
…reformat

- @clack/prompts 1.6.0 → 1.7.0
- oxc-parser 0.137.0 → 0.139.0
- oxc-resolver 11.21.3 → 11.23.0
- package-manager-detector 1.6.0 → 1.7.0
- @typescript/native-preview 7.0.0-dev.20260706.1 → 20260707.2
- oxfmt 0.57.0 → 0.58.0, oxlint 1.72.0 → 1.73.0

oxfmt 0.58 drops for-loop trailing-space and markdown table padding;
reformat src/worker-pool.ts + docs/plans/perf-triangulation-rollout.md.
Also fix a pre-existing broken markdown table in the plan doc (unescaped
pipe in a cell + phantom 3rd separator column).

GHSA zod cleared-at-current (4.4.3 > 3.22.3 fix). bun audit clean.
check + build green.
Delta-driven dependency-upgrade workflow: a script gathers release deltas,
GHSA advisories, and codemap usage sites into one JSON artifact; the agent
reads it and judges. Ported from merchant-dashboard-v2 and adapted to
codemap's CI mirror (bun run check + bun audit blocking on high/critical).

- .agents/skills/upgrade-packages/{SKILL,REFERENCE}.md + .cursor symlink
- scripts/upgrade-packages/evidence.ts — evidence gatherer (gh api +
  bun pm view + codemap usage); HIGH_RISK retuned to codemap deps
  (better-sqlite3, oxc-parser/resolver, lightningcss, zod, mcp sdk,
  chokidar, tsdown)
- scripts/upgrade-packages/.gitignore — dir-local ignore for the
  transient artifact.json + .cache/ (1h TTL gh release/advisory cache)
- package.json — upgrade-packages:evidence script alias
- .oxfmtrc.json — ignore the colocated artifact + cache
agents-init-interactive.ts uses node:util.styleText (introduced in
d368004 to preserve dim note() body text), which Bun added in 1.0.31.
The declared bun engine floor was >=1.0.0 — tighten to match the actual
runtime requirement. Node floor (^20.19.0) already covers styleText
(added in 20.12.0).

CodeRabbit review on #186.
@SutuSebastian SutuSebastian force-pushed the chore/deps-bump-jun-2026 branch from a8290f8 to 0c7b4dc Compare July 7, 2026 09:22
@SutuSebastian SutuSebastian merged commit cdacb91 into main Jul 7, 2026
17 of 34 checks passed
@SutuSebastian SutuSebastian deleted the chore/deps-bump-jun-2026 branch July 7, 2026 09:32
@github-actions github-actions Bot mentioned this pull request Jul 7, 2026
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.

1 participant