Skip to content

fix(tui): enable terminal progress in VS Code#2073

Open
shizhigu wants to merge 1 commit into
MoonshotAI:mainfrom
shizhigu:agent/fix-vscode-terminal-progress
Open

fix(tui): enable terminal progress in VS Code#2073
shizhigu wants to merge 1 commit into
MoonshotAI:mainfrom
shizhigu:agent/fix-vscode-terminal-progress

Conversation

@shizhigu

@shizhigu shizhigu commented Jul 22, 2026

Copy link
Copy Markdown

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=vscode in 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 --check passed.

Manual VS Code UI verification was not run from this shell.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1cb65f0

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

@shizhigu
shizhigu marked this pull request as ready for review July 22, 2026 21:30
@shizhigu

Copy link
Copy Markdown
Author

@codex review

@liruifengv Ready for review when you have a moment. This is a focused terminal capability fix with tests and documentation.

@chatgpt-codex-connector

Copy link
Copy Markdown

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".

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.

feat(tui): enable OSC 9;4 terminal progress in VSCode integrated terminal

1 participant