Skip to content

Add ccusage dependencies - #429

Merged
shunkakinoki merged 1 commit into
mainfrom
bun-lock-ccusage
Dec 21, 2025
Merged

Add ccusage dependencies#429
shunkakinoki merged 1 commit into
mainfrom
bun-lock-ccusage

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Dec 19, 2025

Copy link
Copy Markdown
Owner

Summary

  • Add @ccusage/codex v17.2.0 to package.json dependencies
  • Add @ccusage/mcp v17.2.0 to package.json dependencies
  • Add ccusage v17.2.0 to package.json dependencies
  • Update bun.lock with new dependencies and their transitive dependencies

Changes

This PR adds the ccusage tool suite for code coverage analysis and MCP (Model Context Protocol) integration. The new dependencies include:

  • Main ccusage package for coverage analysis
  • Codex integration package
  • MCP server package for AI assistant integration

The bun.lock file has been updated to include all new transitive dependencies and pinned versions.


Summary by cubic

Add the ccusage tool suite for code coverage and MCP integration. Adds ccusage, @ccusage/codex, and @ccusage/mcp at v17.2.0, and updates bun.lock with new transitive dependencies.

Written for commit 7322a5e. Summary will update automatically on new commits.

- Add @ccusage/codex v17.2.0
- Add @ccusage/mcp v17.2.0
- Add ccusage v17.2.0
- Update related dependencies via bun.lock
Copilot AI review requested due to automatic review settings December 19, 2025 10:06
@mesa-dot-dev

mesa-dot-dev Bot commented Dec 19, 2025

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Dec 19, 2025

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Added three new project dependencies to the package configuration.

✏️ Tip: You can customize this high-level summary in your review settings.

Walkthrough

Three new dependencies added to package.json: @ccusage/codex, @ccusage/mcp, and ccusage, all at version ^17.2.0. No functional changes or control-flow modifications introduced.

Changes

Cohort / File(s) Change Summary
Dependency Updates
package.json
Added three new package dependencies: @ccusage/codex (^17.2.0), @ccusage/mcp (^17.2.0), and ccusage (^17.2.0)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Verify the package versions (^17.2.0) are intentional and appropriate
  • Check for any potential dependency conflicts with existing packages
  • Confirm these are the correct package names from their respective registries

Poem

🐰 Three new friends have joined the nest,
With ccusage leading the rest,
Codex and mcp hop along,
Version bumps keep us strong,
Dependencies dance—we're blessed! 🎉

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add ccusage dependencies' clearly and accurately summarizes the main change: adding three ccusage-related dependencies to package.json.
Description check ✅ Passed The description is well-related to the changeset, providing clear details about the dependencies being added, their versions, and the purpose of the ccusage tool suite.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bun-lock-ccusage

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 569f392 and 7322a5e.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • package.json (1 hunks)
🧰 Additional context used
📓 Path-based instructions (4)
**/*.{js,ts,jsx,tsx,json}

📄 CodeRabbit inference engine (CLAUDE.md)

Use Biome with 2-space indentation, 80-character line width, double quotes, and trailing commas (ES5) for JSON/JavaScript/TypeScript files

Files:

  • package.json
**/*.{json,yaml,yml,toml}

📄 CodeRabbit inference engine (.cursor/rules/formatting.mdc)

**/*.{json,yaml,yml,toml}: Use consistent indentation (2 spaces) in configuration files
Sort keys alphabetically when possible in configuration files
Use clear, descriptive names in configuration files

Files:

  • package.json
**/*.{js,jsx,ts,tsx,json}

📄 CodeRabbit inference engine (.cursor/rules/formatting.mdc)

**/*.{js,jsx,ts,tsx,json}: Format JavaScript/TypeScript/JSON files using Biome with 2-space indentation and 80 character line width
Enable Biome linter with recommended rules for JavaScript/TypeScript/JSON files

Files:

  • package.json
**/*.{js,jsx,ts,tsx,json,jsonc,md}

📄 CodeRabbit inference engine (.cursor/rules/general.mdc)

Use Biome for code formatting as configured in biome.json

Files:

  • package.json
