Skip to content

Release v6.6.0 - #105

Merged
code-crusher merged 1 commit into
mainfrom
release/v6.6.0
Jul 21, 2026
Merged

Release v6.6.0#105
code-crusher merged 1 commit into
mainfrom
release/v6.6.0

Conversation

@code-crusher

@code-crusher code-crusher commented Jul 21, 2026

Copy link
Copy Markdown
Member

Context

Cut the v6.6.0 release. Bumps src/package.json from 6.5.9 to 6.6.0 and adds the v6.6.0 release notes to CHANGELOG.md.

Implementation

Added

  • Axon Eido 3 context-window variants. axon-eido-3-code-pro and axon-eido-3-code-mini are now exposed as separate 200K and 400K context options (-200k / -400k suffixes). Both variants share the same upstream model; the extension resolves the selected variant to its API model ID via getKilocodeApiModelId. The default model is now axon-eido-3-code-mini-200k.
  • 400K context gated to Pro Plus and Ultra. The 400K variants are only available on Pro Plus and Ultra plans. The model selector disables them with an upgrade tooltip for lower tiers, the KiloCode settings panel filters them out and auto-falls back to the matching 200K variant, and the CLI /model command rejects selection with a clear error message.
  • SelectDropdown group headings. New DropdownOptionType.GROUP renders non-selectable section headings (e.g. "Context: 200k") inside the dropdown, with automatic hiding when the group has no visible items.
  • SelectDropdown custom value rendering. New renderValue prop lets callers customize how the selected option is displayed in the trigger (used by the model selector to dim the context qualifier).
  • Sticky search bar in SelectDropdown. The search input stays pinned at the top of the dropdown while options scroll.
  • New icons in utils/customIcons.tsx. BulbIcon, PlusIcon, and ArrowUp02Icon added to support the refreshed model selector and chat composer.

Changed

  • Model selector refresh. Axon models are now grouped by context window with a BulbIcon indicator, the selected option is highlighted, and the trigger uses a compact rounded style matching the command-approval selector. Tooltips fall back to the model's description when no curated tooltip is defined.
  • Chat composer refresh. The attachment button moved to the left of the model selector with a PlusIcon, the send button uses an ArrowUp02Icon, and the textarea padding was unified across edit and compose modes.
  • Follow-up question card. Restyled with a rounded-xl border, subtle shadow, and improved typography (15px / leading-6). The suggestion list now uses bordered cards with a focusable copy-to-input button.
  • Shared chat horizontal padding. New CHAT_CONTENT_HORIZONTAL_PADDING constant (px-3.5) in webview-ui/src/components/chat/chatLayout.ts is used by ChatRow, ChatTextArea, ChatView, ExplorationGroupRow, BrowserSessionRow, QueuedMessages, and the sticky user message so the chat column stays aligned.
  • Markdown list spacing. MarkdownBlock list/ordered/unordered line-height bumped from 1.35em to 1.7em for better readability.
  • Task header title opacity. KiloTaskHeader task title opacity raised from 70% to 100%.
  • Logout copy. Logout notification changed from "Logged out from Roo Code Cloud" to "Logged Out from Orbital".

Fixed

  • WebAuthService.logout state transition. Logout now explicitly calls transitionToLoggedOut() after clearing persisted credentials, so the in-memory state, session token, and user info are cleared even when SecretStorage.onDidChange does not fire. The auth-state-changed event is emitted with the previous state.

How to Test

  • Verify src/package.json shows "version": "6.6.0"
  • Verify CHANGELOG.md has the new [v6.6.0] section at the top
  • Verify the model selector shows Axon models grouped by context window with 400K variants disabled for non-Pro-Plus/Ultra plans
  • Verify the CLI /model select axon-eido-3-code-mini-400k rejects with a clear error on a Pro plan
  • Once merged, the Publish Extension workflow will tag v6.6.0 and publish to the VS Code Marketplace and JetBrains Marketplace.

@matterai-app

matterai-app Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Context

Summary By MatterAI MatterAI logo

🔄 What Changed

Introduced plan-based access control for 400k context Axon models, restricting them to Pro Plus and Ultra tiers. This includes centralized gating logic in @roo-code/types, CLI enforcement, and a major UI overhaul of the ModelSelector to support grouped context windows, restricted model tooltips, and automatic fallbacks. Additionally, the logout flow in WebAuthService was hardened with explicit state transitions and VS Code notifications.

🔍 Impact of the Change

Ensures business logic alignment by gating high-resource models behind premium tiers. Improves user experience with clearer model capabilities/restrictions in the UI and provides a more reliable authentication lifecycle. The version is bumped to 6.6.0 for release.

📁 Total Files Changed

