@keystrokehq/pinecone 0.1.2 → 0.1.4

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 (309) 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 +13 -13
  46. package/dist/actions/create-index-for-model.d.mts +13 -13
  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 +4 -4
  58. package/dist/actions/create-index.d.mts +4 -4
  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/dist/catalog.cjs +1 -1
  304. package/dist/catalog.cjs.map +1 -1
  305. package/dist/catalog.d.cts +1 -1
  306. package/dist/catalog.d.mts +1 -1
  307. package/dist/catalog.mjs +1 -1
  308. package/dist/catalog.mjs.map +1 -1
  309. package/package.json +1 -1
@@ -3,12 +3,12 @@ import { z } from "zod";
3
3
  //#region src/actions/chat-completion-assistant.d.ts
4
4
  declare const PineconeChatCompletionAssistantInput: z.ZodObject<{
5
5
  model: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
- filter: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  stream: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
8
  messages: z.ZodArray<z.ZodObject<{
9
9
  role: z.ZodString;
10
10
  content: z.ZodString;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  temperature: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
13
13
  assistant_host: z.ZodString;
14
14
  assistant_name: z.ZodString;
@@ -20,25 +20,26 @@ declare const PineconeChatCompletionAssistantOutput: z.ZodObject<{
20
20
  total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
21
  prompt_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
22
  completion_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
- }, z.core.$strip>>>;
23
+ }, z.core.$loose>>>;
24
24
  choices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
25
  index: z.ZodNullable<z.ZodNumber>;
26
26
  message: z.ZodNullable<z.ZodObject<{
27
27
  role: z.ZodNullable<z.ZodString>;
28
28
  content: z.ZodNullable<z.ZodString>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  finish_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>>;
32
- }, z.core.$strip>;
31
+ }, z.core.$loose>>>>;
32
+ }, z.core.$loose>;
33
33
  declare const pineconeChatCompletionAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  messages: {
35
+ [x: string]: unknown;
35
36
  role: string;
36
37
  content: string;
37
38
  }[];
38
39
  assistant_host: string;
39
40
  assistant_name: string;
40
41
  model?: string | undefined;
41
- filter?: Record<string, never> | undefined;
42
+ filter?: Record<string, unknown> | undefined;
42
43
  stream?: boolean | undefined;
43
44
  temperature?: number | undefined;
44
45
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-assistant.d.mts","names":[],"sources":["../../src/actions/chat-completion-assistant.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;cA0BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA;;;;;;;;WAM1C,MAAA"}
1
+ {"version":3,"file":"chat-completion-assistant.d.mts","names":[],"sources":["../../src/actions/chat-completion-assistant.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;cA0BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA;;;;;;;;;WAM1C,MAAA"}
@@ -3,12 +3,12 @@ import { z } from "zod";
3
3
  //#region src/actions/chat-completion-assistant.ts
4
4
  const PineconeChatCompletionAssistantInput = z.object({
5
5
  model: z.string().default("gpt-4o").describe("The large language model to use for answer generation.").optional(),
6
- filter: z.object({}).describe("Optionally filter which documents can be retrieved using metadata fields.").optional(),
6
+ filter: z.record(z.string(), z.unknown()).describe("Optionally filter which documents can be retrieved using metadata fields.").optional(),
7
7
  stream: z.boolean().default(false).describe("If false, returns a single JSON response. If true, returns a stream of responses.").optional(),
8
8
  messages: z.array(z.object({
9
9
  role: z.string().describe("The role of the message sender. Typically 'user', 'assistant', or 'system'."),
10
10
  content: z.string().describe("The content of the message.")
11
- }).describe("A single message in the chat conversation.")).describe("The list of messages in the conversation, ordered from oldest to newest."),
11
+ }).passthrough().describe("A single message in the chat conversation.")).describe("The list of messages in the conversation, ordered from oldest to newest."),
12
12
  temperature: z.number().default(0).describe("Controls the randomness of the model's output: lower values make responses more deterministic, while higher values increase creativity. Range: 0.0-2.0.").optional(),
13
13
  assistant_host: z.string().describe("The host URL of the assistant. Get this from the list assistants operation."),
14
14
  assistant_name: z.string().describe("The name of the assistant to chat with.")
@@ -17,16 +17,16 @@ const PineconeChatCompletionAssistant_ChatUsageSchema = z.object({
17
17
  total_tokens: z.number().int().describe("Total number of tokens used.").nullable().optional(),
18
18
  prompt_tokens: z.number().int().describe("Number of tokens in the prompt.").nullable().optional(),
19
19
  completion_tokens: z.number().int().describe("Number of tokens in the completion.").nullable().optional()
20
- }).describe("Usage statistics for the chat completion request.");
20
+ }).passthrough().describe("Usage statistics for the chat completion request.");
21
21
  const PineconeChatCompletionAssistant_ChatMessageResponseSchema = z.object({
22
22
  role: z.string().describe("The role of the message sender.").nullable(),
23
23
  content: z.string().describe("The content of the message.").nullable()
24
- }).describe("A message in the chat completion response.");
24
+ }).passthrough().describe("A message in the chat completion response.");
25
25
  const PineconeChatCompletionAssistant_ChatChoiceSchema = z.object({
26
26
  index: z.number().int().describe("The index of this choice in the array of choices.").nullable(),
27
27
  message: PineconeChatCompletionAssistant_ChatMessageResponseSchema.nullable(),
28
28
  finish_reason: z.string().describe("The reason the model stopped generating tokens.").nullable().optional()
29
- }).describe("A single choice in the chat completion response.");
29
+ }).passthrough().describe("A single choice in the chat completion response.");
30
30
  const pineconeChatCompletionAssistant = action("PINECONE_CHAT_COMPLETION_ASSISTANT", {
31
31
  slug: "pinecone-chat-completion-assistant",
32
32
  name: "Chat with Assistant",
@@ -37,7 +37,7 @@ const pineconeChatCompletionAssistant = action("PINECONE_CHAT_COMPLETION_ASSISTA
37
37
  model: z.string().describe("The model used for the chat completion.").nullable().optional(),
38
38
  usage: PineconeChatCompletionAssistant_ChatUsageSchema.nullable().optional(),
39
39
  choices: z.array(PineconeChatCompletionAssistant_ChatChoiceSchema).describe("Array of chat completion choices.").nullable().optional()
40
- }).describe("Response from the chat completion assistant.")
40
+ }).passthrough().describe("Response from the chat completion assistant.")
41
41
  });
42
42
  //#endregion
