fix(tui): enable terminal progress in VS Code
Related Issue
Resolve #1884
Problem
Kimi Code sends OSC 9;4 progress updates, but its capability check omitted VS Code. VS Code terminal tabs therefore never received working and idle updates.
What changed
- Recognize
TERM_PROGRAM=vscodein the existing progress capability check. The desktop notification allowlist is unchanged. - Add a focused test and document the
${progress}tab setting in both interaction guides.
VS Code supports OSC 9;4 in version 1.97 and later. The tab title or description must include ${progress} for the indicator to appear. See the release notes and tab text documentation.
Validation
- Focused terminal tests: 29 passed. Full CLI suite: 2,381 passed, 2 skipped.
- Production path and bundled CLI smokes passed.
- Typecheck, oxlint, docs build, and
git diff --checkpassed.
Manual VS Code UI verification was not run from this shell.
Checklist
- [x] I have read the CONTRIBUTING document.
- [x] I have linked a related issue, or explained the problem above.
- [x] I have added tests that prove my feature works.
- [x] Ran
gen-changesetsskill, or this PR needs no changeset. - [x] Ran
gen-docsskill, or this PR needs no doc update.
🦋 Changeset detected
Latest commit: 1cb65f0c53019bac24279acaaac9562aaa9f30d5
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @moonshot-ai/kimi-code | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@codex review
@liruifengv Ready for review when you have a moment. This is a focused terminal capability fix with tests and documentation.
Codex Review: Didn't find any major issues. Hooray!
Reviewed commit: 1cb65f0c53
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".