@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-document-from-url.cjs +1 -0
- package/dist/actions/create-document-from-url.cjs.map +1 -1
- package/dist/actions/create-document-from-url.d.cts +3 -8
- package/dist/actions/create-document-from-url.d.cts.map +1 -1
- package/dist/actions/create-document-from-url.d.mts +3 -8
- package/dist/actions/create-document-from-url.d.mts.map +1 -1
- package/dist/actions/create-document-from-url.mjs +1 -0
- package/dist/actions/create-document-from-url.mjs.map +1 -1
- package/dist/actions/create-document-raw.cjs +1 -0
- package/dist/actions/create-document-raw.cjs.map +1 -1
- package/dist/actions/create-document-raw.d.cts +3 -7
- package/dist/actions/create-document-raw.d.cts.map +1 -1
- package/dist/actions/create-document-raw.d.mts +3 -7
- package/dist/actions/create-document-raw.d.mts.map +1 -1
- package/dist/actions/create-document-raw.mjs +1 -0
- package/dist/actions/create-document-raw.mjs.map +1 -1
- package/dist/actions/create-document.cjs +1 -0
- package/dist/actions/create-document.cjs.map +1 -1
- package/dist/actions/create-document.d.cts +3 -15
- package/dist/actions/create-document.d.cts.map +1 -1
- package/dist/actions/create-document.d.mts +3 -15
- package/dist/actions/create-document.d.mts.map +1 -1
- package/dist/actions/create-document.mjs +1 -0
- package/dist/actions/create-document.mjs.map +1 -1
- package/dist/actions/create-instruction.cjs +1 -0
- package/dist/actions/create-instruction.cjs.map +1 -1
- package/dist/actions/create-instruction.d.cts +3 -9
- package/dist/actions/create-instruction.d.cts.map +1 -1
- package/dist/actions/create-instruction.d.mts +3 -9
- package/dist/actions/create-instruction.d.mts.map +1 -1
- package/dist/actions/create-instruction.mjs +1 -0
- package/dist/actions/create-instruction.mjs.map +1 -1
- package/dist/actions/create-oauth-redirect-url.cjs +1 -0
- package/dist/actions/create-oauth-redirect-url.cjs.map +1 -1
- package/dist/actions/create-oauth-redirect-url.d.cts +3 -11
- package/dist/actions/create-oauth-redirect-url.d.cts.map +1 -1
- package/dist/actions/create-oauth-redirect-url.d.mts +3 -11
- package/dist/actions/create-oauth-redirect-url.d.mts.map +1 -1
- package/dist/actions/create-oauth-redirect-url.mjs +1 -0
- package/dist/actions/create-oauth-redirect-url.mjs.map +1 -1
- package/dist/actions/create-partition-partitions-post.cjs +1 -0
- package/dist/actions/create-partition-partitions-post.cjs.map +1 -1
- package/dist/actions/create-partition-partitions-post.d.cts +3 -17
- package/dist/actions/create-partition-partitions-post.d.cts.map +1 -1
- package/dist/actions/create-partition-partitions-post.d.mts +3 -17
- package/dist/actions/create-partition-partitions-post.d.mts.map +1 -1
- package/dist/actions/create-partition-partitions-post.mjs +1 -0
- package/dist/actions/create-partition-partitions-post.mjs.map +1 -1
- package/dist/actions/delete-document.cjs +1 -0
- package/dist/actions/delete-document.cjs.map +1 -1
- package/dist/actions/delete-document.d.cts +3 -5
- package/dist/actions/delete-document.d.cts.map +1 -1
- package/dist/actions/delete-document.d.mts +3 -5
- package/dist/actions/delete-document.d.mts.map +1 -1
- package/dist/actions/delete-document.mjs +1 -0
- package/dist/actions/delete-document.mjs.map +1 -1
- package/dist/actions/delete-instruction.cjs +1 -0
- package/dist/actions/delete-instruction.cjs.map +1 -1
- package/dist/actions/delete-instruction.d.cts +3 -3
- package/dist/actions/delete-instruction.d.cts.map +1 -1
- package/dist/actions/delete-instruction.d.mts +3 -3
- package/dist/actions/delete-instruction.d.mts.map +1 -1
- package/dist/actions/delete-instruction.mjs +1 -0
- package/dist/actions/delete-instruction.mjs.map +1 -1
- package/dist/actions/delete-partition.cjs +1 -0
- package/dist/actions/delete-partition.cjs.map +1 -1
- package/dist/actions/delete-partition.d.cts +3 -4
- package/dist/actions/delete-partition.d.cts.map +1 -1
- package/dist/actions/delete-partition.d.mts +3 -4
- package/dist/actions/delete-partition.d.mts.map +1 -1
- package/dist/actions/delete-partition.mjs +1 -0
- package/dist/actions/delete-partition.mjs.map +1 -1
- package/dist/actions/get-document-chunk-content.cjs +1 -0
- package/dist/actions/get-document-chunk-content.cjs.map +1 -1
- package/dist/actions/get-document-chunk-content.d.cts +3 -8
- package/dist/actions/get-document-chunk-content.d.cts.map +1 -1
- package/dist/actions/get-document-chunk-content.d.mts +3 -8
- package/dist/actions/get-document-chunk-content.d.mts.map +1 -1
- package/dist/actions/get-document-chunk-content.mjs +1 -0
- package/dist/actions/get-document-chunk-content.mjs.map +1 -1
- package/dist/actions/get-document-chunk.cjs +1 -0
- package/dist/actions/get-document-chunk.cjs.map +1 -1
- package/dist/actions/get-document-chunk.d.cts +3 -5
- package/dist/actions/get-document-chunk.d.cts.map +1 -1
- package/dist/actions/get-document-chunk.d.mts +3 -5
- package/dist/actions/get-document-chunk.d.mts.map +1 -1
- package/dist/actions/get-document-chunk.mjs +1 -0
- package/dist/actions/get-document-chunk.mjs.map +1 -1
- package/dist/actions/get-document-chunks.cjs +1 -0
- package/dist/actions/get-document-chunks.cjs.map +1 -1
- package/dist/actions/get-document-chunks.d.cts +3 -8
- package/dist/actions/get-document-chunks.d.cts.map +1 -1
- package/dist/actions/get-document-chunks.d.mts +3 -8
- package/dist/actions/get-document-chunks.d.mts.map +1 -1
- package/dist/actions/get-document-chunks.mjs +1 -0
- package/dist/actions/get-document-chunks.mjs.map +1 -1
- package/dist/actions/get-document-content.cjs +1 -0
- package/dist/actions/get-document-content.cjs.map +1 -1
- package/dist/actions/get-document-content.d.cts +3 -7
- package/dist/actions/get-document-content.d.cts.map +1 -1
- package/dist/actions/get-document-content.d.mts +3 -7
- package/dist/actions/get-document-content.d.mts.map +1 -1
- package/dist/actions/get-document-content.mjs +1 -0
- package/dist/actions/get-document-content.mjs.map +1 -1
- package/dist/actions/get-document-summary.cjs +1 -0
- package/dist/actions/get-document-summary.cjs.map +1 -1
- package/dist/actions/get-document-summary.d.cts +3 -4
- package/dist/actions/get-document-summary.d.cts.map +1 -1
- package/dist/actions/get-document-summary.d.mts +3 -4
- package/dist/actions/get-document-summary.d.mts.map +1 -1
- package/dist/actions/get-document-summary.mjs +1 -0
- package/dist/actions/get-document-summary.mjs.map +1 -1
- package/dist/actions/get-document.cjs +1 -0
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +3 -4
- package/dist/actions/get-document.d.cts.map +1 -1
- package/dist/actions/get-document.d.mts +3 -4
- package/dist/actions/get-document.d.mts.map +1 -1
- package/dist/actions/get-document.mjs +1 -0
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/get-partition.cjs +1 -0
- package/dist/actions/get-partition.cjs.map +1 -1
- package/dist/actions/get-partition.d.cts +3 -3
- package/dist/actions/get-partition.d.cts.map +1 -1
- package/dist/actions/get-partition.d.mts +3 -3
- package/dist/actions/get-partition.d.mts.map +1 -1
- package/dist/actions/get-partition.mjs +1 -0
- package/dist/actions/get-partition.mjs.map +1 -1
- package/dist/actions/get-response.cjs +1 -0
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +3 -3
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +3 -3
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +1 -0
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/list-connection-source-types.cjs +1 -0
- package/dist/actions/list-connection-source-types.cjs.map +1 -1
- package/dist/actions/list-connection-source-types.d.cts +3 -1
- package/dist/actions/list-connection-source-types.d.cts.map +1 -1
- package/dist/actions/list-connection-source-types.d.mts +3 -1
- package/dist/actions/list-connection-source-types.d.mts.map +1 -1
- package/dist/actions/list-connection-source-types.mjs +1 -0
- package/dist/actions/list-connection-source-types.mjs.map +1 -1
- package/dist/actions/list-connections-connections-get.cjs +1 -0
- package/dist/actions/list-connections-connections-get.cjs.map +1 -1
- package/dist/actions/list-connections-connections-get.d.cts +3 -6
- package/dist/actions/list-connections-connections-get.d.cts.map +1 -1
- package/dist/actions/list-connections-connections-get.d.mts +3 -6
- package/dist/actions/list-connections-connections-get.d.mts.map +1 -1
- package/dist/actions/list-connections-connections-get.mjs +1 -0
- package/dist/actions/list-connections-connections-get.mjs.map +1 -1
- package/dist/actions/list-documents.cjs +1 -0
- package/dist/actions/list-documents.cjs.map +1 -1
- package/dist/actions/list-documents.d.cts +3 -6
- package/dist/actions/list-documents.d.cts.map +1 -1
- package/dist/actions/list-documents.d.mts +3 -6
- package/dist/actions/list-documents.d.mts.map +1 -1
- package/dist/actions/list-documents.mjs +1 -0
- package/dist/actions/list-documents.mjs.map +1 -1
- package/dist/actions/list-entities-by-document.cjs +1 -0
- package/dist/actions/list-entities-by-document.cjs.map +1 -1
- package/dist/actions/list-entities-by-document.d.cts +3 -6
- package/dist/actions/list-entities-by-document.d.cts.map +1 -1
- package/dist/actions/list-entities-by-document.d.mts +3 -6
- package/dist/actions/list-entities-by-document.d.mts.map +1 -1
- package/dist/actions/list-entities-by-document.mjs +1 -0
- package/dist/actions/list-entities-by-document.mjs.map +1 -1
- package/dist/actions/list-entities-by-instruction.cjs +1 -0
- package/dist/actions/list-entities-by-instruction.cjs.map +1 -1
- package/dist/actions/list-entities-by-instruction.d.cts +3 -6
- package/dist/actions/list-entities-by-instruction.d.cts.map +1 -1
- package/dist/actions/list-entities-by-instruction.d.mts +3 -6
- package/dist/actions/list-entities-by-instruction.d.mts.map +1 -1
- package/dist/actions/list-entities-by-instruction.mjs +1 -0
- package/dist/actions/list-entities-by-instruction.mjs.map +1 -1
- package/dist/actions/list-instructions.cjs +1 -0
- package/dist/actions/list-instructions.cjs.map +1 -1
- package/dist/actions/list-instructions.d.cts +3 -1
- package/dist/actions/list-instructions.d.cts.map +1 -1
- package/dist/actions/list-instructions.d.mts +3 -1
- package/dist/actions/list-instructions.d.mts.map +1 -1
- package/dist/actions/list-instructions.mjs +1 -0
- package/dist/actions/list-instructions.mjs.map +1 -1
- package/dist/actions/list-partitions.cjs +1 -0
- package/dist/actions/list-partitions.cjs.map +1 -1
- package/dist/actions/list-partitions.d.cts +3 -4
- package/dist/actions/list-partitions.d.cts.map +1 -1
- package/dist/actions/list-partitions.d.mts +3 -4
- package/dist/actions/list-partitions.d.mts.map +1 -1
- package/dist/actions/list-partitions.mjs +1 -0
- package/dist/actions/list-partitions.mjs.map +1 -1
- package/dist/actions/patch-document-metadata.cjs +1 -0
- package/dist/actions/patch-document-metadata.cjs.map +1 -1
- package/dist/actions/patch-document-metadata.d.cts +3 -6
- package/dist/actions/patch-document-metadata.d.cts.map +1 -1
- package/dist/actions/patch-document-metadata.d.mts +3 -6
- package/dist/actions/patch-document-metadata.d.mts.map +1 -1
- package/dist/actions/patch-document-metadata.mjs +1 -0
- package/dist/actions/patch-document-metadata.mjs.map +1 -1
- package/dist/actions/retrieve.cjs +1 -0
- package/dist/actions/retrieve.cjs.map +1 -1
- package/dist/actions/retrieve.d.cts +3 -9
- package/dist/actions/retrieve.d.cts.map +1 -1
- package/dist/actions/retrieve.d.mts +3 -9
- package/dist/actions/retrieve.d.mts.map +1 -1
- package/dist/actions/retrieve.mjs +1 -0
- package/dist/actions/retrieve.mjs.map +1 -1
- package/dist/actions/set-partition-limits.cjs +1 -0
- package/dist/actions/set-partition-limits.cjs.map +1 -1
- package/dist/actions/set-partition-limits.d.cts +3 -15
- package/dist/actions/set-partition-limits.d.cts.map +1 -1
- package/dist/actions/set-partition-limits.d.mts +3 -15
- package/dist/actions/set-partition-limits.d.mts.map +1 -1
- package/dist/actions/set-partition-limits.mjs +1 -0
- package/dist/actions/set-partition-limits.mjs.map +1 -1
- package/dist/actions/update-document-from-url.cjs +1 -0
- package/dist/actions/update-document-from-url.cjs.map +1 -1
- package/dist/actions/update-document-from-url.d.cts +3 -9
- package/dist/actions/update-document-from-url.d.cts.map +1 -1
- package/dist/actions/update-document-from-url.d.mts +3 -9
- package/dist/actions/update-document-from-url.d.mts.map +1 -1
- package/dist/actions/update-document-from-url.mjs +1 -0
- package/dist/actions/update-document-from-url.mjs.map +1 -1
- package/dist/actions/update-document-raw.cjs +1 -0
- package/dist/actions/update-document-raw.cjs.map +1 -1
- package/dist/actions/update-document-raw.d.cts +3 -4
- package/dist/actions/update-document-raw.d.cts.map +1 -1
- package/dist/actions/update-document-raw.d.mts +3 -4
- package/dist/actions/update-document-raw.d.mts.map +1 -1
- package/dist/actions/update-document-raw.mjs +1 -0
- package/dist/actions/update-document-raw.mjs.map +1 -1
- package/dist/actions/update-instruction.cjs +1 -0
- package/dist/actions/update-instruction.cjs.map +1 -1
- package/dist/actions/update-instruction.d.cts +3 -4
- package/dist/actions/update-instruction.d.cts.map +1 -1
- package/dist/actions/update-instruction.d.mts +3 -4
- package/dist/actions/update-instruction.d.mts.map +1 -1
- package/dist/actions/update-instruction.mjs +1 -0
- package/dist/actions/update-instruction.mjs.map +1 -1
- package/dist/actions/update-partition.cjs +1 -0
- package/dist/actions/update-partition.cjs.map +1 -1
- package/dist/actions/update-partition.d.cts +3 -6
- package/dist/actions/update-partition.d.cts.map +1 -1
- package/dist/actions/update-partition.d.mts +3 -6
- package/dist/actions/update-partition.d.mts.map +1 -1
- package/dist/actions/update-partition.mjs +1 -0
- package/dist/actions/update-partition.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunk-content.d.mts","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunk-content.d.mts","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunk-content.mjs","names":[],"sources":["../../src/actions/get-document-chunk-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunk-content.mjs","names":[],"sources":["../../src/actions/get-document-chunk-content.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 RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent: AppAction<\n typeof RagieGetDocumentChunkContentInput,\n typeof RagieGetDocumentChunkContentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,KAAK;GAAC;GAAc;GAAc;GAAa;GAAc;GAAc;GAAa;GAAa;GAAc;EAAY,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,sDAeH;CACP,QAfgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EACvK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunk.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunk.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk.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 RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk: AppAction<\n typeof RagieGetDocumentChunkInput,\n typeof RagieGetDocumentChunkOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACtJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACrH,MAAM,2CAA2CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtK,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACxE,eAAe,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ragie } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-document-chunk.d.ts
|
|
@@ -14,11 +16,7 @@ declare const RagieGetDocumentChunkOutput: z.ZodObject<{
|
|
|
14
16
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
17
|
modality_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const ragieGetDocumentChunk:
|
|
18
|
-
chunk_id: string;
|
|
19
|
-
document_id: string;
|
|
20
|
-
partition?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const ragieGetDocumentChunk: AppAction<typeof RagieGetDocumentChunkInput, typeof RagieGetDocumentChunkOutput, typeof ragie.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { ragieGetDocumentChunk };
|
|
24
22
|
//# sourceMappingURL=get-document-chunk.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunk.d.cts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunk.d.cts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,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/get-document-chunk.d.ts
|
|
@@ -14,11 +16,7 @@ declare const RagieGetDocumentChunkOutput: z.ZodObject<{
|
|
|
14
16
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
17
|
modality_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const ragieGetDocumentChunk:
|
|
18
|
-
chunk_id: string;
|
|
19
|
-
document_id: string;
|
|
20
|
-
partition?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const ragieGetDocumentChunk: AppAction<typeof RagieGetDocumentChunkInput, typeof RagieGetDocumentChunkOutput, typeof ragie.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { ragieGetDocumentChunk };
|
|
24
22
|
//# sourceMappingURL=get-document-chunk.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunk.d.mts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunk.d.mts","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunk.mjs","names":[],"sources":["../../src/actions/get-document-chunk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunk.mjs","names":[],"sources":["../../src/actions/get-document-chunk.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 RagieGetDocumentChunkInput = z.object({\n chunk_id: z.string().describe(\"The ID of the chunk (UUID format).\"),\n partition: z.string().describe(\"Optional partition to scope the request; if omitted, defaults to the default partition for newer accounts.\").optional(),\n document_id: z.string().describe(\"The ID of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document chunk by document and chunk ID.\");\nconst RagieGetDocumentChunk_ChunkMetadataSchema = z.record(z.string(), z.unknown()).describe(\"Custom chunk metadata.\");\nconst RagieGetDocumentChunk_ModalityDataSchema = z.record(z.string(), z.unknown()).describe(\"Additional data for audio/video chunks, including word-level timestamps.\");\nexport const RagieGetDocumentChunkOutput = z.object({\n id: z.string().describe(\"The chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content.\").nullable(),\n index: z.number().int().describe(\"Position within document (default: -1).\").nullable(),\n links: z.record(z.string(), z.unknown()).describe(\"Dictionary of Link objects with href and type properties.\").nullable().optional(),\n metadata: RagieGetDocumentChunk_ChunkMetadataSchema.nullable().optional(),\n modality_data: RagieGetDocumentChunk_ModalityDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk details.\");\n\nexport const ragieGetDocumentChunk: AppAction<\n typeof RagieGetDocumentChunkInput,\n typeof RagieGetDocumentChunkOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNK\", {\n slug: \"ragie-get-document-chunk\",\n name: \"Get Document Chunk\",\n description: \"Tool to retrieve a specific document chunk by its document and chunk ID. Use when you need detailed information about a specific chunk within a document, including its content, metadata, position index, and optional modality data for audio/video chunks.\",\n input: RagieGetDocumentChunkInput,\n output: RagieGetDocumentChunkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACtJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACrH,MAAM,2CAA2C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAUtK,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,UAAU,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACxE,eAAe,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunks.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunks.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunks.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 RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks: AppAction<\n typeof RagieGetDocumentChunksInput,\n typeof RagieGetDocumentChunksOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6DAA6D;CAClI,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,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/get-document-chunks.d.ts
|
|
@@ -22,14 +24,7 @@ declare const RagieGetDocumentChunksOutput: z.ZodObject<{
|
|
|
22
24
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const ragieGetDocumentChunks:
|
|
26
|
-
document_id: string;
|
|
27
|
-
cursor?: string | undefined;
|
|
28
|
-
end_index?: number | undefined;
|
|
29
|
-
page_size?: number | undefined;
|
|
30
|
-
partition?: string | undefined;
|
|
31
|
-
start_index?: number | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const ragieGetDocumentChunks: AppAction<typeof RagieGetDocumentChunksInput, typeof RagieGetDocumentChunksOutput, typeof ragie.credential>;
|
|
33
28
|
//#endregion
|
|
34
29
|
export { ragieGetDocumentChunks };
|
|
35
30
|
//# sourceMappingURL=get-document-chunks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunks.d.cts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunks.d.cts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ragie } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-document-chunks.d.ts
|
|
@@ -22,14 +24,7 @@ declare const RagieGetDocumentChunksOutput: z.ZodObject<{
|
|
|
22
24
|
total_count: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const ragieGetDocumentChunks:
|
|
26
|
-
document_id: string;
|
|
27
|
-
cursor?: string | undefined;
|
|
28
|
-
end_index?: number | undefined;
|
|
29
|
-
page_size?: number | undefined;
|
|
30
|
-
partition?: string | undefined;
|
|
31
|
-
start_index?: number | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const ragieGetDocumentChunks: AppAction<typeof RagieGetDocumentChunksInput, typeof RagieGetDocumentChunksOutput, typeof ragie.credential>;
|
|
33
28
|
//#endregion
|
|
34
29
|
export { ragieGetDocumentChunks };
|
|
35
30
|
//# sourceMappingURL=get-document-chunks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunks.d.mts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunks.d.mts","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunks.mjs","names":[],"sources":["../../src/actions/get-document-chunks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-chunks.mjs","names":[],"sources":["../../src/actions/get-document-chunks.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 RagieGetDocumentChunksInput = z.object({\n cursor: z.string().describe(\"An opaque cursor for pagination used to retrieve subsequent pages.\").optional(),\n end_index: z.number().int().describe(\"The inclusive ending index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n page_size: z.number().int().describe(\"The number of items per page (range: 1-100, default: 10).\").optional(),\n partition: z.string().describe(\"Header parameter scoping results to a specific partition.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve chunks from.\"),\n start_index: z.number().int().describe(\"The inclusive starting index of the chunk range to list. Omitting both start_index and end_index returns all chunks.\").optional(),\n}).describe(\"Request model for retrieving document chunks with pagination support.\");\nconst RagieGetDocumentChunks_DocumentChunkSchema = z.object({\n id: z.string().describe(\"Chunk identifier (UUID).\").nullable(),\n text: z.string().describe(\"Chunk content text.\").nullable(),\n index: z.number().int().default(-1).describe(\"Chunk sequence number. Default is -1.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"HREF and type mappings for chunk sources.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata as a dictionary.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single document chunk.\");\nconst RagieGetDocumentChunks_PaginationSchema = z.object({\n next_cursor: z.string().describe(\"Cursor for retrieving the next page. Null if no more pages.\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of matching chunks across all pages.\").nullable(),\n}).passthrough().describe(\"Model representing pagination information.\");\nexport const RagieGetDocumentChunksOutput = z.object({\n chunks: z.array(RagieGetDocumentChunks_DocumentChunkSchema).describe(\"List of document chunks sorted by index in ascending order.\"),\n pagination: RagieGetDocumentChunks_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving document chunks with pagination.\");\n\nexport const ragieGetDocumentChunks: AppAction<\n typeof RagieGetDocumentChunksInput,\n typeof RagieGetDocumentChunksOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CHUNKS\", {\n slug: \"ragie-get-document-chunks\",\n name: \"Get Document Chunks\",\n description: \"Tool to retrieve document chunks with pagination support. Lists all document chunks sorted by index in ascending order (max 100 items per page). Documents created prior to 9/18/2024 that have not been updated since have chunks sorted by ID instead of index.\",\n input: RagieGetDocumentChunksInput,\n output: RagieGetDocumentChunksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,0CAA0C,EAAE,OAAO;CACvD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6DAA6D;EAClI,YAAY,wCAAwC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentContentInput = z.object({\n range: z.string().describe(\"HTTP range header for partial content requests.\").optional(),\n download: z.boolean().describe(\"Whether to return content as file download. Defaults to false.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n media_type: z.string().describe(\"Format to return content in. Accepts: text/plain, audio/mpeg, video/mp4, image/webp, image/heic, image/bmp, image/png, image/jpeg, image/tiff, or application/json. Default returns content with text descriptions of non-textual media.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve content for.\"),\n}).describe(\"Request model for retrieving document content by ID.\");\nexport const RagieGetDocumentContentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable().optional(),\n name: z.string().describe(\"Document name.\").nullable().optional(),\n status: z.string().describe(\"Document processing status.\").nullable().optional(),\n content: z.string().describe(\"The document content in requested format.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata with string/number/boolean/array values.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n page_count: z.number().describe(\"Total page count.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n chunk_count: z.number().int().describe(\"Number of document chunks.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document content retrieval.\\nWhen media_type is application/json, returns full document metadata with content.\\nWhen media_type is text/plain or other formats, returns just the content.\");\n\nexport const ragieGetDocumentContent = action(\"RAGIE_GET_DOCUMENT_CONTENT\", {\n slug: \"ragie-get-document-content\",\n name: \"Get Document Content\",\n description: \"Tool to retrieve the content of a document by its ID. Use when you need to access the full content of a specific document. The media_type parameter can be used to request content in different formats.\",\n input: RagieGetDocumentContentInput,\n output: RagieGetDocumentContentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-content.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 RagieGetDocumentContentInput = z.object({\n range: z.string().describe(\"HTTP range header for partial content requests.\").optional(),\n download: z.boolean().describe(\"Whether to return content as file download. Defaults to false.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n media_type: z.string().describe(\"Format to return content in. Accepts: text/plain, audio/mpeg, video/mp4, image/webp, image/heic, image/bmp, image/png, image/jpeg, image/tiff, or application/json. Default returns content with text descriptions of non-textual media.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve content for.\"),\n}).describe(\"Request model for retrieving document content by ID.\");\nexport const RagieGetDocumentContentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable().optional(),\n name: z.string().describe(\"Document name.\").nullable().optional(),\n status: z.string().describe(\"Document processing status.\").nullable().optional(),\n content: z.string().describe(\"The document content in requested format.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata with string/number/boolean/array values.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n page_count: z.number().describe(\"Total page count.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n chunk_count: z.number().int().describe(\"Number of document chunks.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document content retrieval.\\nWhen media_type is application/json, returns full document metadata with content.\\nWhen media_type is text/plain or other formats, returns just the content.\");\n\nexport const ragieGetDocumentContent: AppAction<\n typeof RagieGetDocumentContentInput,\n typeof RagieGetDocumentContentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CONTENT\", {\n slug: \"ragie-get-document-content\",\n name: \"Get Document Content\",\n description: \"Tool to retrieve the content of a document by its ID. Use when you need to access the full content of a specific document. The media_type parameter can be used to request content in different formats.\",\n input: RagieGetDocumentContentInput,\n output: RagieGetDocumentContentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,CAAC,CAAC,SAAS;CACrR,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACtF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAA8M;AAExO,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/get-document-content.d.ts
|
|
@@ -21,13 +23,7 @@ declare const RagieGetDocumentContentOutput: z.ZodObject<{
|
|
|
21
23
|
chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const ragieGetDocumentContent:
|
|
25
|
-
document_id: string;
|
|
26
|
-
range?: string | undefined;
|
|
27
|
-
download?: boolean | undefined;
|
|
28
|
-
partition?: string | undefined;
|
|
29
|
-
media_type?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const ragieGetDocumentContent: AppAction<typeof RagieGetDocumentContentInput, typeof RagieGetDocumentContentOutput, typeof ragie.credential>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { ragieGetDocumentContent };
|
|
33
29
|
//# sourceMappingURL=get-document-content.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-content.d.cts","names":[],"sources":["../../src/actions/get-document-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-content.d.cts","names":[],"sources":["../../src/actions/get-document-content.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/get-document-content.d.ts
|
|
@@ -21,13 +23,7 @@ declare const RagieGetDocumentContentOutput: z.ZodObject<{
|
|
|
21
23
|
chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const ragieGetDocumentContent:
|
|
25
|
-
document_id: string;
|
|
26
|
-
range?: string | undefined;
|
|
27
|
-
download?: boolean | undefined;
|
|
28
|
-
partition?: string | undefined;
|
|
29
|
-
media_type?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const ragieGetDocumentContent: AppAction<typeof RagieGetDocumentContentInput, typeof RagieGetDocumentContentOutput, typeof ragie.credential>;
|
|
31
27
|
//#endregion
|
|
32
28
|
export { ragieGetDocumentContent };
|
|
33
29
|
//# sourceMappingURL=get-document-content.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-content.d.mts","names":[],"sources":["../../src/actions/get-document-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-content.d.mts","names":[],"sources":["../../src/actions/get-document-content.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-content.mjs","names":[],"sources":["../../src/actions/get-document-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentContentInput = z.object({\n range: z.string().describe(\"HTTP range header for partial content requests.\").optional(),\n download: z.boolean().describe(\"Whether to return content as file download. Defaults to false.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n media_type: z.string().describe(\"Format to return content in. Accepts: text/plain, audio/mpeg, video/mp4, image/webp, image/heic, image/bmp, image/png, image/jpeg, image/tiff, or application/json. Default returns content with text descriptions of non-textual media.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve content for.\"),\n}).describe(\"Request model for retrieving document content by ID.\");\nexport const RagieGetDocumentContentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable().optional(),\n name: z.string().describe(\"Document name.\").nullable().optional(),\n status: z.string().describe(\"Document processing status.\").nullable().optional(),\n content: z.string().describe(\"The document content in requested format.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata with string/number/boolean/array values.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n page_count: z.number().describe(\"Total page count.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n chunk_count: z.number().int().describe(\"Number of document chunks.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document content retrieval.\\nWhen media_type is application/json, returns full document metadata with content.\\nWhen media_type is text/plain or other formats, returns just the content.\");\n\nexport const ragieGetDocumentContent = action(\"RAGIE_GET_DOCUMENT_CONTENT\", {\n slug: \"ragie-get-document-content\",\n name: \"Get Document Content\",\n description: \"Tool to retrieve the content of a document by its ID. Use when you need to access the full content of a specific document. The media_type parameter can be used to request content in different formats.\",\n input: RagieGetDocumentContentInput,\n output: RagieGetDocumentContentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-content.mjs","names":[],"sources":["../../src/actions/get-document-content.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 RagieGetDocumentContentInput = z.object({\n range: z.string().describe(\"HTTP range header for partial content requests.\").optional(),\n download: z.boolean().describe(\"Whether to return content as file download. Defaults to false.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n media_type: z.string().describe(\"Format to return content in. Accepts: text/plain, audio/mpeg, video/mp4, image/webp, image/heic, image/bmp, image/png, image/jpeg, image/tiff, or application/json. Default returns content with text descriptions of non-textual media.\").optional(),\n document_id: z.string().describe(\"The UUID of the document to retrieve content for.\"),\n}).describe(\"Request model for retrieving document content by ID.\");\nexport const RagieGetDocumentContentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable().optional(),\n name: z.string().describe(\"Document name.\").nullable().optional(),\n status: z.string().describe(\"Document processing status.\").nullable().optional(),\n content: z.string().describe(\"The document content in requested format.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata with string/number/boolean/array values.\").nullable().optional(),\n partition: z.string().describe(\"Partition identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n page_count: z.number().describe(\"Total page count.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n chunk_count: z.number().int().describe(\"Number of document chunks.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document content retrieval.\\nWhen media_type is application/json, returns full document metadata with content.\\nWhen media_type is text/plain or other formats, returns just the content.\");\n\nexport const ragieGetDocumentContent: AppAction<\n typeof RagieGetDocumentContentInput,\n typeof RagieGetDocumentContentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_CONTENT\", {\n slug: \"ragie-get-document-content\",\n name: \"Get Document Content\",\n description: \"Tool to retrieve the content of a document by its ID. Use when you need to access the full content of a specific document. The media_type parameter can be used to request content in different formats.\",\n input: RagieGetDocumentContentInput,\n output: RagieGetDocumentContentOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0OAA0O,CAAC,CAAC,SAAS;EACrR,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACtF,CAAC,CAAC,CAAC,SAAS,sDAuBH;CACP,QAvB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8MAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-summary.cjs","names":["z","action"],"sources":["../../src/actions/get-document-summary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentSummaryInput = z.object({\n partition: z.string().describe(\"Optional partition scope. If omitted, accounts created after 1/9/2025 default to the default partition; older accounts scope to all partitions.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document summary.\");\nexport const RagieGetDocumentSummaryOutput = z.object({\n summary: z.string().describe(\"The LLM-generated summary text of the document.\").nullable(),\n document_id: z.string().describe(\"The ID of the summarized document.\").nullable(),\n}).passthrough().describe(\"Response model for document summary.\");\n\nexport const ragieGetDocumentSummary = action(\"RAGIE_GET_DOCUMENT_SUMMARY\", {\n slug: \"ragie-get-document-summary\",\n name: \"Get Document Summary\",\n description: \"Tool to retrieve an LLM-generated summary of a document by its ID. Use when you need to get a concise summary of a document's content.\",\n input: RagieGetDocumentSummaryInput,\n output: RagieGetDocumentSummaryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-summary.cjs","names":["z","action"],"sources":["../../src/actions/get-document-summary.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 RagieGetDocumentSummaryInput = z.object({\n partition: z.string().describe(\"Optional partition scope. If omitted, accounts created after 1/9/2025 default to the default partition; older accounts scope to all partitions.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document summary.\");\nexport const RagieGetDocumentSummaryOutput = z.object({\n summary: z.string().describe(\"The LLM-generated summary text of the document.\").nullable(),\n document_id: z.string().describe(\"The ID of the summarized document.\").nullable(),\n}).passthrough().describe(\"Response model for document summary.\");\n\nexport const ragieGetDocumentSummary: AppAction<\n typeof RagieGetDocumentSummaryInput,\n typeof RagieGetDocumentSummaryOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_SUMMARY\", {\n slug: \"ragie-get-document-summary\",\n name: \"Get Document Summary\",\n description: \"Tool to retrieve an LLM-generated summary of a document by its ID. Use when you need to get a concise summary of a document's content.\",\n input: RagieGetDocumentSummaryInput,\n output: RagieGetDocumentSummaryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CAC3L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACzF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/get-document-summary.d.ts
|
|
@@ -9,10 +11,7 @@ declare const RagieGetDocumentSummaryOutput: z.ZodObject<{
|
|
|
9
11
|
summary: z.ZodNullable<z.ZodString>;
|
|
10
12
|
document_id: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const ragieGetDocumentSummary:
|
|
13
|
-
document_id: string;
|
|
14
|
-
partition?: string | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const ragieGetDocumentSummary: AppAction<typeof RagieGetDocumentSummaryInput, typeof RagieGetDocumentSummaryOutput, typeof ragie.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { ragieGetDocumentSummary };
|
|
18
17
|
//# sourceMappingURL=get-document-summary.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-summary.d.cts","names":[],"sources":["../../src/actions/get-document-summary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-summary.d.cts","names":[],"sources":["../../src/actions/get-document-summary.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/get-document-summary.d.ts
|
|
@@ -9,10 +11,7 @@ declare const RagieGetDocumentSummaryOutput: z.ZodObject<{
|
|
|
9
11
|
summary: z.ZodNullable<z.ZodString>;
|
|
10
12
|
document_id: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const ragieGetDocumentSummary:
|
|
13
|
-
document_id: string;
|
|
14
|
-
partition?: string | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const ragieGetDocumentSummary: AppAction<typeof RagieGetDocumentSummaryInput, typeof RagieGetDocumentSummaryOutput, typeof ragie.credential>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { ragieGetDocumentSummary };
|
|
18
17
|
//# sourceMappingURL=get-document-summary.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-summary.d.mts","names":[],"sources":["../../src/actions/get-document-summary.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-summary.d.mts","names":[],"sources":["../../src/actions/get-document-summary.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-summary.mjs","names":[],"sources":["../../src/actions/get-document-summary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentSummaryInput = z.object({\n partition: z.string().describe(\"Optional partition scope. If omitted, accounts created after 1/9/2025 default to the default partition; older accounts scope to all partitions.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document summary.\");\nexport const RagieGetDocumentSummaryOutput = z.object({\n summary: z.string().describe(\"The LLM-generated summary text of the document.\").nullable(),\n document_id: z.string().describe(\"The ID of the summarized document.\").nullable(),\n}).passthrough().describe(\"Response model for document summary.\");\n\nexport const ragieGetDocumentSummary = action(\"RAGIE_GET_DOCUMENT_SUMMARY\", {\n slug: \"ragie-get-document-summary\",\n name: \"Get Document Summary\",\n description: \"Tool to retrieve an LLM-generated summary of a document by its ID. Use when you need to get a concise summary of a document's content.\",\n input: RagieGetDocumentSummaryInput,\n output: RagieGetDocumentSummaryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-summary.mjs","names":[],"sources":["../../src/actions/get-document-summary.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 RagieGetDocumentSummaryInput = z.object({\n partition: z.string().describe(\"Optional partition scope. If omitted, accounts created after 1/9/2025 default to the default partition; older accounts scope to all partitions.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n}).describe(\"Request model for retrieving a document summary.\");\nexport const RagieGetDocumentSummaryOutput = z.object({\n summary: z.string().describe(\"The LLM-generated summary text of the document.\").nullable(),\n document_id: z.string().describe(\"The ID of the summarized document.\").nullable(),\n}).passthrough().describe(\"Response model for document summary.\");\n\nexport const ragieGetDocumentSummary: AppAction<\n typeof RagieGetDocumentSummaryInput,\n typeof RagieGetDocumentSummaryOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT_SUMMARY\", {\n slug: \"ragie-get-document-summary\",\n name: \"Get Document Summary\",\n description: \"Tool to retrieve an LLM-generated summary of a document by its ID. Use when you need to get a concise summary of a document's content.\",\n input: RagieGetDocumentSummaryInput,\n output: RagieGetDocumentSummaryOutput,\n});\n"],"mappings":";;;AAeA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB0C,EAAE,OAAO;EACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EAC3L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACzF,CAAC,CAAC,CAAC,SAAS,kDAcH;CACP,QAd2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document.cjs","names":["z","action"],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentInput = z.object({\n partition: z.string().describe(\"Scopes the request to a specific partition. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document in UUID format (e.g., 00000000-0000-0000-0000-000000000000).\"),\n}).describe(\"Request model for retrieving a specific document by its ID.\");\nexport const RagieGetDocumentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n errors: z.array(z.string()).describe(\"List of processing error messages, if any.\"),\n status: z.string().describe(\"Processing status of the document.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\"),\n partition: z.string().describe(\"Associated partition identifier.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp (ISO8601).\").nullable(),\n page_count: z.number().describe(\"Total number of pages in the document.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp (ISO8601).\").nullable(),\n chunk_count: z.number().int().describe(\"Number of text chunks extracted from the document.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing document details, metadata, and processing status.\");\n\nexport const ragieGetDocument = action(\"RAGIE_GET_DOCUMENT\", {\n slug: \"ragie-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document by its unique identifier. Use when you need to get document details, metadata, processing status, or check for errors. Returns comprehensive document information including chunk count, page count, and any processing errors.\",\n input: RagieGetDocumentInput,\n output: RagieGetDocumentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document.cjs","names":["z","action"],"sources":["../../src/actions/get-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 RagieGetDocumentInput = z.object({\n partition: z.string().describe(\"Scopes the request to a specific partition. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document in UUID format (e.g., 00000000-0000-0000-0000-000000000000).\"),\n}).describe(\"Request model for retrieving a specific document by its ID.\");\nexport const RagieGetDocumentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n errors: z.array(z.string()).describe(\"List of processing error messages, if any.\"),\n status: z.string().describe(\"Processing status of the document.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\"),\n partition: z.string().describe(\"Associated partition identifier.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp (ISO8601).\").nullable(),\n page_count: z.number().describe(\"Total number of pages in the document.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp (ISO8601).\").nullable(),\n chunk_count: z.number().int().describe(\"Number of text chunks extracted from the document.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing document details, metadata, and processing status.\");\n\nexport const ragieGetDocument: AppAction<\n typeof RagieGetDocumentInput,\n typeof RagieGetDocumentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT\", {\n slug: \"ragie-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document by its unique identifier. Use when you need to get document details, metadata, processing status, or check for errors. Returns comprehensive document information including chunk count, page count, and any processing errors.\",\n input: RagieGetDocumentInput,\n output: RagieGetDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CAC1L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;AACvI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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/get-document.d.ts
|
|
@@ -18,10 +20,7 @@ declare const RagieGetDocumentOutput: z.ZodObject<{
|
|
|
18
20
|
chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
21
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const ragieGetDocument:
|
|
22
|
-
document_id: string;
|
|
23
|
-
partition?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const ragieGetDocument: AppAction<typeof RagieGetDocumentInput, typeof RagieGetDocumentOutput, typeof ragie.credential>;
|
|
25
24
|
//#endregion
|
|
26
25
|
export { ragieGetDocument };
|
|
27
26
|
//# sourceMappingURL=get-document.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document.d.cts","names":[],"sources":["../../src/actions/get-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document.d.cts","names":[],"sources":["../../src/actions/get-document.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/get-document.d.ts
|
|
@@ -18,10 +20,7 @@ declare const RagieGetDocumentOutput: z.ZodObject<{
|
|
|
18
20
|
chunk_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
21
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const ragieGetDocument:
|
|
22
|
-
document_id: string;
|
|
23
|
-
partition?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const ragieGetDocument: AppAction<typeof RagieGetDocumentInput, typeof RagieGetDocumentOutput, typeof ragie.credential>;
|
|
25
24
|
//#endregion
|
|
26
25
|
export { ragieGetDocument };
|
|
27
26
|
//# sourceMappingURL=get-document.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document.d.mts","names":[],"sources":["../../src/actions/get-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document.d.mts","names":[],"sources":["../../src/actions/get-document.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document.mjs","names":[],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentInput = z.object({\n partition: z.string().describe(\"Scopes the request to a specific partition. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document in UUID format (e.g., 00000000-0000-0000-0000-000000000000).\"),\n}).describe(\"Request model for retrieving a specific document by its ID.\");\nexport const RagieGetDocumentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n errors: z.array(z.string()).describe(\"List of processing error messages, if any.\"),\n status: z.string().describe(\"Processing status of the document.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\"),\n partition: z.string().describe(\"Associated partition identifier.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp (ISO8601).\").nullable(),\n page_count: z.number().describe(\"Total number of pages in the document.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp (ISO8601).\").nullable(),\n chunk_count: z.number().int().describe(\"Number of text chunks extracted from the document.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing document details, metadata, and processing status.\");\n\nexport const ragieGetDocument = action(\"RAGIE_GET_DOCUMENT\", {\n slug: \"ragie-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document by its unique identifier. Use when you need to get document details, metadata, processing status, or check for errors. Returns comprehensive document information including chunk count, page count, and any processing errors.\",\n input: RagieGetDocumentInput,\n output: RagieGetDocumentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document.mjs","names":[],"sources":["../../src/actions/get-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 RagieGetDocumentInput = z.object({\n partition: z.string().describe(\"Scopes the request to a specific partition. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document in UUID format (e.g., 00000000-0000-0000-0000-000000000000).\"),\n}).describe(\"Request model for retrieving a specific document by its ID.\");\nexport const RagieGetDocumentOutput = z.object({\n id: z.string().describe(\"Document identifier (UUID).\").nullable(),\n name: z.string().describe(\"Document name.\").nullable(),\n errors: z.array(z.string()).describe(\"List of processing error messages, if any.\"),\n status: z.string().describe(\"Processing status of the document.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\"),\n partition: z.string().describe(\"Associated partition identifier.\").nullable(),\n created_at: z.string().describe(\"Document creation timestamp (ISO8601).\").nullable(),\n page_count: z.number().describe(\"Total number of pages in the document.\").nullable().optional(),\n updated_at: z.string().describe(\"Last modification timestamp (ISO8601).\").nullable(),\n chunk_count: z.number().int().describe(\"Number of text chunks extracted from the document.\").nullable().optional(),\n external_id: z.string().describe(\"External system identifier for the document.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing document details, metadata, and processing status.\");\n\nexport const ragieGetDocument: AppAction<\n typeof RagieGetDocumentInput,\n typeof RagieGetDocumentOutput,\n typeof ragie.credential\n> = action(\"RAGIE_GET_DOCUMENT\", {\n slug: \"ragie-get-document\",\n name: \"Get Document\",\n description: \"Tool to retrieve a specific document by its unique identifier. Use when you need to get document details, metadata, processing status, or check for errors. Returns comprehensive document information including chunk count, page count, and any processing errors.\",\n input: RagieGetDocumentInput,\n output: RagieGetDocumentOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BmC,EAAE,OAAO;EAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EAC1L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACvI,CAAC,CAAC,CAAC,SAAS,6DAuBH;CACP,QAvBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAWhB;AACV,CAAC"}
|