Skip to content

fix(app): keep a channel's composer mode and unsent model pick across relaunch - #284

Merged
iamnbutler merged 2 commits into
mainfrom
composer-persist
Oct 15, 2026
Merged

iamnbutler merged 2 commits into
mainfrom
composer-persist

Conversation

@iamnbutler

Copy link
Copy Markdown
Contributor

The composer kept a deliberate Chat/Ace mode and a picked model only in module maps, so a quit or update relaunch reset them to Ace and Automatic. They now live in localStorage beside the channel's draft (ace:draft:/channels/<id>, #165), via the app's existing useLocalStorage: the mode per channel (ace:mode:/channels/<id>) and the model and effort pick per chat (ace:pick:/channels/<id>/<chat>, the same per-chat shape as #282). An absent or Automatic pick still sends no model.

Fixes #273

Built in Ace

No — built with Claude Code outside Ace by an overnight issue watcher, because this Mac's Ace Canary is a participant in the running two-person study (#218); dogfooding gap tracked in #5.

… relaunch

Store the Chat/Ace mode per channel and the model and effort pick per chat in localStorage beside the channel's draft, replacing the session-only module maps.

Refs #273
Why: apps/app/src/composer.tsx#function Composer | an absent or "auto" pick sends no model, so a restored pick must keep that meaning
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.

Keep a channel's composer mode and unsent model choice across relaunch

1 participant