deepseek-harness/packages/host/directory-picker/src
creatixchu 7503390590 fix(host): cancellable listing scans and O(log window) insertion
capability.list gains an optional AbortSignal threaded from the RPC
carrier's request signal (the pickDirectory pattern): a disconnected or
timed-out caller stops the opendir loop instead of the scan outliving
its caller, and the abort surfaces as its own reason rather than a
directory-unreadable dressing. boundedInsert rejects a full window's
at-or-beyond-tail candidate on one comparison and binary-inserts
retained candidates, so an oversized level no longer pays a window scan
per dirent.
2026-07-29 04:42:13 +08:00
..
index.ts fix(host): cancellable listing scans and O(log window) insertion 2026-07-29 04:42:13 +08:00
invariant.ts feat(host): directory-picker capability seam with dialog and browse backends 2026-07-28 15:44:53 +08:00