@keystrokehq/pinecone 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/cancel-bulk-import.cjs +19 -0
  7. package/dist/actions/cancel-bulk-import.cjs.map +1 -0
  8. package/dist/actions/cancel-bulk-import.d.cts +9 -0
  9. package/dist/actions/cancel-bulk-import.d.cts.map +1 -0
  10. package/dist/actions/cancel-bulk-import.d.mts +9 -0
  11. package/dist/actions/cancel-bulk-import.d.mts.map +1 -0
  12. package/dist/actions/cancel-bulk-import.mjs +16 -0
  13. package/dist/actions/cancel-bulk-import.mjs.map +1 -0
  14. package/dist/actions/chat-assistant.cjs +71 -0
  15. package/dist/actions/chat-assistant.cjs.map +1 -0
  16. package/dist/actions/chat-assistant.d.cts +9 -0
  17. package/dist/actions/chat-assistant.d.cts.map +1 -0
  18. package/dist/actions/chat-assistant.d.mts +9 -0
  19. package/dist/actions/chat-assistant.d.mts.map +1 -0
  20. package/dist/actions/chat-assistant.mjs +70 -0
  21. package/dist/actions/chat-assistant.mjs.map +1 -0
  22. package/dist/actions/chat-completion-assistant.cjs +46 -0
  23. package/dist/actions/chat-completion-assistant.cjs.map +1 -0
  24. package/dist/actions/chat-completion-assistant.d.cts +9 -0
  25. package/dist/actions/chat-completion-assistant.d.cts.map +1 -0
  26. package/dist/actions/chat-completion-assistant.d.mts +9 -0
  27. package/dist/actions/chat-completion-assistant.d.mts.map +1 -0
  28. package/dist/actions/chat-completion-assistant.mjs +45 -0
  29. package/dist/actions/chat-completion-assistant.mjs.map +1 -0
  30. package/dist/actions/configure-index.cjs +45 -0
  31. package/dist/actions/configure-index.cjs.map +1 -0
  32. package/dist/actions/configure-index.d.cts +9 -0
  33. package/dist/actions/configure-index.d.cts.map +1 -0
  34. package/dist/actions/configure-index.d.mts +9 -0
  35. package/dist/actions/configure-index.d.mts.map +1 -0
  36. package/dist/actions/configure-index.mjs +44 -0
  37. package/dist/actions/configure-index.mjs.map +1 -0
  38. package/dist/actions/create-assistant.cjs +36 -0
  39. package/dist/actions/create-assistant.cjs.map +1 -0
  40. package/dist/actions/create-assistant.d.cts +9 -0
  41. package/dist/actions/create-assistant.d.cts.map +1 -0
  42. package/dist/actions/create-assistant.d.mts +9 -0
  43. package/dist/actions/create-assistant.d.mts.map +1 -0
  44. package/dist/actions/create-assistant.mjs +35 -0
  45. package/dist/actions/create-assistant.mjs.map +1 -0
  46. package/dist/actions/create-backup.cjs +32 -0
  47. package/dist/actions/create-backup.cjs.map +1 -0
  48. package/dist/actions/create-backup.d.cts +9 -0
  49. package/dist/actions/create-backup.d.cts.map +1 -0
  50. package/dist/actions/create-backup.d.mts +9 -0
  51. package/dist/actions/create-backup.d.mts.map +1 -0
  52. package/dist/actions/create-backup.mjs +29 -0
  53. package/dist/actions/create-backup.mjs.map +1 -0
  54. package/dist/actions/create-index-for-model.cjs +65 -0
  55. package/dist/actions/create-index-for-model.cjs.map +1 -0
  56. package/dist/actions/create-index-for-model.d.cts +9 -0
  57. package/dist/actions/create-index-for-model.d.cts.map +1 -0
  58. package/dist/actions/create-index-for-model.d.mts +9 -0
  59. package/dist/actions/create-index-for-model.d.mts.map +1 -0
  60. package/dist/actions/create-index-for-model.mjs +64 -0
  61. package/dist/actions/create-index-for-model.mjs.map +1 -0
  62. package/dist/actions/create-index-from-backup.cjs +24 -0
  63. package/dist/actions/create-index-from-backup.cjs.map +1 -0
  64. package/dist/actions/create-index-from-backup.d.cts +9 -0
  65. package/dist/actions/create-index-from-backup.d.cts.map +1 -0
  66. package/dist/actions/create-index-from-backup.d.mts +9 -0
  67. package/dist/actions/create-index-from-backup.d.mts.map +1 -0
  68. package/dist/actions/create-index-from-backup.mjs +21 -0
  69. package/dist/actions/create-index-from-backup.mjs.map +1 -0
  70. package/dist/actions/create-index.cjs +57 -0
  71. package/dist/actions/create-index.cjs.map +1 -0
  72. package/dist/actions/create-index.d.cts +9 -0
  73. package/dist/actions/create-index.d.cts.map +1 -0
  74. package/dist/actions/create-index.d.mts +9 -0
  75. package/dist/actions/create-index.d.mts.map +1 -0
  76. package/dist/actions/create-index.mjs +56 -0
  77. package/dist/actions/create-index.mjs.map +1 -0
  78. package/dist/actions/create-namespace.cjs +26 -0
  79. package/dist/actions/create-namespace.cjs.map +1 -0
  80. package/dist/actions/create-namespace.d.cts +9 -0
  81. package/dist/actions/create-namespace.d.cts.map +1 -0
  82. package/dist/actions/create-namespace.d.mts +9 -0
  83. package/dist/actions/create-namespace.d.mts.map +1 -0
  84. package/dist/actions/create-namespace.mjs +25 -0
  85. package/dist/actions/create-namespace.mjs.map +1 -0
  86. package/dist/actions/delete-assistant.cjs +19 -0
  87. package/dist/actions/delete-assistant.cjs.map +1 -0
  88. package/dist/actions/delete-assistant.d.cts +9 -0
  89. package/dist/actions/delete-assistant.d.cts.map +1 -0
  90. package/dist/actions/delete-assistant.d.mts +9 -0
  91. package/dist/actions/delete-assistant.d.mts.map +1 -0
  92. package/dist/actions/delete-assistant.mjs +16 -0
  93. package/dist/actions/delete-assistant.mjs.map +1 -0
  94. package/dist/actions/delete-backup.cjs +19 -0
  95. package/dist/actions/delete-backup.cjs.map +1 -0
  96. package/dist/actions/delete-backup.d.cts +9 -0
  97. package/dist/actions/delete-backup.d.cts.map +1 -0
  98. package/dist/actions/delete-backup.d.mts +9 -0
  99. package/dist/actions/delete-backup.d.mts.map +1 -0
  100. package/dist/actions/delete-backup.mjs +16 -0
  101. package/dist/actions/delete-backup.mjs.map +1 -0
  102. package/dist/actions/delete-file.cjs +23 -0
  103. package/dist/actions/delete-file.cjs.map +1 -0
  104. package/dist/actions/delete-file.d.cts +9 -0
  105. package/dist/actions/delete-file.d.cts.map +1 -0
  106. package/dist/actions/delete-file.d.mts +9 -0
  107. package/dist/actions/delete-file.d.mts.map +1 -0
  108. package/dist/actions/delete-file.mjs +20 -0
  109. package/dist/actions/delete-file.mjs.map +1 -0
  110. package/dist/actions/delete-index.cjs +19 -0
  111. package/dist/actions/delete-index.cjs.map +1 -0
  112. package/dist/actions/delete-index.d.cts +9 -0
  113. package/dist/actions/delete-index.d.cts.map +1 -0
  114. package/dist/actions/delete-index.d.mts +9 -0
  115. package/dist/actions/delete-index.d.mts.map +1 -0
  116. package/dist/actions/delete-index.mjs +16 -0
  117. package/dist/actions/delete-index.mjs.map +1 -0
  118. package/dist/actions/delete-namespace.cjs +19 -0
  119. package/dist/actions/delete-namespace.cjs.map +1 -0
  120. package/dist/actions/delete-namespace.d.cts +9 -0
  121. package/dist/actions/delete-namespace.d.cts.map +1 -0
  122. package/dist/actions/delete-namespace.d.mts +9 -0
  123. package/dist/actions/delete-namespace.d.mts.map +1 -0
  124. package/dist/actions/delete-namespace.mjs +16 -0
  125. package/dist/actions/delete-namespace.mjs.map +1 -0
  126. package/dist/actions/delete-vectors.cjs +22 -0
  127. package/dist/actions/delete-vectors.cjs.map +1 -0
  128. package/dist/actions/delete-vectors.d.cts +9 -0
  129. package/dist/actions/delete-vectors.d.cts.map +1 -0
  130. package/dist/actions/delete-vectors.d.mts +9 -0
  131. package/dist/actions/delete-vectors.d.mts.map +1 -0
  132. package/dist/actions/delete-vectors.mjs +19 -0
  133. package/dist/actions/delete-vectors.mjs.map +1 -0
  134. package/dist/actions/describe-backup.cjs +34 -0
  135. package/dist/actions/describe-backup.cjs.map +1 -0
  136. package/dist/actions/describe-backup.d.cts +9 -0
  137. package/dist/actions/describe-backup.d.cts.map +1 -0
  138. package/dist/actions/describe-backup.d.mts +9 -0
  139. package/dist/actions/describe-backup.d.mts.map +1 -0
  140. package/dist/actions/describe-backup.mjs +33 -0
  141. package/dist/actions/describe-backup.mjs.map +1 -0
  142. package/dist/actions/describe-bulk-import.cjs +28 -0
  143. package/dist/actions/describe-bulk-import.cjs.map +1 -0
  144. package/dist/actions/describe-bulk-import.d.cts +9 -0
  145. package/dist/actions/describe-bulk-import.d.cts.map +1 -0
  146. package/dist/actions/describe-bulk-import.d.mts +9 -0
  147. package/dist/actions/describe-bulk-import.d.mts.map +1 -0
  148. package/dist/actions/describe-bulk-import.mjs +25 -0
  149. package/dist/actions/describe-bulk-import.mjs.map +1 -0
  150. package/dist/actions/describe-file.cjs +33 -0
  151. package/dist/actions/describe-file.cjs.map +1 -0
  152. package/dist/actions/describe-file.d.cts +9 -0
  153. package/dist/actions/describe-file.d.cts.map +1 -0
  154. package/dist/actions/describe-file.d.mts +9 -0
  155. package/dist/actions/describe-file.d.mts.map +1 -0
  156. package/dist/actions/describe-file.mjs +30 -0
  157. package/dist/actions/describe-file.mjs.map +1 -0
  158. package/dist/actions/describe-index-stats.cjs +28 -0
  159. package/dist/actions/describe-index-stats.cjs.map +1 -0
  160. package/dist/actions/describe-index-stats.d.cts +9 -0
  161. package/dist/actions/describe-index-stats.d.cts.map +1 -0
  162. package/dist/actions/describe-index-stats.d.mts +9 -0
  163. package/dist/actions/describe-index-stats.d.mts.map +1 -0
  164. package/dist/actions/describe-index-stats.mjs +25 -0
  165. package/dist/actions/describe-index-stats.mjs.map +1 -0
  166. package/dist/actions/describe-index.cjs +62 -0
  167. package/dist/actions/describe-index.cjs.map +1 -0
  168. package/dist/actions/describe-index.d.cts +9 -0
  169. package/dist/actions/describe-index.d.cts.map +1 -0
  170. package/dist/actions/describe-index.d.mts +9 -0
  171. package/dist/actions/describe-index.d.mts.map +1 -0
  172. package/dist/actions/describe-index.mjs +61 -0
  173. package/dist/actions/describe-index.mjs.map +1 -0
  174. package/dist/actions/describe-namespace.cjs +26 -0
  175. package/dist/actions/describe-namespace.cjs.map +1 -0
  176. package/dist/actions/describe-namespace.d.cts +9 -0
  177. package/dist/actions/describe-namespace.d.cts.map +1 -0
  178. package/dist/actions/describe-namespace.d.mts +9 -0
  179. package/dist/actions/describe-namespace.d.mts.map +1 -0
  180. package/dist/actions/describe-namespace.mjs +25 -0
  181. package/dist/actions/describe-namespace.mjs.map +1 -0
  182. package/dist/actions/describe-restore-job.cjs +25 -0
  183. package/dist/actions/describe-restore-job.cjs.map +1 -0
  184. package/dist/actions/describe-restore-job.d.cts +9 -0
  185. package/dist/actions/describe-restore-job.d.cts.map +1 -0
  186. package/dist/actions/describe-restore-job.d.mts +9 -0
  187. package/dist/actions/describe-restore-job.d.mts.map +1 -0
  188. package/dist/actions/describe-restore-job.mjs +22 -0
  189. package/dist/actions/describe-restore-job.mjs.map +1 -0
  190. package/dist/actions/embed.cjs +38 -0
  191. package/dist/actions/embed.cjs.map +1 -0
  192. package/dist/actions/embed.d.cts +9 -0
  193. package/dist/actions/embed.d.cts.map +1 -0
  194. package/dist/actions/embed.d.mts +9 -0
  195. package/dist/actions/embed.d.mts.map +1 -0
  196. package/dist/actions/embed.mjs +37 -0
  197. package/dist/actions/embed.mjs.map +1 -0
  198. package/dist/actions/fetch-vectors.cjs +25 -0
  199. package/dist/actions/fetch-vectors.cjs.map +1 -0
  200. package/dist/actions/fetch-vectors.d.cts +9 -0
  201. package/dist/actions/fetch-vectors.d.cts.map +1 -0
  202. package/dist/actions/fetch-vectors.d.mts +9 -0
  203. package/dist/actions/fetch-vectors.d.mts.map +1 -0
  204. package/dist/actions/fetch-vectors.mjs +24 -0
  205. package/dist/actions/fetch-vectors.mjs.map +1 -0
  206. package/dist/actions/get-assistant.cjs +27 -0
  207. package/dist/actions/get-assistant.cjs.map +1 -0
  208. package/dist/actions/get-assistant.d.cts +9 -0
  209. package/dist/actions/get-assistant.d.cts.map +1 -0
  210. package/dist/actions/get-assistant.d.mts +9 -0
  211. package/dist/actions/get-assistant.d.mts.map +1 -0
  212. package/dist/actions/get-assistant.mjs +24 -0
  213. package/dist/actions/get-assistant.mjs.map +1 -0
  214. package/dist/actions/get-model.cjs +52 -0
  215. package/dist/actions/get-model.cjs.map +1 -0
  216. package/dist/actions/get-model.d.cts +9 -0
  217. package/dist/actions/get-model.d.cts.map +1 -0
  218. package/dist/actions/get-model.d.mts +9 -0
  219. package/dist/actions/get-model.d.mts.map +1 -0
  220. package/dist/actions/get-model.mjs +51 -0
  221. package/dist/actions/get-model.mjs.map +1 -0
  222. package/dist/actions/index.cjs +97 -0
  223. package/dist/actions/index.d.cts +49 -0
  224. package/dist/actions/index.d.mts +49 -0
  225. package/dist/actions/index.mjs +49 -0
  226. package/dist/actions/list-assistants.cjs +32 -0
  227. package/dist/actions/list-assistants.cjs.map +1 -0
  228. package/dist/actions/list-assistants.d.cts +9 -0
  229. package/dist/actions/list-assistants.d.cts.map +1 -0
  230. package/dist/actions/list-assistants.d.mts +9 -0
  231. package/dist/actions/list-assistants.d.mts.map +1 -0
  232. package/dist/actions/list-assistants.mjs +31 -0
  233. package/dist/actions/list-assistants.mjs.map +1 -0
  234. package/dist/actions/list-bulk-imports.cjs +34 -0
  235. package/dist/actions/list-bulk-imports.cjs.map +1 -0
  236. package/dist/actions/list-bulk-imports.d.cts +9 -0
  237. package/dist/actions/list-bulk-imports.d.cts.map +1 -0
  238. package/dist/actions/list-bulk-imports.d.mts +9 -0
  239. package/dist/actions/list-bulk-imports.d.mts.map +1 -0
  240. package/dist/actions/list-bulk-imports.mjs +33 -0
  241. package/dist/actions/list-bulk-imports.mjs.map +1 -0
  242. package/dist/actions/list-collections.cjs +24 -0
  243. package/dist/actions/list-collections.cjs.map +1 -0
  244. package/dist/actions/list-collections.d.cts +9 -0
  245. package/dist/actions/list-collections.d.cts.map +1 -0
  246. package/dist/actions/list-collections.d.mts +9 -0
  247. package/dist/actions/list-collections.d.mts.map +1 -0
  248. package/dist/actions/list-collections.mjs +23 -0
  249. package/dist/actions/list-collections.mjs.map +1 -0
  250. package/dist/actions/list-files.cjs +39 -0
  251. package/dist/actions/list-files.cjs.map +1 -0
  252. package/dist/actions/list-files.d.cts +9 -0
  253. package/dist/actions/list-files.d.cts.map +1 -0
  254. package/dist/actions/list-files.d.mts +9 -0
  255. package/dist/actions/list-files.d.mts.map +1 -0
  256. package/dist/actions/list-files.mjs +38 -0
  257. package/dist/actions/list-files.mjs.map +1 -0
  258. package/dist/actions/list-index-backups.cjs +43 -0
  259. package/dist/actions/list-index-backups.cjs.map +1 -0
  260. package/dist/actions/list-index-backups.d.cts +9 -0
  261. package/dist/actions/list-index-backups.d.cts.map +1 -0
  262. package/dist/actions/list-index-backups.d.mts +9 -0
  263. package/dist/actions/list-index-backups.d.mts.map +1 -0
  264. package/dist/actions/list-index-backups.mjs +42 -0
  265. package/dist/actions/list-index-backups.mjs.map +1 -0
  266. package/dist/actions/list-indexes.cjs +49 -0
  267. package/dist/actions/list-indexes.cjs.map +1 -0
  268. package/dist/actions/list-indexes.d.cts +9 -0
  269. package/dist/actions/list-indexes.d.cts.map +1 -0
  270. package/dist/actions/list-indexes.d.mts +9 -0
  271. package/dist/actions/list-indexes.d.mts.map +1 -0
  272. package/dist/actions/list-indexes.mjs +48 -0
  273. package/dist/actions/list-indexes.mjs.map +1 -0
  274. package/dist/actions/list-models.cjs +42 -0
  275. package/dist/actions/list-models.cjs.map +1 -0
  276. package/dist/actions/list-models.d.cts +9 -0
  277. package/dist/actions/list-models.d.cts.map +1 -0
  278. package/dist/actions/list-models.d.mts +9 -0
  279. package/dist/actions/list-models.d.mts.map +1 -0
  280. package/dist/actions/list-models.mjs +41 -0
  281. package/dist/actions/list-models.mjs.map +1 -0
  282. package/dist/actions/list-namespaces-operation.cjs +35 -0
  283. package/dist/actions/list-namespaces-operation.cjs.map +1 -0
  284. package/dist/actions/list-namespaces-operation.d.cts +9 -0
  285. package/dist/actions/list-namespaces-operation.d.cts.map +1 -0
  286. package/dist/actions/list-namespaces-operation.d.mts +9 -0
  287. package/dist/actions/list-namespaces-operation.d.mts.map +1 -0
  288. package/dist/actions/list-namespaces-operation.mjs +34 -0
  289. package/dist/actions/list-namespaces-operation.mjs.map +1 -0
  290. package/dist/actions/list-project-backups.cjs +41 -0
  291. package/dist/actions/list-project-backups.cjs.map +1 -0
  292. package/dist/actions/list-project-backups.d.cts +9 -0
  293. package/dist/actions/list-project-backups.d.cts.map +1 -0
  294. package/dist/actions/list-project-backups.d.mts +9 -0
  295. package/dist/actions/list-project-backups.d.mts.map +1 -0
  296. package/dist/actions/list-project-backups.mjs +40 -0
  297. package/dist/actions/list-project-backups.mjs.map +1 -0
  298. package/dist/actions/list-restore-jobs.cjs +33 -0
  299. package/dist/actions/list-restore-jobs.cjs.map +1 -0
  300. package/dist/actions/list-restore-jobs.d.cts +9 -0
  301. package/dist/actions/list-restore-jobs.d.cts.map +1 -0
  302. package/dist/actions/list-restore-jobs.d.mts +9 -0
  303. package/dist/actions/list-restore-jobs.d.mts.map +1 -0
  304. package/dist/actions/list-restore-jobs.mjs +32 -0
  305. package/dist/actions/list-restore-jobs.mjs.map +1 -0
  306. package/dist/actions/list-vectors.cjs +30 -0
  307. package/dist/actions/list-vectors.cjs.map +1 -0
  308. package/dist/actions/list-vectors.d.cts +9 -0
  309. package/dist/actions/list-vectors.d.cts.map +1 -0
  310. package/dist/actions/list-vectors.d.mts +9 -0
  311. package/dist/actions/list-vectors.d.mts.map +1 -0
  312. package/dist/actions/list-vectors.mjs +29 -0
  313. package/dist/actions/list-vectors.mjs.map +1 -0
  314. package/dist/actions/query-vectors.cjs +45 -0
  315. package/dist/actions/query-vectors.cjs.map +1 -0
  316. package/dist/actions/query-vectors.d.cts +9 -0
  317. package/dist/actions/query-vectors.d.cts.map +1 -0
  318. package/dist/actions/query-vectors.d.mts +9 -0
  319. package/dist/actions/query-vectors.d.mts.map +1 -0
  320. package/dist/actions/query-vectors.mjs +44 -0
  321. package/dist/actions/query-vectors.mjs.map +1 -0
  322. package/dist/actions/rerank.cjs +37 -0
  323. package/dist/actions/rerank.cjs.map +1 -0
  324. package/dist/actions/rerank.d.cts +9 -0
  325. package/dist/actions/rerank.d.cts.map +1 -0
  326. package/dist/actions/rerank.d.mts +9 -0
  327. package/dist/actions/rerank.d.mts.map +1 -0
  328. package/dist/actions/rerank.mjs +36 -0
  329. package/dist/actions/rerank.mjs.map +1 -0
  330. package/dist/actions/retrieve-context-assistant.cjs +50 -0
  331. package/dist/actions/retrieve-context-assistant.cjs.map +1 -0
  332. package/dist/actions/retrieve-context-assistant.d.cts +9 -0
  333. package/dist/actions/retrieve-context-assistant.d.cts.map +1 -0
  334. package/dist/actions/retrieve-context-assistant.d.mts +9 -0
  335. package/dist/actions/retrieve-context-assistant.d.mts.map +1 -0
  336. package/dist/actions/retrieve-context-assistant.mjs +49 -0
  337. package/dist/actions/retrieve-context-assistant.mjs.map +1 -0
  338. package/dist/actions/search-records-namespace.cjs +56 -0
  339. package/dist/actions/search-records-namespace.cjs.map +1 -0
  340. package/dist/actions/search-records-namespace.d.cts +9 -0
  341. package/dist/actions/search-records-namespace.d.cts.map +1 -0
  342. package/dist/actions/search-records-namespace.d.mts +9 -0
  343. package/dist/actions/search-records-namespace.d.mts.map +1 -0
  344. package/dist/actions/search-records-namespace.mjs +55 -0
  345. package/dist/actions/search-records-namespace.mjs.map +1 -0
  346. package/dist/actions/start-bulk-import.cjs +21 -0
  347. package/dist/actions/start-bulk-import.cjs.map +1 -0
  348. package/dist/actions/start-bulk-import.d.cts +9 -0
  349. package/dist/actions/start-bulk-import.d.cts.map +1 -0
  350. package/dist/actions/start-bulk-import.d.mts +9 -0
  351. package/dist/actions/start-bulk-import.d.mts.map +1 -0
  352. package/dist/actions/start-bulk-import.mjs +18 -0
  353. package/dist/actions/start-bulk-import.mjs.map +1 -0
  354. package/dist/actions/update-assistant.cjs +25 -0
  355. package/dist/actions/update-assistant.cjs.map +1 -0
  356. package/dist/actions/update-assistant.d.cts +9 -0
  357. package/dist/actions/update-assistant.d.cts.map +1 -0
  358. package/dist/actions/update-assistant.d.mts +9 -0
  359. package/dist/actions/update-assistant.d.mts.map +1 -0
  360. package/dist/actions/update-assistant.mjs +22 -0
  361. package/dist/actions/update-assistant.mjs.map +1 -0
  362. package/dist/actions/update-vector.cjs +28 -0
  363. package/dist/actions/update-vector.cjs.map +1 -0
  364. package/dist/actions/update-vector.d.cts +9 -0
  365. package/dist/actions/update-vector.d.cts.map +1 -0
  366. package/dist/actions/update-vector.d.mts +9 -0
  367. package/dist/actions/update-vector.d.mts.map +1 -0
  368. package/dist/actions/update-vector.mjs +25 -0
  369. package/dist/actions/update-vector.mjs.map +1 -0
  370. package/dist/actions/upload-file.cjs +42 -0
  371. package/dist/actions/upload-file.cjs.map +1 -0
  372. package/dist/actions/upload-file.d.cts +9 -0
  373. package/dist/actions/upload-file.d.cts.map +1 -0
  374. package/dist/actions/upload-file.d.mts +9 -0
  375. package/dist/actions/upload-file.d.mts.map +1 -0
  376. package/dist/actions/upload-file.mjs +39 -0
  377. package/dist/actions/upload-file.mjs.map +1 -0
  378. package/dist/actions/upsert-records-namespace.cjs +24 -0
  379. package/dist/actions/upsert-records-namespace.cjs.map +1 -0
  380. package/dist/actions/upsert-records-namespace.d.cts +9 -0
  381. package/dist/actions/upsert-records-namespace.d.cts.map +1 -0
  382. package/dist/actions/upsert-records-namespace.d.mts +9 -0
  383. package/dist/actions/upsert-records-namespace.d.mts.map +1 -0
  384. package/dist/actions/upsert-records-namespace.mjs +21 -0
  385. package/dist/actions/upsert-records-namespace.mjs.map +1 -0
  386. package/dist/actions/upsert-vectors.cjs +28 -0
  387. package/dist/actions/upsert-vectors.cjs.map +1 -0
  388. package/dist/actions/upsert-vectors.d.cts +9 -0
  389. package/dist/actions/upsert-vectors.d.cts.map +1 -0
  390. package/dist/actions/upsert-vectors.d.mts +9 -0
  391. package/dist/actions/upsert-vectors.d.mts.map +1 -0
  392. package/dist/actions/upsert-vectors.mjs +25 -0
  393. package/dist/actions/upsert-vectors.mjs.map +1 -0
  394. package/dist/app.cjs +9 -0
  395. package/dist/app.cjs.map +1 -0
  396. package/dist/app.d.cts +5 -0
  397. package/dist/app.d.cts.map +1 -0
  398. package/dist/app.d.mts +5 -0
  399. package/dist/app.d.mts.map +1 -0
  400. package/dist/app.mjs +10 -0
  401. package/dist/app.mjs.map +1 -0
  402. package/dist/catalog.cjs +15 -0
  403. package/dist/catalog.cjs.map +1 -0
  404. package/dist/catalog.d.cts +14 -0
  405. package/dist/catalog.d.cts.map +1 -0
  406. package/dist/catalog.d.mts +14 -0
  407. package/dist/catalog.d.mts.map +1 -0
  408. package/dist/catalog.mjs +15 -0
  409. package/dist/catalog.mjs.map +1 -0
  410. package/dist/execute.cjs +18 -0
  411. package/dist/execute.cjs.map +1 -0
  412. package/dist/execute.mjs +18 -0
  413. package/dist/execute.mjs.map +1 -0
  414. package/dist/index.cjs +102 -0
  415. package/dist/index.d.cts +51 -0
  416. package/dist/index.d.mts +51 -0
  417. package/dist/index.mjs +52 -0
  418. package/package.json +49 -0
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-assistant.ts
4
+ const PineconeUpdateAssistantInput = zod.z.object({
5
+ metadata: zod.z.object({}).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes. Maximum size is 16KB.").optional(),
6
+ api_version: zod.z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
7
+ instructions: zod.z.string().describe("Description or directive for the assistant to apply to all responses. Maximum 16 KB.").optional(),
8
+ assistant_name: zod.z.string().describe("The name of the assistant to update.")
9
+ }).describe("Request parameters for updating a Pinecone assistant.");
10
+ const PineconeUpdateAssistantOutput = zod.z.object({
11
+ metadata: zod.z.object({}).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
12
+ instructions: zod.z.string().describe("Description or directive for the assistant to apply to all responses.").nullable().optional(),
13
+ assistant_name: zod.z.string().describe("The name of the updated assistant.")
14
+ }).describe("Response containing the updated assistant configuration.");
15
+ const pineconeUpdateAssistant = require_action.action("PINECONE_UPDATE_ASSISTANT", {
16
+ slug: "pinecone-update-assistant",
17
+ name: "Update Assistant",
18
+ description: "Tool to update an assistant's instructions and configuration in Pinecone. Use when you need to modify an existing assistant's behavior by changing its instructions or metadata. Updates are applied immediately.",
19
+ input: PineconeUpdateAssistantInput,
20
+ output: PineconeUpdateAssistantOutput
21
+ });
22
+ //#endregion
23
+ exports.pineconeUpdateAssistant = pineconeUpdateAssistant;
24
+
25
+ //# sourceMappingURL=update-assistant.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-assistant.cjs","names":["z","action"],"sources":["../../src/actions/update-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpdateAssistantInput: z.ZodTypeAny = z.object({\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes. Maximum size is 16KB.\").optional(),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses. Maximum 16 KB.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to update.\"),\n}).describe(\"Request parameters for updating a Pinecone assistant.\");\nexport const PineconeUpdateAssistantOutput: z.ZodTypeAny = z.object({\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n assistant_name: z.string().describe(\"The name of the updated assistant.\"),\n}).describe(\"Response containing the updated assistant configuration.\");\n\nexport const pineconeUpdateAssistant = action(\"PINECONE_UPDATE_ASSISTANT\", {\n slug: \"pinecone-update-assistant\",\n name: \"Update Assistant\",\n description: \"Tool to update an assistant's instructions and configuration in Pinecone. Use when you need to modify an existing assistant's behavior by changing its instructions or metadata. Updates are applied immediately.\",\n input: PineconeUpdateAssistantInput,\n output: PineconeUpdateAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC9M,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACnI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AAC5E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-assistant.d.ts
4
+ declare const PineconeUpdateAssistantInput: z.ZodTypeAny;
5
+ declare const PineconeUpdateAssistantOutput: z.ZodTypeAny;
6
+ declare const pineconeUpdateAssistant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpdateAssistant };
9
+ //# sourceMappingURL=update-assistant.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-assistant.d.cts","names":[],"sources":["../../src/actions/update-assistant.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAKuB;AAAA,cACvD,6BAAA,EAA+B,CAAA,CAAE,UAIyB;AAAA,cAE1D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-assistant.d.ts
4
+ declare const PineconeUpdateAssistantInput: z.ZodTypeAny;
5
+ declare const PineconeUpdateAssistantOutput: z.ZodTypeAny;
6
+ declare const pineconeUpdateAssistant: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpdateAssistant };
9
+ //# sourceMappingURL=update-assistant.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-assistant.d.mts","names":[],"sources":["../../src/actions/update-assistant.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAKuB;AAAA,cACvD,6BAAA,EAA+B,CAAA,CAAE,UAIyB;AAAA,cAE1D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pineconeUpdateAssistant = action("PINECONE_UPDATE_ASSISTANT", {
4
+ slug: "pinecone-update-assistant",
5
+ name: "Update Assistant",
6
+ description: "Tool to update an assistant's instructions and configuration in Pinecone. Use when you need to modify an existing assistant's behavior by changing its instructions or metadata. Updates are applied immediately.",
7
+ input: z.object({
8
+ metadata: z.object({}).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes. Maximum size is 16KB.").optional(),
9
+ api_version: z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
10
+ instructions: z.string().describe("Description or directive for the assistant to apply to all responses. Maximum 16 KB.").optional(),
11
+ assistant_name: z.string().describe("The name of the assistant to update.")
12
+ }).describe("Request parameters for updating a Pinecone assistant."),
13
+ output: z.object({
14
+ metadata: z.object({}).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
15
+ instructions: z.string().describe("Description or directive for the assistant to apply to all responses.").nullable().optional(),
16
+ assistant_name: z.string().describe("The name of the updated assistant.")
17
+ }).describe("Response containing the updated assistant configuration.")
18
+ });
19
+ //#endregion
20
+ export { pineconeUpdateAssistant };
21
+
22
+ //# sourceMappingURL=update-assistant.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-assistant.mjs","names":[],"sources":["../../src/actions/update-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeUpdateAssistantInput: z.ZodTypeAny = z.object({\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes. Maximum size is 16KB.\").optional(),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses. Maximum 16 KB.\").optional(),\n assistant_name: z.string().describe(\"The name of the assistant to update.\"),\n}).describe(\"Request parameters for updating a Pinecone assistant.\");\nexport const PineconeUpdateAssistantOutput: z.ZodTypeAny = z.object({\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n assistant_name: z.string().describe(\"The name of the updated assistant.\"),\n}).describe(\"Response containing the updated assistant configuration.\");\n\nexport const pineconeUpdateAssistant = action(\"PINECONE_UPDATE_ASSISTANT\", {\n slug: \"pinecone-update-assistant\",\n name: \"Update Assistant\",\n description: \"Tool to update an assistant's instructions and configuration in Pinecone. Use when you need to modify an existing assistant's behavior by changing its instructions or metadata. Updates are applied immediately.\",\n input: PineconeUpdateAssistantInput,\n output: PineconeUpdateAssistantOutput,\n});\n"],"mappings":";;AAgBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EAC9M,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACnI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC5E,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAXyD,EAAE,OAAO;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC1E,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-vector.ts
4
+ const PineconeUpdateVectorInput = zod.z.object({
5
+ id: zod.z.string().describe("Vector's unique identifier. Length: 1-512 characters."),
6
+ dryRun: zod.z.boolean().describe("If true, return the number of records matching the filter without executing the update. Default: false.").optional(),
7
+ filter: zod.z.object({}).describe("Metadata filter expression for bulk updates. Example: {\"genre\": {\"$in\": [\"comedy\", \"documentary\"]}, \"year\": {\"$eq\": 2019}}").optional(),
8
+ values: zod.z.array(zod.z.number()).describe("Vector data to update. Length: 1-20,000 elements. If provided, overwrites previous values.").optional(),
9
+ indexHost: zod.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')."),
10
+ namespace: zod.z.string().describe("The namespace containing the vector to update. If not specified, uses the default namespace.").optional(),
11
+ setMetadata: zod.z.object({}).describe("Metadata to set for the vector. Key-value pairs that will be added or overwrite previous metadata.").optional(),
12
+ sparseValues: zod.z.object({
13
+ values: zod.z.array(zod.z.number()).describe("Array of values corresponding to indices. Length: 1-1,000."),
14
+ indices: zod.z.array(zod.z.number().int()).describe("Array of index positions for sparse vector. Length: 1-1,000.")
15
+ }).describe("Sparse vector representation.").optional()
16
+ }).describe("Request model for updating a vector in Pinecone.");
17
+ const PineconeUpdateVectorOutput = zod.z.object({ matchedRecords: zod.z.number().int().describe("The number of records that matched the filter (if a filter was provided).").nullable().optional() }).describe("Response model for update vector operation.");
18
+ const pineconeUpdateVector = require_action.action("PINECONE_UPDATE_VECTOR", {
19
+ slug: "pinecone-update-vector",
20
+ name: "Update Vector",
21
+ description: "Tool to update a vector in Pinecone by ID. Use to overwrite vector values and/or metadata. Supports bulk updates via metadata filters.",
22
+ input: PineconeUpdateVectorInput,
23
+ output: PineconeUpdateVectorOutput
24
+ });
25
+ //#endregion
26
+ exports.pineconeUpdateVector = pineconeUpdateVector;
27
+
28
+ //# sourceMappingURL=update-vector.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.object({}).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.object({}).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.ZodTypeAny = z.object({\n matchedRecords: z.number().int().describe(\"The number of records that matched the filter (if a filter was provided).\").nullable().optional(),\n}).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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACjJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CAC1K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACxI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,cAAcA,IAAAA,EAAE,OAAO;EACvB,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;EACjG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8DAA8D;CAC5G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-vector.d.ts
4
+ declare const PineconeUpdateVectorInput: z.ZodTypeAny;
5
+ declare const PineconeUpdateVectorOutput: z.ZodTypeAny;
6
+ declare const pineconeUpdateVector: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpdateVector };
9
+ //# sourceMappingURL=update-vector.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-vector.d.cts","names":[],"sources":["../../src/actions/update-vector.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAYqB;AAAA,cAClD,0BAAA,EAA4B,CAAA,CAAE,UAEe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-vector.d.ts
4
+ declare const PineconeUpdateVectorInput: z.ZodTypeAny;
5
+ declare const PineconeUpdateVectorOutput: z.ZodTypeAny;
6
+ declare const pineconeUpdateVector: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpdateVector };
9
+ //# sourceMappingURL=update-vector.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-vector.d.mts","names":[],"sources":["../../src/actions/update-vector.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAYqB;AAAA,cAClD,0BAAA,EAA4B,CAAA,CAAE,UAEe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pineconeUpdateVector = action("PINECONE_UPDATE_VECTOR", {
4
+ slug: "pinecone-update-vector",
5
+ name: "Update Vector",
6
+ description: "Tool to update a vector in Pinecone by ID. Use to overwrite vector values and/or metadata. Supports bulk updates via metadata filters.",
7
+ input: z.object({
8
+ id: z.string().describe("Vector's unique identifier. Length: 1-512 characters."),
9
+ dryRun: z.boolean().describe("If true, return the number of records matching the filter without executing the update. Default: false.").optional(),
10
+ filter: z.object({}).describe("Metadata filter expression for bulk updates. Example: {\"genre\": {\"$in\": [\"comedy\", \"documentary\"]}, \"year\": {\"$eq\": 2019}}").optional(),
11
+ values: z.array(z.number()).describe("Vector data to update. Length: 1-20,000 elements. If provided, overwrites previous values.").optional(),
12
+ 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')."),
13
+ namespace: z.string().describe("The namespace containing the vector to update. If not specified, uses the default namespace.").optional(),
14
+ setMetadata: z.object({}).describe("Metadata to set for the vector. Key-value pairs that will be added or overwrite previous metadata.").optional(),
15
+ sparseValues: z.object({
16
+ values: z.array(z.number()).describe("Array of values corresponding to indices. Length: 1-1,000."),
17
+ indices: z.array(z.number().int()).describe("Array of index positions for sparse vector. Length: 1-1,000.")
18
+ }).describe("Sparse vector representation.").optional()
19
+ }).describe("Request model for updating a vector in Pinecone."),
20
+ output: z.object({ matchedRecords: z.number().int().describe("The number of records that matched the filter (if a filter was provided).").nullable().optional() }).describe("Response model for update vector operation.")
21
+ });
22
+ //#endregion
23
+ export { pineconeUpdateVector };
24
+
25
+ //# sourceMappingURL=update-vector.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.object({}).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.object({}).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.ZodTypeAny = z.object({\n matchedRecords: z.number().int().describe(\"The number of records that matched the filter (if a filter was provided).\").nullable().optional(),\n}).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,OArBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAC/E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EACjJ,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACjL,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,CAAC,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,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,QATsD,EAAE,OAAO,EAC/D,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7I,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,42 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/upload-file.ts
4
+ const PineconeUploadFileInput = zod.z.object({
5
+ file: zod.z.object({
6
+ name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
7
+ s3key: zod.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."),
8
+ mimetype: zod.z.string().describe("The MIME type of the file")
9
+ }).describe("The file to upload.").optional(),
10
+ metadata: zod.z.string().describe("Optional JSON-encoded metadata for the file. Use for filtering or categorization.").optional(),
11
+ multimodal: zod.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(),
12
+ file_content: zod.z.object({
13
+ content: zod.z.string().describe("Base64-encoded content of the file."),
14
+ mimetype: zod.z.string().default("application/octet-stream").describe("MIME type of the file (e.g., 'text/plain', 'application/pdf').").optional(),
15
+ file_name: zod.z.string().describe("Name of the file to upload (e.g., 'document.pdf', 'test.txt').")
16
+ }).describe("Model representing a file with direct content.").optional(),
17
+ assistant_host: zod.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(),
18
+ assistant_name: zod.z.string().describe("The name of the assistant to upload the file to.")
19
+ }).describe("Request model for uploading a file to a Pinecone assistant.");
20
+ const PineconeUploadFileOutput = zod.z.object({
21
+ id: zod.z.string().describe("Unique identifier (UUID) for the uploaded file."),
22
+ name: zod.z.string().describe("Name of the uploaded file."),
23
+ status: zod.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(),
24
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata associated with the file.").nullable().optional(),
25
+ created_on: zod.z.string().describe("ISO 8601 timestamp when the file was created.").nullable().optional(),
26
+ multimodal: zod.z.boolean().describe("Indicates whether the file was processed as multimodal.").nullable().optional(),
27
+ signed_url: zod.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(),
28
+ updated_on: zod.z.string().describe("ISO 8601 timestamp when the file was last updated.").nullable().optional(),
29
+ percent_done: zod.z.number().describe("Percentage of the file that has been processed (0-100).").nullable().optional(),
30
+ error_message: zod.z.string().describe("A message describing any error during file processing. Provided only if an error occurs.").nullable().optional()
31
+ }).describe("Response schema for uploading a file to a Pinecone assistant.");
32
+ const pineconeUploadFile = require_action.action("PINECONE_UPLOAD_FILE", {
33
+ slug: "pinecone-upload-file",
34
+ name: "Upload File to Assistant",
35
+ 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.",
36
+ input: PineconeUploadFileInput,
37
+ output: PineconeUploadFileOutput
38
+ });
39
+ //#endregion
40
+ exports.pineconeUploadFile = pineconeUploadFile;
41
+
42
+ //# sourceMappingURL=upload-file.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the uploaded file.\"),\n name: z.string().describe(\"Name of the uploaded file.\"),\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}).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,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,mFAAmF,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC5K,cAAcA,IAAAA,EAAE,OAAO;EACvB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACjG,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAClL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACxF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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,SAAS,+DAA+D;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/upload-file.d.ts
4
+ declare const PineconeUploadFileInput: z.ZodTypeAny;
5
+ declare const PineconeUploadFileOutput: z.ZodTypeAny;
6
+ declare const pineconeUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUploadFile };
9
+ //# sourceMappingURL=upload-file.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-file.d.cts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAekC;AAAA,cAC7D,wBAAA,EAA0B,CAAA,CAAE,UAWmC;AAAA,cAE/D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/upload-file.d.ts
4
+ declare const PineconeUploadFileInput: z.ZodTypeAny;
5
+ declare const PineconeUploadFileOutput: z.ZodTypeAny;
6
+ declare const pineconeUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUploadFile };
9
+ //# sourceMappingURL=upload-file.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-file.d.mts","names":[],"sources":["../../src/actions/upload-file.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAekC;AAAA,cAC7D,wBAAA,EAA0B,CAAA,CAAE,UAWmC;AAAA,cAE/D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pineconeUploadFile = action("PINECONE_UPLOAD_FILE", {
4
+ slug: "pinecone-upload-file",
5
+ name: "Upload File to Assistant",
6
+ 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.",
7
+ input: z.object({
8
+ file: z.object({
9
+ name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
10
+ 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."),
11
+ mimetype: z.string().describe("The MIME type of the file")
12
+ }).describe("The file to upload.").optional(),
13
+ metadata: z.string().describe("Optional JSON-encoded metadata for the file. Use for filtering or categorization.").optional(),
14
+ 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(),
15
+ file_content: z.object({
16
+ content: z.string().describe("Base64-encoded content of the file."),
17
+ mimetype: z.string().default("application/octet-stream").describe("MIME type of the file (e.g., 'text/plain', 'application/pdf').").optional(),
18
+ file_name: z.string().describe("Name of the file to upload (e.g., 'document.pdf', 'test.txt').")
19
+ }).describe("Model representing a file with direct content.").optional(),
20
+ 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(),
21
+ assistant_name: z.string().describe("The name of the assistant to upload the file to.")
22
+ }).describe("Request model for uploading a file to a Pinecone assistant."),
23
+ output: z.object({
24
+ id: z.string().describe("Unique identifier (UUID) for the uploaded file."),
25
+ name: z.string().describe("Name of the uploaded file."),
26
+ 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(),
27
+ metadata: z.record(z.string(), z.unknown()).describe("Metadata associated with the file.").nullable().optional(),
28
+ created_on: z.string().describe("ISO 8601 timestamp when the file was created.").nullable().optional(),
29
+ multimodal: z.boolean().describe("Indicates whether the file was processed as multimodal.").nullable().optional(),
30
+ 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(),
31
+ updated_on: z.string().describe("ISO 8601 timestamp when the file was last updated.").nullable().optional(),
32
+ percent_done: z.number().describe("Percentage of the file that has been processed (0-100).").nullable().optional(),
33
+ error_message: z.string().describe("A message describing any error during file processing. Provided only if an error occurs.").nullable().optional()
34
+ }).describe("Response schema for uploading a file to a Pinecone assistant.")
35
+ });
36
+ //#endregion
37
+ export { pineconeUploadFile };
38
+
39
+ //# sourceMappingURL=upload-file.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the uploaded file.\"),\n name: z.string().describe(\"Name of the uploaded file.\"),\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}).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,OAjCmD,EAAE,OAAO;EAC5D,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,CAAC,CAAC,SAAS;EACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EAClL,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACxF,CAAC,CAAC,CAAC,SAAS,6DAkBH;CACP,QAlBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxR,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/upsert-records-namespace.ts
4
+ const PineconeUpsertRecordsNamespaceInput = zod.z.object({
5
+ records: zod.z.array(zod.z.record(zod.z.string(), zod.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."),
6
+ namespace: zod.z.string().describe("The namespace to upsert records into."),
7
+ index_host: zod.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')."),
8
+ api_version: zod.z.string().default("2025-04").describe("Pinecone API version header. Version 2025-04 or later is required to use the '__default__' namespace.").optional()
9
+ }).describe("Request model for upserting records into a Pinecone namespace.");
10
+ const PineconeUpsertRecordsNamespaceOutput = zod.z.object({
11
+ success: zod.z.boolean().default(true).describe("Indicates whether the upsert operation completed successfully.").nullable().optional(),
12
+ status_code: zod.z.number().int().describe("HTTP status code from the API response.")
13
+ }).describe("Response model for upsert operation.");
14
+ const pineconeUpsertRecordsNamespace = require_action.action("PINECONE_UPSERT_RECORDS_NAMESPACE", {
15
+ slug: "pinecone-upsert-records-namespace",
16
+ name: "Upsert Records to Namespace",
17
+ 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.",
18
+ input: PineconeUpsertRecordsNamespaceInput,
19
+ output: PineconeUpsertRecordsNamespaceOutput
20
+ });
21
+ //#endregion
22
+ exports.pineconeUpsertRecordsNamespace = pineconeUpsertRecordsNamespace;
23
+
24
+ //# sourceMappingURL=upsert-records-namespace.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n}).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,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,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,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,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;AAClF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/upsert-records-namespace.d.ts
4
+ declare const PineconeUpsertRecordsNamespaceInput: z.ZodTypeAny;
5
+ declare const PineconeUpsertRecordsNamespaceOutput: z.ZodTypeAny;
6
+ declare const pineconeUpsertRecordsNamespace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpsertRecordsNamespace };
9
+ //# sourceMappingURL=upsert-records-namespace.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-records-namespace.d.cts","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKyB;AAAA,cAChE,oCAAA,EAAsC,CAAA,CAAE,UAGF;AAAA,cAEtC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/upsert-records-namespace.d.ts
4
+ declare const PineconeUpsertRecordsNamespaceInput: z.ZodTypeAny;
5
+ declare const PineconeUpsertRecordsNamespaceOutput: z.ZodTypeAny;
6
+ declare const pineconeUpsertRecordsNamespace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpsertRecordsNamespace };
9
+ //# sourceMappingURL=upsert-records-namespace.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-records-namespace.d.mts","names":[],"sources":["../../src/actions/upsert-records-namespace.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKyB;AAAA,cAChE,oCAAA,EAAsC,CAAA,CAAE,UAGF;AAAA,cAEtC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pineconeUpsertRecordsNamespace = action("PINECONE_UPSERT_RECORDS_NAMESPACE", {
4
+ slug: "pinecone-upsert-records-namespace",
5
+ name: "Upsert Records to Namespace",
6
+ 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.",
7
+ input: z.object({
8
+ 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."),
9
+ namespace: z.string().describe("The namespace to upsert records into."),
10
+ 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')."),
11
+ 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()
12
+ }).describe("Request model for upserting records into a Pinecone namespace."),
13
+ output: z.object({
14
+ success: z.boolean().default(true).describe("Indicates whether the upsert operation completed successfully.").nullable().optional(),
15
+ status_code: z.number().int().describe("HTTP status code from the API response.")
16
+ }).describe("Response model for upsert operation.")
17
+ });
18
+ //#endregion
19
+ export { pineconeUpsertRecordsNamespace };
20
+
21
+ //# sourceMappingURL=upsert-records-namespace.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n}).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,OAf+D,EAAE,OAAO;EACxE,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,QAVgE,EAAE,OAAO;EACzE,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;CAClF,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/upsert-vectors.ts
4
+ const PineconeUpsertVectorsInput = zod.z.object({
5
+ vectors: zod.z.array(zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the vector. Must be 1-512 characters."),
7
+ values: zod.z.array(zod.z.number()).describe("Dense vector data. Length must be between 1 and 20,000 elements matching index dimensionality.").optional(),
8
+ metadata: zod.z.object({}).describe("Metadata key-value pairs to associate with the vector.").optional(),
9
+ sparseValues: zod.z.object({
10
+ values: zod.z.array(zod.z.number()).describe("Array of values for sparse vector. Must match length of indices array."),
11
+ indices: zod.z.array(zod.z.number().int()).describe("Array of indices for sparse vector. Must have 1-1000 items.")
12
+ }).describe("Sparse vector representation.").optional()
13
+ }).describe("Individual vector to upsert.")).describe("Array of vectors to upsert. Recommended batch limit is up to 1000 vectors."),
14
+ namespace: zod.z.string().describe("The namespace where you upsert vectors. If not specified, uses the default namespace.").optional(),
15
+ index_host: zod.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').")
16
+ }).describe("Request model for upserting vectors into a Pinecone namespace.");
17
+ const PineconeUpsertVectorsOutput = zod.z.object({ upsertedCount: zod.z.number().int().describe("The number of vectors upserted.").nullable().optional() }).describe("Response model for upsert vectors operation.");
18
+ const pineconeUpsertVectors = require_action.action("PINECONE_UPSERT_VECTORS", {
19
+ slug: "pinecone-upsert-vectors",
20
+ name: "Upsert Vectors",
21
+ 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.",
22
+ input: PineconeUpsertVectorsInput,
23
+ output: PineconeUpsertVectorsOutput
24
+ });
25
+ //#endregion
26
+ exports.pineconeUpsertVectors = pineconeUpsertVectors;
27
+
28
+ //# sourceMappingURL=upsert-vectors.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.object({}).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}).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.ZodTypeAny = z.object({\n upsertedCount: z.number().int().describe(\"The number of vectors upserted.\").nullable().optional(),\n}).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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACrF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EAChJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACnG,cAAcA,IAAAA,EAAE,OAAO;GACvB,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE;GAC7G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6DAA6D;EAC3G,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtD,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAChI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;AAC1L,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/upsert-vectors.d.ts
4
+ declare const PineconeUpsertVectorsInput: z.ZodTypeAny;
5
+ declare const PineconeUpsertVectorsOutput: z.ZodTypeAny;
6
+ declare const pineconeUpsertVectors: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpsertVectors };
9
+ //# sourceMappingURL=upsert-vectors.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-vectors.d.cts","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAYkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAE9C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/upsert-vectors.d.ts
4
+ declare const PineconeUpsertVectorsInput: z.ZodTypeAny;
5
+ declare const PineconeUpsertVectorsOutput: z.ZodTypeAny;
6
+ declare const pineconeUpsertVectors: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pineconeUpsertVectors };
9
+ //# sourceMappingURL=upsert-vectors.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-vectors.d.mts","names":[],"sources":["../../src/actions/upsert-vectors.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAYkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAE9C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pineconeUpsertVectors = action("PINECONE_UPSERT_VECTORS", {
4
+ slug: "pinecone-upsert-vectors",
5
+ name: "Upsert Vectors",
6
+ 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.",
7
+ input: z.object({
8
+ vectors: z.array(z.object({
9
+ id: z.string().describe("Unique identifier for the vector. Must be 1-512 characters."),
10
+ values: z.array(z.number()).describe("Dense vector data. Length must be between 1 and 20,000 elements matching index dimensionality.").optional(),
11
+ metadata: z.object({}).describe("Metadata key-value pairs to associate with the vector.").optional(),
12
+ sparseValues: z.object({
13
+ values: z.array(z.number()).describe("Array of values for sparse vector. Must match length of indices array."),
14
+ indices: z.array(z.number().int()).describe("Array of indices for sparse vector. Must have 1-1000 items.")
15
+ }).describe("Sparse vector representation.").optional()
16
+ }).describe("Individual vector to upsert.")).describe("Array of vectors to upsert. Recommended batch limit is up to 1000 vectors."),
17
+ namespace: z.string().describe("The namespace where you upsert vectors. If not specified, uses the default namespace.").optional(),
18
+ 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').")
19
+ }).describe("Request model for upserting vectors into a Pinecone namespace."),
20
+ output: z.object({ upsertedCount: z.number().int().describe("The number of vectors upserted.").nullable().optional() }).describe("Response model for upsert vectors operation.")
21
+ });
22
+ //#endregion
23
+ export { pineconeUpsertVectors };
24
+
25
+ //# sourceMappingURL=upsert-vectors.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.object({}).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}).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.ZodTypeAny = z.object({\n upsertedCount: z.number().int().describe(\"The number of vectors upserted.\").nullable().optional(),\n}).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,OArBsD,EAAE,OAAO;EAC/D,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,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACnG,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,SAAS,8BAA8B,CAAC,CAAC,CAAC,SAAS,4EAA4E;EAChI,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,QATuD,EAAE,OAAO,EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const pinecone = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "pinecone",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.pinecone = pinecone;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +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"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pinecone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pinecone };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const pinecone: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { pinecone };
5
+ //# sourceMappingURL=app.d.mts.map