chore(deepagents): expose `createSubAgent` (#591)
### Summary Exposes `createSubAgent` as a dedicated function which allows us to reuse the inner subagent factory outside of the middleware (e.g. using it as the single source of truth for defining subagents in quickjs). Port of similar implementation from https://github.com/langchain-ai/deepagents/pull/3846
C
Colin Francis committed
773cac5dc7efc7843dd882642d91f7d64d6fde81
Parent: 7ee3feb
Committed by GitHub <noreply@github.com>
on 6/11/2026, 12:16:05 AM