@tambo-ai/react 0.69.0 → 0.70.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 (202) hide show
  1. package/README.md +7 -7
  2. package/dist/hooks/use-tambo-threads.test.js.map +1 -1
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/mcp/index.d.ts +4 -5
  7. package/dist/mcp/index.d.ts.map +1 -1
  8. package/dist/mcp/index.js +4 -5
  9. package/dist/mcp/index.js.map +1 -1
  10. package/dist/model/component-metadata.d.ts +88 -241
  11. package/dist/model/component-metadata.d.ts.map +1 -1
  12. package/dist/model/component-metadata.js.map +1 -1
  13. package/dist/model/mcp-server-info.d.ts +3 -3
  14. package/dist/model/mcp-server-info.js.map +1 -1
  15. package/dist/providers/hooks/use-tambo-session-token.test.js.map +1 -1
  16. package/dist/providers/tambo-component-provider.d.ts +2 -2
  17. package/dist/providers/tambo-component-provider.d.ts.map +1 -1
  18. package/dist/providers/tambo-component-provider.js.map +1 -1
  19. package/dist/providers/tambo-interactable-provider.d.ts +1 -1
  20. package/dist/providers/tambo-registry-provider.d.ts +4 -4
  21. package/dist/providers/tambo-registry-provider.d.ts.map +1 -1
  22. package/dist/providers/tambo-registry-provider.js +11 -8
  23. package/dist/providers/tambo-registry-provider.js.map +1 -1
  24. package/dist/providers/tambo-registry-provider.test.js +31 -0
  25. package/dist/providers/tambo-registry-provider.test.js.map +1 -1
  26. package/dist/providers/tambo-registry-schema-compat.test.js +42 -52
  27. package/dist/providers/tambo-registry-schema-compat.test.js.map +1 -1
  28. package/dist/providers/tambo-stubs.d.ts +2 -2
  29. package/dist/providers/tambo-stubs.d.ts.map +1 -1
  30. package/dist/providers/tambo-stubs.js.map +1 -1
  31. package/dist/providers/tambo-thread-provider-initial-messages.test.js.map +1 -1
  32. package/dist/providers/tambo-thread-provider.d.ts.map +1 -1
  33. package/dist/providers/tambo-thread-provider.js +110 -142
  34. package/dist/providers/tambo-thread-provider.js.map +1 -1
  35. package/dist/providers/tambo-thread-provider.test.js +362 -445
  36. package/dist/providers/tambo-thread-provider.test.js.map +1 -1
  37. package/dist/schema/index.d.ts +1 -2
  38. package/dist/schema/index.d.ts.map +1 -1
  39. package/dist/schema/index.js +1 -5
  40. package/dist/schema/index.js.map +1 -1
  41. package/dist/schema/schema.d.ts +7 -24
  42. package/dist/schema/schema.d.ts.map +1 -1
  43. package/dist/schema/schema.js +34 -105
  44. package/dist/schema/schema.js.map +1 -1
  45. package/dist/schema/schema.test.js +26 -124
  46. package/dist/schema/schema.test.js.map +1 -1
  47. package/dist/testing/tools.d.ts +2 -12
  48. package/dist/testing/tools.d.ts.map +1 -1
  49. package/dist/testing/tools.js +1 -20
  50. package/dist/testing/tools.js.map +1 -1
  51. package/dist/testing/types.d.ts +2 -2
  52. package/dist/testing/types.d.ts.map +1 -1
  53. package/dist/testing/types.js.map +1 -1
  54. package/dist/util/registry-validators.d.ts +2 -2
  55. package/dist/util/registry-validators.d.ts.map +1 -1
  56. package/dist/util/registry-validators.js +37 -17
  57. package/dist/util/registry-validators.js.map +1 -1
  58. package/dist/util/registry-validators.test.js +64 -25
  59. package/dist/util/registry-validators.test.js.map +1 -1
  60. package/dist/util/registry.d.ts +4 -10
  61. package/dist/util/registry.d.ts.map +1 -1
  62. package/dist/util/registry.js +6 -22
  63. package/dist/util/registry.js.map +1 -1
  64. package/dist/util/registry.test.js +1 -47
  65. package/dist/util/registry.test.js.map +1 -1
  66. package/dist/util/tool-caller.d.ts +2 -2
  67. package/dist/util/tool-caller.d.ts.map +1 -1
  68. package/dist/util/tool-caller.js +5 -12
  69. package/dist/util/tool-caller.js.map +1 -1
  70. package/dist/v1/index.d.ts +35 -0
  71. package/dist/v1/index.d.ts.map +1 -0
  72. package/dist/v1/index.js +47 -0
  73. package/dist/v1/index.js.map +1 -0
  74. package/dist/v1/types/component.d.ts +47 -0
  75. package/dist/v1/types/component.d.ts.map +1 -0
  76. package/dist/v1/types/component.js +11 -0
  77. package/dist/v1/types/component.js.map +1 -0
  78. package/dist/v1/types/event.d.ts +63 -0
  79. package/dist/v1/types/event.d.ts.map +1 -0
  80. package/dist/v1/types/event.js +9 -0
  81. package/dist/v1/types/event.js.map +1 -0
  82. package/dist/v1/types/message.d.ts +39 -0
  83. package/dist/v1/types/message.d.ts.map +1 -0
  84. package/dist/v1/types/message.js +10 -0
  85. package/dist/v1/types/message.js.map +1 -0
  86. package/dist/v1/types/thread.d.ts +54 -0
  87. package/dist/v1/types/thread.d.ts.map +1 -0
  88. package/dist/v1/types/thread.js +9 -0
  89. package/dist/v1/types/thread.js.map +1 -0
  90. package/dist/v1/types/tool.d.ts +52 -0
  91. package/dist/v1/types/tool.d.ts.map +1 -0
  92. package/dist/v1/types/tool.js +11 -0
  93. package/dist/v1/types/tool.js.map +1 -0
  94. package/esm/hooks/use-tambo-threads.test.js.map +1 -1
  95. package/esm/index.d.ts +1 -1
  96. package/esm/index.d.ts.map +1 -1
  97. package/esm/index.js.map +1 -1
  98. package/esm/mcp/index.d.ts +4 -5
  99. package/esm/mcp/index.d.ts.map +1 -1
  100. package/esm/mcp/index.js +4 -5
  101. package/esm/mcp/index.js.map +1 -1
  102. package/esm/model/component-metadata.d.ts +88 -241
  103. package/esm/model/component-metadata.d.ts.map +1 -1
  104. package/esm/model/component-metadata.js.map +1 -1
  105. package/esm/model/mcp-server-info.d.ts +3 -3
  106. package/esm/model/mcp-server-info.js.map +1 -1
  107. package/esm/providers/hooks/use-tambo-session-token.test.js.map +1 -1
  108. package/esm/providers/tambo-component-provider.d.ts +2 -2
  109. package/esm/providers/tambo-component-provider.d.ts.map +1 -1
  110. package/esm/providers/tambo-component-provider.js.map +1 -1
  111. package/esm/providers/tambo-interactable-provider.d.ts +1 -1
  112. package/esm/providers/tambo-registry-provider.d.ts +4 -4
  113. package/esm/providers/tambo-registry-provider.d.ts.map +1 -1
  114. package/esm/providers/tambo-registry-provider.js +11 -8
  115. package/esm/providers/tambo-registry-provider.js.map +1 -1
  116. package/esm/providers/tambo-registry-provider.test.js +31 -0
  117. package/esm/providers/tambo-registry-provider.test.js.map +1 -1
  118. package/esm/providers/tambo-registry-schema-compat.test.js +42 -52
  119. package/esm/providers/tambo-registry-schema-compat.test.js.map +1 -1
  120. package/esm/providers/tambo-stubs.d.ts +2 -2
  121. package/esm/providers/tambo-stubs.d.ts.map +1 -1
  122. package/esm/providers/tambo-stubs.js.map +1 -1
  123. package/esm/providers/tambo-thread-provider-initial-messages.test.js.map +1 -1
  124. package/esm/providers/tambo-thread-provider.d.ts.map +1 -1
  125. package/esm/providers/tambo-thread-provider.js +110 -142
  126. package/esm/providers/tambo-thread-provider.js.map +1 -1
  127. package/esm/providers/tambo-thread-provider.test.js +329 -445
  128. package/esm/providers/tambo-thread-provider.test.js.map +1 -1
  129. package/esm/schema/index.d.ts +1 -2
  130. package/esm/schema/index.d.ts.map +1 -1
  131. package/esm/schema/index.js +1 -2
  132. package/esm/schema/index.js.map +1 -1
  133. package/esm/schema/schema.d.ts +7 -24
  134. package/esm/schema/schema.d.ts.map +1 -1
  135. package/esm/schema/schema.js +34 -103
  136. package/esm/schema/schema.js.map +1 -1
  137. package/esm/schema/schema.test.js +27 -125
  138. package/esm/schema/schema.test.js.map +1 -1
  139. package/esm/testing/tools.d.ts +2 -12
  140. package/esm/testing/tools.d.ts.map +1 -1
  141. package/esm/testing/tools.js +2 -20
  142. package/esm/testing/tools.js.map +1 -1
  143. package/esm/testing/types.d.ts +2 -2
  144. package/esm/testing/types.d.ts.map +1 -1
  145. package/esm/testing/types.js.map +1 -1
  146. package/esm/util/registry-validators.d.ts +2 -2
  147. package/esm/util/registry-validators.d.ts.map +1 -1
  148. package/esm/util/registry-validators.js +38 -18
  149. package/esm/util/registry-validators.js.map +1 -1
  150. package/esm/util/registry-validators.test.js +64 -25
  151. package/esm/util/registry-validators.test.js.map +1 -1
  152. package/esm/util/registry.d.ts +4 -10
  153. package/esm/util/registry.d.ts.map +1 -1
  154. package/esm/util/registry.js +7 -22
  155. package/esm/util/registry.js.map +1 -1
  156. package/esm/util/registry.test.js +3 -49
  157. package/esm/util/registry.test.js.map +1 -1
  158. package/esm/util/tool-caller.d.ts +2 -2
  159. package/esm/util/tool-caller.d.ts.map +1 -1
  160. package/esm/util/tool-caller.js +5 -12
  161. package/esm/util/tool-caller.js.map +1 -1
  162. package/esm/v1/index.d.ts +35 -0
  163. package/esm/v1/index.d.ts.map +1 -0
  164. package/esm/v1/index.js +46 -0
  165. package/esm/v1/index.js.map +1 -0
  166. package/esm/v1/types/component.d.ts +47 -0
  167. package/esm/v1/types/component.d.ts.map +1 -0
  168. package/esm/v1/types/component.js +10 -0
  169. package/esm/v1/types/component.js.map +1 -0
  170. package/esm/v1/types/event.d.ts +63 -0
  171. package/esm/v1/types/event.d.ts.map +1 -0
  172. package/esm/v1/types/event.js +8 -0
  173. package/esm/v1/types/event.js.map +1 -0
  174. package/esm/v1/types/message.d.ts +39 -0
  175. package/esm/v1/types/message.d.ts.map +1 -0
  176. package/esm/v1/types/message.js +9 -0
  177. package/esm/v1/types/message.js.map +1 -0
  178. package/esm/v1/types/thread.d.ts +54 -0
  179. package/esm/v1/types/thread.d.ts.map +1 -0
  180. package/esm/v1/types/thread.js +8 -0
  181. package/esm/v1/types/thread.js.map +1 -0
  182. package/esm/v1/types/tool.d.ts +52 -0
  183. package/esm/v1/types/tool.d.ts.map +1 -0
  184. package/esm/v1/types/tool.js +10 -0
  185. package/esm/v1/types/tool.js.map +1 -0
  186. package/package.json +18 -8
  187. package/dist/schema/zod.d.ts +0 -57
  188. package/dist/schema/zod.d.ts.map +0 -1
  189. package/dist/schema/zod.js +0 -191
  190. package/dist/schema/zod.js.map +0 -1
  191. package/dist/schema/zod.test.d.ts +0 -2
  192. package/dist/schema/zod.test.d.ts.map +0 -1
  193. package/dist/schema/zod.test.js +0 -663
  194. package/dist/schema/zod.test.js.map +0 -1
  195. package/esm/schema/zod.d.ts +0 -57
  196. package/esm/schema/zod.d.ts.map +0 -1
  197. package/esm/schema/zod.js +0 -180
  198. package/esm/schema/zod.js.map +0 -1
  199. package/esm/schema/zod.test.d.ts +0 -2
  200. package/esm/schema/zod.test.d.ts.map +0 -1
  201. package/esm/schema/zod.test.js +0 -628
  202. package/esm/schema/zod.test.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wKAAwK;AAExK,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,oBAAoB,EACpB,KAAK,UAAU,EACf,KAAK,YAAY,GAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,uBAAuB,EACvB,QAAQ,EACR,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,oBAAoB,EACzB,KAAK,sBAAs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ACV,UAAU,EACV,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACL,qBAAqB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,GAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,eAAe,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EACV,0BAA0B,IAAI,qBAAqB,EACnD,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,cAAc,GACf,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,YAAY,EACV,aAAa,EACb,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AAGjC,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,GACf,MAAM,uBAAuB,CAAC"}
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wKAAwK;AAExK,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,GAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAoB,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,oBAAoB,GAGrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,gCAAgC;AAChC,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,uBAAuB,EACvB,QAAQ,EACR,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,mBAAmB,GAapB,MAAM,aAAa,CAAC;AAcrB,OAAO,EACL,qBAAqB,IAAI,gBAAgB,GAG1C,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAe/D,OAAO,EACL,eAAe,GAGhB,MAAM,qCAAqC,CAAC;AAM7C,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,0BAA0B;AAC1B,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAO3B,8EAA8E;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAavD,+EAA+E;AAC/E,8BAA8B","sourcesContent":["/** Exports for the library. Only publically available exports are re-exported here. Anything not exported here is not supported and may change or break at any time. */\n\nexport { useTamboComponentState } from \"./hooks/use-component-state\";\nexport {\n TamboMessageProvider,\n useTamboCurrentComponent,\n useTamboCurrentMessage,\n type TamboCurrentComponent,\n} from \"./hooks/use-current-message\";\nexport { useMessageImages, type StagedImage } from \"./hooks/use-message-images\";\nexport { useTamboStreamingProps } from \"./hooks/use-streaming-props\";\nexport * from \"./hooks/use-suggestions\";\nexport {\n useTamboStreamStatus,\n type PropStatus,\n type StreamStatus,\n} from \"./hooks/use-tambo-stream-status\";\nexport { useTamboVoice } from \"./hooks/use-tambo-voice\";\n\n// Re-export provider components\nexport {\n TamboClientProvider,\n TamboComponentProvider,\n TamboContextAttachmentProvider,\n TamboContextHelpersProvider,\n TamboPropStreamProvider,\n TamboProvider,\n TamboRegistryProvider,\n TamboStubProvider,\n TamboThreadInputProvider,\n TamboThreadProvider,\n useIsTamboTokenUpdating,\n useTambo,\n useTamboClient,\n useTamboContextAttachment,\n useTamboContextHelpers,\n useTamboGenerationStage,\n useTamboMcpServerInfos,\n useTamboStream,\n useTamboThread,\n useTamboThreadInput,\n type ContextAttachment,\n type ContextAttachmentState,\n type RegisterToolFn,\n type RegisterToolsFn,\n type TamboComponent,\n type TamboContextAttachmentProviderProps,\n type TamboContextHelpersContextProps,\n type TamboContextHelpersProviderProps,\n type TamboRegistryContext,\n type TamboStubProviderProps,\n type TamboThreadInputContextProps,\n type TamboThreadProviderProps,\n} from \"./providers\";\n\n// Re-export types from Tambo Node SDK\nexport type {\n APIError,\n RateLimitError,\n TamboAIError,\n} from \"@tambo-ai/typescript-sdk\";\nexport type {\n Suggestion,\n SuggestionGenerateParams,\n SuggestionGenerateResponse,\n SuggestionListResponse,\n} from \"@tambo-ai/typescript-sdk/resources/beta/threads/suggestions\";\nexport {\n withTamboInteractable as withInteractable,\n type InteractableConfig,\n type WithTamboInteractableProps,\n} from \"./hoc/with-tambo-interactable\";\nexport { useTamboThreadList } from \"./hooks/use-tambo-threads\";\nexport {\n type ComponentContextToolMetadata,\n type ComponentRegistry,\n type ParameterSpec,\n type RegisteredComponent,\n /*\n * NOTE(lachieh): TamboToolBase is used as a wrapper around current TamboTool\n * and the deprecated TamboToolWithToolSchema to allow both to be used while\n * supporting the migration to a single TamboTool type.\n * TamboToolWithToolSchema should be removed in a future release.\n */\n type TamboToolBase as TamboTool,\n type ToolAnnotations,\n} from \"./model/component-metadata\";\nexport {\n GenerationStage,\n type InteractableMetadata,\n type TamboThreadMessage,\n} from \"./model/generate-component-response\";\nexport type {\n TamboInteractableComponent as InteractableComponent,\n TamboInteractableContext,\n} from \"./model/tambo-interactable\";\nexport { type TamboThread } from \"./model/tambo-thread\";\nexport {\n useCurrentInteractablesSnapshot,\n useTamboInteractable,\n} from \"./providers/tambo-interactable-provider\";\nexport { type InitialTamboThreadMessage } from \"./providers/tambo-thread-provider\";\nexport { defineTool } from \"./util/registry\";\n\n// Context helpers exports\nexport {\n currentPageContextHelper,\n currentTimeContextHelper,\n} from \"./context-helpers\";\nexport type {\n AdditionalContext,\n ContextHelperFn,\n ContextHelpers,\n} from \"./context-helpers\";\n\n// MCP server metadata types (used by TamboProvider / registry / MCP provider)\nexport { MCPTransport } from \"./model/mcp-server-info\";\nexport type {\n McpServerInfo,\n NormalizedMcpServerInfo,\n} from \"./model/mcp-server-info\";\n\n// Resource types for registry resource registration\nexport type {\n ListResourceItem,\n ReadResourceResult,\n ResourceSource,\n} from \"./model/resource-info\";\n\n// Note: Full MCP exports like TamboMcpProvider are available separately in the\n// @tambo-ai/react/mcp package\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wKAAwK;AAExK,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,GAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAoB,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,oBAAoB,GAGrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,gCAAgC;AAChC,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,uBAAuB,EACvB,QAAQ,EACR,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,mBAAmB,GAapB,MAAM,aAAa,CAAC;AAcrB,OAAO,EACL,qBAAqB,IAAI,gBAAgB,GAG1C,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAS/D,OAAO,EACL,eAAe,GAGhB,MAAM,qCAAqC,CAAC;AAM7C,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,0BAA0B;AAC1B,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAO3B,8EAA8E;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAavD,+EAA+E;AAC/E,8BAA8B","sourcesContent":["/** Exports for the library. Only publically available exports are re-exported here. Anything not exported here is not supported and may change or break at any time. */\n\nexport { useTamboComponentState } from \"./hooks/use-component-state\";\nexport {\n TamboMessageProvider,\n useTamboCurrentComponent,\n useTamboCurrentMessage,\n type TamboCurrentComponent,\n} from \"./hooks/use-current-message\";\nexport { useMessageImages, type StagedImage } from \"./hooks/use-message-images\";\nexport { useTamboStreamingProps } from \"./hooks/use-streaming-props\";\nexport * from \"./hooks/use-suggestions\";\nexport {\n useTamboStreamStatus,\n type PropStatus,\n type StreamStatus,\n} from \"./hooks/use-tambo-stream-status\";\nexport { useTamboVoice } from \"./hooks/use-tambo-voice\";\n\n// Re-export provider components\nexport {\n TamboClientProvider,\n TamboComponentProvider,\n TamboContextAttachmentProvider,\n TamboContextHelpersProvider,\n TamboPropStreamProvider,\n TamboProvider,\n TamboRegistryProvider,\n TamboStubProvider,\n TamboThreadInputProvider,\n TamboThreadProvider,\n useIsTamboTokenUpdating,\n useTambo,\n useTamboClient,\n useTamboContextAttachment,\n useTamboContextHelpers,\n useTamboGenerationStage,\n useTamboMcpServerInfos,\n useTamboStream,\n useTamboThread,\n useTamboThreadInput,\n type ContextAttachment,\n type ContextAttachmentState,\n type RegisterToolFn,\n type RegisterToolsFn,\n type TamboComponent,\n type TamboContextAttachmentProviderProps,\n type TamboContextHelpersContextProps,\n type TamboContextHelpersProviderProps,\n type TamboRegistryContext,\n type TamboStubProviderProps,\n type TamboThreadInputContextProps,\n type TamboThreadProviderProps,\n} from \"./providers\";\n\n// Re-export types from Tambo Node SDK\nexport type {\n APIError,\n RateLimitError,\n TamboAIError,\n} from \"@tambo-ai/typescript-sdk\";\nexport type {\n Suggestion,\n SuggestionGenerateParams,\n SuggestionGenerateResponse,\n SuggestionListResponse,\n} from \"@tambo-ai/typescript-sdk/resources/beta/threads/suggestions\";\nexport {\n withTamboInteractable as withInteractable,\n type InteractableConfig,\n type WithTamboInteractableProps,\n} from \"./hoc/with-tambo-interactable\";\nexport { useTamboThreadList } from \"./hooks/use-tambo-threads\";\nexport {\n type ComponentContextToolMetadata,\n type ComponentRegistry,\n type ParameterSpec,\n type RegisteredComponent,\n type TamboTool,\n type ToolAnnotations,\n} from \"./model/component-metadata\";\nexport {\n GenerationStage,\n type InteractableMetadata,\n type TamboThreadMessage,\n} from \"./model/generate-component-response\";\nexport type {\n TamboInteractableComponent as InteractableComponent,\n TamboInteractableContext,\n} from \"./model/tambo-interactable\";\nexport { type TamboThread } from \"./model/tambo-thread\";\nexport {\n useCurrentInteractablesSnapshot,\n useTamboInteractable,\n} from \"./providers/tambo-interactable-provider\";\nexport { type InitialTamboThreadMessage } from \"./providers/tambo-thread-provider\";\nexport { defineTool } from \"./util/registry\";\n\n// Context helpers exports\nexport {\n currentPageContextHelper,\n currentTimeContextHelper,\n} from \"./context-helpers\";\nexport type {\n AdditionalContext,\n ContextHelperFn,\n ContextHelpers,\n} from \"./context-helpers\";\n\n// MCP server metadata types (used by TamboProvider / registry / MCP provider)\nexport { MCPTransport } from \"./model/mcp-server-info\";\nexport type {\n McpServerInfo,\n NormalizedMcpServerInfo,\n} from \"./model/mcp-server-info\";\n\n// Resource types for registry resource registration\nexport type {\n ListResourceItem,\n ReadResourceResult,\n ResourceSource,\n} from \"./model/resource-info\";\n\n// Note: Full MCP exports like TamboMcpProvider are available separately in the\n// @tambo-ai/react/mcp package\n"]}
@@ -1,11 +1,10 @@
1
1
  /**
2
2
  * Entry point for MCP (Model Context Protocol) support in the React SDK.
3
3
  *
4
- * Note: Importing from `@tambo-ai/react/mcp` requires installing the optional
5
- * peer dependencies `@modelcontextprotocol/sdk`, `zod`, and `zod-to-json-schema`
6
- * in your application. They are marked as optional so apps that do not use MCP
7
- * do not need to include them. See the React SDK README for the recommended
8
- * version ranges.
4
+ * Note: The `@modelcontextprotocol/sdk` is included automatically with `@tambo-ai/react`.
5
+ * If you use features that require schema validation (like component props schemas),
6
+ * you'll need to install `zod` and `zod-to-json-schema` as optional peer dependencies.
7
+ * See the React SDK README for the recommended version ranges.
9
8
  */
