@keystrokehq/pinecone 0.1.2 → 0.1.3

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 (303) hide show
  1. package/dist/actions/cancel-bulk-import.cjs +1 -1
  2. package/dist/actions/cancel-bulk-import.cjs.map +1 -1
  3. package/dist/actions/cancel-bulk-import.d.cts +1 -1
  4. package/dist/actions/cancel-bulk-import.d.cts.map +1 -1
  5. package/dist/actions/cancel-bulk-import.d.mts +1 -1
  6. package/dist/actions/cancel-bulk-import.d.mts.map +1 -1
  7. package/dist/actions/cancel-bulk-import.mjs +1 -1
  8. package/dist/actions/cancel-bulk-import.mjs.map +1 -1
  9. package/dist/actions/chat-assistant.cjs +9 -9
  10. package/dist/actions/chat-assistant.cjs.map +1 -1
  11. package/dist/actions/chat-assistant.d.cts +11 -10
  12. package/dist/actions/chat-assistant.d.cts.map +1 -1
  13. package/dist/actions/chat-assistant.d.mts +11 -10
  14. package/dist/actions/chat-assistant.d.mts.map +1 -1
  15. package/dist/actions/chat-assistant.mjs +9 -9
  16. package/dist/actions/chat-assistant.mjs.map +1 -1
  17. package/dist/actions/chat-completion-assistant.cjs +6 -6
  18. package/dist/actions/chat-completion-assistant.cjs.map +1 -1
  19. package/dist/actions/chat-completion-assistant.d.cts +8 -7
  20. package/dist/actions/chat-completion-assistant.d.cts.map +1 -1
  21. package/dist/actions/chat-completion-assistant.d.mts +8 -7
  22. package/dist/actions/chat-completion-assistant.d.mts.map +1 -1
  23. package/dist/actions/chat-completion-assistant.mjs +6 -6
  24. package/dist/actions/chat-completion-assistant.mjs.map +1 -1
  25. package/dist/actions/configure-index.cjs +6 -6
  26. package/dist/actions/configure-index.cjs.map +1 -1
  27. package/dist/actions/configure-index.d.cts +7 -7
  28. package/dist/actions/configure-index.d.mts +7 -7
  29. package/dist/actions/configure-index.mjs +6 -6
  30. package/dist/actions/configure-index.mjs.map +1 -1
  31. package/dist/actions/create-assistant.cjs +3 -3
  32. package/dist/actions/create-assistant.cjs.map +1 -1
  33. package/dist/actions/create-assistant.d.cts +4 -4
  34. package/dist/actions/create-assistant.d.mts +4 -4
  35. package/dist/actions/create-assistant.mjs +3 -3
  36. package/dist/actions/create-assistant.mjs.map +1 -1
  37. package/dist/actions/create-backup.cjs +1 -1
  38. package/dist/actions/create-backup.cjs.map +1 -1
  39. package/dist/actions/create-backup.d.cts +1 -1
  40. package/dist/actions/create-backup.d.mts +1 -1
  41. package/dist/actions/create-backup.mjs +1 -1
  42. package/dist/actions/create-backup.mjs.map +1 -1
  43. package/dist/actions/create-index-for-model.cjs +9 -9
  44. package/dist/actions/create-index-for-model.cjs.map +1 -1
  45. package/dist/actions/create-index-for-model.d.cts +11 -11
  46. package/dist/actions/create-index-for-model.d.mts +11 -11
  47. package/dist/actions/create-index-for-model.mjs +9 -9
  48. package/dist/actions/create-index-for-model.mjs.map +1 -1
  49. package/dist/actions/create-index-from-backup.cjs +2 -2
  50. package/dist/actions/create-index-from-backup.cjs.map +1 -1
  51. package/dist/actions/create-index-from-backup.d.cts +3 -3
  52. package/dist/actions/create-index-from-backup.d.mts +3 -3
  53. package/dist/actions/create-index-from-backup.mjs +2 -2
  54. package/dist/actions/create-index-from-backup.mjs.map +1 -1
  55. package/dist/actions/create-index.cjs +2 -2
  56. package/dist/actions/create-index.cjs.map +1 -1
  57. package/dist/actions/create-index.d.cts +2 -2
  58. package/dist/actions/create-index.d.mts +2 -2
  59. package/dist/actions/create-index.mjs +2 -2
  60. package/dist/actions/create-index.mjs.map +1 -1
  61. package/dist/actions/create-namespace.cjs +4 -4
  62. package/dist/actions/create-namespace.cjs.map +1 -1
  63. package/dist/actions/create-namespace.d.cts +6 -6
  64. package/dist/actions/create-namespace.d.mts +6 -6
  65. package/dist/actions/create-namespace.mjs +4 -4
  66. package/dist/actions/create-namespace.mjs.map +1 -1
  67. package/dist/actions/delete-assistant.cjs +1 -1
  68. package/dist/actions/delete-assistant.cjs.map +1 -1
  69. package/dist/actions/delete-assistant.d.cts +1 -1
  70. package/dist/actions/delete-assistant.d.mts +1 -1
  71. package/dist/actions/delete-assistant.mjs +1 -1
  72. package/dist/actions/delete-assistant.mjs.map +1 -1
  73. package/dist/actions/delete-backup.cjs +1 -1
  74. package/dist/actions/delete-backup.cjs.map +1 -1
  75. package/dist/actions/delete-backup.d.cts +1 -1
  76. package/dist/actions/delete-backup.d.mts +1 -1
  77. package/dist/actions/delete-backup.mjs +1 -1
  78. package/dist/actions/delete-backup.mjs.map +1 -1
  79. package/dist/actions/delete-file.cjs +1 -1
  80. package/dist/actions/delete-file.cjs.map +1 -1
  81. package/dist/actions/delete-file.d.cts +1 -1
  82. package/dist/actions/delete-file.d.mts +1 -1
  83. package/dist/actions/delete-file.mjs +1 -1
  84. package/dist/actions/delete-file.mjs.map +1 -1
  85. package/dist/actions/delete-index.cjs +1 -1
  86. package/dist/actions/delete-index.cjs.map +1 -1
  87. package/dist/actions/delete-index.d.cts +1 -1
  88. package/dist/actions/delete-index.d.mts +1 -1
  89. package/dist/actions/delete-index.mjs +1 -1
  90. package/dist/actions/delete-index.mjs.map +1 -1
  91. package/dist/actions/delete-namespace.cjs +1 -1
  92. package/dist/actions/delete-namespace.cjs.map +1 -1
  93. package/dist/actions/delete-namespace.d.cts +1 -1
  94. package/dist/actions/delete-namespace.d.cts.map +1 -1
  95. package/dist/actions/delete-namespace.d.mts +1 -1
  96. package/dist/actions/delete-namespace.d.mts.map +1 -1
  97. package/dist/actions/delete-namespace.mjs +1 -1
  98. package/dist/actions/delete-namespace.mjs.map +1 -1
  99. package/dist/actions/delete-vectors.cjs +2 -2
  100. package/dist/actions/delete-vectors.cjs.map +1 -1
  101. package/dist/actions/delete-vectors.d.cts +3 -3
  102. package/dist/actions/delete-vectors.d.cts.map +1 -1
  103. package/dist/actions/delete-vectors.d.mts +3 -3
  104. package/dist/actions/delete-vectors.d.mts.map +1 -1
  105. package/dist/actions/delete-vectors.mjs +2 -2
  106. package/dist/actions/delete-vectors.mjs.map +1 -1
  107. package/dist/actions/describe-backup.cjs +3 -3
  108. package/dist/actions/describe-backup.cjs.map +1 -1
  109. package/dist/actions/describe-backup.d.cts +3 -3
  110. package/dist/actions/describe-backup.d.mts +3 -3
  111. package/dist/actions/describe-backup.mjs +3 -3
  112. package/dist/actions/describe-backup.mjs.map +1 -1
  113. package/dist/actions/describe-bulk-import.cjs +1 -1
  114. package/dist/actions/describe-bulk-import.cjs.map +1 -1
  115. package/dist/actions/describe-bulk-import.d.cts +1 -1
  116. package/dist/actions/describe-bulk-import.d.mts +1 -1
  117. package/dist/actions/describe-bulk-import.mjs +1 -1
  118. package/dist/actions/describe-bulk-import.mjs.map +1 -1
  119. package/dist/actions/describe-file.cjs +2 -2
  120. package/dist/actions/describe-file.cjs.map +1 -1
  121. package/dist/actions/describe-file.d.cts +2 -2
  122. package/dist/actions/describe-file.d.mts +2 -2
  123. package/dist/actions/describe-file.mjs +2 -2
  124. package/dist/actions/describe-file.mjs.map +1 -1
  125. package/dist/actions/describe-index-stats.cjs +2 -2
  126. package/dist/actions/describe-index-stats.cjs.map +1 -1
  127. package/dist/actions/describe-index-stats.d.cts +2 -2
  128. package/dist/actions/describe-index-stats.d.mts +2 -2
  129. package/dist/actions/describe-index-stats.mjs +2 -2
  130. package/dist/actions/describe-index-stats.mjs.map +1 -1
  131. package/dist/actions/describe-index.cjs +9 -9
  132. package/dist/actions/describe-index.cjs.map +1 -1
  133. package/dist/actions/describe-index.d.cts +9 -9
  134. package/dist/actions/describe-index.d.mts +9 -9
  135. package/dist/actions/describe-index.mjs +9 -9
  136. package/dist/actions/describe-index.mjs.map +1 -1
  137. package/dist/actions/describe-namespace.cjs +3 -3
  138. package/dist/actions/describe-namespace.cjs.map +1 -1
  139. package/dist/actions/describe-namespace.d.cts +4 -4
  140. package/dist/actions/describe-namespace.d.mts +4 -4
  141. package/dist/actions/describe-namespace.mjs +3 -3
  142. package/dist/actions/describe-namespace.mjs.map +1 -1
  143. package/dist/actions/describe-restore-job.cjs +1 -1
  144. package/dist/actions/describe-restore-job.cjs.map +1 -1
  145. package/dist/actions/describe-restore-job.d.cts +1 -1
  146. package/dist/actions/describe-restore-job.d.mts +1 -1
  147. package/dist/actions/describe-restore-job.mjs +1 -1
  148. package/dist/actions/describe-restore-job.mjs.map +1 -1
  149. package/dist/actions/embed.cjs +5 -5
  150. package/dist/actions/embed.cjs.map +1 -1
  151. package/dist/actions/embed.d.cts +6 -5
  152. package/dist/actions/embed.d.mts +6 -5
  153. package/dist/actions/embed.mjs +5 -5
  154. package/dist/actions/embed.mjs.map +1 -1
  155. package/dist/actions/fetch-vectors.cjs +3 -3
  156. package/dist/actions/fetch-vectors.cjs.map +1 -1
  157. package/dist/actions/fetch-vectors.d.cts +3 -3
  158. package/dist/actions/fetch-vectors.d.mts +3 -3
  159. package/dist/actions/fetch-vectors.mjs +3 -3
  160. package/dist/actions/fetch-vectors.mjs.map +1 -1
  161. package/dist/actions/get-assistant.cjs +2 -2
  162. package/dist/actions/get-assistant.cjs.map +1 -1
  163. package/dist/actions/get-assistant.d.cts +2 -2
  164. package/dist/actions/get-assistant.d.mts +2 -2
  165. package/dist/actions/get-assistant.mjs +2 -2
  166. package/dist/actions/get-assistant.mjs.map +1 -1
  167. package/dist/actions/get-model.cjs +2 -2
  168. package/dist/actions/get-model.cjs.map +1 -1
  169. package/dist/actions/get-model.d.cts +2 -2
  170. package/dist/actions/get-model.d.mts +2 -2
  171. package/dist/actions/get-model.mjs +2 -2
  172. package/dist/actions/get-model.mjs.map +1 -1
  173. package/dist/actions/list-assistants.cjs +4 -4
  174. package/dist/actions/list-assistants.cjs.map +1 -1
  175. package/dist/actions/list-assistants.d.cts +4 -4
  176. package/dist/actions/list-assistants.d.mts +4 -4
  177. package/dist/actions/list-assistants.mjs +4 -4
  178. package/dist/actions/list-assistants.mjs.map +1 -1
  179. package/dist/actions/list-bulk-imports.cjs +3 -3
  180. package/dist/actions/list-bulk-imports.cjs.map +1 -1
  181. package/dist/actions/list-bulk-imports.d.cts +3 -3
  182. package/dist/actions/list-bulk-imports.d.mts +3 -3
  183. package/dist/actions/list-bulk-imports.mjs +3 -3
  184. package/dist/actions/list-bulk-imports.mjs.map +1 -1
  185. package/dist/actions/list-collections.cjs +2 -2
  186. package/dist/actions/list-collections.cjs.map +1 -1
  187. package/dist/actions/list-collections.d.cts +2 -2
  188. package/dist/actions/list-collections.d.mts +2 -2
  189. package/dist/actions/list-collections.mjs +2 -2
  190. package/dist/actions/list-collections.mjs.map +1 -1
  191. package/dist/actions/list-files.cjs +4 -4
  192. package/dist/actions/list-files.cjs.map +1 -1
  193. package/dist/actions/list-files.d.cts +4 -4
  194. package/dist/actions/list-files.d.mts +4 -4
  195. package/dist/actions/list-files.mjs +4 -4
  196. package/dist/actions/list-files.mjs.map +1 -1
  197. package/dist/actions/list-index-backups.cjs +5 -5
  198. package/dist/actions/list-index-backups.cjs.map +1 -1
  199. package/dist/actions/list-index-backups.d.cts +5 -5
  200. package/dist/actions/list-index-backups.d.mts +5 -5
  201. package/dist/actions/list-index-backups.mjs +5 -5
  202. package/dist/actions/list-index-backups.mjs.map +1 -1
  203. package/dist/actions/list-indexes.cjs +8 -8
  204. package/dist/actions/list-indexes.cjs.map +1 -1
  205. package/dist/actions/list-indexes.d.cts +8 -8
  206. package/dist/actions/list-indexes.d.mts +8 -8
  207. package/dist/actions/list-indexes.mjs +8 -8
  208. package/dist/actions/list-indexes.mjs.map +1 -1
  209. package/dist/actions/list-models.cjs +3 -3
  210. package/dist/actions/list-models.cjs.map +1 -1
  211. package/dist/actions/list-models.d.cts +3 -3
  212. package/dist/actions/list-models.d.mts +3 -3
  213. package/dist/actions/list-models.mjs +3 -3
  214. package/dist/actions/list-models.mjs.map +1 -1
  215. package/dist/actions/list-namespaces-operation.cjs +5 -5
  216. package/dist/actions/list-namespaces-operation.cjs.map +1 -1
  217. package/dist/actions/list-namespaces-operation.d.cts +6 -6
  218. package/dist/actions/list-namespaces-operation.d.mts +6 -6
  219. package/dist/actions/list-namespaces-operation.mjs +5 -5
  220. package/dist/actions/list-namespaces-operation.mjs.map +1 -1
  221. package/dist/actions/list-project-backups.cjs +5 -5
  222. package/dist/actions/list-project-backups.cjs.map +1 -1
  223. package/dist/actions/list-project-backups.d.cts +5 -5
  224. package/dist/actions/list-project-backups.d.mts +5 -5
  225. package/dist/actions/list-project-backups.mjs +5 -5
  226. package/dist/actions/list-project-backups.mjs.map +1 -1
  227. package/dist/actions/list-restore-jobs.cjs +3 -3
  228. package/dist/actions/list-restore-jobs.cjs.map +1 -1
  229. package/dist/actions/list-restore-jobs.d.cts +3 -3
  230. package/dist/actions/list-restore-jobs.d.mts +3 -3
  231. package/dist/actions/list-restore-jobs.mjs +3 -3
  232. package/dist/actions/list-restore-jobs.mjs.map +1 -1
  233. package/dist/actions/list-vectors.cjs +4 -4
  234. package/dist/actions/list-vectors.cjs.map +1 -1
  235. package/dist/actions/list-vectors.d.cts +4 -4
  236. package/dist/actions/list-vectors.d.mts +4 -4
  237. package/dist/actions/list-vectors.mjs +4 -4
  238. package/dist/actions/list-vectors.mjs.map +1 -1
  239. package/dist/actions/query-vectors.cjs +6 -6
  240. package/dist/actions/query-vectors.cjs.map +1 -1
  241. package/dist/actions/query-vectors.d.cts +7 -7
  242. package/dist/actions/query-vectors.d.mts +7 -7
  243. package/dist/actions/query-vectors.mjs +6 -6
  244. package/dist/actions/query-vectors.mjs.map +1 -1
  245. package/dist/actions/rerank.cjs +4 -4
  246. package/dist/actions/rerank.cjs.map +1 -1
  247. package/dist/actions/rerank.d.cts +5 -4
  248. package/dist/actions/rerank.d.cts.map +1 -1
  249. package/dist/actions/rerank.d.mts +5 -4
  250. package/dist/actions/rerank.d.mts.map +1 -1
  251. package/dist/actions/rerank.mjs +4 -4
  252. package/dist/actions/rerank.mjs.map +1 -1
  253. package/dist/actions/retrieve-context-assistant.cjs +9 -9
  254. package/dist/actions/retrieve-context-assistant.cjs.map +1 -1
  255. package/dist/actions/retrieve-context-assistant.d.cts +11 -10
  256. package/dist/actions/retrieve-context-assistant.d.mts +11 -10
  257. package/dist/actions/retrieve-context-assistant.mjs +9 -9
  258. package/dist/actions/retrieve-context-assistant.mjs.map +1 -1
  259. package/dist/actions/search-records-namespace.cjs +7 -7
  260. package/dist/actions/search-records-namespace.cjs.map +1 -1
  261. package/dist/actions/search-records-namespace.d.cts +9 -9
  262. package/dist/actions/search-records-namespace.d.mts +9 -9
  263. package/dist/actions/search-records-namespace.mjs +7 -7
  264. package/dist/actions/search-records-namespace.mjs.map +1 -1
  265. package/dist/actions/start-bulk-import.cjs +1 -1
  266. package/dist/actions/start-bulk-import.cjs.map +1 -1
  267. package/dist/actions/start-bulk-import.d.cts +1 -1
  268. package/dist/actions/start-bulk-import.d.mts +1 -1
  269. package/dist/actions/start-bulk-import.mjs +1 -1
  270. package/dist/actions/start-bulk-import.mjs.map +1 -1
  271. package/dist/actions/update-assistant.cjs +3 -3
  272. package/dist/actions/update-assistant.cjs.map +1 -1
  273. package/dist/actions/update-assistant.d.cts +4 -4
  274. package/dist/actions/update-assistant.d.mts +4 -4
  275. package/dist/actions/update-assistant.mjs +3 -3
  276. package/dist/actions/update-assistant.mjs.map +1 -1
  277. package/dist/actions/update-vector.cjs +3 -3
  278. package/dist/actions/update-vector.cjs.map +1 -1
  279. package/dist/actions/update-vector.d.cts +5 -5
  280. package/dist/actions/update-vector.d.mts +5 -5
  281. package/dist/actions/update-vector.mjs +3 -3
  282. package/dist/actions/update-vector.mjs.map +1 -1
  283. package/dist/actions/upload-file.cjs +1 -1
  284. package/dist/actions/upload-file.cjs.map +1 -1
  285. package/dist/actions/upload-file.d.cts +1 -1
  286. package/dist/actions/upload-file.d.mts +1 -1
  287. package/dist/actions/upload-file.mjs +1 -1
  288. package/dist/actions/upload-file.mjs.map +1 -1
  289. package/dist/actions/upsert-records-namespace.cjs +1 -1
  290. package/dist/actions/upsert-records-namespace.cjs.map +1 -1
  291. package/dist/actions/upsert-records-namespace.d.cts +1 -1
  292. package/dist/actions/upsert-records-namespace.d.mts +1 -1
  293. package/dist/actions/upsert-records-namespace.mjs +1 -1
  294. package/dist/actions/upsert-records-namespace.mjs.map +1 -1
  295. package/dist/actions/upsert-vectors.cjs +3 -3
  296. package/dist/actions/upsert-vectors.cjs.map +1 -1
  297. package/dist/actions/upsert-vectors.d.cts +5 -4
  298. package/dist/actions/upsert-vectors.d.cts.map +1 -1
  299. package/dist/actions/upsert-vectors.d.mts +5 -4
  300. package/dist/actions/upsert-vectors.d.mts.map +1 -1
  301. package/dist/actions/upsert-vectors.mjs +3 -3
  302. package/dist/actions/upsert-vectors.mjs.map +1 -1
  303. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"describe-index.cjs","names":["z","action"],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.object({}).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.object({}).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,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,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,QAAQ,wCAAwC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAE5G,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"describe-index.cjs","names":["z","action"],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.record(z.string(), z.unknown()).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).passthrough().describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).passthrough().describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).passthrough().describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsCA,IA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A,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,QAAQ,wCAAwC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gGAAgG;AAE1H,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,15 +15,15 @@ declare const PineconeDescribeIndexOutput: z.ZodObject<{
15
15
  pod_type: z.ZodNullable<z.ZodString>;
16
16
  replicas: z.ZodNullable<z.ZodNumber>;
17
17
  environment: z.ZodNullable<z.ZodString>;
18
- metadata_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ metadata_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  source_collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
21
  serverless: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  cloud: z.ZodNullable<z.ZodString>;
23
23
  region: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>>;
25
- }, z.core.$strip>>>;
26
- tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>;
26
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27
27
  embed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  read: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
