spawn/sh
Audrey Sage Lorberfeld 67215c0f44
fix(cursor-proxy): fix double-wrapped Result hiding setup failures (#3428)
* fix(cursor-proxy): fix double-wrapped Result hiding setup failures

The error handling in setupCursorProxy and startCursorProxy used
asyncTryCatchIf(isOperationalError, () => wrapSshCall(...)) which
double-wrapped the Result: wrapSshCall returns Err() on failure
(doesn't throw), so asyncTryCatchIf always saw a successful return
and wrapped it in Ok(Err(...)). This meant result.ok was always
true, causing misleading output like "Cursor proxy started" even
when every step failed.

Fix: call wrapSshCall directly and check its returned Result.
Also adds macOS DNS cache flush after /etc/hosts modification and
early-return on deploy/hosts failure with accurate warning messages.

* fix(cli): inject SPAWN_CLI_DIR in dev script so local source is always used (#3429)

* fix(cli): inject SPAWN_CLI_DIR in dev script so local source is always used

Without SPAWN_CLI_DIR, `bun run dev` downloads the spawn script from
the published CDN release, ignoring any local source changes. This is
especially confusing when developing on a branch with fixes that
haven't been published yet.

Set SPAWN_CLI_DIR to the repo root (via git rev-parse) in the dev
script so the local checkout is always used during development.

* docs(cursor): add model picker and provider notes for local spawn (#3431)

Add a section to sh/local/README.md noting that the "Custom model"
setup option must be selected to get the OpenRouter model picker when
spawning Cursor locally, and that only Cursor IDE-supported providers
work (linking to Cursor's supported providers docs).
2026-05-21 17:38:47 -07:00
..
aws feat(agent): add T3 Code agent (web GUI for Claude/Codex) (#3322) 2026-04-18 01:14:37 -07:00
cli feat(telemetry): install referrer attribution for growth channels (#3318) 2026-04-18 00:59:22 -07:00
daytona feat(agent): add T3 Code agent (web GUI for Claude/Codex) (#3322) 2026-04-18 01:14:37 -07:00
digitalocean feat(digitalocean): guided readiness before deploy (#3336) 2026-04-21 21:55:01 -07:00
docker fix(docker): publish spawn-pi image so --beta sandbox works for pi (#3373) 2026-04-29 15:43:42 -07:00
e2e fix(security): replace fragile printenv with eval parameter expansion in timeout functions (#3238) 2026-04-08 01:44:43 -07:00
gcp feat(agent): add T3 Code agent (web GUI for Claude/Codex) (#3322) 2026-04-18 01:14:37 -07:00
hetzner feat(agent): add T3 Code agent (web GUI for Claude/Codex) (#3322) 2026-04-18 01:14:37 -07:00
local fix(cursor-proxy): fix double-wrapped Result hiding setup failures (#3428) 2026-05-21 17:38:47 -07:00
shared fix(github-auth): add sudo availability check before use (#3072) 2026-03-28 08:39:22 +07:00
sprite feat(agent): add T3 Code agent (web GUI for Claude/Codex) (#3322) 2026-04-18 01:14:37 -07:00
test fix(zeroclaw): remove broken zeroclaw agent (repo 404) (#3107) 2026-03-30 15:35:40 -07:00