feat: Add Kiro editor support to open picker#1974
feat: Add Kiro editor support to open picker#1974ashvinnihalani wants to merge 1 commit intopingdotgg:mainfrom
Conversation
- add Kiro to shared editor definitions and launch args - surface Kiro in the web picker with icon - cover command resolution and picker flow with tests
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
ApprovabilityVerdict: Approved Straightforward addition of a new editor (Kiro) to the existing open picker, following established patterns used by other editors. The changes are additive with comprehensive test coverage and no impact on existing behavior. You can customize Macroscope's approvability policy. Learn more. |
| const baseArgs = "baseArgs" in editor ? editor.baseArgs : undefined; | ||
| return [...(baseArgs ?? []), ...resolveCommandEditorArgs(editor, target)]; |
There was a problem hiding this comment.
| const baseArgs = "baseArgs" in editor ? editor.baseArgs : undefined; | |
| return [...(baseArgs ?? []), ...resolveCommandEditorArgs(editor, target)]; | |
| const baseArgs = "baseArgs" in editor ? editor.baseArgs : []; | |
| return [...baseArgs, ...resolveCommandEditorArgs(editor, target)]; |

What Changed
Why
Kiro is enterprise editor that has wide-spread adoption across the industry
UI Changes
Add the Kiro UI icon the the open drop down
Checklist
Note
Low Risk
Low risk: adds a new editor option and a small arg-composition helper, with tests covering the new launch/selection paths.
Overview
Adds Kiro as a supported editor across contracts, server launch resolution, and the web “Open” picker.
The server now supports editor definitions with optional
baseArgsand composes them into launch arguments (so Kiro runs askiro ide ..., including--gotowhen applicable), and editor discovery/tests are updated to include Kiro on Windows PATH scans.The web UI surfaces Kiro in the picker with a new
KiroIcon, and a browser test asserts the menu item appears and triggers the expectedshellOpenInEditorrequest.Reviewed by Cursor Bugbot for commit 184953a. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add Kiro editor support to the open picker
kiroas a recognized editor inpackages/contracts/src/editor.tswithbaseArgs: ['ide']andlaunchStyle: 'goto'.KiroIconSVG component and a 'Kiro' option to the open picker inapps/web/src/components/chat/OpenInPicker.tsx, shown whenavailableEditorsincludes'kiro'.resolveEditorArgsinapps/server/src/open.tsto prependbaseArgsbefore target-specific args when launching command-based editors.kiro.CMDas an available editor.Macroscope summarized 184953a.