29
  model: z.ZodNullable<z.ZodString>;
@@ -31,18 +31,18 @@ declare const PineconeDescribeIndexOutput: z.ZodObject<{
31
31
  field_map: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
32
  input_field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  metadata_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
34
- }, z.core.$strip>>>;
35
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
+ }, z.core.$loose>>>;
36
36
  metric: z.ZodNullable<z.ZodString>;
37
37
  status: z.ZodNullable<z.ZodObject<{
38
38
  ready: z.ZodNullable<z.ZodBoolean>;
39
39
  state: z.ZodNullable<z.ZodString>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  dimension: z.ZodNullable<z.ZodNumber>;
42
42
  vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  private_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- }, z.core.$strip>;
45
+ }, z.core.$loose>;
46
46
  declare const pineconeDescribeIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  index_name: string;
48
48
  api_version?: string | undefined;
@@ -15,15 +15,15 @@ declare const PineconeDescribeIndexOutput: z.ZodObject<{
15
15
  pod_type: z.ZodNullable<z.ZodString>;
16
16
  replicas: z.ZodNullable<z.ZodNumber>;
17
17
  environment: z.ZodNullable<z.ZodString>;
18
- metadata_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
18
+ metadata_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  source_collection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>;
20
+ }, z.core.$loose>>>;
21
21
  serverless: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  cloud: z.ZodNullable<z.ZodString>;