43
43
  export { pineconeChatCompletionAssistant };
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-assistant.mjs","names":[],"sources":["../../src/actions/chat-completion-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeChatCompletionAssistantInput = z.object({\n model: z.string().default(\"gpt-4o\").describe(\"The large language model to use for answer generation.\").optional(),\n filter: z.object({}).describe(\"Optionally filter which documents can be retrieved using metadata fields.\").optional(),\n stream: z.boolean().default(false).describe(\"If false, returns a single JSON response. If true, returns a stream of responses.\").optional(),\n messages: z.array(z.object({\n role: z.string().describe(\"The role of the message sender. Typically 'user', 'assistant', or 'system'.\"),\n content: z.string().describe(\"The content of the message.\"),\n}).describe(\"A single message in the chat conversation.\")).describe(\"The list of messages in the conversation, ordered from oldest to newest.\"),\n temperature: z.number().default(0).describe(\"Controls the randomness of the model's output: lower values make responses more deterministic, while higher values increase creativity. Range: 0.0-2.0.\").optional(),\n assistant_host: z.string().describe(\"The host URL of the assistant. Get this from the list assistants operation.\"),\n assistant_name: z.string().describe(\"The name of the assistant to chat with.\"),\n}).describe(\"Request parameters for chatting with a Pinecone assistant.\");\nconst PineconeChatCompletionAssistant_ChatUsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens used.\").nullable().optional(),\n prompt_tokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable().optional(),\n completion_tokens: z.number().int().describe(\"Number of tokens in the completion.\").nullable().optional(),\n}).describe(\"Usage statistics for the chat completion request.\");\nconst PineconeChatCompletionAssistant_ChatMessageResponseSchema = z.object({\n role: z.string().describe(\"The role of the message sender.\").nullable(),\n content: z.string().describe(\"The content of the message.\").nullable(),\n}).describe(\"A message in the chat completion response.\");\nconst PineconeChatCompletionAssistant_ChatChoiceSchema = z.object({\n index: z.number().int().describe(\"The index of this choice in the array of choices.\").nullable(),\n message: PineconeChatCompletionAssistant_ChatMessageResponseSchema.nullable(),\n finish_reason: z.string().describe(\"The reason the model stopped generating tokens.\").nullable().optional(),\n}).describe(\"A single choice in the chat completion response.\");\nexport const PineconeChatCompletionAssistantOutput = z.object({\n id: z.string().describe(\"Unique identifier for the chat completion.\").nullable().optional(),\n model: z.string().describe(\"The model used for the chat completion.\").nullable().optional(),\n usage: PineconeChatCompletionAssistant_ChatUsageSchema.nullable().optional(),\n choices: z.array(PineconeChatCompletionAssistant_ChatChoiceSchema).describe(\"Array of chat completion choices.\").nullable().optional(),\n}).describe(\"Response from the chat completion assistant.\");\n\nexport const pineconeChatCompletionAssistant = action(\"PINECONE_CHAT_COMPLETION_ASSISTANT\", {\n slug: \"pinecone-chat-completion-assistant\",\n name: \"Chat with Assistant\",\n description: \"Tool to chat with a Pinecone assistant through an OpenAI-compatible interface. Use when you need to interact with a Pinecone assistant that has access to indexed documents and can answer questions based on retrieved context.\",\n input: PineconeChatCompletionAssistantInput,\n output: PineconeChatCompletionAssistantOutput,\n});\n"],"m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S,iCAAiC,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,mDAAmD,EAAE,OAAO;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,SAAS,0DAA0D,SAAS;CAC5E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAQ9D,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"chat-completion-assistant.mjs","names":[],"sources":["../../src/actions/chat-completion-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeChatCompletionAssistantInput = z.object({\n model: z.string().default(\"gpt-4o\").describe(\"The large language model to use for answer generation.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Optionally filter which documents can be retrieved using metadata fields.\").optional(),\n stream: z.boolean().default(false).describe(\"If false, returns a single JSON response. If true, returns a stream of responses.\").optional(),\n messages: z.array(z.object({\n role: z.string().describe(\"The role of the message sender. Typically 'user', 'assistant', or 'system'.\"),\n content: z.string().describe(\"The content of the message.\"),\n}).passthrough().describe(\"A single message in the chat conversation.\")).describe(\"The list of messages in the conversation, ordered from oldest to newest.\"),\n temperature: z.number().default(0).describe(\"Controls the randomness of the model's output: lower values make responses more deterministic, while higher values increase creativity. Range: 0.0-2.0.\").optional(),\n assistant_host: z.string().describe(\"The host URL of the assistant. Get this from the list assistants operation.\"),\n assistant_name: z.string().describe(\"The name of the assistant to chat with.\"),\n}).describe(\"Request parameters for chatting with a Pinecone assistant.\");\nconst PineconeChatCompletionAssistant_ChatUsageSchema = z.object({\n total_tokens: z.number().int().describe(\"Total number of tokens used.\").nullable().optional(),\n prompt_tokens: z.number().int().describe(\"Number of tokens in the prompt.\").nullable().optional(),\n completion_tokens: z.number().int().describe(\"Number of tokens in the completion.\").nullable().optional(),\n}).passthrough().describe(\"Usage statistics for the chat completion request.\");\nconst PineconeChatCompletionAssistant_ChatMessageResponseSchema = z.object({\n role: z.string().describe(\"The role of the message sender.\").nullable(),\n content: z.string().describe(\"The content of the message.\").nullable(),\n}).passthrough().describe(\"A message in the chat completion response.\");\nconst PineconeChatCompletionAssistant_ChatChoiceSchema = z.object({\n index: z.number().int().describe(\"The index of this choice in the array of choices.\").nullable(),\n message: PineconeChatCompletionAssistant_ChatMessageResponseSchema.nullable(),\n finish_reason: z.string().describe(\"The reason the model stopped generating tokens.\").nullable().optional(),\n}).passthrough().describe(\"A single choice in the chat completion response.\");\nexport const PineconeChatCompletionAssistantOutput = z.object({\n id: z.string().describe(\"Unique identifier for the chat completion.\").nullable().optional(),\n model: z.string().describe(\"The model used for the chat completion.\").nullable().optional(),\n usage: PineconeChatCompletionAssistant_ChatUsageSchema.nullable().optional(),\n choices: z.array(PineconeChatCompletionAssistant_ChatChoiceSchema).describe(\"Array of chat completion choices.\").nullable().optional(),\n}).passthrough().describe(\"Response from the chat completion assistant.\");\n\nexport const pineconeChatCompletionAssistant = action(\"PINECONE_CHAT_COMPLETION_ASSISTANT\", {\n slug: \"pinecone-chat-completion-assistant\",\n name: \"Chat with Assistant\",\n description: \"Tool to chat with a Pinecone assistant through an OpenAI-compatible interface. Use when you need to interact with a Pinecone assistant that has access to indexed documents and can answer questions based on retrieved context.\",\n input: PineconeChatCompletionAssistantInput,\n output: PineconeChatCompletionAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACzI,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1I,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,0EAA0E;CAC1J,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAChN,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC/E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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
@@ -9,21 +9,21 @@ const PineconeConfigureIndexInput = zod.z.object({
9
9
  }).describe("Pod configuration for pod-based indexes.").optional(),
10
10
  serverless: zod.z.object({ read_capacity: zod.z.object({ mode: zod.z.enum(["OnDemand", "Manual"]).describe("Read capacity mode: 'OnDemand' for automatic scaling or 'Manual' for fixed capacity.") }).describe("Read capacity configuration for serverless indexes.").optional() }).describe("Serverless configuration.").optional()
11
11
  }).describe("Index specification containing pod or serverless configuration.").optional(),
12
- tags: zod.z.object({}).describe("Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.").optional(),
12
+ tags: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.").optional(),
13
13
  index_name: zod.z.string().describe("The name of the index to configure."),
14
14
  api_version: zod.z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
15
15
  deletion_protection: zod.z.enum(["enabled", "disabled"]).describe("Sets deletion protection for the index. Use 'enabled' to prevent accidental deletion or 'disabled' to allow deletion.").optional()
16
16
  }).describe("Request parameters for configuring an existing Pinecone index.");
17
- const PineconeConfigureIndex_ModelIndexEmbedSchema = zod.z.object({ model: zod.z.string().describe("The name of the embedding model.").nullable() }).describe("Configuration for integrated embedding models.");
17
+ const PineconeConfigureIndex_ModelIndexEmbedSchema = zod.z.object({ model: zod.z.string().describe("The name of the embedding model.").nullable() }).passthrough().describe("Configuration for integrated embedding models.");
18
18
  const PineconeConfigureIndex_IndexStatusSchema = zod.z.object({
19
19
  ready: zod.z.boolean().describe("Whether the index is operational.").nullable(),
20
20
  state: zod.z.string().describe("Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).").nullable()
21
- }).describe("Current state of the index.");
21
+ }).passthrough().describe("Current state of the index.");
22
22
  const PineconeConfigureIndexOutput = zod.z.object({
23
23
  host: zod.z.string().describe("Hosted URL address of the index.").nullable(),
24
24
  name: zod.z.string().describe("Index name, 1-45 chars, alphanumeric/hyphens only.").nullable(),
25
- spec: zod.z.object({}).describe("Deployment configuration (serverless, pod, or byoc).").nullable().optional(),
26
- tags: zod.z.object({}).describe("Custom metadata key-value pairs.").nullable().optional(),
25
+ spec: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Deployment configuration (serverless, pod, or byoc).").nullable().optional(),
26
+ tags: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata key-value pairs.").nullable().optional(),
27
27
  embed: PineconeConfigureIndex_ModelIndexEmbedSchema.nullable().optional(),
28
28
  metric: zod.z.string().describe("Distance metric: 'cosine', 'euclidean', or 'dotproduct'.").nullable(),
29
29
  status: PineconeConfigureIndex_IndexStatusSchema.nullable().optional(),
@@ -31,7 +31,7 @@ const PineconeConfigureIndexOutput = zod.z.object({
31
31
  vector_type: zod.z.string().describe("Vector type: 'dense' or 'sparse' (default: 'dense').").nullable().optional(),
32
32
  private_host: zod.z.string().describe("Private endpoint URL if configured.").nullable().optional(),
33
33
  deletion_protection: zod.z.string().describe("Protection status for deletion.").nullable().optional()
34
- }).describe("Response containing the updated index configuration.");
34
+ }).passthrough().describe("Response containing the updated index configuration.");
35
35
  const pineconeConfigureIndex = require_action.action("PINECONE_CONFIGURE_INDEX", {
36
36
  slug: "pinecone-configure-index",
37
37
  name: "Configure Index",
@@ -1 +1 @@
1
- {"version":3,"file":"configure-index.cjs","names":["z","action"],"sources":["../../src/actions/configure-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeConfigureIndexInput = z.object({\n spec: z.object({\n pod: z.object({\n pod_type: z.string().describe(\"Changes the pod size for vertical scaling. Example: 'p1.x2'\").optional(),\n replicas: z.number().int().describe(\"Adjusts the number of replicas for horizontal scaling. Example: 4\").optional(),\n}).describe(\"Pod configuration for pod-based indexes.\").optional(),\n serverless: z.object({\n read_capacity: z.object({\n mode: z.enum([\"OnDemand\", \"Manual\"]).describe(\"Read capacity mode: 'OnDemand' for automatic scaling or 'Manual' for fixed capacity.\"),\n}).describe(\"Read capacity configuration for serverless indexes.\").optional(),\n}).describe(\"Serverless configuration.\").optional(),\n}).describe(\"Index specification containing pod or serverless configuration.\").optional(),\n tags: z.object({}).describe(\"Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.\").optional(),\n index_name: z.string().describe(\"The name of the index to configure.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Sets deletion protection for the index. Use 'enabled' to prevent accidental deletion or 'disabled' to allow deletion.\").optional(),\n}).describe(\"Request parameters for configuring an existing Pinecone index.\");\nconst PineconeConfigureIndex_ModelIndexEmbedSchema = z.object({\n model: z.string().describe(\"The name of the embedding model.\").nullable(),\n}).describe(\"Configuration for integrated embedding models.\");\nconst PineconeConfigureIndex_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 PineconeConfigureIndexOutput = 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: z.object({}).describe(\"Deployment configuration (serverless, pod, or byoc).\").nullable().optional(),\n tags: z.object({}).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeConfigureIndex_ModelIndexEmbedSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeConfigureIndex_IndexStatusSchema.nullable().optional(),\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 the updated index configuration.\");\n\nexport const pineconeConfigureIndex = action(\"PINECONE_CONFIGURE_INDEX\", {\n slug: \"pinecone-configure-index\",\n name: \"Configure Index\",\n description: \"Tool to configure an existing Pinecone index, including pod type, replicas, deletion protection, and tags. Use when you need to scale an index vertically or horizontally, enable/disable deletion protection, or update tags. The change is asynchronous; check index status for completion.\",\n input: PineconeConfigureIndexInput,\n output: PineconeConfigureIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO;EACf,KAAKA,IAAAA,EAAE,OAAO;GACd,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;GACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACpH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/D,YAAYA,IAAAA,EAAE,OAAO,EACrB,eAAeA,IAAAA,EAAE,OAAO,EACxB,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EACtI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClD,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACpK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D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ACnF,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,sDAAsD;AAElE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"configure-index.cjs","names":["z","action"],"sources":["../../src/actions/configure-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeConfigureIndexInput = z.object({\n spec: z.object({\n pod: z.object({\n pod_type: z.string().describe(\"Changes the pod size for vertical scaling. Example: 'p1.x2'\").optional(),\n replicas: z.number().int().describe(\"Adjusts the number of replicas for horizontal scaling. Example: 4\").optional(),\n}).describe(\"Pod configuration for pod-based indexes.\").optional(),\n serverless: z.object({\n read_capacity: z.object({\n mode: z.enum([\"OnDemand\", \"Manual\"]).describe(\"Read capacity mode: 'OnDemand' for automatic scaling or 'Manual' for fixed capacity.\"),\n}).describe(\"Read capacity configuration for serverless indexes.\").optional(),\n}).describe(\"Serverless configuration.\").optional(),\n}).describe(\"Index specification containing pod or serverless configuration.\").optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.\").optional(),\n index_name: z.string().describe(\"The name of the index to configure.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Sets deletion protection for the index. Use 'enabled' to prevent accidental deletion or 'disabled' to allow deletion.\").optional(),\n}).describe(\"Request parameters for configuring an existing Pinecone index.\");\nconst PineconeConfigureIndex_ModelIndexEmbedSchema = z.object({\n model: z.string().describe(\"The name of the embedding model.\").nullable(),\n}).passthrough().describe(\"Configuration for integrated embedding models.\");\nconst PineconeConfigureIndex_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 PineconeConfigureIndexOutput = 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: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (serverless, pod, or byoc).\").nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeConfigureIndex_ModelIndexEmbedSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeConfigureIndex_IndexStatusSchema.nullable().optional(),\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 the updated index configuration.\");\n\nexport const pineconeConfigureIndex = action(\"PINECONE_CONFIGURE_INDEX\", {\n slug: \"pinecone-configure-index\",\n name: \"Configure Index\",\n description: \"Tool to configure an existing Pinecone index, including pod type, replicas, deletion protection, and tags. Use when you need to scale an index vertically or horizontally, enable/disable deletion protection, or update tags. The change is asynchronous; check index status for completion.\",\n input: PineconeConfigureIndexInput,\n output: PineconeConfigureIndexOutput,\n});\n"],"mappings":";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C,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,7 +16,7 @@ declare const PineconeConfigureIndexInput: z.ZodObject<{
16
16
  }, z.core.$strip>>;
17
17
  }, z.core.$strip>>;
18
18
  }, z.core.$strip>>;
19
- tags: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
19
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
20
  index_name: z.ZodString;
21
21
  api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
22
22
  deletion_protection: z.ZodOptional<z.ZodEnum<{
@@ -27,21 +27,21 @@ declare const PineconeConfigureIndexInput: z.ZodObject<{
27
27
  declare const PineconeConfigureIndexOutput: z.ZodObject<{
28
28
  host: z.ZodNullable<z.ZodString>;
29
29
  name: z.ZodNullable<z.ZodString>;
30
- spec: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
- tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
30
+ spec: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  embed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
33
  model: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  metric: z.ZodNullable<z.ZodString>;
36
36
  status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
37
  ready: z.ZodNullable<z.ZodBoolean>;
38
38
  state: z.ZodNullable<z.ZodString>;
39
- }, z.core.$strip>>>;
39
+ }, z.core.$loose>>>;
40
40
  dimension: z.ZodNullable<z.ZodNumber>;
41
41
  vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  private_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- }, z.core.$strip>;
44
+ }, z.core.$loose>;
45
45
  declare const pineconeConfigureIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
46
46
  index_name: string;
47
47
  spec?: {
@@ -55,7 +55,7 @@ declare const pineconeConfigureIndex: import("@keystrokehq/action").WorkflowActi
55
55
  } | undefined;
56
56
  } | undefined;
57
57
  } | undefined;
58
- tags?: Record<string, never> | undefined;
58
+ tags?: Record<string, unknown> | undefined;
59
59
  api_version?: string | undefined;
60
60
  deletion_protection?: "enabled" | "disabled" | undefined;
61
61
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -16,7 +16,7 @@ declare const PineconeConfigureIndexInput: z.ZodObject<{
16
16
  }, z.core.$strip>>;
17
17
  }, z.core.$strip>>;
18
18
  }, z.core.$strip>>;
19
- tags: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
19
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
20
  index_name: z.ZodString;
21
21
  api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
22
22
  deletion_protection: z.ZodOptional<z.ZodEnum<{
@@ -27,21 +27,21 @@ declare const PineconeConfigureIndexInput: z.ZodObject<{
27
27
  declare const PineconeConfigureIndexOutput: z.ZodObject<{
28
28
  host: z.ZodNullable<z.ZodString>;
29
29
  name: z.ZodNullable<z.ZodString>;
30
- spec: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
- tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
30
+ spec: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
32
32
  embed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
33
  model: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  metric: z.ZodNullable<z.ZodString>;
36
36
  status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
37
  ready: z.ZodNullable<z.ZodBoolean>;
38
38
  state: z.ZodNullable<z.ZodString>;
39
- }, z.core.$strip>>>;
39
+ }, z.core.$loose>>>;
40
40
  dimension: z.ZodNullable<z.ZodNumber>;
41
41
  vector_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  private_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  deletion_protection: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- }, z.core.$strip>;
44
+ }, z.core.$loose>;
45
45
  declare const pineconeConfigureIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
46
46
  index_name: string;
47
47
  spec?: {
@@ -55,7 +55,7 @@ declare const pineconeConfigureIndex: import("@keystrokehq/action").WorkflowActi
55
55
  } | undefined;
56
56
  } | undefined;
