Skip to content

Conversation

@agrasth
Copy link
Collaborator

@agrasth agrasth commented Nov 11, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • Appropriate label is added to auto generate release notes.
  • I used gofmt for formatting the code before submitting the pull request.
  • PR description is clear and concise, and it includes the proposed solution/fix.

Add Kiro IDE Support to jf ide setup

Summary

Extends the jf ide setup command to support Kiro IDE, a VSCode-based editor, enabling users to configure Kiro to use JFrog Artifactory as their extension marketplace.

Changes Made

Implementation (5 Go files)

  • ide/cli/cli.go - Added Kiro constant, updated supported IDEs list, and added switch case
  • ide/commands/aieditorextensions/vscode_setup.go - Added SetupKiro() function
  • ide/commands/aieditorextensions/vscode_fork_registry.go - Registered Kiro configuration with install paths
  • ide/docs/setup/help.go - Updated help text with Kiro examples
  • ide/docs/setup.go - Updated supported IDEs description

Tests (1 file)

  • ide/commands/aieditorextensions/vscode_fork_test.go - Added Kiro test coverage

Documentation (1 file)

  • CLI_VSCODE_PERSISTENCE_DEMO.md - Added Kiro setup instructions and verification commands

Supported Platforms

Platform Installation Path
macOS /Applications/Kiro.app/Contents/Resources/app
Windows %LOCALAPPDATA%\Programs\Kiro\resources\app
Linux /usr/share/kiro/resources/app

Usage

# Setup Kiro with Artifactory marketplace
jf ide setup kiro --repo-key kiro-extensions --update-mode none

Supported IDEs (Now 5 Total)

  1. Visual Studio Code
  2. Cursor
  3. Windsurf
  4. Kiro
  5. JetBrains

Example Output

$ ./jf ide setup kiro "https://artifactory.example.com/artifactory/api/aieditorextensions/kiro-repo/_apis/public/gallery"

[Info] Setting up Kiro to use JFrog Artifactory...
[Info] Detected Kiro at: /Applications/Kiro.app/Contents/Resources/app/product.json
[Info] Kiro configuration updated successfully. Repository URL: https://artifactory.example.com/...
[Info] Configuration complete! Please restart Kiro to apply changes

@agrasth agrasth added the improvement Automatically generated release notes label Nov 11, 2025
ide/cli/cli.go Outdated

func getSupportedIDEs() string {
return fmt.Sprintf("%s, %s, %s, %s", IDENameVSCode, IDENameCursor, IDENameWindsurf, IDENameJetBrains)
return fmt.Sprintf("%s, %s, %s, %s, %s", IDENameVSCode, IDENameCursor, IDENameWindsurf, IDENameKiro, IDENameJetBrains)
Copy link
Collaborator

Choose a reason for hiding this comment

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

check if we can use the slice instead of adding IDE name as string everytime

@agrasth agrasth merged commit 14f72d7 into jfrog:main Nov 11, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants