@keystrokehq/ragie 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-document-from-url.cjs +34 -0
  7. package/dist/actions/create-document-from-url.cjs.map +1 -0
  8. package/dist/actions/create-document-from-url.d.cts +9 -0
  9. package/dist/actions/create-document-from-url.d.cts.map +1 -0
  10. package/dist/actions/create-document-from-url.d.mts +9 -0
  11. package/dist/actions/create-document-from-url.d.mts.map +1 -0
  12. package/dist/actions/create-document-from-url.mjs +31 -0
  13. package/dist/actions/create-document-from-url.mjs.map +1 -0
  14. package/dist/actions/create-document-raw.cjs +33 -0
  15. package/dist/actions/create-document-raw.cjs.map +1 -0
  16. package/dist/actions/create-document-raw.d.cts +9 -0
  17. package/dist/actions/create-document-raw.d.cts.map +1 -0
  18. package/dist/actions/create-document-raw.d.mts +9 -0
  19. package/dist/actions/create-document-raw.d.mts.map +1 -0
  20. package/dist/actions/create-document-raw.mjs +30 -0
  21. package/dist/actions/create-document-raw.mjs.map +1 -0
  22. package/dist/actions/create-document.cjs +41 -0
  23. package/dist/actions/create-document.cjs.map +1 -0
  24. package/dist/actions/create-document.d.cts +9 -0
  25. package/dist/actions/create-document.d.cts.map +1 -0
  26. package/dist/actions/create-document.d.mts +9 -0
  27. package/dist/actions/create-document.d.mts.map +1 -0
  28. package/dist/actions/create-document.mjs +38 -0
  29. package/dist/actions/create-document.mjs.map +1 -0
  30. package/dist/actions/create-instruction.cjs +35 -0
  31. package/dist/actions/create-instruction.cjs.map +1 -0
  32. package/dist/actions/create-instruction.d.cts +9 -0
  33. package/dist/actions/create-instruction.d.cts.map +1 -0
  34. package/dist/actions/create-instruction.d.mts +9 -0
  35. package/dist/actions/create-instruction.d.mts.map +1 -0
  36. package/dist/actions/create-instruction.mjs +32 -0
  37. package/dist/actions/create-instruction.mjs.map +1 -0
  38. package/dist/actions/create-oauth-redirect-url.cjs +26 -0
  39. package/dist/actions/create-oauth-redirect-url.cjs.map +1 -0
  40. package/dist/actions/create-oauth-redirect-url.d.cts +9 -0
  41. package/dist/actions/create-oauth-redirect-url.d.cts.map +1 -0
  42. package/dist/actions/create-oauth-redirect-url.d.mts +9 -0
  43. package/dist/actions/create-oauth-redirect-url.d.mts.map +1 -0
  44. package/dist/actions/create-oauth-redirect-url.mjs +23 -0
  45. package/dist/actions/create-oauth-redirect-url.mjs.map +1 -0
  46. package/dist/actions/create-partition-partitions-post.cjs +68 -0
  47. package/dist/actions/create-partition-partitions-post.cjs.map +1 -0
  48. package/dist/actions/create-partition-partitions-post.d.cts +9 -0
  49. package/dist/actions/create-partition-partitions-post.d.cts.map +1 -0
  50. package/dist/actions/create-partition-partitions-post.d.mts +9 -0
  51. package/dist/actions/create-partition-partitions-post.d.mts.map +1 -0
  52. package/dist/actions/create-partition-partitions-post.mjs +67 -0
  53. package/dist/actions/create-partition-partitions-post.mjs.map +1 -0
  54. package/dist/actions/delete-document.cjs +20 -0
  55. package/dist/actions/delete-document.cjs.map +1 -0
  56. package/dist/actions/delete-document.d.cts +9 -0
  57. package/dist/actions/delete-document.d.cts.map +1 -0
  58. package/dist/actions/delete-document.d.mts +9 -0
  59. package/dist/actions/delete-document.d.mts.map +1 -0
  60. package/dist/actions/delete-document.mjs +17 -0
  61. package/dist/actions/delete-document.mjs.map +1 -0
  62. package/dist/actions/delete-instruction.cjs +16 -0
  63. package/dist/actions/delete-instruction.cjs.map +1 -0
  64. package/dist/actions/delete-instruction.d.cts +9 -0
  65. package/dist/actions/delete-instruction.d.cts.map +1 -0
  66. package/dist/actions/delete-instruction.d.mts +9 -0
  67. package/dist/actions/delete-instruction.d.mts.map +1 -0
  68. package/dist/actions/delete-instruction.mjs +13 -0
  69. package/dist/actions/delete-instruction.mjs.map +1 -0
  70. package/dist/actions/delete-partition.cjs +19 -0
  71. package/dist/actions/delete-partition.cjs.map +1 -0
  72. package/dist/actions/delete-partition.d.cts +9 -0
  73. package/dist/actions/delete-partition.d.cts.map +1 -0
  74. package/dist/actions/delete-partition.d.mts +9 -0
  75. package/dist/actions/delete-partition.d.mts.map +1 -0
  76. package/dist/actions/delete-partition.mjs +16 -0
  77. package/dist/actions/delete-partition.mjs.map +1 -0
  78. package/dist/actions/get-document-chunk-content.cjs +37 -0
  79. package/dist/actions/get-document-chunk-content.cjs.map +1 -0
  80. package/dist/actions/get-document-chunk-content.d.cts +9 -0
  81. package/dist/actions/get-document-chunk-content.d.cts.map +1 -0
  82. package/dist/actions/get-document-chunk-content.d.mts +9 -0
  83. package/dist/actions/get-document-chunk-content.d.mts.map +1 -0
  84. package/dist/actions/get-document-chunk-content.mjs +34 -0
  85. package/dist/actions/get-document-chunk-content.mjs.map +1 -0
  86. package/dist/actions/get-document-chunk.cjs +29 -0
  87. package/dist/actions/get-document-chunk.cjs.map +1 -0
  88. package/dist/actions/get-document-chunk.d.cts +9 -0
  89. package/dist/actions/get-document-chunk.d.cts.map +1 -0
  90. package/dist/actions/get-document-chunk.d.mts +9 -0
  91. package/dist/actions/get-document-chunk.d.mts.map +1 -0
  92. package/dist/actions/get-document-chunk.mjs +28 -0
  93. package/dist/actions/get-document-chunk.mjs.map +1 -0
  94. package/dist/actions/get-document-chunks.cjs +37 -0
  95. package/dist/actions/get-document-chunks.cjs.map +1 -0
  96. package/dist/actions/get-document-chunks.d.cts +9 -0
  97. package/dist/actions/get-document-chunks.d.cts.map +1 -0
  98. package/dist/actions/get-document-chunks.d.mts +9 -0
  99. package/dist/actions/get-document-chunks.d.mts.map +1 -0
  100. package/dist/actions/get-document-chunks.mjs +36 -0
  101. package/dist/actions/get-document-chunks.mjs.map +1 -0
  102. package/dist/actions/get-document-content.cjs +34 -0
  103. package/dist/actions/get-document-content.cjs.map +1 -0
  104. package/dist/actions/get-document-content.d.cts +9 -0
  105. package/dist/actions/get-document-content.d.cts.map +1 -0
  106. package/dist/actions/get-document-content.d.mts +9 -0
  107. package/dist/actions/get-document-content.d.mts.map +1 -0
  108. package/dist/actions/get-document-content.mjs +31 -0
  109. package/dist/actions/get-document-content.mjs.map +1 -0
  110. package/dist/actions/get-document-summary.cjs +22 -0
  111. package/dist/actions/get-document-summary.cjs.map +1 -0
  112. package/dist/actions/get-document-summary.d.cts +9 -0
  113. package/dist/actions/get-document-summary.d.cts.map +1 -0
  114. package/dist/actions/get-document-summary.d.mts +9 -0
  115. package/dist/actions/get-document-summary.d.mts.map +1 -0
  116. package/dist/actions/get-document-summary.mjs +19 -0
  117. package/dist/actions/get-document-summary.mjs.map +1 -0
  118. package/dist/actions/get-document.cjs +31 -0
  119. package/dist/actions/get-document.cjs.map +1 -0
  120. package/dist/actions/get-document.d.cts +9 -0
  121. package/dist/actions/get-document.d.cts.map +1 -0
  122. package/dist/actions/get-document.d.mts +9 -0
  123. package/dist/actions/get-document.d.mts.map +1 -0
  124. package/dist/actions/get-document.mjs +28 -0
  125. package/dist/actions/get-document.mjs.map +1 -0
  126. package/dist/actions/get-partition.cjs +54 -0
  127. package/dist/actions/get-partition.cjs.map +1 -0
  128. package/dist/actions/get-partition.d.cts +9 -0
  129. package/dist/actions/get-partition.d.cts.map +1 -0
  130. package/dist/actions/get-partition.d.mts +9 -0
  131. package/dist/actions/get-partition.d.mts.map +1 -0
  132. package/dist/actions/get-partition.mjs +53 -0
  133. package/dist/actions/get-partition.mjs.map +1 -0
  134. package/dist/actions/get-response.cjs +79 -0
  135. package/dist/actions/get-response.cjs.map +1 -0
  136. package/dist/actions/get-response.d.cts +9 -0
  137. package/dist/actions/get-response.d.cts.map +1 -0
  138. package/dist/actions/get-response.d.mts +9 -0
  139. package/dist/actions/get-response.d.mts.map +1 -0
  140. package/dist/actions/get-response.mjs +78 -0
  141. package/dist/actions/get-response.mjs.map +1 -0
  142. package/dist/actions/index.cjs +63 -0
  143. package/dist/actions/index.d.cts +32 -0
  144. package/dist/actions/index.d.mts +32 -0
  145. package/dist/actions/index.mjs +32 -0
  146. package/dist/actions/list-connection-source-types.cjs +22 -0
  147. package/dist/actions/list-connection-source-types.cjs.map +1 -0
  148. package/dist/actions/list-connection-source-types.d.cts +9 -0
  149. package/dist/actions/list-connection-source-types.d.cts.map +1 -0
  150. package/dist/actions/list-connection-source-types.d.mts +9 -0
  151. package/dist/actions/list-connection-source-types.d.mts.map +1 -0
  152. package/dist/actions/list-connection-source-types.mjs +21 -0
  153. package/dist/actions/list-connection-source-types.mjs.map +1 -0
  154. package/dist/actions/list-connections-connections-get.cjs +41 -0
  155. package/dist/actions/list-connections-connections-get.cjs.map +1 -0
  156. package/dist/actions/list-connections-connections-get.d.cts +9 -0
  157. package/dist/actions/list-connections-connections-get.d.cts.map +1 -0
  158. package/dist/actions/list-connections-connections-get.d.mts +9 -0
  159. package/dist/actions/list-connections-connections-get.d.mts.map +1 -0
  160. package/dist/actions/list-connections-connections-get.mjs +40 -0
  161. package/dist/actions/list-connections-connections-get.mjs.map +1 -0
  162. package/dist/actions/list-documents.cjs +40 -0
  163. package/dist/actions/list-documents.cjs.map +1 -0
  164. package/dist/actions/list-documents.d.cts +9 -0
  165. package/dist/actions/list-documents.d.cts.map +1 -0
  166. package/dist/actions/list-documents.d.mts +9 -0
  167. package/dist/actions/list-documents.d.mts.map +1 -0
  168. package/dist/actions/list-documents.mjs +39 -0
  169. package/dist/actions/list-documents.mjs.map +1 -0
  170. package/dist/actions/list-entities-by-document.cjs +37 -0
  171. package/dist/actions/list-entities-by-document.cjs.map +1 -0
  172. package/dist/actions/list-entities-by-document.d.cts +9 -0
  173. package/dist/actions/list-entities-by-document.d.cts.map +1 -0
  174. package/dist/actions/list-entities-by-document.d.mts +9 -0
  175. package/dist/actions/list-entities-by-document.d.mts.map +1 -0
  176. package/dist/actions/list-entities-by-document.mjs +36 -0
  177. package/dist/actions/list-entities-by-document.mjs.map +1 -0
  178. package/dist/actions/list-entities-by-instruction.cjs +37 -0
  179. package/dist/actions/list-entities-by-instruction.cjs.map +1 -0
  180. package/dist/actions/list-entities-by-instruction.d.cts +9 -0
  181. package/dist/actions/list-entities-by-instruction.d.cts.map +1 -0
  182. package/dist/actions/list-entities-by-instruction.d.mts +9 -0
  183. package/dist/actions/list-entities-by-instruction.d.mts.map +1 -0
  184. package/dist/actions/list-entities-by-instruction.mjs +36 -0
  185. package/dist/actions/list-entities-by-instruction.mjs.map +1 -0
  186. package/dist/actions/list-instructions.cjs +28 -0
  187. package/dist/actions/list-instructions.cjs.map +1 -0
  188. package/dist/actions/list-instructions.d.cts +9 -0
  189. package/dist/actions/list-instructions.d.cts.map +1 -0
  190. package/dist/actions/list-instructions.d.mts +9 -0
  191. package/dist/actions/list-instructions.d.mts.map +1 -0
  192. package/dist/actions/list-instructions.mjs +27 -0
  193. package/dist/actions/list-instructions.mjs.map +1 -0
  194. package/dist/actions/list-partitions.cjs +49 -0
  195. package/dist/actions/list-partitions.cjs.map +1 -0
  196. package/dist/actions/list-partitions.d.cts +9 -0
  197. package/dist/actions/list-partitions.d.cts.map +1 -0
  198. package/dist/actions/list-partitions.d.mts +9 -0
  199. package/dist/actions/list-partitions.d.mts.map +1 -0
  200. package/dist/actions/list-partitions.mjs +48 -0
  201. package/dist/actions/list-partitions.mjs.map +1 -0
  202. package/dist/actions/patch-document-metadata.cjs +24 -0
  203. package/dist/actions/patch-document-metadata.cjs.map +1 -0
  204. package/dist/actions/patch-document-metadata.d.cts +9 -0
  205. package/dist/actions/patch-document-metadata.d.cts.map +1 -0
  206. package/dist/actions/patch-document-metadata.d.mts +9 -0
  207. package/dist/actions/patch-document-metadata.d.mts.map +1 -0
  208. package/dist/actions/patch-document-metadata.mjs +21 -0
  209. package/dist/actions/patch-document-metadata.mjs.map +1 -0
  210. package/dist/actions/retrieve.cjs +35 -0
  211. package/dist/actions/retrieve.cjs.map +1 -0
  212. package/dist/actions/retrieve.d.cts +9 -0
  213. package/dist/actions/retrieve.d.cts.map +1 -0
  214. package/dist/actions/retrieve.d.mts +9 -0
  215. package/dist/actions/retrieve.d.mts.map +1 -0
  216. package/dist/actions/retrieve.mjs +34 -0
  217. package/dist/actions/retrieve.mjs.map +1 -0
  218. package/dist/actions/set-partition-limits.cjs +62 -0
  219. package/dist/actions/set-partition-limits.cjs.map +1 -0
  220. package/dist/actions/set-partition-limits.d.cts +9 -0
  221. package/dist/actions/set-partition-limits.d.cts.map +1 -0
  222. package/dist/actions/set-partition-limits.d.mts +9 -0
  223. package/dist/actions/set-partition-limits.d.mts.map +1 -0
  224. package/dist/actions/set-partition-limits.mjs +61 -0
  225. package/dist/actions/set-partition-limits.mjs.map +1 -0
  226. package/dist/actions/update-document-from-url.cjs +21 -0
  227. package/dist/actions/update-document-from-url.cjs.map +1 -0
  228. package/dist/actions/update-document-from-url.d.cts +9 -0
  229. package/dist/actions/update-document-from-url.d.cts.map +1 -0
  230. package/dist/actions/update-document-from-url.d.mts +9 -0
  231. package/dist/actions/update-document-from-url.d.mts.map +1 -0
  232. package/dist/actions/update-document-from-url.mjs +18 -0
  233. package/dist/actions/update-document-from-url.mjs.map +1 -0
  234. package/dist/actions/update-document-raw.cjs +19 -0
  235. package/dist/actions/update-document-raw.cjs.map +1 -0
  236. package/dist/actions/update-document-raw.d.cts +9 -0
  237. package/dist/actions/update-document-raw.d.cts.map +1 -0
  238. package/dist/actions/update-document-raw.d.mts +9 -0
  239. package/dist/actions/update-document-raw.d.mts.map +1 -0
  240. package/dist/actions/update-document-raw.mjs +16 -0
  241. package/dist/actions/update-document-raw.mjs.map +1 -0
  242. package/dist/actions/update-instruction.cjs +31 -0
  243. package/dist/actions/update-instruction.cjs.map +1 -0
  244. package/dist/actions/update-instruction.d.cts +9 -0
  245. package/dist/actions/update-instruction.d.cts.map +1 -0
  246. package/dist/actions/update-instruction.d.mts +9 -0
  247. package/dist/actions/update-instruction.d.mts.map +1 -0
  248. package/dist/actions/update-instruction.mjs +30 -0
  249. package/dist/actions/update-instruction.mjs.map +1 -0
  250. package/dist/actions/update-partition.cjs +59 -0
  251. package/dist/actions/update-partition.cjs.map +1 -0
  252. package/dist/actions/update-partition.d.cts +9 -0
  253. package/dist/actions/update-partition.d.cts.map +1 -0
  254. package/dist/actions/update-partition.d.mts +9 -0
  255. package/dist/actions/update-partition.d.mts.map +1 -0
  256. package/dist/actions/update-partition.mjs +58 -0
  257. package/dist/actions/update-partition.mjs.map +1 -0
  258. package/dist/app.cjs +9 -0
  259. package/dist/app.cjs.map +1 -0
  260. package/dist/app.d.cts +5 -0
  261. package/dist/app.d.cts.map +1 -0
  262. package/dist/app.d.mts +5 -0
  263. package/dist/app.d.mts.map +1 -0
  264. package/dist/app.mjs +10 -0
  265. package/dist/app.mjs.map +1 -0
  266. package/dist/catalog.cjs +15 -0
  267. package/dist/catalog.cjs.map +1 -0
  268. package/dist/catalog.d.cts +14 -0
  269. package/dist/catalog.d.cts.map +1 -0
  270. package/dist/catalog.d.mts +14 -0
  271. package/dist/catalog.d.mts.map +1 -0
  272. package/dist/catalog.mjs +15 -0
  273. package/dist/catalog.mjs.map +1 -0
  274. package/dist/execute.cjs +18 -0
  275. package/dist/execute.cjs.map +1 -0
  276. package/dist/execute.mjs +18 -0
  277. package/dist/execute.mjs.map +1 -0
  278. package/dist/index.cjs +68 -0
  279. package/dist/index.d.cts +34 -0
  280. package/dist/index.d.mts +34 -0
  281. package/dist/index.mjs +35 -0
  282. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/retrieve.d.ts
