Skip to content

feat: support trae editor#1306

Open
narcilee7 wants to merge 3 commits intoMoonshotAI:mainfrom
narcilee7:feat/editor-trae-support
Open

feat: support trae editor#1306
narcilee7 wants to merge 3 commits intoMoonshotAI:mainfrom
narcilee7:feat/editor-trae-support

Conversation

@narcilee7
Copy link
Copy Markdown

@narcilee7 narcilee7 commented Mar 2, 2026

Related Issue

N/A (New feature request)

Description

This PR introduces full support for the Trae editor in both the Shell and Web UI environments.

Changes

  1. Shell Support:

    • Added trae (with --wait flag) to the auto-detected editors list in src/kimi_cli/utils/editor.py.
    • Added trae to the candidate list (checked after code ,vim ,vi ,nano ).
    • Added unit tests in tests/utils/test_editor.py to verify prioritization.
  2. Web UI Support:

    • Backend: Updated src/kimi_cli/web/api/open_in.py to support the trae application type, utilizing open -a Trae on macOS.
    • Frontend:
      • Updated OpenInRequest.ts model to include Trae.
      • Added "Trae" to the "Open In" menu in web/src/features/chat/components/open-in-menu.tsx.
  3. Documentation:

    • Updated docs/en/reference/keyboard.md and docs/zh/reference/keyboard.md to list Trae as a supported editor.
    • Updated CHANGELOG.md with entries for both Shell and Web UI support.

Checklist

  • I have read the https://github.com/MoonshotAI/kimi-cli/blob/main/CONTRIBUTING.md document.
  • I have linked the related issue, if any.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run make gen-changelog to update the changelog. (Manually updated)
  • I have run make gen-docs to update the user documentation. (Manually updated)

Open with Devin

@narcilee7 narcilee7 force-pushed the feat/editor-trae-support branch from eded12e to 30f939a Compare March 2, 2026 16:02
devin-ai-integration[bot]

This comment was marked as resolved.

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