Skip to content

release/v5.6.5#69

Merged
code-crusher merged 6 commits intomainfrom
release/v5.6.5
Mar 13, 2026
Merged

release/v5.6.5#69
code-crusher merged 6 commits intomainfrom
release/v5.6.5

Conversation

@code-crusher
Copy link
Member

@code-crusher code-crusher commented Mar 13, 2026

  • refactor fileEdit diff ui
  • refactor fileEdit diff ui +
  • fix think rendering for new models
  • fix bg agents state + running shimmer
  • dev tool settings + update git repo + improve ext startup time

@matter-ai-bot
Copy link
Contributor

matter-ai-bot bot commented Mar 13, 2026

Context

This PR updates the extension to v5.6.5, introducing enhanced background task management, a refactored 'Developer Tools' section, and a high-fidelity Unified Diff view for code edits. It also optimizes startup performance by deferring code index initialization.

Implementation

Summary By MatterAI MatterAI logo

🔄 What Changed

  • Version Bump: Updated to 5.6.5.
  • Background Task Management: Added dismissBackgroundTask functionality and status tracking (running, completed, waiting_approval, waiting_input).
  • Unified Diff View: Implemented a new GitHubDiffView component with Shiki-based syntax highlighting and improved context handling for truncated diffs.
  • UI Refactor: Renamed 'About' to 'Developer Tools' in settings; added export/import/reset state buttons.
  • Performance: Deferred CodeIndexManager initialization by 10 seconds to reduce startup contention.
  • Bug Fixes: Improved reasoning chunk handling in Task.ts by stripping <think> tags.

🔍 Impact of the Change

  • UX: Users can now monitor and dismiss background agents directly from the chat view with clear status indicators.
  • Readability: Code changes are significantly easier to review within the webview due to the new syntax-highlighted unified diff component.
  • Stability: Deferring heavy indexing tasks ensures the VS Code window remains responsive immediately after launch.

📁 Total Files Changed

Click to Expand
File ChangeLog
src/package.json Version bump to 5.6.5 and repository URL update.
src/core/webview/ClineProvider.ts Added background task dismissal logic and status mapping.
webview-ui/src/components/chat/GitHubDiffView.tsx New component for syntax-highlighted unified diffs.
src/core/task/Task.ts Logic to strip <think> tags from reasoning content.
src/extension.ts Implemented 10s delay for code index initialization.
webview-ui/src/components/chat/ChatView.tsx Added Background Agents UI list with status dots.
webview-ui/src/components/settings/About.tsx Overhauled About section with new action buttons.
src/api/providers/openrouter.ts Refined reasoning chunk yielding logic.

🧪 Test Added/Recommended

Added

  • openrouter.spec.ts: Tests for yielding reasoning chunks from deltas.
  • Task.spec.ts: Verifies rendering of reasoning chunks without think tags.
  • ClineProvider.spec.ts: Unit tests for background task status transitions.

Recommended

  • Integration test for the dismissBackgroundTask message flow from Webview to Extension host.
  • Visual regression test for the new GitHubDiffView component across different VS Code themes.

