mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-25 01:35:31 +00:00
* fix(app): allow edited New workspace retries and unify composer errors New workspace and the workspace setup dialog reused the mount's raw draft or creation ID as the workspace.create idempotencyKey. When workspace provisioning failed before readiness, the daemon kept that key's request fingerprint on disk, so editing isolation, project, branch, prompt, or model on the same screen failed with workspace_request_key_conflict. Deriving the workspace idempotencyKey with draftCreationKey(id, request) matches #9534 for agent drafts: unchanged retries (double-click, reconnect, or resending as-is) keep one key, while edited retries start a new workspace creation without requiring daemon or protocol changes. Also move composer submission errors into one <Alert variant="error" size="sm" /> slot owned by <Composer> (directly above the input, and in ComposerFullscreenFooter when fullscreen) so New workspace, Workspace draft tab, Workspace setup dialog, and active chat share the composer's outer and inner rails without duplicate error toasts. * fix(app): include launch target in creation key and toast background failures Include launchTarget when deriving the New workspace creation key so switching between blank Chat and a promptless terminal profile after a pre-ready failure starts a fresh creation instead of replaying the failed receipt. Also show toast.error when workspace creation fails after the user has left New workspace or closed WorkspaceSetupDialog, while keeping the single composer alert with no duplicate toast when the form is still visible. * fix(app): avoid duplicate toast when handed-off agent startup fails Once New workspace hands a ready workspace to its draft tab, the draft tab awaits agentCreation.result and displays startup errors in its own composer alert. Returning early after handoff prevents New workspace's catch handler from firing a duplicate app-wide toast.