@keystrokehq/ragie 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 -8
  6. package/dist/actions/create-document-from-url.d.cts.map +1 -1
  7. package/dist/actions/create-document-from-url.d.mts +3 -8
  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 -7
  14. package/dist/actions/create-document-raw.d.cts.map +1 -1
  15. package/dist/actions/create-document-raw.d.mts +3 -7
  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 -15
  22. package/dist/actions/create-document.d.cts.map +1 -1
  23. package/dist/actions/create-document.d.mts +3 -15
  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 -9
  30. package/dist/actions/create-instruction.d.cts.map +1 -1
  31. package/dist/actions/create-instruction.d.mts +3 -9
  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 -11
  38. package/dist/actions/create-oauth-redirect-url.d.cts.map +1 -1
  39. package/dist/actions/create-oauth-redirect-url.d.mts +3 -11
  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 -17
  46. package/dist/actions/create-partition-partitions-post.d.cts.map +1 -1
  47. package/dist/actions/create-partition-partitions-post.d.mts +3 -17
  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 -5
  54. package/dist/actions/delete-document.d.cts.map +1 -1
  55. package/dist/actions/delete-document.d.mts +3 -5
  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 -3
  62. package/dist/actions/delete-instruction.d.cts.map +1 -1
  63. package/dist/actions/delete-instruction.d.mts +3 -3
  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 -4
  70. package/dist/actions/delete-partition.d.cts.map +1 -1
  71. package/dist/actions/delete-partition.d.mts +3 -4
  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 -8
  78. package/dist/actions/get-document-chunk-content.d.cts.map +1 -1
  79. package/dist/actions/get-document-chunk-content.d.mts +3 -8
  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 -5
  86. package/dist/actions/get-document-chunk.d.cts.map +1 -1
  87. package/dist/actions/get-document-chunk.d.mts +3 -5
  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 -8
  94. package/dist/actions/get-document-chunks.d.cts.map +1 -1
  95. package/dist/actions/get-document-chunks.d.mts +3 -8
  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 -7
  102. package/dist/actions/get-document-content.d.cts.map +1 -1
  103. package/dist/actions/get-document-content.d.mts +3 -7
  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 -4
  110. package/dist/actions/get-document-summary.d.cts.map +1 -1
  111. package/dist/actions/get-document-summary.d.mts +3 -4
  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 -4
  118. package/dist/actions/get-document.d.cts.map +1 -1
  119. package/dist/actions/get-document.d.mts +3 -4
  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 -3
  126. package/dist/actions/get-partition.d.cts.map +1 -1
  127. package/dist/actions/get-partition.d.mts +3 -3
  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 -3
  134. package/dist/actions/get-response.d.cts.map +1 -1
  135. package/dist/actions/get-response.d.mts +3 -3
  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 -1
  142. package/dist/actions/list-connection-source-types.d.cts.map +1 -1
  143. package/dist/actions/list-connection-source-types.d.mts +3 -1
  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 -6
  150. package/dist/actions/list-connections-connections-get.d.cts.map +1 -1
  151. package/dist/actions/list-connections-connections-get.d.mts +3 -6
  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 -6
  158. package/dist/actions/list-documents.d.cts.map +1 -1
  159. package/dist/actions/list-documents.d.mts +3 -6
  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 -6
  166. package/dist/actions/list-entities-by-document.d.cts.map +1 -1
  167. package/dist/actions/list-entities-by-document.d.mts +3 -6
  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 -6
  174. package/dist/actions/list-entities-by-instruction.d.cts.map +1 -1
  175. package/dist/actions/list-entities-by-instruction.d.mts +3 -6
  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 -1
  182. package/dist/actions/list-instructions.d.cts.map +1 -1
  183. package/dist/actions/list-instructions.d.mts +3 -1
  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 -4
  190. package/dist/actions/list-partitions.d.cts.map +1 -1
  191. package/dist/actions/list-partitions.d.mts +3 -4
  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 -6
  198. package/dist/actions/patch-document-metadata.d.cts.map +1 -1
  199. package/dist/actions/patch-document-metadata.d.mts +3 -6
  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 -9
  206. package/dist/actions/retrieve.d.cts.map +1 -1
  207. package/dist/actions/retrieve.d.mts +3 -9
  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 -15
  214. package/dist/actions/set-partition-limits.d.cts.map +1 -1
  215. package/dist/actions/set-partition-limits.d.mts +3 -15
  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 -9
  222. package/dist/actions/update-document-from-url.d.cts.map +1 -1
  223. package/dist/actions/update-document-from-url.d.mts +3 -9
  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 -4
  230. package/dist/actions/update-document-raw.d.cts.map +1 -1
  231. package/dist/actions/update-document-raw.d.mts +3 -4
  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 -4
  238. package/dist/actions/update-instruction.d.cts.map +1 -1
  239. package/dist/actions/update-instruction.d.mts +3 -4
  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 -6
  246. package/dist/actions/update-partition.d.cts.map +1 -1
  247. package/dist/actions/update-partition.d.mts +3 -6
  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 +5 -2
  252. package/dist/app.cjs.map +1 -1
  253. package/dist/app.d.cts +7 -1
  254. package/dist/app.d.cts.map +1 -1
  255. package/dist/app.d.mts +7 -1
  256. package/dist/app.d.mts.map +1 -1
  257. package/dist/app.mjs +3 -2
  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,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/list-documents.d.ts
