Skip to content

Conversation

@SannidhyaSah
Copy link
Collaborator

@SannidhyaSah SannidhyaSah commented Jan 20, 2026

Related GitHub Issue

Closes: #10513

Roo Code Task Context (Optional)

No Roo Code task context for this PR

Description

This PR implements a comprehensive user-facing skills management UI in the settings panel, modeled after the existing slash commands interface. Unlike the previous implementation which used a tabbed approach, this version provides a dedicated "Skills" section in the settings sidebar with seamless coexistence alongside slash commands.

Key implementation details:

  1. Backend Services:

    • Extended SkillsManager with CRUD methods: getSkillsMetadata(), getSkill(), createSkill(), deleteSkill()
    • Implemented strict agentskills.io specification validation (lowercase, hyphens, 1-64 chars, no leading/trailing/consecutive hyphens)
    • Added WebviewMessage types: requestSkills, createSkill, deleteSkill, openSkillFile
    • Integrated message handlers in webviewMessageHandler.ts with error handling and file operations
  2. UI Components:

    • Created SkillsSettings.tsx - Main container with Global/Project sections
    • Built SkillItem.tsx - Individual skill display with edit/delete actions and mode badges
    • Implemented CreateSkillDialog.tsx - Modal dialog with real-time validation
    • Added skills state to ExtensionStateContext following the commands pattern
    • Integrated new Skills tab in SettingsView with Zap icon
  3. Design decisions:

    • Separated skills into dedicated settings section (not tabbed with commands)
    • Mode-specific skills show visual badges (e.g., "Mode: code")
    • Edit button opens SKILL.md directly in VSCode editor
    • Real-time form validation with user-friendly error messages
    • Delete confirmation dialogs prevent accidental deletions
    • Empty states guide users when no skills exist

Areas for special attention:

  • Message handler implementation in webviewMessageHandler.ts (lines 3007-3090)
  • Skill validation logic in SkillsManager.ts (lines 277-294)
  • Dialog component mocks in SettingsView test files (required to fix test failures)
  • Skills state management flow through ExtensionStateContext

Test Procedure

Automated Tests (All Passing - 6,488 total):

# Full monorepo test suite
pnpm test

# Backend tests (34 tests)
cd src && npx vitest run services/skills/__tests__/SkillsManager.spec.ts

# UI component tests (48 tests)
cd webview-ui && npx vitest run src/components/settings/__tests__/SkillItem.spec.tsx
cd webview-ui && npx vitest run src/components/settings/__tests__/SkillsSettings.spec.tsx
cd webview-ui && npx vitest run src/components/settings/__tests__/CreateSkillDialog.spec.tsx

# Integration/regression tests
cd webview-ui && npx vitest run src/components/settings/__tests__/SettingsView.spec.tsx
cd webview-ui && npx vitest run src/components/settings/__tests__/SettingsView.change-detection.spec.tsx
cd webview-ui && npx vitest run src/components/settings/__tests__/SettingsView.unsaved-changes.spec.tsx

Test Results:

Tasks:    10 successful, 10 total
Time:     1m17.347s

roo-cline:test:     Test Files  377 passed | 4 skipped (381)
roo-cline:test:          Tests  5355 passed | 49 skipped (5404)

webview-ui:test:    Test Files  112 passed (112)
webview-ui:test:         Tests  1133 passed | 8 skipped (1141)
  • Total: 6,488 tests passing ✅
  • New skills tests: 82 tests ✅
  • Regression tests: All existing tests pass ✅
  • TypeScript: 0 errors ✅

