fix(trae): support Trae CLI Next hooks#266
Merged
Merged
Conversation
wxtsky
force-pushed
the
fix-trae-cli-next-hooks
branch
from
July 23, 2026 04:06
d243905 to
0ada7f2
Compare
wxtsky
added a commit
that referenced
this pull request
Jul 23, 2026
- traecli-next settings row now shows the Trae icon (#266 review) - fix missing backslash in codex meta test filename interpolation (#267 review) - note that turn_failed is a forward-compatible guess, absent from today's codex EventMsg enum (#267 review) - probe ~/.config/claude (ccusage-style default) ahead of ~/.config/claude-code in the XDG rung, with test (#270 review) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Owner
|
Merged (8287a78) — thanks! Contract verification went deep on this one: the 13 PascalCase event names,
|
Contributor
Author
traecli 0.200.19(internal edition) it is internal version, and will be release soon |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.trae/hooks.json~/.trae/cli/hooks.jsonbeforeReadFileBackground
Trae CLI Next no longer reads
~/.trae/hooks.json. It reads~/.trae/cli/hooks.json, but that file must use the TraeX hook event schema. Reusing the old Trae IDE event list causes parse errors such as:unknown hook event: "beforeReadFile"Verification
swift build -c releasepassedgit diff --checkpassedswift test --filter ...could not run on this machine because the active developer directory is CommandLineTools and XCTest is unavailable; debug test builds also hit an existing SwiftUI#Preview/PreviewsMacrosenvironment issue