10
9
  export { MCPTransport } from "./mcp-client";
11
10
  export type { MCPElicitationHandler, MCPHandlers, MCPSamplingHandler, } from "./mcp-client";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,YAAY,EACV,qBAAqB,EACrB,WAAW,EACX,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,YAAY,EACV,aAAa,EACb,uBAAuB,GACxB,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,YAAY,EACV,qBAAqB,EACrB,WAAW,EACX,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,YAAY,EACV,aAAa,EACb,uBAAuB,GACxB,MAAM,0BAA0B,CAAC"}
package/esm/mcp/index.js CHANGED
@@ -1,11 +1,10 @@
1
1
  /**
2
2
  * Entry point for MCP (Model Context Protocol) support in the React SDK.
3
3
  *
4
- * Note: Importing from `@tambo-ai/react/mcp` requires installing the optional
5
- * peer dependencies `@modelcontextprotocol/sdk`, `zod`, and `zod-to-json-schema`
6
- * in your application. They are marked as optional so apps that do not use MCP
7
- * do not need to include them. See the React SDK README for the recommended
8
- * version ranges.
4
+ * Note: The `@modelcontextprotocol/sdk` is included automatically with `@tambo-ai/react`.
5
+ * If you use features that require schema validation (like component props schemas),
6
+ * you'll need to install `zod` and `zod-to-json-schema` as optional peer dependencies.
7
+ * See the React SDK README for the recommended version ranges.
9
8
  */
