@langchain/angular 0.1.3 → 0.3.0

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.
Files changed (166) hide show
  1. package/README.md +275 -16
  2. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/decorate.cjs +9 -0
  3. package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/decorate.js +9 -0
  4. package/dist/context.cjs +94 -0
  5. package/dist/context.cjs.map +1 -0
  6. package/dist/context.d.cts +130 -0
  7. package/dist/context.d.cts.map +1 -0
  8. package/dist/context.d.ts +130 -0
  9. package/dist/context.d.ts.map +1 -0
  10. package/dist/context.js +91 -0
  11. package/dist/context.js.map +1 -0
  12. package/dist/index.cjs +212 -386
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +317 -16
  15. package/dist/index.d.cts.map +1 -1
  16. package/dist/index.d.ts +317 -16
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +203 -390
  19. package/dist/index.js.map +1 -1
  20. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.cts +83 -0
  21. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.cts.map +1 -0
  22. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.ts +83 -0
  23. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.ts.map +1 -0
  24. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.cts +42 -0
  25. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.cts.map +1 -0
  26. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.ts +42 -0
  27. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.ts.map +1 -0
  28. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/index.d.cts +2 -0
  29. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/index.d.ts +2 -0
  30. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts +109 -0
  31. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts.map +1 -0
  32. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts +109 -0
  33. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts.map +1 -0
  34. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts +31 -0
  35. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts.map +1 -0
  36. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts +31 -0
  37. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts.map +1 -0
  38. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts +49 -0
  39. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts.map +1 -0
  40. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts +49 -0
  41. package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts.map +1 -0
  42. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/ReactAgent.d.cts +1 -0
  43. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/ReactAgent.d.ts +1 -0
  44. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/index.d.cts +1 -0
  45. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/index.d.ts +1 -0
  46. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/contextEditing.d.cts +1 -0
  47. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/contextEditing.d.ts +1 -0
  48. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.cts +1 -0
  49. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.ts +1 -0
  50. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/hitl.d.cts +1 -0
  51. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/hitl.d.ts +1 -0
  52. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.cts +1 -0
  53. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.ts +1 -0
  54. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.cts +1 -0
  55. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.ts +1 -0
  56. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelFallback.d.cts +1 -0
  57. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelFallback.d.ts +1 -0
  58. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelRetry.d.cts +1 -0
  59. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelRetry.d.ts +1 -0
  60. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/pii.d.cts +1 -0
  61. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/pii.d.ts +1 -0
  62. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/piiRedaction.d.cts +1 -0
  63. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/piiRedaction.d.ts +1 -0
  64. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.cts +1 -0
  65. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.ts +1 -0
  66. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.cts +1 -0
  67. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.ts +1 -0
  68. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/summarization.d.cts +1 -0
  69. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/summarization.d.ts +1 -0
  70. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.cts +1 -0
  71. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.ts +1 -0
  72. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.cts +1 -0
  73. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.ts +1 -0
  74. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolEmulator.d.cts +1 -0
  75. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolEmulator.d.ts +1 -0
  76. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolRetry.d.cts +1 -0
  77. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolRetry.d.ts +1 -0
  78. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/types.d.cts +2 -0
  79. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/types.d.ts +2 -0
  80. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware.d.cts +1 -0
  81. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware.d.ts +1 -0
  82. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/types.d.cts +2 -0
  83. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/types.d.ts +2 -0
  84. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/index.d.cts +2 -0
  85. package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/index.d.ts +2 -0
  86. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.cts +155 -0
  87. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.cts.map +1 -0
  88. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.ts +155 -0
  89. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.ts.map +1 -0
  90. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.cts +13 -0
  91. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.cts.map +1 -0
  92. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.ts +13 -0
  93. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.ts.map +1 -0
  94. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.cts +63 -0
  95. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.cts.map +1 -0
  96. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.ts +63 -0
  97. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.ts.map +1 -0
  98. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.cts +5 -0
  99. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.cts.map +1 -0
  100. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.ts +5 -0
  101. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.ts.map +1 -0
  102. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.cts +64 -0
  103. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.cts.map +1 -0
  104. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.ts +64 -0
  105. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.ts.map +1 -0
  106. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.cts +106 -0
  107. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.cts.map +1 -0
  108. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.ts +106 -0
  109. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.ts.map +1 -0
  110. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.cts +291 -0
  111. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.cts.map +1 -0
  112. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.ts +291 -0
  113. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.ts.map +1 -0
  114. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts +29 -0
  115. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts.map +1 -0
  116. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.ts +29 -0
  117. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.ts.map +1 -0
  118. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts +29 -0
  119. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts.map +1 -0
  120. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.ts +29 -0
  121. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.ts.map +1 -0
  122. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts +105 -0
  123. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts.map +1 -0
  124. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.ts +105 -0
  125. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.ts.map +1 -0
  126. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts +70 -0
  127. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts.map +1 -0
  128. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.ts +70 -0
  129. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.ts.map +1 -0
  130. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts +24 -0
  131. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts.map +1 -0
  132. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.ts +24 -0
  133. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.ts.map +1 -0
  134. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts +97 -0
  135. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts.map +1 -0
  136. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.ts +97 -0
  137. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.ts.map +1 -0
  138. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts +79 -0
  139. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts.map +1 -0
  140. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.ts +79 -0
  141. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.ts.map +1 -0
  142. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts +52 -0
  143. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts.map +1 -0
  144. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.ts +52 -0
  145. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.ts.map +1 -0
  146. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts +17 -0
  147. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts.map +1 -0
  148. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.ts +17 -0
  149. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.ts.map +1 -0
  150. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts +9 -0
  151. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts.map +1 -0
  152. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.ts +9 -0
  153. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.ts.map +1 -0
  154. package/dist/stream.custom.cjs +54 -137
  155. package/dist/stream.custom.cjs.map +1 -1
  156. package/dist/stream.custom.d.cts +45 -0
  157. package/dist/stream.custom.d.cts.map +1 -0
  158. package/dist/stream.custom.d.ts +45 -0
  159. package/dist/stream.custom.d.ts.map +1 -0
  160. package/dist/stream.custom.js +55 -139
  161. package/dist/stream.custom.js.map +1 -1
  162. package/dist/subagent-types.d.cts +15 -0
  163. package/dist/subagent-types.d.cts.map +1 -0
  164. package/dist/subagent-types.d.ts +15 -0
  165. package/dist/subagent-types.d.ts.map +1 -0
  166. package/package.json +9 -11
