[PR #458] [MERGED] feat(deepagents): support new streaming features (currently experimental in LG.js) #479

Closed
opened 2026-06-05 17:23:20 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/458
Author: @christian-bromann
Created: 4/14/2026
Status: Merged
Merged: 5/5/2026
Merged by: @christian-bromann

Base: mainHead: cb/new-streaming


📝 Commits (10+)

📊 Changes

13 files changed (+2898 additions, -1371 deletions)

View changed files

.changeset/yellow-peas-double.md (+5 -0)
📝 .github/workflows/ci.yml (+1 -1)
📝 .vscode/settings.json (+3 -3)
📝 libs/deepagents/package.json (+5 -5)
📝 libs/deepagents/src/agent.int.test.ts (+15 -1)
📝 libs/deepagents/src/agent.ts (+17 -3)
📝 libs/deepagents/src/index.ts (+3 -0)
libs/deepagents/src/stream.test-d.ts (+196 -0)
libs/deepagents/src/stream.test.ts (+479 -0)
libs/deepagents/src/stream.ts (+516 -0)
📝 libs/deepagents/src/testing/utils.ts (+13 -0)
📝 libs/deepagents/src/types.ts (+158 -5)
📝 pnpm-lock.yaml (+1487 -1353)

📄 Description

This patch adopts the new streaming primitives we have implemented in LangGraph.js for Deep Agent.

LangGraph.js PR: https://github.com/langchain-ai/langgraphjs/pull/2312
LangChain.js PR: https://github.com/langchain-ai/langchainjs/pull/10697


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/deepagentsjs/pull/458 **Author:** [@christian-bromann](https://github.com/christian-bromann) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 5/5/2026 **Merged by:** [@christian-bromann](https://github.com/christian-bromann) **Base:** `main` ← **Head:** `cb/new-streaming` --- ### 📝 Commits (10+) - [`b906cbb`](https://github.com/langchain-ai/deepagentsjs/commit/b906cbbe3c4f6e445cb57405b067e62219a093fd) feat(deepagents): support new streaming features - [`201854d`](https://github.com/langchain-ai/deepagentsjs/commit/201854dfa4c81a7b39b6b2be9128413dafac0622) dedicated promise per subagent output - [`31b1952`](https://github.com/langchain-ai/deepagentsjs/commit/31b1952e322652e3516ebaa97b2239218edeaeee) another attempt to avoid MaxListenersExceededWarning - [`3281f5c`](https://github.com/langchain-ai/deepagentsjs/commit/3281f5c7944d0d7ba3afc93916a7fccea9036635) revert - [`eac0a62`](https://github.com/langchain-ai/deepagentsjs/commit/eac0a6252e003cbbab92617b70a8e74ccc24da63) revert - [`99a9a0e`](https://github.com/langchain-ai/deepagentsjs/commit/99a9a0e4d3b53787f34b932890bc3c7464fde6d6) format - [`ed262b8`](https://github.com/langchain-ai/deepagentsjs/commit/ed262b8a8b0c349c9978e33df5f5b35d2398658f) update deps - [`d30e9e2`](https://github.com/langchain-ai/deepagentsjs/commit/d30e9e2c5eb5027b958a5c42f1fcb960a8973e3b) format - [`860702f`](https://github.com/langchain-ai/deepagentsjs/commit/860702fb785f7b97373ba25bba04ade99c03900c) minor revert - [`a7074e6`](https://github.com/langchain-ai/deepagentsjs/commit/a7074e6f35ae23ecb4e7381e62422a4c8089a302) support custom stream transformer ### 📊 Changes **13 files changed** (+2898 additions, -1371 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/yellow-peas-double.md` (+5 -0) 📝 `.github/workflows/ci.yml` (+1 -1) 📝 `.vscode/settings.json` (+3 -3) 📝 `libs/deepagents/package.json` (+5 -5) 📝 `libs/deepagents/src/agent.int.test.ts` (+15 -1) 📝 `libs/deepagents/src/agent.ts` (+17 -3) 📝 `libs/deepagents/src/index.ts` (+3 -0) ➕ `libs/deepagents/src/stream.test-d.ts` (+196 -0) ➕ `libs/deepagents/src/stream.test.ts` (+479 -0) ➕ `libs/deepagents/src/stream.ts` (+516 -0) 📝 `libs/deepagents/src/testing/utils.ts` (+13 -0) 📝 `libs/deepagents/src/types.ts` (+158 -5) 📝 `pnpm-lock.yaml` (+1487 -1353) </details> ### 📄 Description This patch adopts the new streaming primitives we have implemented in LangGraph.js for Deep Agent. LangGraph.js PR: https://github.com/langchain-ai/langgraphjs/pull/2312 LangChain.js PR: https://github.com/langchain-ai/langchainjs/pull/10697 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 17:23:20 -04:00
yindo closed this issue 2026-06-05 17:23:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#479