10
9
  export { MCPTransport } from "./mcp-client";
11
10
  export { useTamboMcpPrompt, useTamboMcpPromptList, useTamboMcpResource, useTamboMcpResourceList, isMcpResourceEntry, } from "./mcp-hooks";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAY5C,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAOrB,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,GAK3B,MAAM,sBAAsB,CAAC","sourcesContent":["/**\n * Entry point for MCP (Model Context Protocol) support in the React SDK.\n *\n * Note: Importing from `@tambo-ai/react/mcp` requires installing the optional\n * peer dependencies `@modelcontextprotocol/sdk`, `zod`, and `zod-to-json-schema`\n * in your application. They are marked as optional so apps that do not use MCP\n * do not need to include them. See the React SDK README for the recommended\n * version ranges.\n */\nexport { MCPTransport } from \"./mcp-client\";\nexport type {\n MCPElicitationHandler,\n MCPHandlers,\n MCPSamplingHandler,\n} from \"./mcp-client\";\nexport type {\n ElicitationRequestedSchema,\n PrimitiveSchemaDefinition,\n TamboElicitationRequest,\n TamboElicitationResponse,\n} from \"./elicitation\";\nexport {\n useTamboMcpPrompt,\n useTamboMcpPromptList,\n useTamboMcpResource,\n useTamboMcpResourceList,\n isMcpResourceEntry,\n} from \"./mcp-hooks\";\nexport type {\n ListPromptEntry,\n ListPromptItem,\n ListResourceEntry,\n ListResourceItem,\n} from \"./mcp-hooks\";\nexport {\n TamboMcpProvider,\n useTamboMcpElicitation,\n useTamboMcpServers,\n useTamboElicitationContext,\n type ConnectedMcpServer,\n type FailedMcpServer,\n type McpServer,\n type ProviderMCPHandlers,\n} from \"./tambo-mcp-provider\";\n\n// Public MCP server metadata types\nexport type {\n McpServerInfo,\n NormalizedMcpServerInfo,\n} from \"../model/mcp-server-info\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAY5C,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAOrB,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,GAK3B,MAAM,sBAAsB,CAAC","sourcesContent":["/**\n * Entry point for MCP (Model Context Protocol) support in the React SDK.\n *\n * Note: The `@modelcontextprotocol/sdk` is included automatically with `@tambo-ai/react`.\n * If you use features that require schema validation (like component props schemas),\n * you'll need to install `zod` and `zod-to-json-schema` as optional peer dependencies.\n * See the React SDK README for the recommended version ranges.\n */\nexport { MCPTransport } from \"./mcp-client\";\nexport type {\n MCPElicitationHandler,\n MCPHandlers,\n MCPSamplingHandler,\n} from \"./mcp-client\";\nexport type {\n ElicitationRequestedSchema,\n PrimitiveSchemaDefinition,\n TamboElicitationRequest,\n TamboElicitationResponse,\n} from \"./elicitation\";\nexport {\n useTamboMcpPrompt,\n useTamboMcpPromptList,\n useTamboMcpResource,\n useTamboMcpResourceList,\n isMcpResourceEntry,\n} from \"./mcp-hooks\";\nexport type {\n ListPromptEntry,\n ListPromptItem,\n ListResourceEntry,\n ListResourceItem,\n} from \"./mcp-hooks\";\nexport {\n TamboMcpProvider,\n useTamboMcpElicitation,\n useTamboMcpServers,\n useTamboElicitationContext,\n type ConnectedMcpServer,\n type FailedMcpServer,\n type McpServer,\n type ProviderMCPHandlers,\n} from \"./tambo-mcp-provider\";\n\n// Public MCP server metadata types\nexport type {\n McpServerInfo,\n NormalizedMcpServerInfo,\n} from \"../model/mcp-server-info\";\n"]}