🔒 Security Vulnerabilities

  • Low Risk: Multiple files (e.g., constants.ts, Dockerfile, About.tsx) contain a typo in URLs (hhttps://). While not a direct vulnerability, it breaks link integrity and should be corrected to https://.

Screenshots

before after
Standard Diff Unified Highlighted Diff

How to Test

  1. Start a task that runs in the background (e.g., a long-running search).
  2. Navigate to the Chat View and observe the "Background Agents" section.
  3. Verify the status dot changes (e.g., to yellow when waiting for approval).
  4. Click the 'X' button to dismiss a background task and verify it aborts.
  5. Open the 'Developer Tools' tab in settings and test the 'Export Settings' button.

Get in Touch

N/A

Copy link
Contributor

@matter-ai-bot matter-ai-bot bot left a comment

Choose a reason for hiding this comment

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

🧪 PR Review is completed: The PR introduces a widespread typo (hhttps:// instead of https://) across multiple files, which will break external links, repository metadata, and URI parsing. Please correct these typos to ensure proper functionality.

Skipped files
  • DEVELOPMENT.md: Skipped file pattern
  • apps/kilocode-docs/docs/basic-usage/connecting-providers.md: Skipped file pattern
  • apps/kilocode-docs/docs/cli.md: Skipped file pattern
  • apps/kilocode-docs/docs/extending/contributing-to-kilo.md: Skipped file pattern
  • apps/kilocode-docs/docs/extending/development-environment.md: Skipped file pattern
  • apps/kilocode-docs/docs/faq.md: Skipped file pattern
  • apps/kilocode-docs/docs/features/custom-modes.md: Skipped file pattern
  • apps/kilocode-docs/docs/features/experimental/experimental-features.md: Skipped file pattern
  • apps/kilocode-docs/docs/features/shell-integration.md: Skipped file pattern
  • apps/kilocode-docs/docs/getting-started/installing.md: Skipped file pattern
  • apps/kilocode-docs/docs/jetbrains-troubleshooting.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md: Skipped file pattern
  • apps/kilocode-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json: Skipped file pattern
  • cli/CHANGELOG.md: Skipped file pattern
  • cli/docs/PROVIDER_CONFIGURATION.md: Skipped file pattern
  • cli/package.dist.json: Skipped file pattern
  • webview-ui/src/i18n/locales/ar/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/ca/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/cs/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/de/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/en/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/es/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/fr/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/hi/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/id/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/it/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/ja/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/ko/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/nl/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/pl/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/pt-BR/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/ru/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/th/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/tr/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/uk/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/vi/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/zh-CN/settings.json: Skipped file pattern
  • webview-ui/src/i18n/locales/zh-TW/settings.json: Skipped file pattern

if (answer === githubIssuesText) {
await vscode.env.openExternal(vscode.Uri.parse("https://github.com/MatterAIOrg/AxonCode/issues"))
await vscode.env.openExternal(
vscode.Uri.parse("hhttps://github.com/MatterAIOrg/Orbital-Extension/issues"),
Copy link
Contributor

Choose a reason for hiding this comment

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

🔴 Bug

Issue: The URL scheme is incorrectly typed as hhttps:// instead of https://. This will cause vscode.Uri.parse to create an invalid URI, and openExternal will fail to open the link.

Fix: Correct the typo to https://.

Impact: Ensures the GitHub issues link opens correctly.

Suggested change
vscode.Uri.parse("hhttps://github.com/MatterAIOrg/Orbital-Extension/issues"),
vscode.Uri.parse("https://github.com/MatterAIOrg/Orbital-Extension/issues"),

src/package.json Outdated
"repository": {
"type": "git",
"url": "https://github.com/MatterAIOrg/AxonCode"
"url": "hhttps://github.com/MatterAIOrg/Orbital-Extension"
Copy link
Contributor

Choose a reason for hiding this comment

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

🔴 Bug

Issue: The repository URL contains a typo (hhttps://). This will break NPM/VSCode marketplace metadata links.

Fix: Correct the typo to https://.

Impact: Ensures the repository link is valid in the extension metadata.

Suggested change
"url": "hhttps://github.com/MatterAIOrg/Orbital-Extension"
"url": "https://github.com/MatterAIOrg/Orbital-Extension"

<p className="mb-4">
{t("errorBoundary.reportText")}{" "}
<a href="https://github.com/MatterAIOrg/AxonCode/issues" target="_blank" rel="noreferrer">
<a href="hhttps://github.com/MatterAIOrg/Orbital-Extension/issues" target="_blank" rel="noreferrer">
Copy link
Contributor

Choose a reason for hiding this comment

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

🔴 Bug

Issue: The href attribute contains a typo (hhttps://). Clicking this link will result in an invalid URL error in the browser.

Fix: Correct the typo to https://.

Impact: Ensures the GitHub link works correctly for users reporting errors.

Suggested change
<a href="hhttps://github.com/MatterAIOrg/Orbital-Extension/issues" target="_blank" rel="noreferrer">
<a href="https://github.com/MatterAIOrg/Orbital-Extension/issues" target="_blank" rel="noreferrer">


// GitHub links
export const GITHUB_MAIN_REPO_URL = "https://github.com/MatterAIOrg/AxonCode"
export const GITHUB_MAIN_REPO_URL = "hhttps://github.com/MatterAIOrg/Orbital-Extension"
Copy link
Contributor

Choose a reason for hiding this comment

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

🔴 Bug

Issue: The constant GITHUB_MAIN_REPO_URL contains a typo (hhttps://). This will break all derived URLs that use this constant.

Fix: Correct the typo to https://.

Impact: Ensures all GitHub links in the docs app function correctly.

Suggested change
export const GITHUB_MAIN_REPO_URL = "hhttps://github.com/MatterAIOrg/Orbital-Extension"
export const GITHUB_MAIN_REPO_URL = "https://github.com/MatterAIOrg/Orbital-Extension"

i18nKey="settings:footer.feedback"
components={{
githubLink: <VSCodeLink href="https://github.com/MatterAIOrg/AxonCode" />,
githubLink: <VSCodeLink href="hhttps://github.com/MatterAIOrg/Orbital-Extension" />,
Copy link
Contributor

Choose a reason for hiding this comment

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

🔴 Bug

Issue: The href attribute contains a typo (hhttps://). Clicking this link will result in an invalid URL error in the browser.

Fix: Correct the typo to https://.

Impact: Ensures the GitHub link works correctly in the About section.

Suggested change
githubLink: <VSCodeLink href="hhttps://github.com/MatterAIOrg/Orbital-Extension" />,
githubLink: <VSCodeLink href="https://github.com/MatterAIOrg/Orbital-Extension" />,

<p style={{ wordWrap: "break-word", margin: 0, padding: 0 }}>
If you have any questions or feedback, feel free to open an issue at{" "}
<VSCodeLink href="https://github.com/MatterAIOrg/AxonCode" style={{ display: "inline" }}>
<VSCodeLink href="hhttps://github.com/MatterAIOrg/Orbital-Extension" style={{ display: "inline" }}>
Copy link
Contributor

Choose a reason for hiding this comment

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

🔴 Bug

Issue: The href attribute contains a typo (hhttps://). Clicking this link will result in an invalid URL error in the browser.

Fix: Correct the typo to https://.

Impact: Ensures the GitHub link works correctly in the Settings footer.

Suggested change
<VSCodeLink href="hhttps://github.com/MatterAIOrg/Orbital-Extension" style={{ display: "inline" }}>
<VSCodeLink href="https://github.com/MatterAIOrg/Orbital-Extension" style={{ display: "inline" }}>

@matter-ai-bot
Copy link
Contributor

matter-ai-bot bot commented Mar 13, 2026

Caution

PR Review Skipped - Monthly Quota Exceeded

PR review skipped as you have reached the free tier limit of 25 PR reviews per month. Please upgrade to a paid plan for MatterAI.

Current Plan: Free Tier
Free Tier Limit: 15 PR reviews per month
Current Usage: 15 PR reviews
Resets in: 18 days

Upgrade your plan on the console here: https://app.matterai.so/ai-code-reviews?tab=Billing

@matter-ai-bot
Copy link
Contributor

matter-ai-bot bot commented Mar 13, 2026

Important

PR Review Skipped

PR review skipped as per the configuration setting. Run a manually review by commenting /matter review

💡Tips to use MatterAI

Command List

  • /matter summary: Generate AI Summary for the PR
  • /matter review: Generate AI Reviews for the latest commit in the PR
  • /matter review-full: Generate AI Reviews for the complete PR
  • /matter release-notes: Generate AI release-notes for the PR
  • /matter : Chat with your PR with MatterAI Agent
  • /matter remember : Generate AI memories for the PR
  • /matter explain: Get an explanation of the PR
  • /matter help: Show the list of available commands and documentation
  • Need help? Join our Discord server: https://discord.gg/fJU5DvanU3

@code-crusher
Copy link
Member Author

/matterai review

@matter-ai-bot
Copy link
Contributor

matter-ai-bot bot commented Mar 13, 2026

This PR for v5.6.5 introduces several critical enhancements and architectural refinements. Key highlights include:

  1. Reasoning Support: The OpenRouterHandler now correctly yields reasoning_content, and Task.ts handles stripping <think> tags to keep the UI clean while preserving model logic.
  2. Background Task Management: Added dismissBackgroundTask and improved status tracking (waiting_approval, running, etc.), which significantly matures the multi-chat experience.
  3. Enhanced Diff View: The refactor of GitHubDiffView.tsx to include a custom unified diff parser and Shiki-based syntax highlighting is a major UX win for code reviews.
  4. Startup Optimization: Deferring CodeIndexManager initialization by 10s in extension.ts is a solid pragmatic choice to reduce extension host pressure during the initial VS Code load.
  5. Costing & Errors: Improved cost tracking for BYOK models and better error mapping for team-based restrictions.

One minor suggestion: In extension.ts, consider if CODE_INDEX_STARTUP_DELAY_MS should be adjusted based on workspace size, though a fixed 10s delay is a great baseline for 'startup settling'.

@code-crusher code-crusher merged commit fbbab5c into main Mar 13, 2026
5 of 13 checks passed
This was referenced Mar 13, 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