Manual Testing Steps:

  1. Open Roo Code settings panel
  2. Navigate to "Skills" section in the sidebar
  3. Verify Global Skills and Project Skills sections display
  4. Click "Add Skill" button
  5. Test creating a skill:
    • Enter valid name (e.g., "my-skill-name")
    • Enter description (e.g., "Test skill for validation")
    • Select source (Global/Project)
    • Optionally select mode
    • Click "Create"
  6. Verify validation:
    • Try uppercase letters (should show error)
    • Try special characters (should show error)
    • Try > 64 characters (should show error)
    • Verify description length limits
  7. Click edit icon to open SKILL.md in editor
  8. Click delete icon, confirm deletion in dialog
  9. Verify skills persist after reloading settings
  10. Test workspace skills (only when workspace is open)

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (feat: User-facing skills management UI in settings #10513).
  • Scope: My changes are focused on the linked issue (skills management UI).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: New and updated tests have been added to cover my changes (82 new tests, all passing).
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

Skills Settings UI showing Global and Project sections:
image

Documentation Updates

  • Yes, documentation updates are required:
    • User guide for creating and managing skills via the Settings UI
    • Explanation of Global vs Project skills scope and behavior
    • Skills naming conventions per agentskills.io specification
    • How to create mode-specific skills
    • Integration with existing SkillsManager system
    • Skills discovery and override resolution (project > global, mode-specific > generic)

Additional Notes

Implementation Differences from Previous PR:

  • This implementation creates a dedicated "Skills" section in the sidebar instead of tabbing with slash commands
  • Uses separate SkillsSettings, SkillItem, and CreateSkillDialog components
  • Skills and commands maintain complete independence while coexisting seamlessly
  • Test fixes for Dialog component mocks were required in 3 SettingsView test files

Get in Touch

TBD


Important

This PR introduces a skills management UI to the settings panel, with backend support for CRUD operations and validation, new UI components, and extensive testing and localization updates.

  • Behavior:
    • Adds skills management UI to settings panel, separate from slash commands.
    • Implements CRUD operations for skills in SkillsManager.
    • Validates skill names per agentskills.io specification.
    • Adds WebviewMessage types for skill operations in vscode-extension-host.ts.
  • UI Components:
    • Adds SkillsSettings.tsx, SkillItem.tsx, and CreateSkillDialog.tsx for UI.
    • Integrates skills state into ExtensionStateContext.
    • Adds skills tab to SettingsView.
  • Tests:
    • Adds tests for skills management in skillsMessageHandler.spec.ts, SkillsManager.spec.ts, and UI components.
  • Localization:
    • Updates localization files for skills management in multiple languages.

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

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. UI/UX UI/UX related or focused labels Jan 20, 2026
@roomote
Copy link
Contributor

roomote bot commented Jan 20, 2026

Rooviewer Clock   See task on Roo Cloud

Review of commit dda3b71: All issues remain resolved. The cleanup to remove unrelated mergeWorktree references is correct and introduces no new issues.

  • skillsMessageHandler.ts: Now correctly sends updated skills list after deletion (lines 92-94)
  • CreateSkillDialog.tsx: Frontend validation now uses shared validateSkillName from @roo-code/types (line 2, 49-55)
Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

@daniel-lxs daniel-lxs force-pushed the feat/skills-settings-ui branch from cdc6574 to 6afe465 Compare January 20, 2026 23:20
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 20, 2026
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Jan 21, 2026
@daniel-lxs
Copy link
Member

Bruno is going to review the UI and UX before we can merge it.

Sannidhya and others added 7 commits January 28, 2026 16:18
- Add SkillsSettings, SkillItem, and CreateSkillDialog components
- Extend SkillsManager with CRUD operations
- Add skills state to ExtensionStateContext
- Implement message handlers for skills operations
- Add comprehensive tests (82 new tests, all passing)
- Add i18n translations for skills UI
- Fix Dialog component mocks in SettingsView tests
- Fix lint warnings for unused parameters
- Add skills list refresh after deleteSkill to prevent race condition
- Fix frontend validation regex to match backend spec (no consecutive/trailing hyphens)
- Added 36 skills-related translation keys to all languages
- Languages: ca, de, es, fr, hi, id, it, ja, ko, nl, pl, pt-BR, ru, tr, vi, zh-CN, zh-TW
- Covers Skills UI components including:
  - Section header
  - Project/Global skills labels
  - Add/Edit/Delete actions
  - Create skill dialog with all fields
  - Validation messages
- All translations verified with find-missing-translations script
Radix UI's Select component doesn't allow empty string values.
Use '__any__' as a sentinel value and convert to undefined when submitting.
- Create skillsMessageHandler.ts with individual functions:
  - handleRequestSkills()
  - handleCreateSkill()
  - handleDeleteSkill()
  - handleOpenSkillFile()
- Update webviewMessageHandler.ts to use the new handler functions
- Add comprehensive tests for all handler functions (16 tests)
- Extract shared skill name validation to packages/types/src/skills.ts (DRY)
- Replace hardcoded modes with getAllModes() from @roo/modes
- Remove race condition setTimeout calls (backend already sends updated skills)
- Consolidate duplicate getAllSkills/getSkillsMetadata methods
- Remove redundant type assertion in SkillsSettings
- Remove stale 'Phase 4' comments
- Remove unnecessary ExtendedExtensionState interface workaround
- Add i18n support for all skills error messages (17 locales)
- Add 21 tests for shared validation function
@hannesrudolph hannesrudolph force-pushed the feat/skills-settings-ui branch from 6afe465 to 1a2cae6 Compare January 28, 2026 23:24
| "worktreeIncludeStatus"
| "branchWorktreeIncludeResult"
| "folderSelected"
| "mergeWorktreeResult"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this unrelated / can we remove?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@roomote remove references to mergeWorktreeResult

Copy link
Contributor

@roomote roomote bot Jan 29, 2026

Choose a reason for hiding this comment

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

Fixaroo Clock   See task on Roo Cloud

Removed unrelated mergeWorktreeResult and mergeWorktree references from the types file. All checks passed.

View commit | Revert commit

@mrubens mrubens merged commit 010aba2 into main Jan 29, 2026
10 checks passed
@mrubens mrubens deleted the feat/skills-settings-ui branch January 29, 2026 06:25
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Jan 29, 2026
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jan 29, 2026
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Jan 29, 2026
* feat: display edit_file errors in UI after consecutive failures (RooCodeInc#10581)

* feat(chat): enhance reasoning block with animated thinking indicator and varied messages

* perf: optimize message block cloning in presentAssistantMessage (RooCodeInc#10616)

* feat(chat): add random loading messages with localization

* fix: correct Gemini 3 thought signature injection format via OpenRouter (RooCodeInc#10640)

* fix: encode hyphens in MCP tool names before sanitization (RooCodeInc#10644)

* fix: sanitize tool_use IDs to match API validation pattern (RooCodeInc#10649)

* fix(path): return empty string from getReadablePath when path is empty - ROO-437 (RooCodeInc#10638)

* ux: Standard stop button 🟥  (RooCodeInc#10639)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: omit parallel_tool_calls when not explicitly enabled (COM-406) (RooCodeInc#10671)

* fix: use placeholder for empty tool result content to fix Gemini API validation (RooCodeInc#10672)

* ux: Further improve error display (RooCodeInc#10692)

* Ensures error details are shown for all errors (except diff, which has its own case)

* More details

* litellm is a proxy

* ux: improve stop button visibility and streamline error handling (RooCodeInc#10696)

* Restores the send button in the message edit mode

* Makes the stop button more prominent

* fix: clear approval buttons when API request starts (ROO-526) (RooCodeInc#10702)

* chore: add changeset for v3.40.0 (RooCodeInc#10705)

* Changeset version bump (RooCodeInc#10706)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* feat(gemini): add allowedFunctionNames support to prevent mode switch errors (RooCodeInc#10708)

Co-authored-by: Roo Code <roomote@roocode.com>

* Release v3.40.1 (RooCodeInc#10713)

* Changeset version bump (RooCodeInc#10714)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Release: v1.105.0 (RooCodeInc#10722)

* feat(providers): add gpt-5.2-codex model to openai-native provider (RooCodeInc#10731)

* feat(e2e): Enable E2E tests - 39 passing tests (RooCodeInc#10720)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Clear terminal output buffers to prevent memory leaks (RooCodeInc#7666)

* feat: add OpenAI Codex provider with OAuth subscription authentication (RooCodeInc#10736)

Co-authored-by: Roo Code <roomote@roocode.com>

* fix(litellm): inject dummy thought signatures on ALL tool calls for Gemini (RooCodeInc#10743)

* fix(e2e): add alwaysAllow config for MCP time server tools (RooCodeInc#10733)

* Release v3.41.0 (RooCodeInc#10746)

* Changeset version bump (RooCodeInc#10747)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* feat: clarify Slack and Linear are Cloud Team only features (RooCodeInc#10748)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Release: v1.106.0 (RooCodeInc#10749)

* refactor(chat): replace current task display with last user feedback

* style(chat): adjust feedback text width calculation

* fix: handle missing tool identity in OpenAI Native streams (RooCodeInc#10719)

* Feat/issue 5376 aggregate subtask costs (RooCodeInc#10757)

* feat(chat): add streaming state to task header interaction

* feat: add settings tab titles to search index (RooCodeInc#10761)

Co-authored-by: Roo Code <roomote@roocode.com>

* fix: filter Ollama models without native tool support (RooCodeInc#10735)

* fix: filter out empty text blocks from user messages for Gemini compatibility (RooCodeInc#10728)

* fix: flatten top-level anyOf/oneOf/allOf in MCP tool schemas (RooCodeInc#10726)

* fix: prevent duplicate tool_use IDs causing API 400 errors (RooCodeInc#10760)

* fix: truncate call_id to 64 chars for OpenAI Responses API (RooCodeInc#10763)

* fix: Gemini thought signature validation errors (RooCodeInc#10694)

Co-authored-by: Roo Code <roomote@roocode.com>

* Release v3.41.1 (RooCodeInc#10767)

* Changeset version bump (RooCodeInc#10768)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* feat: add button to open markdown in VSCode preview (RooCodeInc#10773)

Co-authored-by: Roo Code <roomote@roocode.com>

* fix(openai-codex): reset invalid model selection (RooCodeInc#10777)

* fix: add openai-codex to providers that don't require API key (RooCodeInc#10786)

Co-authored-by: Roo Code <roomote@roocode.com>

* fix(litellm): detect Gemini models with space-separated names for thought signature injection (RooCodeInc#10787)

* Release v3.41.2 (RooCodeInc#10788)

* Changeset version bump (RooCodeInc#10790)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Roo Code Router fixes for the cli (RooCodeInc#10789)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Revert "feat(e2e): Enable E2E tests - 39 passing tests" (RooCodeInc#10794)

Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>

* Claude-like cli flags, auth fixes (RooCodeInc#10797)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>

* Release cli v0.0.47 (RooCodeInc#10798)

* Use a redirect instead of a fetch for cli auth (RooCodeInc#10799)

* chore(cli): prepare release v0.0.48 (RooCodeInc#10800)

* Fix thinking block word-breaking to prevent horizontal scroll (RooCodeInc#10806)

Co-authored-by: Roo Code <roomote@roocode.com>

* chore: add changeset for v3.41.3 (RooCodeInc#10822)

* Removal of glm4 6 (RooCodeInc#10815)

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Changeset version bump (RooCodeInc#10823)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* feat: warn users when too many MCP tools are enabled (RooCodeInc#10772)

* feat: warn users when too many MCP tools are enabled

- Add WarningRow component for displaying generic warnings with icon, title, message, and optional docs link
- Add TooManyToolsWarning component that shows when users have more than 40 MCP tools enabled
- Add MAX_MCP_TOOLS_THRESHOLD constant (40)
- Add i18n translations for the warning message
- Integrate warning into ChatView to display after task header
- Add comprehensive tests for both components

Closes ROO-542

* Moves constant to the right place

* Move it to the backend

* i18n

* Add actionlink that takes you to MCP settings in this case

* Add to MCP settings too

* Bump max tools up to 60 since github itself has 50+

* DRY

* Fix test

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Support different cli output formats: text, json, streaming json (RooCodeInc#10812)

Co-authored-by: Roo Code <roomote@roocode.com>

* chore(cli): prepare release v0.0.49 (RooCodeInc#10825)

* fix(cli): set integrationTest to true in ExtensionHost constructor (RooCodeInc#10826)

* fix(cli): fix quiet mode tests by capturing console before host creation (RooCodeInc#10827)

* refactor: unify user content tags to <user_message> (RooCodeInc#10723)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat(openai-codex): add ChatGPT subscription usage limits dashboard (RooCodeInc#10813)

* perf(webview): avoid resending taskHistory in state updates (RooCodeInc#10842)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* Fix broken link on pricing page (RooCodeInc#10847)

* fix: update broken pricing link to /models page

* Update apps/web-roo-code/src/app/pricing/page.tsx

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>

* Git worktree management (RooCodeInc#10458)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>

* feat: enable prompt caching for Cerebras zai-glm-4.7 model (RooCodeInc#10670)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat: add Kimi K2 thinking model to VertexAI provider (RooCodeInc#9269)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat: standardize model selectors across all providers (RooCodeInc#10294)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>

* chore: remove XML tool calling support (RooCodeInc#10841)

Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Fix broken link on pricing page (RooCodeInc#10847)

* fix: update broken pricing link to /models page

* Update apps/web-roo-code/src/app/pricing/page.tsx

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>

* Pr 10853 (RooCodeInc#10854)

Co-authored-by: Roo Code <roomote@roocode.com>

* Git worktree management (RooCodeInc#10458)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>

* feat: enable prompt caching for Cerebras zai-glm-4.7 model (RooCodeInc#10670)

Co-authored-by: Roo Code <roomote@roocode.com>
(cherry picked from commit c7ce8aa)

* feat: add Kimi K2 thinking model to VertexAI provider (RooCodeInc#9269)

Co-authored-by: Roo Code <roomote@roocode.com>
(cherry picked from commit a060915)

* feat: standardize model selectors across all providers (RooCodeInc#10294)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
(cherry picked from commit e356d05)

* fix: resolve race condition in context condensing prompt input (RooCodeInc#10876)

* Copy: update /slack page messaging (RooCodeInc#10869)

copy: update /slack page messaging

- Update trial CTA to 'Start a free 14 day Team trial'
- Replace 'humans' with 'your team' in value props subtitle
- Shorten value prop titles for consistent one-line display
- Improve Thread-aware and Open to all descriptions

* fix: Handle mode selector empty state on workspace switch (RooCodeInc#9674)

* fix: handle mode selector empty state on workspace switch

When switching between VS Code workspaces, if the current mode from
workspace A is not available in workspace B, the mode selector would
show an empty string. This fix adds fallback logic to automatically
switch to the default "code" mode when the current mode is not found
in the available modes list.

Changes:
- Import defaultModeSlug from @roo/modes
- Add fallback logic in selectedMode useMemo to detect when current
  mode is not available and automatically switch to default mode
- Add tests to verify the fallback behavior works correctly
- Export defaultModeSlug in test mock for consistent behavior

* fix: prevent infinite loop by moving fallback notification to useEffect

* fix: prevent infinite loop by using ref to track notified invalid mode

* refactor: clean up comments in ModeSelector fallback logic

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>

* Roo to main remove xml (#936)

* Fix broken link on pricing page (RooCodeInc#10847)

* fix: update broken pricing link to /models page

* Update apps/web-roo-code/src/app/pricing/page.tsx

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>

* Git worktree management (RooCodeInc#10458)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>

* feat: enable prompt caching for Cerebras zai-glm-4.7 model (RooCodeInc#10670)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat: add Kimi K2 thinking model to VertexAI provider (RooCodeInc#9269)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat: standardize model selectors across all providers (RooCodeInc#10294)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>

* chore: remove XML tool calling support (RooCodeInc#10841)

Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Pr 10853 (RooCodeInc#10854)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat(commit): enhance git diff handling for new repositories

* feat(task): support fake_tool_call for Qwen model with XML tool call format

* feat(prompts): add snapshots for custom instructions and system prompt variations

---------

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: MP <michael@roocode.com>

* feat: remove Claude Code provider (RooCodeInc#10883)

* refactor: migrate context condensing prompt to customSupportPrompts and cleanup legacy code (RooCodeInc#10881)

* refactor: unify export path logic and default to Downloads (RooCodeInc#10882)

* Fix marketing site preview logic (RooCodeInc#10886)

* feat(web): redesign Slack page Featured Workflow section with YouTube… (RooCodeInc#10880)

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>

* feat: add size-based progress tracking for worktree file copying (RooCodeInc#10871)

* feat: add HubSpot tracking with consent-based loading (RooCodeInc#10885)

Co-authored-by: Roo Code <roomote@roocode.com>

* fix(openai): prevent double emission of text/reasoning in native and codex handlers (RooCodeInc#10888)

* Fix padding on Roo Code Cloud upsell (RooCodeInc#10889)

Co-authored-by: Roo Code <roomote@roocode.com>

* Open the worktreeinclude file after creating it (RooCodeInc#10891)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* fix: prevent task abortion when resuming via IPC/bridge (RooCodeInc#10892)

* fix: rename bot to 'Roomote' and fix spacing in Slack demo (RooCodeInc#10898)

* Fix: Enforce file restrictions for all editing tools (RooCodeInc#10896)

Co-authored-by: Roo Code <roomote@roocode.com>

* chore: clean up XML legacy code and native-only comments (RooCodeInc#10900)

* feat: hide worktree feature from menus (RooCodeInc#10899)

* fix(condense): remove custom condensing model option (RooCodeInc#10901)

* fix(condense): remove custom condensing model option

Remove the ability to specify a different model/API configuration for
condensing conversations. Modern conversations include provider-specific
data (tool calls, reasoning blocks, thought signatures) that only the
originating model can properly understand and summarize.

Changes:
- Remove condensingApiHandler parameter from summarizeConversation()
- Remove condensingApiConfigId from context management and Task
- Remove API config dropdown for CONDENSE in settings UI
- Update telemetry to remove usedCustomApiHandler parameter
- Update related tests

Users can still customize the CONDENSE prompt text; only model selection
is removed.

* fix: remove condensingApiConfigId from types and test fixtures

---------

Co-authored-by: Roo Code <roomote@roocode.com>

* test(prompts): update snapshots to fix indentation

* Fix EXT-553: Remove percentage-based progress tracking for worktree file copying (RooCodeInc#10905)

* Fix EXT-553: Remove percentage-based progress tracking for worktree file copying

- Removed totalBytes from CopyProgress interface
- Removed Math.min() clamping that caused stuck-at-100% issue
- Changed UI from progress bar to spinner with activity indicator
- Shows 'item — X MB copied' instead of percentage
- Updated all 18 locale files
- Uses native cp with polling (no new dependencies)

* fix: translate copyingProgress text in all 17 non-English locale files

---------

Co-authored-by: Roo Code <roomote@roocode.com>

* chore(prompts): clarify linked SKILL.md file handling (RooCodeInc#10907)

* Release v3.42.0 (RooCodeInc#10910)

* Changeset version bump (RooCodeInc#10911)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* feat: Move condense prompt editor to Context Management tab (RooCodeInc#10909)

* feat: Update Z.AI models with new variants and pricing (RooCodeInc#10860)

Co-authored-by: erdemgoksel <erdemgoksel@MAU-BILISIM42>

* fix: correct Gemini 3 pricing for Flash and Pro models (RooCodeInc#10487)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat: add pnpm install:vsix:nightly command (RooCodeInc#10912)

* Intelligent Context Condensation v2 (RooCodeInc#10873)

* feat(gemini): add tool call support for Gemini CLI

* feat(condense): improve condensation with environment details, accurate token counts, and lazy evaluation (RooCodeInc#10920)

* docs: fix CLI README to use correct command syntax (RooCodeInc#10923)

Co-authored-by: Roo Code <roomote@roocode.com>

* chore: remove diffEnabled and fuzzyMatchThreshold settings (RooCodeInc#10298)

* Remove Merge button from worktrees (RooCodeInc#10924)

Co-authored-by: Roo Code <roomote@roocode.com>

* chore: remove POWER_STEERING experimental feature (RooCodeInc#10926)

- Remove powerSteering from experimentIds array and schema in packages/types
- Remove POWER_STEERING from EXPERIMENT_IDS and experimentConfigsMap
- Remove power steering conditional block from getEnvironmentDetails
- Remove POWER_STEERING entry from all 18 locale settings.json files
- Update related test files to remove power steering references

* chore: remove MULTI_FILE_APPLY_DIFF experiment (RooCodeInc#10925)

* chore: remove MULTI_FILE_APPLY_DIFF experiment

Remove the 'Enable concurrent file edits' experimental feature that
allowed editing multiple files in a single apply_diff call.

- Remove multiFileApplyDiff from experiment types and config
- Delete MultiFileSearchReplaceDiffStrategy class and tests
- Delete MultiApplyDiffTool wrapper and tests
- Remove experiment-specific code paths in Task.ts, generateSystemPrompt.ts, and presentAssistantMessage.ts
- Remove special handling in ExperimentalSettings.tsx
- Remove translations from all 18 locale files

The existing MultiSearchReplaceDiffStrategy continues to handle
multiple SEARCH/REPLACE blocks within a single file.

* fix: remove unused EXPERIMENT_IDS/experiments import from Task.ts

Addresses review feedback: removes the unused imports from
src/core/task/Task.ts that were left over after removing the
MULTI_FILE_APPLY_DIFF experiment routing code.

* fix: convert orphaned tool_results to text blocks after condensing (RooCodeInc#10927)

* fix: convert orphaned tool_results to text blocks after condensing

When condensing occurs after assistant sends tool_uses but before user responds,
the tool_use blocks get condensed away. User messages containing tool_results that
reference condensed tool_use_ids become orphaned and get filtered out by
getEffectiveApiHistory, causing user feedback to be lost.

This fix enhances the existing check in addToApiConversationHistory to detect when
the previous effective message is not an assistant and converts any tool_result
blocks to text blocks, preventing them from being filtered as orphans.

The conversion happens at the latest possible moment (message insertion) because:
- Tool results are created before we know if condensing will occur
- We need actual effective history state to make the decision
- This is the last checkpoint before orphan filtering happens

* Only include environment details in summary for automatic condensing

For automatic condensing (during attemptApiRequest), environment details
are included in the summary because the API request is already in progress
and the next user message won't have fresh environment details injected.

For manual condensing (via condenseContext button), environment details
are NOT included because fresh details will be injected on the very next
turn via getEnvironmentDetails() in recursivelyMakeClineRequests().

This uses the existing isAutomaticTrigger flag to differentiate behavior.

---------

Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>

* refactor: remove legacy XML tool calling code (getToolDescription) (RooCodeInc#10929)

- Remove getToolDescription() method from MultiSearchReplaceDiffStrategy
- Remove getToolDescription() from DiffStrategy interface
- Remove unused ToolDescription type from shared/tools.ts
- Remove unused eslint-disable directive
- Update test mocks to remove getToolDescription references
- Remove getToolDescription tests from multi-search-replace.spec.ts

Native tools are now defined in src/core/prompts/tools/native-tools/ using
the OpenAI function format. The removed code was dead since XML-style tool
calling was replaced with native tool calling.

* Fix duplicate model display for OpenAI Codex provider (RooCodeInc#10930)

Co-authored-by: Roo Code <roomote@roocode.com>

* Skip thoughtSignature blocks during markdown export RooCodeInc#10199 (RooCodeInc#10932)

* fix: use json-stream-stringify for pretty-printing MCP config files (RooCodeInc#9864)

Co-authored-by: Roo Code <roomote@roocode.com>

* fix: auto-migrate v1 condensing prompt and handle invalid providers on import (RooCodeInc#10931)

* chore: add changeset for v3.43.0 (RooCodeInc#10933)

* Changeset version bump (RooCodeInc#10934)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Replace hyphen encoding with fuzzy matching for MCP tool names (RooCodeInc#10775)

* fix: truncate AWS Bedrock toolUseId to 64 characters (RooCodeInc#10902)

* feat: remove MCP SERVERS section from system prompt (RooCodeInc#10895)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat(tools): enhance Gemini CLI with new tool descriptions and formatting

* feat(task): improve smart mistake detector with error source tracking and refined auto-switching

* feat: update Fireworks provider with new models (RooCodeInc#10679)

Fixes RooCodeInc#10674

Added new models:
- MiniMax M2.1 (minimax-m2p1)
- DeepSeek V3.2 (deepseek-v3p2)
- GLM-4.7 (glm-4p7)
- Llama 3.3 70B Instruct (llama-v3p3-70b-instruct)
- Llama 4 Maverick Instruct (llama4-maverick-instruct-basic)
- Llama 4 Scout Instruct (llama4-scout-instruct-basic)

All models include correct pricing, context windows, and capabilities.

* ux: Improve subtask visibility and navigation in history and chat views (RooCodeInc#10864)

* Taskheader

* Subtask messages

* View subtask

* subtasks in history items

* i18n

* Table

* Lighter visuals

* bug

* fix: Align tests with implementation behavior

* refactor: extract CircularProgress component from TaskHeader

- Created reusable CircularProgress component for displaying percentage as a ring
- Moved inline SVG calculation from TaskHeader.tsx to dedicated component
- Added comprehensive tests for CircularProgress component (14 tests)
- Component supports customizable size, strokeWidth, and className
- Includes proper accessibility attributes (progressbar role, aria-valuenow)

* chore: update StandardTooltip default delay to 600ms

As mentioned in the PR description, increased the tooltip delay to 600ms
for less intrusive tooltips. The delay is still configurable via the
delay prop for components that need a different value.

---------

Co-authored-by: Roo Code <roomote@roocode.com>

* fix(types): remove unsupported Fireworks model tool fields (RooCodeInc#10937)

fix(types): remove unsupported tool capability fields from Fireworks model metadata

Co-authored-by: Roo Code <roomote@roocode.com>

* ux: improve worktree selector and creation UX (RooCodeInc#10940)

* Delete modal

* Restructured

* Much more prominent

* UI

* i18n

* Fixes i18n

* Remove mergeresultmodel

* i18n

* tests

* knip

* code review

* feat: add wildcard support for MCP alwaysAllow configuration (RooCodeInc#10948)

Co-authored-by: Roo Code <roomote@roocode.com>

* fix: restore opaque background to settings section headers (RooCodeInc#10951)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Update and improve zh-TW Traditional Chinese locale and docs (RooCodeInc#10953)

* chore: remove POWER_STEERING experiment remnants (RooCodeInc#10980)

* fix: record truncation event when condensation fails but truncation succeeds (RooCodeInc#10984)

* feat: new_task tool creates checkpoint the same way write_to_file does (RooCodeInc#10982)

* fix: VS Code LM token counting returns 0 outside requests, breaking context condensing (EXT-620) (RooCodeInc#10983)

- Modified VsCodeLmHandler.internalCountTokens() to create temporary cancellation tokens when needed
- Token counting now works both during and outside of active requests
- Added 4 new tests to verify the fix and prevent regression
- Resolves issue where VS Code LM API users experienced context overflow errors

* fix: prevent nested condensing from including previously-condensed content (RooCodeInc#10985)

* fix: use --force by default when deleting worktrees (RooCodeInc#10986)

Co-authored-by: Roo Code <roomote@roocode.com>

* chore: add changeset for v3.44.0 (RooCodeInc#10987)

* Changeset version bump (RooCodeInc#10989)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Fix LiteLLM tool ID validation errors for Bedrock proxy (RooCodeInc#10990)

* Enable parallel tool calling with new_task isolation safeguards (RooCodeInc#10979)

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>

* Add quality checks to marketing site deployment workflows (RooCodeInc#10959)

Co-authored-by: cte <cestreich@gmail.com>

* Add temperature=0.9 and top_p=0.95 to zai-glm-4.7 model (RooCodeInc#10945)

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Revert "Enable parallel tool calling with new_task isolation safeguards" (RooCodeInc#11004)

* Release v3.44.1 (RooCodeInc#11003)

* Changeset version bump (RooCodeInc#11005)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Revert "Revert "Enable parallel tool calling with new_task isolation safeguards"" (RooCodeInc#11006)

* Fix local model validation error for Ollama models (RooCodeInc#10893)

fix: prevent false validation error for local Ollama models

The validation logic was checking against an empty router models object
that was initialized but never populated for Ollama. This caused false
validation errors even when models existed locally.

Now only validates against router models if they actually contain data,
preventing the false error when using local Ollama models.

Fixes ROO-581

Co-authored-by: Roo Code <roomote@roocode.com>

* feat: enhance tool call parsing and enable smart mistake detection

* fix: use relative paths in isPathInIgnoredDirectory to fix worktree indexing (RooCodeInc#11009)

* fix: remove duplicate tool_call emission from Responses API providers (RooCodeInc#11008)

* Release v3.44.2 (RooCodeInc#11025)

* Changeset version bump (RooCodeInc#11027)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* feat(condense v2.1): add smart code folding (RooCodeInc#10942)

* feat(condense): add smart code folding with tree-sitter signatures

At context condensation time, use tree-sitter to generate folded code
signatures (function definitions, class declarations) for files read
during the conversation. Each file is included as its own <system-reminder>
block in the condensed summary, preserving structural awareness without
consuming excessive tokens.

- Add getFilesReadByRoo() method to FileContextTracker
- Create generateFoldedFileContext() using tree-sitter parsing
- Update summarizeConversation() to accept array of file sections
- Each file gets its own content block in the summary message
- Add comprehensive test coverage (12 tests)

* fix: skip tree-sitter error strings in folded file context

- Add isTreeSitterErrorString helper to detect error messages
- Skip files that return error strings instead of embedding them
- Add test for error string handling

* refactor: move generateFoldedFileContext() inside summarizeConversation()

- Update summarizeConversation() to accept filesReadByRoo, cwd, rooIgnoreController instead of pre-generated sections
- Move folded file context generation inside summarizeConversation() (lines 319-339)
- Update ContextManagementOptions type and manageContext() to pass new parameters
- Remove generateFoldedFileContext from Task.ts imports - folding now handled internally
- Update all tests to use new parameter signature
- Reduces Task.ts complexity by moving folding logic to summarization module

* fix: prioritize most recently read files in folded context

Files are now sorted by roo_read_date descending before folded context
generation, so if the character budget runs out, the most relevant
(recently read) files are included and older files are skipped.

* refactor: improve code quality in condense module

- Convert summarizeConversation to use options object instead of 11 positional params
- Extract duplicated getFilesReadByRoo error handling into helper method
- Remove unnecessary re-export of generateFoldedFileContext
- Update all test files to use new options object pattern

* fix: address roomote feedback - batch error logging and early budget exit

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>

* Release v3.45.0 (RooCodeInc#11036)

* Changeset version bump (RooCodeInc#11037)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* fix: include reserved output tokens in task header percentage calculation (RooCodeInc#11034)

Co-authored-by: Roo Code <roomote@roocode.com>

* feat: lossless terminal output with on-demand retrieval (RooCodeInc#10944)

* refactor(core): optimize mistake detection and model switching logic

* fix: prevent time-travel bug in parallel tool calling (RooCodeInc#11046)

* feat: add AI SDK dependencies and message conversion utilities (RooCodeInc#11047)

* fix: calculate header percentage based on available input space (RooCodeInc#11054)

Co-authored-by: Roo Code <roomote@roocode.com>

* docs: clarify read_command_output search param should be omitted when not filtering (RooCodeInc#11056)

* feat(marketing): add Linear integration page (RooCodeInc#11028)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Michael Preuss <michael@roocode.com>

* refactor(tools): restructure lite-descriptions and add read_command_output

* feat: add skills management UI to settings panel (RooCodeInc#10513) (RooCodeInc#10844)

Co-authored-by: Sannidhya <sann@Sannidhyas-MacBook-Pro.local>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
Co-authored-by: Roo Code <roomote@roocode.com>

* Enable parallel tool calls by default (RooCodeInc#11031)

* feat: Add OpenAI-compatible base provider and migrate Moonshot to AI SDK (RooCodeInc#11063)

* Add React Compiler integration to webview-ui (RooCodeInc#9565)

* feat(vscode-lm): add image support for VS Code LM API provider (RooCodeInc#11065)

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>

* Revert "feat(vscode-lm): add image support for VS Code LM API provider" (RooCodeInc#11068)

---------

Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
Co-authored-by: Archimedes <84040360+ArchimedesCrypto@users.noreply.github.com>
Co-authored-by: Patrick Decat <pdecat@gmail.com>
Co-authored-by: Bruno Bergher <bruno@roocode.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: T <taltas@users.noreply.github.com>
Co-authored-by: Chris Estreich <cestreich@gmail.com>
Co-authored-by: Seb Duerr <sebastian.duerr@cerebras.net>
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com>
Co-authored-by: MP <michael@roocode.com>
Co-authored-by: Erdem <74366943+ErdemGKSL@users.noreply.github.com>
Co-authored-by: erdemgoksel <erdemgoksel@MAU-BILISIM42>
Co-authored-by: rossdonald <49425722+rossdonald@users.noreply.github.com>
Co-authored-by: Michaelzag <michael@michaelzag.com>
Co-authored-by: Thanh Nguyen <74597207+ThanhNguyxn@users.noreply.github.com>
Co-authored-by: Peter Dave Hello <3691490+PeterDaveHello@users.noreply.github.com>
Co-authored-by: SannidhyaSah <sah_sannidhya@outlook.com>
Co-authored-by: Sannidhya <sann@Sannidhyas-MacBook-Pro.local>
Co-authored-by: Alik Aslanyan <cplusplus256@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files. UI/UX UI/UX related or focused

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

feat: User-facing skills management UI in settings

5 participants