@@ -25,12 +27,7 @@ declare const RagieListDocumentsOutput: z.ZodObject<{
25
27
  total_count: z.ZodNullable<z.ZodNumber>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const ragieListDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- cursor?: string | undefined;
30
- filter?: string | undefined;
31
- page_size?: number | undefined;
32
- partition?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const ragieListDocuments: AppAction<typeof RagieListDocumentsInput, typeof RagieListDocumentsOutput, typeof ragie.credential>;
34
31
  //#endregion
35
32
  export { ragieListDocuments };
36
33
  //# sourceMappingURL=list-documents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-documents.d.mts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-documents.d.mts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/list-documents.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-documents.mjs","names":[],"sources":["../../src/actions/list-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListDocumentsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from previous response to get next page.\").optional(),\n filter: z.string().describe(\"Filter expression for documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin. Can combine with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"Scopes request to specific partition. If not provided, default behavior varies by account creation date.\").optional(),\n}).describe(\"Request model for listing documents with pagination and filtering support.\");\nconst RagieListDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n status: z.string().describe(\"Document processing status.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of document metadata.\"),\n partition: z.string().describe(\"Partition the document belongs to.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp.\").nullable(),\n page_count: z.union([z.number().int(), z.number()]).nullable().optional(),\n updated_at: z.string().describe(\"Document last update timestamp.\").nullable(),\n chunk_count: z.number().int().describe(\"Number of chunks the document is split into.\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Document object with metadata and processing information.\");\nconst RagieListDocuments_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for next page. Null if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of documents matching the query.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for document list.\");\nexport const RagieListDocumentsOutput = z.object({\n documents: z.array(RagieListDocuments_DocumentSchema).describe(\"List of documents sorted by created_at descending.\"),\n pagination: RagieListDocuments_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing documents.\");\n\nexport const ragieListDocuments = action(\"RAGIE_LIST_DOCUMENTS\", {\n slug: \"ragie-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents sorted by creation date (descending) with pagination support. Use when you need to browse or retrieve document metadata. Supports filtering and pagination up to 100 items per page.\",\n input: RagieListDocumentsInput,\n output: RagieListDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACvK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,sCAAsC,EAAE,OAAO;CACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD;EACnH,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-documents.mjs","names":[],"sources":["../../src/actions/list-documents.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 RagieListDocumentsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from previous response to get next page.\").optional(),\n filter: z.string().describe(\"Filter expression for documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin. Can combine with AND/OR logic.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"Scopes request to specific partition. If not provided, default behavior varies by account creation date.\").optional(),\n}).describe(\"Request model for listing documents with pagination and filtering support.\");\nconst RagieListDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n status: z.string().describe(\"Document processing status.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of document metadata.\"),\n partition: z.string().describe(\"Partition the document belongs to.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp.\").nullable(),\n page_count: z.union([z.number().int(), z.number()]).nullable().optional(),\n updated_at: z.string().describe(\"Document last update timestamp.\").nullable(),\n chunk_count: z.number().int().describe(\"Number of chunks the document is split into.\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Document object with metadata and processing information.\");\nconst RagieListDocuments_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for next page. Null if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of documents matching the query.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for document list.\");\nexport const RagieListDocumentsOutput = z.object({\n documents: z.array(RagieListDocuments_DocumentSchema).describe(\"List of documents sorted by created_at descending.\"),\n pagination: RagieListDocuments_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing documents.\");\n\nexport const ragieListDocuments: AppAction<\n typeof RagieListDocumentsInput,\n typeof RagieListDocumentsOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_DOCUMENTS\", {\n slug: \"ragie-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents sorted by creation date (descending) with pagination support. Use when you need to browse or retrieve document metadata. Supports filtering and pagination up to 100 items per page.\",\n input: RagieListDocumentsInput,\n output: RagieListDocumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACvK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,sCAAsC,EAAE,OAAO;CACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD;EACnH,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;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/list-entities-by-document.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-document.cjs","names":["z","action"],"sources":["../../src/actions/list-entities-by-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListEntitiesByDocumentInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from a previous response to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page. Must be between 1 and 100. Defaults to 10 if not specified.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to. If omitted, scoped to default partition.\").optional(),\n document_id: z.string().describe(\"The ID of the document from which to retrieve entities. Must be a valid UUID.\"),\n}).describe(\"Request model for listing entities extracted from a specific document.\");\nconst RagieListEntitiesByDocument_EntityItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The extracted entity data as a key-value mapping.\"),\n chunk_id: z.string().describe(\"Optional ID of the chunk if entity is chunk-scoped. None if entity is document-scoped.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the entity was created (ISO 8601 datetime).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the entity was last updated (ISO 8601 datetime).\").nullable(),\n document_id: z.string().describe(\"ID of the document containing this entity.\").nullable(),\n instruction_id: z.string().describe(\"ID of the instruction that generated this entity.\").nullable(),\n}).passthrough().describe(\"Represents a single extracted entity from a document.\");\nconst RagieListEntitiesByDocument_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for the next page of results. None if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available for this document.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the entity list response.\");\nexport const RagieListEntitiesByDocumentOutput = z.object({\n entities: z.array(RagieListEntitiesByDocument_EntityItemSchema).describe(\"List of extracted entities from the document.\"),\n pagination: RagieListEntitiesByDocument_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities from a document.\");\n\nexport const ragieListEntitiesByDocument = action(\"RAGIE_LIST_ENTITIES_BY_DOCUMENT\", {\n slug: \"ragie-list-entities-by-document\",\n name: \"List Entities By Document\",\n description: \"Tool to retrieve all extracted entities from a specific document with pagination support. Use when you need to access structured data that has been extracted from a document by Ragie's entity extraction instructions.\",\n input: RagieListEntitiesByDocumentInput,\n output: RagieListEntitiesByDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,WAAWA,IA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,mDAAmD;AAC7E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,+CAA+C;CACxH,YAAY,6CAA6C,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-entities-by-document.cjs","names":["z","action"],"sources":["../../src/actions/list-entities-by-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 RagieListEntitiesByDocumentInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from a previous response to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page. Must be between 1 and 100. Defaults to 10 if not specified.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to. If omitted, scoped to default partition.\").optional(),\n document_id: z.string().describe(\"The ID of the document from which to retrieve entities. Must be a valid UUID.\"),\n}).describe(\"Request model for listing entities extracted from a specific document.\");\nconst RagieListEntitiesByDocument_EntityItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The extracted entity data as a key-value mapping.\"),\n chunk_id: z.string().describe(\"Optional ID of the chunk if entity is chunk-scoped. None if entity is document-scoped.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the entity was created (ISO 8601 datetime).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the entity was last updated (ISO 8601 datetime).\").nullable(),\n document_id: z.string().describe(\"ID of the document containing this entity.\").nullable(),\n instruction_id: z.string().describe(\"ID of the instruction that generated this entity.\").nullable(),\n}).passthrough().describe(\"Represents a single extracted entity from a document.\");\nconst RagieListEntitiesByDocument_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for the next page of results. None if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available for this document.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the entity list response.\");\nexport const RagieListEntitiesByDocumentOutput = z.object({\n entities: z.array(RagieListEntitiesByDocument_EntityItemSchema).describe(\"List of extracted entities from the document.\"),\n pagination: RagieListEntitiesByDocument_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities from a document.\");\n\nexport const ragieListEntitiesByDocument: AppAction<\n typeof RagieListEntitiesByDocumentInput,\n typeof RagieListEntitiesByDocumentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_ENTITIES_BY_DOCUMENT\", {\n slug: \"ragie-list-entities-by-document\",\n name: \"List Entities By Document\",\n description: \"Tool to retrieve all extracted entities from a specific document with pagination support. Use when you need to access structured data that has been extracted from a document by Ragie's entity extraction instructions.\",\n input: RagieListEntitiesByDocumentInput,\n output: RagieListEntitiesByDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAClH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,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#region src/actions/list-entities-by-document.d.ts
@@ -22,12 +24,7 @@ declare const RagieListEntitiesByDocumentOutput: z.ZodObject<{
22
24
  total_count: z.ZodNullable<z.ZodNumber>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragieListEntitiesByDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- document_id: string;
27
- cursor?: string | undefined;
28
- page_size?: number | undefined;
29
- partition?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const ragieListEntitiesByDocument: AppAction<typeof RagieListEntitiesByDocumentInput, typeof RagieListEntitiesByDocumentOutput, typeof ragie.credential>;
31
28
  //#endregion
32
29
  export { ragieListEntitiesByDocument };
33
30
  //# sourceMappingURL=list-entities-by-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-document.d.cts","names":[],"sources":["../../src/actions/list-entities-by-document.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAmBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-entities-by-document.d.cts","names":[],"sources":["../../src/actions/list-entities-by-document.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAmBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKjC,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/list-entities-by-document.d.ts
@@ -22,12 +24,7 @@ declare const RagieListEntitiesByDocumentOutput: z.ZodObject<{
22
24
  total_count: z.ZodNullable<z.ZodNumber>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragieListEntitiesByDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- document_id: string;
27
- cursor?: string | undefined;
28
- page_size?: number | undefined;
29
- partition?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const ragieListEntitiesByDocument: AppAction<typeof RagieListEntitiesByDocumentInput, typeof RagieListEntitiesByDocumentOutput, typeof ragie.credential>;
31
28
  //#endregion
32
29
  export { ragieListEntitiesByDocument };
33
30
  //# sourceMappingURL=list-entities-by-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-document.d.mts","names":[],"sources":["../../src/actions/list-entities-by-document.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAmBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-entities-by-document.d.mts","names":[],"sources":["../../src/actions/list-entities-by-document.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAmBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKjC,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
  //#region src/actions/list-entities-by-document.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-document.mjs","names":[],"sources":["../../src/actions/list-entities-by-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListEntitiesByDocumentInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from a previous response to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page. Must be between 1 and 100. Defaults to 10 if not specified.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to. If omitted, scoped to default partition.\").optional(),\n document_id: z.string().describe(\"The ID of the document from which to retrieve entities. Must be a valid UUID.\"),\n}).describe(\"Request model for listing entities extracted from a specific document.\");\nconst RagieListEntitiesByDocument_EntityItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The extracted entity data as a key-value mapping.\"),\n chunk_id: z.string().describe(\"Optional ID of the chunk if entity is chunk-scoped. None if entity is document-scoped.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the entity was created (ISO 8601 datetime).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the entity was last updated (ISO 8601 datetime).\").nullable(),\n document_id: z.string().describe(\"ID of the document containing this entity.\").nullable(),\n instruction_id: z.string().describe(\"ID of the instruction that generated this entity.\").nullable(),\n}).passthrough().describe(\"Represents a single extracted entity from a document.\");\nconst RagieListEntitiesByDocument_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for the next page of results. None if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available for this document.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the entity list response.\");\nexport const RagieListEntitiesByDocumentOutput = z.object({\n entities: z.array(RagieListEntitiesByDocument_EntityItemSchema).describe(\"List of extracted entities from the document.\"),\n pagination: RagieListEntitiesByDocument_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities from a document.\");\n\nexport const ragieListEntitiesByDocument = action(\"RAGIE_LIST_ENTITIES_BY_DOCUMENT\", {\n slug: \"ragie-list-entities-by-document\",\n name: \"List Entities By Document\",\n description: \"Tool to retrieve all extracted entities from a specific document with pagination support. Use when you need to access structured data that has been extracted from a document by Ragie's entity extraction instructions.\",\n input: RagieListEntitiesByD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,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,+CAA+C;EACxH,YAAY,6CAA6C,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-entities-by-document.mjs","names":[],"sources":["../../src/actions/list-entities-by-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 RagieListEntitiesByDocumentInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination. Use the next_cursor from a previous response to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page. Must be between 1 and 100. Defaults to 10 if not specified.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to. If omitted, scoped to default partition.\").optional(),\n document_id: z.string().describe(\"The ID of the document from which to retrieve entities. Must be a valid UUID.\"),\n}).describe(\"Request model for listing entities extracted from a specific document.\");\nconst RagieListEntitiesByDocument_EntityItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The extracted entity data as a key-value mapping.\"),\n chunk_id: z.string().describe(\"Optional ID of the chunk if entity is chunk-scoped. None if entity is document-scoped.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the entity was created (ISO 8601 datetime).\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the entity was last updated (ISO 8601 datetime).\").nullable(),\n document_id: z.string().describe(\"ID of the document containing this entity.\").nullable(),\n instruction_id: z.string().describe(\"ID of the instruction that generated this entity.\").nullable(),\n}).passthrough().describe(\"Represents a single extracted entity from a document.\");\nconst RagieListEntitiesByDocument_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for the next page of results. None if no more pages available.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available for this document.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the entity list response.\");\nexport const RagieListEntitiesByDocumentOutput = z.object({\n entities: z.array(RagieListEntitiesByDocument_EntityItemSchema).describe(\"List of extracted entities from the document.\"),\n pagination: RagieListEntitiesByDocument_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities from a document.\");\n\nexport const ragieListEntitiesByDocument: AppAction<\n typeof RagieListEntitiesByDocumentInput,\n typeof RagieListEntitiesByDocumentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_ENTITIES_BY_DOCUMENT\", {\n slug: \"ragie-list-entities-by-document\",\n name: \"List Entities By Document\",\n description: \"Tool to retrieve all extracted entities from a specific document with pagination support. Use when you need to access structured data that has been extracted from a document by Ragie's entity extraction instructions.\",\n input: RagieListEntitiesByDocumentInput,\n output: RagieListEntitiesByDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAClH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,UAAU,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,+CAA+C;EACxH,YAAY,6CAA6C,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;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/list-entities-by-instruction.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-instruction.cjs","names":["z","action"],"sources":["../../src/actions/list-entities-by-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListEntitiesByInstructionInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n instruction_id: z.string().describe(\"The ID of the instruction (UUID format).\"),\n}).describe(\"Request model for listing entities generated by a specific instruction.\");\nconst RagieListEntitiesByInstruction_EntitySchema = z.object({\n id: z.string().describe(\"The unique identifier of the entity (UUID format).\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The entity data generated by the instruction.\"),\n chunk_id: z.string().describe(\"The ID of the chunk within the document (UUID format), if applicable.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the entity was created (ISO 8601 date-time format).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the entity was last updated (ISO 8601 date-time format).\").nullable(),\n document_id: z.string().describe(\"The ID of the document which the entity was produced from (UUID format).\").nullable(),\n instruction_id: z.string().describe(\"The ID of the instruction which generated the entity (UUID format).\").nullable(),\n}).passthrough().describe(\"Represents an entity generated by an instruction.\");\nconst RagieListEntitiesByInstruction_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"The cursor to use for fetching the next page of results. None if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available.\").nullable(),\n}).passthrough().describe(\"Pagination information for the entity list.\");\nexport const RagieListEntitiesByInstructionOutput = z.object({\n entities: z.array(RagieListEntitiesByInstruction_EntitySchema).describe(\"List of entities generated by the instruction.\"),\n pagination: RagieListEntitiesByInstruction_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities generated by a specific instruction.\");\n\nexport const ragieListEntitiesByInstruction = action(\"RAGIE_LIST_ENTITIES_BY_INSTRUCTION\", {\n slug: \"ragie-list-entities-by-instruction\",\n name: \"List Entities by Instruction\",\n description: \"Tool to retrieve entities generated by a specific instruction. Use when you need to fetch entities extracted from documents based on a specific instruction's processing.\",\n input: RagieListEntitiesByInstructionInput,\n output: RagieListEntitiesByInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCA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EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD;CACxH,YAAY,gDAAgD,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-entities-by-instruction.cjs","names":["z","action"],"sources":["../../src/actions/list-entities-by-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 RagieListEntitiesByInstructionInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n instruction_id: z.string().describe(\"The ID of the instruction (UUID format).\"),\n}).describe(\"Request model for listing entities generated by a specific instruction.\");\nconst RagieListEntitiesByInstruction_EntitySchema = z.object({\n id: z.string().describe(\"The unique identifier of the entity (UUID format).\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The entity data generated by the instruction.\"),\n chunk_id: z.string().describe(\"The ID of the chunk within the document (UUID format), if applicable.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the entity was created (ISO 8601 date-time format).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the entity was last updated (ISO 8601 date-time format).\").nullable(),\n document_id: z.string().describe(\"The ID of the document which the entity was produced from (UUID format).\").nullable(),\n instruction_id: z.string().describe(\"The ID of the instruction which generated the entity (UUID format).\").nullable(),\n}).passthrough().describe(\"Represents an entity generated by an instruction.\");\nconst RagieListEntitiesByInstruction_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"The cursor to use for fetching the next page of results. None if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available.\").nullable(),\n}).passthrough().describe(\"Pagination information for the entity list.\");\nexport const RagieListEntitiesByInstructionOutput = z.object({\n entities: z.array(RagieListEntitiesByInstruction_EntitySchema).describe(\"List of entities generated by the instruction.\"),\n pagination: RagieListEntitiesByInstruction_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities generated by a specific instruction.\");\n\nexport const ragieListEntitiesByInstruction: AppAction<\n typeof RagieListEntitiesByInstructionInput,\n typeof RagieListEntitiesByInstructionOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_ENTITIES_BY_INSTRUCTION\", {\n slug: \"ragie-list-entities-by-instruction\",\n name: \"List Entities by Instruction\",\n description: \"Tool to retrieve entities generated by a specific instruction. Use when you need to fetch entities extracted from documents based on a specific instruction's processing.\",\n input: RagieListEntitiesByInstructionInput,\n output: RagieListEntitiesByInstructionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAChF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CA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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/list-entities-by-instruction.d.ts
@@ -22,12 +24,7 @@ declare const RagieListEntitiesByInstructionOutput: z.ZodObject<{
22
24
  total_count: z.ZodNullable<z.ZodNumber>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragieListEntitiesByInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- instruction_id: string;
27
- cursor?: string | undefined;
28
- page_size?: number | undefined;
29
- partition?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const ragieListEntitiesByInstruction: AppAction<typeof RagieListEntitiesByInstructionInput, typeof RagieListEntitiesByInstructionOutput, typeof ragie.credential>;
31
28
  //#endregion
32
29
  export { ragieListEntitiesByInstruction };
33
30
  //# sourceMappingURL=list-entities-by-instruction.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-instruction.d.cts","names":[],"sources":["../../src/actions/list-entities-by-instruction.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-entities-by-instruction.d.cts","names":[],"sources":["../../src/actions/list-entities-by-instruction.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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/list-entities-by-instruction.d.ts
@@ -22,12 +24,7 @@ declare const RagieListEntitiesByInstructionOutput: z.ZodObject<{
22
24
  total_count: z.ZodNullable<z.ZodNumber>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragieListEntitiesByInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- instruction_id: string;
27
- cursor?: string | undefined;
28
- page_size?: number | undefined;
29
- partition?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const ragieListEntitiesByInstruction: AppAction<typeof RagieListEntitiesByInstructionInput, typeof RagieListEntitiesByInstructionOutput, typeof ragie.credential>;
31
28
  //#endregion
32
29
  export { ragieListEntitiesByInstruction };
33
30
  //# sourceMappingURL=list-entities-by-instruction.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-instruction.d.mts","names":[],"sources":["../../src/actions/list-entities-by-instruction.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-entities-by-instruction.d.mts","names":[],"sources":["../../src/actions/list-entities-by-instruction.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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/list-entities-by-instruction.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-entities-by-instruction.mjs","names":[],"sources":["../../src/actions/list-entities-by-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListEntitiesByInstructionInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n instruction_id: z.string().describe(\"The ID of the instruction (UUID format).\"),\n}).describe(\"Request model for listing entities generated by a specific instruction.\");\nconst RagieListEntitiesByInstruction_EntitySchema = z.object({\n id: z.string().describe(\"The unique identifier of the entity (UUID format).\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The entity data generated by the instruction.\"),\n chunk_id: z.string().describe(\"The ID of the chunk within the document (UUID format), if applicable.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the entity was created (ISO 8601 date-time format).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the entity was last updated (ISO 8601 date-time format).\").nullable(),\n document_id: z.string().describe(\"The ID of the document which the entity was produced from (UUID format).\").nullable(),\n instruction_id: z.string().describe(\"The ID of the instruction which generated the entity (UUID format).\").nullable(),\n}).passthrough().describe(\"Represents an entity generated by an instruction.\");\nconst RagieListEntitiesByInstruction_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"The cursor to use for fetching the next page of results. None if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available.\").nullable(),\n}).passthrough().describe(\"Pagination information for the entity list.\");\nexport const RagieListEntitiesByInstructionOutput = z.object({\n entities: z.array(RagieListEntitiesByInstruction_EntitySchema).describe(\"List of entities generated by the instruction.\"),\n pagination: RagieListEntitiesByInstruction_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities generated by a specific instruction.\");\n\nexport const ragieListEntitiesByInstruction = action(\"RAGIE_LIST_ENTITIES_BY_INSTRUCTION\", {\n slug: \"ragie-list-entities-by-instruction\",\n name: \"List Entities by Instruction\",\n description: \"Tool to retrieve entities generated by a specific instruction. Use when you need to fetch entities extracted from documents based on a specific instruction's processing.\",\n input: RagieListEntitiesByInstructionInput,\n output: RagieListEntitiesByInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAChF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,kDAAkD,EAAE,OAAO;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,UAAU,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD;EACxH,YAAY,gDAAgD,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-entities-by-instruction.mjs","names":[],"sources":["../../src/actions/list-entities-by-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 RagieListEntitiesByInstructionInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to fetch the next page of results.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page. Must be between 1 and 100. Default is 10.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n instruction_id: z.string().describe(\"The ID of the instruction (UUID format).\"),\n}).describe(\"Request model for listing entities generated by a specific instruction.\");\nconst RagieListEntitiesByInstruction_EntitySchema = z.object({\n id: z.string().describe(\"The unique identifier of the entity (UUID format).\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The entity data generated by the instruction.\"),\n chunk_id: z.string().describe(\"The ID of the chunk within the document (UUID format), if applicable.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the entity was created (ISO 8601 date-time format).\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the entity was last updated (ISO 8601 date-time format).\").nullable(),\n document_id: z.string().describe(\"The ID of the document which the entity was produced from (UUID format).\").nullable(),\n instruction_id: z.string().describe(\"The ID of the instruction which generated the entity (UUID format).\").nullable(),\n}).passthrough().describe(\"Represents an entity generated by an instruction.\");\nconst RagieListEntitiesByInstruction_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"The cursor to use for fetching the next page of results. None if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of entities available.\").nullable(),\n}).passthrough().describe(\"Pagination information for the entity list.\");\nexport const RagieListEntitiesByInstructionOutput = z.object({\n entities: z.array(RagieListEntitiesByInstruction_EntitySchema).describe(\"List of entities generated by the instruction.\"),\n pagination: RagieListEntitiesByInstruction_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for listing entities generated by a specific instruction.\");\n\nexport const ragieListEntitiesByInstruction: AppAction<\n typeof RagieListEntitiesByInstructionInput,\n typeof RagieListEntitiesByInstructionOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_ENTITIES_BY_INSTRUCTION\", {\n slug: \"ragie-list-entities-by-instruction\",\n name: \"List Entities by Instruction\",\n description: \"Tool to retrieve entities generated by a specific instruction. Use when you need to fetch entities extracted from documents based on a specific instruction's processing.\",\n input: RagieListEntitiesByInstructionInput,\n output: RagieListEntitiesByInstructionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAChF,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,kDAAkD,EAAE,OAAO;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,UAAU,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD;EACxH,YAAY,gDAAgD,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAWhB;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/list-instructions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-instructions.cjs","names":["z","action"],"sources":["../../src/actions/list-instructions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListInstructionsInput = z.object({}).describe(\"Request model for listing instructions. No parameters are required for this request.\");\nconst RagieListInstructions_InstructionItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the instruction (UUID format).\").nullable(),\n name: z.string().describe(\"Unique identifier name for the instruction.\").nullable(),\n scope: z.enum([\"document\", \"chunk\"]).describe(\"Determines the application level. Values: 'document' or 'chunk'.\").nullable(),\n active: z.boolean().describe(\"Indicates whether the instruction is currently active and applies to documents during creation/update.\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter for matching documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin.\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction text that is applied to documents.\").nullable(),\n partition: z.string().describe(\"Partition identifier to scope the instruction to a specific partition.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the instruction was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the instruction was last modified.\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of entities to be extracted. Root must be of object type.\"),\n}).passthrough().describe(\"Schema for a single instruction item in the list.\");\nexport const RagieListInstructionsOutput = z.object({\n instructions: z.array(RagieListInstructions_InstructionItemSchema).describe(\"List of instruction objects.\"),\n}).passthrough().describe(\"Response schema for listing instructions.\");\n\nexport const ragieListInstructions = action(\"RAGIE_LIST_INSTRUCTIONS\", {\n slug: \"ragie-list-instructions\",\n name: \"List Instructions\",\n description: \"Tool to retrieve all instruction records from the Ragie system. Use when you need to view all available instructions that define natural language prompts and entity schemas applied to documents.\",\n input: RagieListInstructionsInput,\n output: RagieListInstructionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AACtJ,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAMA,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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 RagieListInstructionsInput = z.object({}).describe(\"Request model for listing instructions. No parameters are required for this request.\");\nconst RagieListInstructions_InstructionItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the instruction (UUID format).\").nullable(),\n name: z.string().describe(\"Unique identifier name for the instruction.\").nullable(),\n scope: z.enum([\"document\", \"chunk\"]).describe(\"Determines the application level. Values: 'document' or 'chunk'.\").nullable(),\n active: z.boolean().describe(\"Indicates whether the instruction is currently active and applies to documents during creation/update.\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter for matching documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin.\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction text that is applied to documents.\").nullable(),\n partition: z.string().describe(\"Partition identifier to scope the instruction to a specific partition.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the instruction was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the instruction was last modified.\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of entities to be extracted. Root must be of object type.\"),\n}).passthrough().describe(\"Schema for a single instruction item in the list.\");\nexport const RagieListInstructionsOutput = z.object({\n instructions: z.array(RagieListInstructions_InstructionItemSchema).describe(\"List of instruction objects.\"),\n}).passthrough().describe(\"Response schema for listing instructions.\");\n\nexport const ragieListInstructions: AppAction<\n typeof RagieListInstructionsInput,\n typeof RagieListInstructionsOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_INSTRUCTIONS\", {\n slug: \"ragie-list-instructions\",\n name: \"List Instructions\",\n description: \"Tool to retrieve all instruction records from the Ragie system. Use when you need to view all available instructions that define natural language prompts and entity schemas applied to documents.\",\n input: RagieListInstructionsInput,\n output: RagieListInstructionsOutput,\n});\n"],"mappings":";;;;AAMA,MA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AAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/list-instructions.d.ts
@@ -19,7 +21,7 @@ declare const RagieListInstructionsOutput: z.ZodObject<{
19
21
  entity_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const ragieListInstructions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const ragieListInstructions: AppAction<typeof RagieListInstructionsInput, typeof RagieListInstructionsOutput, typeof ragie.credential>;
23
25
  //#endregion
24
26
  export { ragieListInstructions };
25
27
  //# sourceMappingURL=list-instructions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-instructions.d.cts","names":[],"sources":["../../src/actions/list-instructions.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-instructions.d.cts","names":[],"sources":["../../src/actions/list-instructions.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/list-instructions.d.ts
@@ -19,7 +21,7 @@ declare const RagieListInstructionsOutput: z.ZodObject<{
19
21
  entity_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const ragieListInstructions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const ragieListInstructions: AppAction<typeof RagieListInstructionsInput, typeof RagieListInstructionsOutput, typeof ragie.credential>;
23
25
  //#endregion
24
26
  export { ragieListInstructions };
25
27
  //# sourceMappingURL=list-instructions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-instructions.d.mts","names":[],"sources":["../../src/actions/list-instructions.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-instructions.d.mts","names":[],"sources":["../../src/actions/list-instructions.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/list-instructions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-instructions.mjs","names":[],"sources":["../../src/actions/list-instructions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListInstructionsInput = z.object({}).describe(\"Request model for listing instructions. No parameters are required for this request.\");\nconst RagieListInstructions_InstructionItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the instruction (UUID format).\").nullable(),\n name: z.string().describe(\"Unique identifier name for the instruction.\").nullable(),\n scope: z.enum([\"document\", \"chunk\"]).describe(\"Determines the application level. Values: 'document' or 'chunk'.\").nullable(),\n active: z.boolean().describe(\"Indicates whether the instruction is currently active and applies to documents during creation/update.\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter for matching documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin.\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction text that is applied to documents.\").nullable(),\n partition: z.string().describe(\"Partition identifier to scope the instruction to a specific partition.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the instruction was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the instruction was last modified.\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of entities to be extracted. Root must be of object type.\"),\n}).passthrough().describe(\"Schema for a single instruction item in the list.\");\nexport const RagieListInstructionsOutput = z.object({\n instructions: z.array(RagieListInstructions_InstructionItemSchema).describe(\"List of instruction objects.\"),\n}).passthrough().describe(\"Response schema for listing instructions.\");\n\nexport const ragieListInstructions = action(\"RAGIE_LIST_INSTRUCTIONS\", {\n slug: \"ragie-list-instructions\",\n name: \"List Instructions\",\n description: \"Tool to retrieve all instruction records from the Ragie system. Use when you need to view all available instructions that define natural language prompts and entity schemas applied to documents.\",\n input: RagieList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,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-instructions.mjs","names":[],"sources":["../../src/actions/list-instructions.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 RagieListInstructionsInput = z.object({}).describe(\"Request model for listing instructions. No parameters are required for this request.\");\nconst RagieListInstructions_InstructionItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the instruction (UUID format).\").nullable(),\n name: z.string().describe(\"Unique identifier name for the instruction.\").nullable(),\n scope: z.enum([\"document\", \"chunk\"]).describe(\"Determines the application level. Values: 'document' or 'chunk'.\").nullable(),\n active: z.boolean().describe(\"Indicates whether the instruction is currently active and applies to documents during creation/update.\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter for matching documents. Supports operators: $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin.\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction text that is applied to documents.\").nullable(),\n partition: z.string().describe(\"Partition identifier to scope the instruction to a specific partition.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the instruction was created.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the instruction was last modified.\").nullable(),\n entity_schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of entities to be extracted. Root must be of object type.\"),\n}).passthrough().describe(\"Schema for a single instruction item in the list.\");\nexport const RagieListInstructionsOutput = z.object({\n instructions: z.array(RagieListInstructions_InstructionItemSchema).describe(\"List of instruction objects.\"),\n}).passthrough().describe(\"Response schema for listing instructions.\");\n\nexport const ragieListInstructions: AppAction<\n typeof RagieListInstructionsInput,\n typeof RagieListInstructionsOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_INSTRUCTIONS\", {\n slug: \"ragie-list-instructions\",\n name: \"List Instructions\",\n description: \"Tool to retrieve all instruction records from the Ragie system. Use when you need to view all available instructions that define natural language prompts and entity schem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AAY,CAAC,CAAC,SAAS,2CAWhB;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/list-partitions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-partitions.cjs","names":["z","action"],"sources":["../../src/actions/list-partitions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListPartitionsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to retrieve the next page of results\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (must be greater than 0 and less than or equal to 100). Defaults to 10.\").optional(),\n}).describe(\"Request model for listing partitions.\");\nconst RagieListPartitions_PaginationMetadataSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving subsequent pages (null if no more pages)\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of partitions available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nconst RagieListPartitions_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 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(\"Usage limits configuration for a partition.\");\nconst RagieListPartitions_PartitionSchema = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n limits: RagieListPartitions_PartitionLimitsSchema.nullable(),\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(\"Context-awareness status\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema for partition metadata\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when partition exceeded limits\").nullable().optional(),\n}).passthrough().describe(\"Partition object containing details about a single partition.\");\nexport const RagieListPartitionsOutput = z.object({\n pagination: RagieListPartitions_PaginationMetadataSchema.nullable(),\n partitions: z.array(RagieListPartitions_PartitionSchema).describe(\"Array of Partition objects\"),\n}).passthrough().describe(\"Response model for listing partitions.\");\n\nexport const ragieListPartitions = action(\"RAGIE_LIST_PARTITIONS\", {\n slug: \"ragie-list-partitions\",\n name: \"List Partitions\",\n description: \"Tool to retrieve a paginated list of all partitions sorted by name in ascending order. Use when you need to list available partitions with their configurations and limits.\",\n input: RagieListPartitionsInput,\n output: RagieListPartitionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,O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Y,6CAA6C,SAAS;CAClE,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,4BAA4B;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-partitions.cjs","names":["z","action"],"sources":["../../src/actions/list-partitions.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 RagieListPartitionsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to retrieve the next page of results\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (must be greater than 0 and less than or equal to 100). Defaults to 10.\").optional(),\n}).describe(\"Request model for listing partitions.\");\nconst RagieListPartitions_PaginationMetadataSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving subsequent pages (null if no more pages)\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of partitions available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nconst RagieListPartitions_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 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(\"Usage limits configuration for a partition.\");\nconst RagieListPartitions_PartitionSchema = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n limits: RagieListPartitions_PartitionLimitsSchema.nullable(),\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(\"Context-awareness status\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema for partition metadata\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when partition exceeded limits\").nullable().optional(),\n}).passthrough().describe(\"Partition object containing details about a single partition.\");\nexport const RagieListPartitionsOutput = z.object({\n pagination: RagieListPartitions_PaginationMetadataSchema.nullable(),\n partitions: z.array(RagieListPartitions_PartitionSchema).describe(\"Array of Partition objects\"),\n}).passthrough().describe(\"Response model for listing partitions.\");\n\nexport const ragieListPartitions: AppAction<\n typeof RagieListPartitionsInput,\n typeof RagieListPartitionsOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_PARTITIONS\", {\n slug: \"ragie-list-partitions\",\n name: \"List Partitions\",\n description: \"Tool to retrieve a paginated list of all partitions sorted by name in ascending order. Use when you need to list available partitions with their configurations and limits.\",\n input: RagieListPartitionsInput,\n output: RagieListPartitionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAA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AC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,YAAY,6CAA6C,SAAS;CAClE,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,4BAA4B;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,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/list-partitions.d.ts
@@ -33,10 +35,7 @@ declare const RagieListPartitionsOutput: z.ZodObject<{
33
35
  limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const ragieListPartitions: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- cursor?: string | undefined;
38
- page_size?: number | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const ragieListPartitions: AppAction<typeof RagieListPartitionsInput, typeof RagieListPartitionsOutput, typeof ragie.credential>;
40
39
  //#endregion
41
40
  export { ragieListPartitions };
42
41
  //# sourceMappingURL=list-partitions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-partitions.d.cts","names":[],"sources":["../../src/actions/list-partitions.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cA+BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"list-partitions.d.cts","names":[],"sources":["../../src/actions/list-partitions.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cA+BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKzB,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/list-partitions.d.ts
@@ -33,10 +35,7 @@ declare const RagieListPartitionsOutput: z.ZodObject<{
33
35
  limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>>;
35
37
  }, z.core.$loose>;
36
- declare const ragieListPartitions: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- cursor?: string | undefined;
38
- page_size?: number | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const ragieListPartitions: AppAction<typeof RagieListPartitionsInput, typeof RagieListPartitionsOutput, typeof ragie.credential>;
40
39
  //#endregion
41
40
  export { ragieListPartitions };
42
41
  //# sourceMappingURL=list-partitions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-partitions.d.mts","names":[],"sources":["../../src/actions/list-partitions.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cA+BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"list-partitions.d.mts","names":[],"sources":["../../src/actions/list-partitions.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cA+BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKzB,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
  //#region src/actions/list-partitions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-partitions.mjs","names":[],"sources":["../../src/actions/list-partitions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieListPartitionsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to retrieve the next page of results\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (must be greater than 0 and less than or equal to 100). Defaults to 10.\").optional(),\n}).describe(\"Request model for listing partitions.\");\nconst RagieListPartitions_PaginationMetadataSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving subsequent pages (null if no more pages)\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of partitions available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nconst RagieListPartitions_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 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(\"Usage limits configuration for a partition.\");\nconst RagieListPartitions_PartitionSchema = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n limits: RagieListPartitions_PartitionLimitsSchema.nullable(),\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(\"Context-awareness status\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema for partition metadata\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when partition exceeded limits\").nullable().optional(),\n}).passthrough().describe(\"Partition object containing details about a single partition.\");\nexport const RagieListPartitionsOutput = z.object({\n pagination: RagieListPartitions_PaginationMetadataSchema.nullable(),\n partitions: z.array(RagieListPartitions_PartitionSchema).describe(\"Array of Partition objects\"),\n}).passthrough().describe(\"Response model for listing partitions.\");\n\nexport const ragieListPartitions = action(\"RAGIE_LIST_PARTITIONS\", {\n slug: \"ragie-list-partitions\",\n name: \"List Partitions\",\n description: \"Tool to retrieve a paginated list of all partitions sorted by name in ascending order. Use when you need to list available partitions with their configurations and limits.\",\n input: RagieListPartitionsInput,\n output: RagieListPartitionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAA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;EAClE,YAAY,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,4BAA4B;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-partitions.mjs","names":[],"sources":["../../src/actions/list-partitions.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 RagieListPartitionsInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination to retrieve the next page of results\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (must be greater than 0 and less than or equal to 100). Defaults to 10.\").optional(),\n}).describe(\"Request model for listing partitions.\");\nconst RagieListPartitions_PaginationMetadataSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving subsequent pages (null if no more pages)\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of partitions available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the response.\");\nconst RagieListPartitions_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 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(\"Usage limits configuration for a partition.\");\nconst RagieListPartitions_PartitionSchema = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n limits: RagieListPartitions_PartitionLimitsSchema.nullable(),\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(\"Context-awareness status\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema for partition metadata\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when partition exceeded limits\").nullable().optional(),\n}).passthrough().describe(\"Partition object containing details about a single partition.\");\nexport const RagieListPartitionsOutput = z.object({\n pagination: RagieListPartitions_PaginationMetadataSchema.nullable(),\n partitions: z.array(RagieListPartitions_PartitionSchema).describe(\"Array of Partition objects\"),\n}).passthrough().describe(\"Response model for listing partitions.\");\n\nexport const ragieListPartitions: AppAction<\n typeof RagieListPartitionsInput,\n typeof RagieListPartitionsOutput,\n typeof ragie.credential\n> = action(\"RAGIE_LIST_PARTITIONS\", {\n slug: \"ragie-list-partitions\",\n name: \"List Partitions\",\n description: \"Tool to retrieve a paginated list of all partitions sorted by name in ascending order. Use when you need to list available partitions with their configurations and limits.\",\n input: RagieListPartitionsInput,\n output: RagieListPartitionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MA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CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;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/patch-document-metadata.ts
@@ -1 +1 @@
1
- {"version":3,"file":"patch-document-metadata.cjs","names":["z","action"],"sources":["../../src/actions/patch-document-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagiePatchDocumentMetadataInput = z.object({\n async: z.boolean().default(false).describe(\"Whether to run the metadata update asynchronously. If true, the metadata update will be run in the background and the response will be 202 Accepted.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata to update on the document. Performs a partial update. Supports string, number, boolean, and string array values. Keys set to null are deleted. Maximum 1000 total values allowed.\"),\n partition: z.string().describe(\"Optional partition scope. If omitted, accounts created after 1/9/2025 default to the default partition.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n}).describe(\"Request model for patching document metadata with partial updates.\");\nexport const RagiePatchDocumentMetadataOutput = z.object({\n status: z.string().describe(\"Status string indicating the operation was accepted for background processing. Present when async=true (202 Accepted).\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The full document metadata inclusive of the update. Contains key-value pairs where values can be string, integer, number, boolean, or array of strings. Present when async=false (200 OK).\").nullable().optional(),\n}).passthrough().describe(\"Response model for patching document metadata.\");\n\nexport const ragiePatchDocumentMetadata = action(\"RAGIE_PATCH_DOCUMENT_METADATA\", {\n slug: \"ragie-patch-document-metadata\",\n name: \"Patch Document Metadata\",\n description: \"Tool to update metadata for a specific document with partial update support. Use when you need to modify document metadata fields without replacing the entire metadata object. Supports both synchronous and asynchronous updates.\",\n input: RagiePatchDocumentMetadataInput,\n output: RagiePatchDocumentMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5M,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gMAAgM;CACrP,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-document-metadata.cjs","names":["z","action"],"sources":["../../src/actions/patch-document-metadata.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 RagiePatchDocumentMetadataInput = z.object({\n async: z.boolean().default(false).describe(\"Whether to run the metadata update asynchronously. If true, the metadata update will be run in the background and the response will be 202 Accepted.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata to update on the document. Performs a partial update. Supports string, number, boolean, and string array values. Keys set to null are deleted. Maximum 1000 total values allowed.\"),\n partition: z.string().describe(\"Optional partition scope. If omitted, accounts created after 1/9/2025 default to the default partition.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n}).describe(\"Request model for patching document metadata with partial updates.\");\nexport const RagiePatchDocumentMetadataOutput = z.object({\n status: z.string().describe(\"Status string indicating the operation was accepted for background processing. Present when async=true (202 Accepted).\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"The full document metadata inclusive of the update. Contains key-value pairs where values can be string, integer, number, boolean, or array of strings. Present when async=false (200 OK).\").nullable().optional(),\n}).passthrough().describe(\"Response model for patching document metadata.\");\n\nexport const ragiePatchDocumentMetadata: AppAction<\n typeof RagiePatchDocumentMetadataInput,\n typeof RagiePatchDocumentMetadataOutput,\n typeof ragie.credential\n> = action(\"RAGIE_PATCH_DOCUMENT_METADATA\", {\n slug: \"ragie-patch-document-metadata\",\n name: \"Patch Document Metadata\",\n description: \"Tool to update metadata for a specific document with partial update support. Use when you need to modify document metadata fields without replacing the entire metadata object. Supports both synchronous and asynchronous updates.\",\n input: RagiePatchDocumentMetadataInput,\n output: RagiePatchDocumentMetadataOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5M,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gMAAgM;CACrP,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/patch-document-metadata.d.ts
@@ -11,12 +13,7 @@ declare const RagiePatchDocumentMetadataOutput: z.ZodObject<{
11
13
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
15
  }, z.core.$loose>;
14
- declare const ragiePatchDocumentMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- metadata: Record<string, unknown>;
16
- document_id: string;
17
- async?: boolean | undefined;
18
- partition?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const ragiePatchDocumentMetadata: AppAction<typeof RagiePatchDocumentMetadataInput, typeof RagiePatchDocumentMetadataOutput, typeof ragie.credential>;
20
17
  //#endregion
21
18
  export { ragiePatchDocumentMetadata };
22
19
  //# sourceMappingURL=patch-document-metadata.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-document-metadata.d.cts","names":[],"sources":["../../src/actions/patch-document-metadata.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA;YAMrC,MAAA"}
1
+ {"version":3,"file":"patch-document-metadata.d.cts","names":[],"sources":["../../src/actions/patch-document-metadata.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}