57
57
  } | undefined;
58
- tags?: Record<string, never> | undefined;
58
+ tags?: Record<string, unknown> | undefined;
59
59
  api_version?: string | undefined;
60
60
  deletion_protection?: "enabled" | "disabled" | undefined;
61
61
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -9,16 +9,16 @@ const PineconeConfigureIndexInput = z.object({
9
9
  }).describe("Pod configuration for pod-based indexes.").optional(),
10
10
  serverless: z.object({ read_capacity: z.object({ mode: z.enum(["OnDemand", "Manual"]).describe("Read capacity mode: 'OnDemand' for automatic scaling or 'Manual' for fixed capacity.") }).describe("Read capacity configuration for serverless indexes.").optional() }).describe("Serverless configuration.").optional()
11
11
  }).describe("Index specification containing pod or serverless configuration.").optional(),
12
- tags: z.object({}).describe("Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.").optional(),
12
+ tags: z.record(z.string(), z.unknown()).describe("Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.").optional(),
13
13
  index_name: z.string().describe("The name of the index to configure."),
14
14
  api_version: z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
15
15
  deletion_protection: z.enum(["enabled", "disabled"]).describe("Sets deletion protection for the index. Use 'enabled' to prevent accidental deletion or 'disabled' to allow deletion.").optional()
