Skip to content

feat: add Command.resume for post-interruption message resumption#351

Open
avoidwork wants to merge 1 commit into
mainfrom
feat/resume-command
Open

feat: add Command.resume for post-interruption message resumption#351
avoidwork wants to merge 1 commit into
mainfrom
feat/resume-command

Conversation

@avoidwork

Copy link
Copy Markdown
Owner

Description

When a user interrupts a streaming response (Escape key), the next message they send is now dispatched as a `Command.resume` to the LangGraph agent instead of starting a fresh turn. This lets the agent pick up context from the interrupted exchange.

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes)
  • Performance improvement
  • CI / build / tooling

Testing

N/A — no new tests written; the change is a straightforward wiring of `isResumingRef` into the dispatch path.

Coverage

  • 100% line coverage maintained

Checklist

  • `npm run lint` passes
  • Tests pass with 100% line coverage
  • No forbidden patterns used
  • Conventional Commit style applied

@avoidwork avoidwork self-assigned this Jun 21, 2026
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