@@ -0,0 +1,79 @@
1
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts
2
+ /** The Standard interface. */
3
+ interface StandardTypedV1<Input = unknown, Output = Input> {
4
+ /** The Standard properties. */
5
+ readonly "~standard": StandardTypedV1.Props<Input, Output>;
6
+ }
7
+ declare namespace StandardTypedV1 {
8
+ /** The Standard properties interface. */
9
+ interface Props<Input = unknown, Output = Input> {
10
+ /** The version number of the standard. */
11
+ readonly version: 1;
12
+ /** The vendor name of the schema library. */
13
+ readonly vendor: string;
14
+ /** Inferred types associated with the schema. */
15
+ readonly types?: Types<Input, Output> | undefined;
16
+ }
17
+ /** The Standard types interface. */
18
+ interface Types<Input = unknown, Output = Input> {
19
+ /** The input type of the schema. */
20
+ readonly input: Input;
21
+ /** The output type of the schema. */
22
+ readonly output: Output;
23
+ }
24
+ /** Infers the input type of a Standard. */
25
+ type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
26
+ /** Infers the output type of a Standard. */
27
+ type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
28
+ }
29
+ /** The Standard Schema interface. */
30
+ interface StandardSchemaV1<Input = unknown, Output = Input> {
31
+ /** The Standard Schema properties. */
32
+ readonly "~standard": StandardSchemaV1.Props<Input, Output>;
33
+ }
34
+ declare namespace StandardSchemaV1 {
35
+ /** The Standard Schema properties interface. */
36
+ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
37
+ /** Validates unknown input values. */
38
+ readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
39
+ }
40
+ /** The result interface of the validate function. */
41
+ type Result<Output> = SuccessResult<Output> | FailureResult;
42
+ /** The result interface if validation succeeds. */
43
+ interface SuccessResult<Output> {
44
+ /** The typed output value. */
45
+ readonly value: Output;
46
+ /** The absence of issues indicates success. */
47
+ readonly issues?: undefined;
48
+ }
49
+ interface Options {
50
+ /** Implicit support for additional vendor-specific parameters, if needed. */
51
+ readonly libraryOptions?: Record<string, unknown> | undefined;
52
+ }
53
+ /** The result interface if validation fails. */
54
+ interface FailureResult {
55
+ /** The issues of failed validation. */
56
+ readonly issues: ReadonlyArray<Issue>;
57
+ }
58
+ /** The issue interface of the failure output. */
59
+ interface Issue {
60
+ /** The error message of the issue. */
61
+ readonly message: string;
62
+ /** The path of the issue, if any. */
63
+ readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
64
+ }
65
+ /** The path segment interface of the issue. */
66
+ interface PathSegment {
67
+ /** The key representing a path segment. */
68
+ readonly key: PropertyKey;
69
+ }
70
+ /** The Standard types interface. */
71
+ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
72
+ /** Infers the input type of a Standard. */
73
+ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
74
+ /** Infers the output type of a Standard. */
75
+ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
76
+ }
77
+ //#endregion
78
+ export { StandardSchemaV1 };
79
+ //# sourceMappingURL=standard-schema.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standard-schema.d.cts","names":["StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","version","vendor","types","input","output","InferInput","InferOutput","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","validate","value","options","issues","libraryOptions","message","path","key","StandardJSONSchemaV1","Converter","Target","jsonSchema","target","StandardSchemaWithJSONProps","StandardSchemaWithJSON"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;UACiBA,eAAAA,2BAA0CC,KAAAA;EAA3B;EAAA,SAEnB,WAAA,EAAaD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE9BF,eAAAA;EAF8BE;EAAAA,UAIzCC,KAAAA,2BAAgCF,KAAAA;IAJC;IAAA,SAM9BM,OAAAA;IARgBN;IAAAA,SAUhBO,MAAAA;IAV0CP;IAAAA,SAY1CQ,KAAAA,GAAQJ,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAAAA;EAVIC;EAAAA,UAa5BE,KAAAA,2BAAgCJ,KAAAA;IAbSC;IAAAA,SAetCQ,KAAAA,EAAOT,KAAAA;IAfqC;IAAA,SAiB5CU,MAAAA,EAAQT,MAAAA;EAAAA;EAfeD;EAAAA,KAkB/BW,UAAAA,gBAA0BZ,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;EAVnCH;EAAAA,KAYtBY,WAAAA,gBAA2Bb,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;AAAAA;;UAGlDU,gBAAAA,2BAA2Cb,KAAAA;EARnCC;EAAAA,SAUZ,WAAA,EAAaY,gBAAAA,CAAiBX,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE/BY,gBAAAA;EAPWd;EAAAA,UAStBG,KAAAA,2BAAgCF,KAAAA,UAAeD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;IATnCI;IAAAA,SAWtCmB,QAAAA,GAAWC,KAAAA,WAAgBC,OAAAA,GAAUb,gBAAAA,CAAiBC,OAAAA,iBAAwBC,MAAAA,CAAOd,MAAAA,IAAUe,OAAAA,CAAQD,MAAAA,CAAOd,MAAAA;EAAAA;EA7BjHC;EAAAA,KAgCLa,MAAAA,WAAiBE,aAAAA,CAAchB,MAAAA,IAAUiB,aAAAA;EAhCbjB;EAAAA,UAkCvBgB,aAAAA;IAhCGX;IAAAA,SAkCAmB,KAAAA,EAAOxB,MAAAA;IA9BPO;IAAAA,SAgCAmB,MAAAA;EAAAA;EAAAA,UAEHb,OAAAA;IA/BAV;IAAAA,SAiCGwB,cAAAA,GAAiBT,MAAAA;EAAAA;EAjCYnB;EAAAA,UAoChCkB,aAAAA;IAlCUlB;IAAAA,SAoCP2B,MAAAA,EAAQN,aAAAA,CAAcD,KAAAA;EAAAA;EA/B9BT;EAAAA,UAkCKS,KAAAA;IAlCqBrB;IAAAA,SAoClB8B,OAAAA;IApCiD1B;IAAAA,SAsCjD2B,IAAAA,GAAOT,aAAAA,CAAcC,WAAAA,GAAcC,WAAAA;EAAAA;EApChBxB;EAAAA,UAuCtBwB,WAAAA;IAvCqDpB;IAAAA,SAyClD4B,GAAAA,EAAKT,WAAAA;EAAAA;EAtCLT;EAAAA,UAyCHT,KAAAA,2BAAgCJ,KAAAA,UAAeD,eAAAA,CAAgBK,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAzC9BD;EAAAA,KA4CnDW,UAAAA,gBAA0BZ,eAAAA,IAAmBA,eAAAA,CAAgBY,UAAAA,CAAWR,MAAAA;EA1CzBF;EAAAA,KA4C/CW,WAAAA,gBAA2Bb,eAAAA,IAAmBA,eAAAA,CAAgBa,WAAAA,CAAYT,MAAAA;AAAAA"}
@@ -0,0 +1,79 @@
1
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts
2
+ /** The Standard interface. */
3
+ interface StandardTypedV1<Input = unknown, Output = Input> {
4
+ /** The Standard properties. */
5
+ readonly "~standard": StandardTypedV1.Props<Input, Output>;
6
+ }
7
+ declare namespace StandardTypedV1 {
8
+ /** The Standard properties interface. */
9
+ interface Props<Input = unknown, Output = Input> {
10
+ /** The version number of the standard. */
11
+ readonly version: 1;
12
+ /** The vendor name of the schema library. */
13
+ readonly vendor: string;
14
+ /** Inferred types associated with the schema. */
15
+ readonly types?: Types<Input, Output> | undefined;
16
+ }
17
+ /** The Standard types interface. */
18
+ interface Types<Input = unknown, Output = Input> {
19
+ /** The input type of the schema. */
20
+ readonly input: Input;
21
+ /** The output type of the schema. */
22
+ readonly output: Output;
23
+ }
24
+ /** Infers the input type of a Standard. */
25
+ type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
26
+ /** Infers the output type of a Standard. */
27
+ type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
28
+ }
29
+ /** The Standard Schema interface. */
30
+ interface StandardSchemaV1<Input = unknown, Output = Input> {
31
+ /** The Standard Schema properties. */
32
+ readonly "~standard": StandardSchemaV1.Props<Input, Output>;
33
+ }
34
+ declare namespace StandardSchemaV1 {
35
+ /** The Standard Schema properties interface. */
36
+ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
37
+ /** Validates unknown input values. */
38
+ readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
39
+ }
40
+ /** The result interface of the validate function. */
41
+ type Result<Output> = SuccessResult<Output> | FailureResult;
42
+ /** The result interface if validation succeeds. */
43
+ interface SuccessResult<Output> {
44
+ /** The typed output value. */
45
+ readonly value: Output;
46
+ /** The absence of issues indicates success. */
47
+ readonly issues?: undefined;
48
+ }
49
+ interface Options {
50
+ /** Implicit support for additional vendor-specific parameters, if needed. */
51
+ readonly libraryOptions?: Record<string, unknown> | undefined;
52
+ }
53
+ /** The result interface if validation fails. */
54
+ interface FailureResult {
55
+ /** The issues of failed validation. */
56
+ readonly issues: ReadonlyArray<Issue>;
57
+ }
58
+ /** The issue interface of the failure output. */
59
+ interface Issue {
60
+ /** The error message of the issue. */
61
+ readonly message: string;
62
+ /** The path of the issue, if any. */
63
+ readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
64
+ }
65
+ /** The path segment interface of the issue. */
66
+ interface PathSegment {
67
+ /** The key representing a path segment. */
68
+ readonly key: PropertyKey;
69
+ }
70
+ /** The Standard types interface. */
71
+ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
72
+ /** Infers the input type of a Standard. */
73
+ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
74
+ /** Infers the output type of a Standard. */
75
+ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
76
+ }
77
+ //#endregion
78
+ export { StandardSchemaV1 };
79
+ //# sourceMappingURL=standard-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standard-schema.d.ts","names":["StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","version","vendor","types","input","output","InferInput","InferOutput","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","validate","value","options","issues","libraryOptions","message","path","key","StandardJSONSchemaV1","Converter","Target","jsonSchema","target","StandardSchemaWithJSONProps","StandardSchemaWithJSON"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;UACiBA,eAAAA,2BAA0CC,KAAAA;EAA3B;EAAA,SAEnB,WAAA,EAAaD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE9BF,eAAAA;EAF8BE;EAAAA,UAIzCC,KAAAA,2BAAgCF,KAAAA;IAJC;IAAA,SAM9BM,OAAAA;IARgBN;IAAAA,SAUhBO,MAAAA;IAV0CP;IAAAA,SAY1CQ,KAAAA,GAAQJ,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAAAA;EAVIC;EAAAA,UAa5BE,KAAAA,2BAAgCJ,KAAAA;IAbSC;IAAAA,SAetCQ,KAAAA,EAAOT,KAAAA;IAfqC;IAAA,SAiB5CU,MAAAA,EAAQT,MAAAA;EAAAA;EAfeD;EAAAA,KAkB/BW,UAAAA,gBAA0BZ,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;EAVnCH;EAAAA,KAYtBY,WAAAA,gBAA2Bb,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;AAAAA;;UAGlDU,gBAAAA,2BAA2Cb,KAAAA;EARnCC;EAAAA,SAUZ,WAAA,EAAaY,gBAAAA,CAAiBX,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE/BY,gBAAAA;EAPWd;EAAAA,UAStBG,KAAAA,2BAAgCF,KAAAA,UAAeD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;IATnCI;IAAAA,SAWtCmB,QAAAA,GAAWC,KAAAA,WAAgBC,OAAAA,GAAUb,gBAAAA,CAAiBC,OAAAA,iBAAwBC,MAAAA,CAAOd,MAAAA,IAAUe,OAAAA,CAAQD,MAAAA,CAAOd,MAAAA;EAAAA;EA7BjHC;EAAAA,KAgCLa,MAAAA,WAAiBE,aAAAA,CAAchB,MAAAA,IAAUiB,aAAAA;EAhCbjB;EAAAA,UAkCvBgB,aAAAA;IAhCGX;IAAAA,SAkCAmB,KAAAA,EAAOxB,MAAAA;IA9BPO;IAAAA,SAgCAmB,MAAAA;EAAAA;EAAAA,UAEHb,OAAAA;IA/BAV;IAAAA,SAiCGwB,cAAAA,GAAiBT,MAAAA;EAAAA;EAjCYnB;EAAAA,UAoChCkB,aAAAA;IAlCUlB;IAAAA,SAoCP2B,MAAAA,EAAQN,aAAAA,CAAcD,KAAAA;EAAAA;EA/B9BT;EAAAA,UAkCKS,KAAAA;IAlCqBrB;IAAAA,SAoClB8B,OAAAA;IApCiD1B;IAAAA,SAsCjD2B,IAAAA,GAAOT,aAAAA,CAAcC,WAAAA,GAAcC,WAAAA;EAAAA;EApChBxB;EAAAA,UAuCtBwB,WAAAA;IAvCqDpB;IAAAA,SAyClD4B,GAAAA,EAAKT,WAAAA;EAAAA;EAtCLT;EAAAA,UAyCHT,KAAAA,2BAAgCJ,KAAAA,UAAeD,eAAAA,CAAgBK,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAzC9BD;EAAAA,KA4CnDW,UAAAA,gBAA0BZ,eAAAA,IAAmBA,eAAAA,CAAgBY,UAAAA,CAAWR,MAAAA;EA1CzBF;EAAAA,KA4C/CW,WAAAA,gBAA2Bb,eAAAA,IAAmBA,eAAAA,CAAgBa,WAAAA,CAAYT,MAAAA;AAAAA"}
@@ -0,0 +1,52 @@
1
+ import { BaseSchema } from "./json-schema.cjs";
2
+ import { $ZodRegistry } from "./registries.cjs";
3
+ import { $ZodType } from "./schemas.cjs";
4
+
5
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts
6
+ type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
7
+ interface ProcessParams {
8
+ schemaPath: $ZodType[];
9
+ path: (string | number)[];
10
+ }
11
+ interface Seen {
12
+ /** JSON Schema result for this Zod schema */
13
+ schema: BaseSchema;
14
+ /** A cached version of the schema that doesn't get overwritten during ref resolution */
15
+ def?: BaseSchema;
16
+ defId?: string | undefined;
17
+ /** Number of times this schema was encountered during traversal */
18
+ count: number;
19
+ /** Cycle path */
20
+ cycle?: (string | number)[] | undefined;
21
+ isParent?: boolean | undefined;
22
+ /** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
23
+ ref?: $ZodType | null;
24
+ /** JSON Schema property path for this schema */
25
+ path?: (string | number)[] | undefined;
26
+ }
27
+ interface ToJSONSchemaContext {
28
+ processors: Record<string, Processor>;
29
+ metadataRegistry: $ZodRegistry<Record<string, any>>;
30
+ target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
31
+ unrepresentable: "throw" | "any";
32
+ override: (ctx: {
33
+ zodSchema: $ZodType;
34
+ jsonSchema: BaseSchema;
35
+ path: (string | number)[];
36
+ }) => void;
37
+ io: "input" | "output";
38
+ counter: number;
39
+ seen: Map<$ZodType, Seen>;
40
+ cycles: "ref" | "throw";
41
+ reused: "ref" | "inline";
42
+ external?: {
43
+ registry: $ZodRegistry<{
44
+ id?: string | undefined;
45
+ }>;
46
+ uri?: ((id: string) => string) | undefined;
47
+ defs: Record<string, BaseSchema>;
48
+ } | undefined;
49
+ }
50
+ //#endregion
51
+ export { ProcessParams, ToJSONSchemaContext };
52
+ //# sourceMappingURL=to-json-schema.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-json-schema.d.cts","names":["core","JSONSchema","$ZodRegistry","schemas","StandardJSONSchemaV1","StandardSchemaWithJSONProps","Processor","T","$ZodType","ToJSONSchemaContext","BaseSchema","ProcessParams","schema","ctx","json","params","JSONSchemaGeneratorParams","Record","$ZodTypes","processors","metadata","target","unrepresentable","override","zodSchema","jsonSchema","path","io","cycles","reused","external","registry","id","uri","defs","ToJSONSchemaParams","Omit","RegistryToJSONSchemaParams","schemaPath","Seen","def","defId","count","cycle","isParent","ref","Map","metadataRegistry","counter","seen","initializeContext","process","_params","extractDefs","finalize","ZodStandardJSONSchemaPayload","ZodStandardSchemaWithJSON","input","output","createToJSONSchemaMethod","StandardJSONSchemaMethodParams","Parameters","createStandardJSONSchemaMethod"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;KAKYM,SAAAA,WAAoBH,QAAAA,GAAmBA,QAAAA,KAAqBS,MAAAA,EAAQL,CAAAA,EAAGM,GAAAA,EAAKJ,mBAAAA,EAAqBK,IAAAA,EAAMb,UAAAA,EAAuBc,MAAAA,EAAQJ,aAAAA;AAAAA,UA8CjIA,aAAAA;EACb2B,UAAAA,EAAYnC,QAAAA;EACZuB,IAAAA;AAAAA;AAAAA,UAEaa,IAAAA;EAKbE;EAHA7B,MAAAA,EAAQX,UAAAA;EAOR0C;EALAH,GAAAA,GAAMvC,UAAAA;EACNwC,KAAAA;EAOMtC;EALNuC,KAAAA;EAOAhB;EALAiB,KAAAA;EACAC,QAAAA;EAManC;EAJboC,GAAAA,GAAM1C,QAAAA;;EAENuB,IAAAA;AAAAA;AAAAA,UAEajB,mBAAAA;EACbU,UAAAA,EAAYF,MAAAA,SAAeX,SAAAA;EAC3ByC,gBAAAA,EAAkB7C,YAAAA,CAAae,MAAAA;EAC/BI,MAAAA;EACAC,eAAAA;EACAC,QAAAA,GAAWV,GAAAA;IACPW,SAAAA,EAAWrB,QAAAA;IACXsB,UAAAA,EAAYxB,UAAAA;IACZyB,IAAAA;EAAAA;EAEJC,EAAAA;EACAqB,OAAAA;EACAC,IAAAA,EAAMH,GAAAA,CAAI3C,QAAAA,EAAkBoC,IAAAA;EAC5BX,MAAAA;EACAC,MAAAA;EACAC,QAAAA;IACIC,QAAAA,EAAU7B,YAAAA;MACN8B,EAAAA;IAAAA;IAEJC,GAAAA,KAAQD,EAAAA;IACRE,IAAAA,EAAMjB,MAAAA,SAAehB,UAAAA;EAAAA;AAAAA"}
@@ -0,0 +1,52 @@
1
+ import { BaseSchema } from "./json-schema.js";
2
+ import { $ZodRegistry } from "./registries.js";
3
+ import { $ZodType } from "./schemas.js";
4
+
5
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts
6
+ type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
7
+ interface ProcessParams {
8
+ schemaPath: $ZodType[];
9
+ path: (string | number)[];
10
+ }
11
+ interface Seen {
12
+ /** JSON Schema result for this Zod schema */
13
+ schema: BaseSchema;
14
+ /** A cached version of the schema that doesn't get overwritten during ref resolution */
15
+ def?: BaseSchema;
16
+ defId?: string | undefined;
17
+ /** Number of times this schema was encountered during traversal */
18
+ count: number;
19
+ /** Cycle path */
20
+ cycle?: (string | number)[] | undefined;
21
+ isParent?: boolean | undefined;
22
+ /** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
23
+ ref?: $ZodType | null;
24
+ /** JSON Schema property path for this schema */
25
+ path?: (string | number)[] | undefined;
26
+ }
27
+ interface ToJSONSchemaContext {
28
+ processors: Record<string, Processor>;
29
+ metadataRegistry: $ZodRegistry<Record<string, any>>;
30
+ target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
31
+ unrepresentable: "throw" | "any";
32
+ override: (ctx: {
33
+ zodSchema: $ZodType;
34
+ jsonSchema: BaseSchema;
35
+ path: (string | number)[];
36
+ }) => void;
37
+ io: "input" | "output";
38
+ counter: number;
39
+ seen: Map<$ZodType, Seen>;
40
+ cycles: "ref" | "throw";
41
+ reused: "ref" | "inline";
42
+ external?: {
43
+ registry: $ZodRegistry<{
44
+ id?: string | undefined;
45
+ }>;
46
+ uri?: ((id: string) => string) | undefined;
47
+ defs: Record<string, BaseSchema>;
48
+ } | undefined;
49
+ }
50
+ //#endregion
51
+ export { ProcessParams, ToJSONSchemaContext };
52
+ //# sourceMappingURL=to-json-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-json-schema.d.ts","names":["core","JSONSchema","$ZodRegistry","schemas","StandardJSONSchemaV1","StandardSchemaWithJSONProps","Processor","T","$ZodType","ToJSONSchemaContext","BaseSchema","ProcessParams","schema","ctx","json","params","JSONSchemaGeneratorParams","Record","$ZodTypes","processors","metadata","target","unrepresentable","override","zodSchema","jsonSchema","path","io","cycles","reused","external","registry","id","uri","defs","ToJSONSchemaParams","Omit","RegistryToJSONSchemaParams","schemaPath","Seen","def","defId","count","cycle","isParent","ref","Map","metadataRegistry","counter","seen","initializeContext","process","_params","extractDefs","finalize","ZodStandardJSONSchemaPayload","ZodStandardSchemaWithJSON","input","output","createToJSONSchemaMethod","StandardJSONSchemaMethodParams","Parameters","createStandardJSONSchemaMethod"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;KAKYM,SAAAA,WAAoBH,QAAAA,GAAmBA,QAAAA,KAAqBS,MAAAA,EAAQL,CAAAA,EAAGM,GAAAA,EAAKJ,mBAAAA,EAAqBK,IAAAA,EAAMb,UAAAA,EAAuBc,MAAAA,EAAQJ,aAAAA;AAAAA,UA8CjIA,aAAAA;EACb2B,UAAAA,EAAYnC,QAAAA;EACZuB,IAAAA;AAAAA;AAAAA,UAEaa,IAAAA;EAKbE;EAHA7B,MAAAA,EAAQX,UAAAA;EAOR0C;EALAH,GAAAA,GAAMvC,UAAAA;EACNwC,KAAAA;EAOMtC;EALNuC,KAAAA;EAOAhB;EALAiB,KAAAA;EACAC,QAAAA;EAManC;EAJboC,GAAAA,GAAM1C,QAAAA;;EAENuB,IAAAA;AAAAA;AAAAA,UAEajB,mBAAAA;EACbU,UAAAA,EAAYF,MAAAA,SAAeX,SAAAA;EAC3ByC,gBAAAA,EAAkB7C,YAAAA,CAAae,MAAAA;EAC/BI,MAAAA;EACAC,eAAAA;EACAC,QAAAA,GAAWV,GAAAA;IACPW,SAAAA,EAAWrB,QAAAA;IACXsB,UAAAA,EAAYxB,UAAAA;IACZyB,IAAAA;EAAAA;EAEJC,EAAAA;EACAqB,OAAAA;EACAC,IAAAA,EAAMH,GAAAA,CAAI3C,QAAAA,EAAkBoC,IAAAA;EAC5BX,MAAAA;EACAC,MAAAA;EACAC,QAAAA;IACIC,QAAAA,EAAU7B,YAAAA;MACN8B,EAAAA;IAAAA;IAEJC,GAAAA,KAAQD,EAAAA;IACRE,IAAAA,EAAMjB,MAAAA,SAAehB,UAAAA;EAAAA;AAAAA"}
@@ -0,0 +1,17 @@
1
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts
2
+ type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
3
+ type MakePartial<T, K extends keyof T> = Omit<T, K> & InexactPartial<Pick<T, K>>;
4
+ type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined };
5
+ type Identity<T> = T;
6
+ type Flatten<T> = Identity<{ [k in keyof T]: T[k] }>;
7
+ type AnyFunc = (...args: any[]) => any;
8
+ type MaybeAsync<T> = T | Promise<T>;
9
+ type Primitive = string | number | symbol | bigint | boolean | null | undefined;
10
+ type PropValues = Record<string, Set<Primitive>>;
11
+ type PrimitiveSet = Set<Primitive>;
12
+ declare abstract class Class {
13
+ constructor(..._args: any[]);
14
+ }
15
+ //#endregion
16
+ export { AnyFunc, Class, Flatten, MakePartial, MaybeAsync, Primitive, PrimitiveSet, PropValues };
17
+ //# sourceMappingURL=util.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.d.cts","names":["checks","$ZodConfig","errors","schemas","JSONType","key","JWTAlgorithm","HashAlgorithm","HashEncoding","HashFormat","IPVersion","MimeTypes","ParsedTypes","AssertEqual","V","T","U","AssertNotEqual","AssertExtends","IsAny","Omit","K","Exclude","Pick","OmitKeys","MakePartial","InexactPartial","MakeRequired","Required","Exactly","X","Record","NoUndefined","Whatever","LoosePartial","k","Mask","Keys","PropertyKey","Writeable","P","EmptyObject","BuiltIn","Symbol","toStringTag","Date","Error","Generator","Promise","RegExp","args","MakeReadonly","Map","ReadonlyMap","Set","ReadonlySet","Head","Tail","Array","ReadonlyArray","Readonly","SomeObject","Identity","Flatten","Mapped","Prettify","NoNeverKeys","NoNever","Extend","A","B","TupleItems","SomeType","AnyFunc","IsProp","MaybeAsync","KeyOf","OmitIndexSignature","ExtractIndexSignature","SchemaClass","def","EnumValue","EnumLike","ToEnum","KeysEnum","KeysArray","Literal","LiteralArray","Primitive","PrimitiveArray","HasSize","size","HasLength","length","Numeric","SafeParseResult","SafeParseSuccess","SafeParseError","success","data","error","$ZodError","PropValues","PrimitiveSet","assertEqual","val","assertNotEqual","assertIs","_arg","assertNever","_x","assert","_","getEnumValues","entries","joinValues","array","separator","jsonStringifyReplacer","value","cached","getter","nullish","input","cleanRegex","source","floatSafeRemainder","step","defineLazy","object","objectClone","obj","assignProp","target","prop","mergeDefs","defs","cloneDef","$ZodType","schema","getElementAtPath","path","promiseAllObject","Awaited","promisesObj","randomString","esc","str","slugify","captureStackTrace","Function","targetObject","constructorOpt","isObject","allowsEval","isPlainObject","o","shallowClone","numKeys","getParsedType","propertyKeyTypes","primitiveTypes","escapeRegex","clone","inst","parent","params","EmptyToNever","Normalize","normalizeParams","_params","createTransparentProxy","stringifyPrimitive","optionalKeys","$ZodShape","shape","CleanKey","ToCleanMap","$ZodLooseShape","FromCleanMap","NUMBER_FORMAT_RANGES","$ZodNumberFormats","BIGINT_FORMAT_RANGES","$ZodBigIntFormats","pick","$ZodObject","mask","omit","extend","safeExtend","merge","a","b","partial","$ZodOptional","Class","required","$ZodNonOptional","Constructor","Def","aborted","ParsePayload","x","startIndex","prefixIssues","$ZodRawIssue","issues","unwrapMessage","message","finalizeIssue","ParseContextInternal","$ZodIssue","iss","ctx","config","getSizableOrigin","getLengthableOrigin","parsedType","$ZodInvalidTypeExpected","issue","_iss","cleanEnum","base64ToUint8Array","Uint8Array","InstanceType","base64","uint8ArrayToBase64","bytes","base64urlToUint8Array","base64url","uint8ArrayToBase64url","hexToUint8Array","hex","uint8ArrayToHex","constructor","_args"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts"],"x_google_ignoreList":[0],"mappings":";KAkBYoB,IAAAA,oBAAwBL,CAAAA,IAAKQ,IAAAA,CAAKR,CAAAA,EAAGO,OAAAA,OAAcP,CAAAA,EAAGM,CAAAA;AAAAA,KAEtDI,WAAAA,oBAA+BV,CAAAA,IAAKK,IAAAA,CAAKL,CAAAA,EAAGM,CAAAA,IAAKK,cAAAA,CAAeH,IAAAA,CAAKR,CAAAA,EAAGM,CAAAA;AAAAA,KAcxEK,cAAAA,oBACIX,CAAAA,IAAKA,CAAAA,CAAEyB,CAAAA;AAAAA,KAQXsB,QAAAA,MAAc/C,CAAAA;AAAAA,KACdgD,OAAAA,MAAaD,QAAAA,eACT/C,CAAAA,GAAIA,CAAAA,CAAEoB,CAAAA;AAAAA,KAoBVsC,OAAAA,OAAcvB,IAAAA;AAAAA,KAEdyB,UAAAA,MAAgB5D,CAAAA,GAAIiC,OAAAA,CAAQjC,CAAAA;AAAAA,KAqB5ByE,SAAAA;AAAAA,KAoBAc,UAAAA,GAAavE,MAAAA,SAAeuB,GAAAA,CAAIkC,SAAAA;AAAAA,KAChCe,YAAAA,GAAejD,GAAAA,CAAIkC,SAAAA;AAAAA,uBAuFD2G,KAAAA;EAC1BuC,WAAAA,CAAAA,GAAeC,KAAAA;AAAAA"}
@@ -0,0 +1,17 @@
1
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts
2
+ type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
3
+ type MakePartial<T, K extends keyof T> = Omit<T, K> & InexactPartial<Pick<T, K>>;
4
+ type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined };
5
+ type Identity<T> = T;
6
+ type Flatten<T> = Identity<{ [k in keyof T]: T[k] }>;
7
+ type AnyFunc = (...args: any[]) => any;
8
+ type MaybeAsync<T> = T | Promise<T>;
9
+ type Primitive = string | number | symbol | bigint | boolean | null | undefined;
10
+ type PropValues = Record<string, Set<Primitive>>;
11
+ type PrimitiveSet = Set<Primitive>;
12
+ declare abstract class Class {
13
+ constructor(..._args: any[]);
14
+ }
15
+ //#endregion
16
+ export { AnyFunc, Class, Flatten, MakePartial, MaybeAsync, Primitive, PrimitiveSet, PropValues };
17
+ //# sourceMappingURL=util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.d.ts","names":["checks","$ZodConfig","errors","schemas","JSONType","key","JWTAlgorithm","HashAlgorithm","HashEncoding","HashFormat","IPVersion","MimeTypes","ParsedTypes","AssertEqual","V","T","U","AssertNotEqual","AssertExtends","IsAny","Omit","K","Exclude","Pick","OmitKeys","MakePartial","InexactPartial","MakeRequired","Required","Exactly","X","Record","NoUndefined","Whatever","LoosePartial","k","Mask","Keys","PropertyKey","Writeable","P","EmptyObject","BuiltIn","Symbol","toStringTag","Date","Error","Generator","Promise","RegExp","args","MakeReadonly","Map","ReadonlyMap","Set","ReadonlySet","Head","Tail","Array","ReadonlyArray","Readonly","SomeObject","Identity","Flatten","Mapped","Prettify","NoNeverKeys","NoNever","Extend","A","B","TupleItems","SomeType","AnyFunc","IsProp","MaybeAsync","KeyOf","OmitIndexSignature","ExtractIndexSignature","SchemaClass","def","EnumValue","EnumLike","ToEnum","KeysEnum","KeysArray","Literal","LiteralArray","Primitive","PrimitiveArray","HasSize","size","HasLength","length","Numeric","SafeParseResult","SafeParseSuccess","SafeParseError","success","data","error","$ZodError","PropValues","PrimitiveSet","assertEqual","val","assertNotEqual","assertIs","_arg","assertNever","_x","assert","_","getEnumValues","entries","joinValues","array","separator","jsonStringifyReplacer","value","cached","getter","nullish","input","cleanRegex","source","floatSafeRemainder","step","defineLazy","object","objectClone","obj","assignProp","target","prop","mergeDefs","defs","cloneDef","$ZodType","schema","getElementAtPath","path","promiseAllObject","Awaited","promisesObj","randomString","esc","str","slugify","captureStackTrace","Function","targetObject","constructorOpt","isObject","allowsEval","isPlainObject","o","shallowClone","numKeys","getParsedType","propertyKeyTypes","primitiveTypes","escapeRegex","clone","inst","parent","params","EmptyToNever","Normalize","normalizeParams","_params","createTransparentProxy","stringifyPrimitive","optionalKeys","$ZodShape","shape","CleanKey","ToCleanMap","$ZodLooseShape","FromCleanMap","NUMBER_FORMAT_RANGES","$ZodNumberFormats","BIGINT_FORMAT_RANGES","$ZodBigIntFormats","pick","$ZodObject","mask","omit","extend","safeExtend","merge","a","b","partial","$ZodOptional","Class","required","$ZodNonOptional","Constructor","Def","aborted","ParsePayload","x","startIndex","prefixIssues","$ZodRawIssue","issues","unwrapMessage","message","finalizeIssue","ParseContextInternal","$ZodIssue","iss","ctx","config","getSizableOrigin","getLengthableOrigin","parsedType","$ZodInvalidTypeExpected","issue","_iss","cleanEnum","base64ToUint8Array","Uint8Array","InstanceType","base64","uint8ArrayToBase64","bytes","base64urlToUint8Array","base64url","uint8ArrayToBase64url","hexToUint8Array","hex","uint8ArrayToHex","constructor","_args"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts"],"x_google_ignoreList":[0],"mappings":";KAkBYoB,IAAAA,oBAAwBL,CAAAA,IAAKQ,IAAAA,CAAKR,CAAAA,EAAGO,OAAAA,OAAcP,CAAAA,EAAGM,CAAAA;AAAAA,KAEtDI,WAAAA,oBAA+BV,CAAAA,IAAKK,IAAAA,CAAKL,CAAAA,EAAGM,CAAAA,IAAKK,cAAAA,CAAeH,IAAAA,CAAKR,CAAAA,EAAGM,CAAAA;AAAAA,KAcxEK,cAAAA,oBACIX,CAAAA,IAAKA,CAAAA,CAAEyB,CAAAA;AAAAA,KAQXsB,QAAAA,MAAc/C,CAAAA;AAAAA,KACdgD,OAAAA,MAAaD,QAAAA,eACT/C,CAAAA,GAAIA,CAAAA,CAAEoB,CAAAA;AAAAA,KAoBVsC,OAAAA,OAAcvB,IAAAA;AAAAA,KAEdyB,UAAAA,MAAgB5D,CAAAA,GAAIiC,OAAAA,CAAQjC,CAAAA;AAAAA,KAqB5ByE,SAAAA;AAAAA,KAoBAc,UAAAA,GAAavE,MAAAA,SAAeuB,GAAAA,CAAIkC,SAAAA;AAAAA,KAChCe,YAAAA,GAAejD,GAAAA,CAAIkC,SAAAA;AAAAA,uBAuFD2G,KAAAA;EAC1BuC,WAAAA,CAAAA,GAAeC,KAAAA;AAAAA"}
@@ -0,0 +1,9 @@
1
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts
2
+ declare const version: {
3
+ readonly major: 4;
4
+ readonly minor: 3;
5
+ readonly patch: number;
6
+ };
7
+ //#endregion
8
+ export { version };
9
+ //# sourceMappingURL=versions.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versions.d.cts","names":["version","major","minor","patch"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts"],"x_google_ignoreList":[0],"mappings":";cAAqBA,OAAAA;EAAAA,SACRC,KAAAA;EAAAA,SACAC,KAAAA;EAAAA,SACAC,KAAAA;AAAAA"}
@@ -0,0 +1,9 @@
1
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts
2
+ declare const version: {
3
+ readonly major: 4;
4
+ readonly minor: 3;
5
+ readonly patch: number;
6
+ };
7
+ //#endregion
8
+ export { version };
9
+ //# sourceMappingURL=versions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versions.d.ts","names":["version","major","minor","patch"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts"],"x_google_ignoreList":[0],"mappings":";cAAqBA,OAAAA;EAAAA,SACRC,KAAAA;EAAAA,SACAC,KAAAA;EAAAA,SACAC,KAAAA;AAAAA"}
@@ -1,132 +1,50 @@
1
1
  let _angular_core = require("@angular/core");
