@keystrokehq/ragie 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-document-from-url.cjs +1 -0
  4. package/dist/actions/create-document-from-url.cjs.map +1 -1
  5. package/dist/actions/create-document-from-url.d.cts +3 -20
  6. package/dist/actions/create-document-from-url.d.cts.map +1 -1
  7. package/dist/actions/create-document-from-url.d.mts +3 -20
  8. package/dist/actions/create-document-from-url.d.mts.map +1 -1
  9. package/dist/actions/create-document-from-url.mjs +1 -0
  10. package/dist/actions/create-document-from-url.mjs.map +1 -1
  11. package/dist/actions/create-document-raw.cjs +1 -0
  12. package/dist/actions/create-document-raw.cjs.map +1 -1
  13. package/dist/actions/create-document-raw.d.cts +3 -19
  14. package/dist/actions/create-document-raw.d.cts.map +1 -1
  15. package/dist/actions/create-document-raw.d.mts +3 -19
  16. package/dist/actions/create-document-raw.d.mts.map +1 -1
  17. package/dist/actions/create-document-raw.mjs +1 -0
  18. package/dist/actions/create-document-raw.mjs.map +1 -1
  19. package/dist/actions/create-document.cjs +1 -0
  20. package/dist/actions/create-document.cjs.map +1 -1
  21. package/dist/actions/create-document.d.cts +3 -27
  22. package/dist/actions/create-document.d.cts.map +1 -1
  23. package/dist/actions/create-document.d.mts +3 -27
  24. package/dist/actions/create-document.d.mts.map +1 -1
  25. package/dist/actions/create-document.mjs +1 -0
  26. package/dist/actions/create-document.mjs.map +1 -1
  27. package/dist/actions/create-instruction.cjs +1 -0
  28. package/dist/actions/create-instruction.cjs.map +1 -1
  29. package/dist/actions/create-instruction.d.cts +3 -21
  30. package/dist/actions/create-instruction.d.cts.map +1 -1
  31. package/dist/actions/create-instruction.d.mts +3 -21
  32. package/dist/actions/create-instruction.d.mts.map +1 -1
  33. package/dist/actions/create-instruction.mjs +1 -0
  34. package/dist/actions/create-instruction.mjs.map +1 -1
  35. package/dist/actions/create-oauth-redirect-url.cjs +1 -0
  36. package/dist/actions/create-oauth-redirect-url.cjs.map +1 -1
  37. package/dist/actions/create-oauth-redirect-url.d.cts +3 -23
  38. package/dist/actions/create-oauth-redirect-url.d.cts.map +1 -1
  39. package/dist/actions/create-oauth-redirect-url.d.mts +3 -23
  40. package/dist/actions/create-oauth-redirect-url.d.mts.map +1 -1
  41. package/dist/actions/create-oauth-redirect-url.mjs +1 -0
  42. package/dist/actions/create-oauth-redirect-url.mjs.map +1 -1
  43. package/dist/actions/create-partition-partitions-post.cjs +1 -0
  44. package/dist/actions/create-partition-partitions-post.cjs.map +1 -1
  45. package/dist/actions/create-partition-partitions-post.d.cts +3 -29
  46. package/dist/actions/create-partition-partitions-post.d.cts.map +1 -1
  47. package/dist/actions/create-partition-partitions-post.d.mts +3 -29
  48. package/dist/actions/create-partition-partitions-post.d.mts.map +1 -1
  49. package/dist/actions/create-partition-partitions-post.mjs +1 -0
  50. package/dist/actions/create-partition-partitions-post.mjs.map +1 -1
  51. package/dist/actions/delete-document.cjs +1 -0
  52. package/dist/actions/delete-document.cjs.map +1 -1
  53. package/dist/actions/delete-document.d.cts +3 -17
  54. package/dist/actions/delete-document.d.cts.map +1 -1
  55. package/dist/actions/delete-document.d.mts +3 -17
  56. package/dist/actions/delete-document.d.mts.map +1 -1
  57. package/dist/actions/delete-document.mjs +1 -0
  58. package/dist/actions/delete-document.mjs.map +1 -1
  59. package/dist/actions/delete-instruction.cjs +1 -0
  60. package/dist/actions/delete-instruction.cjs.map +1 -1
  61. package/dist/actions/delete-instruction.d.cts +3 -15
  62. package/dist/actions/delete-instruction.d.cts.map +1 -1
  63. package/dist/actions/delete-instruction.d.mts +3 -15
  64. package/dist/actions/delete-instruction.d.mts.map +1 -1
  65. package/dist/actions/delete-instruction.mjs +1 -0
  66. package/dist/actions/delete-instruction.mjs.map +1 -1
  67. package/dist/actions/delete-partition.cjs +1 -0
  68. package/dist/actions/delete-partition.cjs.map +1 -1
  69. package/dist/actions/delete-partition.d.cts +3 -16
  70. package/dist/actions/delete-partition.d.cts.map +1 -1
  71. package/dist/actions/delete-partition.d.mts +3 -16
  72. package/dist/actions/delete-partition.d.mts.map +1 -1
  73. package/dist/actions/delete-partition.mjs +1 -0
  74. package/dist/actions/delete-partition.mjs.map +1 -1
  75. package/dist/actions/get-document-chunk-content.cjs +1 -0
  76. package/dist/actions/get-document-chunk-content.cjs.map +1 -1
  77. package/dist/actions/get-document-chunk-content.d.cts +3 -20
  78. package/dist/actions/get-document-chunk-content.d.cts.map +1 -1
  79. package/dist/actions/get-document-chunk-content.d.mts +3 -20
  80. package/dist/actions/get-document-chunk-content.d.mts.map +1 -1
  81. package/dist/actions/get-document-chunk-content.mjs +1 -0
  82. package/dist/actions/get-document-chunk-content.mjs.map +1 -1
  83. package/dist/actions/get-document-chunk.cjs +1 -0
  84. package/dist/actions/get-document-chunk.cjs.map +1 -1
  85. package/dist/actions/get-document-chunk.d.cts +3 -17
  86. package/dist/actions/get-document-chunk.d.cts.map +1 -1
  87. package/dist/actions/get-document-chunk.d.mts +3 -17
  88. package/dist/actions/get-document-chunk.d.mts.map +1 -1
  89. package/dist/actions/get-document-chunk.mjs +1 -0
  90. package/dist/actions/get-document-chunk.mjs.map +1 -1
  91. package/dist/actions/get-document-chunks.cjs +1 -0
  92. package/dist/actions/get-document-chunks.cjs.map +1 -1
  93. package/dist/actions/get-document-chunks.d.cts +3 -20
  94. package/dist/actions/get-document-chunks.d.cts.map +1 -1
  95. package/dist/actions/get-document-chunks.d.mts +3 -20
  96. package/dist/actions/get-document-chunks.d.mts.map +1 -1
  97. package/dist/actions/get-document-chunks.mjs +1 -0
  98. package/dist/actions/get-document-chunks.mjs.map +1 -1
  99. package/dist/actions/get-document-content.cjs +1 -0
  100. package/dist/actions/get-document-content.cjs.map +1 -1
  101. package/dist/actions/get-document-content.d.cts +3 -19
  102. package/dist/actions/get-document-content.d.cts.map +1 -1
  103. package/dist/actions/get-document-content.d.mts +3 -19
  104. package/dist/actions/get-document-content.d.mts.map +1 -1
  105. package/dist/actions/get-document-content.mjs +1 -0
  106. package/dist/actions/get-document-content.mjs.map +1 -1
  107. package/dist/actions/get-document-summary.cjs +1 -0
  108. package/dist/actions/get-document-summary.cjs.map +1 -1
  109. package/dist/actions/get-document-summary.d.cts +3 -16
  110. package/dist/actions/get-document-summary.d.cts.map +1 -1
  111. package/dist/actions/get-document-summary.d.mts +3 -16
  112. package/dist/actions/get-document-summary.d.mts.map +1 -1
  113. package/dist/actions/get-document-summary.mjs +1 -0
  114. package/dist/actions/get-document-summary.mjs.map +1 -1
  115. package/dist/actions/get-document.cjs +1 -0
  116. package/dist/actions/get-document.cjs.map +1 -1
  117. package/dist/actions/get-document.d.cts +3 -16
  118. package/dist/actions/get-document.d.cts.map +1 -1
  119. package/dist/actions/get-document.d.mts +3 -16
  120. package/dist/actions/get-document.d.mts.map +1 -1
  121. package/dist/actions/get-document.mjs +1 -0
  122. package/dist/actions/get-document.mjs.map +1 -1
  123. package/dist/actions/get-partition.cjs +1 -0
  124. package/dist/actions/get-partition.cjs.map +1 -1
  125. package/dist/actions/get-partition.d.cts +3 -15
  126. package/dist/actions/get-partition.d.cts.map +1 -1
  127. package/dist/actions/get-partition.d.mts +3 -15
  128. package/dist/actions/get-partition.d.mts.map +1 -1
  129. package/dist/actions/get-partition.mjs +1 -0
  130. package/dist/actions/get-partition.mjs.map +1 -1
  131. package/dist/actions/get-response.cjs +1 -0
  132. package/dist/actions/get-response.cjs.map +1 -1
  133. package/dist/actions/get-response.d.cts +3 -15
  134. package/dist/actions/get-response.d.cts.map +1 -1
  135. package/dist/actions/get-response.d.mts +3 -15
  136. package/dist/actions/get-response.d.mts.map +1 -1
  137. package/dist/actions/get-response.mjs +1 -0
  138. package/dist/actions/get-response.mjs.map +1 -1
  139. package/dist/actions/list-connection-source-types.cjs +1 -0
  140. package/dist/actions/list-connection-source-types.cjs.map +1 -1
  141. package/dist/actions/list-connection-source-types.d.cts +3 -13
  142. package/dist/actions/list-connection-source-types.d.cts.map +1 -1
  143. package/dist/actions/list-connection-source-types.d.mts +3 -13
  144. package/dist/actions/list-connection-source-types.d.mts.map +1 -1
  145. package/dist/actions/list-connection-source-types.mjs +1 -0
  146. package/dist/actions/list-connection-source-types.mjs.map +1 -1
  147. package/dist/actions/list-connections-connections-get.cjs +1 -0
  148. package/dist/actions/list-connections-connections-get.cjs.map +1 -1
  149. package/dist/actions/list-connections-connections-get.d.cts +3 -18
  150. package/dist/actions/list-connections-connections-get.d.cts.map +1 -1
  151. package/dist/actions/list-connections-connections-get.d.mts +3 -18
  152. package/dist/actions/list-connections-connections-get.d.mts.map +1 -1
  153. package/dist/actions/list-connections-connections-get.mjs +1 -0
  154. package/dist/actions/list-connections-connections-get.mjs.map +1 -1
  155. package/dist/actions/list-documents.cjs +1 -0
  156. package/dist/actions/list-documents.cjs.map +1 -1
  157. package/dist/actions/list-documents.d.cts +3 -18
  158. package/dist/actions/list-documents.d.cts.map +1 -1
  159. package/dist/actions/list-documents.d.mts +3 -18
  160. package/dist/actions/list-documents.d.mts.map +1 -1
  161. package/dist/actions/list-documents.mjs +1 -0
  162. package/dist/actions/list-documents.mjs.map +1 -1
  163. package/dist/actions/list-entities-by-document.cjs +1 -0
  164. package/dist/actions/list-entities-by-document.cjs.map +1 -1
  165. package/dist/actions/list-entities-by-document.d.cts +3 -18
  166. package/dist/actions/list-entities-by-document.d.cts.map +1 -1
  167. package/dist/actions/list-entities-by-document.d.mts +3 -18
  168. package/dist/actions/list-entities-by-document.d.mts.map +1 -1
  169. package/dist/actions/list-entities-by-document.mjs +1 -0
  170. package/dist/actions/list-entities-by-document.mjs.map +1 -1
  171. package/dist/actions/list-entities-by-instruction.cjs +1 -0
  172. package/dist/actions/list-entities-by-instruction.cjs.map +1 -1
  173. package/dist/actions/list-entities-by-instruction.d.cts +3 -18
  174. package/dist/actions/list-entities-by-instruction.d.cts.map +1 -1
  175. package/dist/actions/list-entities-by-instruction.d.mts +3 -18
  176. package/dist/actions/list-entities-by-instruction.d.mts.map +1 -1
  177. package/dist/actions/list-entities-by-instruction.mjs +1 -0
  178. package/dist/actions/list-entities-by-instruction.mjs.map +1 -1
  179. package/dist/actions/list-instructions.cjs +1 -0
  180. package/dist/actions/list-instructions.cjs.map +1 -1
  181. package/dist/actions/list-instructions.d.cts +3 -13
  182. package/dist/actions/list-instructions.d.cts.map +1 -1
  183. package/dist/actions/list-instructions.d.mts +3 -13
  184. package/dist/actions/list-instructions.d.mts.map +1 -1
  185. package/dist/actions/list-instructions.mjs +1 -0
  186. package/dist/actions/list-instructions.mjs.map +1 -1
  187. package/dist/actions/list-partitions.cjs +1 -0
  188. package/dist/actions/list-partitions.cjs.map +1 -1
  189. package/dist/actions/list-partitions.d.cts +3 -16
  190. package/dist/actions/list-partitions.d.cts.map +1 -1
  191. package/dist/actions/list-partitions.d.mts +3 -16
  192. package/dist/actions/list-partitions.d.mts.map +1 -1
  193. package/dist/actions/list-partitions.mjs +1 -0
  194. package/dist/actions/list-partitions.mjs.map +1 -1
  195. package/dist/actions/patch-document-metadata.cjs +1 -0
  196. package/dist/actions/patch-document-metadata.cjs.map +1 -1
  197. package/dist/actions/patch-document-metadata.d.cts +3 -18
  198. package/dist/actions/patch-document-metadata.d.cts.map +1 -1
  199. package/dist/actions/patch-document-metadata.d.mts +3 -18
  200. package/dist/actions/patch-document-metadata.d.mts.map +1 -1
  201. package/dist/actions/patch-document-metadata.mjs +1 -0
  202. package/dist/actions/patch-document-metadata.mjs.map +1 -1
  203. package/dist/actions/retrieve.cjs +1 -0
  204. package/dist/actions/retrieve.cjs.map +1 -1
  205. package/dist/actions/retrieve.d.cts +3 -21
  206. package/dist/actions/retrieve.d.cts.map +1 -1
  207. package/dist/actions/retrieve.d.mts +3 -21
  208. package/dist/actions/retrieve.d.mts.map +1 -1
  209. package/dist/actions/retrieve.mjs +1 -0
  210. package/dist/actions/retrieve.mjs.map +1 -1
  211. package/dist/actions/set-partition-limits.cjs +1 -0
  212. package/dist/actions/set-partition-limits.cjs.map +1 -1
  213. package/dist/actions/set-partition-limits.d.cts +3 -27
  214. package/dist/actions/set-partition-limits.d.cts.map +1 -1
  215. package/dist/actions/set-partition-limits.d.mts +3 -27
  216. package/dist/actions/set-partition-limits.d.mts.map +1 -1
  217. package/dist/actions/set-partition-limits.mjs +1 -0
  218. package/dist/actions/set-partition-limits.mjs.map +1 -1
  219. package/dist/actions/update-document-from-url.cjs +1 -0
  220. package/dist/actions/update-document-from-url.cjs.map +1 -1
  221. package/dist/actions/update-document-from-url.d.cts +3 -21
  222. package/dist/actions/update-document-from-url.d.cts.map +1 -1
  223. package/dist/actions/update-document-from-url.d.mts +3 -21
  224. package/dist/actions/update-document-from-url.d.mts.map +1 -1
  225. package/dist/actions/update-document-from-url.mjs +1 -0
  226. package/dist/actions/update-document-from-url.mjs.map +1 -1
  227. package/dist/actions/update-document-raw.cjs +1 -0
  228. package/dist/actions/update-document-raw.cjs.map +1 -1
  229. package/dist/actions/update-document-raw.d.cts +3 -16
  230. package/dist/actions/update-document-raw.d.cts.map +1 -1
  231. package/dist/actions/update-document-raw.d.mts +3 -16
  232. package/dist/actions/update-document-raw.d.mts.map +1 -1
  233. package/dist/actions/update-document-raw.mjs +1 -0
  234. package/dist/actions/update-document-raw.mjs.map +1 -1
  235. package/dist/actions/update-instruction.cjs +1 -0
  236. package/dist/actions/update-instruction.cjs.map +1 -1
  237. package/dist/actions/update-instruction.d.cts +3 -16
  238. package/dist/actions/update-instruction.d.cts.map +1 -1
  239. package/dist/actions/update-instruction.d.mts +3 -16
  240. package/dist/actions/update-instruction.d.mts.map +1 -1
  241. package/dist/actions/update-instruction.mjs +1 -0
  242. package/dist/actions/update-instruction.mjs.map +1 -1
  243. package/dist/actions/update-partition.cjs +1 -0
  244. package/dist/actions/update-partition.cjs.map +1 -1
  245. package/dist/actions/update-partition.d.cts +3 -18
  246. package/dist/actions/update-partition.d.cts.map +1 -1
  247. package/dist/actions/update-partition.d.mts +3 -18
  248. package/dist/actions/update-partition.d.mts.map +1 -1
  249. package/dist/actions/update-partition.mjs +1 -0
  250. package/dist/actions/update-partition.mjs.map +1 -1
  251. package/dist/app.cjs +2 -2
  252. package/dist/app.cjs.map +1 -1
  253. package/dist/app.d.cts +4 -6
  254. package/dist/app.d.cts.map +1 -1
  255. package/dist/app.d.mts +4 -6
  256. package/dist/app.d.mts.map +1 -1
  257. package/dist/app.mjs +0 -1
  258. package/dist/app.mjs.map +1 -1
  259. package/dist/index.d.cts +1 -1
  260. package/dist/index.d.mts +1 -1
  261. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-instruction.mjs","names":[],"sources":["../../src/actions/create-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateInstructionInput = z.object({\n name: z.string().describe(\"Unique identifier for the instruction\"),\n scope: z.enum([\"document\", \"chunk\"]).default(\"chunk\").describe(\"Scope of instruction: 'document' for full analysis, 'chunk' for granular search (default: 'chunk')\").optional(),\n active: z.boolean().default(true).describe(\"Whether instruction applies to new/updated documents (default: true)\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Optional metadata filter matching document metadata before applying instruction\").optional(),\n prompt: z.string().describe(\"Natural language instruction which will be applied to documents as they are created and updated\"),\n partition: z.string().describe(\"Optional partition identifier to scope instruction to specific partition\").optional(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining the entity structure generated by the instruction\"),\n}).describe(\"Request model for creating a new instruction in Ragie.\");\nexport const RagieCreateInstructionOutput = z.object({\n id: z.string().describe(\"Unique instruction identifier (UUID)\").nullable(),\n name: z.string().describe(\"Instruction name\").nullable(),\n scope: z.string().describe(\"Scope: 'document' or 'chunk'\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Applied metadata filter (if any)\").nullable().optional(),\n prompt: z.string().describe(\"The instruction prompt text\").nullable(),\n partition: z.string().describe(\"Associated partition (if any)\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema for generated entities\"),\n}).passthrough().describe(\"Response model for created instruction.\");\n\nexport const ragieCreateInstruction = action(\"RAGIE_CREATE_INSTRUCTION\", {\n slug: \"ragie-create-instruction\",\n name: \"Create Instruction\",\n description: \"Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated. Use when you need to define structured data extraction or analysis rules for documents in Ragie.\",\n input: RagieCreateInstructionInput,\n output: RagieCreateInstructionOutput,\n});\n"],"mappings":";;AA0BA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1ByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,OAAO,EAAE,KAAK,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC9K,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5H,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC/I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACpH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;CACpI,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACvD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAClE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-instruction.mjs","names":[],"sources":["../../src/actions/create-instruction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieCreateInstructionInput = z.object({\n name: z.string().describe(\"Unique identifier for the instruction\"),\n scope: z.enum([\"document\", \"chunk\"]).default(\"chunk\").describe(\"Scope of instruction: 'document' for full analysis, 'chunk' for granular search (default: 'chunk')\").optional(),\n active: z.boolean().default(true).describe(\"Whether instruction applies to new/updated documents (default: true)\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Optional metadata filter matching document metadata before applying instruction\").optional(),\n prompt: z.string().describe(\"Natural language instruction which will be applied to documents as they are created and updated\"),\n partition: z.string().describe(\"Optional partition identifier to scope instruction to specific partition\").optional(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining the entity structure generated by the instruction\"),\n}).describe(\"Request model for creating a new instruction in Ragie.\");\nexport const RagieCreateInstructionOutput = z.object({\n id: z.string().describe(\"Unique instruction identifier (UUID)\").nullable(),\n name: z.string().describe(\"Instruction name\").nullable(),\n scope: z.string().describe(\"Scope: 'document' or 'chunk'\").nullable(),\n active: z.boolean().describe(\"Active status\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Applied metadata filter (if any)\").nullable().optional(),\n prompt: z.string().describe(\"The instruction prompt text\").nullable(),\n partition: z.string().describe(\"Associated partition (if any)\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema for generated entities\"),\n}).passthrough().describe(\"Response model for created instruction.\");\n\nexport const ragieCreateInstruction: AppAction<\n typeof RagieCreateInstructionInput,\n typeof RagieCreateInstructionOutput,\n typeof ragie.credential\n> = action(\"RAGIE_CREATE_INSTRUCTION\", {\n slug: \"ragie-create-instruction\",\n name: \"Create Instruction\",\n description: \"Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated. Use when you need to define structured data extraction or analysis rules for documents in Ragie.\",\n input: RagieCreateInstructionInput,\n output: RagieCreateInstructionOutput,\n});\n"],"mappings":";;;AA4BA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9ByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,OAAO,EAAE,KAAK,CAAC,YAAY,OAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC9K,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAA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CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-oauth-redirect-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.cjs","names":["z","action"],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\").nullable(),\n}).passthrough().describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-oauth-redirect-url.cjs","names":["z","action"],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieCreateOauthRedirectUrlInput = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\").nullable(),\n}).passthrough().describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl: AppAction<\n typeof RagieCreateOauthRedirectUrlInput,\n typeof RagieCreateOauthRedirectUrlOutput,\n typeof ragie.credential\n> = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-oauth-redirect-url.d.ts
@@ -15,29 +17,7 @@ declare const RagieCreateOauthRedirectUrlInput: z.ZodObject<{
15
17
  declare const RagieCreateOauthRedirectUrlOutput: z.ZodObject<{
16
18
  url: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>;
18
- declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- redirect_uri: string;
20
- mode?: string | undefined;
21
- theme?: string | undefined;
22
- config?: Record<string, unknown> | undefined;
23
- metadata?: Record<string, unknown> | undefined;
24
- partition?: string | undefined;
25
- page_limit?: number | undefined;
26
- source_type?: string | undefined;
27
- authenticator_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>;
20
+ declare const ragieCreateOauthRedirectUrl: AppAction<typeof RagieCreateOauthRedirectUrlInput, typeof RagieCreateOauthRedirectUrlOutput, typeof ragie.credential>;
41
21
  //#endregion
42
22
  export { ragieCreateOauthRedirectUrl };
43
23
  //# sourceMappingURL=create-oauth-redirect-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.d.cts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"create-oauth-redirect-url.d.cts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-oauth-redirect-url.d.ts
@@ -15,29 +17,7 @@ declare const RagieCreateOauthRedirectUrlInput: z.ZodObject<{
15
17
  declare const RagieCreateOauthRedirectUrlOutput: z.ZodObject<{
16
18
  url: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>;
18
- declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- redirect_uri: string;
20
- mode?: string | undefined;
21
- theme?: string | undefined;
22
- config?: Record<string, unknown> | undefined;
23
- metadata?: Record<string, unknown> | undefined;
24
- partition?: string | undefined;
25
- page_limit?: number | undefined;
26
- source_type?: string | undefined;
27
- authenticator_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- generic_api_key: z.ZodString;
40
- }, z.core.$strip>>]>;
20
+ declare const ragieCreateOauthRedirectUrl: AppAction<typeof RagieCreateOauthRedirectUrlInput, typeof RagieCreateOauthRedirectUrlOutput, typeof ragie.credential>;
41
21
  //#endregion
42
22
  export { ragieCreateOauthRedirectUrl };
43
23
  //# sourceMappingURL=create-oauth-redirect-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.d.mts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"create-oauth-redirect-url.d.mts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ragieCreateOauthRedirectUrl = action("RAGIE_CREATE_OAUTH_REDIRECT_URL", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-oauth-redirect-url.mjs","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\").nullable(),\n}).passthrough().describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;AAmBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACrJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,gFASH;CACP,QAT+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-oauth-redirect-url.mjs","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieCreateOauthRedirectUrlInput = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\").nullable(),\n}).passthrough().describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl: AppAction<\n typeof RagieCreateOauthRedirectUrlInput,\n typeof RagieCreateOauthRedirectUrlOutput,\n typeof ragie.credential\n> = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACrJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,gFAaH;CACP,QAb+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-partition-partitions-post.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-partition-partitions-post.cjs","names":["z","action"],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreatePartitionPartitionsPostInput = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).passthrough().describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).passthrough().describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).passthrough().describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreatePartitionPartitionsPostInput,\n output: RagieCreatePartitionPartitionsPostOutput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AAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-partition-partitions-post.cjs","names":["z","action"],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieCreatePartitionPartitionsPostInput = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).passthrough().describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).passthrough().describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).passthrough().describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost: AppAction<\n typeof RagieCreatePartitionPartitionsPostInput,\n typeof RagieCreatePartitionPartitionsPostOutput,\n typeof ragie.credential\n> = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreatePartitionPartitionsPostInput,\n output: RagieCreatePartitionPartitionsPostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAChN,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC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AAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-partition-partitions-post.d.ts
@@ -67,35 +69,7 @@ declare const RagieCreatePartitionPartitionsPostOutput: z.ZodObject<{
67
69
  metadata_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
68
70
  limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
71
  }, z.core.$loose>;
70
- declare const ragieCreatePartitionPartitionsPost: import("@keystrokehq/action").WorkflowActionDefinition<{
71
- name: string;
72
- description?: string | undefined;
73
- metadata_schema?: Record<string, unknown> | undefined;
74
- media_hosted_limit_max?: number | undefined;
75
- pages_hosted_limit_max?: number | undefined;
76
- media_streamed_limit_max?: number | undefined;
77
- audio_processed_limit_max?: number | undefined;
78
- pages_processed_limit_max?: number | undefined;
79
- video_processed_limit_max?: number | undefined;
80
- media_hosted_limit_monthly?: number | undefined;
81
- pages_hosted_limit_monthly?: number | undefined;
82
- media_streamed_limit_monthly?: number | undefined;
83
- audio_processed_limit_monthly?: number | undefined;
84
- pages_processed_limit_monthly?: number | undefined;
85
- video_processed_limit_monthly?: number | undefined;
86
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
87
- connectionId: z.ZodString;
88
- entityId: z.ZodString;
89
- instanceId: z.ZodString;
90
- }, z.core.$strip>, z.ZodObject<{
91
- generic_api_key: z.ZodString;
92
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
93
- connectionId: z.ZodString;
94
- entityId: z.ZodString;
95
- instanceId: z.ZodString;
96
- }, z.core.$strip>, z.ZodObject<{
97
- generic_api_key: z.ZodString;
98
- }, z.core.$strip>>]>;
72
+ declare const ragieCreatePartitionPartitionsPost: AppAction<typeof RagieCreatePartitionPartitionsPostInput, typeof RagieCreatePartitionPartitionsPostOutput, typeof ragie.credential>;
99
73
  //#endregion
100
74
  export { ragieCreatePartitionPartitionsPost };
101
75
  //# sourceMappingURL=create-partition-partitions-post.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-partition-partitions-post.d.cts","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA4CvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"create-partition-partitions-post.d.cts","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA4CvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-partition-partitions-post.d.ts
@@ -67,35 +69,7 @@ declare const RagieCreatePartitionPartitionsPostOutput: z.ZodObject<{
67
69
  metadata_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
68
70
  limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
71
  }, z.core.$loose>;
70
- declare const ragieCreatePartitionPartitionsPost: import("@keystrokehq/action").WorkflowActionDefinition<{
71
- name: string;
72
- description?: string | undefined;
73
- metadata_schema?: Record<string, unknown> | undefined;
74
- media_hosted_limit_max?: number | undefined;
75
- pages_hosted_limit_max?: number | undefined;
76
- media_streamed_limit_max?: number | undefined;
77
- audio_processed_limit_max?: number | undefined;
78
- pages_processed_limit_max?: number | undefined;
79
- video_processed_limit_max?: number | undefined;
80
- media_hosted_limit_monthly?: number | undefined;
81
- pages_hosted_limit_monthly?: number | undefined;
82
- media_streamed_limit_monthly?: number | undefined;
83
- audio_processed_limit_monthly?: number | undefined;
84
- pages_processed_limit_monthly?: number | undefined;
85
- video_processed_limit_monthly?: number | undefined;
86
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
87
- connectionId: z.ZodString;
88
- entityId: z.ZodString;
89
- instanceId: z.ZodString;
90
- }, z.core.$strip>, z.ZodObject<{
91
- generic_api_key: z.ZodString;
92
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
93
- connectionId: z.ZodString;
94
- entityId: z.ZodString;
95
- instanceId: z.ZodString;
96
- }, z.core.$strip>, z.ZodObject<{
97
- generic_api_key: z.ZodString;
98
- }, z.core.$strip>>]>;
72
+ declare const ragieCreatePartitionPartitionsPost: AppAction<typeof RagieCreatePartitionPartitionsPostInput, typeof RagieCreatePartitionPartitionsPostOutput, typeof ragie.credential>;
99
73
  //#endregion
100
74
  export { ragieCreatePartitionPartitionsPost };
101
75
  //# sourceMappingURL=create-partition-partitions-post.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-partition-partitions-post.d.mts","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA4CvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"create-partition-partitions-post.d.mts","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA4CvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-partition-partitions-post.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-partition-partitions-post.mjs","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreatePartitionPartitionsPostInput = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).passthrough().describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).passthrough().describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).passthrough().describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreatePartitionPartitionsPostInput,\n output: RagieCreatePartitionPartitionsPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAChN,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5G,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1G,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjH,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClH,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjH,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1G,4B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jI,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAYnE,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,wDAAwD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-partition-partitions-post.mjs","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieCreatePartitionPartitionsPostInput = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).passthrough().describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).passthrough().describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).passthrough().describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).passthrough().describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost: AppAction<\n typeof RagieCreatePartitionPartitionsPostInput,\n typeof RagieCreatePartitionPartitionsPostOutput,\n typeof ragie.credential\n> = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreatePartitionPartitionsPostInput,\n output: RagieCreatePartitionPartitionsPostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAChN,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5G,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1G,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjH,2BAA2B,EAAE,OA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2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-document.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteDocumentInput = z.object({\n async: z.boolean().describe(\"If true, performs document deletion asynchronously. Default is false for synchronous deletion.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to delete.\"),\n}).describe(\"Request model for deleting a document by its unique identifier.\");\nexport const RagieDeleteDocumentOutput = z.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete document action.\");\n\nexport const ragieDeleteDocument = action(\"RAGIE_DELETE_DOCUMENT\", {\n slug: \"ragie-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.\",\n input: RagieDeleteDocumentInput,\n output: RagieDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieDeleteDocumentInput = z.object({\n async: z.boolean().describe(\"If true, performs document deletion asynchronously. Default is false for synchronous deletion.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to delete.\"),\n}).describe(\"Request model for deleting a document by its unique identifier.\");\nexport const RagieDeleteDocumentOutput = z.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete document action.\");\n\nexport const ragieDeleteDocument: AppAction<\n typeof RagieDeleteDocumentInput,\n typeof RagieDeleteDocumentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_DELETE_DOCUMENT\", {\n slug: \"ragie-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.\",\n input: RagieDeleteDocumentInput,\n output: RagieDeleteDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-document.d.ts
@@ -9,23 +11,7 @@ declare const RagieDeleteDocumentInput: z.ZodObject<{
9
11
  declare const RagieDeleteDocumentOutput: z.ZodObject<{
10
12
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, z.core.$loose>;
12
- declare const ragieDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- document_id: string;
14
- async?: boolean | undefined;
15
- partition?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
14
+ declare const ragieDeleteDocument: AppAction<typeof RagieDeleteDocumentInput, typeof RagieDeleteDocumentOutput, typeof ragie.credential>;
29
15
  //#endregion
30
16
  export { ragieDeleteDocument };
31
17
  //# sourceMappingURL=delete-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-document.d.ts
@@ -9,23 +11,7 @@ declare const RagieDeleteDocumentInput: z.ZodObject<{
9
11
  declare const RagieDeleteDocumentOutput: z.ZodObject<{
10
12
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, z.core.$loose>;
12
- declare const ragieDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- document_id: string;
14
- async?: boolean | undefined;
15
- partition?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- generic_api_key: z.ZodString;
22
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
14
+ declare const ragieDeleteDocument: AppAction<typeof RagieDeleteDocumentInput, typeof RagieDeleteDocumentOutput, typeof ragie.credential>;
29
15
  //#endregion
30
16
  export { ragieDeleteDocument };
31
17
  //# sourceMappingURL=delete-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ragieDeleteDocument = action("RAGIE_DELETE_DOCUMENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteDocumentInput = z.object({\n async: z.boolean().describe(\"If true, performs document deletion asynchronously. Default is false for synchronous deletion.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to delete.\"),\n}).describe(\"Request model for deleting a document by its unique identifier.\");\nexport const RagieDeleteDocumentOutput = z.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete document action.\");\n\nexport const ragieDeleteDocument = action(\"RAGIE_DELETE_DOCUMENT\", {\n slug: \"ragie-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.\",\n input: RagieDeleteDocumentInput,\n output: RagieDeleteDocumentOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsC,EAAE,OAAO;EAC/C,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,CAAC,CAAC,CAAC,SAAS,iEASH;CACP,QATuC,EAAE,OAAO,EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieDeleteDocumentInput = z.object({\n async: z.boolean().describe(\"If true, performs document deletion asynchronously. Default is false for synchronous deletion.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to delete.\"),\n}).describe(\"Request model for deleting a document by its unique identifier.\");\nexport const RagieDeleteDocumentOutput = z.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete document action.\");\n\nexport const ragieDeleteDocument: AppAction<\n typeof RagieDeleteDocumentInput,\n typeof RagieDeleteDocumentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_DELETE_DOCUMENT\", {\n slug: \"ragie-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.\",\n input: RagieDeleteDocumentInput,\n output: RagieDeleteDocumentOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,CAAC,CAAC,CAAC,SAAS,iEAaH;CACP,QAbuC,EAAE,OAAO,EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-instruction.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-instruction.cjs","names":["z","action"],"sources":["../../src/actions/delete-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteInstructionInput = z.object({\n instruction_id: z.string().describe(\"The unique identifier (UUID) of the instruction to delete\"),\n}).describe(\"Request model for deleting an instruction by its unique identifier.\");\nexport const RagieDeleteInstructionOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the delete instruction action.\");\n\nexport const ragieDeleteInstruction = action(\"RAGIE_DELETE_INSTRUCTION\", {\n slug: \"ragie-delete-instruction\",\n name: \"Delete Instruction\",\n description: \"Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).\",\n input: RagieDeleteInstructionInput,\n output: RagieDeleteInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-instruction.cjs","names":["z","action"],"sources":["../../src/actions/delete-instruction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieDeleteInstructionInput = z.object({\n instruction_id: z.string().describe(\"The unique identifier (UUID) of the instruction to delete\"),\n}).describe(\"Request model for deleting an instruction by its unique identifier.\");\nexport const RagieDeleteInstructionOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the delete instruction action.\");\n\nexport const ragieDeleteInstruction: AppAction<\n typeof RagieDeleteInstructionInput,\n typeof RagieDeleteInstructionOutput,\n typeof ragie.credential\n> = action(\"RAGIE_DELETE_INSTRUCTION\", {\n slug: \"ragie-delete-instruction\",\n name: \"Delete Instruction\",\n description: \"Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).\",\n input: RagieDeleteInstructionInput,\n output: RagieDeleteInstructionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-instruction.d.ts
@@ -7,21 +9,7 @@ declare const RagieDeleteInstructionInput: z.ZodObject<{
7
9
  declare const RagieDeleteInstructionOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>;
10
- declare const ragieDeleteInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- instruction_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const ragieDeleteInstruction: AppAction<typeof RagieDeleteInstructionInput, typeof RagieDeleteInstructionOutput, typeof ragie.credential>;
25
13
  //#endregion
26
14
  export { ragieDeleteInstruction };
27
15
  //# sourceMappingURL=delete-instruction.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-instruction.d.cts","names":[],"sources":["../../src/actions/delete-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-instruction.d.cts","names":[],"sources":["../../src/actions/delete-instruction.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragie } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-instruction.d.ts
@@ -7,21 +9,7 @@ declare const RagieDeleteInstructionInput: z.ZodObject<{
7
9
  declare const RagieDeleteInstructionOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>;
10
- declare const ragieDeleteInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- instruction_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ragie", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const ragieDeleteInstruction: AppAction<typeof RagieDeleteInstructionInput, typeof RagieDeleteInstructionOutput, typeof ragie.credential>;
25
13
  //#endregion
26
14
  export { ragieDeleteInstruction };
27
15
  //# sourceMappingURL=delete-instruction.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-instruction.d.mts","names":[],"sources":["../../src/actions/delete-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-instruction.d.mts","names":[],"sources":["../../src/actions/delete-instruction.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ragieDeleteInstruction = action("RAGIE_DELETE_INSTRUCTION", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-instruction.mjs","names":[],"sources":["../../src/actions/delete-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteInstructionInput = z.object({\n instruction_id: z.string().describe(\"The unique identifier (UUID) of the instruction to delete\"),\n}).describe(\"Request model for deleting an instruction by its unique identifier.\");\nexport const RagieDeleteInstructionOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the delete instruction action.\");\n\nexport const ragieDeleteInstruction = action(\"RAGIE_DELETE_INSTRUCTION\", {\n slug: \"ragie-delete-instruction\",\n name: \"Delete Instruction\",\n description: \"Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).\",\n input: RagieDeleteInstructionInput,\n output: RagieDeleteInstructionOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-instruction.mjs","names":[],"sources":["../../src/actions/delete-instruction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragie } from \"../app\";\n\nexport const RagieDeleteInstructionInput = z.object({\n instruction_id: z.string().describe(\"The unique identifier (UUID) of the instruction to delete\"),\n}).describe(\"Request model for deleting an instruction by its unique identifier.\");\nexport const RagieDeleteInstructionOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the delete instruction action.\");\n\nexport const ragieDeleteInstruction: AppAction<\n typeof RagieDeleteInstructionInput,\n typeof RagieDeleteInstructionOutput,\n typeof ragie.credential\n> = action(\"RAGIE_DELETE_INSTRUCTION\", {\n slug: \"ragie-delete-instruction\",\n name: \"Delete Instruction\",\n description: \"Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).\",\n input: RagieDeleteInstructionInput,\n output: RagieDeleteInstructionOutput,\n});\n"],"mappings":";;;AAaA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO,EAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEAaH;CACP,QAb0C,EAAE,OAAO,EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-partition.ts