Click to Expand
File ChangeLog
Plan Access packages/types/src/model-plan-access.ts New utility for plan normalization and 400k context gating logic.
CLI Gating cli/src/commands/model.ts Implemented plan validation in model selection and listing commands.
UI Selector webview-ui/src/components/kilocode/chat/ModelSelector.tsx Redesigned dropdown with context groups, plan tooltips, and fallbacks.
Auth Fix packages/cloud/src/WebAuthService.ts Hardened logout logic with explicit state transitions and UI feedback.
Model Catalog src/api/providers/kilocode-models.ts Expanded model definitions to include 200k/400k context variants.
Layout Sync webview-ui/src/components/chat/chatLayout.ts Added shared horizontal padding constants for UI consistency.
API Mapping src/api/providers/kilocode-openrouter.ts Added mapping from catalog variants to upstream API model IDs.
Version Bump src/package.json Incremented version to 6.6.0.

🧪 Test Added/Recommended

Added

  • model-plan-access.spec.ts: Validates plan normalization and access gating.
  • kilocode-models.spec.ts: Ensures metadata consistency between context variants.
  • Updated model.test.ts: Verifies CLI-level plan restrictions.
  • Updated WebAuthService.spec.ts: Confirms robust logout state transitions.

🔒 Security Vulnerabilities

N/A - Plan normalization uses strict regex to prevent bypass via malformed strings.

Implementation

The core logic resides in model-plan-access.ts, which provides a unified check for canUse400kContext. The ModelSelector was refactored to use this logic, disabling restricted options and providing upgrade links. The API layer now maps user-facing variants (e.g., -400k) to base upstream IDs using getKilocodeApiModelId to maintain compatibility with existing providers.

Screenshots

before after
N/A N/A

How to Test

  • Switch to a 'Pro' plan and attempt to select an axon-eido-3-code-mini-400k model; it should be disabled with an upgrade tooltip.
  • Switch to 'Ultra' and verify the model is selectable.
  • Perform a logout and ensure the "Logged Out from Orbital" notification appears and state is cleared immediately.

@matterai-app

matterai-app Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

✅ Reviewed the changes: Version bump to 6.6.0 in package.json. Trivial change with no issues found.

* feat(models): Axon Eido 3 context-window variants (200K / 400K)

axon-eido-3-code-pro and axon-eido-3-code-mini are now exposed as
separate 200K and 400K context options (-200k / -400k suffixes). Both
variants share the same upstream model; the extension resolves the
selected variant to its API model ID via getKilocodeApiModelId. The
default model is now axon-eido-3-code-mini-200k.

* feat(plan-gating): 400K context gated to Pro Plus and Ultra

The 400K variants are only available on Pro Plus and Ultra plans. The
model selector disables them with an upgrade tooltip for lower tiers,
the KiloCode settings panel filters them out and auto-falls back to the
matching 200K variant, and the CLI /model command rejects selection
with a clear error message.

* feat(select-dropdown): group headings, custom value rendering, sticky search

New DropdownOptionType.GROUP renders non-selectable section headings
(e.g. "Context: 200k") inside the dropdown, with automatic hiding when
the group has no visible items. New renderValue prop lets callers
customize how the selected option is displayed in the trigger. The
search input stays pinned at the top of the dropdown while options
scroll.

* feat(ui): model selector and chat composer refresh

Axon models are now grouped by context window with a BulbIcon
indicator, the selected option is highlighted, and the trigger uses a
compact rounded style matching the command-approval selector. The
attachment button moved to the left of the model selector with a
PlusIcon, the send button uses an ArrowUp02Icon, and the textarea
padding was unified across edit and compose modes.

* feat(ui): follow-up question card and chat layout polish

Follow-up card restyled with a rounded-xl border, subtle shadow, and
improved typography. Suggestion list uses bordered cards with a
focusable copy-to-input button. New CHAT_CONTENT_HORIZONTAL_PADDING
constant (px-3.5) shared across ChatRow, ChatTextArea, ChatView,
ExplorationGroupRow, BrowserSessionRow, QueuedMessages, and the sticky
user message so the chat column stays aligned. MarkdownBlock list
line-height bumped from 1.35em to 1.7em. KiloTaskHeader task title
opacity raised from 70% to 100%.

* fix(auth): WebAuthService.logout state transition

Logout now explicitly calls transitionToLoggedOut() after clearing
persisted credentials, so the in-memory state, session token, and user
info are cleared even when SecretStorage.onDidChange does not fire.
The auth-state-changed event is emitted with the previous state.
Logout notification copy updated to "Logged Out from Orbital".

* chore(release): bump extension version to 6.6.0

Bump src/package.json from 6.5.9 to 6.6.0 and add the v6.6.0 release
notes to CHANGELOG.md for the release/v6.6.0 branch.
@matterai-app

matterai-app Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

✅ Reviewed the changes: Release v6.6.0 introduces 400k context model variants with plan-based access control, UI improvements for the model selector and chat layout, and WebAuthService logout robustness. Code is well-structured with comprehensive test coverage. No issues found in the new code.

@code-crusher
code-crusher merged commit 2d7e4c7 into main Jul 21, 2026
2 of 9 checks passed
@code-crusher
code-crusher deleted the release/v6.6.0 branch July 21, 2026 12:27
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