2
2
  let _langchain_langgraph_sdk_ui = require("@langchain/langgraph-sdk/ui");
3
- let _langchain_langgraph_sdk_utils = require("@langchain/langgraph-sdk/utils");
4
3
  //#region src/stream.custom.ts
5
- function useStreamCustom(options) {
6
- const messageManager = new _langchain_langgraph_sdk_ui.MessageTupleManager();
7
- const stream = new _langchain_langgraph_sdk_ui.StreamManager(messageManager, {
8
- throttle: options.throttle ?? false,
9
- subagentToolNames: options.subagentToolNames,
10
- filterSubagentMessages: options.filterSubagentMessages,
11
- toMessage: _langchain_langgraph_sdk_ui.toMessageClass
12
- });
13
- const streamValues = (0, _angular_core.signal)(stream.values);
14
- const streamError = (0, _angular_core.signal)(stream.error);
15
- const isLoading = (0, _angular_core.signal)(stream.isLoading);
4
+ function injectStreamCustom(options) {
5
+ const orchestrator = new _langchain_langgraph_sdk_ui.CustomStreamOrchestrator(options);
6
+ const version = (0, _angular_core.signal)(0);
16
7
  const subagentVersion = (0, _angular_core.signal)(0);
17
8
  (0, _angular_core.effect)((onCleanup) => {
18
- const unsubscribe = stream.subscribe(() => {
19
- streamValues.set(stream.values);
20
- streamError.set(stream.error);
21
- isLoading.set(stream.isLoading);
9
+ const unsubscribe = orchestrator.subscribe(() => {
10
+ version.update((v) => v + 1);
22
11
  subagentVersion.update((v) => v + 1);
23
12
  });
24
13
  onCleanup(() => unsubscribe());
25
14
  });
26
- let threadId = options.threadId ?? null;
27
- const branch = (0, _angular_core.signal)("");
28
- const getMessages = (value) => {
29
- const messagesKey = options.messagesKey ?? "messages";
30
- return Array.isArray(value[messagesKey]) ? value[messagesKey] : [];
31
- };
32
- const setMessages = (current, messages) => {
33
- const messagesKey = options.messagesKey ?? "messages";
34
- return {
35
- ...current,
36
- [messagesKey]: messages
37
- };
38
- };
39
- const historyValues = options.initialValues ?? {};
40
- const historyMessages = getMessages(historyValues);
41
- const shouldReconstructSubagents = options.filterSubagentMessages && !stream.isLoading && historyMessages.length > 0;
42
15
  (0, _angular_core.effect)(() => {
43
- const loading = isLoading();
44
- const hvMessages = getMessages(historyValues);
45
- if (options.filterSubagentMessages && !loading && hvMessages.length > 0) stream.reconstructSubagents(hvMessages, { skipIfPopulated: true });
16
+ version();
17
+ const loading = orchestrator.isLoading;
18
+ const hvMessages = orchestrator.messages;
19
+ if (options.filterSubagentMessages && !loading && hvMessages.length > 0) orchestrator.reconstructSubagentsIfNeeded();
46
20
  });
47
- if (shouldReconstructSubagents) stream.reconstructSubagents(historyMessages, { skipIfPopulated: true });
48
- function switchThread(newThreadId) {
49
- if (newThreadId !== threadId) {
50
- threadId = newThreadId;
51
- stream.clear();
52
- }
53
- }
54
- function stop() {
55
- return stream.stop(historyValues, { onStop: options.onStop });
56
- }
57
- async function submitDirect(values, submitOptions) {
58
- const currentThreadId = options.threadId ?? null;
59
- if (currentThreadId !== threadId) {
60
- threadId = currentThreadId;
61
- stream.clear();
62
- }
63
- let usableThreadId = threadId ?? submitOptions?.threadId;
64
- stream.setStreamValues(() => {
65
- if (submitOptions?.optimisticValues != null) return {
66
- ...historyValues,
67
- ...typeof submitOptions.optimisticValues === "function" ? submitOptions.optimisticValues(historyValues) : submitOptions.optimisticValues
68
- };
69
- return { ...historyValues };
70
- });
71
- await stream.start(async (signal) => {
72
- if (!usableThreadId) {
73
- usableThreadId = crypto.randomUUID();
74
- threadId = usableThreadId;
75
- options.onThreadId?.(usableThreadId);
76
- }
77
- if (!usableThreadId) throw new Error("Failed to obtain valid thread ID.");
78
- return options.transport.stream({
79
- input: values,
80
- context: submitOptions?.context,
81
- command: submitOptions?.command,
82
- signal,
83
- config: {
84
- ...submitOptions?.config,
85
- configurable: {
86
- thread_id: usableThreadId,
87
- ...submitOptions?.config?.configurable
88
- }
89
- }
90
- });
91
- }, {
92
- getMessages,
93
- setMessages,
94
- initialValues: {},
95
- callbacks: options,
96
- onSuccess: () => void 0,
97
- onError(error) {
98
- options.onError?.(error, void 0);
99
- submitOptions?.onError?.(error, void 0);
100
- }
101
- });
102
- }
103
- async function submit(values, submitOptions) {
104
- await submitDirect(values, submitOptions);
105
- }
106
- const values = (0, _angular_core.computed)(() => streamValues() ?? {});
107
- function setBranch(value) {
108
- branch.set(value);
109
- }
110
- function getMessagesMetadata(message, index) {
111
- const streamMetadata = messageManager.get(message.id)?.metadata;
112
- if (streamMetadata != null) return {
113
- messageId: message.id ?? String(index),
114
- firstSeenState: void 0,
115
- branch: void 0,
116
- branchOptions: void 0,
117
- streamMetadata
118
- };
119
- }
21
+ const values = (0, _angular_core.computed)(() => {
22
+ version();
23
+ return orchestrator.values;
24
+ });
25
+ const branch = (0, _angular_core.signal)("");
120
26
  return {
121
27
  values,
122
- error: streamError,
123
- isLoading,
124
- stop,
125
- submit,
126
- switchThread,
28
+ error: (0, _angular_core.computed)(() => {
29
+ version();
30
+ return orchestrator.error;
31
+ }),
32
+ isLoading: (0, _angular_core.signal)(false),
33
+ stop: () => orchestrator.stop(),
34
+ async submit(values, submitOptions) {
35
+ await orchestrator.submit(values, submitOptions);
36
+ },
37
+ switchThread(newThreadId) {
38
+ orchestrator.switchThread(newThreadId);
39
+ },
127
40
  branch,
128
- setBranch,
129
- getMessagesMetadata,
41
+ setBranch(value) {
42
+ branch.set(value);
43
+ orchestrator.setBranch(value);
44
+ },
45
+ getMessagesMetadata(message, index) {
46
+ return orchestrator.getMessagesMetadata(message, index);
47
+ },
130
48
  queue: {
131
49
  entries: (0, _angular_core.signal)([]),
132
50
  size: (0, _angular_core.signal)(0),
@@ -136,52 +54,51 @@ function useStreamCustom(options) {
136
54
  async clear() {}
137
55
  },
138
56
  interrupts: (0, _angular_core.computed)(() => {
139
- const vals = streamValues();
140
- if (vals != null && "__interrupt__" in vals && Array.isArray(vals.__interrupt__)) {
141
- const valueInterrupts = vals.__interrupt__;
142
- if (valueInterrupts.length === 0) return [{ when: "breakpoint" }];
143
- return valueInterrupts;
144
- }
145
- return [];
57
+ version();
58
+ return orchestrator.interrupts;
146
59
  }),
147
60
  interrupt: (0, _angular_core.computed)(() => {
148
- return (0, _langchain_langgraph_sdk_ui.extractInterrupts)(streamValues());
61
+ version();
62
+ return orchestrator.interrupt;
149
63
  }),
150
64
  messages: (0, _angular_core.computed)(() => {
151
- const vals = streamValues();
152
- if (!vals) return [];
153
- return (0, _langchain_langgraph_sdk_ui.ensureMessageInstances)(getMessages(vals));
65
+ version();
66
+ return (0, _langchain_langgraph_sdk_ui.ensureMessageInstances)(orchestrator.messages);
154
67
  }),
155
68
  toolCalls: (0, _angular_core.computed)(() => {
156
- const vals = streamValues();
157
- if (!vals) return [];
158
- return (0, _langchain_langgraph_sdk_utils.getToolCallsWithResults)(getMessages(vals));
69
+ version();
70
+ return orchestrator.toolCalls;
159
71
  }),
160
72
  getToolCalls(message) {
161
- const vals = streamValues();
162
- if (!vals) return [];
163
- return (0, _langchain_langgraph_sdk_utils.getToolCallsWithResults)(getMessages(vals)).filter((tc) => tc.aiMessage.id === message.id);
73
+ return orchestrator.getToolCalls(message);
164
74
  },
165
75
  get subagents() {
166
76
  subagentVersion();
167
- return stream.getSubagents();
77
+ return orchestrator.subagents;
168
78
  },
169
79
  get activeSubagents() {
170
80
  subagentVersion();
171
- return stream.getActiveSubagents();
81
+ return orchestrator.activeSubagents;
172
82
  },
173
83
  getSubagent(toolCallId) {
174
- return stream.getSubagent(toolCallId);
84
+ return orchestrator.getSubagent(toolCallId);
175
85
  },
176
86
  getSubagentsByType(type) {
177
- return stream.getSubagentsByType(type);
87
+ return orchestrator.getSubagentsByType(type);
178
88
  },
179
89
  getSubagentsByMessage(messageId) {
180
- return stream.getSubagentsByMessage(messageId);
90
+ return orchestrator.getSubagentsByMessage(messageId);
181
91
  }
182
92
  };
183
93
  }
94
+ /**
95
+ * @deprecated Use `injectStreamCustom` instead. `useStreamCustom` will be
96
+ * removed in a future major version. `injectStreamCustom` follows Angular's
97
+ * `inject*` naming convention for injection-based patterns.
98
+ */
99
+ const useStreamCustom = injectStreamCustom;
184
100
  //#endregion
101
+ exports.injectStreamCustom = injectStreamCustom;
185
102
  exports.useStreamCustom = useStreamCustom;
186
103
 
187
104
  //# sourceMappingURL=stream.custom.cjs.map