23
23
  region: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>>;
25
- }, z.core.$strip>>>;
26
- tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>;
26
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27
27
  embed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  read: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
29
  model: z.ZodNullable<z.ZodString>;
@@ -31,18 +31,18 @@ declare const PineconeDescribeIndexOutput: z.ZodObject<{
31
31
  field_map: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
32
  input_field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  metadata_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
34
- }, z.core.$strip>>>;
35
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
+ }, z.core.$loose>>>;
36
36
  metric: z.ZodNullable<z.ZodString>;
37
37
  status: z.ZodNullable<z.ZodObject<{
38
38
  ready: z.ZodNullable<z.ZodBoolean>;
39
39
  state: z.ZodNullable<z.ZodString>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  dimension: z.ZodNullable<z.ZodNumber>;
42
42
  vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  private_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- }, z.core.$strip>;
45
+ }, z.core.$loose>;
46
46
  declare const pineconeDescribeIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  index_name: string;
48
48
  api_version?: string | undefined;
@@ -11,31 +11,31 @@ const PineconeDescribeIndex_PodSpecSchema = z.object({
11
11
  pod_type: z.string().describe("Type of pod.").nullable(),
12
12
  replicas: z.number().int().describe("Number of replicas.").nullable(),
13
13
  environment: z.string().describe("Deployment environment.").nullable(),
14
- metadata_config: z.object({}).describe("Metadata configuration.").nullable().optional(),
14
+ metadata_config: z.record(z.string(), z.unknown()).describe("Metadata configuration.").nullable().optional(),
15
15
  source_collection: z.string().describe("Source collection name.").nullable().optional()
16
- }).describe("Pod-based deployment specification.");
16
+ }).passthrough().describe("Pod-based deployment specification.");
17
17
  const PineconeDescribeIndex_ServerlessSpecSchema = z.object({
18
18
  cloud: z.string().describe("Cloud provider.").nullable(),
19
19
  region: z.string().describe("Cloud region.").nullable()
20
- }).describe("Serverless deployment specification.");
20
+ }).passthrough().describe("Serverless deployment specification.");
21
21
  const PineconeDescribeIndex_IndexSpecSchema = z.object({
22
22
  pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),
23
23
  serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional()
24
- }).describe("Deployment specification for an index.");
24
+ }).passthrough().describe("Deployment specification for an index.");
25
25
  const PineconeDescribeIndex_EmbedFieldMapSchema = z.object({
26
26
  input_field: z.string().describe("Name of the field containing text to embed.").nullable().optional(),
27
27
  metadata_fields: z.array(z.string()).describe("List of metadata field names to include.").nullable().optional()
28
- }).describe("Field mapping for integrated embedding.");
28
+ }).passthrough().describe("Field mapping for integrated embedding.");
29
29
  const PineconeDescribeIndex_EmbedConfigSchema = z.object({
30
30
  read: z.boolean().describe("Whether to use embeddings for read operations.").nullable().optional(),
31
31
  model: z.string().describe("Name of the embedding model.").nullable(),
32
32
  write: z.boolean().describe("Whether to use embeddings for write operations.").nullable().optional(),
33
33
  field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional()
34
- }).describe("Configuration for integrated embedding and inference.");
34
+ }).passthrough().describe("Configuration for integrated embedding and inference.");
35
35
  const PineconeDescribeIndex_IndexStatusSchema = z.object({
36
36
  ready: z.boolean().describe("Whether the index is operational.").nullable(),
37
37
  state: z.string().describe("Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).").nullable()
38
- }).describe("Current state of the index.");
38
+ }).passthrough().describe("Current state of the index.");
39
39
  const pineconeDescribeIndex = action("PINECONE_DESCRIBE_INDEX", {
40
40
  slug: "pinecone-describe-index",
41
41
  name: "Describe Index",
@@ -45,7 +45,7 @@ const pineconeDescribeIndex = action("PINECONE_DESCRIBE_INDEX", {
45
45
  host: z.string().describe("Hosted URL address of the index.").nullable(),
46
46
  name: z.string().describe("Index name, 1-45 chars, alphanumeric/hyphens only.").nullable(),
47
47
  spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),
48
- tags: z.object({}).describe("Custom metadata key-value pairs.").nullable().optional(),
48
+ tags: z.record(z.string(), z.unknown()).describe("Custom metadata key-value pairs.").nullable().optional(),
49
49
  embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),
50
50
  metric: z.string().describe("Distance metric: 'cosine', 'euclidean', or 'dotproduct'.").nullable(),
51
51
  status: PineconeDescribeIndex_IndexStatusSchema.nullable(),
@@ -53,7 +53,7 @@ const pineconeDescribeIndex = action("PINECONE_DESCRIBE_INDEX", {
53
53
  vector_type: z.string().describe("Vector type: 'dense' or 'sparse' (default: 'dense').").nullable().optional(),
54
54
  private_host: z.string().describe("Private endpoint URL if configured.").nullable().optional(),
55
55
  deletion_protection: z.string().describe("Protection status for deletion.").nullable().optional()
56
- }).describe("Response containing full index configuration including host and integrated embedding settings.")
56
+ }).passthrough().describe("Response containing full index configuration including host and integrated embedding settings.")
57
57
  });
