Skip to content

feat(api): continue pending work after interrupt - #41888

Merged
thdxr merged 2 commits into
v2from
interrupt-pending
Aug 12, 2026
Merged

feat(api): continue pending work after interrupt#41888
thdxr merged 2 commits into
v2from
interrupt-pending

Conversation

@thdxr

@thdxr thdxr commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • add an optional continue query parameter to the session interrupt endpoint
  • resume execution after interruption only when durable pending work remains
  • regenerate Promise and Effect clients with interrupt({ sessionID, continue: true }) support

Testing

  • bun test test/session-prompt.test.ts (packages/core)
  • bun test test/promise.test.ts test/effect.test.ts (packages/client)
  • bun typecheck (packages/client)
  • bun typecheck (packages/protocol)

Notes

  • the full pre-push monorepo typecheck was blocked by unrelated workspace package-resolution errors and ended with a Bun SIGSEGV

@thdxr
thdxr enabled auto-merge (squash) August 12, 2026 00:54
@thdxr
thdxr merged commit 5da7eaa into v2 Aug 12, 2026
5 of 8 checks passed
@thdxr
thdxr deleted the interrupt-pending branch August 12, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant