Skip to content

@agent-native/core@0.75.0

Choose a tag to compare

@builder-io-integration builder-io-integration released this 24 Jun 16:24
· 7207 commits to main since this release
ccadf00

Minor Changes

  • 1272755: Durable background agent-chat runs now complete cleanly instead of looping at
    the 60s Netlify wall.
    • The Netlify -background function (15-min async budget) is now emitted by
      default. The deploy gates (isDurableBackgroundDeployEnabled in
      deploy/build.ts and deploy/workspace-deploy.ts) are inverted to default-ON
      to match the runtime gate — unset/empty means enabled; opt out with a falsy
      AGENT_CHAT_DURABLE_BACKGROUND (false/0/no/off). This makes the chat
      _process-run self-dispatch land on the real 15-min async function, so the
      worker runs with its full budget (and likely fixes the app-specific dispatch
      fast-fail, since the self-POST now hits an instant-202 async function).
    • The run soft-timeout is now tied to the REAL function budget rather than
      merely "I am the background worker." A new isInBackgroundFunctionRuntime()
      guard (the Lambda function name ends in -background) gates the ~13-min
      soft-timeout. A worker that lands on the regular ~60s function — or the
      graceful inline fallback running in the foreground ~60s function — keeps the
      ~40s soft-timeout and checkpoints before the hard wall instead of overshooting
      and re-dispatching in a loop.
    • Server-driven continuation stays on for every durable worker so a run survives
      the client disconnecting (closed tab): a worker on the regular ~60s function (a
      Netlify routing miss, or a non-Netlify host with no -background function)
      self-chains 40s chunks, while a worker in a real -background function chains
      ~13-min chunks. Only the per-chunk budget differs by function type; the
      continuation is always server-driven.