[PR #113] [MERGED] fix(deepagents): define type bag to better type extraction #131

Closed
opened 2026-02-16 06:17:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/113
Author: @christian-bromann
Created: 1/13/2026
Status: Merged
Merged: 1/15/2026
Merged by: @christian-bromann

Base: mainHead: cb/typed-subagents


📝 Commits (2)

  • 80f19d0 fix(deepagents): define type bag to better type extraction
  • 7b621c4 remove unnecessary generic param

📊 Changes

5 files changed (+378 additions, -20 deletions)

View changed files

📝 libs/deepagents/src/agent.test-d.ts (+109 -2)
📝 libs/deepagents/src/agent.ts (+14 -7)
📝 libs/deepagents/src/index.ts (+17 -1)
📝 libs/deepagents/src/middleware/subagents.ts (+11 -8)
📝 libs/deepagents/src/types.ts (+227 -2)

📄 Description

Better organize deep agent setup within a type bag so we can extract state schema and sub agent middleware types from it.


🔄 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/113 **Author:** [@christian-bromann](https://github.com/christian-bromann) **Created:** 1/13/2026 **Status:** ✅ Merged **Merged:** 1/15/2026 **Merged by:** [@christian-bromann](https://github.com/christian-bromann) **Base:** `main` ← **Head:** `cb/typed-subagents` --- ### 📝 Commits (2) - [`80f19d0`](https://github.com/langchain-ai/deepagentsjs/commit/80f19d0c52a51996279506f29d7687d74734510c) fix(deepagents): define type bag to better type extraction - [`7b621c4`](https://github.com/langchain-ai/deepagentsjs/commit/7b621c48d839ff8146636fc7f20ed3508803a74b) remove unnecessary generic param ### 📊 Changes **5 files changed** (+378 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `libs/deepagents/src/agent.test-d.ts` (+109 -2) 📝 `libs/deepagents/src/agent.ts` (+14 -7) 📝 `libs/deepagents/src/index.ts` (+17 -1) 📝 `libs/deepagents/src/middleware/subagents.ts` (+11 -8) 📝 `libs/deepagents/src/types.ts` (+227 -2) </details> ### 📄 Description Better organize deep agent setup within a type bag so we can extract state schema and sub agent middleware types from it. --- <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-02-16 06:17:14 -05:00
yindo closed this issue 2026-02-16 06:17:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#131