@@ -3,8 +3,6 @@ import type { StandardSchemaV1 } from "@standard-schema/spec";
3
3
  import TamboAI from "@tambo-ai/typescript-sdk";
4
4
  import { JSONSchema7 } from "json-schema";
5
5
  import { ComponentType } from "react";
6
- import { ZodFunction as Zod3Function, ZodTuple as Zod3FunctionArgs, ZodType as Zod3FunctionReturns, infer as Zod3Infer } from "zod/v3";
7
- import { $ZodFunction as Zod4Function, $ZodFunctionArgs as Zod4FunctionArgs, $ZodType as Zod4FunctionReturns, infer as Zod4Infer } from "zod/v4/core";
8
6
  /**
9
7
  * A schema type that accepts either a Standard Schema compliant validator
10
8
  * (e.g., Zod, Valibot, ArkType) or a raw JSON Schema object.
@@ -14,7 +12,7 @@ import { $ZodFunction as Zod4Function, $ZodFunctionArgs as Zod4FunctionArgs, $Zo
14
12
  * allowing us to accept any compliant validator without depending on a specific library.
15
13
  * @see https://standardschema.dev/
16
14
  */
17
- export type SupportedSchema<Shape = unknown> = StandardSchemaV1<Shape, Shape> | JSONSchema7;
15
+ export type SupportedSchema<Input = unknown, Output = Input> = StandardSchemaV1<Input, Output> | JSONSchema7;
18
16
  /**
19
17
  * Annotations describing a tool's behavior, aligned with the MCP (Model Context Protocol)
20
18
  * specification. These hints help clients understand how tools behave and can be used
@@ -61,7 +59,7 @@ export interface RegisteredComponent extends TamboAI.AvailableComponent {
61
59
  loadingComponent?: ComponentType<any>;
62
60
  }
63
61
  export type ComponentRegistry = Record<string, RegisteredComponent>;
64
- export type TamboToolRegistry = Record<string, TamboTool | TamboToolWithToolSchema>;
62
+ export type TamboToolRegistry = Record<string, TamboTool>;
65
63
  /**
66
64
  * A JSON Schema that is compatible with the MCP.
67
65
  * This is a simplified JSON Schema that is compatible with the MCPClient and the tool's inputSchema.
@@ -96,26 +94,6 @@ type MaybeAsync<T> = T | Promise<T>;
96
94
  * }),
97
95
  * });
98
96
  * ```
99
- * Alternatively, you manually construct a TamboTool with type safety by passing
100
- * the expected parameter and return types as generics:
101
- * ```ts
102
- * import { TamboTool } from "@tambo-ai/react";
103
- * import { z } from "zod";
104
- *
105
- * const locationToLatLon: TamboTool<{ location: string }, { lat: number; lon: number }> = {
106
- * name: "location_to_latlon",
107
- * description:
108
- * "Fetch latitude and longitude from a location string. Returns an object with 'lat' and 'lon' properties.",
109
- * tool: async ({ location }) => getLatLonFromLocation(location),
110
- * inputSchema: z.object({
111
- * location: z.string(),
112
- * }),
113
- * outputSchema: z.object({
114
- * lat: z.number(),
115
- * lon: z.number(),
116
- * }),
117
- * });
118
- * ```
119
97
  */