🧠 Learnings (1)
📚 Learning: 2025-11-25T09:34:40.062Z
Learnt from: CR
Repo: shunkakinoki/dotfiles PR: 0
File: .cursor/rules/general.mdc:0-0
Timestamp: 2025-11-25T09:34:40.062Z
Learning: Applies to **/*.{js,jsx,ts,tsx,json,jsonc,md} : Use Biome for code formatting as configured in biome.json

Applied to files:

  • package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (15)
  • GitHub Check: Agent
  • GitHub Check: cubic · AI code reviewer
  • GitHub Check: shellspec
  • GitHub Check: shellcheck
  • GitHub Check: nix-linux
  • GitHub Check: docker-build-push (linux/arm64, arm64, ubuntu-24.04-arm)
  • GitHub Check: docker-build-push (linux/amd64, amd64, ubuntu-latest)
  • GitHub Check: nix-darwin
  • GitHub Check: nix-nixos
  • GitHub Check: e2e-run (Ubuntu, ubuntu-latest)
  • GitHub Check: e2e-run (NixOS, ubuntu-latest)
  • GitHub Check: lua-neovim-test
  • GitHub Check: e2e-run (MacOS, macos-latest)
  • GitHub Check: lua-hammerspoon
  • GitHub Check: lua-neovim
🔇 Additional comments (3)
package.json (3)

16-17: Packages verified on npm registry. @ccusage/codex at version 17.2.0 was published 4 days ago and @ccusage/mcp at version 17.2.0 was published 5 days ago. Both are legitimate, publicly available packages with no known security vulnerabilities. Alphabetical ordering and version pinning are correct.


25-25: Package ccusage@17.2.0 verified and secure.

The ccusage package at version 17.2.0 is current and was last published 6 days ago. No known security vulnerabilities detected.


30-42: No action needed. The ccusage packages should not be added to trustedDependencies because they do not have lifecycle scripts that require execution during installation. Bun's trustedDependencies array is specifically for packages with postinstall or similar lifecycle scripts that need explicit permission to run.


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 and usage tips.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @shunkakinoki, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates the ccusage tool suite into the project. This suite provides functionalities for code coverage analysis and Model Context Protocol (MCP) integration, enhancing the project's capabilities for code quality assessment and AI assistant integration. The changes primarily involve updating the project's dependency manifest and lock file to include these new tools.

Highlights

  • New Dependencies Added: The @ccusage/codex (v17.2.0), @ccusage/mcp (v17.2.0), and ccusage (v17.2.0) packages have been added to the project's dependencies.
  • Dependency Lock File Update: The bun.lock file has been updated to reflect the newly added dependencies and their associated transitive dependencies, ensuring consistent and pinned versions across the project.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mesa-dot-dev

mesa-dot-dev Bot commented Dec 19, 2025

Copy link
Copy Markdown

Mesa Description

TL;DR

Add ccusage dependencies for code coverage analysis and MCP integration.

What changed?

  • Added @ccusage/codex v17.2.0 to package.json dependencies.
  • Added @ccusage/mcp v17.2.0 to package.json dependencies.
  • Added ccusage v17.2.0 to package.json dependencies.
  • Updated bun.lock with new dependencies and their transitive dependencies.

Description generated by Mesa. Update settings

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds the ccusage suite of tools to the project's dependencies. While the changes are mostly correct, I've identified a couple of points to address. Firstly, the new ccusage dependencies provide command-line tools but haven't been added to trustedDependencies in package.json. This is a high-severity issue as Bun requires this to run installation scripts, and the tools may not function correctly without it. Secondly, a transitive dependency, mime-types, has been upgraded across a major version (v2 to v3), which introduces a medium-severity risk of breaking changes in other parts of the application. Please see my detailed comments for more information on both points.

Comment thread package.json
Comment on lines +16 to +25
"@ccusage/codex": "^17.2.0",
"@ccusage/mcp": "^17.2.0",
"@getgrit/cli": "^0.1.0-alpha.1743007075",
"@github/copilot": "^0.0.369",
"@google/jules": "^0.1.40",
"@nanocollective/nanocoder": "^1.16.3",
"@pulumi/pulumi": "^3.212.0",
"@sourcegraph/amp": "^0.0.1764893126-gb1ffc3",
"@typescript/native-preview": "^7.0.0-dev.20251127.1",
"ccusage": "^17.2.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The new dependencies @ccusage/codex, @ccusage/mcp, and ccusage provide CLI tools (as seen from the bin entries in bun.lock). Bun's security model requires that packages with lifecycle scripts (often used to set up such tools) be explicitly trusted. To ensure these tools are installed correctly and are functional, please add all three ccusage packages to the trustedDependencies array in this file.

Comment thread bun.lock
"mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],

"mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="],
"mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This PR introduces a major version bump for the transitive dependency mime-types (from 2.1.35 to 3.0.2). This carries a risk of introducing breaking changes that could affect other parts of the application relying on this package.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds the ccusage tool suite (version 17.2.0) to enable code coverage analysis and Model Context Protocol (MCP) integration for AI assistants. The changes include adding three new packages to dependencies and updating the lock file with all transitive dependencies.

  • Adds @ccusage/codex, @ccusage/mcp, and ccusage packages at version 17.2.0
  • Updates bun.lock with new transitive dependencies including @hono/mcp, gunshi, nano-spawn, args-tokens, and upgraded mime-types/mime-db versions
  • Resolves zod v4.2.1 and @modelcontextprotocol/sdk v1.25.0 as transitive dependencies

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Adds three ccusage packages (@ccusage/codex, @ccusage/mcp, ccusage) at version ^17.2.0 to dependencies
bun.lock Updates lock file with ccusage packages, their transitive dependencies (including @hono/mcp, gunshi, nano-spawn, args-tokens), and upgrades mime-types/mime-db versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 2 files

@shunkakinoki
shunkakinoki merged commit a99ae05 into main Dec 21, 2025
38 checks passed
@shunkakinoki
shunkakinoki deleted the bun-lock-ccusage branch December 21, 2025 03:24
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