| name | lib-updater |
| description | Update dependencies with changelog review. Use when updating npm packages or libraries. |
Update the Anthropic Agent SDK, MCP library, and OpenAI Codex SDK to their latest versions, showing changelogs.
Libraries to Update
- @anthropic-ai/claude-agent-sdk - Located in root
package.json
- @modelcontextprotocol/sdk - Located in
packages/electron/package.json
- @openai/codex-sdk - Located in
packages/runtime/package.json
Steps
- Check current versions by reading the package.json files
- Fetch latest versions from npm:
- Run
npm view @anthropic-ai/claude-agent-sdk version to get latest
- Run
npm view @modelcontextprotocol/sdk version to get latest
- Run
npm view @openai/codex-sdk version to get latest
- Get changelogs for all packages:
- Report the changes - Show what changed between the current version and latest for each library. For the Agent SDK, include relevant CLI changes that affect the SDK.
- Update the versions in the respective package.json files:
- Update
@anthropic-ai/claude-agent-sdk version in root package.json (use exact version, no caret)
- Update
@modelcontextprotocol/sdk version in packages/electron/package.json (use caret prefix)
- Update
@openai/codex-sdk version in packages/runtime/package.json (use caret prefix)
- Run npm install at the repository root to update package-lock.json
- Verify the updates were successful by checking the installed versions
- Commit the changes - Create a git commit with the updated dependencies. The commit message should summarize which packages were updated and their version changes (e.g., "deps: update claude-agent-sdk 1.0.0 -> 1.1.0, mcp-sdk 2.0.0 -> 2.1.0"). Stage only the relevant files:
package.json, packages/electron/package.json, packages/runtime/package.json, and package-lock.json.
Output Format
Present the findings in this format:
@anthropic-ai/claude-agent-sdk
- Current: [version]
- Latest: [version]
- Changes:
- [List notable changes from release notes]
@modelcontextprotocol/sdk
- Current: [version]
- Latest: [version]
- Changes:
- [List notable changes from release notes]
@openai/codex-sdk
- Current: [version]
- Latest: [version]
- Changes:
- [List notable changes from release notes]
If any package is already at the latest version, note that no update is needed.