Packages

@langchain/langgraph-api

1.8.1 · 20 Nov 2026MIT193.1k / weekRepositoryHomepagenpmAtom feed

Your version

1.2.3

29 May 2026Where it was published

1.8.1 is the newest release of 1.x.

In short

1 new1 fixed2 internal

Release note

Patch Changes

  • protocol-v2: Fold forkFrom client-side and honor per-run multitaskStrategy

    The SDK now folds the ergonomic forkFrom option into
    config.configurable.checkpoint_id before sending run.start, so the
    agent server only ever accepts the single, legacy-compliant fork field
    (forkFrom no longer hits the wire). The protocol-v2 reference servers
    drop their top-level forkFrom normalization accordingly.

    The protocol-v2 servers now honor the caller's multitaskStrategy per
    run (one of reject | rollback | interrupt | enqueue) instead of
    hardcoding it, falling back to enqueue when omitted or unrecognized.

  • protocol-v2: Add respondAll() and run config/metadata on interrupt resume

    The stream controller (and the React/Angular/Svelte/Vue wrappers) gain a
    respondAll(responsesById, options) method to resume several interrupts
    pending at the same checkpoint in a single command — required for runs that
    pause on multiple interrupts at once (e.g. parallel tool-authorization
    prompts), which sequential respond() calls cannot handle.

    respond() now takes an options object ({ interruptId?, namespace?, config?, metadata? }) so a resumed run can carry the same run-level config
    (model, user context, …) and metadata (trigger source, test flags, …) a
    fresh submit() would. The protocol-v2 reference servers read the new
    responses batch and config / metadata fields leniently and fold them
    onto the run that services the input.respond command.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.