Commit Graph
2946 Commits
Author SHA1 Message Date
buf0-bot[bot]andorca-bug-scan-bot 884cc6d622 fix: address pr-bug-scan findings from #1409 (#1422)
Fixed pty-connection passphrase wait gate: added 'disconnected' as terminal status (only after seeing a non-disconnected state) so cancel resolves; added waitTeardowns registry so dispose() actively u

Co-authored-by: orca-bug-scan-bot <orca-bug-scan-bot@stably.ai>
2026-05-06 17:20:28 -07:00
Neilandorca-bug-scan-bot 5dd48c7315 fix: address pr-bug-scan findings from #1396 (#1517)
Fix tab profile use-default fallback to default profile and destroy
all sibling webviews on workspace profile switch.

Reapplied on fresh origin/main; supersedes #1460.

Co-authored-by: orca-bug-scan-bot <orca-bug-scan-bot@stably.ai>
2026-05-06 17:19:26 -07:00
buf0-bot[bot]andnwparker 24b5fe2662 fix: filter DEFAULT_APP_FONT_FAMILY from terminal font picker (#1461)
Rebased buf0-bot #1461 onto current main — the original branch was
71 commits stale and would have reverted #1485 (Cmd/Ctrl+F search) and
#1429 (instant theme transitions).

Co-authored-by: nwparker <nwparker@users.noreply.github.com>
2026-05-06 16:53:04 -07:00
github-actions[bot] 6b3b28a199 release: v1.3.37-rc.3 v1.3.37-rc.3 2026-05-06 23:26:00 +00:00
Brennan BensonandOrca e7fef4e14d fix(source-control): preserve UTF-8 paths in status and branch diff (#1515)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 16:22:24 -07:00
Neilandnwparker a75e706a6c fix: flip parentFieldRetried inside probe IIFE before resolveProbe() (#1514)
Closes the race where siblings awaiting parentFieldProbeInFlight wake
between resolveProbe() and the deferred parentFieldRetriedByOwner.add()
in the outer block, see parentFieldProbeInFlight=null +
parentFieldRetriedByOwner without scopeKey, and issue duplicate
with-parent probes.

Originally raised in #1456, but that PR branched off pre-#1465 main and
its diff against current main reverted #1465's owner-keyed parent-field
caches back to global flags. This re-applies the fix on current main.

Refs #1456

Co-authored-by: nwparker <nwparker@stably.ai>
2026-05-06 15:38:17 -07:00
Brennan BensonandOrca 21c3c9f16f refactor(shortcuts): remove Cmd-hold number-badge hint UI (#1412)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 15:27:57 -07:00
github-actions[bot] fbbe1de40a release: v1.3.37-rc.2 [rc-slot:2026-05-06-15] v1.3.37-rc.2 2026-05-06 22:21:09 +00:00
9f8bf81c38 feat(source-control): commit, push, pull, and sync actions in panel (#1211)
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Alexander Saavedra <mralexsaavedra@gmail.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: brennanb2025 <brennankbenson@gmail.com>
2026-05-06 15:03:52 -07:00
Jinjing 5c7e5f2f1d fix: default workspaces grouping to projects (#1513) 2026-05-06 14:51:37 -07:00
NeilandHermes Agent b933333500 fix(cli): exclude tab profile list/create/delete from --page flag (pr-bug-scan #1397) (#1512)
Adds 'tab profile list', 'tab profile create', 'tab profile delete' to the
supportsBrowserPageFlag exclusion list. These commands operate on profile
identifiers, not browser pages, so accepting --page silently was misleading.

Supersedes #1458 (which was branched off stale main pre-#1396 and would
have reverted 'tab current' out of the exclusion list).

Co-authored-by: Hermes Agent <hermes@orca>
2026-05-06 14:38:58 -07:00
Brennan BensonandOrca c0801b9aef chore(dev): auto-expose a CDP port from pn dev (#1511)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 14:14:51 -07:00
Jinwoo HongandOrca 7c8c132fb1 fix(pty): use a single persistent ipcMain listener for serializeBuffer responses (#1510)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 13:37:45 -07:00
Jinwoo HongandOrca f4a238b937 fix(terminal): preserve scrollback when captureBuffers runs during a transient empty-render window (#1509)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 13:24:38 -07:00
Brennan BensonandOrca 88f04eb6b3 fix(dashboard): unstick bold codex inline-agent rows after retention (#1494)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 13:10:25 -07:00
Jinwoo HongandOrca 28caefd82c Handle stale SSH repo worktree refreshes (#1508)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 13:01:09 -07:00
Jinwoo HongandOrca 9c24425504 fix(mobile): handle notification permission changes (#1506)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 11:57:42 -07:00
Jinwoo HongandOrca bba744a8cb fix(mobile): use neutral camera permission copy (#1504)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 11:45:37 -07:00
github-actions[bot] b5d2b288b6 release: v1.3.37-rc.1 [rc-slot:2026-05-06-03] v1.3.37-rc.1 2026-05-06 10:45:45 +00:00
Jinwoo HongandOrca 07d10c8e8d fix(mobile): WS heartbeat to reap half-open mobile sockets (#1500)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 02:05:38 -07:00
Jinwoo HongandOrca 97c8969246 Mobile: drop unused NSMicrophoneUsageDescription + bump iOS build to 9 (#1495)
Co-authored-by: Orca <help@stably.ai>
2026-05-06 00:16:55 -07:00
buf0-bot[bot]andJinjing d40a5ab6da fix(cli): make ProfileCreate.scope strict (pr-bug-scan #1397) (#1497)
Replace ProfileCreate.scope coerce-to-isolated transform with strict
z.enum(['isolated', 'imported']) so unknown scopes surface validation
errors instead of being silently rewritten.

Supersedes #1455 (which was branched off stale main and would have
reverted #1396).

Co-authored-by: Jinjing <jinjing@stably.ai>
2026-05-06 00:14:10 -07:00
Jinwoo HongandOrca b95c338c58 chore(mobile): bump iOS buildNumber to 8 to ship updated app icon (#1492)
Picks up the icon update from #1490. Apple requires monotonically
increasing build numbers — 7 was already uploaded to TestFlight.

Co-authored-by: Orca <help@stably.ai>
2026-05-05 23:22:16 -07:00
NeilandOrca 3664507f85 mobile: update iOS app icon (#1490)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 22:32:04 -07:00
Brennan BensonandOrca 0df075f2d2 chore(telemetry): silence dev-mode console mirror in track() (#1489)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 21:50:58 -07:00
Jinwoo HongandOrca 97b177d24c Mobile: declare mass-market encryption exemption + bump iOS build to 7 (#1488)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 21:25:22 -07:00
github-actions[bot] 48ae81d1cd release: v1.3.37-rc.0 v1.3.37-rc.0 2026-05-06 03:51:59 +00:00
Jinwoo HongandOrca 82b078efa9 Mobile: App Store v0.0.4 prep + connection-stability fixes (#1486)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 20:46:56 -07:00
github-actions[bot] 6e4e668cb3 release: v1.3.36 v1.3.36 2026-05-06 03:20:18 +00:00
Brennan BensonandOrca be2b30f1ad feat(settings): focus search on Cmd/Ctrl+F and fix empty section headers (#1485)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 20:06:42 -07:00
github-actions[bot] 2f99f93142 release: v1.3.36-rc.0 v1.3.36-rc.0 2026-05-06 02:57:53 +00:00
Jinwoo HongandOrca 30b6aaf638 fix(terminal): close SIGKILL race for #217 + preserve scrollback on worktree sleep (#1454)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 19:26:44 -07:00
Jinwoo HongandOrca 63e36d05fd chore(mobile): App Store prep — privacy manifest, debug-log cleanup, and protocol-version compat block (#1440)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 19:23:56 -07:00
NeilandOrca e91377f0b2 fix(updater): add diagnostic logging for prerelease feed resolution (#1483)
When a user on an RC build doesn't get offered a newer stable release,
we currently have zero on-machine visibility into which step failed:
the atom-feed resolver, electron-updater's manifest fetch, or some
race in between. The static analysis path looks correct, but a real
user is hitting the bug — so add the missing logs before adding any
speculative behavior change.

- Wire autoUpdater.logger to console so electron-updater's per-step
  progress (channel file URL, fetched version, dedup decisions) lands
  in main-process stdout (Console.app on macOS, --enable-logging
  elsewhere). Previously these were silently dropped.
- Log the resolved tag and pinned URL from pinPrereleaseFeed in one
  line, so we can tell at a glance whether the atom-feed resolver
  picked the expected newer release or fell back.

No behavior change. Tests + typecheck pass.

Co-authored-by: Orca <help@stably.ai>
2026-05-05 19:14:12 -07:00
Jinwoo HongandOrca a35b6f1495 chore(mobile): bump to v0.0.4 (build 5) (#1482)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 19:03:34 -07:00
Jinwoo HongandOrca 087c00b02e Mobile: stabilise connection + terminal-fit fixes + share one RpcClient per host (#1481)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 18:58:13 -07:00
Brennan BensonandOrca c28c06a9c2 fix: focus the right pane after clicking an agent (#1451)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 18:01:47 -07:00
github-actions[bot] 83130c69e5 release: v1.3.35 v1.3.35 2026-05-06 00:39:48 +00:00
NeilandOrca 806ee58585 fix(pi): prefill linked issue URL via env var to bypass paste-readiness race (#1477)
When the new-workspace draft flow targets pi (e.g. user picks a GH issue
in the smart input + selects pi as the agent), the URL was supposed to
land in pi's input box as an editable draft. It didn't, because pi has
no `--prefill` flag and our bracketed-paste-after-ready path waits for
1.5s of stream silence after `\x1b[?2004h` — pi's startup banner
(Skills/Prompts/Extensions/conflicts) prints continuously for 5+ seconds,
which keeps the quiet-timer resetting until the 8s budget expires and
the paste is dropped. Claude works because of `--prefill`; codex works
because its startup is short enough to hit the quiet window.

Fix mirrors Claude's `--prefill` semantics for pi:

- Orca's pi overlay now installs a tiny `orca-prefill.ts` extension
  alongside the existing titlebar spinner. On `session_start` it reads
  `ORCA_PI_PREFILL` and calls `pi.ui.setEditorText(text)`, then deletes
  the env var so subsequent /new sessions don't re-prefill.
- `TuiAgentConfig` gains `draftPromptEnvVar`; pi sets it to
  `ORCA_PI_PREFILL`.
- `buildAgentDraftLaunchPlan` returns `{ launchCommand: 'pi', env: {...} }`
  for env-var agents; the env is plumbed through `startup.env` into
  `pty:spawn` (already supported by pty-connection.ts).

The launched shell command stays a clean `pi` — no `FOO='...' pi` prefix
typed into the terminal — and the readiness race is sidestepped entirely.

Co-authored-by: Orca <help@stably.ai>
2026-05-05 17:37:05 -07:00
NeilandOrca e49d90bee4 fix(gh-project): diagnose env-shadowed gh tokens in auth errors (#1478)
* fix(gh-project): diagnose env-shadowed gh tokens in auth errors

`gh auth refresh -s project` silently no-ops when GITHUB_TOKEN/GH_TOKEN
is exported in the user's shell — gh prefers env tokens and refuses to
modify them, exiting 0. Users follow the canned remediation, see no
error, retry, and stay stuck.

Add a one-shot `gh auth status` probe (gh:diagnoseAuth IPC) that:

- Detects env-shadowed credentials and rewrites the fix to `unset
  GITHUB_TOKEN` plus a grep to find where it's exported.
- Detects missing gh install, plain missing-scope on a keyring login,
  and SAML SSO authorization.
- Surfaces a tailored multi-button error UI in ProjectViewWrapper and
  ProjectPicker instead of one canned 'Copy command'.

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

* fix(gh-project): address review feedback

- Cross-platform shell guidance: PowerShell commands on Windows
  (Get-ChildItem Env:, Remove-Item Env:, [Environment]::SetEnvironmentVariable)
  via navigator.userAgent platform check.
- Use `window.api.shell.openUrl` for the docs button instead of
  `window.open`, matching SidebarToolbar's external-URL pattern.
- Tighten gh auth status parser: accept single-label hostnames and
  optional trailing colon; recover host from the inline 'Logged in to
  <host>' line so a missed section header never silently drops accounts.
- Add tests for multi-host output and host-recovery fallback.
- Drop dead command/copy locals in ProjectViewWrapper.ErrorState by
  short-circuiting the auth-error case before they're computed.

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

---------

Co-authored-by: Orca <help@stably.ai>
2026-05-05 17:36:27 -07:00
github-actions[bot] 8565f7f186 release: v1.3.35-rc.7 v1.3.35-rc.7 2026-05-06 00:20:06 +00:00
Jinwoo HongandOrca 7f2f39b804 feat(mobile): pairing paste flow + Keychain-backed device tokens + deep link (#1475)
Co-authored-by: Orca <help@stably.ai>
mobile-v0.0.3
2026-05-05 17:14:08 -07:00
dependabot[bot] a0002f8e82 chore(deps): bump simple-git from 3.33.0 to 3.36.0 (#1471)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 17:10:53 -07:00
Brennan BensonandOrca f2b3b7eaf2 fix(worktree): drop unsupported -z from git worktree list --porcelain (#1470)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:49:28 -07:00
Jinwoo Hong 4140d6a4c0 Revert "feat(mobile): pairing paste flow + Keychain-backed device tokens (#1452)" (#1474)
This reverts commit 55d3a42079.
2026-05-05 16:29:00 -07:00
github-actions[bot] f927d3bef9 release: v1.3.35-rc.6 v1.3.35-rc.6 2026-05-05 23:27:50 +00:00
NeilandOrca d3388603bb feat(new-workspace): inline create-branch row, scoped suggestions, name under Advanced, tab/focus polish (#1469)
* feat(new-workspace): branch-tab create row, scoped empty hints, name under Advanced, focus polish

- Branch tab autocomplete now offers "Create new branch <name>" instead of a
  separate + button + dialog (replaces the original UX from #1408 / #1400).
  Suppressed when the typed query exactly matches an existing branch.
- "Use <X> as workspace name" row is restricted to Smart mode; on dedicated
  source tabs (GitHub/Linear/Branch) it was off-topic noise.
- Per-mode empty-state hints ("search GitHub PRs and issues", "find a branch
  or create a new one", etc.) replace the generic message.
- When a source (PR/issue/Linear/branch) is selected, the auto-derived
  workspace name is exposed as a "Name" input under Advanced where it can be
  reviewed/overridden. With an explicitly typed name the smart input itself
  is the name field, so no duplicated control.
- Forward Tab from the Repo combobox now skips the Smart/GitHub/Branch/Linear
  segmented control and lands directly in the search input. Shift-Tab from
  the input still focuses the active tab trigger so the segmented control is
  reachable in reverse. Implemented via a focusCapture interceptor on
  TabsList that distinguishes outside-entry from intra-list moves and from
  the input's own shift-tab.
- Trigger checkLinearConnection() on mount so the "Connect Linear in
  Settings" hint isn't shown stalely when the composer is the first
  Linear-aware surface to render in the session; gate the disconnected
  message on linearStatusChecked.

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

* fix(new-workspace): Enter commits typed text while results are stale

When the user types faster than the 200ms search debounce, rows and
commandValue still reflect the previous query, so Enter would silently
pick a stale source row (e.g. a PR from the prior letters). Treat
results as stale while loading or while debouncedQuery hasn't caught up
to the input value, and commit the typed text via onValueChange instead.

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

* fix(new-workspace): suppress stale source rows in autocomplete while typing

Source rows (GitHub items / branches / Linear issues) are driven by
debouncedQuery, so they're stale until the user pauses for the 200ms
debounce. The previous attempt only short-circuited Enter in the
input's onKeyDown, but cmdk's Command component has its own Enter
handler that still fires onSelect on the highlighted (stale) row.

Filter source rows out of the rows list itself when debouncedQuery
hasn't caught up to value, leaving only the typed-text row (use-name
in Smart, create-branch in Branches). With no stale rows present,
neither cmdk nor our own handler can pick a wrong source on Enter,
and the popover gives visual feedback (collapses to the typed-text
row) while results catch up.

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

* fix(new-workspace): keep stale results visible, force highlight to typed-text row

Previous attempt removed source rows while debouncedQuery hadn't caught
up to value, which caused funky disappear/reappear flicker as the user
typed (rows present briefly while fresh, gone after the next keystroke).

Keep all source rows visible at all times to preserve continuity, but
control which row is highlighted while stale:
  - Smart/Branches: force highlight onto the typed-text row (use-name /
    create-branch) so cmdk's Enter handler commits the typed text instead
    of a stale issue/PR/branch.
  - GitHub/Linear: no typed-text fallback row exists, so clear the
    highlight; the input's onKeyDown falls through to onPlainEnter rather
    than picking a stale source.

Also fixed the input's Enter handler to fall through to onPlainEnter
when no row matches the (possibly empty) commandValue, so the keypress
isn't inert in the cleared-highlight case.

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

* feat(new-workspace): auto-highlight matching source for #NNN, GH URLs, Linear IDs

When the typed value is unambiguously a source reference, snap the
autocomplete highlight onto the matching source row once it appears
instead of leaving it on the typed-text fallback. Enter then picks the
intended source.

Recognized patterns:
  - GitHub shorthand: #1234
  - GitHub URL: https://github.com/<owner>/<repo>/issues/123 or /pull/123
  - Linear identifier: STA-123 (case-insensitive [A-Z][A-Z0-9_]*-\d+)

Stale-results behavior is unchanged: while debouncedQuery hasn't caught
up to value, the typed-text row stays highlighted (Smart/Branches) or
the highlight is cleared (GitHub/Linear) regardless of intent.

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

---------

Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:27:20 -07:00
Jinwoo HongandOrca 1b25138e06 fix(mobile): remove dead-row gap above keyboard accessory bar (#1457)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:24:44 -07:00
Brennan BensonandOrca 8de43cd3b4 fix(sidebar): stamp lastActivityAt on first worktree discovery (#905)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:17:51 -07:00
Jinwoo HongandOrca 55d3a42079 feat(mobile): pairing paste flow + Keychain-backed device tokens (#1452)
Co-authored-by: Orca <help@stably.ai>
2026-05-05 16:09:26 -07:00