You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hand-editable SDK support for the platform's non-terminal task/interrupt verb
(the generated client.tasks.interrupt + param/response types + RPC unions
regenerate from the scale-agentex OpenAPI change via Stainless; see the TODO in
protocol/acp.py).
- protocol/acp.py: RPCMethod.TASK_INTERRUPT, InterruptTaskParams, PARAMS_MODEL_BY_METHOD
- Temporal ACP layer: SignalName.INTERRUPT_TURN and an overridable
BaseWorkflow.on_interrupt hook (no-op default so existing agents are unaffected),
TemporalTaskService.interrupt() that signals interrupt_turn (never cancels/terminates),
on_task_interrupt ACP-server decorator + handle_interrupt forwarding
- resume fix: capture session_id from the early system/init (claude) and
thread.started (codex) envelopes with a cancellation-safe finally, so a turn
interrupted before completion stays resumable
- unit tests
Part of the Stop-mid-stream + queue-at-boundary effort (AGX1-391). Pairs with
scaleapi/scale-agentex#365.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments