Skip to content

update - #1184

Merged
isamu merged 1 commit into
receptron:mainfrom
isamu:updatePackage20250811
Aug 11, 2025
Merged

update#1184
isamu merged 1 commit into
receptron:mainfrom
isamu:updatePackage20250811

Conversation

@isamu

@isamu isamu commented Aug 11, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Updated SDKs: Anthropic to 0.59.0; Groq to 0.30.0.
    • Updated libraries: tiktoken to 1.0.22; yaml to 2.8.1.
    • Dev tooling upgrades: @types/node to 24.2.1; eslint to 9.33.0; typescript-eslint to 8.39.0; typedoc to 0.28.10.
    • No changes to public APIs or functionality expected.

@coderabbitai

coderabbitai Bot commented Aug 11, 2025 •

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@isamu has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 16 minutes and 29 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 65700aa and 9719c45.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (6)
  • llm_agents/anthropic_agent/package.json (1 hunks)
  • llm_agents/groq_agent/package.json (1 hunks)
  • llm_agents/token_bound_string_agent/package.json (1 hunks)
  • package.json (2 hunks)
  • packages/graphai/package.json (1 hunks)
  • packages/test_utils/package.json (1 hunks)

Walkthrough

Dependency version bumps across multiple package.json files: SDK updates for Anthropic and Groq agents, tokenizer update for token_bound_string agent, YAML patch updates in root and test_utils, and dev tooling bumps (eslint, @types/node, typescript-eslint, typedoc). No code or API surface changes indicated.

Changes

Cohort / File(s) Summary
LLM agent SDK bumps
llm_agents/anthropic_agent/package.json, llm_agents/groq_agent/package.json
Updated SDK versions: @anthropic-ai/sdk ^0.57.0 → ^0.59.0; groq-sdk ^0.29.0 → ^0.30.0.
Tokenizer dependency bump
llm_agents/token_bound_string_agent/package.json
tiktoken ^1.0.21 → ^1.0.22.
YAML dependency patches
package.json, packages/test_utils/package.json
yaml ^2.8.0 → ^2.8.1 in root and test_utils.
Dev tooling updates
package.json, packages/graphai/package.json
Root devDeps: @types/node ^24.1.0 → ^24.2.1; eslint ^9.32.0 → ^9.33.0; typescript-eslint ^8.38.0 → ^8.39.0. GraphAI devDep: typedoc ^0.28.9 → ^0.28.10.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • update #1176 — Also bumps typedoc in packages/graphai/package.json in a subsequent version step.
  • update packages #1175 — Sequential dependency updates overlapping with root devDeps and typedoc adjustments.
  • update package #1169 — Prior round of root devDependencies bumps for @types/node, eslint, and typescript-eslint.

Poem

I nudge the versions, hop by hop,
Tiny ticks in the carrot crop,
SDKs fresh, the YAML neat,
Dev tools trimmed for a swifter beat.
With every bump my whiskers twitch—
Patch by patch, we cross the ditch. 🥕🐇

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 120b8e2 and 65700aa.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (6)
  • llm_agents/anthropic_agent/package.json (1 hunks)
  • llm_agents/groq_agent/package.json (1 hunks)
  • llm_agents/token_bound_string_agent/package.json (1 hunks)
  • package.json (2 hunks)
  • packages/graphai/package.json (1 hunks)
  • packages/test_utils/package.json (1 hunks)
🔇 Additional comments (6)
llm_agents/groq_agent/package.json (1)

31-31: groq-sdk 0.30.0 bump – interop & API review

Everything in the registry metadata and your imports lines up, and your lockfile shows the new 0.30.0 entry. Before merging, please:

