mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Reconcile the persona-template UX feature with 60 commits of main.
Three conflicts resolved:
- ManagedAgentRow.tsx: took main's version. Main deleted the per-row
AgentActionsMenu entirely and consolidated agent actions into
UserProfileAgentActions.tsx (UserProfileAgentSettingsMenu). The
original Part 2 row-menu target no longer exists.
- UserProfilePanel.tsx / UserProfilePanelSections.tsx: took main's
reworked versions, then re-applied the save-as action on top.
Part 2 re-home (decision (a), flagged to Ned): the "Save as persona
template" action now lives in main's UserProfileAgentSettingsMenu,
reusing main's persona-dialog infra (setPersonaDialogState +
saveAsPersonaTemplateDialogState + submitProfilePersonaDialog). This
makes useSaveAsPersonaTemplate.ts dead code (its only consumers were
the deleted row-menu and the stale profile wiring) -- deleted.
Provider source stays backend.id via providerForAgentBackend (Ned
confirmed: top-level agent.provider is a derived snapshot/output,
backend.id is the canonical create input). Stale comments claiming
"ManagedAgent has no top-level provider on main" corrected; logic
unchanged.
File-size overrides bumped: lib.rs 1034->1035 (main grew it via
ca50d832 #1246 without bumping); UserProfilePanel.tsx 1000->1014 (the
~15-line save-as re-home on an edge-riding panel).
Gate green on the merged tree: pnpm typecheck, biome, check:file-sizes,
check:px-text, 1194 unit tests.
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>