cmux NEXT Chief: renaming a Chief saves, and Move and Scale for its picture (#27915)

Merged
AU
7d ago
+1246-11

Fixes https://github.com/manaflow-ai/cmux/issues/27915

Work in progress: Move and Scale is in; the rename root cause is being reproduced on a signed-in (Cloud) Chief, since a Chief of this Mac renames fine at the base.

Changelog

  • Added: A picture chosen or dropped on a Chief's card opens Move and Scale; the saved circle becomes the Chief's picture.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes Chief renaming from the profile card so it saves (previously it could fail with "could not be changed. Try again in a moment."), and adds a Move and Scale editor for a new Chief picture.

  • Choose Picture… or dropping an image on the Chief card opens a crop editor like Messages' contact photo editor: drag to move, scroll, pinch, or slide to zoom; Save keeps the circle's square.
  • The saved crop is a 512px PNG written to the Chief's registry record (local files for a cloud Chief); GIFs are kept whole, as before.
  • Adds debug.home.api edit_picture, a live proof script, and tours covering both the rename save and the crop.