MoonshotAI / MoonshotAI/kimi-code
feat(tui): config option to permanently disable the upgrade/promo banner
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
Problem
The startup banner (upgrade/promo notice) reappears even for users who have seen it many times. There is no config option to turn it off permanently — shouldDisplayBanner with display: "always" ignores any persisted dismissal.
Proposal
A config option (e.g. banner = "off" in tui.toml, or honoring persisted dismissal for always-type banners) that lets users opt out.
Context
We currently maintain a local patch for this and would rather delete it. If the direction is acceptable (/approve), I can open a PR.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating shouldDisplayBanner and the TUI configuration handling for tui.toml. Compare the proposed permanent banner setting with persisted dismissal behavior and establish which direction the project accepts. Done means users can permanently suppress the startup upgrade/promo banner through a documented configuration or dismissal rule, with the relevant tests updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100