58
58
  //#endregion
59
59
  export { pineconeDescribeIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"describe-index.mjs","names":[],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.object({}).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.object({}).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,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C,SAAS;EACjG,QAAQ,wCAAwC,SAAS;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,gGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"describe-index.mjs","names":[],"sources":["../../src/actions/describe-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeIndexInput = z.object({\n index_name: z.string().describe(\"The name of the index to describe.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Date-based version header for the Pinecone API.\").optional(),\n}).describe(\"Request parameters for describing a Pinecone index.\");\nconst PineconeDescribeIndex_PodSpecSchema = z.object({\n pods: z.number().int().describe(\"Number of pods.\").nullable(),\n shards: z.number().int().describe(\"Number of shards.\").nullable(),\n pod_type: z.string().describe(\"Type of pod.\").nullable(),\n replicas: z.number().int().describe(\"Number of replicas.\").nullable(),\n environment: z.string().describe(\"Deployment environment.\").nullable(),\n metadata_config: z.record(z.string(), z.unknown()).describe(\"Metadata configuration.\").nullable().optional(),\n source_collection: z.string().describe(\"Source collection name.\").nullable().optional(),\n}).passthrough().describe(\"Pod-based deployment specification.\");\nconst PineconeDescribeIndex_ServerlessSpecSchema = z.object({\n cloud: z.string().describe(\"Cloud provider.\").nullable(),\n region: z.string().describe(\"Cloud region.\").nullable(),\n}).passthrough().describe(\"Serverless deployment specification.\");\nconst PineconeDescribeIndex_IndexSpecSchema = z.object({\n pod: PineconeDescribeIndex_PodSpecSchema.nullable().optional(),\n serverless: PineconeDescribeIndex_ServerlessSpecSchema.nullable().optional(),\n}).passthrough().describe(\"Deployment specification for an index.\");\nconst PineconeDescribeIndex_EmbedFieldMapSchema = z.object({\n input_field: z.string().describe(\"Name of the field containing text to embed.\").nullable().optional(),\n metadata_fields: z.array(z.string()).describe(\"List of metadata field names to include.\").nullable().optional(),\n}).passthrough().describe(\"Field mapping for integrated embedding.\");\nconst PineconeDescribeIndex_EmbedConfigSchema = z.object({\n read: z.boolean().describe(\"Whether to use embeddings for read operations.\").nullable().optional(),\n model: z.string().describe(\"Name of the embedding model.\").nullable(),\n write: z.boolean().describe(\"Whether to use embeddings for write operations.\").nullable().optional(),\n field_map: PineconeDescribeIndex_EmbedFieldMapSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration for integrated embedding and inference.\");\nconst PineconeDescribeIndex_IndexStatusSchema = z.object({\n ready: z.boolean().describe(\"Whether the index is operational.\").nullable(),\n state: z.string().describe(\"Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).\").nullable(),\n}).passthrough().describe(\"Current state of the index.\");\nexport const PineconeDescribeIndexOutput = z.object({\n host: z.string().describe(\"Hosted URL address of the index.\").nullable(),\n name: z.string().describe(\"Index name, 1-45 chars, alphanumeric/hyphens only.\").nullable(),\n spec: PineconeDescribeIndex_IndexSpecSchema.nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeDescribeIndex_EmbedConfigSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeDescribeIndex_IndexStatusSchema.nullable(),\n dimension: z.number().int().describe(\"Vector dimensions, range 1-20000.\").nullable(),\n vector_type: z.string().describe(\"Vector type: 'dense' or 'sparse' (default: 'dense').\").nullable().optional(),\n private_host: z.string().describe(\"Private endpoint URL if configured.\").nullable().optional(),\n deletion_protection: z.string().describe(\"Protection status for deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response containing full index configuration including host and integrated embedding settings.\");\n\nexport const pineconeDescribeIndex = action(\"PINECONE_DESCRIBE_INDEX\", {\n slug: \"pinecone-describe-index\",\n name: \"Describe Index\",\n description: \"Tool to retrieve full Pinecone index configuration including host and integrated embedding settings. Use when you need to check if an index has integrated inference (embed config) to avoid 'Integrated inference is not configured' errors by choosing the appropriate search method.\",\n input: PineconeDescribeIndexInput,\n output: PineconeDescribeIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;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AC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAevD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACzF,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,QAAQ,wCAAwC,SAAS;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gGAOhB;AACV,CAAC"}
@@ -5,14 +5,14 @@ const PineconeDescribeNamespaceInput = zod.z.object({
5
5
  namespace: zod.z.string().describe("The namespace to describe."),
6
6
  index_host: zod.z.string().describe("The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.")
7
7
  }).describe("Request model for describing a namespace in a serverless index.");
8
- const PineconeDescribeNamespace_NamespaceSchemaSchema = zod.z.object({ fields: zod.z.object({}).describe("A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.") }).describe("Schema for the behavior of Pinecone's internal metadata index.");
9
- const PineconeDescribeNamespace_IndexedFieldsSchema = zod.z.object({ fields: zod.z.array(zod.z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).describe("Contains indexed metadata field information.");
8
+ const PineconeDescribeNamespace_NamespaceSchemaSchema = zod.z.object({ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.") }).passthrough().describe("Schema for the behavior of Pinecone's internal metadata index.");
9
+ const PineconeDescribeNamespace_IndexedFieldsSchema = zod.z.object({ fields: zod.z.array(zod.z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).passthrough().describe("Contains indexed metadata field information.");
10
10
  const PineconeDescribeNamespaceOutput = zod.z.object({
11
11
  name: zod.z.string().describe("The name of the namespace").nullable().optional(),
12
12
  schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),
13
13
  record_count: zod.z.number().int().describe("The total amount of records within the namespace").nullable().optional(),
14
14
  indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional()
15
- }).describe("Response model for namespace description, including name, record count, and indexed fields.");
15
+ }).passthrough().describe("Response model for namespace description, including name, record count, and indexed fields.");
16
16
  const pineconeDescribeNamespace = require_action.action("PINECONE_DESCRIBE_NAMESPACE", {
17
17
  slug: "pinecone-describe-namespace",
18
18
  name: "Describe Namespace",
@@ -1 +1 @@
1
- {"version":3,"file":"describe-namespace.cjs","names":["z","action"],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.object({}).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACnJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,EAC9J,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQ,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAEzG,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"describe-namespace.cjs","names":["z","action"],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).passthrough().describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACnJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQ,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6FAA6F;AAEvH,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,13 +8,13 @@ declare const PineconeDescribeNamespaceInput: z.ZodObject<{
8
8
  declare const PineconeDescribeNamespaceOutput: z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
- fields: z.ZodObject<{}, z.core.$strip>;
12
- }, z.core.$strip>>>;
11
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12
+ }, z.core.$loose>>>;
13
13
  record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  indexed_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
- }, z.core.$strip>>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>;
18
18
  declare const pineconeDescribeNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  namespace: string;
20
20
  index_host: string;
@@ -8,13 +8,13 @@ declare const PineconeDescribeNamespaceInput: z.ZodObject<{
8
8
  declare const PineconeDescribeNamespaceOutput: z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
- fields: z.ZodObject<{}, z.core.$strip>;
12
- }, z.core.$strip>>>;
11
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12
+ }, z.core.$loose>>>;
13
13
  record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  indexed_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
- }, z.core.$strip>>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>;
18
18
  declare const pineconeDescribeNamespace: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  namespace: string;
20
20
  index_host: string;
@@ -5,8 +5,8 @@ const PineconeDescribeNamespaceInput = z.object({
5
5
  namespace: z.string().describe("The namespace to describe."),
6
6
  index_host: z.string().describe("The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.")
7
7
  }).describe("Request model for describing a namespace in a serverless index.");
8
- const PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({ fields: z.object({}).describe("A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.") }).describe("Schema for the behavior of Pinecone's internal metadata index.");
9
- const PineconeDescribeNamespace_IndexedFieldsSchema = z.object({ fields: z.array(z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).describe("Contains indexed metadata field information.");
8
+ const PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({ fields: z.record(z.string(), z.unknown()).describe("A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.") }).passthrough().describe("Schema for the behavior of Pinecone's internal metadata index.");
9
+ const PineconeDescribeNamespace_IndexedFieldsSchema = z.object({ fields: z.array(z.string()).describe("List of all indexed metadata field names in the namespace").nullable().optional() }).passthrough().describe("Contains indexed metadata field information.");
10
10
  const pineconeDescribeNamespace = action("PINECONE_DESCRIBE_NAMESPACE", {
11
11
  slug: "pinecone-describe-namespace",
12
12
  name: "Describe Namespace",
@@ -17,7 +17,7 @@ const pineconeDescribeNamespace = action("PINECONE_DESCRIBE_NAMESPACE", {
17
17
  schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),
18
18
  record_count: z.number().int().describe("The total amount of records within the namespace").nullable().optional(),
19
19
  indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional()
20
- }).describe("Response model for namespace description, including name, record count, and indexed fields.")
20
+ }).passthrough().describe("Response model for namespace description, including name, record count, and indexed fields.")
21
21
  });
22
22
  //#endregion
23
23
  export { pineconeDescribeNamespace };
@@ -1 +1 @@
1
- {"version":3,"file":"describe-namespace.mjs","names":[],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.object({}).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACnJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kDAAkD,EAAE,OAAO,EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,EAC9J,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,gDAAgD,EAAE,OAAO,EAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAQ1D,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,gBAAgB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,6FAOF;AACV,CAAC"}
1
+ {"version":3,"file":"describe-namespace.mjs","names":[],"sources":["../../src/actions/describe-namespace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeNamespaceInput = z.object({\n namespace: z.string().describe(\"The namespace to describe.\"),\n index_host: z.string().describe(\"The host URL of the serverless index containing the namespace. Can be obtained from the list indexes operation.\"),\n}).describe(\"Request model for describing a namespace in a serverless index.\");\nconst PineconeDescribeNamespace_NamespaceSchemaSchema = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of metadata field names to their configuration. The field name must be a valid metadata field name and must be unique.\"),\n}).passthrough().describe(\"Schema for the behavior of Pinecone's internal metadata index.\");\nconst PineconeDescribeNamespace_IndexedFieldsSchema = z.object({\n fields: z.array(z.string()).describe(\"List of all indexed metadata field names in the namespace\").nullable().optional(),\n}).passthrough().describe(\"Contains indexed metadata field information.\");\nexport const PineconeDescribeNamespaceOutput = z.object({\n name: z.string().describe(\"The name of the namespace\").nullable().optional(),\n schema: PineconeDescribeNamespace_NamespaceSchemaSchema.nullable().optional(),\n record_count: z.number().int().describe(\"The total amount of records within the namespace\").nullable().optional(),\n indexed_fields: PineconeDescribeNamespace_IndexedFieldsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for namespace description, including name, record count, and indexed fields.\");\n\nexport const pineconeDescribeNamespace = action(\"PINECONE_DESCRIBE_NAMESPACE\", {\n slug: \"pinecone-describe-namespace\",\n name: \"Describe Namespace\",\n description: \"Tool to describe a namespace in a serverless index, including the total number of vectors. Use when you need to get metadata about a namespace such as record count and indexed fields.\",\n input: PineconeDescribeNamespaceInput,\n output: PineconeDescribeNamespaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACnJ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kDAAkD,EAAE,OAAO,EAC/D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,gDAAgD,EAAE,OAAO,EAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAQxE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,gBAAgB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6FAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const PineconeDescribeRestoreJobOutput = zod.z.object({
11
11
  target_index_id: zod.z.string().describe("ID of the created index.").nullable(),
12
12
  percent_complete: zod.z.number().int().describe("Progress percentage (0-100). May be absent for pending jobs.").nullable().optional(),
13
13
  target_index_name: zod.z.string().describe("Name of the index created from the backup.").nullable()
14
- }).describe("Response model for restore job details.");
14
+ }).passthrough().describe("Response model for restore job details.");
15
15
  const pineconeDescribeRestoreJob = require_action.action("PINECONE_DESCRIBE_RESTORE_JOB", {
16
16
  slug: "pinecone-describe-restore-job",
17
17
  name: "Describe Restore Job",
@@ -1 +1 @@
1
- {"version":3,"file":"describe-restore-job.cjs","names":["z","action"],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"describe-restore-job.cjs","names":["z","action"],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).passthrough().describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,7 +13,7 @@ declare const PineconeDescribeRestoreJobOutput: z.ZodObject<{
13
13
  target_index_id: z.ZodNullable<z.ZodString>;
14
14
  percent_complete: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  target_index_name: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const pineconeDescribeRestoreJob: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  job_id: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -13,7 +13,7 @@ declare const PineconeDescribeRestoreJobOutput: z.ZodObject<{
13
13
  target_index_id: z.ZodNullable<z.ZodString>;
14
14
  percent_complete: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
15
  target_index_name: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const pineconeDescribeRestoreJob: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  job_id: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -14,7 +14,7 @@ const pineconeDescribeRestoreJob = action("PINECONE_DESCRIBE_RESTORE_JOB", {
14
14
  target_index_id: z.string().describe("ID of the created index.").nullable(),
15
15
  percent_complete: z.number().int().describe("Progress percentage (0-100). May be absent for pending jobs.").nullable().optional(),
16
16
  target_index_name: z.string().describe("Name of the index created from the backup.").nullable()
17
- }).describe("Response model for restore job details.")
17
+ }).passthrough().describe("Response model for restore job details.")
18
18
  });
