Repository navigation
Document checkpoint_ns on task ToolMessage artifact (Deep Agents JS) - #8037
Merged
Naomi Pentrel (npentrel) merged 6 commits intoNov 26, 2026
Merged
Naomi Pentrel (npentrel) merged 6 commits into
Naomi Pentrel (npentrel) merged 6 commits into
Conversation
Naomi Pentrel (npentrel)
marked this pull request as ready for review
November 26, 2026 13:47
Naomi Pentrel (npentrel)
requested a review
from Lauren Hirata Singh (lnhsingh)
as a code owner
November 26, 2026 13:47
Move the JS-only heading inside the language fence, and replace the values-mode stream loop with an invoke plus getStateHistory example that defines a checkpointer and thread_id. Co-authored-by: Cursor <cursoragent@cursor.com>
Naomi Pentrel (npentrel)
force-pushed
the
docs/deepagentsjs-1.16.5-checkpoint-ns-artifact
branch
from
November 26, 2026 14:04
0a6dd36 to
20fae19
Compare
Naomi Pentrel (npentrel)
requested a review
from Richard Scarrott (richardscarrott)
November 26, 2026 14:14
Richard Scarrott (richardscarrott)
approved these changes
Nov 26, 2026
Richard Scarrott (richardscarrott)
left a comment
Contributor
There was a problem hiding this comment.
lgtm, thanks!
"The model never sees artifact" is maybe over documenting?
Contributor
|
Mintlify preview branch generated: Site preview: https://langchain-5e9cc07a-preview-docs-deepagentsjs-1-16-5-da8fc45a.mintlify.site Important Preview links may take a few minutes to start working while the deployment finishes. Changed documentation pages (preview deep links): |
Naomi Pentrel (npentrel)
deleted the
docs/deepagentsjs-1.16.5-checkpoint-ns-artifact
branch
November 26, 2026 14:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
checkpoint_nsfield on thetasktool'sToolMessage.artifact, which lets clients load a finished subagent's checkpoint history by namespacedeepagentsjsreleasedeepagents@1.16.5Linear
Closes DOC-2018
Source evidence
langchain-ai/deepagentsjsdeepagents@1.16.5libs/deepagents/src/middleware/subagents.ts:checkpointNs,returnCommandWithStateUpdate,runSubagentTest plan
make lint_prose FILES="src/oss/deepagents/subagents.mdx"when possiblePrepared with Claude Code.