feat(config): support explicit tsgo checker#53
Merged
ualtinok merged 2 commits intoMay 22, 2026
Conversation
There was a problem hiding this comment.
1 issue found across 9 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
checker_command relied on the `_ => resolved` catch-all for tsgo, while the rest of the checker path groups `tsc | tsgo` wherever the invocation is identical (explicit_checker_candidate, checker_args, parse_checker_output). Group them here too so the identical-behavior sites read consistently. No behavior change: tsgo already resolved to its binary path via the catch-all.
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
Lets you choose tsgo, the native TypeScript preview compiler, as the TypeScript
checker. Defaults don't change: tsc stays the default, and tsgo runs only when
you ask for it.
What changed
format.rs,configure.rs: treat tsgo the same way as tsc where theinvocation is identical, plus Windows shim detection.
asset, and the generator.
Why opt-in only
tsgo is still a preview build. Making it the default would change type-checking
for every TypeScript project, so it runs only when configured.
Validation
cargo fmt --check;cargo test -p agent-file-tools configurebun run typecheckin both pluginsSummary by cubic
Adds opt-in support for
tsgoas the TypeScript checker. Defaults remaintsc; nothing changes unless you explicitly configuretsgo.New Features
tsgoto checker enums and schemas across AFT,opencodeandpiplugins.tsgowith the same args astsc, with Windows shim detection, diagnostic parsing, and consistentchecker_commandhandling (no behavior change).tsgoand tests for selection, diagnostics, and configure warnings.Migration
"checker": { "typescript": "tsgo" }in your config.@typescript/native-preview(dev or global).Written for commit 9a96add. Summary will update on new commits. Review in cubic