• Confirm the wildcard “./*” exports cover all subpaths you import (e.g. resources/chat/completions).
• Run your full test suite (and any live examples) to catch any breaking API changes since your previous 0.5.x usage.
• Verify there are no runtime ESM/CJS interop errors in your agents.

llm_agents/token_bound_string_agent/package.json (1)

28-28: [email protected] has no native build requirements

Registry metadata for version 1.0.22 shows no gypfile, os/cpu or engines constraints, and no optionalDependencies—indicating it ships as pure JS/WASM with no native compilation or prebuilt binaries. No changes to CI toolchains are needed.

packages/graphai/package.json (1)

32-32: typedoc 0.28.10 and typedoc-plugin-markdown Compatibility Verified
All peerDependencies align with our setup; doc generation should continue to work as before.

• [email protected] peerDependencies: typescript 5.0.x – 5.9.x (we use 5.9.2)
• [email protected] requires typedoc 0.28.x (we have 0.28.10)
• Node engine >=18 – matches our environment

No changes required—just ensure your local/CI docs build still passes.

llm_agents/anthropic_agent/package.json (1)

30-30: CJS entrypoints confirmed: @anthropic-ai/[email protected] provides both require & import exports—no ESM-only break

  • Registry metadata shows "type": "commonjs" with dual exports (require→.js, import→.mjs) for all entrypoints
  • TS code using import Anthropic from "@anthropic-ai/sdk" and compiled CJS (__importDefault(require(...))) remain compatible
  • No runtime or bundler interop issues introduced

No code changes required. Just ensure your lockfile is updated and CI’s typecheck and smoke tests pass.

packages/test_utils/package.json (1)

28-28: LGTM: yaml bumped to ^2.8.1.

Patch update; looks good. Please run workspace tests to confirm no regressions.

package.json (1)

42-42: LGTM: yaml bumped to ^2.8.1 at root.

Patch update; fine to merge after CI passes.

Comment thread package.json
Comment on lines +22 to +23
"@types/node": "^24.2.1",
"eslint": "^9.33.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.

💡 Verification agent

🧩 Analysis chain

Ensure ESLint 9.33 and typescript-eslint 8.39 compatibility and Node engine.

Verify:

  • typescript-eslint peer ranges accept ESLint 9.33 and TS ^5.9.2.
  • ESLint 9’s Node engine is satisfied by CI/runtime Node.
  • Config uses Flat Config (ESLint 9 no longer supports legacy).

Also applies to: 31-31


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== eslint engines (9.33.0) =="
curl -s https://registry.npmjs.org/eslint \
| jq -r '.versions["9.33.0"] | {engines}'

echo
echo "== typescript-eslint peer deps (8.39.0) =="
curl -s https://registry.npmjs.org/typescript-eslint \
| jq -r '.versions["8.39.0"] | {peerDependencies, peerDependenciesMeta}'

Length of output: 608


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== engines.node in package.json =="
jq -r '.engines.node // "not defined"' package.json

echo
echo "== TypeScript version in package.json =="
jq -r '.devDependencies.typescript // .dependencies.typescript // "not defined"' package.json

echo
echo "== ESLint config files =="
find . -maxdepth 2 -type f \( -name "eslint.config.*" -o -name ".eslintrc*" \)

Length of output: 550


Add Node engine declaration and confirm ESLint/TypeScript ranges

All peer-dependency checks pass, but you need to explicitly declare the supported Node runtime and ensure CI matches ESLint’s engine requirement:

• [email protected]
– eslint: ^8.57.0 || ^9.0.0 → 9.33.0 is in range
– typescript: >=4.8.4 <6.0.0 → ^5.9.2 is in range
• [email protected] engines.node: ^18.18.0 || ^20.9.0 || >=21.1.0
– package.json has no “engines.node” field; please add one and confirm CI/runtime uses ≥18.18.0.
• Config file detected: config/eslint.config.base.mjs (flat config)—no legacy .eslintrc in use.

Suggested diff in package.json:

 {
   …
+  "engines": {
+    "node": ">=18.18.0"
+  },
   "devDependencies": {
     "@types/node": "^24.2.1",
     "eslint": "^9.33.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@types/node": "^24.2.1",
"eslint": "^9.33.0",
"engines": {
"node": ">=18.18.0"
},
"devDependencies": {
"@types/node": "^24.2.1",
"eslint": "^9.33.0",
// … other devDependencies …
},
🤖 Prompt for AI Agents
In package.json around lines 22-23, there is no "engines.node" declaration which
is required because [email protected] requires Node >=18.18.0 (or matching caret
ranges); add an "engines" field (e.g., "engines": { "node": ">=18.18.0" }) to
package.json and ensure CI/workflow config (GitHub Actions / Dockerfiles / build
images) uses a Node runtime >=18.18.0 (update matrix or image tags if necessary)
so ESLint/TypeScript engine requirements are satisfied; keep TypeScript and
ESLint version ranges as-is since they are compatible.

@isamu
isamu force-pushed the updatePackage20250811 branch from b3bb24c to 9719c45 Compare August 11, 2025 06:43
@isamu
isamu merged commit 32c8555 into receptron:main Aug 11, 2025
This was referenced Aug 14, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Oct 20, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Jan 17, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Jan 29, 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