120
98
  export interface TamboTool<Params = any, Returns = any, Rest extends any[] = []> {
121
99
  /**
@@ -168,21 +146,21 @@ export interface TamboTool<Params = any, Returns = any, Rest extends any[] = []>
168
146
  tool: (params: Params, ...rest: Rest) => MaybeAsync<Returns>;
169
147
  /**
170
148
  * The schema for the tool's input parameters. This can be a validator from
171
- * any Standard Schema compliant library (Zod, Valibot, ArkType, etc.) or a
149
+ * any Standard Schema compliant library (Zod 3.24+, Zod 4.x) or a
172
150
  * raw JSON Schema object.
173
151
  *
174
152
  * This schema is used to validate and parse the parameters before passing
175
153
  * them to the tool function.
176
154
  */
177
- inputSchema: SupportedSchema | unknown;
155
+ inputSchema: SupportedSchema<Params>;
178
156
  /**
179
157
  * The schema for the tool's output/return value. This can be any Standard Schema
180
- * compliant validator (Zod, Valibot, ArkType, etc.) or a raw JSON Schema object.
158
+ * compliant validator (Zod 3.24+, Zod 4.x) or a raw JSON Schema object.
181
159
  *
182
160
  * This is used to inform the model about the structure of the tool's return value
183
161
  * and is not used for runtime validation at this stage.
184
162
  */
185
- outputSchema: SupportedSchema | unknown;
163
+ outputSchema: SupportedSchema<Returns>;
186
164
  /**
187
165
  * Optional function to transform the tool's return value into an array of content parts.
188
166
  * If not provided, the return value will be converted to a string and wrapped in a text content part.
@@ -191,63 +169,6 @@ export interface TamboTool<Params = any, Returns = any, Rest extends any[] = []>
191
169
  */
192
170
  transformToContent?: (result: any) => Promise<TamboAI.Beta.Threads.ChatCompletionContentPart[]> | TamboAI.Beta.Threads.ChatCompletionContentPart[];
193
171
  }
