github BuilderIO/agent-native @agent-native/core@0.74.0

latest releases: @agent-native/core@0.232.0, @agent-native/pinpoint@0.1.119, @agent-native/agentkit@0.232.0...
5 months ago

Minor Changes

  • 4a0d3c4: Durable background agent runs are robust again, and on by default for hosted apps.
    • Graceful inline fallback (the safety fix). When the foreground turn can't
      hand off to a background worker — the HMAC self-dispatch self-POST fails fast,
      e.g. a connection error or a non-2xx returned within the settle window — the
      agent-chat handler no longer breaks the chat with
      Failed to dispatch background run. It now degrades to a normal synchronous
      (inline) run, reusing the already-inserted run row. The run is claimed
      atomically (claimBackgroundRun, a conditional dispatch_mode: background → background-processing UPDATE) before running inline, so the SQL atomic claim
      is the single owner — a delayed background delivery that arrives afterward
      loses the claim and no-ops, and the run can never double-execute. A dispatch
      that did land (so a worker already owns the run) still streams the worker's
      events instead of running a second copy.
    • Default-on, safely. AGENT_CHAT_DURABLE_BACKGROUND is now opt-out for
      hosted apps: unset/empty/unknown counts as enabled; opt a specific app back
      out with an explicit falsy value (false/0/no/off). The gate still
      composes with the existing guards, so a run only goes durable when the runtime
      is hosted/serverless and A2A_SECRET is configured — local dev and
      unconfigured apps stay on the synchronous inline path unchanged. Default-on is
      safe precisely because a failed dispatch degrades to a working inline run. The
      Netlify 15-min -background function emit (isDurableBackgroundDeployEnabled)
      remains opt-in until its path is separately verified; with it off, the
      default-on baseline runs the worker through the standard function and
      server-chains continuations.
    • More diagnosable dispatch errors. Self-dispatch failures now log the
      resolved base URL so a failure tied to which host the self-POST targets
      (custom domain vs deploy URL) is visible in logs. The URL resolution order is
      unchanged (it matches the working A2A/agent-teams self-dispatch paths).

Patch Changes

  • 4a0d3c4: Show numbered annotation markers in the annotated-code gutter, matching the diff
    annotation affordance while preserving the hover popover behavior.
  • 4a0d3c4: Clarify Builder code-change handoff fallbacks when cloud agents are unavailable.

Don't miss a new agent-native release

NewReleases is sending notifications on new releases.