@keystrokehq/pinecone 0.1.4 → 0.1.6

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 (397) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-bulk-import.cjs +1 -0
  4. package/dist/actions/cancel-bulk-import.cjs.map +1 -1
  5. package/dist/actions/cancel-bulk-import.d.cts +3 -4
  6. package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
  7. package/dist/actions/cancel-bulk-import.d.mts +3 -4
  8. package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
  9. package/dist/actions/cancel-bulk-import.mjs +1 -0
  10. package/dist/actions/cancel-bulk-import.mjs.map +1 -1
  11. package/dist/actions/chat-assistant.cjs +1 -0
  12. package/dist/actions/chat-assistant.cjs.map +1 -1
  13. package/dist/actions/chat-assistant.d.cts +3 -21
  14. package/dist/actions/chat-assistant.d.cts.map +1 -1
  15. package/dist/actions/chat-assistant.d.mts +3 -21
  16. package/dist/actions/chat-assistant.d.mts.map +1 -1
  17. package/dist/actions/chat-assistant.mjs +1 -0
  18. package/dist/actions/chat-assistant.mjs.map +1 -1
  19. package/dist/actions/chat-completion-assistant.cjs +1 -0
  20. package/dist/actions/chat-completion-assistant.cjs.map +1 -1
  21. package/dist/actions/chat-completion-assistant.d.cts +3 -13
  22. package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
  23. package/dist/actions/chat-completion-assistant.d.mts +3 -13
  24. package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
  25. package/dist/actions/chat-completion-assistant.mjs +1 -0
  26. package/dist/actions/chat-completion-assistant.mjs.map +1 -1
  27. package/dist/actions/configure-index.cjs +1 -0
  28. package/dist/actions/configure-index.cjs.map +1 -1
  29. package/dist/actions/configure-index.d.cts +3 -17
  30. package/dist/actions/configure-index.d.cts.map +1 -1
  31. package/dist/actions/configure-index.d.mts +3 -17
  32. package/dist/actions/configure-index.d.mts.map +1 -1
  33. package/dist/actions/configure-index.mjs +1 -0
  34. package/dist/actions/configure-index.mjs.map +1 -1
  35. package/dist/actions/create-assistant.cjs +1 -0
  36. package/dist/actions/create-assistant.cjs.map +1 -1
  37. package/dist/actions/create-assistant.d.cts +3 -6
  38. package/dist/actions/create-assistant.d.cts.map +1 -1
  39. package/dist/actions/create-assistant.d.mts +3 -6
  40. package/dist/actions/create-assistant.d.mts.map +1 -1
  41. package/dist/actions/create-assistant.mjs +1 -0
  42. package/dist/actions/create-assistant.mjs.map +1 -1
  43. package/dist/actions/create-backup.cjs +1 -0
  44. package/dist/actions/create-backup.cjs.map +1 -1
  45. package/dist/actions/create-backup.d.cts +3 -5
  46. package/dist/actions/create-backup.d.cts.map +1 -1
  47. package/dist/actions/create-backup.d.mts +3 -5
  48. package/dist/actions/create-backup.d.mts.map +1 -1
  49. package/dist/actions/create-backup.mjs +1 -0
  50. package/dist/actions/create-backup.mjs.map +1 -1
  51. package/dist/actions/create-index-for-model.cjs +1 -0
  52. package/dist/actions/create-index-for-model.cjs.map +1 -1
  53. package/dist/actions/create-index-for-model.d.cts +4 -13
  54. package/dist/actions/create-index-for-model.d.cts.map +1 -1
  55. package/dist/actions/create-index-for-model.d.mts +4 -13
  56. package/dist/actions/create-index-for-model.d.mts.map +1 -1
  57. package/dist/actions/create-index-for-model.mjs +1 -0
  58. package/dist/actions/create-index-for-model.mjs.map +1 -1
  59. package/dist/actions/create-index-from-backup.cjs +1 -0
  60. package/dist/actions/create-index-from-backup.cjs.map +1 -1
  61. package/dist/actions/create-index-from-backup.d.cts +3 -6
  62. package/dist/actions/create-index-from-backup.d.cts.map +1 -1
  63. package/dist/actions/create-index-from-backup.d.mts +3 -6
  64. package/dist/actions/create-index-from-backup.d.mts.map +1 -1
  65. package/dist/actions/create-index-from-backup.mjs +1 -0
  66. package/dist/actions/create-index-from-backup.mjs.map +1 -1
  67. package/dist/actions/create-index.cjs +1 -0
  68. package/dist/actions/create-index.cjs.map +1 -1
  69. package/dist/actions/create-index.d.cts +4 -22
  70. package/dist/actions/create-index.d.cts.map +1 -1
  71. package/dist/actions/create-index.d.mts +4 -22
  72. package/dist/actions/create-index.d.mts.map +1 -1
  73. package/dist/actions/create-index.mjs +1 -0
  74. package/dist/actions/create-index.mjs.map +1 -1
  75. package/dist/actions/create-namespace.cjs +1 -0
  76. package/dist/actions/create-namespace.cjs.map +1 -1
  77. package/dist/actions/create-namespace.d.cts +3 -7
  78. package/dist/actions/create-namespace.d.cts.map +1 -1
  79. package/dist/actions/create-namespace.d.mts +3 -7
  80. package/dist/actions/create-namespace.d.mts.map +1 -1
  81. package/dist/actions/create-namespace.mjs +1 -0
  82. package/dist/actions/create-namespace.mjs.map +1 -1
  83. package/dist/actions/delete-assistant.cjs +1 -0
  84. package/dist/actions/delete-assistant.cjs.map +1 -1
  85. package/dist/actions/delete-assistant.d.cts +3 -3
  86. package/dist/actions/delete-assistant.d.cts.map +1 -1
  87. package/dist/actions/delete-assistant.d.mts +3 -3
  88. package/dist/actions/delete-assistant.d.mts.map +1 -1
  89. package/dist/actions/delete-assistant.mjs +1 -0
  90. package/dist/actions/delete-assistant.mjs.map +1 -1
  91. package/dist/actions/delete-backup.cjs +1 -0
  92. package/dist/actions/delete-backup.cjs.map +1 -1
  93. package/dist/actions/delete-backup.d.cts +3 -3
  94. package/dist/actions/delete-backup.d.cts.map +1 -1
  95. package/dist/actions/delete-backup.d.mts +3 -3
  96. package/dist/actions/delete-backup.d.mts.map +1 -1
  97. package/dist/actions/delete-backup.mjs +1 -0
  98. package/dist/actions/delete-backup.mjs.map +1 -1
  99. package/dist/actions/delete-file.cjs +1 -0
  100. package/dist/actions/delete-file.cjs.map +1 -1
  101. package/dist/actions/delete-file.d.cts +3 -5
  102. package/dist/actions/delete-file.d.cts.map +1 -1
  103. package/dist/actions/delete-file.d.mts +3 -5
  104. package/dist/actions/delete-file.d.mts.map +1 -1
  105. package/dist/actions/delete-file.mjs +1 -0
  106. package/dist/actions/delete-file.mjs.map +1 -1
  107. package/dist/actions/delete-index.cjs +1 -0
  108. package/dist/actions/delete-index.cjs.map +1 -1
  109. package/dist/actions/delete-index.d.cts +3 -3
  110. package/dist/actions/delete-index.d.cts.map +1 -1
  111. package/dist/actions/delete-index.d.mts +3 -3
  112. package/dist/actions/delete-index.d.mts.map +1 -1
  113. package/dist/actions/delete-index.mjs +1 -0
  114. package/dist/actions/delete-index.mjs.map +1 -1
  115. package/dist/actions/delete-namespace.cjs +1 -0
  116. package/dist/actions/delete-namespace.cjs.map +1 -1
  117. package/dist/actions/delete-namespace.d.cts +3 -4
  118. package/dist/actions/delete-namespace.d.cts.map +1 -1
  119. package/dist/actions/delete-namespace.d.mts +3 -4
  120. package/dist/actions/delete-namespace.d.mts.map +1 -1
  121. package/dist/actions/delete-namespace.mjs +1 -0
  122. package/dist/actions/delete-namespace.mjs.map +1 -1
  123. package/dist/actions/delete-vectors.cjs +1 -0
  124. package/dist/actions/delete-vectors.cjs.map +1 -1
  125. package/dist/actions/delete-vectors.d.cts +3 -7
  126. package/dist/actions/delete-vectors.d.cts.map +1 -1
  127. package/dist/actions/delete-vectors.d.mts +3 -7
  128. package/dist/actions/delete-vectors.d.mts.map +1 -1
  129. package/dist/actions/delete-vectors.mjs +1 -0
  130. package/dist/actions/delete-vectors.mjs.map +1 -1
  131. package/dist/actions/describe-backup.cjs +1 -0
  132. package/dist/actions/describe-backup.cjs.map +1 -1
  133. package/dist/actions/describe-backup.d.cts +3 -3
  134. package/dist/actions/describe-backup.d.cts.map +1 -1
  135. package/dist/actions/describe-backup.d.mts +3 -3
  136. package/dist/actions/describe-backup.d.mts.map +1 -1
  137. package/dist/actions/describe-backup.mjs +1 -0
  138. package/dist/actions/describe-backup.mjs.map +1 -1
  139. package/dist/actions/describe-bulk-import.cjs +1 -0
  140. package/dist/actions/describe-bulk-import.cjs.map +1 -1
  141. package/dist/actions/describe-bulk-import.d.cts +3 -4
  142. package/dist/actions/describe-bulk-import.d.cts.map +1 -1
  143. package/dist/actions/describe-bulk-import.d.mts +3 -4
  144. package/dist/actions/describe-bulk-import.d.mts.map +1 -1
  145. package/dist/actions/describe-bulk-import.mjs +1 -0
  146. package/dist/actions/describe-bulk-import.mjs.map +1 -1
  147. package/dist/actions/describe-file.cjs +1 -0
  148. package/dist/actions/describe-file.cjs.map +1 -1
  149. package/dist/actions/describe-file.d.cts +3 -7
  150. package/dist/actions/describe-file.d.cts.map +1 -1
  151. package/dist/actions/describe-file.d.mts +3 -7
  152. package/dist/actions/describe-file.d.mts.map +1 -1
  153. package/dist/actions/describe-file.mjs +1 -0
  154. package/dist/actions/describe-file.mjs.map +1 -1
  155. package/dist/actions/describe-index-stats.cjs +1 -0
  156. package/dist/actions/describe-index-stats.cjs.map +1 -1
  157. package/dist/actions/describe-index-stats.d.cts +3 -4
  158. package/dist/actions/describe-index-stats.d.cts.map +1 -1
  159. package/dist/actions/describe-index-stats.d.mts +3 -4
  160. package/dist/actions/describe-index-stats.d.mts.map +1 -1
  161. package/dist/actions/describe-index-stats.mjs +1 -0
  162. package/dist/actions/describe-index-stats.mjs.map +1 -1
  163. package/dist/actions/describe-index.cjs +1 -0
  164. package/dist/actions/describe-index.cjs.map +1 -1
  165. package/dist/actions/describe-index.d.cts +3 -4
  166. package/dist/actions/describe-index.d.cts.map +1 -1
  167. package/dist/actions/describe-index.d.mts +3 -4
  168. package/dist/actions/describe-index.d.mts.map +1 -1
  169. package/dist/actions/describe-index.mjs +1 -0
  170. package/dist/actions/describe-index.mjs.map +1 -1
  171. package/dist/actions/describe-namespace.cjs +1 -0
  172. package/dist/actions/describe-namespace.cjs.map +1 -1
  173. package/dist/actions/describe-namespace.d.cts +3 -4
  174. package/dist/actions/describe-namespace.d.cts.map +1 -1
  175. package/dist/actions/describe-namespace.d.mts +3 -4
  176. package/dist/actions/describe-namespace.d.mts.map +1 -1
  177. package/dist/actions/describe-namespace.mjs +1 -0
  178. package/dist/actions/describe-namespace.mjs.map +1 -1
  179. package/dist/actions/describe-restore-job.cjs +1 -0
  180. package/dist/actions/describe-restore-job.cjs.map +1 -1
  181. package/dist/actions/describe-restore-job.d.cts +3 -3
  182. package/dist/actions/describe-restore-job.d.cts.map +1 -1
  183. package/dist/actions/describe-restore-job.d.mts +3 -3
  184. package/dist/actions/describe-restore-job.d.mts.map +1 -1
  185. package/dist/actions/describe-restore-job.mjs +1 -0
  186. package/dist/actions/describe-restore-job.mjs.map +1 -1
  187. package/dist/actions/embed.cjs +1 -0
  188. package/dist/actions/embed.cjs.map +1 -1
  189. package/dist/actions/embed.d.cts +3 -11
  190. package/dist/actions/embed.d.cts.map +1 -1
  191. package/dist/actions/embed.d.mts +3 -11
  192. package/dist/actions/embed.d.mts.map +1 -1
  193. package/dist/actions/embed.mjs +1 -0
  194. package/dist/actions/embed.mjs.map +1 -1
  195. package/dist/actions/fetch-vectors.cjs +1 -0
  196. package/dist/actions/fetch-vectors.cjs.map +1 -1
  197. package/dist/actions/fetch-vectors.d.cts +3 -5
  198. package/dist/actions/fetch-vectors.d.cts.map +1 -1
  199. package/dist/actions/fetch-vectors.d.mts +3 -5
  200. package/dist/actions/fetch-vectors.d.mts.map +1 -1
  201. package/dist/actions/fetch-vectors.mjs +1 -0
  202. package/dist/actions/fetch-vectors.mjs.map +1 -1
  203. package/dist/actions/get-assistant.cjs +1 -0
  204. package/dist/actions/get-assistant.cjs.map +1 -1
  205. package/dist/actions/get-assistant.d.cts +3 -4
  206. package/dist/actions/get-assistant.d.cts.map +1 -1
  207. package/dist/actions/get-assistant.d.mts +3 -4
  208. package/dist/actions/get-assistant.d.mts.map +1 -1
  209. package/dist/actions/get-assistant.mjs +1 -0
  210. package/dist/actions/get-assistant.mjs.map +1 -1
  211. package/dist/actions/get-model.cjs +1 -0
  212. package/dist/actions/get-model.cjs.map +1 -1
  213. package/dist/actions/get-model.d.cts +3 -4
  214. package/dist/actions/get-model.d.cts.map +1 -1
  215. package/dist/actions/get-model.d.mts +3 -4
  216. package/dist/actions/get-model.d.mts.map +1 -1
  217. package/dist/actions/get-model.mjs +1 -0
  218. package/dist/actions/get-model.mjs.map +1 -1
  219. package/dist/actions/list-assistants.cjs +1 -0
  220. package/dist/actions/list-assistants.cjs.map +1 -1
  221. package/dist/actions/list-assistants.d.cts +3 -4
  222. package/dist/actions/list-assistants.d.cts.map +1 -1
  223. package/dist/actions/list-assistants.d.mts +3 -4
  224. package/dist/actions/list-assistants.d.mts.map +1 -1
  225. package/dist/actions/list-assistants.mjs +1 -0
  226. package/dist/actions/list-assistants.mjs.map +1 -1
  227. package/dist/actions/list-bulk-imports.cjs +1 -0
  228. package/dist/actions/list-bulk-imports.cjs.map +1 -1
  229. package/dist/actions/list-bulk-imports.d.cts +3 -5
  230. package/dist/actions/list-bulk-imports.d.cts.map +1 -1
  231. package/dist/actions/list-bulk-imports.d.mts +3 -5
  232. package/dist/actions/list-bulk-imports.d.mts.map +1 -1
  233. package/dist/actions/list-bulk-imports.mjs +1 -0
  234. package/dist/actions/list-bulk-imports.mjs.map +1 -1
  235. package/dist/actions/list-collections.cjs +1 -0
  236. package/dist/actions/list-collections.cjs.map +1 -1
  237. package/dist/actions/list-collections.d.cts +3 -1
  238. package/dist/actions/list-collections.d.cts.map +1 -1
  239. package/dist/actions/list-collections.d.mts +3 -1
  240. package/dist/actions/list-collections.d.mts.map +1 -1
  241. package/dist/actions/list-collections.mjs +1 -0
  242. package/dist/actions/list-collections.mjs.map +1 -1
  243. package/dist/actions/list-files.cjs +1 -0
  244. package/dist/actions/list-files.cjs.map +1 -1
  245. package/dist/actions/list-files.d.cts +3 -8
  246. package/dist/actions/list-files.d.cts.map +1 -1
  247. package/dist/actions/list-files.d.mts +3 -8
  248. package/dist/actions/list-files.d.mts.map +1 -1
  249. package/dist/actions/list-files.mjs +1 -0
  250. package/dist/actions/list-files.mjs.map +1 -1
  251. package/dist/actions/list-index-backups.cjs +1 -0
  252. package/dist/actions/list-index-backups.cjs.map +1 -1
  253. package/dist/actions/list-index-backups.d.cts +3 -5
  254. package/dist/actions/list-index-backups.d.cts.map +1 -1
  255. package/dist/actions/list-index-backups.d.mts +3 -5
  256. package/dist/actions/list-index-backups.d.mts.map +1 -1
  257. package/dist/actions/list-index-backups.mjs +1 -0
  258. package/dist/actions/list-index-backups.mjs.map +1 -1
  259. package/dist/actions/list-indexes.cjs +1 -0
  260. package/dist/actions/list-indexes.cjs.map +1 -1
  261. package/dist/actions/list-indexes.d.cts +3 -1
  262. package/dist/actions/list-indexes.d.cts.map +1 -1
  263. package/dist/actions/list-indexes.d.mts +3 -1
  264. package/dist/actions/list-indexes.d.mts.map +1 -1
  265. package/dist/actions/list-indexes.mjs +1 -0
  266. package/dist/actions/list-indexes.mjs.map +1 -1
  267. package/dist/actions/list-models.cjs +1 -0
  268. package/dist/actions/list-models.cjs.map +1 -1
  269. package/dist/actions/list-models.d.cts +3 -4
  270. package/dist/actions/list-models.d.cts.map +1 -1
  271. package/dist/actions/list-models.d.mts +3 -4
  272. package/dist/actions/list-models.d.mts.map +1 -1
  273. package/dist/actions/list-models.mjs +1 -0
  274. package/dist/actions/list-models.mjs.map +1 -1
  275. package/dist/actions/list-namespaces-operation.cjs +1 -0
  276. package/dist/actions/list-namespaces-operation.cjs.map +1 -1
  277. package/dist/actions/list-namespaces-operation.d.cts +3 -7
  278. package/dist/actions/list-namespaces-operation.d.cts.map +1 -1
  279. package/dist/actions/list-namespaces-operation.d.mts +3 -7
  280. package/dist/actions/list-namespaces-operation.d.mts.map +1 -1
  281. package/dist/actions/list-namespaces-operation.mjs +1 -0
  282. package/dist/actions/list-namespaces-operation.mjs.map +1 -1
  283. package/dist/actions/list-project-backups.cjs +1 -0
  284. package/dist/actions/list-project-backups.cjs.map +1 -1
  285. package/dist/actions/list-project-backups.d.cts +3 -4
  286. package/dist/actions/list-project-backups.d.cts.map +1 -1
  287. package/dist/actions/list-project-backups.d.mts +3 -4
  288. package/dist/actions/list-project-backups.d.mts.map +1 -1
  289. package/dist/actions/list-project-backups.mjs +1 -0
  290. package/dist/actions/list-project-backups.mjs.map +1 -1
  291. package/dist/actions/list-restore-jobs.cjs +1 -0
  292. package/dist/actions/list-restore-jobs.cjs.map +1 -1
  293. package/dist/actions/list-restore-jobs.d.cts +3 -4
  294. package/dist/actions/list-restore-jobs.d.cts.map +1 -1
  295. package/dist/actions/list-restore-jobs.d.mts +3 -4
  296. package/dist/actions/list-restore-jobs.d.mts.map +1 -1
  297. package/dist/actions/list-restore-jobs.mjs +1 -0
  298. package/dist/actions/list-restore-jobs.mjs.map +1 -1
  299. package/dist/actions/list-vectors.cjs +1 -0
  300. package/dist/actions/list-vectors.cjs.map +1 -1
  301. package/dist/actions/list-vectors.d.cts +3 -7
  302. package/dist/actions/list-vectors.d.cts.map +1 -1
  303. package/dist/actions/list-vectors.d.mts +3 -7
  304. package/dist/actions/list-vectors.d.mts.map +1 -1
  305. package/dist/actions/list-vectors.mjs +1 -0
  306. package/dist/actions/list-vectors.mjs.map +1 -1
  307. package/dist/actions/query-vectors.cjs +1 -0
  308. package/dist/actions/query-vectors.cjs.map +1 -1
  309. package/dist/actions/query-vectors.d.cts +3 -14
  310. package/dist/actions/query-vectors.d.cts.map +1 -1
  311. package/dist/actions/query-vectors.d.mts +3 -14
  312. package/dist/actions/query-vectors.d.mts.map +1 -1
  313. package/dist/actions/query-vectors.mjs +1 -0
  314. package/dist/actions/query-vectors.mjs.map +1 -1
  315. package/dist/actions/rerank.cjs +1 -0
  316. package/dist/actions/rerank.cjs.map +1 -1
  317. package/dist/actions/rerank.d.cts +3 -13
  318. package/dist/actions/rerank.d.cts.map +1 -1
  319. package/dist/actions/rerank.d.mts +3 -13
  320. package/dist/actions/rerank.d.mts.map +1 -1
  321. package/dist/actions/rerank.mjs +1 -0
  322. package/dist/actions/rerank.mjs.map +1 -1
  323. package/dist/actions/retrieve-context-assistant.cjs +1 -0
  324. package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
  325. package/dist/actions/retrieve-context-assistant.d.cts +3 -15
  326. package/dist/actions/retrieve-context-assistant.d.cts.map +1 -1
  327. package/dist/actions/retrieve-context-assistant.d.mts +3 -15
  328. package/dist/actions/retrieve-context-assistant.d.mts.map +1 -1
  329. package/dist/actions/retrieve-context-assistant.mjs +1 -0
  330. package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
  331. package/dist/actions/search-records-namespace.cjs +1 -0
  332. package/dist/actions/search-records-namespace.cjs.map +1 -1
  333. package/dist/actions/search-records-namespace.d.cts +3 -31
  334. package/dist/actions/search-records-namespace.d.cts.map +1 -1
  335. package/dist/actions/search-records-namespace.d.mts +3 -31
  336. package/dist/actions/search-records-namespace.d.mts.map +1 -1
  337. package/dist/actions/search-records-namespace.mjs +1 -0
  338. package/dist/actions/search-records-namespace.mjs.map +1 -1
  339. package/dist/actions/start-bulk-import.cjs +1 -0
  340. package/dist/actions/start-bulk-import.cjs.map +1 -1
  341. package/dist/actions/start-bulk-import.d.cts +3 -8
  342. package/dist/actions/start-bulk-import.d.cts.map +1 -1
  343. package/dist/actions/start-bulk-import.d.mts +3 -8
  344. package/dist/actions/start-bulk-import.d.mts.map +1 -1
  345. package/dist/actions/start-bulk-import.mjs +1 -0
  346. package/dist/actions/start-bulk-import.mjs.map +1 -1
  347. package/dist/actions/update-assistant.cjs +1 -0
  348. package/dist/actions/update-assistant.cjs.map +1 -1
  349. package/dist/actions/update-assistant.d.cts +3 -6
  350. package/dist/actions/update-assistant.d.cts.map +1 -1
  351. package/dist/actions/update-assistant.d.mts +3 -6
  352. package/dist/actions/update-assistant.d.mts.map +1 -1
  353. package/dist/actions/update-assistant.mjs +1 -0
  354. package/dist/actions/update-assistant.mjs.map +1 -1
  355. package/dist/actions/update-vector.cjs +1 -0
  356. package/dist/actions/update-vector.cjs.map +1 -1
  357. package/dist/actions/update-vector.d.cts +3 -13
  358. package/dist/actions/update-vector.d.cts.map +1 -1
  359. package/dist/actions/update-vector.d.mts +3 -13
  360. package/dist/actions/update-vector.d.mts.map +1 -1
  361. package/dist/actions/update-vector.mjs +1 -0
  362. package/dist/actions/update-vector.mjs.map +1 -1
  363. package/dist/actions/upload-file.cjs +1 -0
  364. package/dist/actions/upload-file.cjs.map +1 -1
  365. package/dist/actions/upload-file.d.cts +3 -16
  366. package/dist/actions/upload-file.d.cts.map +1 -1
  367. package/dist/actions/upload-file.d.mts +3 -16
  368. package/dist/actions/upload-file.d.mts.map +1 -1
  369. package/dist/actions/upload-file.mjs +1 -0
  370. package/dist/actions/upload-file.mjs.map +1 -1
  371. package/dist/actions/upsert-records-namespace.cjs +1 -0
  372. package/dist/actions/upsert-records-namespace.cjs.map +1 -1
  373. package/dist/actions/upsert-records-namespace.d.cts +3 -6
  374. package/dist/actions/upsert-records-namespace.d.cts.map +1 -1
  375. package/dist/actions/upsert-records-namespace.d.mts +3 -6
  376. package/dist/actions/upsert-records-namespace.d.mts.map +1 -1
  377. package/dist/actions/upsert-records-namespace.mjs +1 -0
  378. package/dist/actions/upsert-records-namespace.mjs.map +1 -1
  379. package/dist/actions/upsert-vectors.cjs +1 -0
  380. package/dist/actions/upsert-vectors.cjs.map +1 -1
  381. package/dist/actions/upsert-vectors.d.cts +3 -14
  382. package/dist/actions/upsert-vectors.d.cts.map +1 -1
  383. package/dist/actions/upsert-vectors.d.mts +3 -14
  384. package/dist/actions/upsert-vectors.d.mts.map +1 -1
  385. package/dist/actions/upsert-vectors.mjs +1 -0
  386. package/dist/actions/upsert-vectors.mjs.map +1 -1
  387. package/dist/app.cjs +5 -2
  388. package/dist/app.cjs.map +1 -1
  389. package/dist/app.d.cts +7 -1
  390. package/dist/app.d.cts.map +1 -1
  391. package/dist/app.d.mts +7 -1
  392. package/dist/app.d.mts.map +1 -1
  393. package/dist/app.mjs +3 -2
  394. package/dist/app.mjs.map +1 -1
  395. package/dist/index.d.cts +1 -1
  396. package/dist/index.d.mts +1 -1
  397. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-vector.cjs","names":["z","action"],"sources":["../../src/actions/update-vector.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpdateVectorInput = z.object({\n id: z.string().describe(\"Vector's unique identifier. Length: 1-512 characters.\"),\n dryRun: z.boolean().describe(\"If true, return the number of records matching the filter without executing the update. Default: false.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter expression for bulk updates. Example: {\\\"genre\\\": {\\\"$in\\\": [\\\"comedy\\\", \\\"documentary\\\"]}, \\\"year\\\": {\\\"$eq\\\": 2019}}\").optional(),\n values: z.array(z.number()).describe(\"Vector data to update. Length: 1-20,000 elements. If provided, overwrites previous values.\").optional(),\n indexHost: z.string().describe(\"The host URL of the index to update vectors in. Get this from the list_indexes response (e.g., 'my-index-abc123.svc.region.pinecone.io').\"),\n namespace: z.string().describe(\"The namespace containing the vector to update. If not specified, uses the default namespace.\").optional(),\n setMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata to set for the vector. Key-value pairs that will be added or overwrite previous metadata.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values corresponding to indices. Length: 1-1,000.\"),\n indices: z.array(z.number().int()).describe(\"Array of index positions for sparse vector. Length: 1-1,000.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).describe(\"Request model for updating a vector in Pinecone.\");\nexport const PineconeUpdateVectorOutput = z.object({\n matchedRecords: z.number().int().describe(\"The number of records that matched the filter (if a filter was provided).\").nullable().optional(),\n}).passthrough().describe(\"Response model for update vector operation.\");\n\nexport const pineconeUpdateVector = action(\"PINECONE_UPDATE_VECTOR\", {\n slug: \"pinecone-update-vector\",\n name: \"Update Vector\",\n description: \"Tool to update a vector in Pinecone by ID. Use to overwrite vector values and/or metadata. Supports bulk updates via metadata filters.\",\n input: PineconeUpdateVectorInput,\n output: PineconeUpdateVectorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,QAAQA,I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update-vector.cjs","names":["z","action"],"sources":["../../src/actions/update-vector.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUpdateVectorInput = z.object({\n id: z.string().describe(\"Vector's unique identifier. Length: 1-512 characters.\"),\n dryRun: z.boolean().describe(\"If true, return the number of records matching the filter without executing the update. Default: false.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter expression for bulk updates. Example: {\\\"genre\\\": {\\\"$in\\\": [\\\"comedy\\\", \\\"documentary\\\"]}, \\\"year\\\": {\\\"$eq\\\": 2019}}\").optional(),\n values: z.array(z.number()).describe(\"Vector data to update. Length: 1-20,000 elements. If provided, overwrites previous values.\").optional(),\n indexHost: z.string().describe(\"The host URL of the index to update vectors in. Get this from the list_indexes response (e.g., 'my-index-abc123.svc.region.pinecone.io').\"),\n namespace: z.string().describe(\"The namespace containing the vector to update. If not specified, uses the default namespace.\").optional(),\n setMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata to set for the vector. Key-value pairs that will be added or overwrite previous metadata.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values corresponding to indices. Length: 1-1,000.\"),\n indices: z.array(z.number().int()).describe(\"Array of index positions for sparse vector. Length: 1-1,000.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).describe(\"Request model for updating a vector in Pinecone.\");\nexport const PineconeUpdateVectorOutput = z.object({\n matchedRecords: z.number().int().describe(\"The number of records that matched the filter (if a filter was provided).\").nullable().optional(),\n}).passthrough().describe(\"Response model for update vector operation.\");\n\nexport const pineconeUpdateVector: AppAction<\n typeof PineconeUpdateVectorInput,\n typeof PineconeUpdateVectorOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPDATE_VECTOR\", {\n slug: \"pinecone-update-vector\",\n name: \"Update Vector\",\n description: \"Tool to update a vector in Pinecone by ID. Use to overwrite vector values and/or metadata. Sup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C,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-vector.d.ts
@@ -17,19 +19,7 @@ declare const PineconeUpdateVectorInput: z.ZodObject<{
17
19
  declare const PineconeUpdateVectorOutput: z.ZodObject<{
18
20
  matchedRecords: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const pineconeUpdateVector: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- id: string;
22
- indexHost: string;
23
- dryRun?: boolean | undefined;
24
- filter?: Record<string, unknown> | undefined;
25
- values?: number[] | undefined;
26
- namespace?: string | undefined;
27
- setMetadata?: Record<string, unknown> | undefined;
28
- sparseValues?: {
29
- values: number[];
30
- indices: number[];
31
- } | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const pineconeUpdateVector: AppAction<typeof PineconeUpdateVectorInput, typeof PineconeUpdateVectorOutput, typeof pinecone.credential>;
33
23
  //#endregion
34
24
  export { pineconeUpdateVector };
35
25
  //# sourceMappingURL=update-vector.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-vector.d.cts","names":[],"sources":["../../src/actions/update-vector.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;WAM/B,MAAA;;;gBAAA,MAAA"}
1
+ {"version":3,"file":"update-vector.d.cts","names":[],"sources":["../../src/actions/update-vector.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-vector.d.ts
@@ -17,19 +19,7 @@ declare const PineconeUpdateVectorInput: z.ZodObject<{
17
19
  declare const PineconeUpdateVectorOutput: z.ZodObject<{
18
20
  matchedRecords: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const pineconeUpdateVector: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- id: string;
22
- indexHost: string;
23
- dryRun?: boolean | undefined;
24
- filter?: Record<string, unknown> | undefined;
25
- values?: number[] | undefined;
26
- namespace?: string | undefined;
27
- setMetadata?: Record<string, unknown> | undefined;
28
- sparseValues?: {
29
- values: number[];
30
- indices: number[];
31
- } | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const pineconeUpdateVector: AppAction<typeof PineconeUpdateVectorInput, typeof PineconeUpdateVectorOutput, typeof pinecone.credential>;
33
23
  //#endregion
34
24
  export { pineconeUpdateVector };
35
25
  //# sourceMappingURL=update-vector.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-vector.d.mts","names":[],"sources":["../../src/actions/update-vector.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;WAM/B,MAAA;;;gBAAA,MAAA"}
1
+ {"version":3,"file":"update-vector.d.mts","names":[],"sources":["../../src/actions/update-vector.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pineconeUpdateVector = action("PINECONE_UPDATE_VECTOR", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-vector.mjs","names":[],"sources":["../../src/actions/update-vector.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpdateVectorInput = z.object({\n id: z.string().describe(\"Vector's unique identifier. Length: 1-512 characters.\"),\n dryRun: z.boolean().describe(\"If true, return the number of records matching the filter without executing the update. Default: false.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter expression for bulk updates. Example: {\\\"genre\\\": {\\\"$in\\\": [\\\"comedy\\\", \\\"documentary\\\"]}, \\\"year\\\": {\\\"$eq\\\": 2019}}\").optional(),\n values: z.array(z.number()).describe(\"Vector data to update. Length: 1-20,000 elements. If provided, overwrites previous values.\").optional(),\n indexHost: z.string().describe(\"The host URL of the index to update vectors in. Get this from the list_indexes response (e.g., 'my-index-abc123.svc.region.pinecone.io').\"),\n namespace: z.string().describe(\"The namespace containing the vector to update. If not specified, uses the default namespace.\").optional(),\n setMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata to set for the vector. Key-value pairs that will be added or overwrite previous metadata.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values corresponding to indices. Length: 1-1,000.\"),\n indices: z.array(z.number().int()).describe(\"Array of index positions for sparse vector. Length: 1-1,000.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).describe(\"Request model for updating a vector in Pinecone.\");\nexport const PineconeUpdateVectorOutput = z.object({\n matchedRecords: z.number().int().describe(\"The number of records that matched the filter (if a filter was provided).\").nullable().optional(),\n}).passthrough().describe(\"Response model for update vector operation.\");\n\nexport const pineconeUpdateVector = action(\"PINECONE_UPDATE_VECTOR\", {\n slug: \"pinecone-update-vector\",\n name: \"Update Vector\",\n description: \"Tool to update a vector in Pinecone by ID. Use to overwrite vector values and/or metadata. Supports bulk updates via metadata filters.\",\n input: PineconeUpdateVectorInput,\n output: PineconeUpdateVectorOutput,\n});\n"],"mappings":";;AAqBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACjJ,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACtM,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EAC5I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EAC1K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACxI,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EACvK,cAAc,EAAE,OAAO;GACvB,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;GACjG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8DAA8D;EAC5G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtD,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATwC,EAAE,OAAO,EACjD,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-vector.mjs","names":[],"sources":["../../src/actions/update-vector.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUpdateVectorInput = z.object({\n id: z.string().describe(\"Vector's unique identifier. Length: 1-512 characters.\"),\n dryRun: z.boolean().describe(\"If true, return the number of records matching the filter without executing the update. Default: false.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter expression for bulk updates. Example: {\\\"genre\\\": {\\\"$in\\\": [\\\"comedy\\\", \\\"documentary\\\"]}, \\\"year\\\": {\\\"$eq\\\": 2019}}\").optional(),\n values: z.array(z.number()).describe(\"Vector data to update. Length: 1-20,000 elements. If provided, overwrites previous values.\").optional(),\n indexHost: z.string().describe(\"The host URL of the index to update vectors in. Get this from the list_indexes response (e.g., 'my-index-abc123.svc.region.pinecone.io').\"),\n namespace: z.string().describe(\"The namespace containing the vector to update. If not specified, uses the default namespace.\").optional(),\n setMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata to set for the vector. Key-value pairs that will be added or overwrite previous metadata.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values corresponding to indices. Length: 1-1,000.\"),\n indices: z.array(z.number().int()).describe(\"Array of index positions for sparse vector. Length: 1-1,000.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).describe(\"Request model for updating a vector in Pinecone.\");\nexport const PineconeUpdateVectorOutput = z.object({\n matchedRecords: z.number().int().describe(\"The number of records that matched the filter (if a filter was provided).\").nullable().optional(),\n}).passthrough().describe(\"Response model for update vector operation.\");\n\nexport const pineconeUpdateVector: AppAction<\n typeof PineconeUpdateVectorInput,\n typeof PineconeUpdateVectorOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPDATE_VECTOR\", {\n slug: \"pinecone-update-vector\",\n name: \"Update Vector\",\n description: \"Tool to update a vector in Pinecone by ID. Use to overwrite vector values and/or metadata. Supports bulk updates via metadata filters.\",\n input: PineconeUpdateVectorInput,\n output: PineconeUpdateVectorOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACjJ,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACtM,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EAC5I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EAC1K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACxI,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EACvK,cAAc,EAAE,OAAO;GACvB,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;GACjG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8DAA8D;EAC5G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtD,CAAC,CAAC,CAAC,SAAS,kDAaH;CACP,QAbwC,EAAE,OAAO,EACjD,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upload-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to upload.\").optional(),\n metadata: z.string().describe(\"Optional JSON-encoded metadata for the file. Use for filtering or categorization.\").optional(),\n multimodal: z.enum([\"true\", \"false\"]).describe(\"Optional flag to opt in to multimodal file processing (PDFs only). Can be 'true' or 'false'. Default is 'false'.\").optional(),\n file_content: z.object({\n content: z.string().describe(\"Base64-encoded content of the file.\"),\n mimetype: z.string().default(\"application/octet-stream\").describe(\"MIME type of the file (e.g., 'text/plain', 'application/pdf').\").optional(),\n file_name: z.string().describe(\"Name of the file to upload (e.g., 'document.pdf', 'test.txt').\"),\n}).describe(\"Model representing a file with direct content.\").optional(),\n assistant_host: z.string().describe(\"The host URL of the assistant (e.g., 'https://prod-1-data.ke.pinecone.io'). If not provided, will use the base_url from metadata.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to upload the file to.\"),\n}).describe(\"Request model for uploading a file to a Pinecone assistant.\");\nexport const PineconeUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file.\").nullable(),\n status: z.string().describe(\"Current state of the uploaded file. Possible values: 'Processing' (file is being processed), 'Available' (processing completed successfully), 'Deleting' (deletion initiated), 'ProcessingFailed' (processing failed with an error).\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata associated with the file.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n multimodal: z.boolean().describe(\"Indicates whether the file was processed as multimodal.\").nullable().optional(),\n signed_url: z.string().describe(\"A signed URL that provides temporary, read-only access to the underlying file. Treat as sensitive data. Expires after a short time.\").nullable().optional(),\n updated_on: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n percent_done: z.number().describe(\"Percentage of the file that has been processed (0-100).\").nullable().optional(),\n error_message: z.string().describe(\"A message describing any error during file processing. Provided only if an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for uploading a file to a Pinecone assistant.\");\n\nexport const pineconeUploadFile = action(\"PINECONE_UPLOAD_FILE\", {\n slug: \"pinecone-upload-file\",\n name: \"Upload File to Assistant\",\n description: \"Tool to upload a file to a Pinecone assistant for processing. Use when you need to add documents, PDFs, or other files to an assistant for knowledge retrieval or multimodal processing.\",\n input: PineconeUploadFileInput,\n output: PineconeUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAm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AAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to upload.\").optional(),\n metadata: z.string().describe(\"Optional JSON-encoded metadata for the file. Use for filtering or categorization.\").optional(),\n multimodal: z.enum([\"true\", \"false\"]).describe(\"Optional flag to opt in to multimodal file processing (PDFs only). Can be 'true' or 'false'. Default is 'false'.\").optional(),\n file_content: z.object({\n content: z.string().describe(\"Base64-encoded content of the file.\"),\n mimetype: z.string().default(\"application/octet-stream\").describe(\"MIME type of the file (e.g., 'text/plain', 'application/pdf').\").optional(),\n file_name: z.string().describe(\"Name of the file to upload (e.g., 'document.pdf', 'test.txt').\"),\n}).describe(\"Model representing a file with direct content.\").optional(),\n assistant_host: z.string().describe(\"The host URL of the assistant (e.g., 'https://prod-1-data.ke.pinecone.io'). If not provided, will use the base_url from metadata.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to upload the file to.\"),\n}).describe(\"Request model for uploading a file to a Pinecone assistant.\");\nexport const PineconeUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file.\").nullable(),\n status: z.string().describe(\"Current state of the uploaded file. Possible values: 'Processing' (file is being processed), 'Available' (processing completed successfully), 'Deleting' (deletion initiated), 'ProcessingFailed' (processing failed with an error).\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata associated with the file.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n multimodal: z.boolean().describe(\"Indicates whether the file was processed as multimodal.\").nullable().optional(),\n signed_url: z.string().describe(\"A signed URL that provides temporary, read-only access to the underlying file. Treat as sensitive data. Expires after a short time.\").nullable().optional(),\n updated_on: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n percent_done: z.number().describe(\"Percentage of the file that has been processed (0-100).\").nullable().optional(),\n error_message: z.string().describe(\"A message describing any error during file processing. Provided only if an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for uploading a file to a Pinecone assistant.\");\n\nexport const pineconeUploadFile: AppAction<\n typeof PineconeUploadFileInput,\n typeof PineconeUploadFileOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPLOAD_FILE\", {\n slug: \"pinecone-upload-file\",\n name: \"Upload File to Assistant\",\n description: \"Tool to upload a file to a Pinecone assistant for processing. Use when you need to add documents, PDFs, or other files to an assistant for knowledge retrieval or multimodal processing.\",\n input: PineconeUploadFileInput,\n output: PineconeUploadFileOutput,\n});\n"],"mappings":";;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sOAAsO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxR,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-file.d.ts
@@ -32,22 +34,7 @@ declare const PineconeUploadFileOutput: z.ZodObject<{
32
34
  percent_done: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
35
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const pineconeUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- assistant_name: string;
37
- file?: {
38
- name: string;
39
- s3key: string;
40
- mimetype: string;
41
- } | undefined;
42
- metadata?: string | undefined;
43
- multimodal?: "true" | "false" | undefined;
44
- file_content?: {
45
- content: string;
46
- file_name: string;
47
- mimetype?: string | undefined;
48
- } | undefined;
49
- assistant_host?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ declare const pineconeUploadFile: AppAction<typeof PineconeUploadFileInput, typeof PineconeUploadFileOutput, typeof pinecone.credential>;
51
38
  //#endregion
52
39
  export { pineconeUploadFile };
53
40
  //# sourceMappingURL=upload-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAaxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAaxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-file.d.ts
@@ -32,22 +34,7 @@ declare const PineconeUploadFileOutput: z.ZodObject<{
32
34
  percent_done: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
35
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const pineconeUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- assistant_name: string;
37
- file?: {
38
- name: string;
39
- s3key: string;
40
- mimetype: string;
41
- } | undefined;
42
- metadata?: string | undefined;
43
- multimodal?: "true" | "false" | undefined;
44
- file_content?: {
45
- content: string;
46
- file_name: string;
47
- mimetype?: string | undefined;
48
- } | undefined;
49
- assistant_host?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ declare const pineconeUploadFile: AppAction<typeof PineconeUploadFileInput, typeof PineconeUploadFileOutput, typeof pinecone.credential>;
51
38
  //#endregion
52
39
  export { pineconeUploadFile };
53
40
  //# sourceMappingURL=upload-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAaxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAaxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pineconeUploadFile = action("PINECONE_UPLOAD_FILE", {
@@ -1 +1 @@
1
- {"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to upload.\").optional(),\n metadata: z.string().describe(\"Optional JSON-encoded metadata for the file. Use for filtering or categorization.\").optional(),\n multimodal: z.enum([\"true\", \"false\"]).describe(\"Optional flag to opt in to multimodal file processing (PDFs only). Can be 'true' or 'false'. Default is 'false'.\").optional(),\n file_content: z.object({\n content: z.string().describe(\"Base64-encoded content of the file.\"),\n mimetype: z.string().default(\"application/octet-stream\").describe(\"MIME type of the file (e.g., 'text/plain', 'application/pdf').\").optional(),\n file_name: z.string().describe(\"Name of the file to upload (e.g., 'document.pdf', 'test.txt').\"),\n}).describe(\"Model representing a file with direct content.\").optional(),\n assistant_host: z.string().describe(\"The host URL of the assistant (e.g., 'https://prod-1-data.ke.pinecone.io'). If not provided, will use the base_url from metadata.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to upload the file to.\"),\n}).describe(\"Request model for uploading a file to a Pinecone assistant.\");\nexport const PineconeUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file.\").nullable(),\n status: z.string().describe(\"Current state of the uploaded file. Possible values: 'Processing' (file is being processed), 'Available' (processing completed successfully), 'Deleting' (deletion initiated), 'ProcessingFailed' (processing failed with an error).\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata associated with the file.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n multimodal: z.boolean().describe(\"Indicates whether the file was processed as multimodal.\").nullable().optional(),\n signed_url: z.string().describe(\"A signed URL that provides temporary, read-only access to the underlying file. Treat as sensitive data. Expires after a short time.\").nullable().optional(),\n updated_on: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n percent_done: z.number().describe(\"Percentage of the file that has been processed (0-100).\").nullable().optional(),\n error_message: z.string().describe(\"A message describing any error during file processing. Provided only if an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for uploading a file to a Pinecone assistant.\");\n\nexport const pineconeUploadFile = action(\"PINECONE_UPLOAD_FILE\", {\n slug: \"pinecone-upload-file\",\n name: \"Upload File to Assistant\",\n description: \"Tool to upload a file to a Pinecone assistant for processing. Use when you need to add documents, PDFs, or other files to an assistant for knowledge retrieval or multimodal processing.\",\n input: PineconeUploadFileInput,\n output: PineconeUploadFileOutput,\n});\n"],"mappings":";;AAiCA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjCqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC5H,YAAY,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC5K,cAAc,EAAE,OAAO;GACvB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;GAClE,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;GAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACjG,CAAC,CAAC,CAAC,SAAS,gDAAgD,C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@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to upload.\").optional(),\n metadata: z.string().describe(\"Optional JSON-encoded metadata for the file. Use for filtering or categorization.\").optional(),\n multimodal: z.enum([\"true\", \"false\"]).describe(\"Optional flag to opt in to multimodal file processing (PDFs only). Can be 'true' or 'false'. Default is 'false'.\").optional(),\n file_content: z.object({\n content: z.string().describe(\"Base64-encoded content of the file.\"),\n mimetype: z.string().default(\"application/octet-stream\").describe(\"MIME type of the file (e.g., 'text/plain', 'application/pdf').\").optional(),\n file_name: z.string().describe(\"Name of the file to upload (e.g., 'document.pdf', 'test.txt').\"),\n}).describe(\"Model representing a file with direct content.\").optional(),\n assistant_host: z.string().describe(\"The host URL of the assistant (e.g., 'https://prod-1-data.ke.pinecone.io'). If not provided, will use the base_url from metadata.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to upload the file to.\"),\n}).describe(\"Request model for uploading a file to a Pinecone assistant.\");\nexport const PineconeUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the uploaded file.\").nullable(),\n name: z.string().describe(\"Name of the uploaded file.\").nullable(),\n status: z.string().describe(\"Current state of the uploaded file. Possible values: 'Processing' (file is being processed), 'Available' (processing completed successfully), 'Deleting' (deletion initiated), 'ProcessingFailed' (processing failed with an error).\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata associated with the file.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 timestamp when the file was created.\").nullable().optional(),\n multimodal: z.boolean().describe(\"Indicates whether the file was processed as multimodal.\").nullable().optional(),\n signed_url: z.string().describe(\"A signed URL that provides temporary, read-only access to the underlying file. Treat as sensitive data. Expires after a short time.\").nullable().optional(),\n updated_on: z.string().describe(\"ISO 8601 timestamp when the file was last updated.\").nullable().optional(),\n percent_done: z.number().describe(\"Percentage of the file that has been processed (0-100).\").nullable().optional(),\n error_message: z.string().describe(\"A message describing any error during file processing. Provided only if an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for uploading a file to a Pinecone assistant.\");\n\nexport const pineconeUploadFile: AppAction<\n typeof PineconeUploadFileInput,\n typeof PineconeUploadFileOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPLOAD_FILE\", {\n slug: \"pinecone-upload-file\",\n name: \"Upload File to Assistant\",\n description: \"Tool to upload a file to a Pinecone assistant for processing. Use when you need to add documents, PDFs, or other files to an assistant for knowledge retrieval or multimodal processing.\",\n input: PineconeUploadFileInput,\n output: PineconeUploadFileOutput,\n});\n"],"mappings":";;;AAmCA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC5H,YAAY,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC5K,cAAc,EAAE,OAAO;GACvB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;GAClE,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,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B;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upsert-records-namespace.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-records-namespace.cjs","names":["z","action"],"sources":["../../src/actions/upsert-records-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpsertRecordsNamespaceInput = z.object({\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of records to upsert. Each record must have an '_id' field and can contain arbitrary additional fields like 'chunk_text' for text to be converted to vectors.\"),\n namespace: z.string().describe(\"The namespace to upsert records into.\"),\n index_host: z.string().describe(\"The host URL of the index to upsert records into. Get this from ListIndexes action (e.g., 'test-embed-idx-99999-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n api_version: z.string().default(\"2025-04\").describe(\"Pinecone API version header. Version 2025-04 or later is required to use the '__default__' namespace.\").optional(),\n}).describe(\"Request model for upserting records into a Pinecone namespace.\");\nexport const PineconeUpsertRecordsNamespaceOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the upsert operation completed successfully.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n}).passthrough().describe(\"Response model for upsert operation.\");\n\nexport const pineconeUpsertRecordsNamespace = action(\"PINECONE_UPSERT_RECORDS_NAMESPACE\", {\n slug: \"pinecone-upsert-records-namespace\",\n name: \"Upsert Records to Namespace\",\n description: \"Tool to upsert text records into a Pinecone namespace. Use when you need to add or update records with automatic text-to-vector conversion.\",\n input: PineconeUpsertRecordsNamespaceInput,\n output: PineconeUpsertRecordsNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oKAAoK;CACjO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;CAC3L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upsert-records-namespace.cjs","names":["z","action"],"sources":["../../src/actions/upsert-records-namespace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUpsertRecordsNamespaceInput = z.object({\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of records to upsert. Each record must have an '_id' field and can contain arbitrary additional fields like 'chunk_text' for text to be converted to vectors.\"),\n namespace: z.string().describe(\"The namespace to upsert records into.\"),\n index_host: z.string().describe(\"The host URL of the index to upsert records into. Get this from ListIndexes action (e.g., 'test-embed-idx-99999-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n api_version: z.string().default(\"2025-04\").describe(\"Pinecone API version header. Version 2025-04 or later is required to use the '__default__' namespace.\").optional(),\n}).describe(\"Request model for upserting records into a Pinecone namespace.\");\nexport const PineconeUpsertRecordsNamespaceOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the upsert operation completed successfully.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n}).passthrough().describe(\"Response model for upsert operation.\");\n\nexport const pineconeUpsertRecordsNamespace: AppAction<\n typeof PineconeUpsertRecordsNamespaceInput,\n typeof PineconeUpsertRecordsNamespaceOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPSERT_RECORDS_NAMESPACE\", {\n slug: \"pinecone-upsert-records-namespace\",\n name: \"Upsert Records to Namespace\",\n description: \"Tool to upsert text records into a Pinecone namespace. Use when you need to add or update records with automatic text-to-vector conversion.\",\n input: PineconeUpsertRecordsNamespaceInput,\n output: PineconeUpsertRecordsNamespaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oKAAoK;CACjO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;CAC3L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upsert-records-namespace.d.ts
@@ -11,12 +13,7 @@ declare const PineconeUpsertRecordsNamespaceOutput: z.ZodObject<{
11
13
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
14
  status_code: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>;
14
- declare const pineconeUpsertRecordsNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- records: Record<string, unknown>[];
16
- namespace: string;
17
- index_host: string;
18
- api_version?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const pineconeUpsertRecordsNamespace: AppAction<typeof PineconeUpsertRecordsNamespaceInput, typeof PineconeUpsertRecordsNamespaceOutput, typeof pinecone.credential>;
20
17
  //#endregion
21
18
  export { pineconeUpsertRecordsNamespace };
22
19
  //# sourceMappingURL=upsert-records-namespace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-records-namespace.d.cts","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;WAMzC,MAAA"}
1
+ {"version":3,"file":"upsert-records-namespace.d.cts","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upsert-records-namespace.d.ts
@@ -11,12 +13,7 @@ declare const PineconeUpsertRecordsNamespaceOutput: z.ZodObject<{
11
13
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
14
  status_code: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>;
14
- declare const pineconeUpsertRecordsNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- records: Record<string, unknown>[];
16
- namespace: string;
17
- index_host: string;
18
- api_version?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const pineconeUpsertRecordsNamespace: AppAction<typeof PineconeUpsertRecordsNamespaceInput, typeof PineconeUpsertRecordsNamespaceOutput, typeof pinecone.credential>;
20
17
  //#endregion
21
18
  export { pineconeUpsertRecordsNamespace };
22
19
  //# sourceMappingURL=upsert-records-namespace.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-records-namespace.d.mts","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;WAMzC,MAAA"}
1
+ {"version":3,"file":"upsert-records-namespace.d.mts","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pineconeUpsertRecordsNamespace = action("PINECONE_UPSERT_RECORDS_NAMESPACE", {
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-records-namespace.mjs","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpsertRecordsNamespaceInput = z.object({\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of records to upsert. Each record must have an '_id' field and can contain arbitrary additional fields like 'chunk_text' for text to be converted to vectors.\"),\n namespace: z.string().describe(\"The namespace to upsert records into.\"),\n index_host: z.string().describe(\"The host URL of the index to upsert records into. Get this from ListIndexes action (e.g., 'test-embed-idx-99999-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n api_version: z.string().default(\"2025-04\").describe(\"Pinecone API version header. Version 2025-04 or later is required to use the '__default__' namespace.\").optional(),\n}).describe(\"Request model for upserting records into a Pinecone namespace.\");\nexport const PineconeUpsertRecordsNamespaceOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the upsert operation completed successfully.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n}).passthrough().describe(\"Response model for upsert operation.\");\n\nexport const pineconeUpsertRecordsNamespace = action(\"PINECONE_UPSERT_RECORDS_NAMESPACE\", {\n slug: \"pinecone-upsert-records-namespace\",\n name: \"Upsert Records to Namespace\",\n description: \"Tool to upsert text records into a Pinecone namespace. Use when you need to add or update records with automatic text-to-vector conversion.\",\n input: PineconeUpsertRecordsNamespaceInput,\n output: PineconeUpsertRecordsNamespaceOutput,\n});\n"],"mappings":";;AAeA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO;EAC1D,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oKAAoK;EACjO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;EAC3L,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upsert-records-namespace.mjs","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUpsertRecordsNamespaceInput = z.object({\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of records to upsert. Each record must have an '_id' field and can contain arbitrary additional fields like 'chunk_text' for text to be converted to vectors.\"),\n namespace: z.string().describe(\"The namespace to upsert records into.\"),\n index_host: z.string().describe(\"The host URL of the index to upsert records into. Get this from ListIndexes action (e.g., 'test-embed-idx-99999-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n api_version: z.string().default(\"2025-04\").describe(\"Pinecone API version header. Version 2025-04 or later is required to use the '__default__' namespace.\").optional(),\n}).describe(\"Request model for upserting records into a Pinecone namespace.\");\nexport const PineconeUpsertRecordsNamespaceOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the upsert operation completed successfully.\").nullable().optional(),\n status_code: z.number().int().describe(\"HTTP status code from the API response.\").nullable(),\n}).passthrough().describe(\"Response model for upsert operation.\");\n\nexport const pineconeUpsertRecordsNamespace: AppAction<\n typeof PineconeUpsertRecordsNamespaceInput,\n typeof PineconeUpsertRecordsNamespaceOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPSERT_RECORDS_NAMESPACE\", {\n slug: \"pinecone-upsert-records-namespace\",\n name: \"Upsert Records to Namespace\",\n description: \"Tool to upsert text records into a Pinecone namespace. Use when you need to add or update records with automatic text-to-vector conversion.\",\n input: PineconeUpsertRecordsNamespaceInput,\n output: PineconeUpsertRecordsNamespaceOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,iCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBiD,EAAE,OAAO;EAC1D,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oKAAoK;EACjO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;EAC3L,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,SAAS,gEAcH;CACP,QAdkD,EAAE,OAAO;EAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upsert-vectors.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-vectors.cjs","names":["z","action"],"sources":["../../src/actions/upsert-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpsertVectorsInput = z.object({\n vectors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vector. Must be 1-512 characters.\"),\n values: z.array(z.number()).describe(\"Dense vector data. Length must be between 1 and 20,000 elements matching index dimensionality.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs to associate with the vector.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values for sparse vector. Must match length of indices array.\"),\n indices: z.array(z.number().int()).describe(\"Array of indices for sparse vector. Must have 1-1000 items.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).passthrough().describe(\"Individual vector to upsert.\")).describe(\"Array of vectors to upsert. Recommended batch limit is up to 1000 vectors.\"),\n namespace: z.string().describe(\"The namespace where you upsert vectors. If not specified, uses the default namespace.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to upsert vectors into. Get this from ListIndexes action (e.g., 'test-embed-idx-01-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n}).describe(\"Request model for upserting vectors into a Pinecone namespace.\");\nexport const PineconeUpsertVectorsOutput = z.object({\n upsertedCount: z.number().int().describe(\"The number of vectors upserted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for upsert vectors operation.\");\n\nexport const pineconeUpsertVectors = action(\"PINECONE_UPSERT_VECTORS\", {\n slug: \"pinecone-upsert-vectors\",\n name: \"Upsert Vectors\",\n description: \"Tool to upsert vectors into a Pinecone namespace, overwriting existing vector IDs. Use when you need to add or update vectors with their dense and/or sparse values and metadata.\",\n input: PineconeUpsertVectorsInput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;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upsert-vectors.cjs","names":["z","action"],"sources":["../../src/actions/upsert-vectors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUpsertVectorsInput = z.object({\n vectors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vector. Must be 1-512 characters.\"),\n values: z.array(z.number()).describe(\"Dense vector data. Length must be between 1 and 20,000 elements matching index dimensionality.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs to associate with the vector.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values for sparse vector. Must match length of indices array.\"),\n indices: z.array(z.number().int()).describe(\"Array of indices for sparse vector. Must have 1-1000 items.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).passthrough().describe(\"Individual vector to upsert.\")).describe(\"Array of vectors to upsert. Recommended batch limit is up to 1000 vectors.\"),\n namespace: z.string().describe(\"The namespace where you upsert vectors. If not specified, uses the default namespace.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to upsert vectors into. Get this from ListIndexes action (e.g., 'test-embed-idx-01-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n}).describe(\"Request model for upserting vectors into a Pinecone namespace.\");\nexport const PineconeUpsertVectorsOutput = z.object({\n upsertedCount: z.number().int().describe(\"The number of vectors upserted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for upsert vectors operation.\");\n\nexport const pineconeUpsertVectors: AppAction<\n typeof PineconeUpsertVectorsInput,\n typeof PineconeUpsertVectorsOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPSERT_VECTORS\", {\n slug: \"pinecone-upsert-vectors\",\n name: \"Upsert Vectors\",\n description: \"Tool to upsert vectors into a Pinecone namespace, overwriting existing vector IDs. Use when you need to add or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CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upsert-vectors.d.ts
@@ -17,20 +19,7 @@ declare const PineconeUpsertVectorsInput: z.ZodObject<{
17
19
  declare const PineconeUpsertVectorsOutput: z.ZodObject<{
18
20
  upsertedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const pineconeUpsertVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- vectors: {
22
- [x: string]: unknown;
23
- id: string;
24
- values?: number[] | undefined;
25
- metadata?: Record<string, unknown> | undefined;
26
- sparseValues?: {
27
- values: number[];
28
- indices: number[];
29
- } | undefined;
30
- }[];
31
- index_host: string;
32
- namespace?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const pineconeUpsertVectors: AppAction<typeof PineconeUpsertVectorsInput, typeof PineconeUpsertVectorsOutput, typeof pinecone.credential>;
34
23
  //#endregion
35
24
  export { pineconeUpsertVectors };
36
25
  //# sourceMappingURL=upsert-vectors.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-vectors.d.cts","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;;;eAMhC,MAAA"}
1
+ {"version":3,"file":"upsert-vectors.d.cts","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pinecone } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upsert-vectors.d.ts
@@ -17,20 +19,7 @@ declare const PineconeUpsertVectorsInput: z.ZodObject<{
17
19
  declare const PineconeUpsertVectorsOutput: z.ZodObject<{
18
20
  upsertedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>;
20
- declare const pineconeUpsertVectors: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- vectors: {
22
- [x: string]: unknown;
23
- id: string;
24
- values?: number[] | undefined;
25
- metadata?: Record<string, unknown> | undefined;
26
- sparseValues?: {
27
- values: number[];
28
- indices: number[];
29
- } | undefined;
30
- }[];
31
- index_host: string;
32
- namespace?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const pineconeUpsertVectors: AppAction<typeof PineconeUpsertVectorsInput, typeof PineconeUpsertVectorsOutput, typeof pinecone.credential>;
34
23
  //#endregion
35
24
  export { pineconeUpsertVectors };
36
25
  //# sourceMappingURL=upsert-vectors.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-vectors.d.mts","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;;;eAMhC,MAAA"}
1
+ {"version":3,"file":"upsert-vectors.d.mts","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pineconeUpsertVectors = action("PINECONE_UPSERT_VECTORS", {
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-vectors.mjs","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpsertVectorsInput = z.object({\n vectors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vector. Must be 1-512 characters.\"),\n values: z.array(z.number()).describe(\"Dense vector data. Length must be between 1 and 20,000 elements matching index dimensionality.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs to associate with the vector.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values for sparse vector. Must match length of indices array.\"),\n indices: z.array(z.number().int()).describe(\"Array of indices for sparse vector. Must have 1-1000 items.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).passthrough().describe(\"Individual vector to upsert.\")).describe(\"Array of vectors to upsert. Recommended batch limit is up to 1000 vectors.\"),\n namespace: z.string().describe(\"The namespace where you upsert vectors. If not specified, uses the default namespace.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to upsert vectors into. Get this from ListIndexes action (e.g., 'test-embed-idx-01-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n}).describe(\"Request model for upserting vectors into a Pinecone namespace.\");\nexport const PineconeUpsertVectorsOutput = z.object({\n upsertedCount: z.number().int().describe(\"The number of vectors upserted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for upsert vectors operation.\");\n\nexport const pineconeUpsertVectors = action(\"PINECONE_UPSERT_VECTORS\", {\n slug: \"pinecone-upsert-vectors\",\n name: \"Upsert Vectors\",\n description: \"Tool to upsert vectors into a Pinecone namespace, overwriting existing vector IDs. Use when you need to add or update vectors with their dense and/or sparse values and metadata.\",\n input: PineconeUpsertVectorsInput,\n output: PineconeUpsertVectorsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;GACrF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;GAChJ,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACxH,cAAc,EAAE,OAAO;IACvB,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE;IAC7G,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6DAA6D;GAC3G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,CAAC,SAAS,4EAA4E;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CAC1L,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QATyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upsert-vectors.mjs","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pinecone } from \"../app\";\n\nexport const PineconeUpsertVectorsInput = z.object({\n vectors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vector. Must be 1-512 characters.\"),\n values: z.array(z.number()).describe(\"Dense vector data. Length must be between 1 and 20,000 elements matching index dimensionality.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs to associate with the vector.\").optional(),\n sparseValues: z.object({\n values: z.array(z.number()).describe(\"Array of values for sparse vector. Must match length of indices array.\"),\n indices: z.array(z.number().int()).describe(\"Array of indices for sparse vector. Must have 1-1000 items.\"),\n}).describe(\"Sparse vector representation.\").optional(),\n}).passthrough().describe(\"Individual vector to upsert.\")).describe(\"Array of vectors to upsert. Recommended batch limit is up to 1000 vectors.\"),\n namespace: z.string().describe(\"The namespace where you upsert vectors. If not specified, uses the default namespace.\").optional(),\n index_host: z.string().describe(\"The host URL of the index to upsert vectors into. Get this from ListIndexes action (e.g., 'test-embed-idx-01-epf46k1.svc.aped-4627-b74a.pinecone.io').\"),\n}).describe(\"Request model for upserting vectors into a Pinecone namespace.\");\nexport const PineconeUpsertVectorsOutput = z.object({\n upsertedCount: z.number().int().describe(\"The number of vectors upserted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for upsert vectors operation.\");\n\nexport const pineconeUpsertVectors: AppAction<\n typeof PineconeUpsertVectorsInput,\n typeof PineconeUpsertVectorsOutput,\n typeof pinecone.credential\n> = action(\"PINECONE_UPSERT_VECTORS\", {\n slug: \"pinecone-upsert-vectors\",\n name: \"Upsert Vectors\",\n description: \"Tool to upsert vectors into a Pinecone namespace, overwriting existing vector IDs. Use when you need to add or update vectors with their dense and/or sparse values and metadata.\",\n input: PineconeUpsertVectorsInput,\n output: PineconeUpsertVectorsOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;GACrF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;GAChJ,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACxH,cAAc,EAAE,OAAO;IACvB,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE;IAC7G,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6DAA6D;GAC3G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,CAAC,SAAS,4EAA4E;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CAC1L,CAAC,CAAC,CAAC,SAAS,gEAaH;CACP,QAbyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const pinecone = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const pinecone = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "pinecone",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.pinecone = pinecone;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pinecone = defineApp({\n slug: \"pinecone\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const pinecone: KeystrokeApp<\"pinecone\", typeof credential> = defineApp({\n slug: \"pinecone\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const pinecone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const pinecone: KeystrokeApp<"pinecone", typeof credential>;
3
9
  //#endregion
4
10
  export { pinecone };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const pinecone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const pinecone: KeystrokeApp<"pinecone", typeof credential>;
3
9
  //#endregion
4
10
  export { pinecone };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const pinecone = defineApp({
4
4
  slug: "pinecone",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { pinecone };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pinecone = defineApp({\n slug: \"pinecone\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const pinecone: KeystrokeApp<\"pinecone\", typeof credential> = defineApp({\n slug: \"pinecone\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { pinecone } from "./app.cjs";
1
2
  import { pineconeCancelBulkImport } from "./actions/cancel-bulk-import.cjs";
2
3
  import { pineconeChatAssistant } from "./actions/chat-assistant.cjs";
3
4
  import { pineconeChatCompletionAssistant } from "./actions/chat-completion-assistant.cjs";
@@ -46,6 +47,5 @@ import { pineconeUpdateVector } from "./actions/update-vector.cjs";
46
47
  import { pineconeUploadFile } from "./actions/upload-file.cjs";
47
48
  import { pineconeUpsertRecordsNamespace } from "./actions/upsert-records-namespace.cjs";
48
49
  import { pineconeUpsertVectors } from "./actions/upsert-vectors.cjs";
49
- import { pinecone } from "./app.cjs";
50
50
  import { pineconeCatalog } from "./catalog.cjs";
51
51
  export { pinecone, pineconeCancelBulkImport, pineconeCatalog, pineconeChatAssistant, pineconeChatCompletionAssistant, pineconeConfigureIndex, pineconeCreateAssistant, pineconeCreateBackup, pineconeCreateIndex, pineconeCreateIndexForModel, pineconeCreateIndexFromBackup, pineconeCreateNamespace, pineconeDeleteAssistant, pineconeDeleteBackup, pineconeDeleteFile, pineconeDeleteIndex, pineconeDeleteNamespace, pineconeDeleteVectors, pineconeDescribeBackup, pineconeDescribeBulkImport, pineconeDescribeFile, pineconeDescribeIndex, pineconeDescribeIndexStats, pineconeDescribeNamespace, pineconeDescribeRestoreJob, pineconeEmbed, pineconeFetchVectors, pineconeGetAssistant, pineconeGetModel, pineconeListAssistants, pineconeListBulkImports, pineconeListCollections, pineconeListFiles, pineconeListIndexBackups, pineconeListIndexes, pineconeListModels, pineconeListNamespacesOperation, pineconeListProjectBackups, pineconeListRestoreJobs, pineconeListVectors, pineconeQueryVectors, pineconeRerank, pineconeRetrieveContextAssistant, pineconeSearchRecordsNamespace, pineconeStartBulkImport, pineconeUpdateAssistant, pineconeUpdateVector, pineconeUploadFile, pineconeUpsertRecordsNamespace, pineconeUpsertVectors };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { pinecone } from "./app.mjs";
1
2
  import { pineconeCancelBulkImport } from "./actions/cancel-bulk-import.mjs";
2
3
  import { pineconeChatAssistant } from "./actions/chat-assistant.mjs";
3
4
  import { pineconeChatCompletionAssistant } from "./actions/chat-completion-assistant.mjs";
@@ -46,6 +47,5 @@ import { pineconeUpdateVector } from "./actions/update-vector.mjs";
46
47
  import { pineconeUploadFile } from "./actions/upload-file.mjs";
47
48
  import { pineconeUpsertRecordsNamespace } from "./actions/upsert-records-namespace.mjs";
48
49
  import { pineconeUpsertVectors } from "./actions/upsert-vectors.mjs";
49
- import { pinecone } from "./app.mjs";
50
50
  import { pineconeCatalog } from "./catalog.mjs";
51
51
  export { pinecone, pineconeCancelBulkImport, pineconeCatalog, pineconeChatAssistant, pineconeChatCompletionAssistant, pineconeConfigureIndex, pineconeCreateAssistant, pineconeCreateBackup, pineconeCreateIndex, pineconeCreateIndexForModel, pineconeCreateIndexFromBackup, pineconeCreateNamespace, pineconeDeleteAssistant, pineconeDeleteBackup, pineconeDeleteFile, pineconeDeleteIndex, pineconeDeleteNamespace, pineconeDeleteVectors, pineconeDescribeBackup, pineconeDescribeBulkImport, pineconeDescribeFile, pineconeDescribeIndex, pineconeDescribeIndexStats, pineconeDescribeNamespace, pineconeDescribeRestoreJob, pineconeEmbed, pineconeFetchVectors, pineconeGetAssistant, pineconeGetModel, pineconeListAssistants, pineconeListBulkImports, pineconeListCollections, pineconeListFiles, pineconeListIndexBackups, pineconeListIndexes, pineconeListModels, pineconeListNamespacesOperation, pineconeListProjectBackups, pineconeListRestoreJobs, pineconeListVectors, pineconeQueryVectors, pineconeRerank, pineconeRetrieveContextAssistant, pineconeSearchRecordsNamespace, pineconeStartBulkImport, pineconeUpdateAssistant, pineconeUpdateVector, pineconeUploadFile, pineconeUpsertRecordsNamespace, pineconeUpsertVectors };