194
- /**
195
- * Simplified interface for tools using the deprecated toolSchema format.
196
- * This interface uses simple `any` types to avoid complex type instantiation.
197
- * Use `defineTamboTool()` for full type inference when creating tools.
198
- * @deprecated Use TamboTool with `inputSchema`/`outputSchema` instead.
199
- */
200
- export type TamboToolWithToolSchema<Args extends any[] = any[], Returns = any> = Omit<TamboTool, "tool" | "inputSchema" | "outputSchema"> & {
201
- tool: (...args: Args) => MaybeAsync<Returns>;
202
- /** @deprecated Use `inputSchema`/`outputSchema` properties instead. */
203
- toolSchema: unknown;
204
- };
205
- /**
206
- * TamboTool is a type that represents a tool that can be registered with Tambo.
207
- *
208
- * It is preferable to use the `defineTool` helper function to create tools, as
209
- * it provides better type inference and safety.
210
- * @example
211
- * ```ts
212
- * import { TamboTool, defineTool } from "@tambo-ai/react";
213
- * import { z } from "zod";
214
- *
215
- * const locationToLatLon = defineTool({
216
- * name: "location_to_latlon",
217
- * description:
218
- * "Fetch latitude and longitude from a location string. Returns an object with 'lat' and 'lon' properties.",
219
- * tool: async ({ location }) => getLatLonFromLocation(location),
220
- * inputSchema: z.object({
221
- * location: z.string(),
222
- * }),
223
- * outputSchema: z.object({
224
- * lat: z.number(),
225
- * lon: z.number(),
226
- * }),
227
- * });
228
- * ```
229
- * Alternatively, you manually construct a TamboTool with type safety by passing
230
- * the expected parameter and return types as generics:
231
- * ```ts
232
- * import { TamboTool } from "@tambo-ai/react";
233
- * import { z } from "zod";
234
- *
235
- * const locationToLatLon: TamboTool<{ location: string }, { lat: number; lon: number }> = {
236
- * name: "location_to_latlon",
237
- * description:
238
- * "Fetch latitude and longitude from a location string. Returns an object with 'lat' and 'lon' properties.",
239
- * tool: async ({ location }) => getLatLonFromLocation(location),
240
- * inputSchema: z.object({
241
- * location: z.string(),
242
- * }),
243
- * outputSchema: z.object({
244
- * lat: z.number(),
245
- * lon: z.number(),
246
- * }),
247
- * });
248
- * ```
249
- */
250
- export type TamboToolBase<Params = any, Returns = any> = TamboToolWithToolSchema | TamboTool<Params, Returns>;
251
172
  /**
252
173
  * A tool that uses JSON Schema compliant input and output schemas.
253
174
  * This does not provide type safety for the tool's parameters and return value.
@@ -265,8 +186,8 @@ export type TamboToolJSONSchema<Args extends unknown[] = unknown[], Returns = un
265
186
  */
266
187
  export type TamboToolUnknown = Omit<TamboTool, "tool" | "inputSchema" | "outputSchema"> & {
267
188
  tool: (...args: unknown[]) => MaybeAsync<unknown>;
268
- inputSchema: unknown;
269
- outputSchema: unknown;
189
+ inputSchema: SupportedSchema;
190
+ outputSchema: SupportedSchema;
270
191
  };
271
192
  /**
272
193
  * A tool that uses Standard Schema compliant input and output schemas.
@@ -278,15 +199,24 @@ export type TamboToolStandardSchema<Input extends StandardSchemaV1 = StandardSch
278
199
  inputSchema: Input;
279
200
  outputSchema: Output;
280
201
  };
281
- type TamboToolZod3Function<Args extends Zod3FunctionArgs, Returns extends Zod3FunctionReturns> = Omit<TamboToolWithToolSchema<Zod3Infer<Args>, Zod3Infer<Returns>>, "toolSchema"> & {
282
- tool: (...args: Zod3Infer<Args>) => MaybeAsync<Zod3Infer<Returns>>;
283
- /** @deprecated Use `inputSchema`/`outputSchema` properties instead. */
284
- toolSchema: Zod3Function<Args, Returns>;
285
- };
286
- type TamboToolZod4Function<Args extends Zod4FunctionArgs, Returns extends Zod4FunctionReturns> = Omit<TamboToolWithToolSchema<Zod4Infer<Args>, Zod4Infer<Returns>>, "toolSchema"> & {
287
- tool: (...args: Zod4Infer<Args>) => MaybeAsync<Zod4Infer<Returns>>;
288
- /** @deprecated Use `inputSchema`/`outputSchema` properties instead. */
289
- toolSchema: Zod4Function<Args, Returns>;
202
+ /**
203
+ * If you're seeing this type, it means that you are using a deprecated and now
204
+ * unsupported schema type for defining Tambo tools.
205
+ *
206
+ * Follow the migration guide to update your tool definitions to use
207
+ * inputSchema and outputSchema with either Standard Schema compliant validators
208
+ * (like Zod 3.25.76, Zod 4.x) or raw JSON Schema objects.
209
+ * @deprecated replace `toolSchema` with `inputSchema` and `outputSchema` instead.
210
+ * @see {@link https://docs.tambo.ai/api-reference/migration/toolschema}
211
+ */
212
+ export type UnsupportedSchemaTamboTool = Omit<TamboTool, "tool" | "inputSchema" | "outputSchema"> & {
213
+ /**
214
+ * @deprecated replace `toolSchema` with `inputSchema` and `outputSchema` instead.
215
+ */
216
+ toolSchema: any;
217
+ tool: (...args: any[]) => MaybeAsync<any>;
218
+ inputSchema?: never;
219
+ outputSchema?: never;
290
220
  };
291
221
  export type TamboToolAssociations = Record<string, string[]>;
292
222
  /**
@@ -348,17 +278,44 @@ export interface TamboComponent {
348
278
  /** The loading component to render while the component is loading */
349
279
  loadingComponent?: ComponentType<any>;
350
280
  /** The tools that are associated with the component */
351
- associatedTools?: (TamboTool | TamboToolWithToolSchema)[];
281
+ associatedTools?: TamboTool[];
352
282
  /** Annotations describing the component's behavior. */
353
283
  annotations?: ToolAnnotations;
354
284
  }
