Commit Graph
3580 Commits
Author SHA1 Message Date
Brennan BensonandOrca 94f37ef7fb Add Warp terminal theme import (#4714)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:36:57 -07:00
Jinwoo HongandOrca de54c14b97 Improve localization catalog sync workflow (#5110)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:35:05 -07:00
6af0d00f1f Fix i18n label spacing in menus and settings (#5108)
* fix i18n label spacing

* Fix localized account runtime labels

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:35:05 -07:00
2bc1a7a587 Fix automation tabs showing a shell instead of the live agent (#5099)
* Fix automation tabs showing a shell instead of the live agent

Opening a background automation's terminal tab showed a bare shell while
the agent (Claude) kept running headless — the sidebar updated but the
pane was attached to the wrong PTY.

On first mount the restored ptyId equals the tab ptyId, and
isSessionOwnedByWorktree() returns true for it, so connectPanePty routed
the still-live eagerly-spawned PTY into the daemon-reattach branch
(transport.connect({ sessionId })), which spawns a fresh shell and
orphans the live agent PTY instead of adopting it via attach()+replay.

Part A: gate the deferred reattach on the absence of a live eager buffer.
A live eager buffer means the PTY is a still-running local session to
adopt (attach + replay), not a daemon session to re-connect. Daemon
reattach and remote PTYs are unaffected (gated on the eager buffer).

Part B: publish never-mounted background automation tabs into the runtime
graph (gated on a live eager buffer) so the live agent PTY binds to its
real tab instead of surfacing as an orphan `pty:<id>` terminal — fixing
`orca terminal list`, the CLI, and automation session-reuse.

Adds a characterization test (fails on the old code, passes now) and a
runtime-graph publish test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Harden eager PTY tab adoption

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:35:05 -07:00
Jinwoo HongandOrca 70159c2994 Fix task page labels after language changes (#5086)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:35:05 -07:00
Jinjing d3398e8599 Fix localization in repository hooks and base ref suggestion toast (#5089)
* Fix localization in base ref toast and custom hook description

- Localize the "commit"/"commits" plural nouns in the base ref toast.
- Translate missing suggestion toast strings for JA, KO, and ZH locales.
- Pass `{{artifact_url}}` as a literal template variable to translate
  calls to prevent i18next from treating it as a dynamic placeholder.

* Fix localization reactivity in RepositoryHooksSection

Move static variables containing translation calls into helper functions
and subscribe to translation updates using useTranslation. This ensures
that localized options, descriptions, and error messages refresh
dynamically when the user changes the UI language.
2026-06-11 12:35:04 -07:00
Jinjing 4ebbecf578 fix: address review findings (#5088) 2026-06-11 12:35:04 -07:00
Jinjing 1194ca3995 Wrap AI generation controls with tooltips and clean i18n dependencies (#5087)
- Wrap the AI generation button in a tooltip so users can see the
  disabled reason or the action description on hover.
- Add unit tests verifying tooltip triggers and aria-label safety.
- Simplify memo dependencies in settings metadata and worktree palette
  by using 'useTranslation()' to handle language-change rerenders
  directly without needing 'i18n.language'.
2026-06-11 12:35:04 -07:00
Jinjing 7ea3cd5afe Handle buffer overflows gracefully and truncate diffs fairly (#5083)
- Gracefully fall back to file-name summaries when staged diffs exceed
  node/ssh execution maxBuffer limits, preventing generation failures.
- Split oversized diffs by file and allocate budget via water-filling,
  ensuring single huge files do not starve smaller human changes.
- Clip truncated diff sections on line boundaries to avoid half-lines.
2026-06-11 12:35:04 -07:00
e007d2f973 Fix workspace-creation tour panel clipped by the Create Worktree dialog (#5078)
* Fix workspace-creation tour panel clipped by the composer dialog

The tour panel portals into dialog/sheet content that clips overflow, but
its position was clamped against the window viewport. With the Project
field spanning nearly the dialog's full width, the panel landed past the
dialog's right edge and overflow-hidden cut it down to a sliver. Clamp
hosted panels within the host's bounds instead, so the panel flips below
the target and stays fully visible.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Add JSDoc docstrings to satisfy CodeRabbit docstring coverage check

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Test hosted contextual tour overlay positioning

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-06-11 12:34:00 -07:00
Jinwoo HongandOrca d615dc2eec Fix source control branch compare base (#5074)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo HongandOrca c4b8659329 Suspend floating workspace terminal WebGL while the panel is closed (#5073)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo HongandOrca 347c584d6b Fix stale terminal daemon spawn health (#5064)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo HongandOrca 16b0b4a9ab Recover floating workspace terminal WebGL atlas on reopen (#5069)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca c940e01a47 Complete project host setup validation
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca 626f2ec0ed Make add project host aware
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca ce0cc1eeb2 Add CLI project host setup clone command
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca 5d2ee98e11 Stream SSH clone progress to renderer
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca e00d3cbd4c Gate unavailable project setup hosts in settings
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca 79ff2475c1 Gate unavailable project host setup options
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca 4bb67665b5 Add settings clone flow for project host setups
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca 16cbd773e3 Use shared host registry for project setup choices
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:34:00 -07:00
Jinwoo-HandOrca aa5a0b3b1e Report pending setup state in workspace target resolution
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca f6ac9f7ab2 Show pending project host setup status in composer
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca a0682f082f Add pending host setup action in project settings
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca c430369b12 Handle independent project host setups in settings
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 88fb23fa15 Expose project host setup lifecycle in renderer store
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca c622bd746f Add project host setup create API
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca beb7cbaade Add project host setup delete API
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 4c146ce394 Add project host setup update API
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 13baeba95d Preserve independent project host setups
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 4e9bc9b6c6 Gate project host setup runtime capability
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca a5bbad37d3 Backfill workspace project host ownership
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 184a5e2858 Improve SSH clone cancellation cleanup
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 67f8e792c7 Clone project hosts over SSH
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 359cb1baef Persist project host setup method
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca b57f9e4914 Clone project host setup from composer
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca 7951a1f3c1 Import missing project host from composer
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:59 -07:00
Jinwoo-HandOrca e0ef859772 Show unavailable hosts in workspace run target
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 9a9d00af9f Show host context in project sidebar groups
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 1918722518 Keep projects outermost in default sidebar view
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 69982d07c7 Add project host existing-folder setup form
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca fb27990abe Stabilize project host setup settings selector
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 2994730c32 Make project host setup settings navigable
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 47dea939c9 Add project host setup settings summary
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 47a8343950 Add workspace host setup picker
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca d05ec67e2b Allow CLI worktree creation by project host setup
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 0a4a4ddbd1 Add project host setup CLI commands
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca cbdd3618d1 Add project host setup existing folder API
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00
Jinwoo-HandOrca 15a04d18a9 Stamp workspace ownership with project host setup
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:33:58 -07:00