mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
* fix(agents): workspaces created on a paired host use the host's launch settings Creating a workspace with agent picks or a draft could launch the paired host's agent with desktop settings, or lose the picks during recovery. Let capable hosts compose those launches from their own settings and preserve the user's inputs through fallback creation. Older hosts retain their existing requests. * fix(agents): workspaces created on a paired host use the host's launch settings When a workspace is created on a paired computer, agent picks and Arguments can be replaced by this computer's defaults or dropped during recovery. Keep explicit choices with the submission and let the paired computer resolve its own launch settings. Preserve older-host request behavior, disabled-agent draft substitution and prompt submission, and restore the composer if compatibility preparation fails. * fix(agents): workspaces created on a paired host use the host's launch settings Keep the submitted choices available when a background launch has no prepared startup carrier. Tighten the regression checks for restored composer names, legacy commands and prompt submission so recovery preserves the user's work. * fix(agents): workspaces created on a paired host use the host's launch settings Creating a workspace on a paired machine could ignore its agent settings or lose a draft while the terminal connected. Keep the selected launch inputs and the pending text together through fallback and reconnect, and never replay partially written input. Preserve older hosts' launch commands and ordinary new-tab prompts' editable behavior. * fix(agents): workspaces created on a paired host use the host's launch settings Keep a workspace's pending prompt attached to its original terminal while the pane reconnects. Stop automatic delivery before reporting a final failure, retain the recoverable text, and recognize a launch handed off to the paired host even before its tab appears. Avoid delaying creation on a redundant host status request. * fix(agents): workspaces created on a paired host use the host's launch settings New workspaces on a paired computer could lose their first prompt when the terminal briefly disconnected. Delayed delivery could also continue after reporting failure, or leave terminal-only agents without an accessible copy of their prompt. Keep pending prompts through attachment loss, stop content writes when automatic delivery ends, and offer the existing composer to recover unsent text. Preserve launch identity without inventing empty Arguments or treating missing metadata as a replacement. * fix(agents): workspaces created on a paired host use the host's launch settings A replacement pane can learn its terminal before the layout catches up after reconnecting. Re-registering the effective launch settings then dropped the original first-prompt identity. Recover that identity from the existing verified terminal binding so later remounts keep the same pending prompt. * fix(agents): workspaces created on a paired host use the host's launch settings A terminal binding can identify the launch before its effective Arguments are known. Keep permission notifications working in that state without assuming a launch-settings recipe exists. * fix(agents): workspaces created on a paired host use the host's launch settings Keep an unsent prompt attached to its launch when a paired host briefly disappears, so reconnecting the same terminal can finish delivery. Clear the rest of the exited pane's status as before, and release the binding after delivery or a confirmed end. Offer Copy prompt when automatic delivery finally fails, so the prompt can be pasted into the terminal that already opened. Keep creation-failure Reopen separate. * fix(agents): preserve paired prompt recovery across transport updates Resolve the consumed startup token through the pane's verified binding instead of reading renderer ownership during every remote attach. Keep the transport's host-authoritative exit and reconnect behavior and its fixture guards. Settle pending prompt delivery when the host reconfirms a closed surface, including after it discards the terminal's exit record. Update the remount fixture for the Windows PTY model binding. * fix(agents): merge duplicate imports flagged by type-aware lint * test(agents): fix type assertions in paired launch fixtures Type the repository rows, mutable agent choice and terminal tab used by launch regressions. Reuse the session binding across its real installers and document the partial-fixture adapters required by the runtime APIs. Keep the RPC, remount and prompt-delivery assertions unchanged. * fix(agents): route workspace terminals through their owning host Creating a terminal for an existing workspace could send it to another focused server. Resolve its owning host when no explicit route was supplied, and keep the host-shaped draft regression within the shared startup contract so renderer checks do not pull in main-process code. * test(agents): align launch fixtures with runtime dependencies Retain real i18n exports while replacing translation output, hoist the terminal restore toast spy, and supply the explicit host environment used by paired terminal callers. Keep the existing behavior assertions unchanged. * fix(agents): isolate prompt failure notice dependencies Load the prompt failure notice only when a settled hosted launch needs it, so workspace recovery consumers do not initialize toast and localized agent catalogs just by importing delivery code. Keep prompt retirement and its recoverable draft synchronous, and preserve the existing Copy prompt action. Restore the ordinary new-tab failure toast's original invocation and verify that Fix Checks retains its edited request through the activation handoff. * test(agents): route legacy wire launches to their fixture host Pass the paired environment explicitly in legacy terminal-creation fixtures, matching real launch callers instead of relying on the focused host. Keep all compatibility and accepted-creation assertions unchanged. * fix(agents): preserve paired work-item completion without a startup plan Blank-terminal work-item launches on paired hosts now keep their successful activation result. If the agent command cannot be built, show that error once instead of reporting an activation failure. * refactor(agents): deliver paired creation prompts once like agent tabs Drop the retained hosted-prompt lifecycle (pending map, rebind, deadline, terminal retirement, token recovery). After the host creates the session the desktop attempts the prompt once; failure shows the prompt-not-sent toast with Copy prompt. * fix(agents): silence prompt failures after closing a workspace terminal Closing a paired workspace terminal before the agent was ready could report a prompt failure after that terminal was gone. Use shared launch completion and existing tab records to keep deliberate closes silent while preserving one Copy prompt notice after an interrupted delivery. Prepared launches now decide client delivery from the host request. * fix(agents): report every failed paired prompt delivery A paired host can retract its tab from inventory without the user cancelling the launch. Always report a failed prompt attempt with Copy prompt, using the same single-attempt completion as agent tabs. * test(agents): name host-session fixture mock types