# refactor\(web\): prune unused UI and provider code · PR \#9959 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/9959)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

State: merged

Source repository: pingdotgg/t3code

Source branch: t3code/knip-prune-web-model-exports

Target branch: t3code/setup-nip-prune-unused-code

Head commit: b92d329b7592153562dc50fcc49614aee4f63c02

[Discussion and reviews](https://git.cafe/pingdotgg/t3code/pull/9959)

[Commits](https://git.cafe/pingdotgg/t3code/pull/9959/commits?format=markdown)

[Files changed](https://git.cafe/pingdotgg/t3code/pull/9959/diffs?format=markdown)

## Description

---

Knip found unused web code left alongside the current provider/model implementation.

Remove the unreferenced ColorSelector, obsolete provider-picker metadata, and an unused interaction-mode helper. Keep four still-used helpers private to their modules. No production caller or test changes.

Verification: 279 existing tests passed across modelSelection, providerInstances, providerModels, composerDraftStore, and session-logic. Web typecheck, targeted lint, and formatting passed. The integrated web production build passed. No reachable UI changed, so screenshots do not apply.

Leave this stack unmerged for maintainer review.

Model: gpt-6 astra. Harness: Codex in T3 Code.

