singularity-forge/packages
Flux Labs 1f0c57aadf fix: improve Cloud Code Assist 404 error with actionable model guidance (#384)
* fix(auto): prevent hang when dispatch chain breaks after slice tasks complete (#381)

After the last task in a slice completes, dispatchNextUnit() can throw
(e.g. template mismatch, branch error, or any unprotected operation).
The error propagates to the pi event emitter which silently swallows
async rejections, leaving auto-mode active but permanently stalled —
no dispatch, no stop, no recovery.

Three defensive layers added:

1. Try-catch around dispatchNextUnit in handleAgentEnd — catches errors,
   shows them to the user, and schedules a retry via the gap watchdog.

2. Dispatch gap watchdog (30s timer) — fires when auto-mode is active
   but no unit was dispatched after a unit completion. Re-derives state
   and retries. If retry fails, stops auto-mode with diagnostics.

3. Error boundary in the agent_end event handler — last-resort catch
   that pauses auto-mode if handleAgentEnd itself throws.

Closes #381

* fix: improve Cloud Code Assist 404 error with actionable model guidance (#368)

When a model like gemini-2.0-flash isn't available via Cloud Code Assist,
the 404 error now names the model and suggests using the google provider
with GOOGLE_API_KEY or switching to a supported model.
2026-03-14 12:44:51 -06:00
..
native feat: opus 4.6 1M default, model selector UX, Discord onboarding (#290) 2026-03-14 08:43:56 -06:00
pi-agent-core fix: broken npm install — remove bundleDependencies, use postinstall symlinks (#369) 2026-03-14 10:04:12 -06:00
pi-ai fix: improve Cloud Code Assist 404 error with actionable model guidance (#384) 2026-03-14 12:44:51 -06:00
pi-coding-agent fix: add undici as root dependency to resolve startup crash (#372) 2026-03-14 10:45:52 -06:00
pi-tui fix: broken npm install — remove bundleDependencies, use postinstall symlinks (#369) 2026-03-14 10:04:12 -06:00