Commit Graph
6580 Commits
Author SHA1 Message Date
Jinwoo-H c1b37a14e7 test(skills): make staging auth noninteractive 2026-08-12 01:29:19 -04:00
Jinwoo-H 5a05992e26 feat(skills): add unlisted share management 2026-08-12 00:26:00 -04:00
Jinwoo-H 70b847c38e fix(skills): prepare bundle content for target filesystem 2026-08-11 23:20:13 -04:00
Jinwoo-H 08db246f27 test(skills): report WSL bundle failures 2026-08-11 23:18:46 -04:00
Jinwoo-H e4ff69ccba feat(skills): add private skill bundle sharing 2026-08-11 23:14:25 -04:00
Jinwoo-H 81bc526d81 fix(skills): localize sharing workflows 2026-08-11 13:11:40 -04:00
Jinwoo-H 91cfc7423d fix(skills): harden remote install convergence 2026-08-11 13:11:30 -04:00
Jinwoo-H e6737e5068 fix(skills): resume interrupted package uploads 2026-08-11 12:29:10 -04:00
Jinwoo-H 6c2857c221 fix(skills): expire abandoned remote uploads 2026-08-11 12:23:48 -04:00
Jinwoo-H 8be6301811 test(skills): cover paired runtime installation 2026-08-11 12:17:10 -04:00
Jinwoo-H 9e79a325bb test(skills): cover SSH installation journey 2026-08-11 12:08:39 -04:00
Jinwoo-H 8be7275d0d fix(skills): encode portable package archives 2026-08-11 11:40:30 -04:00
Jinwoo-H 568e66d801 fix(skills): stabilize compression across zlib versions 2026-08-11 11:37:26 -04:00
Jinwoo-H 6123082fa3 fix(skills): normalize gzip archives across hosts 2026-08-11 11:35:04 -04:00
Jinwoo-H bb71b28674 test(skills): pin portable package identity 2026-08-11 11:32:51 -04:00
Jinwoo-H cdafe43542 fix(skills): verify WSL installs with guest paths 2026-08-11 11:27:38 -04:00
Jinwoo-H a9f10b5dec test(skills): expose WSL semantics failure 2026-08-11 11:23:06 -04:00
Jinwoo-H 2ceabc6c23 test(skills): exercise real WSL POSIX semantics 2026-08-11 11:21:49 -04:00
Jinwoo-H b4f5b6c119 test(skills): preserve independent copy drift 2026-08-11 11:18:57 -04:00
Jinwoo-H c7c8a2e32d test(skills): cover Windows junction ownership 2026-08-11 11:17:22 -04:00
Jinwoo-H 18fe31f107 fix(skills): return retryable rename exhaustion 2026-08-11 11:15:41 -04:00
Jinwoo-H 8b1b434048 test(skills): observe locked source without opening it 2026-08-11 11:14:19 -04:00
Jinwoo-H 74d2e6b42a test(skills): pass lock fixture through environment 2026-08-11 11:13:22 -04:00
Jinwoo-H 2415708c99 test(skills): fix Windows lock harness 2026-08-11 11:12:31 -04:00
Jinwoo-H 82321779f2 test(skills): exercise real Windows rename contention 2026-08-11 11:10:47 -04:00
Jinwoo-H 534abb8908 test(skills): reject download host confusion 2026-08-11 11:05:11 -04:00
Jinwoo-H 38202d3c1b security(skills): harden private staging 2026-08-11 10:54:51 -04:00
Jinwoo-H 1e2d2e806f test(skills): use Windows junction fixtures 2026-08-11 10:49:19 -04:00
Jinwoo-H 7094c05985 test(skills): cover real Windows workspaces 2026-08-11 10:47:33 -04:00
Jinwoo-H 42de7a0058 feat(skills): bound install diagnostics 2026-08-11 10:44:23 -04:00
Jinwoo-H 6d3ce582aa test(skills): cover Windows long paths and case collisions 2026-08-11 10:36:55 -04:00
Jinwoo-H 41bede4c78 test(skills): use portable git config fixtures 2026-08-11 10:34:05 -04:00
Jinwoo-H 149d2dc2b5 fix(skills): recover interrupted remote transfers 2026-08-11 10:31:09 -04:00
Jinwoo-H 8963bb3bef feat(skills): harden shared installation lifecycle 2026-08-11 10:13:40 -04:00
Jinwoo-H 4eeb30ddc8 feat(skills): harden sharing and install lifecycle 2026-08-11 09:38:51 -04:00
Jinwoo-H ed2781fbc1 fix: support Windows-backed WSL skill installs 2026-08-11 08:33:38 -04:00
Jinwoo-H dc7d5a20ab test: cover Windows-backed WSL skill workspace 2026-08-11 08:31:57 -04:00
Jinwoo-H 6ffd14c987 test: add real WSL skill transaction harness 2026-08-11 08:30:37 -04:00
Jinwoo-H 9bf12760d4 test: cover skill transaction recovery and management 2026-08-11 08:28:16 -04:00
Jinwoo-H d364750ad2 test: account for native Windows skill semantics 2026-08-11 08:21:32 -04:00
Jinwoo-H ff6674e1f5 feat: add private skill sharing and installer 2026-08-11 08:16:39 -04:00
Neil 0aa7d0b5c1 refactor(renderer): unify the window park-visibility primitive (#13778)
The stream-gating hook (#13608) and the subscription parking installer
(#13621) each reimplemented `isWindowVisible() || isDocumentVisibilityProvenStale()`
plus its visibilitychange + stale-recovery subscription, and each carried
its own 500ms park delay that agreed only by coincidence.

Extract both into `lib/window-park-visibility.ts` and leave the two
consumers as thin wrappers: `useWindowStreamVisible` feeds the snapshot
and subscribe into `useSyncExternalStore`, the parking installer calls
them imperatively. The subscribe now always uses the defensive
`typeof document` guard the parking side already had, and registers
stale recovery before the visibilitychange listener so the stale latch
is cleared before the callback reads it.

Both park delays now derive from one `WINDOW_HIDE_PARK_GRACE_MS`: they
debounce the same signal against the same user behaviour (a quick
app-switch round trip). The parking side's 8x reveal-side backoff stays
where it is - that models its own resume cost, not the grace window.

Renderer-authoritative gating (#13622 native chat, #13634 editor panels)
is deliberately left alone; it keys off Zustand routing state, not OS
visibility.

Also switch the active-runtime ref writes in web-session-tabs-sync to
`useLayoutEffect` so no resume event can land between paint and the
passive flush, and correct the stale comment above them - the install
effect reads neither ref (both readers are gated on `isVisibilityResume`).
2026-08-11 01:43:47 -07:00
NeilandOrca 12f58f6bee fix(editor): keep an invalidated diff visible until its reload lands (#13777)
Mark invalidated diff content stale instead of dropping it, mirroring the file-content treatment from #13634. The diff read-generation fence (diffReadGenerationRef) already rejects a superseded read's write-back, so retaining the bytes and swapping them on arrival is safe and keeps every RPC saving -- it just stops the loading placeholder flashing on each reveal.

The git-status reload effect now treats a stale entry like a missing one so the lazy-load effect stays the single fetcher for it.

Co-authored-by: Orca <help@stably.ai>
2026-08-11 01:43:44 -07:00
NeilandOrca b3965f3205 perf(native-chat): suspend hidden transcript streams (#13622)
* perf(native-chat): suspend hidden transcript streams

* fix(native-chat): keep assembly renders pure

* fix(native-chat): keep a transient error from stranding a revealed chat

- An error snapshot frame no longer latches frameArrived, so the in-flight
  read can still seed the pane instead of leaving it on the error surface.
- Retained history is shown over a full-pane read error for the same source.
- The paged read window survives a hide/reveal; only a source change resets it.

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

* fix(mobile): match the trimmed native-chat retention signature

The shared retention type no longer takes `loading`, so mobile's call was an
excess-property error that broke the mobile typecheck job. Dropping it also
lets mobile inherit the desktop behavior: a stream error or dropped client
keeps the last transcript instead of swapping it for the error empty state.

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

---------

Co-authored-by: Orca <help@stably.ai>
2026-08-11 01:27:25 -07:00
NeilandOrca 33e8d89d48 [perf-remote] perf(renderer): park hidden remote browser screencasts (#13608)
* perf(renderer): park hidden remote browser screencasts

* test(renderer): pin stale-visibility term and parked-unmount teardown

Restores the WHY behind the '|| isDocumentVisibilityProvenStale()' term the
emulator-module dedupe dropped, and pins it plus the close-tab-while-parked
path with tests. Extracts the lifecycle harness so the spec stays under
max-lines without a suppression.

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

* fix(ci): exclude test-support modules from the localization audit

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

---------

Co-authored-by: Orca <help@stably.ai>
2026-08-11 01:27:02 -07:00
NeilandOrca 94a4756095 [perf-remote] perf(renderer): park hidden remote session mirrors (#13621)
* perf(remote): park hidden session mirrors

* perf(renderer): bound visibility resume cost and repair fences

- Back off the park delay after a park the user undoes quickly; each resume
  re-enumerates every paired host, so short hide/reveal churn now stops
  parking instead of paying that cost per cycle.
- Expire the active-worktree omission fence one visibility generation after
  the inventory that set it, and name the unfiltered-inventory invariant it
  depends on.
- Never skip the unchanged resume inventory for a worktree whose repair
  replay is already armed.

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

* fix(renderer): move active-runtime ref writes out of render

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

---------

Co-authored-by: Orca <help@stably.ai>
2026-08-11 01:14:40 -07:00
Neil baeb1b3cc8 perf(editor): stop hidden panels duplicating remote reloads (#13634)
* perf(editor): park hidden external reloads

* fix(editor): sync content refs after commit

* fix(editor): close post-commit ref window

* test(editor): cover commit-time visibility

* fix(editor): keep invalidated content visible and stop redundant reads

- Mark invalidated file content stale instead of dropping it so a reveal swaps
  bytes in place; the read-generation fence already blocks stale write-backs.
- Skip the lazy read when the newest read for the tab is still outstanding, so
  a worktree flip-flop cannot double-fetch.
- Stop claiming Cmd/Ctrl+S outside the workspace view, where no mounted panel
  owns the request and the keystroke was silently swallowed.
2026-08-11 01:14:37 -07:00
NeilandOrca 8fad723f84 fix(worktree-poller): sample the scan gate before its listing (#13772)
A write landing during a full scan was recorded by the post-scan gate stat,
so the next tick saw a clean gate and the create/delete waited up to 15 ticks
(~30s) for the backstop. Sample each gate dir's signature before its listing
so a racing write reads as stale and forces one rescan on the next tick.

Also fixes the flaky 'retires stale marker probes' spec: a folder caught
mid-rm opened a pending-marker window that the swallowed gate change kept
alive for the whole backstop gap (43 probes vs the 30 budget).

Co-authored-by: Orca <help@stably.ai>
2026-08-11 01:14:28 -07:00
Jinjing 9b79cc1b9e Add copy button for quick command (#13768)
* Add copy button to quick commands with visual feedback

Quick command rows now display a copy button that copies the command body to clipboard. The button shows brief visual feedback ("Copied" or "Couldn't copy") and is disabled when the command body is empty. Includes desktop and mobile UI, tests, and full i18n support.

* fix(ci): unblock verify for quick-command copy button

Key feedback to the copied body so prop changes drop stale labels without
setState-in-effect, and mock expo-clipboard in the mobile list test.
2026-08-11 01:06:03 -07:00
Jinwoo HongandJinwoo-H 5e3a2d25f7 Filter remote workspaces by creating device (#13718)
* Filter remote workspaces by creating device

* Fix workspace origin filter reconnect behavior

* Shorten workspace origin filter label

* Refine remote workspace filter UX

---------

Co-authored-by: Jinwoo-H <Jinwoo-H@users.noreply.github.com>
2026-08-11 01:05:12 -07:00