16
16
  }).describe("Request parameters for configuring an existing Pinecone index.");
17
- const PineconeConfigureIndex_ModelIndexEmbedSchema = z.object({ model: z.string().describe("The name of the embedding model.").nullable() }).describe("Configuration for integrated embedding models.");
17
+ const PineconeConfigureIndex_ModelIndexEmbedSchema = z.object({ model: z.string().describe("The name of the embedding model.").nullable() }).passthrough().describe("Configuration for integrated embedding models.");
18
18
  const PineconeConfigureIndex_IndexStatusSchema = z.object({
19
19
  ready: z.boolean().describe("Whether the index is operational.").nullable(),
20
20
  state: z.string().describe("Current condition of the index (e.g., Initializing, Ready, ScalingUp, ScalingDown, Terminating).").nullable()
21
- }).describe("Current state of the index.");
21
+ }).passthrough().describe("Current state of the index.");
22
22
  const pineconeConfigureIndex = action("PINECONE_CONFIGURE_INDEX", {
23
23
  slug: "pinecone-configure-index",
24
24
  name: "Configure Index",
@@ -27,8 +27,8 @@ const pineconeConfigureIndex = action("PINECONE_CONFIGURE_INDEX", {
27
27
  output: z.object({
28
28
  host: z.string().describe("Hosted URL address of the index.").nullable(),
29
29
  name: z.string().describe("Index name, 1-45 chars, alphanumeric/hyphens only.").nullable(),
30
- spec: z.object({}).describe("Deployment configuration (serverless, pod, or byoc).").nullable().optional(),
31
- tags: z.object({}).describe("Custom metadata key-value pairs.").nullable().optional(),
30
+ spec: z.record(z.string(), z.unknown()).describe("Deployment configuration (serverless, pod, or byoc).").nullable().optional(),
31
+ tags: z.record(z.string(), z.unknown()).describe("Custom metadata key-value pairs.").nullable().optional(),
32
32
  embed: PineconeConfigureIndex_ModelIndexEmbedSchema.nullable().optional(),
33
33
  metric: z.string().describe("Distance metric: 'cosine', 'euclidean', or 'dotproduct'.").nullable(),
34
34
  status: PineconeConfigureIndex_IndexStatusSchema.nullable().optional(),
@@ -36,7 +36,7 @@ const pineconeConfigureIndex = action("PINECONE_CONFIGURE_INDEX", {
36
36
  vector_type: z.string().describe("Vector type: 'dense' or 'sparse' (default: 'dense').").nullable().optional(),
37
37
  private_host: z.string().describe("Private endpoint URL if configured.").nullable().optional(),
38
38
  deletion_protection: z.string().describe("Protection status for deletion.").nullable().optional()
39
- }).describe("Response containing the updated index configuration.")
39
+ }).passthrough().describe("Response containing the updated index configuration.")
40
40
  });
41
41
  //#endregion
42
42
  export { pineconeConfigureIndex };
@@ -1 +1 @@
1
- {"version":3,"file":"configure-index.mjs","names":[],"sources":["../../src/actions/configure-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeConfigureIndexInput = z.object({\n spec: z.object({\n pod: z.object({\n pod_type: z.string().describe(\"Changes the pod size for vertical scaling. Example: 'p1.x2'\").optional(),\n replicas: z.number().int().describe(\"Adjusts the number of replicas for horizontal scaling. Example: 4\").optional(),\n}).describe(\"Pod configuration for pod-based indexes.\").optional(),\n serverless: z.object({\n read_capacity: z.object({\n mode: z.enum([\"OnDemand\", \"Manual\"]).describe(\"Read capacity mode: 'OnDemand' for automatic scaling or 'Manual' for fixed capacity.\"),\n}).describe(\"Read capacity configuration for serverless indexes.\").optional(),\n}).describe(\"Serverless configuration.\").optional(),\n}).describe(\"Index specification containing pod or serverless configuration.\").optional(),\n tags: z.object({}).describe(\"Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.\").optional(),\n index_name: z.string().describe(\"The name of the index to configure.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Sets deletion protection for the index. Use 'enabled' to prevent accidental deletion or 'disabled' to allow deletion.\").optional(),\n}).describe(\"Request parameters for configuring an existing Pinecone index.\");\nconst PineconeConfigureIndex_ModelIndexEmbedSchema = z.object({\n model: z.string().describe(\"The name of the embedding model.\").nullable(),\n}).describe(\"Configuration for integrated embedding models.\");\nconst PineconeConfigureIndex_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 PineconeConfigureIndexOutput = 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: z.object({}).describe(\"Deployment configuration (serverless, pod, or byoc).\").nullable().optional(),\n tags: z.object({}).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeConfigureIndex_ModelIndexEmbedSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeConfigureIndex_IndexStatusSchema.nullable().optional(),\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 the updated index configuration.\");\n\nexport const pineconeConfigureIndex = action(\"PINECONE_CONFIGURE_INDEX\", {\n slug: \"pinecone-configure-index\",\n name: \"Configure Index\",\n description: \"Tool to configure an existing Pinecone index, including pod type, replicas, deletion protection, and tags. Use when you need to scale an index vertically or horizontally, enable/disable deletion protection, or update tags. The change is asynchronous; check index status for completion.\",\n input: PineconeConfigureIndexInput,\n output: PineconeConfigureIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO;GACd,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;GACtG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACpH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,EACrB,eAAe,EAAE,OAAO,EACxB,MAAM,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EACtI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClD,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACpK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,qBAAqB,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAClM,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+CAA+C,EAAE,OAAO,EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,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s","names":[],"sources":["../../src/actions/configure-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeConfigureIndexInput = z.object({\n spec: z.object({\n pod: z.object({\n pod_type: z.string().describe(\"Changes the pod size for vertical scaling. Example: 'p1.x2'\").optional(),\n replicas: z.number().int().describe(\"Adjusts the number of replicas for horizontal scaling. Example: 4\").optional(),\n}).describe(\"Pod configuration for pod-based indexes.\").optional(),\n serverless: z.object({\n read_capacity: z.object({\n mode: z.enum([\"OnDemand\", \"Manual\"]).describe(\"Read capacity mode: 'OnDemand' for automatic scaling or 'Manual' for fixed capacity.\"),\n}).describe(\"Read capacity configuration for serverless indexes.\").optional(),\n}).describe(\"Serverless configuration.\").optional(),\n}).describe(\"Index specification containing pod or serverless configuration.\").optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Updates custom tags as key-value pairs. Set value to empty string to delete a tag. Keys max 80 chars, values max 120 chars.\").optional(),\n index_name: z.string().describe(\"The name of the index to configure.\"),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n deletion_protection: z.enum([\"enabled\", \"disabled\"]).describe(\"Sets deletion protection for the index. Use 'enabled' to prevent accidental deletion or 'disabled' to allow deletion.\").optional(),\n}).describe(\"Request parameters for configuring an existing Pinecone index.\");\nconst PineconeConfigureIndex_ModelIndexEmbedSchema = z.object({\n model: z.string().describe(\"The name of the embedding model.\").nullable(),\n}).passthrough().describe(\"Configuration for integrated embedding models.\");\nconst PineconeConfigureIndex_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 PineconeConfigureIndexOutput = 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: z.record(z.string(), z.unknown()).describe(\"Deployment configuration (serverless, pod, or byoc).\").nullable().optional(),\n tags: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs.\").nullable().optional(),\n embed: PineconeConfigureIndex_ModelIndexEmbedSchema.nullable().optional(),\n metric: z.string().describe(\"Distance metric: 'cosine', 'euclidean', or 'dotproduct'.\").nullable(),\n status: PineconeConfigureIndex_IndexStatusSchema.nullable().optional(),\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 the updated index configuration.\");\n\nexport const pineconeConfigureIndex = action(\"PINECONE_CONFIGURE_INDEX\", {\n slug: \"pinecone-configure-index\",\n name: \"Configure Index\",\n description: \"Tool to configure an existing Pinecone index, including pod type, replicas, deletion protection, and tags. Use when you need to scale an index vertically or horizontally, enable/disable deletion protection, or update tags. The change is asynchronous; check index status for completion.\",\n input: PineconeConfigureIndexInput,\n output: PineconeConfigureIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO;EACf,KAAK,EAAE,OAAO;GACd,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;GACtG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACpH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,EACrB,eAAe,EAAE,OAAO,EACxB,MAAM,EAAE,KAAK,CAAC,YAAY,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EACtI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SA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AC,SAAS,CAAC,CAAC,SAAS;EAC7H,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,OAAO,6CAA6C,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACjG,QAAQ,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACrE,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,sDAOhB;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/create-assistant.ts
4
4
  const PineconeCreateAssistantInput = zod.z.object({
5
5
  name: zod.z.string().describe("The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'."),
6
- metadata: zod.z.object({}).describe("Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.").optional(),
6
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.").optional(),
7
7
  api_version: zod.z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
8
8
  instructions: zod.z.string().describe("Description or directive for the assistant to apply to all responses. System-level instructions that guide the assistant's behavior.").optional()
9
9
  }).describe("Request parameters for creating a new Pinecone assistant for RAG applications.");
@@ -18,11 +18,11 @@ const PineconeCreateAssistantOutput = zod.z.object({
18
18
  host: zod.z.string().describe("The host where the assistant is deployed.").nullable(),
19
19
  name: zod.z.string().describe("The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.").nullable(),
20
20
  status: PineconeCreateAssistant_AssistantStatusSchema.nullable(),
21
- metadata: zod.z.object({}).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
21
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
22
22
  created_at: zod.z.string().describe("Timestamp when the assistant was created (ISO 8601 format).").nullable(),
23
23
  updated_at: zod.z.string().describe("Timestamp when the assistant was last updated (ISO 8601 format).").nullable(),
24
24
  instructions: zod.z.string().describe("Description or directive for the assistant to apply to all responses.").nullable().optional()
25
- }).describe("Response containing the configuration and status of the newly created Pinecone assistant.");
25
+ }).passthrough().describe("Response containing the configuration and status of the newly created Pinecone assistant.");
26
26
  const pineconeCreateAssistant = require_action.action("PINECONE_CREATE_ASSISTANT", {
27
27
  slug: "pinecone-create-assistant",
28
28
  name: "Create Assistant",
@@ -1 +1 @@
1
- {"version":3,"file":"create-assistant.cjs","names":["z","action"],"sources":["../../src/actions/create-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateAssistantInput = z.object({\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.\").optional(),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses. System-level instructions that guide the assistant's behavior.\").optional(),\n}).describe(\"Request parameters for creating a new Pinecone assistant for RAG applications.\");\nconst PineconeCreateAssistant_AssistantStatusSchema = z.enum([\"Initializing\", \"Failed\", \"Ready\", \"Terminating\", \"InitializationFailed\"]).describe(\"Enum for assistant status values.\");\nexport const PineconeCreateAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: PineconeCreateAssistant_AssistantStatusSchema.nullable(),\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).describe(\"Response containing the configuration and status of the newly created Pinecone assistant.\");\n\nexport const pineconeCreateAssistant = action(\"PINECONE_CREATE_ASSISTANT\", {\n slug: \"pinecone-create-assistant\",\n name: \"Create Assistant\",\n description: \"Tool to create a new Pinecone assistant for RAG (Retrieval-Augmented Generation) applications. Use when you need to initialize a new assistant that can have files uploaded and support chat interactions.\",\n input: PineconeCreateAssistantInput,\n output: PineconeCreateAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;CAC/M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC1K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,gDAAgDA,IAAAA,EAAE,KAAK;CAAC;CAAgB;CAAU;CAAS;CAAe;AAAsB,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACrL,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC1N,QAAQ,8CAA8C,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-assistant.cjs","names":["z","action"],"sources":["../../src/actions/create-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateAssistantInput = z.object({\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.\").optional(),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses. System-level instructions that guide the assistant's behavior.\").optional(),\n}).describe(\"Request parameters for creating a new Pinecone assistant for RAG applications.\");\nconst PineconeCreateAssistant_AssistantStatusSchema = z.enum([\"Initializing\", \"Failed\", \"Ready\", \"Terminating\", \"InitializationFailed\"]).describe(\"Enum for assistant status values.\");\nexport const PineconeCreateAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: PineconeCreateAssistant_AssistantStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of the newly created Pinecone assistant.\");\n\nexport const pineconeCreateAssistant = action(\"PINECONE_CREATE_ASSISTANT\", {\n slug: \"pinecone-create-assistant\",\n name: \"Create Assistant\",\n description: \"Tool to create a new Pinecone assistant for RAG (Retrieval-Augmented Generation) applications. Use when you need to initialize a new assistant that can have files uploaded and support chat interactions.\",\n input: PineconeCreateAssistantInput,\n output: PineconeCreateAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;CAC/M,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SA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reateAssistantInput: z.ZodObject<{
5
5
  name: z.ZodString;
6
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8
8
  instructions: z.ZodOptional<z.ZodString>;
9
9
  }, z.core.$strip>;
@@ -17,14 +17,14 @@ declare const PineconeCreateAssistantOutput: z.ZodObject<{
17
17
  Terminating: "Terminating";
18
18
  InitializationFailed: "InitializationFailed";
19
19
  }>>;
20
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
21
  created_at: z.ZodNullable<z.ZodString>;
22
22
  updated_at: z.ZodNullable<z.ZodString>;
23
23
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const pineconeCreateAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  name: string;
27
- metadata?: Record<string, never> | undefined;
27
+ metadata?: Record<string, unknown> | undefined;
28
28
  api_version?: string | undefined;
29
29
  instructions?: string | undefined;
30
30
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/create-assistant.d.ts
4
4
  declare const PineconeCreateAssistantInput: z.ZodObject<{
5
5
  name: z.ZodString;
6
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  api_version: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8
8
  instructions: z.ZodOptional<z.ZodString>;
9
9
  }, z.core.$strip>;
@@ -17,14 +17,14 @@ declare const PineconeCreateAssistantOutput: z.ZodObject<{
17
17
  Terminating: "Terminating";
18
18
  InitializationFailed: "InitializationFailed";
19
19
  }>>;
20
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
20
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
21
  created_at: z.ZodNullable<z.ZodString>;
22
22
  updated_at: z.ZodNullable<z.ZodString>;
23
23
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const pineconeCreateAssistant: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  name: string;
27
- metadata?: Record<string, never> | undefined;
27
+ metadata?: Record<string, unknown> | undefined;
28
28
  api_version?: string | undefined;
29
29
  instructions?: string | undefined;
30
30
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/create-assistant.ts
4
4
  const PineconeCreateAssistantInput = z.object({
5
5
  name: z.string().describe("The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'."),
6
- metadata: z.object({}).describe("Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.").optional(),
6
+ metadata: z.record(z.string(), z.unknown()).describe("Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.").optional(),
7
7
  api_version: z.string().default("2025-10").describe("Required date-based version header for the Pinecone API.").optional(),
8
8
  instructions: z.string().describe("Description or directive for the assistant to apply to all responses. System-level instructions that guide the assistant's behavior.").optional()
9
9
  }).describe("Request parameters for creating a new Pinecone assistant for RAG applications.");
@@ -23,11 +23,11 @@ const pineconeCreateAssistant = action("PINECONE_CREATE_ASSISTANT", {
23
23
  host: z.string().describe("The host where the assistant is deployed.").nullable(),
24
24
  name: z.string().describe("The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.").nullable(),
25
25
  status: PineconeCreateAssistant_AssistantStatusSchema.nullable(),
26
- metadata: z.object({}).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
26
+ metadata: z.record(z.string(), z.unknown()).describe("Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.").nullable().optional(),
27
27
  created_at: z.string().describe("Timestamp when the assistant was created (ISO 8601 format).").nullable(),
28
28
  updated_at: z.string().describe("Timestamp when the assistant was last updated (ISO 8601 format).").nullable(),
29
29
  instructions: z.string().describe("Description or directive for the assistant to apply to all responses.").nullable().optional()
30
- }).describe("Response containing the configuration and status of the newly created Pinecone assistant.")
30
+ }).passthrough().describe("Response containing the configuration and status of the newly created Pinecone assistant.")
31
31
  });
32
32
  //#endregion
33
33
  export { pineconeCreateAssistant };
@@ -1 +1 @@
1
- {"version":3,"file":"create-assistant.mjs","names":[],"sources":["../../src/actions/create-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateAssistantInput = z.object({\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.\").optional(),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses. System-level instructions that guide the assistant's behavior.\").optional(),\n}).describe(\"Request parameters for creating a new Pinecone assistant for RAG applications.\");\nconst PineconeCreateAssistant_AssistantStatusSchema = z.enum([\"Initializing\", \"Failed\", \"Ready\", \"Terminating\", \"InitializationFailed\"]).describe(\"Enum for assistant status values.\");\nexport const PineconeCreateAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: PineconeCreateAssistant_AssistantStatusSchema.nullable(),\n metadata: z.object({}).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).describe(\"Response containing the configuration and status of the newly created Pinecone assistant.\");\n\nexport const pineconeCreateAssistant = action(\"PINECONE_CREATE_ASSISTANT\", {\n slug: \"pinecone-create-assistant\",\n name: \"Create Assistant\",\n description: \"Tool to create a new Pinecone assistant for RAG (Retrieval-Augmented Generation) applications. Use when you need to initialize a new assistant that can have files uploaded and support chat interactions.\",\n input: PineconeCreateAssistantInput,\n output: PineconeCreateAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;CAC/M,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC1K,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,gDAAgD,EAAE,KAAK;CAAC;CAAgB;CAAU;CAAS;CAAe;AAAsB,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAWrL,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;EAC1N,QAAQ,8CAA8C,SAAS;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,2FAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-assistant.mjs","names":[],"sources":["../../src/actions/create-assistant.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateAssistantInput = z.object({\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. JSON object that can store custom organizational data, tags, and attributes.\").optional(),\n api_version: z.string().default(\"2025-10\").describe(\"Required date-based version header for the Pinecone API.\").optional(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses. System-level instructions that guide the assistant's behavior.\").optional(),\n}).describe(\"Request parameters for creating a new Pinecone assistant for RAG applications.\");\nconst PineconeCreateAssistant_AssistantStatusSchema = z.enum([\"Initializing\", \"Failed\", \"Ready\", \"Terminating\", \"InitializationFailed\"]).describe(\"Enum for assistant status values.\");\nexport const PineconeCreateAssistantOutput = z.object({\n host: z.string().describe(\"The host where the assistant is deployed.\").nullable(),\n name: z.string().describe(\"The name of the assistant. Resource name must be 1-63 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\").nullable(),\n status: PineconeCreateAssistant_AssistantStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata associated with the assistant. Metadata is a JSON object that can store custom organizational data, tags, and attributes.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the assistant was created (ISO 8601 format).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the assistant was last updated (ISO 8601 format).\").nullable(),\n instructions: z.string().describe(\"Description or directive for the assistant to apply to all responses.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the configuration and status of the newly created Pinecone assistant.\");\n\nexport const pineconeCreateAssistant = action(\"PINECONE_CREATE_ASSISTANT\", {\n slug: \"pinecone-create-assistant\",\n name: \"Create Assistant\",\n description: \"Tool to create a new Pinecone assistant for RAG (Retrieval-Augmented Generation) applications. Use when you need to initialize a new assistant that can have files uploaded and support chat interactions.\",\n input: PineconeCreateAssistantInput,\n output: PineconeCreateAssistantOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;CAC/M,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC/L,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,gDAAgD,EAAE,KAAK;CAAC;CAAgB;CAAU;CAAS;CAAe;AAAsB,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAWrL,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;EAC1N,QAAQ,8CAA8C,SAAS;EAC/D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
@@ -18,7 +18,7 @@ const PineconeCreateBackupOutput = zod.z.object({
18
18
  record_count: zod.z.number().int().describe("Total records backed up.").nullable().optional(),
19
19
  namespace_count: zod.z.number().int().describe("Namespaces included.").nullable().optional(),
20
20
  source_index_name: zod.z.string().describe("Name of the source index.").nullable().optional()
21
- }).describe("Response model for a successfully created backup.");
21
+ }).passthrough().describe("Response model for a successfully created backup.");
22
22
  const pineconeCreateBackup = require_action.action("PINECONE_CREATE_BACKUP", {
23
23
  slug: "pinecone-create-backup",
24
24
  name: "Create Backup",
@@ -1 +1 @@
1
- {"version":3,"file":"create-backup.cjs","names":["z","action"],"sources":["../../src/actions/create-backup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PineconeCreateBackupInput = z.object({\n name: z.string().describe(\"User-defined identifier for the backup.\").optional(),\n index_name: z.string().describe(\"Name of the index to backup.\"),\n description: z.string().describe(\"Contextual information about the backup purpose.\").optional(),\n}).describe(\"Request model for creating a backup of a Pinecone index.\");\nexport const PineconeCreateBackupOutput = z.object({\n cloud: z.string().describe(\"Cloud provider location.\").nullable().optional(),\n metric: z.string().describe(\"Distance metric used.\").nullable().optional(),\n region: z.string().describe(\"Geographic region.\").nullable().optional(),\n status: z.string().describe(\"Current backup state (e.g., 'Ready').\").nullable().optional(),\n backup_id: z.string().describe(\"Unique identifier for the created backup.\").nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\").nullable().optional(),\n size_bytes: z.number().int().describe(\"Backup storage size in bytes.\").nullable().optional(),\n record_count: z.number().int().describe(\"Total records backed up.\").nullable().optional(),\n namespace_count: z.number().int().describe(\"Namespaces included.\").nullable().optional(),\n source_index_name: z.string().describe(\"Name of the source index.\").nullable().optional(),\n}).describe(\"Response model for a successfully created backup.\");\n\nexport const pineconeCreateBackup = action(\"PINECONE_CREATE_BACKUP\", {\n slug: \"pinecone-create-backup\",\n name: \"Create Backup\",\n description: \"Tool to create a backup of a Pinecone index for disaster recovery and version control. Use when you need to preserve the current state of an index including vectors, metadata, and configuration.\",\n input: PineconeCreateBackupInput,\n output: PineconeCreateBackupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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port { action } from \"../action\";\n\nexport const PineconeCreateBackupInput = z.object({\n name: z.string().describe(\"User-defined identifier for the backup.\").optional(),\n index_name: z.string().describe(\"Name of the index to backup.\"),\n description: z.string().describe(\"Contextual information about the backup purpose.\").optional(),\n}).describe(\"Request model for creating a backup of a Pinecone index.\");\nexport const PineconeCreateBackupOutput = z.object({\n cloud: z.string().describe(\"Cloud provider location.\").nullable().optional(),\n metric: z.string().describe(\"Distance metric used.\").nullable().optional(),\n region: z.string().describe(\"Geographic region.\").nullable().optional(),\n status: z.string().describe(\"Current backup state (e.g., 'Ready').\").nullable().optional(),\n backup_id: z.string().describe(\"Unique identifier for the created backup.\").nullable().optional(),\n dimension: z.number().int().describe(\"Vector dimensions.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\").nullable().optional(),\n size_bytes: z.number().int().describe(\"Backup storage size in bytes.\").nullable().optional(),\n record_count: z.number().int().describe(\"Total records backed up.\").nullable().optional(),\n namespace_count: z.number().int().describe(\"Namespaces included.\").nullable().optional(),\n source_index_name: z.string().describe(\"Name of the source index.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a successfully created backup.\");\n\nexport const pineconeCreateBackup = action(\"PINECONE_CREATE_BACKUP\", {\n slug: \"pinecone-create-backup\",\n name: \"Create Backup\",\n description: \"Tool to create a backup of a Pinecone index for disaster recovery and version control. Use when you need to preserve the current state of an index including vectors, metadata, and configuration.\",\n input: PineconeCreateBackupInput,\n output: PineconeCreateBackupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,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,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const PineconeCreateBackupOutput: z.ZodObject<{
18
18
  record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  namespace_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
20
  source_index_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const pineconeCreateBackup: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  index_name: string;
24
24
  name?: string | undefined;
@@ -18,7 +18,7 @@ declare const PineconeCreateBackupOutput: z.ZodObject<{
18
18
  record_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
19
  namespace_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
20
  source_index_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const pineconeCreateBackup: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  index_name: string;
24
24
  name?: string | undefined;
@@ -21,7 +21,7 @@ const pineconeCreateBackup = action("PINECONE_CREATE_BACKUP", {
21
21
  record_count: z.number().int().describe("Total records backed up.").nullable().optional(),
22
22
  namespace_count: z.number().int().describe("Namespaces included.").nullable().optional(),
23
23
  source_index_name: z.string().describe("Name of the source index.").nullable().optional()
24
- }).describe("Response model for a successfully created backup.")
24
+ }).passthrough().describe("Response model for a successfully created backup.")
25
25
  });
26
26
  //#endregion
27
27
  export { pineconeCreateBackup };