4
+ declare const RagieRetrieveInput: z.ZodTypeAny;
5
+ declare const RagieRetrieveOutput: z.ZodTypeAny;
6
+ declare const ragieRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieRetrieve };
9
+ //# sourceMappingURL=retrieve.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve.d.mts","names":[],"sources":["../../src/actions/retrieve.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAQ0C;AAAA,cAYhE,mBAAA,EAAqB,CAAA,CAAE,UAEuB;AAAA,cAE9C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/retrieve.ts
4
+ const RagieRetrieveInput = z.object({
5
+ query: z.string().describe("The query to search with when retrieving document chunks."),
6
+ top_k: z.number().int().default(8).describe("The maximum number of chunks to return. Defaults to 8.").optional(),
7
+ filter: z.record(z.string(), z.unknown()).describe("Metadata search filter supporting operators: $eq (equal), $ne (not equal), $gt (greater than), $gte (greater than or equal), $lt (less than), $lte (less than or equal), $in (in array), $nin (not in array). Example: {\"department\": {\"$in\": [\"sales\", \"marketing\"]}}.").optional(),
8
+ rerank: z.boolean().default(false).describe("Reranks the chunks for semantic relevancy post cosine similarity.").optional(),
9
+ partition: z.string().describe("The partition to scope a retrieval to. If omitted, the retrieval will be scoped to the default partition.").optional(),
10
+ recency_bias: z.boolean().default(false).describe("Enables recency bias which will favor more recent documents vs older documents.").optional(),
11
+ max_chunks_per_document: z.number().int().describe("Maximum number of chunks to retrieve per document.").optional()
12
+ }).describe("Request model for retrieving document chunks based on a query.");
13
+ const RagieRetrieve_ScoredChunkSchema = z.object({
14
+ id: z.string().describe("Unique identifier for the chunk.").nullable().optional(),
15
+ text: z.string().describe("The chunk content/text.").nullable().optional(),
16
+ index: z.number().int().describe("Position/index of the chunk within the source document.").nullable().optional(),
17
+ links: z.record(z.string(), z.unknown()).describe("Navigation references.").nullable().optional(),
18
+ score: z.number().describe("Relevance score indicating how well the chunk matches the query.").nullable().optional(),
19
+ metadata: z.record(z.string(), z.unknown()).describe("Chunk-level metadata.").nullable().optional(),
20
+ document_id: z.string().describe("Identifier of the source document.").nullable().optional(),
21
+ document_name: z.string().describe("Name of the source document.").nullable().optional(),
22
+ document_metadata: z.record(z.string(), z.unknown()).describe("Document-level metadata.").nullable().optional()
23
+ }).describe("A document chunk with its relevance score.");
24
+ const ragieRetrieve = action("RAGIE_RETRIEVE", {
25
+ slug: "ragie-retrieve",
26
+ name: "Retrieve Document Chunks",
27
+ description: "Tool to retrieve relevant document chunks based on a query. Use when you need to search and retrieve document content that matches a specific query, with optional filtering and reranking capabilities.",
28
+ input: RagieRetrieveInput,
29
+ output: z.object({ scored_chunks: z.array(RagieRetrieve_ScoredChunkSchema).describe("Array of retrieved document chunks with relevance scores.") }).describe("Response model for document chunk retrieval.")
30
+ });
31
+ //#endregion
32
+ export { ragieRetrieve };
33
+
34
+ //# sourceMappingURL=retrieve.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve.mjs","names":[],"sources":["../../src/actions/retrieve.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieRetrieveInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"The query to search with when retrieving document chunks.\"),\n top_k: z.number().int().default(8).describe(\"The maximum number of chunks to return. Defaults to 8.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata search filter supporting operators: $eq (equal), $ne (not equal), $gt (greater than), $gte (greater than or equal), $lt (less than), $lte (less than or equal), $in (in array), $nin (not in array). Example: {\\\"department\\\": {\\\"$in\\\": [\\\"sales\\\", \\\"marketing\\\"]}}.\").optional(),\n rerank: z.boolean().default(false).describe(\"Reranks the chunks for semantic relevancy post cosine similarity.\").optional(),\n partition: z.string().describe(\"The partition to scope a retrieval to. If omitted, the retrieval will be scoped to the default partition.\").optional(),\n recency_bias: z.boolean().default(false).describe(\"Enables recency bias which will favor more recent documents vs older documents.\").optional(),\n max_chunks_per_document: z.number().int().describe(\"Maximum number of chunks to retrieve per document.\").optional(),\n}).describe(\"Request model for retrieving document chunks based on a query.\");\nconst RagieRetrieve_ScoredChunkSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the chunk.\").nullable().optional(),\n text: z.string().describe(\"The chunk content/text.\").nullable().optional(),\n index: z.number().int().describe(\"Position/index of the chunk within the source document.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"Navigation references.\").nullable().optional(),\n score: z.number().describe(\"Relevance score indicating how well the chunk matches the query.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata.\").nullable().optional(),\n document_id: z.string().describe(\"Identifier of the source document.\").nullable().optional(),\n document_name: z.string().describe(\"Name of the source document.\").nullable().optional(),\n document_metadata: z.record(z.string(), z.unknown()).describe(\"Document-level metadata.\").nullable().optional(),\n}).describe(\"A document chunk with its relevance score.\");\nexport const RagieRetrieveOutput: z.ZodTypeAny = z.object({\n scored_chunks: z.array(RagieRetrieve_ScoredChunkSchema).describe(\"Array of retrieved document chunks with relevance scores.\"),\n}).describe(\"Response model for document chunk retrieval.\");\n\nexport const ragieRetrieve = action(\"RAGIE_RETRIEVE\", {\n slug: \"ragie-retrieve\",\n name: \"Retrieve Document Chunks\",\n description: \"Tool to retrieve relevant document chunks based on a query. Use when you need to search and retrieve document content that matches a specific query, with optional filtering and reranking capabilities.\",\n input: RagieRetrieveInput,\n output: RagieRetrieveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR,CAAC,CAAC,SAAS;CAC/U,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,m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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,gBAAgB,OAAO,kBAAkB;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,eAAe,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,2DAA2D,EAC9H,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,62 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/set-partition-limits.ts
4
+ const RagieSetPartitionLimitsInput = zod.z.object({
5
+ partition_id: zod.z.string().describe("The identifier for the partition being modified."),
6
+ media_hosted_limit_max: zod.z.number().int().describe("Maximum media hosting limit in megabytes.").optional(),
7
+ pages_hosted_limit_max: zod.z.number().int().describe("Absolute maximum for hosted document pages.").optional(),
8
+ media_streamed_limit_max: zod.z.number().int().describe("Maximum media streaming limit in megabytes.").optional(),
9
+ audio_processed_limit_max: zod.z.number().int().describe("Maximum audio processing limit in minutes.").optional(),
10
+ pages_processed_limit_max: zod.z.number().int().describe("Absolute maximum for processed document pages.").optional(),
11
+ video_processed_limit_max: zod.z.number().int().describe("Maximum video processing limit in minutes.").optional(),
12
+ media_hosted_limit_monthly: zod.z.number().int().describe("Monthly media hosting limit in megabytes.").optional(),
13
+ pages_hosted_limit_monthly: zod.z.number().int().describe("Monthly cap for newly added hosted pages.").optional(),
14
+ media_streamed_limit_monthly: zod.z.number().int().describe("Monthly media streaming limit in megabytes.").optional(),
15
+ audio_processed_limit_monthly: zod.z.number().int().describe("Monthly audio processing limit in minutes.").optional(),
16
+ pages_processed_limit_monthly: zod.z.number().int().describe("Monthly cap for processed document pages.").optional(),
17
+ video_processed_limit_monthly: zod.z.number().int().describe("Monthly video processing limit in minutes.").optional()
18
+ }).describe("Request model for setting partition limits.");
19
+ const RagieSetPartitionLimits_PartitionStatsSchema = zod.z.object({
20
+ documents_count: zod.z.number().int().describe("Number of documents in the partition.").nullable().optional(),
21
+ pages_hosted_count: zod.z.number().int().describe("Number of pages hosted.").nullable().optional(),
22
+ pages_processed_count: zod.z.number().int().describe("Number of pages processed.").nullable().optional(),
23
+ media_hosted_megabytes: zod.z.number().describe("Media hosting usage in megabytes.").nullable().optional(),
24
+ audio_processed_minutes: zod.z.number().describe("Audio processing time in minutes.").nullable().optional(),
25
+ video_processed_minutes: zod.z.number().describe("Video processing time in minutes.").nullable().optional(),
26
+ media_streamed_megabytes: zod.z.number().describe("Media streaming usage in megabytes.").nullable().optional()
27
+ }).describe("Model for partition usage statistics.");
28
+ const RagieSetPartitionLimits_PartitionLimitsSchema = zod.z.object({
29
+ media_hosted_limit_max: zod.z.number().int().describe("Maximum media hosting limit in megabytes.").nullable().optional(),
30
+ pages_hosted_limit_max: zod.z.number().int().describe("Absolute maximum for hosted document pages.").nullable().optional(),
31
+ media_streamed_limit_max: zod.z.number().int().describe("Maximum media streaming limit in megabytes.").nullable().optional(),
32
+ audio_processed_limit_max: zod.z.number().int().describe("Maximum audio processing limit in minutes.").nullable().optional(),
33
+ pages_processed_limit_max: zod.z.number().int().describe("Absolute maximum for processed document pages.").nullable().optional(),
34
+ video_processed_limit_max: zod.z.number().int().describe("Maximum video processing limit in minutes.").nullable().optional(),
35
+ media_hosted_limit_monthly: zod.z.number().int().describe("Monthly media hosting limit in megabytes.").nullable().optional(),
36
+ pages_hosted_limit_monthly: zod.z.number().int().describe("Monthly cap for newly added hosted pages.").nullable().optional(),
37
+ media_streamed_limit_monthly: zod.z.number().int().describe("Monthly media streaming limit in megabytes.").nullable().optional(),
38
+ audio_processed_limit_monthly: zod.z.number().int().describe("Monthly audio processing limit in minutes.").nullable().optional(),
39
+ pages_processed_limit_monthly: zod.z.number().int().describe("Monthly cap for processed document pages.").nullable().optional(),
40
+ video_processed_limit_monthly: zod.z.number().int().describe("Monthly video processing limit in minutes.").nullable().optional()
41
+ }).describe("Model for partition limit values.");
42
+ const RagieSetPartitionLimitsOutput = zod.z.object({
43
+ name: zod.z.string().describe("Partition identifier."),
44
+ stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),
45
+ limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),
46
+ is_default: zod.z.boolean().describe("Whether this is the default partition."),
47
+ description: zod.z.string().describe("Partition description.").nullable().optional(),
48
+ context_aware: zod.z.boolean().describe("Context-awareness setting."),
49
+ metadata_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema definition for metadata.").nullable().optional(),
50
+ limit_exceeded_at: zod.z.string().describe("Timestamp when limits were exceeded, if applicable.").nullable().optional()
51
+ }).describe("Response model for partition detail after setting limits.");
52
+ const ragieSetPartitionLimits = require_action.action("RAGIE_SET_PARTITION_LIMITS", {
53
+ slug: "ragie-set-partition-limits",
54
+ name: "Set Partition Limits",
55
+ description: "Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.",
56
+ input: RagieSetPartitionLimitsInput,
57
+ output: RagieSetPartitionLimitsOutput
58
+ });
59
+ //#endregion
60
+ exports.ragieSetPartitionLimits = ragieSetPartitionLimits;
61
+
62
+ //# sourceMappingURL=set-partition-limits.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-partition-limits.cjs","names":["z","action"],"sources":["../../src/actions/set-partition-limits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieSetPartitionLimitsInput: z.ZodTypeAny = z.object({\n partition_id: z.string().describe(\"The identifier for the partition being modified.\"),\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").optional(),\n}).describe(\"Request model for setting partition limits.\");\nconst RagieSetPartitionLimits_PartitionStatsSchema: z.ZodTypeAny = z.object({\n documents_count: z.number().int().describe(\"Number of documents in the partition.\").nullable().optional(),\n pages_hosted_count: z.number().int().describe(\"Number of pages hosted.\").nullable().optional(),\n pages_processed_count: z.number().int().describe(\"Number of pages processed.\").nullable().optional(),\n media_hosted_megabytes: z.number().describe(\"Media hosting usage in megabytes.\").nullable().optional(),\n audio_processed_minutes: z.number().describe(\"Audio processing time in minutes.\").nullable().optional(),\n video_processed_minutes: z.number().describe(\"Video processing time in minutes.\").nullable().optional(),\n media_streamed_megabytes: z.number().describe(\"Media streaming usage in megabytes.\").nullable().optional(),\n}).describe(\"Model for partition usage statistics.\");\nconst RagieSetPartitionLimits_PartitionLimitsSchema: z.ZodTypeAny = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").nullable().optional(),\n}).describe(\"Model for partition limit values.\");\nexport const RagieSetPartitionLimitsOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Partition identifier.\"),\n stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),\n limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),\n is_default: z.boolean().describe(\"Whether this is the default partition.\"),\n description: z.string().describe(\"Partition description.\").nullable().optional(),\n context_aware: z.boolean().describe(\"Context-awareness setting.\"),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema definition for metadata.\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limits were exceeded, if applicable.\").nullable().optional(),\n}).describe(\"Response model for partition detail after setting limits.\");\n\nexport const ragieSetPartitionLimits = action(\"RAGIE_SET_PARTITION_LIMITS\", {\n slug: \"ragie-set-partition-limits\",\n name: \"Set Partition Limits\",\n description: \"Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.\",\n input: RagieSetPartitionLimitsInput,\n output: RagieSetPartitionLimitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,wBAAwBA,I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AAS,wCAAwC;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B;CAChE,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-partition-limits.d.ts
4
+ declare const RagieSetPartitionLimitsInput: z.ZodTypeAny;
5
+ declare const RagieSetPartitionLimitsOutput: z.ZodTypeAny;
6
+ declare const ragieSetPartitionLimits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieSetPartitionLimits };
9
+ //# sourceMappingURL=set-partition-limits.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-partition-limits.d.cts","names":[],"sources":["../../src/actions/set-partition-limits.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAca;AAAA,cAwB7C,6BAAA,EAA+B,CAAA,CAAE,UAS0B;AAAA,cAE3D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/set-partition-limits.d.ts
4
+ declare const RagieSetPartitionLimitsInput: z.ZodTypeAny;
5
+ declare const RagieSetPartitionLimitsOutput: z.ZodTypeAny;
6
+ declare const ragieSetPartitionLimits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieSetPartitionLimits };
9
+ //# sourceMappingURL=set-partition-limits.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-partition-limits.d.mts","names":[],"sources":["../../src/actions/set-partition-limits.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAca;AAAA,cAwB7C,6BAAA,EAA+B,CAAA,CAAE,UAS0B;AAAA,cAE3D,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,61 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/set-partition-limits.ts
4
+ const RagieSetPartitionLimitsInput = z.object({
5
+ partition_id: z.string().describe("The identifier for the partition being modified."),
6
+ media_hosted_limit_max: z.number().int().describe("Maximum media hosting limit in megabytes.").optional(),
7
+ pages_hosted_limit_max: z.number().int().describe("Absolute maximum for hosted document pages.").optional(),
8
+ media_streamed_limit_max: z.number().int().describe("Maximum media streaming limit in megabytes.").optional(),
9
+ audio_processed_limit_max: z.number().int().describe("Maximum audio processing limit in minutes.").optional(),
10
+ pages_processed_limit_max: z.number().int().describe("Absolute maximum for processed document pages.").optional(),
11
+ video_processed_limit_max: z.number().int().describe("Maximum video processing limit in minutes.").optional(),
12
+ media_hosted_limit_monthly: z.number().int().describe("Monthly media hosting limit in megabytes.").optional(),
13
+ pages_hosted_limit_monthly: z.number().int().describe("Monthly cap for newly added hosted pages.").optional(),
14
+ media_streamed_limit_monthly: z.number().int().describe("Monthly media streaming limit in megabytes.").optional(),
15
+ audio_processed_limit_monthly: z.number().int().describe("Monthly audio processing limit in minutes.").optional(),
16
+ pages_processed_limit_monthly: z.number().int().describe("Monthly cap for processed document pages.").optional(),
17
+ video_processed_limit_monthly: z.number().int().describe("Monthly video processing limit in minutes.").optional()
18
+ }).describe("Request model for setting partition limits.");
19
+ const RagieSetPartitionLimits_PartitionStatsSchema = z.object({
20
+ documents_count: z.number().int().describe("Number of documents in the partition.").nullable().optional(),
21
+ pages_hosted_count: z.number().int().describe("Number of pages hosted.").nullable().optional(),
22
+ pages_processed_count: z.number().int().describe("Number of pages processed.").nullable().optional(),
23
+ media_hosted_megabytes: z.number().describe("Media hosting usage in megabytes.").nullable().optional(),
24
+ audio_processed_minutes: z.number().describe("Audio processing time in minutes.").nullable().optional(),
25
+ video_processed_minutes: z.number().describe("Video processing time in minutes.").nullable().optional(),
26
+ media_streamed_megabytes: z.number().describe("Media streaming usage in megabytes.").nullable().optional()
27
+ }).describe("Model for partition usage statistics.");
28
+ const RagieSetPartitionLimits_PartitionLimitsSchema = z.object({
29
+ media_hosted_limit_max: z.number().int().describe("Maximum media hosting limit in megabytes.").nullable().optional(),
30
+ pages_hosted_limit_max: z.number().int().describe("Absolute maximum for hosted document pages.").nullable().optional(),
31
+ media_streamed_limit_max: z.number().int().describe("Maximum media streaming limit in megabytes.").nullable().optional(),
32
+ audio_processed_limit_max: z.number().int().describe("Maximum audio processing limit in minutes.").nullable().optional(),
33
+ pages_processed_limit_max: z.number().int().describe("Absolute maximum for processed document pages.").nullable().optional(),
34
+ video_processed_limit_max: z.number().int().describe("Maximum video processing limit in minutes.").nullable().optional(),
35
+ media_hosted_limit_monthly: z.number().int().describe("Monthly media hosting limit in megabytes.").nullable().optional(),
36
+ pages_hosted_limit_monthly: z.number().int().describe("Monthly cap for newly added hosted pages.").nullable().optional(),
37
+ media_streamed_limit_monthly: z.number().int().describe("Monthly media streaming limit in megabytes.").nullable().optional(),
38
+ audio_processed_limit_monthly: z.number().int().describe("Monthly audio processing limit in minutes.").nullable().optional(),
39
+ pages_processed_limit_monthly: z.number().int().describe("Monthly cap for processed document pages.").nullable().optional(),
40
+ video_processed_limit_monthly: z.number().int().describe("Monthly video processing limit in minutes.").nullable().optional()
41
+ }).describe("Model for partition limit values.");
42
+ const ragieSetPartitionLimits = action("RAGIE_SET_PARTITION_LIMITS", {
43
+ slug: "ragie-set-partition-limits",
44
+ name: "Set Partition Limits",
45
+ description: "Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.",
46
+ input: RagieSetPartitionLimitsInput,
47
+ output: z.object({
48
+ name: z.string().describe("Partition identifier."),
49
+ stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),
50
+ limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),
51
+ is_default: z.boolean().describe("Whether this is the default partition."),
52
+ description: z.string().describe("Partition description.").nullable().optional(),
53
+ context_aware: z.boolean().describe("Context-awareness setting."),
54
+ metadata_schema: z.record(z.string(), z.unknown()).describe("Schema definition for metadata.").nullable().optional(),
55
+ limit_exceeded_at: z.string().describe("Timestamp when limits were exceeded, if applicable.").nullable().optional()
56
+ }).describe("Response model for partition detail after setting limits.")
57
+ });
58
+ //#endregion
59
+ export { ragieSetPartitionLimits };
60
+
61
+ //# sourceMappingURL=set-partition-limits.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-partition-limits.mjs","names":[],"sources":["../../src/actions/set-partition-limits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieSetPartitionLimitsInput: z.ZodTypeAny = z.object({\n partition_id: z.string().describe(\"The identifier for the partition being modified.\"),\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").optional(),\n}).describe(\"Request model for setting partition limits.\");\nconst RagieSetPartitionLimits_PartitionStatsSchema: z.ZodTypeAny = z.object({\n documents_count: z.number().int().describe(\"Number of documents in the partition.\").nullable().optional(),\n pages_hosted_count: z.number().int().describe(\"Number of pages hosted.\").nullable().optional(),\n pages_processed_count: z.number().int().describe(\"Number of pages processed.\").nullable().optional(),\n media_hosted_megabytes: z.number().describe(\"Media hosting usage in megabytes.\").nullable().optional(),\n audio_processed_minutes: z.number().describe(\"Audio processing time in minutes.\").nullable().optional(),\n video_processed_minutes: z.number().describe(\"Video processing time in minutes.\").nullable().optional(),\n media_streamed_megabytes: z.number().describe(\"Media streaming usage in megabytes.\").nullable().optional(),\n}).describe(\"Model for partition usage statistics.\");\nconst RagieSetPartitionLimits_PartitionLimitsSchema: z.ZodTypeAny = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").nullable().optional(),\n}).describe(\"Model for partition limit values.\");\nexport const RagieSetPartitionLimitsOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Partition identifier.\"),\n stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),\n limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),\n is_default: z.boolean().describe(\"Whether this is the default partition.\"),\n description: z.string().describe(\"Partition description.\").nullable().optional(),\n context_aware: z.boolean().describe(\"Context-awareness setting.\"),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema definition for metadata.\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limits were exceeded, if applicable.\").nullable().optional(),\n}).describe(\"Response model for partition detail after setting limits.\");\n\nexport const ragieSetPartitionLimits = action(\"RAGIE_SET_PARTITION_LIMITS\", {\n slug: \"ragie-set-partition-limits\",\n name: \"Set Partition Limits\",\n description: \"Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.\",\n input: RagieSetPartitionLimitsInput,\n output: RagieSetPartitionLimitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;C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B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,21 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-document-from-url.ts
4
+ const RagieUpdateDocumentFromUrlInput = zod.z.object({
5
+ url: zod.z.string().describe("URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme."),
6
+ mode: zod.z.union([zod.z.enum(["hi_res", "fast"]), zod.z.object({ backend: zod.z.string().nullable().optional() }).describe("Media configuration object for video/audio processing")]).optional(),
7
+ partition: zod.z.string().describe("Scopes the request to a specific partition").optional(),
8
+ document_id: zod.z.string().describe("The unique identifier (UUID) of the document to update")
9
+ }).describe("Request model for updating a document from a publicly accessible URL.");
10
+ const RagieUpdateDocumentFromUrlOutput = zod.z.object({ status: zod.z.string().describe("Operation status indicator") }).describe("Response model for document URL update operation.");
11
+ const ragieUpdateDocumentFromUrl = require_action.action("RAGIE_UPDATE_DOCUMENT_FROM_URL", {
12
+ slug: "ragie-update-document-from-url",
13
+ name: "Update Document From URL",
14
+ description: "Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.",
15
+ input: RagieUpdateDocumentFromUrlInput,
16
+ output: RagieUpdateDocumentFromUrlOutput
17
+ });
18
+ //#endregion
19
+ exports.ragieUpdateDocumentFromUrl = ragieUpdateDocumentFromUrl;
20
+
21
+ //# sourceMappingURL=update-document-from-url.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-from-url.cjs","names":["z","action"],"sources":["../../src/actions/update-document-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentFromUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme.\"),\n mode: z.union([z.enum([\"hi_res\", \"fast\"]), z.object({\n backend: z.string().nullable().optional(),\n}).describe(\"Media configuration object for video/audio processing\")]).optional(),\n partition: z.string().describe(\"Scopes the request to a specific partition\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to update\"),\n}).describe(\"Request model for updating a document from a publicly accessible URL.\");\nexport const RagieUpdateDocumentFromUrlOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status indicator\"),\n}).describe(\"Response model for document URL update operation.\");\n\nexport const ragieUpdateDocumentFromUrl = action(\"RAGIE_UPDATE_DOCUMENT_FROM_URL\", {\n slug: \"ragie-update-document-from-url\",\n name: \"Update Document From URL\",\n description: \"Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.\",\n input: RagieUpdateDocumentFromUrlInput,\n output: RagieUpdateDocumentFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACjH,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,GAAGA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1C,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC3F,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EAC1D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-document-from-url.d.ts
4
+ declare const RagieUpdateDocumentFromUrlInput: z.ZodTypeAny;
5
+ declare const RagieUpdateDocumentFromUrlOutput: z.ZodTypeAny;
6
+ declare const ragieUpdateDocumentFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieUpdateDocumentFromUrl };
9
+ //# sourceMappingURL=update-document-from-url.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-from-url.d.cts","names":[],"sources":["../../src/actions/update-document-from-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOoC;AAAA,cACvE,gCAAA,EAAkC,CAAA,CAAE,UAEe;AAAA,cAEnD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-document-from-url.d.ts
4
+ declare const RagieUpdateDocumentFromUrlInput: z.ZodTypeAny;
5
+ declare const RagieUpdateDocumentFromUrlOutput: z.ZodTypeAny;
6
+ declare const ragieUpdateDocumentFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieUpdateDocumentFromUrl };
9
+ //# sourceMappingURL=update-document-from-url.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-from-url.d.mts","names":[],"sources":["../../src/actions/update-document-from-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOoC;AAAA,cACvE,gCAAA,EAAkC,CAAA,CAAE,UAEe;AAAA,cAEnD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,18 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const ragieUpdateDocumentFromUrl = action("RAGIE_UPDATE_DOCUMENT_FROM_URL", {
4
+ slug: "ragie-update-document-from-url",
5
+ name: "Update Document From URL",
6
+ description: "Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.",
7
+ input: z.object({
8
+ url: z.string().describe("URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme."),
9
+ mode: z.union([z.enum(["hi_res", "fast"]), z.object({ backend: z.string().nullable().optional() }).describe("Media configuration object for video/audio processing")]).optional(),
10
+ partition: z.string().describe("Scopes the request to a specific partition").optional(),
11
+ document_id: z.string().describe("The unique identifier (UUID) of the document to update")
12
+ }).describe("Request model for updating a document from a publicly accessible URL."),
13
+ output: z.object({ status: z.string().describe("Operation status indicator") }).describe("Response model for document URL update operation.")
14
+ });
15
+ //#endregion
16
+ export { ragieUpdateDocumentFromUrl };
17
+
18
+ //# sourceMappingURL=update-document-from-url.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-from-url.mjs","names":[],"sources":["../../src/actions/update-document-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentFromUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme.\"),\n mode: z.union([z.enum([\"hi_res\", \"fast\"]), z.object({\n backend: z.string().nullable().optional(),\n}).describe(\"Media configuration object for video/audio processing\")]).optional(),\n partition: z.string().describe(\"Scopes the request to a specific partition\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to update\"),\n}).describe(\"Request model for updating a document from a publicly accessible URL.\");\nexport const RagieUpdateDocumentFromUrlOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status indicator\"),\n}).describe(\"Response model for document URL update operation.\");\n\nexport const ragieUpdateDocumentFromUrl = action(\"RAGIE_UPDATE_DOCUMENT_FROM_URL\", {\n slug: \"ragie-update-document-from-url\",\n name: \"Update Document From URL\",\n description: \"Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.\",\n input: RagieUpdateDocumentFromUrlInput,\n output: RagieUpdateDocumentFromUrlOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2D,EAAE,OAAO;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EACjH,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,GAAG,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1C,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,CAAC,CAAC,CAAC,SAAS,uEASH;CACP,QAT4D,EAAE,OAAO,EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EAC1D,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-document-raw.ts
4
+ const RagieUpdateDocumentRawInput = zod.z.object({
5
+ data: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]),
6
+ document_id: zod.z.string().describe("UUID of the document to update")
7
+ }).describe("Request model for updating a document's raw content.");
8
+ const RagieUpdateDocumentRawOutput = zod.z.object({ status: zod.z.string().describe("Status of the update operation") }).describe("Response model for document raw update operation.");
9
+ const ragieUpdateDocumentRaw = require_action.action("RAGIE_UPDATE_DOCUMENT_RAW", {
10
+ slug: "ragie-update-document-raw",
11
+ name: "Update Document Raw",
12
+ description: "Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.",
13
+ input: RagieUpdateDocumentRawInput,
14
+ output: RagieUpdateDocumentRawOutput
15
+ });
16
+ //#endregion
17
+ exports.ragieUpdateDocumentRaw = ragieUpdateDocumentRaw;
18
+
19
+ //# sourceMappingURL=update-document-raw.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-raw.cjs","names":["z","action"],"sources":["../../src/actions/update-document-raw.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentRawInput: z.ZodTypeAny = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown())]),\n document_id: z.string().describe(\"UUID of the document to update\"),\n}).describe(\"Request model for updating a document's raw content.\");\nexport const RagieUpdateDocumentRawOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the update operation\"),\n}).describe(\"Response model for document raw update operation.\");\n\nexport const ragieUpdateDocumentRaw = action(\"RAGIE_UPDATE_DOCUMENT_RAW\", {\n slug: \"ragie-update-document-raw\",\n name: \"Update Document Raw\",\n description: \"Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.\",\n input: RagieUpdateDocumentRawInput,\n output: RagieUpdateDocumentRawOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC9D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-document-raw.d.ts
4
+ declare const RagieUpdateDocumentRawInput: z.ZodTypeAny;
5
+ declare const RagieUpdateDocumentRawOutput: z.ZodTypeAny;
6
+ declare const ragieUpdateDocumentRaw: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieUpdateDocumentRaw };
9
+ //# sourceMappingURL=update-document-raw.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-raw.d.cts","names":[],"sources":["../../src/actions/update-document-raw.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-document-raw.d.ts
4
+ declare const RagieUpdateDocumentRawInput: z.ZodTypeAny;
5
+ declare const RagieUpdateDocumentRawOutput: z.ZodTypeAny;
6
+ declare const ragieUpdateDocumentRaw: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieUpdateDocumentRaw };
9
+ //# sourceMappingURL=update-document-raw.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-raw.d.mts","names":[],"sources":["../../src/actions/update-document-raw.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const ragieUpdateDocumentRaw = action("RAGIE_UPDATE_DOCUMENT_RAW", {
4
+ slug: "ragie-update-document-raw",
5
+ name: "Update Document Raw",
6
+ description: "Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.",
7
+ input: z.object({
8
+ data: z.union([z.string(), z.record(z.string(), z.unknown())]),
9
+ document_id: z.string().describe("UUID of the document to update")
10
+ }).describe("Request model for updating a document's raw content."),
11
+ output: z.object({ status: z.string().describe("Status of the update operation") }).describe("Response model for document raw update operation.")
12
+ });
13
+ //#endregion
14
+ export { ragieUpdateDocumentRaw };
15
+
16
+ //# sourceMappingURL=update-document-raw.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-document-raw.mjs","names":[],"sources":["../../src/actions/update-document-raw.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentRawInput: z.ZodTypeAny = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown())]),\n document_id: z.string().describe(\"UUID of the document to update\"),\n}).describe(\"Request model for updating a document's raw content.\");\nexport const RagieUpdateDocumentRawOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the update operation\"),\n}).describe(\"Response model for document raw update operation.\");\n\nexport const ragieUpdateDocumentRaw = action(\"RAGIE_UPDATE_DOCUMENT_RAW\", {\n slug: \"ragie-update-document-raw\",\n name: \"Update Document Raw\",\n description: \"Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.\",\n input: RagieUpdateDocumentRawInput,\n output: RagieUpdateDocumentRawOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACnE,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATwD,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC9D,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-instruction.ts
4
+ const RagieUpdateInstructionInput = zod.z.object({
5
+ active: zod.z.boolean().describe("Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated"),
6
+ instruction_id: zod.z.string().describe("The UUID of the instruction to update")
7
+ }).describe("Request model for updating an instruction's active status.");
8
+ const RagieUpdateInstruction_EntitySchemaSchema = zod.z.object({}).describe("Entity schema object for the instruction.");
9
+ const RagieUpdateInstructionOutput = zod.z.object({
10
+ id: zod.z.string().describe("The unique identifier of the instruction"),
11
+ name: zod.z.string().describe("Name of the instruction"),
12
+ scope: zod.z.string().describe("Scope of the instruction - either 'document' or 'chunk'"),
13
+ active: zod.z.boolean().describe("Current active status of the instruction"),
14
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata filter applied to the instruction").nullable().optional(),
15
+ prompt: zod.z.string().describe("Natural language instruction prompt"),
16
+ partition: zod.z.string().describe("Partition identifier for the instruction").nullable().optional(),
17
+ created_at: zod.z.string().describe("Timestamp when the instruction was created"),
18
+ updated_at: zod.z.string().describe("Timestamp when the instruction was last updated"),
19
+ entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional()
20
+ }).describe("Response model for the updated instruction.");
21
+ const ragieUpdateInstruction = require_action.action("RAGIE_UPDATE_INSTRUCTION", {
22
+ slug: "ragie-update-instruction",
23
+ name: "Update Instruction",
24
+ description: "Tool to update an instruction's active status. Use when you need to activate or deactivate an existing instruction.",
25
+ input: RagieUpdateInstructionInput,
26
+ output: RagieUpdateInstructionOutput
27
+ });
28
+ //#endregion
29
+ exports.ragieUpdateInstruction = ragieUpdateInstruction;
30
+
31
+ //# sourceMappingURL=update-instruction.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-instruction.cjs","names":["z","action"],"sources":["../../src/actions/update-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateInstructionInput: z.ZodTypeAny = z.object({\n active: z.boolean().describe(\"Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated\"),\n instruction_id: z.string().describe(\"The UUID of the instruction to update\"),\n}).describe(\"Request model for updating an instruction's active status.\");\nconst RagieUpdateInstruction_EntitySchemaSchema: z.ZodTypeAny = z.object({}).describe(\"Entity schema object for the instruction.\");\nexport const RagieUpdateInstructionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the instruction\"),\n name: z.string().describe(\"Name of the instruction\"),\n scope: z.string().describe(\"Scope of the instruction - either 'document' or 'chunk'\"),\n active: z.boolean().describe(\"Current active status of the instruction\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter applied to the instruction\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction prompt\"),\n partition: z.string().describe(\"Partition identifier for the instruction\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the instruction was created\"),\n updated_at: z.string().describe(\"Timestamp when the instruction was last updated\"),\n entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional(),\n}).describe(\"Response model for the updated instruction.\");\n\nexport const ragieUpdateInstruction = action(\"RAGIE_UPDATE_INSTRUCTION\", {\n slug: \"ragie-update-instruction\",\n name: \"Update Instruction\",\n description: \"Tool to update an instruction's active status. Use when you need to activate or deactivate an existing instruction.\",\n input: RagieUpdateInstructionInput,\n output: RagieUpdateInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oIAAoI;CACjK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA0DA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACjI,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,eAAe,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-instruction.d.ts
4
+ declare const RagieUpdateInstructionInput: z.ZodTypeAny;
5
+ declare const RagieUpdateInstructionOutput: z.ZodTypeAny;
6
+ declare const ragieUpdateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieUpdateInstruction };
9
+ //# sourceMappingURL=update-instruction.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-instruction.d.cts","names":[],"sources":["../../src/actions/update-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG6B;AAAA,cAE5D,4BAAA,EAA8B,CAAA,CAAE,UAWa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-instruction.d.ts
4
+ declare const RagieUpdateInstructionInput: z.ZodTypeAny;
5
+ declare const RagieUpdateInstructionOutput: z.ZodTypeAny;
6
+ declare const ragieUpdateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ragieUpdateInstruction };
9
+ //# sourceMappingURL=update-instruction.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-instruction.d.mts","names":[],"sources":["../../src/actions/update-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG6B;AAAA,cAE5D,4BAAA,EAA8B,CAAA,CAAE,UAWa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-instruction.ts
4
+ const RagieUpdateInstructionInput = z.object({
5
+ active: z.boolean().describe("Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated"),
6
+ instruction_id: z.string().describe("The UUID of the instruction to update")
7
+ }).describe("Request model for updating an instruction's active status.");
8
+ const RagieUpdateInstruction_EntitySchemaSchema = z.object({}).describe("Entity schema object for the instruction.");
9
+ const ragieUpdateInstruction = action("RAGIE_UPDATE_INSTRUCTION", {
10
+ slug: "ragie-update-instruction",
11
+ name: "Update Instruction",
12
+ description: "Tool to update an instruction's active status. Use when you need to activate or deactivate an existing instruction.",
13
+ input: RagieUpdateInstructionInput,
14
+ output: z.object({
15
+ id: z.string().describe("The unique identifier of the instruction"),
16
+ name: z.string().describe("Name of the instruction"),
17
+ scope: z.string().describe("Scope of the instruction - either 'document' or 'chunk'"),
18
+ active: z.boolean().describe("Current active status of the instruction"),
19
+ filter: z.record(z.string(), z.unknown()).describe("Metadata filter applied to the instruction").nullable().optional(),
20
+ prompt: z.string().describe("Natural language instruction prompt"),
21
+ partition: z.string().describe("Partition identifier for the instruction").nullable().optional(),
22
+ created_at: z.string().describe("Timestamp when the instruction was created"),
23
+ updated_at: z.string().describe("Timestamp when the instruction was last updated"),
24
+ entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional()
25
+ }).describe("Response model for the updated instruction.")
26
+ });
27
+ //#endregion
28
+ export { ragieUpdateInstruction };
29
+
30
+ //# sourceMappingURL=update-instruction.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-instruction.mjs","names":[],"sources":["../../src/actions/update-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateInstructionInput: z.ZodTypeAny = z.object({\n active: z.boolean().describe(\"Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated\"),\n instruction_id: z.string().describe(\"The UUID of the instruction to update\"),\n}).describe(\"Request model for updating an instruction's active status.\");\nconst RagieUpdateInstruction_EntitySchemaSchema: z.ZodTypeAny = z.object({}).describe(\"Entity schema object for the instruction.\");\nexport const RagieUpdateInstructionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the instruction\"),\n name: z.string().describe(\"Name of the instruction\"),\n scope: z.string().describe(\"Scope of the instruction - either 'document' or 'chunk'\"),\n active: z.boolean().describe(\"Current active status of the instruction\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter applied to the instruction\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction prompt\"),\n partition: z.string().describe(\"Partition identifier for the instruction\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the instruction was created\"),\n updated_at: z.string().describe(\"Timestamp when the instruction was last updated\"),\n entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional(),\n}).describe(\"Response model for the updated instruction.\");\n\nexport const ragieUpdateInstruction = action(\"RAGIE_UPDATE_INSTRUCTION\", {\n slug: \"ragie-update-instruction\",\n name: \"Update Instruction\",\n description: \"Tool to update an instruction's active status. Use when you need to activate or deactivate an existing instruction.\",\n input: RagieUpdateInstructionInput,\n output: RagieUpdateInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oIAAoI;CACjK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAcjI,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACpF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACjF,eAAe,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}