285
+ type OptionalSchemaProps<T> = Omit<T, "inputSchema" | "outputSchema"> & {
286
+ inputSchema?: T extends {
287
+ inputSchema: infer I;
288
+ } ? I : never;
289
+ outputSchema?: T extends {
290
+ outputSchema: infer O;
291
+ } ? O : never;
292
+ };
293
+ /**
294
+ * Registers one or more Tambo tools.
295
+ * @param tools - An array of Tambo tools to register
296
+ * @param warnOnOverwrite - Whether to warn if any tool is being overwritten
297
+ */
355
298
  export interface RegisterToolsFn {
356
299
  /**
357
- * Registers one or more Tambo tools.
300
+ * @deprecated Follow the {@link https://docs.tambo.ai/api-reference/migration/toolschema | Migration Guide} to update
301
+ * your tool definitions to use `inputSchema` and `outputSchema` instead.
302
+ */
303
+ (tools: UnsupportedSchemaTamboTool[], warnOnOverwrite?: boolean): void;
304
+ /**
305
+ * Register one or more Tambo tools. For better type inference, consider registering tools individually using the
306
+ * `registerTool` function or use the `defineTool` helper when defining your tools.
307
+ * @example
308
+ * ```typescript
309
+ * import { defineTool } from "@tambo-ai/react";
310
+ * const tools = [
311
+ * defineTool({...});
312
+ * defineTool({...});
313
+ * ];
314
+ * registerTools(tools);
358
315
  * @param tools - An array of Tambo tools to register
316
+ * @param warnOnOverwrite - Whether to warn if any tool is being overwritten
359
317
  */
360
- (tools: TamboTool[]): void;
361
- (tools: (TamboTool | TamboToolWithToolSchema)[]): void;
318
+ (tools: TamboTool[], warnOnOverwrite?: boolean): void;
362
319
  }
363
320
  /**
364
321
  * Function interface for registering a Tambo tool with full type inference.
@@ -366,192 +323,82 @@ export interface RegisterToolsFn {
366
323
  * is a utility function and does not perform any runtime logic.
367
324
  */
368
325
  export interface RegisterToolFn {
369
- /**
370
- * @deprecated Use `inputSchema`/`outputSchema` instead. toolSchema is deprecated
371
- * and will be removed in future versions.
372
- * @example
373
- * ```diff
374
- * import { z } from "zod/v3";
375
- * const myTool = defineTamboTool({
376
- * ...
377
- * - toolSchema: z.function()
378
- * - .arguments(z.tuple([z.string()]))
379
- * - .returns(z.number()),
380
- * + inputSchema: z.object({
381
- * + input: z.string().describe("Input description")
382
- * + }),
383
- * + outputSchema: z.number().describe("Result description"),
384
- * });
385
- */
386
- <Args extends Zod3FunctionArgs, Returns extends Zod3FunctionReturns>(tool: TamboToolZod3Function<Args, Returns>, warnOnOverwrite?: boolean): void;
387
- /**
388
- * @deprecated Use `inputSchema`/`outputSchema` instead. toolSchema is deprecated
389
- * and will be removed in future versions.
390
- * @example
391
- * ```diff
392
- * import { z } from "zod/v4";
393
- * const myTool = defineTamboTool({
394
- * ...
395
- * - toolSchema: z.function({
396
- * - input: z.tuple([z.string()]),
397
- * - output: z.number(),
398
- * - }),
399
- * + inputSchema: z.object({
400
- * + input: z.string().describe("Input description")
401
- * + }),
402
- * + outputSchema: z.number().describe("Result description"),
403
- * });
404
- */
405
- <Args extends Zod4FunctionArgs, Returns extends Zod4FunctionReturns>(tool: TamboToolZod4Function<Args, Returns>, warnOnOverwrite?: boolean): void;
406
- (tool: TamboToolWithToolSchema, warnOnOverwrite?: boolean): void;
407
326
  <Args extends StandardSchemaV1, Returns extends StandardSchemaV1>(tool: TamboToolStandardSchema<Args, Returns>, warnOnOverwrite?: boolean): void;
408
327
  <Args extends any[], Returns = any>(tool: TamboToolJSONSchema<Args, Returns>, warnOnOverwrite?: boolean): void;
409
328
  (tool: TamboToolUnknown, warnOnOverwrite?: boolean): void;
410
329
  (tool: TamboTool, warnOnOverwrite?: boolean): void;
330
+ /**
331
+ * @deprecated Follow the {@link https://docs.tambo.ai/api-reference/migration/toolschema | Migration Guide} to update
332
+ * your tool definitions to use `inputSchema` and `outputSchema` instead.
333
+ * @param tool - The unsupported schema Tambo tool to register
334
+ * @param warnOnOverwrite - Whether to warn if the tool is being overwritten
335
+ */
336
+ (tool: UnsupportedSchemaTamboTool, warnOnOverwrite?: boolean): void;
411
337
  }
412
338
  /**
413
- * Function interface for defining a Tambo tool with full type inference. This
414
- * function has multiple overloads to handle different schema types. This is a
415
- * utility function and does not perform any runtime logic.
339
+ * Function interface for defining a Tambo tool with full type inference. This function has multiple overloads to handle
340
+ * different schema types. This is a utility function and does not perform any runtime logic.
416
341
  */
