# Unify project draft thread state in composer draft store · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/696cbcc7fdf5a83afd37a0eb82d434d5ca1d43f0)

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

Visibility: public

Requested revision: 696cbcc7fdf5a83afd37a0eb82d434d5ca1d43f0

Requested commit: 696cbcc7fdf5a83afd37a0eb82d434d5ca1d43f0

Commit: 696cbcc7fdf5a83afd37a0eb82d434d5ca1d43f0

Tree: 634a415e4601fdb0a4da3c7aa872dd1a26bd45fc

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Unify project draft thread state in composer draft store

- move project draft thread ID persistence/actions into `composerDraftStore`
- remove legacy `projectDraftThreads` module and update `ChatView`/`Sidebar` callers
- keep image dedupe stable across hydration and avoid revoking blob URLs on composer clear
- add store tests for project-thread mapping and composer clear behavior
- drop deprecated model slug aliases (`gpt-5`, `gpt-5-codex`, `gpt-5-codex-spark`)

```

## Parents

- [3a5a14c6ed1595d09157d307aecd6662be83cae6](https://git.cafe/pingdotgg/t3code/commit/3a5a14c6ed1595d09157d307aecd6662be83cae6?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/696cbcc7fdf5a83afd37a0eb82d434d5ca1d43f0?format=markdown)
