Skip to content

chore: update @typescript/native-preview and vue-tsgo versions#1640

Open
zhangmo8 wants to merge 2 commits into
devfrom
tsgo-upgrade
Open

chore: update @typescript/native-preview and vue-tsgo versions#1640
zhangmo8 wants to merge 2 commits into
devfrom
tsgo-upgrade

Conversation

@zhangmo8
Copy link
Copy Markdown
Collaborator

@zhangmo8 zhangmo8 commented May 18, 2026

Summary by CodeRabbit

  • Chores

    • Updated internal dependencies to newer versions.
  • Bug Fixes

    • Improved agent reset behavior so creating or reselecting an agent now reliably returns the editor to the correct state.
  • Refactor

    • Internal model list typing and caching were cleaned up with no change to visible behavior.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 18, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3272d6b6-1411-4328-8d23-6b3ce11be241

📥 Commits

Reviewing files that changed from the base of the PR and between c23b9df and 37a5e1c.

📒 Files selected for processing (2)
  • src/renderer/settings/components/DeepChatAgentsSettings.vue
  • src/renderer/settings/components/ProviderModelList.vue
✅ Files skipped from review due to trivial changes (1)
  • src/renderer/settings/components/ProviderModelList.vue

📝 Walkthrough

Walkthrough

Bumps two dev dependencies in package.json (@typescript/native-preview, vue-tsgo), refactors resetEditor in DeepChatAgentsSettings to read selectedAgentId and call startCreate() or selectAgent(agentId), and tightens virtual model item typing and helper signatures in ProviderModelList.vue.

Changes

Renderer settings components

Layer / File(s) Summary
Reset editor flow
src/renderer/settings/components/DeepChatAgentsSettings.vue
resetEditor reads selectedAgentId into agentId and conditionally calls startCreate() or selectAgent(agentId).
Virtual model item typing
src/renderer/settings/components/ProviderModelList.vue
VirtualModelListItem 'model' variant now includes explicit metadata fields; added VirtualModelItem alias; getCachedVirtualItem and toRendererModel use the narrowed type.

Development Dependency Updates

Layer / File(s) Summary
Tooling dependency updates
package.json
Bumped @typescript/native-preview from 7.0.0-dev.20260115.1 to 7.0.0-dev.20260518.1 and vue-tsgo from 0.0.1-yggdrasill.11 to 0.2.2.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • zerob13

Poem

🐰 A rabbit nudges deps and types with care,
I hop through reset paths and model metadata there.
Bumps and typings snug in a tidy queue,
Little changes stitched, both old and new. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating two npm package versions (@typescript/native-preview and vue-tsgo). It matches the primary modification in package.json and is clear and concise.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tsgo-upgrade

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


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.

@zhangmo8 zhangmo8 marked this pull request as draft May 18, 2026 09:53
@zhangmo8 zhangmo8 marked this pull request as ready for review May 18, 2026 10:46
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