Skip to content

Conversation

@nakamorichi
Copy link

@nakamorichi nakamorichi commented Sep 17, 2025

Not a serious PR, but just trying to keep versions up-to-date and consistent (e.g. consistently use the actual node.js version in current vscode). Been running custom build without apparent issues for the past months, so probably it's ok to just update the deps? Particularly, the AI sdk deps should probably be updated?, e.g.:

"@anthropic-ai/bedrock-sdk": "^0.10.2" => "^0.24.0"
"@anthropic-ai/vertex-sdk": "^0.7.0" => "^0.13.2"
"@google/genai": "^1.0.0" =>"^1.20.0"
"@lmstudio/sdk": "^1.1.1" => "^1.5.0"
, etc.

Also, is there active effort for getting rid of @vscode/webview-ui-toolkit? This is like seriously deprecated dependency that should not be used anymore.


Important

Update Node.js and various dependencies across multiple package.json files to ensure consistency and use the latest versions.

  • Dependencies:
    • Update Node.js version to v22.18.0 in .nvmrc and package.json files.
    • Update AI SDK dependencies in src/package.json:
      • @anthropic-ai/bedrock-sdk to ^0.24.0
      • @anthropic-ai/vertex-sdk to ^0.13.2
      • @google/genai to ^1.20.0
      • @lmstudio/sdk to ^1.5.0
    • Update various dependencies in apps/vscode-e2e/package.json, apps/web-evals/package.json, and webview-ui/package.json to latest versions.
  • DevDependencies:
    • Update @types/node to 22.18.0 in multiple package.json files.
    • Update typescript to ^5.9.2 in apps/vscode-e2e/package.json and webview-ui/package.json.
    • Update vitest to ^3.2.4 in several package.json files.
  • Misc:
    • Update pnpm version to 10.16.1 in package.json.

This description was created by Ellipsis for b9dfbab. You can customize this summary. It will automatically update as commits are pushed.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 17, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution! I've reviewed the dependency updates and found several issues that need attention before merging.

@@ -1 +1 @@
v20.19.2
v22.18.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is using Node.js 22 (Current) intentional? Node.js 22 is not an LTS version. For production applications, it's typically recommended to use LTS versions for stability. Node.js 20 is the current LTS and will be supported until April 2026. Could we consider sticking with Node.js 20 LTS instead?

"default-shell": "^2.2.0",
"delay": "^6.0.0",
"diff": "^5.2.0",
"diff": "^8.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

The update from diff@^5.2.0 to diff@^8.0.2 is a significant jump (3 major versions). Have you verified that this doesn't introduce any breaking changes in how diffs are generated or processed in the codebase?

Copy link
Author

Choose a reason for hiding this comment

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

I dunno, but I've been using the build without issues.

"@mistralai/mistralai": "^1.9.18",
"@modelcontextprotocol/sdk": "1.12.0",
"@qdrant/js-client-rest": "^1.14.0",
"@anthropic-ai/bedrock-sdk": "^0.24.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

These AI SDK updates are quite significant:

  • @anthropic-ai/bedrock-sdk: ^0.10.2 → ^0.24.0
  • @anthropic-ai/vertex-sdk: ^0.7.0 → ^0.13.2
  • @google/genai: ^1.0.0 → ^1.20.0

Have you tested that these updates don't break any existing AI provider integrations? Major version bumps often include API changes.

Copy link
Author

@nakamorichi nakamorichi Sep 17, 2025

Choose a reason for hiding this comment

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

Been using the build on my machine for the past few months. If someone depends on some legacy functionality, there's high possibility that the AI providers have already dropped the support anyway. I.e., the risk of continuing to use old SDK version is higher than upgrading the version, in my opinion.

"turndown": "^7.2.0",
"uuid": "^11.1.0",
"turndown": "^7.2.1",
"uuid": "^13.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

The uuid package jumped from ^11.1.0 to ^13.0.0 (2 major versions). Could you confirm this doesn't introduce any breaking changes in UUID generation or validation?

Copy link
Author

Choose a reason for hiding this comment

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

Haven't bumped into issues.

"sourceMap": true,
"strict": true,
"target": "ES2022",
"target": "esnext",
Copy link
Contributor

Choose a reason for hiding this comment

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

Changing the compilation target from "ES2022" to "esnext" enables the latest JavaScript features but might affect compatibility with older environments. Is this change necessary for the dependency updates, or could we keep "ES2022" for better compatibility?

Copy link
Author

Choose a reason for hiding this comment

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

You sound like AI; backward compatibility in vscode extensions is like totally irrelevant. Who would keep vscode not updated?

"@types/qrcode": "^1.5.5",
"@vscode/codicons": "^0.0.36",
"@vscode/codicons": "^0.0.40",
"@vscode/webview-ui-toolkit": "^1.4.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Good point about @vscode/webview-ui-toolkit being deprecated! While this PR doesn't address it, should we create a follow-up issue to track its removal and migration to an alternative solution?

Copy link
Author

Choose a reason for hiding this comment

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

This is not an easy thing to solve, so I don't really have opinion. I hope someone with more knowledge could address the issue.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 17, 2025
@daniel-lxs
Copy link
Member

We would prefer to use the PRs created by our bot that give us details about the new versions. We appreciate the interest and your contribution.

@daniel-lxs daniel-lxs closed this Sep 22, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Sep 22, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants