mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Follow-up to the projection fix. The mechanism/policy split landed projection on a graceful-degrade path, but I also made the setup, teardown, and terminal wrappers silently absorb parse failures — which broke the existing contract that `runWorktreeSetupInBackground` surfaces "Failed to parse paseo.json" to the user when they invoke setup against a workspace with a malformed config. Restore the throw, but with the path included and the underlying parse error attached as `cause` (Pino expands it; UI surfaces the path + detail). Extract `paseoConfigParseError` so spawnWorkspaceScript and the three wrappers throw the same shape. Also update opencode-agent.full-access.test.ts mode-order assertion that the reorder commit forgot to update.