19
19
  //#endregion
20
20
  export { pineconeDescribeRestoreJob };
@@ -1 +1 @@
1
- {"version":3,"file":"describe-restore-job.mjs","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,6CAgBH;CACP,QAhB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC1E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"describe-restore-job.mjs","names":[],"sources":["../../src/actions/describe-restore-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeDescribeRestoreJobInput = z.object({\n job_id: z.string().describe(\"The ID of the restore job to describe.\"),\n}).describe(\"Request model for describing a restore job.\");\nexport const PineconeDescribeRestoreJobOutput = z.object({\n status: z.string().describe(\"Current status of the restore job (e.g., 'Initializing', 'Completed', 'Failed').\").nullable(),\n backup_id: z.string().describe(\"ID of the backup being restored.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the restore job was initiated.\").nullable(),\n completed_at: z.string().describe(\"Timestamp when restoration finished.\").nullable().optional(),\n restore_job_id: z.string().describe(\"Unique identifier for the restore job.\").nullable(),\n target_index_id: z.string().describe(\"ID of the created index.\").nullable(),\n percent_complete: z.number().int().describe(\"Progress percentage (0-100). May be absent for pending jobs.\").nullable().optional(),\n target_index_name: z.string().describe(\"Name of the index created from the backup.\").nullable(),\n}).passthrough().describe(\"Response model for restore job details.\");\n\nexport const pineconeDescribeRestoreJob = action(\"PINECONE_DESCRIBE_RESTORE_JOB\", {\n slug: \"pinecone-describe-restore-job\",\n name: \"Describe Restore Job\",\n description: \"Tool to get detailed information about a specific restore job in Pinecone. Use when you need to check the status, progress, or metadata of a restore operation.\",\n input: PineconeDescribeRestoreJobInput,\n output: PineconeDescribeRestoreJobOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,6CAgBH;CACP,QAhB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC1E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/embed.ts
4
4
  const PineconeEmbedInput = zod.z.object({
5
5
  model: zod.z.string().describe("The embedding model to use (e.g., 'multilingual-e5-large')."),
6
- inputs: zod.z.array(zod.z.object({ text: zod.z.string().describe("The text input to generate embeddings for.") }).describe("Single input item for embedding generation.")).describe("List of input objects to generate embeddings for. Each item contains a text field."),
6
+ inputs: zod.z.array(zod.z.object({ text: zod.z.string().describe("The text input to generate embeddings for.") }).passthrough().describe("Single input item for embedding generation.")).describe("List of input objects to generate embeddings for. Each item contains a text field."),
7
7
  parameters: zod.z.object({
8
8
  truncate: zod.z.enum(["NONE", "END"]).describe("How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.").optional(),
9
9
  input_type: zod.z.enum(["query", "passage"]).describe("Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.").optional()
@@ -12,19 +12,19 @@ const PineconeEmbedInput = zod.z.object({
12
12
  const PineconeEmbed_DenseEmbeddingSchema = zod.z.object({
13
13
  values: zod.z.array(zod.z.number()).describe("The dense embedding values."),
14
14
  vector_type: zod.z.string().describe("Type of vector, always 'dense' for dense embeddings.").nullable()
15
- }).describe("Dense embedding representation.");
15
+ }).passthrough().describe("Dense embedding representation.");
16
16
  const PineconeEmbed_SparseEmbeddingSchema = zod.z.object({
17
17
  vector_type: zod.z.string().describe("Type of vector, always 'sparse' for sparse embeddings.").nullable(),
18
18
  sparse_tokens: zod.z.array(zod.z.string()).describe("Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.").nullable().optional(),
19
19
  sparse_values: zod.z.array(zod.z.number()).describe("Sparse embedding values."),
20
20
  sparse_indices: zod.z.array(zod.z.number().int()).describe("Indices for sparse values (0 to 4,294,967,295).")
21
- }).describe("Sparse embedding representation.");
22
- const PineconeEmbed_UsageStatsSchema = zod.z.object({ total_tokens: zod.z.number().int().describe("Total number of tokens processed.").nullable() }).describe("Usage statistics for the embedding request.");
21
+ }).passthrough().describe("Sparse embedding representation.");
22
+ const PineconeEmbed_UsageStatsSchema = zod.z.object({ total_tokens: zod.z.number().int().describe("Total number of tokens processed.").nullable() }).passthrough().describe("Usage statistics for the embedding request.");
23
23
  const PineconeEmbedOutput = zod.z.object({
24
24
  data: zod.z.array(zod.z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe("Array of embedding objects (dense or sparse)."),
25
25
  model: zod.z.string().describe("The model used to generate embeddings.").nullable(),
26
26
  usage: PineconeEmbed_UsageStatsSchema.nullable()
27
- }).describe("Response schema for embedding generation.");
27
+ }).passthrough().describe("Response schema for embedding generation.");
28
28
  const pineconeEmbed = require_action.action("PINECONE_EMBED", {
29
29
  slug: "pinecone-embed",
30
30
  name: "Generate Embeddings",
@@ -1 +1 @@
1
- {"version":3,"file":"embed.cjs","names":["z","action"],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACxE,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;CACvJ,YAAYA,IAAAA,EAAE,OAAO;EACrB,UAAUA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EACtL,YAAYA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACtE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAAC,oCAAoC,mCAAmC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC1J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,OAAO,+BAA+B,SAAS;AACjD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,gBAAgBC,eAAAA,OAAO,kBAAkB;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"embed.cjs","names":["z","action"],"sources":["../../src/actions/embed.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeEmbedInput = z.object({\n model: z.string().describe(\"The embedding model to use (e.g., 'multilingual-e5-large').\"),\n inputs: z.array(z.object({\n text: z.string().describe(\"The text input to generate embeddings for.\"),\n}).passthrough().describe(\"Single input item for embedding generation.\")).describe(\"List of input objects to generate embeddings for. Each item contains a text field.\"),\n parameters: z.object({\n truncate: z.enum([\"NONE\", \"END\"]).describe(\"How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.\").optional(),\n input_type: z.enum([\"query\", \"passage\"]).describe(\"Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.\").optional(),\n}).describe(\"Optional parameters for the embedding model.\").optional(),\n}).describe(\"Request parameters for generating embeddings.\");\nconst PineconeEmbed_DenseEmbeddingSchema = z.object({\n values: z.array(z.number()).describe(\"The dense embedding values.\"),\n vector_type: z.string().describe(\"Type of vector, always 'dense' for dense embeddings.\").nullable(),\n}).passthrough().describe(\"Dense embedding representation.\");\nconst PineconeEmbed_SparseEmbeddingSchema = z.object({\n vector_type: z.string().describe(\"Type of vector, always 'sparse' for sparse embeddings.\").nullable(),\n sparse_tokens: z.array(z.string()).describe(\"Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.\").nullable().optional(),\n sparse_values: z.array(z.number()).describe(\"Sparse embedding values.\"),\n sparse_indices: z.array(z.number().int()).describe(\"Indices for sparse values (0 to 4,294,967,295).\"),\n}).passthrough().describe(\"Sparse embedding representation.\");\nconst PineconeEmbed_UsageStatsSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens processed.\").nullable(),\n}).passthrough().describe(\"Usage statistics for the embedding request.\");\nexport const PineconeEmbedOutput = z.object({\n data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe(\"Array of embedding objects (dense or sparse).\"),\n model: z.string().describe(\"The model used to generate embeddings.\").nullable(),\n usage: PineconeEmbed_UsageStatsSchema.nullable(),\n}).passthrough().describe(\"Response schema for embedding generation.\");\n\nexport const pineconeEmbed = action(\"PINECONE_EMBED\", {\n slug: \"pinecone-embed\",\n name: \"Generate Embeddings\",\n description: \"Tool to generate vector embeddings for input text using Pinecone's hosted embedding models. Use when you need to convert text into vector representations for semantic search or similarity matching.\",\n input: PineconeEmbedInput,\n output: PineconeEmbedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACxF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;CACrK,YAAYA,IAAAA,EAAE,OAAO;EACrB,UAAUA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EACtL,YAAYA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6BAA6B;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACtE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAAC,oCAAoC,mCAAmC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC1J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,OAAO,+BAA+B,SAAS;AACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,gBAAgBC,eAAAA,OAAO,kBAAkB;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,7 +5,7 @@ declare const PineconeEmbedInput: z.ZodObject<{
5
5
  model: z.ZodString;
6
6
  inputs: z.ZodArray<z.ZodObject<{
7
7
  text: z.ZodString;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  parameters: z.ZodOptional<z.ZodObject<{
10
10
  truncate: z.ZodOptional<z.ZodEnum<{
11
11
  NONE: "NONE";
@@ -21,20 +21,21 @@ declare const PineconeEmbedOutput: z.ZodObject<{
21
21
  data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
22
22
  values: z.ZodArray<z.ZodNumber>;
23
23
  vector_type: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>, z.ZodObject<{
24
+ }, z.core.$loose>, z.ZodObject<{
25
25
  vector_type: z.ZodNullable<z.ZodString>;
26
26
  sparse_tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
27
27
  sparse_values: z.ZodArray<z.ZodNumber>;
28
28
  sparse_indices: z.ZodArray<z.ZodNumber>;
29
- }, z.core.$strip>]>>;
29
+ }, z.core.$loose>]>>;
30
30
  model: z.ZodNullable<z.ZodString>;
31
31
  usage: z.ZodNullable<z.ZodObject<{
32
32
  total_tokens: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>;
34
- }, z.core.$strip>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
35
  declare const pineconeEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  model: string;
37
37
  inputs: {
38
+ [x: string]: unknown;
38
39
  text: string;
39
40
  }[];
40
41
  parameters?: {
@@ -5,7 +5,7 @@ declare const PineconeEmbedInput: z.ZodObject<{
5
5
  model: z.ZodString;
6
6
  inputs: z.ZodArray<z.ZodObject<{
7
7
  text: z.ZodString;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  parameters: z.ZodOptional<z.ZodObject<{
10
10
  truncate: z.ZodOptional<z.ZodEnum<{
11
11
  NONE: "NONE";
@@ -21,20 +21,21 @@ declare const PineconeEmbedOutput: z.ZodObject<{
21
21
  data: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
22
22
  values: z.ZodArray<z.ZodNumber>;
23
23
  vector_type: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>, z.ZodObject<{
24
+ }, z.core.$loose>, z.ZodObject<{
25
25
  vector_type: z.ZodNullable<z.ZodString>;
26
26
  sparse_tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
27
27
  sparse_values: z.ZodArray<z.ZodNumber>;
28
28
  sparse_indices: z.ZodArray<z.ZodNumber>;
29
- }, z.core.$strip>]>>;
29
+ }, z.core.$loose>]>>;
30
30
  model: z.ZodNullable<z.ZodString>;
31
31
  usage: z.ZodNullable<z.ZodObject<{
32
32
  total_tokens: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>;
34
- }, z.core.$strip>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
35
  declare const pineconeEmbed: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  model: string;
37
37
  inputs: {
38
+ [x: string]: unknown;
38
39
  text: string;
39
40
  }[];
40
41
  parameters?: {
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/embed.ts
4
4
  const PineconeEmbedInput = z.object({
5
5
  model: z.string().describe("The embedding model to use (e.g., 'multilingual-e5-large')."),
6
- inputs: z.array(z.object({ text: z.string().describe("The text input to generate embeddings for.") }).describe("Single input item for embedding generation.")).describe("List of input objects to generate embeddings for. Each item contains a text field."),
6
+ inputs: z.array(z.object({ text: z.string().describe("The text input to generate embeddings for.") }).passthrough().describe("Single input item for embedding generation.")).describe("List of input objects to generate embeddings for. Each item contains a text field."),
7
7
  parameters: z.object({
8
8
  truncate: z.enum(["NONE", "END"]).describe("How to truncate input text if it exceeds the model's maximum token length. 'NONE' returns error, 'END' truncates from the end.").optional(),
9
9
  input_type: z.enum(["query", "passage"]).describe("Type of input text. Use 'query' for search queries and 'passage' for documents to be searched.").optional()
@@ -12,14 +12,14 @@ const PineconeEmbedInput = z.object({
12
12
  const PineconeEmbed_DenseEmbeddingSchema = z.object({
13
13
  values: z.array(z.number()).describe("The dense embedding values."),
14
14
  vector_type: z.string().describe("Type of vector, always 'dense' for dense embeddings.").nullable()
15
- }).describe("Dense embedding representation.");
15
+ }).passthrough().describe("Dense embedding representation.");
16
16
  const PineconeEmbed_SparseEmbeddingSchema = z.object({
17
17
  vector_type: z.string().describe("Type of vector, always 'sparse' for sparse embeddings.").nullable(),
18
18
  sparse_tokens: z.array(z.string()).describe("Normalized tokens corresponding to sparse values. Only returned when return_tokens parameter is true.").nullable().optional(),
19
19
  sparse_values: z.array(z.number()).describe("Sparse embedding values."),
20
20
  sparse_indices: z.array(z.number().int()).describe("Indices for sparse values (0 to 4,294,967,295).")
21
- }).describe("Sparse embedding representation.");
22
- const PineconeEmbed_UsageStatsSchema = z.object({ total_tokens: z.number().int().describe("Total number of tokens processed.").nullable() }).describe("Usage statistics for the embedding request.");
21
+ }).passthrough().describe("Sparse embedding representation.");
22
+ const PineconeEmbed_UsageStatsSchema = z.object({ total_tokens: z.number().int().describe("Total number of tokens processed.").nullable() }).passthrough().describe("Usage statistics for the embedding request.");
23
23
  const pineconeEmbed = action("PINECONE_EMBED", {
24
24
  slug: "pinecone-embed",
25
25
  name: "Generate Embeddings",
@@ -29,7 +29,7 @@ const pineconeEmbed = action("PINECONE_EMBED", {
29
29
  data: z.array(z.union([PineconeEmbed_DenseEmbeddingSchema, PineconeEmbed_SparseEmbeddingSchema])).describe("Array of embedding objects (dense or sparse)."),
30
30
  model: z.string().describe("The model used to generate embeddings.").nullable(),
31
31
  usage: PineconeEmbed_UsageStatsSchema.nullable()
32
- }).describe("Response schema for embedding generation.")
32
+ }).passthrough().describe("Response schema for embedding generation.")
33
33
  });
34
34
  //#endregion
35
35
  export { pineconeEmbed };