417
342
  export interface DefineToolFn {
343
+ /**
344
+ * @deprecated Follow the {@link https://docs.tambo.ai/api-reference/migration/toolschema | Migration Guide} to update
345
+ * your tool definitions to use `inputSchema` and `outputSchema` instead.
346
+ * @param tool The tool definition to register
347
+ * @returns The registered tool definition
348
+ */
349
+ (tool: UnsupportedSchemaTamboTool): typeof tool;
418
350
  /**
419
351
  * Provides type safety for defining a Tambo Tool.
420
352
  *
421
353
  * Tambo uses the [standard-schema.dev](https://standard-schema.dev) spec which means you can use any Standard Schema
422
- * compliant validator (Zod, Valibot, ArkType, etc.). This definition ensures the input and output types are correctly
354
+ * compliant validator (Zod 3.24+, Zod 4.x). This definition ensures the input and output types are correctly
423
355
  * inferred from the provided schemas.
424
356
  * @example
425
357
  * ```typescript
426
358
  * import { z } from "zod/v4";
427
359
  *
428
- * const myTool = defineTamboTool({
429
- * // ...
360
+ * const myTool = defineTool({
361
+ * name: "myTool",
362
+ * description: "An example tool",
430
363
  * inputSchema: z.object({
431
364
  * input: z.string().describe("Input description")
432
365
  * }),
433
366
  * outputSchema: z.number().describe("Result description"),
367
+ * tool: ({ input }) => input.length,
434
368
  * });
435
369
  * ```
436
370
  * @see {@link https://standard-schema.dev/}
437
371
  * @param tool The tool definition to register
438
372
  * @returns The registered tool definition
439
373
  */
440
- <Input extends StandardSchemaV1, Output extends StandardSchemaV1>(tool: TamboToolStandardSchema<Input, Output>): TamboToolStandardSchema<Input, Output>;
374
+ <Input extends StandardSchemaV1, Output extends StandardSchemaV1>(tool: OptionalSchemaProps<TamboToolStandardSchema<Input, Output>>): TamboToolStandardSchema<Input, Output>;
441
375
  /**
442
- * Provides type safety for defining a Tambo Tool.
443
- *
444
- * This tool uses the deprecated `toolSchema` format which uses a zod function schema. If you are using a validation
445
- * library that implements StandardSchema.dev, please switch to using separate `inputSchema` and `outputSchema`
446
- * properties instead. See example below.
447
- * @example
448
- * ```diff
449
- * import { z } from "zod/v4";
376
+ * Provides type safety for defining a Tambo Tool with JSON Schema input and output.
450
377
  *
451
- * const myTool = defineTamboTool({
452
- * // ...
453
- * - toolSchema: z.function({
454
- * - input: z.tuple([z.string()]),
455
- * - output: z.number(),
456
- * - })
457
- * + inputSchema: z.object({
458
- * + input: z.string().describe("Input description")
459
- * + }),
460
- * + outputSchema: z.number().describe("Result description"),
461
- * });
378
+ * This overload is used when providing raw JSON Schema objects instead of StandardSchema validators.
379
+ * Type inference is limited when using raw JSON Schema.
462
380
  * @see {@link https://standard-schema.dev/}
463
381
  * @param tool The tool definition to register
464
382
  * @returns The registered tool definition
465
- * @deprecated Using `toolSchema` is deprecated. Please use separate `inputSchema` and `outputSchema` properties instead.
466
- * Note that use of `toolSchema` will be removed in a future release.
467
- * ```
468
383
  */
469
- <Args extends Zod3FunctionArgs, Returns extends Zod3FunctionReturns>(tool: TamboToolZod3Function<Args, Returns>): TamboToolZod3Function<Args, Returns>;
384
+ <I extends any[], O = any>(tool: OptionalSchemaProps<TamboToolJSONSchema<I, O>>): TamboToolJSONSchema<I, O>;
470
385
  /**
471
386
  * Provides type safety for defining a Tambo Tool.
472
387
  *
473
- * This tool uses the deprecated `toolSchema` format which uses a zod function schema. If you are using a validation
474
- * library that implements standard-schema.dev, please switch to using separate `inputSchema` and `outputSchema`
475
- * properties instead. See example below.
388
+ * This overload is used when the schema types could not be matched to known types.
389
+ * Type safety cannot be guaranteed.
476
390
  * @param tool The tool definition to register
477
391
  * @returns The registered tool definition
478
- * @deprecated Using `toolSchema` is deprecated. Please use separate `inputSchema` and `outputSchema` properties instead.
479
- * Note that use of `toolSchema` will be removed in a future release.
480
- * @example
481
- * ```diff
482
- * import { z } from "zod/v4";
483
- *
484
- * const myTool = defineTamboTool({
485
- * // ...
486
- * - toolSchema: z.function({
487
- * - input: z.tuple([z.string()]),
488
- * - output: z.number(),
489
- * - })
490
- * + inputSchema: z.object({
491
- * + input: z.string().describe("Input description")
492
- * + }),
493
- * + outputSchema: z.number().describe("Result description"),
494
- * });
495
- * ```
496
392
  */
497
- <Args extends Zod4FunctionArgs, Returns extends Zod4FunctionReturns>(tool: TamboToolZod4Function<Args, Returns>): TamboToolZod4Function<Args, Returns>;
393
+ (tool: OptionalSchemaProps<TamboToolUnknown>): TamboToolUnknown;
498
394
  /**
499
395
  * Provides type safety for defining a Tambo Tool.
500
396
  *
501
- * This tool uses the deprecated `toolSchema` property which uses a zod function schema. If you are using a validation
502
- * library that implements standard-schema.dev, please switch to using separate `inputSchema` and `outputSchema`
503
- * properties instead. See example below.
397
+ * This overload is used when providing a fully defined TamboTool.
504
398
  * @param tool The tool definition to register
505
399
  * @returns The registered tool definition
506
- * @deprecated Using `toolSchema` is deprecated. Please use separate `inputSchema` and `outputSchema` properties instead.
507
- * Note that use of `toolSchema` will be removed in a future release.
508
- * @example
509
- * ```diff
510
- * import { z } from "zod/v4";
511
- *
512
- * const myTool = defineTamboTool({
513
- * // ...
514
- * - toolSchema: { ... }
515
- * + inputSchema: z.object({ ... }),
516
- * + outputSchema: z.number(),
517
- * });
518
- * ```
519
- */
520
- (tool: TamboToolWithToolSchema): TamboToolWithToolSchema;
521
- /**
522
- * Provides type safety for defining a Tambo Tool.
523
- *
524
- * This tool definition matched to JSON Schema input and output schemas which allows does not guarantee type
525
- * safety. If you are using a validation library that implements
526
- * [Standard Schema](https://standardschema.dev/#what-tools-frameworks-accept-speccompliant-schemas), please ensure
527
- * your schemas are correctly typed.
528
- * @see {@link https://standard-schema.dev/}
529
- * @param tool The tool definition to register
530
- * @returns The registered tool definition
531
- */
532
- <I extends any[], O = any>(tool: TamboToolJSONSchema<I, O>): TamboToolJSONSchema<I, O>;
533
- /**
534
- * Provides type safety for defining a Tambo Tool.
535
- *
536
- * This tool definition could not be matched to any known schema types which means type safety cannot be
537
- * guaranteed. If you are using a validation library that implements
538
- * [Standard Schema](https://standardschema.dev/#what-tools-frameworks-accept-speccompliant-schemas), please ensure
539
- * your schemas are correctly typed.
540
- * @example
541
- * ```typescript
542
- * const myTool = defineTamboTool({
543
- * name: "myTool",
544
- * description: "An example tool",
545
- * tool: (input) => { ... },
546
- * inputSchema: yourInputSchema,
547
- * outputSchema: yourOutputSchema,
548
- * });
549
- * @param tool The tool definition to register
550
- * @returns The registered tool definition
551
- * ```
552
400
  */
553
- (tool: TamboToolUnknown): TamboToolUnknown;
554
- (tool: TamboTool): TamboTool;
401
+ (tool: OptionalSchemaProps<TamboTool>): TamboTool;
555
402
  }
556
403
  export {};
557
404
  //# sourceMappingURL=component-metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-metadata.d.ts","sourceRoot":"","sources":["../../src/model/component-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,OAAO,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACL,WAAW,IAAI,YAAY,EAC3B,QAAQ,IAAI,gBAAgB,EAC5B,OAAO,IAAI,mBAAmB,EAC9B,KAAK,IAAI,SAAS,EACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,gBAAgB,IAAI,gBAAgB,EACpC,QAAQ,IAAI,mBAAmB,EAC/B,KAAK,IAAI,SAAS,EACnB,MAAM,aAAa,CAAC;AAErB;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,CAAC,KAAK,GAAG,OAAO,IACvC,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,GAC9B,WAAW,CAAC;AAEhB;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG;IACjD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,+FAA+F;AAC/F,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,cAAc,GAAG;IACnD,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,C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