Files
orca/resources
Brennan Benson 3a74721f89 fix(skills): hide split icon and stop update-terminal respawn on refocus (#9082)
* fix(skills): hide split icon and stop update-terminal respawn on refocus

The "Update skills" modal embeds a one-off command terminal via
OnboardingInlineCommandTerminal. Two issues:

1. The pane header showed the regular terminal's split ("Split Terminal
   Right") icon, which makes no sense for an ephemeral single-command
   terminal. Add an `allowSplit` prop (default true) threaded
   TerminalPane -> TerminalPaneHeaderOverlay, and have all onboarding
   inline command terminals pass `allowSplit={false}` to omit it.

2. Alt-tabbing out of Orca and back respawned the terminal. On window
   focus, useSkillFreshness republishes {inventory: null, loading: true}
   to retract stale update authority; the dialog reacts by nulling the
   draft command, then re-sets it after the scan, and the
   `key={terminalCommand}` remount spawns a fresh PTY. Add a ref-counted
   suspendSkillFreshnessFocusRescan(); the dialog holds focus rescans
   while a live terminal is showing so refocus no longer tears it down.
   Explicit Re-check and install-changed refreshes still run.

* fix(skills): preserve freshness checks without respawning terminal

* fix(skills): keep revalidated terminal safe and focused
2026-07-16 17:17:03 -07:00
..
2026-03-16 22:21:50 -07:00
2026-03-19 01:25:06 -07:00
2026-03-21 13:18:13 -07:00