Skip to content

feat: add Kiro IDE to editor picker #995

Open
JustaCube wants to merge 1 commit intopingdotgg:mainfrom
JustaCube:main
Open

feat: add Kiro IDE to editor picker #995
JustaCube wants to merge 1 commit intopingdotgg:mainfrom
JustaCube:main

Conversation

@JustaCube
Copy link

@JustaCube JustaCube commented Mar 12, 2026

What Changed

1. Kiro IDE in "Open in" editor picker

  • Added kiro entry to the EDITORS array in packages/contracts/src/editor.ts
  • Added KiroIcon SVG component using the official Kiro brand logo (#9046FF purple)
  • Added Kiro option to the OpenInPicker dropdown in the web UI
  • Added --goto flag support for Kiro (VS Code-based, supports line:column navigation)

2. Codex rate limits display banner

  • Typed AccountRateLimitsUpdatedPayload with structured RateLimitsInfo schema (replaces Schema.Unknown)
  • Surfaced account.rate-limits.updated as a thread activity in ProviderRuntimeIngestion
  • Added deriveLatestRateLimits helper in session-logic.ts to extract latest rate limits from thread activities
  • Added RateLimitsBanner component with color-coded progress bars and reset time tooltips
  • Wired into ChatView between ProviderHealthBanner and ThreadErrorBanner

UI Changes

Editor picker:

  • Before: Cursor, VS Code, Zed, Explorer
  • After: Cursor, VS Code, Kiro, Zed, Explorer

Rate limits banner (appears below header after Codex reports usage):

  • Shows primary (5h) and secondary (7d) windows as compact progress bars
  • Color-coded: green → amber → red as usage increases
  • Hover tooltip shows remaining % and reset countdown

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
image

Note

Add Kiro IDE to the Open in editor picker

  • Adds { id: 'kiro', label: 'Kiro', command: 'kiro' } to the EDITORS constant in editor.ts
  • Adds a KiroIcon SVG component (purple theme) in Icons.tsx and surfaces a 'Kiro' option in OpenInPicker.tsx when kiro is present in availableEditors
  • Extends shouldUseGotoFlag in open.ts to return true for editorId === 'kiro', matching the existing behavior for cursor and vscode

Macroscope summarized d1e16e1.

@coderabbitai
Copy link

coderabbitai bot commented Mar 12, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 629950a0-00ad-46c2-8242-aa3e96f555bc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

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.

Tip

CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.

OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required.

@github-actions github-actions bot added size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Mar 12, 2026
@JustaCube JustaCube changed the title feat: add Kiro IDE to Open in editor picker feat: add Kiro IDE to editor picker & Codex rate limits banner Mar 12, 2026
@juliusmarminge
Copy link
Member

separate PRs please

@github-actions github-actions bot added size:M 30-99 changed lines (additions + deletions). and removed size:L 100-499 changed lines (additions + deletions). labels Mar 13, 2026
@JustaCube JustaCube changed the title feat: add Kiro IDE to editor picker & Codex rate limits banner feat: add Kiro IDE to editor picker Mar 13, 2026
@JustaCube
Copy link
Author

@juliusmarminge Done!

Copy link
Contributor

@binbandit binbandit left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants