@langchain/react 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +301 -0
- package/dist/_virtual/_rolldown/runtime.cjs +29 -0
- package/dist/index.cjs +38 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.cts +83 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts +83 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/index.d.cts +3 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/index.d.ts +3 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts +108 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts +108 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts +31 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts +31 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts +49 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts +49 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/ReactAgent.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/ReactAgent.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/index.d.cts +4 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/index.d.ts +4 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/contextEditing.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/contextEditing.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/hitl.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/hitl.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelFallback.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelFallback.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelRetry.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelRetry.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/pii.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/pii.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/piiRedaction.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/piiRedaction.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/summarization.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/summarization.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolEmulator.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolEmulator.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolRetry.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolRetry.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/types.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/types.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/types.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/types.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/index.d.cts +23 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/index.d.ts +23 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.cts +155 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.ts +155 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.cts +13 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.ts +13 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.cts +63 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.ts +63 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.cts +5 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.ts +5 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.cts +64 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.ts +64 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.cts +106 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.ts +106 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.cts +291 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.ts +291 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.cts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.ts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.cts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.ts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.cts +105 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.ts +105 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.cts +70 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.ts +70 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.cts +24 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.ts +24 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts +97 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.ts +97 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts +79 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.ts +79 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts +52 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.ts +52 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.cts +17 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.ts +17 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.cts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.ts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.ts.map +1 -0
- package/dist/react-ui/client.cjs +138 -0
- package/dist/react-ui/client.cjs.map +1 -0
- package/dist/react-ui/client.d.cts +80 -0
- package/dist/react-ui/client.d.cts.map +1 -0
- package/dist/react-ui/client.d.ts +80 -0
- package/dist/react-ui/client.d.ts.map +1 -0
- package/dist/react-ui/client.js +132 -0
- package/dist/react-ui/client.js.map +1 -0
- package/dist/react-ui/index.cjs +15 -0
- package/dist/react-ui/index.cjs.map +1 -0
- package/dist/react-ui/index.d.cts +3 -0
- package/dist/react-ui/index.d.ts +3 -0
- package/dist/react-ui/index.js +9 -0
- package/dist/react-ui/index.js.map +1 -0
- package/dist/react-ui/server/index.cjs +6 -0
- package/dist/react-ui/server/index.d.cts +3 -0
- package/dist/react-ui/server/index.d.ts +3 -0
- package/dist/react-ui/server/index.js +4 -0
- package/dist/react-ui/server/server.cjs +57 -0
- package/dist/react-ui/server/server.cjs.map +1 -0
- package/dist/react-ui/server/server.d.cts +54 -0
- package/dist/react-ui/server/server.d.cts.map +1 -0
- package/dist/react-ui/server/server.d.ts +54 -0
- package/dist/react-ui/server/server.d.ts.map +1 -0
- package/dist/react-ui/server/server.js +56 -0
- package/dist/react-ui/server/server.js.map +1 -0
- package/dist/react-ui/types.cjs +38 -0
- package/dist/react-ui/types.cjs.map +1 -0
- package/dist/react-ui/types.d.cts +25 -0
- package/dist/react-ui/types.d.cts.map +1 -0
- package/dist/react-ui/types.d.ts +25 -0
- package/dist/react-ui/types.d.ts.map +1 -0
- package/dist/react-ui/types.js +35 -0
- package/dist/react-ui/types.js.map +1 -0
- package/dist/stream.cjs +18 -0
- package/dist/stream.cjs.map +1 -0
- package/dist/stream.custom.cjs +162 -0
- package/dist/stream.custom.cjs.map +1 -0
- package/dist/stream.custom.d.cts +3 -0
- package/dist/stream.custom.d.ts +4 -0
- package/dist/stream.custom.js +161 -0
- package/dist/stream.custom.js.map +1 -0
- package/dist/stream.d.cts +193 -0
- package/dist/stream.d.cts.map +1 -0
- package/dist/stream.d.ts +193 -0
- package/dist/stream.d.ts.map +1 -0
- package/dist/stream.js +17 -0
- package/dist/stream.js.map +1 -0
- package/dist/stream.lgp.cjs +623 -0
- package/dist/stream.lgp.cjs.map +1 -0
- package/dist/stream.lgp.js +622 -0
- package/dist/stream.lgp.js.map +1 -0
- package/dist/thread.cjs +21 -0
- package/dist/thread.cjs.map +1 -0
- package/dist/thread.js +20 -0
- package/dist/thread.js.map +1 -0
- package/dist/types.d.cts +93 -0
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.ts +93 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +106 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 LangChain
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
# @langchain/react
|
|
2
|
+
|
|
3
|
+
React SDK for building AI-powered applications with [LangChain](https://js.langchain.com/) and [LangGraph](https://langchain-ai.github.io/langgraphjs/). Provides a `useStream` hook that manages streaming, state, branching, and interrupts out of the box.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @langchain/react @langchain/core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
**Peer dependencies:** `react` (^18 || ^19), `react-dom` (^18 || ^19), `@langchain/core` (^1.0.1)
|
|
12
|
+
|
|
13
|
+
## Quick Start
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { useStream } from "@langchain/react";
|
|
17
|
+
|
|
18
|
+
function Chat() {
|
|
19
|
+
const { messages, submit, isLoading } = useStream({
|
|
20
|
+
assistantId: "agent",
|
|
21
|
+
apiUrl: "http://localhost:2024",
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<div>
|
|
26
|
+
{messages.map((msg, i) => (
|
|
27
|
+
<div key={msg.id ?? i}>{msg.content}</div>
|
|
28
|
+
))}
|
|
29
|
+
|
|
30
|
+
<button
|
|
31
|
+
disabled={isLoading}
|
|
32
|
+
onClick={() =>
|
|
33
|
+
void submit({
|
|
34
|
+
messages: [{ type: "human", content: "Hello!" }],
|
|
35
|
+
})
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
Send
|
|
39
|
+
</button>
|
|
40
|
+
</div>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## `useStream` Options
|
|
46
|
+
|
|
47
|
+
| Option | Type | Description |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `assistantId` | `string` | **Required.** The assistant/graph ID to stream from. |
|
|
50
|
+
| `apiUrl` | `string` | Base URL of the LangGraph API. |
|
|
51
|
+
| `client` | `Client` | Pre-configured `Client` instance (alternative to `apiUrl`). |
|
|
52
|
+
| `messagesKey` | `string` | State key containing messages. Defaults to `"messages"`. |
|
|
53
|
+
| `initialValues` | `StateType` | Initial state values before any stream data arrives. |
|
|
54
|
+
| `fetchStateHistory` | `boolean \| { limit: number }` | Fetch thread history on stream completion. Enables branching. |
|
|
55
|
+
| `throttle` | `boolean \| number` | Throttle state updates for performance. |
|
|
56
|
+
| `onFinish` | `(state, error?) => void` | Called when the stream completes. |
|
|
57
|
+
| `onError` | `(error, state?) => void` | Called on stream errors. |
|
|
58
|
+
| `onThreadId` | `(threadId) => void` | Called when a new thread is created. |
|
|
59
|
+
| `onUpdateEvent` | `(event) => void` | Receive update events from the stream. |
|
|
60
|
+
| `onCustomEvent` | `(event) => void` | Receive custom events from the stream. |
|
|
61
|
+
| `onStop` | `() => void` | Called when the stream is stopped by the user. |
|
|
62
|
+
|
|
63
|
+
## Return Values
|
|
64
|
+
|
|
65
|
+
| Property | Type | Description |
|
|
66
|
+
|---|---|---|
|
|
67
|
+
| `values` | `StateType` | Current graph state. |
|
|
68
|
+
| `messages` | `Message[]` | Messages from the current state. |
|
|
69
|
+
| `isLoading` | `boolean` | Whether a stream is currently active. |
|
|
70
|
+
| `error` | `unknown` | The most recent error, if any. |
|
|
71
|
+
| `interrupt` | `Interrupt \| undefined` | Current interrupt requiring user input. |
|
|
72
|
+
| `branch` | `string` | Active branch identifier. |
|
|
73
|
+
| `submit(values, options?)` | `function` | Submit new input to the graph. When called while a stream is active, the run is created on the server with `multitaskStrategy: "enqueue"` and queued automatically. |
|
|
74
|
+
| `stop()` | `function` | Cancel the active stream. |
|
|
75
|
+
| `setBranch(branch)` | `function` | Switch to a different conversation branch. |
|
|
76
|
+
| `getMessagesMetadata(msg, index?)` | `function` | Get branching and checkpoint metadata for a message. |
|
|
77
|
+
| `switchThread(id)` | `(id: string \| null) => void` | Switch to a different thread. Pass `null` to start a new thread on next submit. |
|
|
78
|
+
| `queue.entries` | `ReadonlyArray<QueueEntry>` | Pending server-side runs. Each entry has `id` (server run ID), `values`, `options`, and `createdAt`. |
|
|
79
|
+
| `queue.size` | `number` | Number of pending runs on the server. |
|
|
80
|
+
| `queue.cancel(id)` | `(id: string) => Promise<boolean>` | Cancel a pending run on the server by its run ID. |
|
|
81
|
+
| `queue.clear()` | `() => Promise<void>` | Cancel all pending runs on the server. |
|
|
82
|
+
|
|
83
|
+
## Type Safety
|
|
84
|
+
|
|
85
|
+
### With `createAgent`
|
|
86
|
+
|
|
87
|
+
When using `createAgent`, pass `typeof agent` to automatically infer tool call types:
|
|
88
|
+
|
|
89
|
+
```tsx
|
|
90
|
+
import type { agent } from "./agent";
|
|
91
|
+
|
|
92
|
+
function Chat() {
|
|
93
|
+
const stream = useStream<typeof agent>({
|
|
94
|
+
assistantId: "agent",
|
|
95
|
+
apiUrl: "http://localhost:2024",
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
// stream.messages, tool calls, etc. are fully typed
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### With `StateGraph`
|
|
103
|
+
|
|
104
|
+
For custom graphs, provide your state type directly:
|
|
105
|
+
|
|
106
|
+
```tsx
|
|
107
|
+
import type { Message } from "@langchain/langgraph-sdk";
|
|
108
|
+
|
|
109
|
+
interface MyState {
|
|
110
|
+
messages: Message[];
|
|
111
|
+
context?: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function Chat() {
|
|
115
|
+
const { messages, submit } = useStream<MyState>({
|
|
116
|
+
assistantId: "my-graph",
|
|
117
|
+
apiUrl: "http://localhost:2024",
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Typed Interrupts
|
|
123
|
+
|
|
124
|
+
Pass interrupt types via the second generic parameter:
|
|
125
|
+
|
|
126
|
+
```tsx
|
|
127
|
+
const { interrupt, submit } = useStream<
|
|
128
|
+
MyState,
|
|
129
|
+
{ InterruptType: { question: string } }
|
|
130
|
+
>({
|
|
131
|
+
assistantId: "my-graph",
|
|
132
|
+
apiUrl: "http://localhost:2024",
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
if (interrupt) {
|
|
136
|
+
// interrupt.value is typed as { question: string }
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Handling Interrupts
|
|
141
|
+
|
|
142
|
+
Interrupts let you pause graph execution and wait for user input:
|
|
143
|
+
|
|
144
|
+
```tsx
|
|
145
|
+
function Chat() {
|
|
146
|
+
const { messages, interrupt, submit } = useStream<
|
|
147
|
+
{ messages: Message[] },
|
|
148
|
+
{ InterruptType: { question: string } }
|
|
149
|
+
>({
|
|
150
|
+
assistantId: "agent",
|
|
151
|
+
apiUrl: "http://localhost:2024",
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
return (
|
|
155
|
+
<div>
|
|
156
|
+
{messages.map((msg, i) => (
|
|
157
|
+
<div key={msg.id ?? i}>{msg.content}</div>
|
|
158
|
+
))}
|
|
159
|
+
|
|
160
|
+
{interrupt && (
|
|
161
|
+
<div>
|
|
162
|
+
<p>{interrupt.value.question}</p>
|
|
163
|
+
<button
|
|
164
|
+
onClick={() =>
|
|
165
|
+
void submit(null, { command: { resume: "Approved" } })
|
|
166
|
+
}
|
|
167
|
+
>
|
|
168
|
+
Approve
|
|
169
|
+
</button>
|
|
170
|
+
</div>
|
|
171
|
+
)}
|
|
172
|
+
|
|
173
|
+
<button
|
|
174
|
+
onClick={() =>
|
|
175
|
+
void submit({
|
|
176
|
+
messages: [{ type: "human", content: "Hello" }],
|
|
177
|
+
})
|
|
178
|
+
}
|
|
179
|
+
>
|
|
180
|
+
Send
|
|
181
|
+
</button>
|
|
182
|
+
</div>
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
## Branching
|
|
188
|
+
|
|
189
|
+
Enable conversation branching by setting `fetchStateHistory: true`:
|
|
190
|
+
|
|
191
|
+
```tsx
|
|
192
|
+
function Chat() {
|
|
193
|
+
const { messages, submit, getMessagesMetadata, setBranch } = useStream({
|
|
194
|
+
assistantId: "agent",
|
|
195
|
+
apiUrl: "http://localhost:2024",
|
|
196
|
+
fetchStateHistory: true,
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
return (
|
|
200
|
+
<div>
|
|
201
|
+
{messages.map((msg, i) => {
|
|
202
|
+
const metadata = getMessagesMetadata(msg, i);
|
|
203
|
+
const branchOptions = metadata?.branchOptions;
|
|
204
|
+
const branch = metadata?.branch;
|
|
205
|
+
|
|
206
|
+
return (
|
|
207
|
+
<div key={msg.id ?? i}>
|
|
208
|
+
<p>{msg.content}</p>
|
|
209
|
+
{branchOptions && branch && (
|
|
210
|
+
<div>
|
|
211
|
+
<button onClick={() => {
|
|
212
|
+
const prev = branchOptions[branchOptions.indexOf(branch) - 1];
|
|
213
|
+
if (prev) setBranch(prev);
|
|
214
|
+
}}>
|
|
215
|
+
Previous
|
|
216
|
+
</button>
|
|
217
|
+
<button onClick={() => {
|
|
218
|
+
const next = branchOptions[branchOptions.indexOf(branch) + 1];
|
|
219
|
+
if (next) setBranch(next);
|
|
220
|
+
}}>
|
|
221
|
+
Next
|
|
222
|
+
</button>
|
|
223
|
+
</div>
|
|
224
|
+
)}
|
|
225
|
+
</div>
|
|
226
|
+
);
|
|
227
|
+
})}
|
|
228
|
+
</div>
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
## Server-Side Queuing
|
|
234
|
+
|
|
235
|
+
When `submit()` is called while a stream is already active, the SDK automatically creates the run on the server with `multitaskStrategy: "enqueue"`. The pending runs are tracked in `queue` and processed in order as each finishes:
|
|
236
|
+
|
|
237
|
+
```tsx
|
|
238
|
+
function Chat() {
|
|
239
|
+
const { messages, submit, isLoading, queue, switchThread } = useStream({
|
|
240
|
+
assistantId: "agent",
|
|
241
|
+
apiUrl: "http://localhost:2024",
|
|
242
|
+
});
|
|
243
|
+
|
|
244
|
+
return (
|
|
245
|
+
<div>
|
|
246
|
+
{messages.map((msg, i) => (
|
|
247
|
+
<div key={msg.id ?? i}>{msg.content}</div>
|
|
248
|
+
))}
|
|
249
|
+
|
|
250
|
+
{queue.size > 0 && (
|
|
251
|
+
<div>
|
|
252
|
+
<p>{queue.size} message(s) queued</p>
|
|
253
|
+
<button onClick={() => void queue.clear()}>Clear Queue</button>
|
|
254
|
+
</div>
|
|
255
|
+
)}
|
|
256
|
+
|
|
257
|
+
<button
|
|
258
|
+
disabled={isLoading}
|
|
259
|
+
onClick={() =>
|
|
260
|
+
void submit({
|
|
261
|
+
messages: [{ type: "human", content: "Hello!" }],
|
|
262
|
+
})
|
|
263
|
+
}
|
|
264
|
+
>
|
|
265
|
+
Send
|
|
266
|
+
</button>
|
|
267
|
+
<button onClick={() => switchThread(null)}>New Thread</button>
|
|
268
|
+
</div>
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
Switching threads via `switchThread()` cancels all pending runs and clears the queue.
|
|
274
|
+
|
|
275
|
+
## React UI (Advanced)
|
|
276
|
+
|
|
277
|
+
The `@langchain/react/react-ui` sub-package provides utilities for rendering server-defined UI components:
|
|
278
|
+
|
|
279
|
+
```tsx
|
|
280
|
+
import { useStreamContext, LoadExternalComponent } from "@langchain/react/react-ui";
|
|
281
|
+
import { uiMessageReducer } from "@langchain/react/react-ui";
|
|
282
|
+
import type { UIMessage } from "@langchain/react/react-ui";
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
- **`useStreamContext`** - Access the stream context from deeply nested components
|
|
286
|
+
- **`LoadExternalComponent`** - Render UI components defined by the server
|
|
287
|
+
- **`uiMessageReducer`** - Reducer for managing UI message state
|
|
288
|
+
|
|
289
|
+
A server-side helper is also available:
|
|
290
|
+
|
|
291
|
+
```tsx
|
|
292
|
+
import { typedUi } from "@langchain/react/react-ui/server";
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
## Playground
|
|
296
|
+
|
|
297
|
+
For complete end-to-end examples with full agentic UIs, visit the [LangGraph Playground](https://github.com/langchain-ai/langgraphjs).
|
|
298
|
+
|
|
299
|
+
## License
|
|
300
|
+
|
|
301
|
+
MIT
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: ((k) => from[k]).bind(null, key),
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
25
|
+
}) : target, mod));
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
|
|
29
|
+
exports.__toESM = __toESM;
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
require('./stream.custom.cjs');
|
|
4
|
+
const require_stream = require('./stream.cjs');
|
|
5
|
+
let _langchain_langgraph_sdk_ui = require("@langchain/langgraph-sdk/ui");
|
|
6
|
+
|
|
7
|
+
exports.FetchStreamTransport = _langchain_langgraph_sdk_ui.FetchStreamTransport;
|
|
8
|
+
Object.defineProperty(exports, 'SubagentManager', {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () {
|
|
11
|
+
return _langchain_langgraph_sdk_ui.SubagentManager;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, 'calculateDepthFromNamespace', {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return _langchain_langgraph_sdk_ui.calculateDepthFromNamespace;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, 'extractParentIdFromNamespace', {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return _langchain_langgraph_sdk_ui.extractParentIdFromNamespace;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, 'extractToolCallIdFromNamespace', {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () {
|
|
29
|
+
return _langchain_langgraph_sdk_ui.extractToolCallIdFromNamespace;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, 'isSubagentNamespace', {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return _langchain_langgraph_sdk_ui.isSubagentNamespace;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
exports.useStream = require_stream.useStream;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SubagentStream, SubagentStreamInterface, UseStream, UseStreamCustom } from "./types.cjs";
|
|
2
|
+
import { useStream } from "./stream.cjs";
|
|
3
|
+
import { FetchStreamTransport } from "./stream.custom.cjs";
|
|
4
|
+
import { AIMessage, ToolMessage } from "@langchain/core/messages";
|
|
5
|
+
import { DefaultToolCall, DefaultToolCall as DefaultToolCall$1, ToolCallFromTool, ToolCallState, ToolCallWithResult as ToolCallWithResult$1, ToolCallsFromTools } from "@langchain/langgraph-sdk";
|
|
6
|
+
import { AgentTypeConfigLike, BaseStream, BaseSubagentState, CompiledSubAgentLike, DeepAgentTypeConfigLike, DefaultSubagentStates, ExtractAgentConfig, ExtractDeepAgentConfig, ExtractSubAgentMiddleware, GetToolCallsType, InferAgentToolCalls, InferBag, InferDeepAgentSubagents, InferNodeNames, InferStateType, InferSubagentByName, InferSubagentNames, InferSubagentState, InferSubagentStates, InferToolCalls, IsAgentLike, IsDeepAgentLike, MessageMetadata, ResolveStreamInterface, ResolveStreamOptions, SubAgentLike, SubagentManager, SubagentStateMap, SubagentStatus, SubagentToolCall, UseAgentStream, UseAgentStreamOptions, UseDeepAgentStream, UseDeepAgentStreamOptions, UseStreamCustomOptions, UseStreamOptions, UseStreamThread, UseStreamTransport, calculateDepthFromNamespace, extractParentIdFromNamespace, extractToolCallIdFromNamespace, isSubagentNamespace } from "@langchain/langgraph-sdk/ui";
|
|
7
|
+
|
|
8
|
+
//#region src/index.d.ts
|
|
9
|
+
type ToolCallWithResult<ToolCall = DefaultToolCall$1> = ToolCallWithResult$1<ToolCall, ToolMessage, AIMessage>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { type AgentTypeConfigLike, type BaseStream, type BaseSubagentState, type CompiledSubAgentLike, type DeepAgentTypeConfigLike, type DefaultSubagentStates, type DefaultToolCall, type ExtractAgentConfig, type ExtractDeepAgentConfig, type ExtractSubAgentMiddleware, FetchStreamTransport, type GetToolCallsType, type InferAgentToolCalls, type InferBag, type InferDeepAgentSubagents, type InferNodeNames, type InferStateType, type InferSubagentByName, type InferSubagentNames, type InferSubagentState, type InferSubagentStates, type InferToolCalls, type IsAgentLike, type IsDeepAgentLike, type MessageMetadata, type ResolveStreamInterface, type ResolveStreamOptions, type SubAgentLike, SubagentManager, type SubagentStateMap, type SubagentStatus, type SubagentStream, type SubagentStreamInterface, type SubagentToolCall, type ToolCallFromTool, type ToolCallState, ToolCallWithResult, type ToolCallsFromTools, type UseAgentStream, type UseAgentStreamOptions, type UseDeepAgentStream, type UseDeepAgentStreamOptions, type UseStream, type UseStreamCustom, type UseStreamCustomOptions, type UseStreamOptions, type UseStreamThread, type UseStreamTransport, calculateDepthFromNamespace, extractParentIdFromNamespace, extractToolCallIdFromNamespace, isSubagentNamespace, useStream };
|
|
12
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;KAoEY,kBAAA,YAA8B,iBAAA,IACxC,oBAAA,CAAoB,QAAA,EAAU,WAAA,EAAiB,SAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SubagentStream, SubagentStreamInterface, UseStream, UseStreamCustom } from "./types.js";
|
|
2
|
+
import { useStream } from "./stream.js";
|
|
3
|
+
import { FetchStreamTransport } from "./stream.custom.js";
|
|
4
|
+
import { AgentTypeConfigLike, BaseStream, BaseSubagentState, CompiledSubAgentLike, DeepAgentTypeConfigLike, DefaultSubagentStates, ExtractAgentConfig, ExtractDeepAgentConfig, ExtractSubAgentMiddleware, GetToolCallsType, InferAgentToolCalls, InferBag, InferDeepAgentSubagents, InferNodeNames, InferStateType, InferSubagentByName, InferSubagentNames, InferSubagentState, InferSubagentStates, InferToolCalls, IsAgentLike, IsDeepAgentLike, MessageMetadata, ResolveStreamInterface, ResolveStreamOptions, SubAgentLike, SubagentManager, SubagentStateMap, SubagentStatus, SubagentToolCall, UseAgentStream, UseAgentStreamOptions, UseDeepAgentStream, UseDeepAgentStreamOptions, UseStreamCustomOptions, UseStreamOptions, UseStreamThread, UseStreamTransport, calculateDepthFromNamespace, extractParentIdFromNamespace, extractToolCallIdFromNamespace, isSubagentNamespace } from "@langchain/langgraph-sdk/ui";
|
|
5
|
+
import { AIMessage, ToolMessage } from "@langchain/core/messages";
|
|
6
|
+
import { DefaultToolCall, DefaultToolCall as DefaultToolCall$1, ToolCallFromTool, ToolCallState, ToolCallWithResult as ToolCallWithResult$1, ToolCallsFromTools } from "@langchain/langgraph-sdk";
|
|
7
|
+
|
|
8
|
+
//#region src/index.d.ts
|
|
9
|
+
type ToolCallWithResult<ToolCall = DefaultToolCall$1> = ToolCallWithResult$1<ToolCall, ToolMessage, AIMessage>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { type AgentTypeConfigLike, type BaseStream, type BaseSubagentState, type CompiledSubAgentLike, type DeepAgentTypeConfigLike, type DefaultSubagentStates, type DefaultToolCall, type ExtractAgentConfig, type ExtractDeepAgentConfig, type ExtractSubAgentMiddleware, FetchStreamTransport, type GetToolCallsType, type InferAgentToolCalls, type InferBag, type InferDeepAgentSubagents, type InferNodeNames, type InferStateType, type InferSubagentByName, type InferSubagentNames, type InferSubagentState, type InferSubagentStates, type InferToolCalls, type IsAgentLike, type IsDeepAgentLike, type MessageMetadata, type ResolveStreamInterface, type ResolveStreamOptions, type SubAgentLike, SubagentManager, type SubagentStateMap, type SubagentStatus, type SubagentStream, type SubagentStreamInterface, type SubagentToolCall, type ToolCallFromTool, type ToolCallState, ToolCallWithResult, type ToolCallsFromTools, type UseAgentStream, type UseAgentStreamOptions, type UseDeepAgentStream, type UseDeepAgentStreamOptions, type UseStream, type UseStreamCustom, type UseStreamCustomOptions, type UseStreamOptions, type UseStreamThread, type UseStreamTransport, calculateDepthFromNamespace, extractParentIdFromNamespace, extractToolCallIdFromNamespace, isSubagentNamespace, useStream };
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;KAoEY,kBAAA,YAA8B,iBAAA,IACxC,oBAAA,CAAoB,QAAA,EAAU,WAAA,EAAiB,SAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FetchStreamTransport } from "./stream.custom.js";
|
|
2
|
+
import { useStream } from "./stream.js";
|
|
3
|
+
import { SubagentManager, calculateDepthFromNamespace, extractParentIdFromNamespace, extractToolCallIdFromNamespace, isSubagentNamespace } from "@langchain/langgraph-sdk/ui";
|
|
4
|
+
|
|
5
|
+
export { FetchStreamTransport, SubagentManager, calculateDepthFromNamespace, extractParentIdFromNamespace, extractToolCallIdFromNamespace, isSubagentNamespace, useStream };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@langchain+langgraph@1.1.5_@langchain+core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts
|
|
2
|
+
//#region src/channels/base.d.ts
|
|
3
|
+
/** @internal */
|
|
4
|
+
declare abstract class BaseChannel<ValueType = unknown, UpdateType = unknown, CheckpointType = unknown> {
|
|
5
|
+
ValueType: ValueType;
|
|
6
|
+
UpdateType: UpdateType;
|
|
7
|
+
/**
|
|
8
|
+
* The name of the channel.
|
|
9
|
+
*/
|
|
10
|
+
abstract lc_graph_name: string;
|
|
11
|
+
/** @ignore */
|
|
12
|
+
lg_is_channel: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Return a new identical channel, optionally initialized from a checkpoint.
|
|
15
|
+
* Can be thought of as a "restoration" from a checkpoint which is a "snapshot" of the channel's state.
|
|
16
|
+
*
|
|
17
|
+
* @param {CheckpointType | undefined} checkpoint
|
|
18
|
+
* @param {CheckpointType | undefined} initialValue
|
|
19
|
+
* @returns {this}
|
|
20
|
+
*/
|
|
21
|
+
abstract fromCheckpoint(checkpoint?: CheckpointType): this;
|
|
22
|
+
/**
|
|
23
|
+
* Update the channel's value with the given sequence of updates.
|
|
24
|
+
* The order of the updates in the sequence is arbitrary.
|
|
25
|
+
* This method is called by Pregel for all channels at the end of each step.
|
|
26
|
+
* If there are no updates, it is called with an empty sequence.
|
|
27
|
+
*
|
|
28
|
+
* Raises InvalidUpdateError if the sequence of updates is invalid.
|
|
29
|
+
* Returns True if the channel was updated, False otherwise.
|
|
30
|
+
*
|
|
31
|
+
* @throws {InvalidUpdateError} if the sequence of updates is invalid.
|
|
32
|
+
* @param {Array<UpdateType>} values
|
|
33
|
+
* @returns {void}
|
|
34
|
+
*/
|
|
35
|
+
abstract update(values: UpdateType[]): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Return the current value of the channel.
|
|
38
|
+
*
|
|
39
|
+
* @throws {EmptyChannelError} if the channel is empty (never updated yet).
|
|
40
|
+
* @returns {ValueType}
|
|
41
|
+
*/
|
|
42
|
+
abstract get(): ValueType;
|
|
43
|
+
/**
|
|
44
|
+
* Return a string representation of the channel's current state.
|
|
45
|
+
*
|
|
46
|
+
* @throws {EmptyChannelError} if the channel is empty (never updated yet), or doesn't support checkpoints.
|
|
47
|
+
* @returns {CheckpointType | undefined}
|
|
48
|
+
*/
|
|
49
|
+
abstract checkpoint(): CheckpointType | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Mark the current value of the channel as consumed. By default, no-op.
|
|
52
|
+
* A channel can use this method to modify its state, preventing the value
|
|
53
|
+
* from being consumed again.
|
|
54
|
+
*
|
|
55
|
+
* Returns True if the channel was updated, False otherwise.
|
|
56
|
+
*/
|
|
57
|
+
consume(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Notify the channel that the Pregel run is finishing. By default, no-op.
|
|
60
|
+
* A channel can use this method to modify its state, preventing finish.
|
|
61
|
+
*
|
|
62
|
+
* Returns True if the channel was updated, False otherwise.
|
|
63
|
+
*/
|
|
64
|
+
finish(): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Return True if the channel is available (not empty), False otherwise.
|
|
67
|
+
* Subclasses should override this method to provide a more efficient
|
|
68
|
+
* implementation than calling get() and catching EmptyChannelError.
|
|
69
|
+
*/
|
|
70
|
+
isAvailable(): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Compare this channel with another channel for equality.
|
|
73
|
+
* Used to determine if two channels with the same key are semantically equivalent.
|
|
74
|
+
* Subclasses should override this method to provide a meaningful comparison.
|
|
75
|
+
*
|
|
76
|
+
* @param {BaseChannel} other - The other channel to compare with.
|
|
77
|
+
* @returns {boolean} True if the channels are equal, false otherwise.
|
|
78
|
+
*/
|
|
79
|
+
equals(other: BaseChannel): boolean;
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
82
|
+
export { BaseChannel };
|
|
83
|
+
//# sourceMappingURL=base.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.cts","names":["Checkpoint","ReadonlyCheckpoint","BaseChannel","ValueType","UpdateType","CheckpointType","lc_graph_name","lg_is_channel","fromCheckpoint","checkpoint","update","values","get","consume","finish","isAvailable","equals","other","emptyChannels","Cc","Record","channels","createCheckpoint","step","id","options"],"sources":["../../../../../../../../../../../node_modules/.pnpm/@langchain+langgraph@1.1.5_@langchain+core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts"],"x_google_ignoreList":[0],"mappings":";;;uBAIuBE,WAAAA;EACrBC,SAAAA,EAAWA,SAAAA;EACXC,UAAAA,EAAYA,UAAAA;EA6BYA;;;EAAAA,SAzBfE,aAAAA;EAqEgB;EAnEzBC,aAAAA;EARiCJ;;;;;;;;EAAAA,SAiBxBK,cAAAA,CAAeC,UAAAA,GAAaJ,cAAAA;EAA5BG;;;;;;;;;;;;;EAAAA,SAcAE,MAAAA,CAAOC,MAAAA,EAAQP,UAAAA;EA4CVF;;;;;;EAAAA,SArCLU,GAAAA,CAAAA,GAAOT,SAAAA;;;;;;;WAOPM,UAAAA,CAAAA,GAAcJ,cAAAA;;;;;;;;EAQvBQ,OAAAA,CAAAA;;;;;;;EAOAC,MAAAA,CAAAA;;;;;;EAMAC,WAAAA,CAAAA;;;;;;;;;EASAC,MAAAA,CAAOC,KAAAA,EAAOf,WAAAA;AAAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@langchain+langgraph@1.1.5_@langchain+core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts
|
|
2
|
+
//#region src/channels/base.d.ts
|
|
3
|
+
/** @internal */
|
|
4
|
+
declare abstract class BaseChannel<ValueType = unknown, UpdateType = unknown, CheckpointType = unknown> {
|
|
5
|
+
ValueType: ValueType;
|
|
6
|
+
UpdateType: UpdateType;
|
|
7
|
+
/**
|
|
8
|
+
* The name of the channel.
|
|
9
|
+
*/
|
|
10
|
+
abstract lc_graph_name: string;
|
|
11
|
+
/** @ignore */
|
|
12
|
+
lg_is_channel: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Return a new identical channel, optionally initialized from a checkpoint.
|
|
15
|
+
* Can be thought of as a "restoration" from a checkpoint which is a "snapshot" of the channel's state.
|
|
16
|
+
*
|
|
17
|
+
* @param {CheckpointType | undefined} checkpoint
|
|
18
|
+
* @param {CheckpointType | undefined} initialValue
|
|
19
|
+
* @returns {this}
|
|
20
|
+
*/
|
|
21
|
+
abstract fromCheckpoint(checkpoint?: CheckpointType): this;
|
|
22
|
+
/**
|
|
23
|
+
* Update the channel's value with the given sequence of updates.
|
|
24
|
+
* The order of the updates in the sequence is arbitrary.
|
|
25
|
+
* This method is called by Pregel for all channels at the end of each step.
|
|
26
|
+
* If there are no updates, it is called with an empty sequence.
|
|
27
|
+
*
|
|
28
|
+
* Raises InvalidUpdateError if the sequence of updates is invalid.
|
|
29
|
+
* Returns True if the channel was updated, False otherwise.
|
|
30
|
+
*
|
|
31
|
+
* @throws {InvalidUpdateError} if the sequence of updates is invalid.
|
|
32
|
+
* @param {Array<UpdateType>} values
|
|
33
|
+
* @returns {void}
|
|
34
|
+
*/
|
|
35
|
+
abstract update(values: UpdateType[]): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Return the current value of the channel.
|
|
38
|
+
*
|
|
39
|
+
* @throws {EmptyChannelError} if the channel is empty (never updated yet).
|
|
40
|
+
* @returns {ValueType}
|
|
41
|
+
*/
|
|
42
|
+
abstract get(): ValueType;
|
|
43
|
+
/**
|
|
44
|
+
* Return a string representation of the channel's current state.
|
|
45
|
+
*
|
|
46
|
+
* @throws {EmptyChannelError} if the channel is empty (never updated yet), or doesn't support checkpoints.
|
|
47
|
+
* @returns {CheckpointType | undefined}
|
|
48
|
+
*/
|
|
49
|
+
abstract checkpoint(): CheckpointType | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Mark the current value of the channel as consumed. By default, no-op.
|
|
52
|
+
* A channel can use this method to modify its state, preventing the value
|
|
53
|
+
* from being consumed again.
|
|
54
|
+
*
|
|
55
|
+
* Returns True if the channel was updated, False otherwise.
|
|
56
|
+
*/
|
|
57
|
+
consume(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Notify the channel that the Pregel run is finishing. By default, no-op.
|
|
60
|
+
* A channel can use this method to modify its state, preventing finish.
|
|
61
|
+
*
|
|
62
|
+
* Returns True if the channel was updated, False otherwise.
|
|
63
|
+
*/
|
|
64
|
+
finish(): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Return True if the channel is available (not empty), False otherwise.
|
|
67
|
+
* Subclasses should override this method to provide a more efficient
|
|
68
|
+
* implementation than calling get() and catching EmptyChannelError.
|
|
69
|
+
*/
|
|
70
|
+
isAvailable(): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Compare this channel with another channel for equality.
|
|
73
|
+
* Used to determine if two channels with the same key are semantically equivalent.
|
|
74
|
+
* Subclasses should override this method to provide a meaningful comparison.
|
|
75
|
+
*
|
|
76
|
+
* @param {BaseChannel} other - The other channel to compare with.
|
|
77
|
+
* @returns {boolean} True if the channels are equal, false otherwise.
|
|
78
|
+
*/
|
|
79
|
+
equals(other: BaseChannel): boolean;
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
82
|
+
export { BaseChannel };
|
|
83
|
+
//# sourceMappingURL=base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","names":["Checkpoint","ReadonlyCheckpoint","BaseChannel","ValueType","UpdateType","CheckpointType","lc_graph_name","lg_is_channel","fromCheckpoint","checkpoint","update","values","get","consume","finish","isAvailable","equals","other","emptyChannels","Cc","Record","channels","createCheckpoint","step","id","options"],"sources":["../../../../../../../../../../../node_modules/.pnpm/@langchain+langgraph@1.1.5_@langchain+core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts"],"x_google_ignoreList":[0],"mappings":";;;uBAIuBE,WAAAA;EACrBC,SAAAA,EAAWA,SAAAA;EACXC,UAAAA,EAAYA,UAAAA;EA6BYA;;;EAAAA,SAzBfE,aAAAA;EAqEgB;EAnEzBC,aAAAA;EARiCJ;;;;;;;;EAAAA,SAiBxBK,cAAAA,CAAeC,UAAAA,GAAaJ,cAAAA;EAA5BG;;;;;;;;;;;;;EAAAA,SAcAE,MAAAA,CAAOC,MAAAA,EAAQP,UAAAA;EA4CVF;;;;;;EAAAA,SArCLU,GAAAA,CAAAA,GAAOT,SAAAA;;;;;;;WAOPM,UAAAA,CAAAA,GAAcJ,cAAAA;;;;;;;;EAQvBQ,OAAAA,CAAAA;;;;;;;EAOAC,MAAAA,CAAAA;;;;;;EAMAC,WAAAA,CAAAA;;;;;;;;;EASAC,MAAAA,CAAOC,KAAAA,EAAOf,WAAAA;AAAAA"}
|