Minor Changes
- b39f22c: Stop regex lookaround from 400ing the whole model turn, and give three
always-on core kits aframeworkToolsswitch.stripUnsupportedSchemaKeywordsnow drops apatterncontaining lookaround
((?=,(?!,(?<=,(?<!). Anthropic rejects it with "regex lookaround is
not supported" and rejects the entire request, so one such tool takes every
other tool in the payload down with it — visible as an error in chat, and as
nothing at all in a background run.z.string().email()compiles to two
negative lookaheads and appears in ~35 action schemas, so this is answered at
the boundary every tool passes through, alongside the existing typeless-schema
and unsupported-formatrewrites. The action's own zod schema still validates
the value, so nothing that was enforced is loosened.emailCatalog,workspaceUserGroups, andorgServiceTokensare new
frameworkToolsgroups covering twelve actions that previously had no switch.
All three default to on, so the available surface is unchanged — but they are
now tagged, which takes them out of every app's default first-request tool
list and leaves them reachable throughtool-search.mcp.catalog: "app"alongsidemcp.connectorCatalognow throws at plugin
init.catalog: "app"short-circuits the connector tier, so the two together
served the app's full registry while the allow-list sat in the config looking
authoritative.
Patch Changes
-
483f03d: Stop the run-level no-progress backstop from killing runs while the model is
still generating. Two watchdogs guarded the same silence on different clocks:
the agent loop'slastModelStreamProgressAtbumps on every engine frame, while
the run manager's backstop only sees events the loop forwards. Extended thinking
produces the first without the second, so the 150s bound sat inside the working
distribution — runs whose worst gap crossed it were checkpointed as
auto_continue { reason: "no_progress" }and recorded as errors while still
streaming, some missing by a single second, and background automations discarded
results the agent went on to finish minutes later.The agent loop now brackets each engine call with a
model_streamstart/end
pair, and the run manager counts it exactly liketool_start/tool_done: an
engine call in flight suspends the backstop, bounded by the loop's own 90s
model-stream watchdog the same way a tool call is bounded by its own timeout.
Keepalives still do not count as progress, so a wedged transport with no engine
call in flight trips the backstop as before.Background automation failures now also report through
captureError. Both
callers — the recurring-jobs scheduler and the trigger dispatcher — recorded the
failure onto the automation's own metadata and logged it, and neither reported
it, so a cut-off automation was visible only in a resource field and stdout.A cut-off run now reports a terminal state instead of none.
runAgentLoop
returns early at anauto_continuecheckpoint and never reaches its outcome
classification, so a truncated run shippedterminal_stateanderror_message
as null and the reason was recoverable only fromagent_run_events. Unplanned
boundaries (no_progress,stream_ended,gateway_timeout, …) now surface as a
retryable failure carrying the reason as the terminal code, while the planned
run_timeoutchunk boundary — which a hosted foreground run hits roughly every
40s by design — records its reason without counting as an error. -
Updated dependencies [60b7e74]
- @agent-native/toolkit@0.16.8