rtk-ai/rtk

[Agent] Add Trae.ai IDE support

Open

#1,676 建立於 2026年5月2日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Rust (48,085 star) (2,914 fork)batch import
effort-mediumenhancementgood first issue

描述

Type: New agent integration

Description: Trae.ai is an AI IDE (similar to Cursor/Windsurf) with growing adoption. It supports project-scoped rule files at .trae/rules/*.md, which is the same mechanism used by Windsurf (.windsurfrules) and Cline (.clinerules).

Proposed integration:

  • Method: rules file (.trae/rules/rtk-rules.md) — same as Windsurf/Cline fallback
  • Command: rtk init --agent trae
  • No preToolUse hook available (Trae doesn't expose shell interception), so RTK would rely on the AI following the rules to call rtk explicitly

References:

貢獻者指南

[Agent] Add Trae.ai IDE support · rtk-ai/rtk#1676 | Good First Issue