@keystrokehq/ragie 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-document-from-url.cjs +1 -1
- package/dist/actions/create-document-from-url.cjs.map +1 -1
- package/dist/actions/create-document-from-url.d.cts +1 -1
- package/dist/actions/create-document-from-url.d.mts +1 -1
- package/dist/actions/create-document-from-url.mjs +1 -1
- package/dist/actions/create-document-from-url.mjs.map +1 -1
- package/dist/actions/create-document-raw.cjs +2 -2
- package/dist/actions/create-document-raw.cjs.map +1 -1
- package/dist/actions/create-document-raw.d.cts +3 -3
- package/dist/actions/create-document-raw.d.mts +3 -3
- package/dist/actions/create-document-raw.mjs +2 -2
- package/dist/actions/create-document-raw.mjs.map +1 -1
- package/dist/actions/create-document.cjs +2 -2
- package/dist/actions/create-document.cjs.map +1 -1
- package/dist/actions/create-document.d.cts +3 -3
- package/dist/actions/create-document.d.mts +3 -3
- package/dist/actions/create-document.mjs +2 -2
- package/dist/actions/create-document.mjs.map +1 -1
- package/dist/actions/create-instruction.cjs +1 -1
- package/dist/actions/create-instruction.cjs.map +1 -1
- package/dist/actions/create-instruction.d.cts +1 -1
- package/dist/actions/create-instruction.d.mts +1 -1
- package/dist/actions/create-instruction.mjs +1 -1
- package/dist/actions/create-instruction.mjs.map +1 -1
- package/dist/actions/create-oauth-redirect-url.cjs +1 -1
- package/dist/actions/create-oauth-redirect-url.cjs.map +1 -1
- package/dist/actions/create-oauth-redirect-url.d.cts +1 -1
- package/dist/actions/create-oauth-redirect-url.d.mts +1 -1
- package/dist/actions/create-oauth-redirect-url.mjs +1 -1
- package/dist/actions/create-oauth-redirect-url.mjs.map +1 -1
- package/dist/actions/create-partition-partitions-post.cjs +6 -6
- package/dist/actions/create-partition-partitions-post.cjs.map +1 -1
- package/dist/actions/create-partition-partitions-post.d.cts +12 -12
- package/dist/actions/create-partition-partitions-post.d.mts +12 -12
- package/dist/actions/create-partition-partitions-post.mjs +6 -6
- package/dist/actions/create-partition-partitions-post.mjs.map +1 -1
- package/dist/actions/delete-document.cjs +1 -1
- package/dist/actions/delete-document.cjs.map +1 -1
- package/dist/actions/delete-document.d.cts +1 -1
- package/dist/actions/delete-document.d.mts +1 -1
- package/dist/actions/delete-document.mjs +1 -1
- package/dist/actions/delete-document.mjs.map +1 -1
- package/dist/actions/delete-instruction.cjs +1 -1
- package/dist/actions/delete-instruction.cjs.map +1 -1
- package/dist/actions/delete-instruction.d.cts +1 -1
- package/dist/actions/delete-instruction.d.mts +1 -1
- package/dist/actions/delete-instruction.mjs +1 -1
- package/dist/actions/delete-instruction.mjs.map +1 -1
- package/dist/actions/delete-partition.cjs +1 -1
- package/dist/actions/delete-partition.cjs.map +1 -1
- package/dist/actions/delete-partition.d.cts +1 -1
- package/dist/actions/delete-partition.d.mts +1 -1
- package/dist/actions/delete-partition.mjs +1 -1
- package/dist/actions/delete-partition.mjs.map +1 -1
- package/dist/actions/get-document-chunk-content.cjs +1 -1
- package/dist/actions/get-document-chunk-content.cjs.map +1 -1
- package/dist/actions/get-document-chunk-content.d.cts +1 -1
- package/dist/actions/get-document-chunk-content.d.mts +1 -1
- package/dist/actions/get-document-chunk-content.mjs +1 -1
- package/dist/actions/get-document-chunk-content.mjs.map +1 -1
- package/dist/actions/get-document-chunk.cjs +4 -4
- package/dist/actions/get-document-chunk.cjs.map +1 -1
- package/dist/actions/get-document-chunk.d.cts +4 -4
- package/dist/actions/get-document-chunk.d.mts +4 -4
- package/dist/actions/get-document-chunk.mjs +4 -4
- package/dist/actions/get-document-chunk.mjs.map +1 -1
- package/dist/actions/get-document-chunks.cjs +5 -5
- package/dist/actions/get-document-chunks.cjs.map +1 -1
- package/dist/actions/get-document-chunks.d.cts +5 -5
- package/dist/actions/get-document-chunks.d.mts +5 -5
- package/dist/actions/get-document-chunks.mjs +5 -5
- package/dist/actions/get-document-chunks.mjs.map +1 -1
- package/dist/actions/get-document-content.cjs +2 -2
- package/dist/actions/get-document-content.cjs.map +1 -1
- package/dist/actions/get-document-content.d.cts +2 -2
- package/dist/actions/get-document-content.d.mts +2 -2
- package/dist/actions/get-document-content.mjs +2 -2
- package/dist/actions/get-document-content.mjs.map +1 -1
- package/dist/actions/get-document-summary.cjs +1 -1
- package/dist/actions/get-document-summary.cjs.map +1 -1
- package/dist/actions/get-document-summary.d.cts +1 -1
- package/dist/actions/get-document-summary.d.mts +1 -1
- package/dist/actions/get-document-summary.mjs +1 -1
- package/dist/actions/get-document-summary.mjs.map +1 -1
- package/dist/actions/get-document.cjs +2 -2
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +2 -2
- package/dist/actions/get-document.d.mts +2 -2
- package/dist/actions/get-document.mjs +2 -2
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/get-partition.cjs +3 -3
- package/dist/actions/get-partition.cjs.map +1 -1
- package/dist/actions/get-partition.d.cts +3 -3
- package/dist/actions/get-partition.d.mts +3 -3
- package/dist/actions/get-partition.mjs +3 -3
- package/dist/actions/get-partition.mjs.map +1 -1
- package/dist/actions/get-response.cjs +10 -10
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +14 -14
- package/dist/actions/get-response.d.mts +14 -14
- package/dist/actions/get-response.mjs +10 -10
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/list-connection-source-types.cjs +2 -2
- package/dist/actions/list-connection-source-types.cjs.map +1 -1
- package/dist/actions/list-connection-source-types.d.cts +2 -2
- package/dist/actions/list-connection-source-types.d.mts +2 -2
- package/dist/actions/list-connection-source-types.mjs +2 -2
- package/dist/actions/list-connection-source-types.mjs.map +1 -1
- package/dist/actions/list-connections-connections-get.cjs +3 -3
- package/dist/actions/list-connections-connections-get.cjs.map +1 -1
- package/dist/actions/list-connections-connections-get.d.cts +3 -3
- package/dist/actions/list-connections-connections-get.d.mts +3 -3
- package/dist/actions/list-connections-connections-get.mjs +3 -3
- package/dist/actions/list-connections-connections-get.mjs.map +1 -1
- package/dist/actions/list-documents.cjs +4 -4
- package/dist/actions/list-documents.cjs.map +1 -1
- package/dist/actions/list-documents.d.cts +4 -4
- package/dist/actions/list-documents.d.mts +4 -4
- package/dist/actions/list-documents.mjs +4 -4
- package/dist/actions/list-documents.mjs.map +1 -1
- package/dist/actions/list-entities-by-document.cjs +4 -4
- package/dist/actions/list-entities-by-document.cjs.map +1 -1
- package/dist/actions/list-entities-by-document.d.cts +4 -4
- package/dist/actions/list-entities-by-document.d.mts +4 -4
- package/dist/actions/list-entities-by-document.mjs +4 -4
- package/dist/actions/list-entities-by-document.mjs.map +1 -1
- package/dist/actions/list-entities-by-instruction.cjs +4 -4
- package/dist/actions/list-entities-by-instruction.cjs.map +1 -1
- package/dist/actions/list-entities-by-instruction.d.cts +4 -4
- package/dist/actions/list-entities-by-instruction.d.mts +4 -4
- package/dist/actions/list-entities-by-instruction.mjs +4 -4
- package/dist/actions/list-entities-by-instruction.mjs.map +1 -1
- package/dist/actions/list-instructions.cjs +2 -2
- package/dist/actions/list-instructions.cjs.map +1 -1
- package/dist/actions/list-instructions.d.cts +2 -2
- package/dist/actions/list-instructions.d.mts +2 -2
- package/dist/actions/list-instructions.mjs +2 -2
- package/dist/actions/list-instructions.mjs.map +1 -1
- package/dist/actions/list-partitions.cjs +4 -4
- package/dist/actions/list-partitions.cjs.map +1 -1
- package/dist/actions/list-partitions.d.cts +4 -4
- package/dist/actions/list-partitions.d.mts +4 -4
- package/dist/actions/list-partitions.mjs +4 -4
- package/dist/actions/list-partitions.mjs.map +1 -1
- package/dist/actions/patch-document-metadata.cjs +3 -3
- package/dist/actions/patch-document-metadata.cjs.map +1 -1
- package/dist/actions/patch-document-metadata.d.cts +4 -4
- package/dist/actions/patch-document-metadata.d.mts +4 -4
- package/dist/actions/patch-document-metadata.mjs +3 -3
- package/dist/actions/patch-document-metadata.mjs.map +1 -1
- package/dist/actions/retrieve.cjs +2 -2
- package/dist/actions/retrieve.cjs.map +1 -1
- package/dist/actions/retrieve.d.cts +2 -2
- package/dist/actions/retrieve.d.mts +2 -2
- package/dist/actions/retrieve.mjs +2 -2
- package/dist/actions/retrieve.mjs.map +1 -1
- package/dist/actions/set-partition-limits.cjs +3 -3
- package/dist/actions/set-partition-limits.cjs.map +1 -1
- package/dist/actions/set-partition-limits.d.cts +3 -3
- package/dist/actions/set-partition-limits.d.mts +3 -3
- package/dist/actions/set-partition-limits.mjs +3 -3
- package/dist/actions/set-partition-limits.mjs.map +1 -1
- package/dist/actions/update-document-from-url.cjs +2 -2
- package/dist/actions/update-document-from-url.cjs.map +1 -1
- package/dist/actions/update-document-from-url.d.cts +3 -2
- package/dist/actions/update-document-from-url.d.mts +3 -2
- package/dist/actions/update-document-from-url.mjs +2 -2
- package/dist/actions/update-document-from-url.mjs.map +1 -1
- package/dist/actions/update-document-raw.cjs +1 -1
- package/dist/actions/update-document-raw.cjs.map +1 -1
- package/dist/actions/update-document-raw.d.cts +1 -1
- package/dist/actions/update-document-raw.d.mts +1 -1
- package/dist/actions/update-document-raw.mjs +1 -1
- package/dist/actions/update-document-raw.mjs.map +1 -1
- package/dist/actions/update-instruction.cjs +2 -2
- package/dist/actions/update-instruction.cjs.map +1 -1
- package/dist/actions/update-instruction.d.cts +2 -2
- package/dist/actions/update-instruction.d.mts +2 -2
- package/dist/actions/update-instruction.mjs +2 -2
- package/dist/actions/update-instruction.mjs.map +1 -1
- package/dist/actions/update-partition.cjs +3 -3
- package/dist/actions/update-partition.cjs.map +1 -1
- package/dist/actions/update-partition.d.cts +3 -3
- package/dist/actions/update-partition.d.mts +3 -3
- package/dist/actions/update-partition.mjs +3 -3
- package/dist/actions/update-partition.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -21,8 +21,8 @@ declare const RagieRetrieveOutput: z.ZodObject<{
|
|
|
21
21
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
document_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
document_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const ragieRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
query: string;
|
|
28
28
|
top_k?: number | undefined;
|
|
@@ -21,8 +21,8 @@ declare const RagieRetrieveOutput: z.ZodObject<{
|
|
|
21
21
|
document_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
document_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
document_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const ragieRetrieve: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
query: string;
|
|
28
28
|
top_k?: number | undefined;
|
|
@@ -20,13 +20,13 @@ const RagieRetrieve_ScoredChunkSchema = z.object({
|
|
|
20
20
|
document_id: z.string().describe("Identifier of the source document.").nullable().optional(),
|
|
21
21
|
document_name: z.string().describe("Name of the source document.").nullable().optional(),
|
|
22
22
|
document_metadata: z.record(z.string(), z.unknown()).describe("Document-level metadata.").nullable().optional()
|
|
23
|
-
}).describe("A document chunk with its relevance score.");
|
|
23
|
+
}).passthrough().describe("A document chunk with its relevance score.");
|
|
24
24
|
const ragieRetrieve = action("RAGIE_RETRIEVE", {
|
|
25
25
|
slug: "ragie-retrieve",
|
|
26
26
|
name: "Retrieve Document Chunks",
|
|
27
27
|
description: "Tool to retrieve relevant document chunks based on a query. Use when you need to search and retrieve document content that matches a specific query, with optional filtering and reranking capabilities.",
|
|
28
28
|
input: RagieRetrieveInput,
|
|
29
|
-
output: z.object({ scored_chunks: z.array(RagieRetrieve_ScoredChunkSchema).describe("Array of retrieved document chunks with relevance scores.") }).describe("Response model for document chunk retrieval.")
|
|
29
|
+
output: z.object({ scored_chunks: z.array(RagieRetrieve_ScoredChunkSchema).describe("Array of retrieved document chunks with relevance scores.") }).passthrough().describe("Response model for document chunk retrieval.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ragieRetrieve };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve.mjs","names":[],"sources":["../../src/actions/retrieve.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieRetrieveInput = z.object({\n query: z.string().describe(\"The query to search with when retrieving document chunks.\"),\n top_k: z.number().int().default(8).describe(\"The maximum number of chunks to return. Defaults to 8.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata search filter supporting operators: $eq (equal), $ne (not equal), $gt (greater than), $gte (greater than or equal), $lt (less than), $lte (less than or equal), $in (in array), $nin (not in array). Example: {\\\"department\\\": {\\\"$in\\\": [\\\"sales\\\", \\\"marketing\\\"]}}.\").optional(),\n rerank: z.boolean().default(false).describe(\"Reranks the chunks for semantic relevancy post cosine similarity.\").optional(),\n partition: z.string().describe(\"The partition to scope a retrieval to. If omitted, the retrieval will be scoped to the default partition.\").optional(),\n recency_bias: z.boolean().default(false).describe(\"Enables recency bias which will favor more recent documents vs older documents.\").optional(),\n max_chunks_per_document: z.number().int().describe(\"Maximum number of chunks to retrieve per document.\").optional(),\n}).describe(\"Request model for retrieving document chunks based on a query.\");\nconst RagieRetrieve_ScoredChunkSchema = z.object({\n id: z.string().describe(\"Unique identifier for the chunk.\").nullable().optional(),\n text: z.string().describe(\"The chunk content/text.\").nullable().optional(),\n index: z.number().int().describe(\"Position/index of the chunk within the source document.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"Navigation references.\").nullable().optional(),\n score: z.number().describe(\"Relevance score indicating how well the chunk matches the query.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata.\").nullable().optional(),\n document_id: z.string().describe(\"Identifier of the source document.\").nullable().optional(),\n document_name: z.string().describe(\"Name of the source document.\").nullable().optional(),\n document_metadata: z.record(z.string(), z.unknown()).describe(\"Document-level metadata.\").nullable().optional(),\n}).describe(\"A document chunk with its relevance score.\");\nexport const RagieRetrieveOutput = z.object({\n scored_chunks: z.array(RagieRetrieve_ScoredChunkSchema).describe(\"Array of retrieved document chunks with relevance scores.\"),\n}).describe(\"Response model for document chunk retrieval.\");\n\nexport const ragieRetrieve = action(\"RAGIE_RETRIEVE\", {\n slug: \"ragie-retrieve\",\n name: \"Retrieve Document Chunks\",\n description: \"Tool to retrieve relevant document chunks based on a query. Use when you need to search and retrieve document content that matches a specific query, with optional filtering and reranking capabilities.\",\n input: RagieRetrieveInput,\n output: RagieRetrieveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR,CAAC,CAAC,SAAS;CAC/U,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,C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ent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieRetrieveInput = z.object({\n query: z.string().describe(\"The query to search with when retrieving document chunks.\"),\n top_k: z.number().int().default(8).describe(\"The maximum number of chunks to return. Defaults to 8.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata search filter supporting operators: $eq (equal), $ne (not equal), $gt (greater than), $gte (greater than or equal), $lt (less than), $lte (less than or equal), $in (in array), $nin (not in array). Example: {\\\"department\\\": {\\\"$in\\\": [\\\"sales\\\", \\\"marketing\\\"]}}.\").optional(),\n rerank: z.boolean().default(false).describe(\"Reranks the chunks for semantic relevancy post cosine similarity.\").optional(),\n partition: z.string().describe(\"The partition to scope a retrieval to. If omitted, the retrieval will be scoped to the default partition.\").optional(),\n recency_bias: z.boolean().default(false).describe(\"Enables recency bias which will favor more recent documents vs older documents.\").optional(),\n max_chunks_per_document: z.number().int().describe(\"Maximum number of chunks to retrieve per document.\").optional(),\n}).describe(\"Request model for retrieving document chunks based on a query.\");\nconst RagieRetrieve_ScoredChunkSchema = z.object({\n id: z.string().describe(\"Unique identifier for the chunk.\").nullable().optional(),\n text: z.string().describe(\"The chunk content/text.\").nullable().optional(),\n index: z.number().int().describe(\"Position/index of the chunk within the source document.\").nullable().optional(),\n links: z.record(z.string(), z.unknown()).describe(\"Navigation references.\").nullable().optional(),\n score: z.number().describe(\"Relevance score indicating how well the chunk matches the query.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Chunk-level metadata.\").nullable().optional(),\n document_id: z.string().describe(\"Identifier of the source document.\").nullable().optional(),\n document_name: z.string().describe(\"Name of the source document.\").nullable().optional(),\n document_metadata: z.record(z.string(), z.unknown()).describe(\"Document-level metadata.\").nullable().optional(),\n}).passthrough().describe(\"A document chunk with its relevance score.\");\nexport const RagieRetrieveOutput = z.object({\n scored_chunks: z.array(RagieRetrieve_ScoredChunkSchema).describe(\"Array of retrieved document chunks with relevance scores.\"),\n}).passthrough().describe(\"Response model for document chunk retrieval.\");\n\nexport const ragieRetrieve = action(\"RAGIE_RETRIEVE\", {\n slug: \"ragie-retrieve\",\n name: \"Retrieve Document Chunks\",\n description: \"Tool to retrieve relevant document chunks based on a query. Use when you need to search and retrieve document content that matches a specific query, with optional filtering and reranking capabilities.\",\n input: RagieRetrieveInput,\n output: RagieRetrieveOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR,CAAC,CAAC,SAAS;CAC/U,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC9I,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,gBAAgB,OAAO,kBAAkB;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiC,EAAE,OAAO,EAC1C,eAAe,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,2DAA2D,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ const RagieSetPartitionLimits_PartitionStatsSchema = zod.z.object({
|
|
|
24
24
|
audio_processed_minutes: zod.z.number().describe("Audio processing time in minutes.").nullable().optional(),
|
|
25
25
|
video_processed_minutes: zod.z.number().describe("Video processing time in minutes.").nullable().optional(),
|
|
26
26
|
media_streamed_megabytes: zod.z.number().describe("Media streaming usage in megabytes.").nullable().optional()
|
|
27
|
-
}).describe("Model for partition usage statistics.");
|
|
27
|
+
}).passthrough().describe("Model for partition usage statistics.");
|
|
28
28
|
const RagieSetPartitionLimits_PartitionLimitsSchema = zod.z.object({
|
|
29
29
|
media_hosted_limit_max: zod.z.number().int().describe("Maximum media hosting limit in megabytes.").nullable().optional(),
|
|
30
30
|
pages_hosted_limit_max: zod.z.number().int().describe("Absolute maximum for hosted document pages.").nullable().optional(),
|
|
@@ -38,7 +38,7 @@ const RagieSetPartitionLimits_PartitionLimitsSchema = zod.z.object({
|
|
|
38
38
|
audio_processed_limit_monthly: zod.z.number().int().describe("Monthly audio processing limit in minutes.").nullable().optional(),
|
|
39
39
|
pages_processed_limit_monthly: zod.z.number().int().describe("Monthly cap for processed document pages.").nullable().optional(),
|
|
40
40
|
video_processed_limit_monthly: zod.z.number().int().describe("Monthly video processing limit in minutes.").nullable().optional()
|
|
41
|
-
}).describe("Model for partition limit values.");
|
|
41
|
+
}).passthrough().describe("Model for partition limit values.");
|
|
42
42
|
const RagieSetPartitionLimitsOutput = zod.z.object({
|
|
43
43
|
name: zod.z.string().describe("Partition identifier.").nullable(),
|
|
44
44
|
stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),
|
|
@@ -48,7 +48,7 @@ const RagieSetPartitionLimitsOutput = zod.z.object({
|
|
|
48
48
|
context_aware: zod.z.boolean().describe("Context-awareness setting.").nullable(),
|
|
49
49
|
metadata_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema definition for metadata.").nullable().optional(),
|
|
50
50
|
limit_exceeded_at: zod.z.string().describe("Timestamp when limits were exceeded, if applicable.").nullable().optional()
|
|
51
|
-
}).describe("Response model for partition detail after setting limits.");
|
|
51
|
+
}).passthrough().describe("Response model for partition detail after setting limits.");
|
|
52
52
|
const ragieSetPartitionLimits = require_action.action("RAGIE_SET_PARTITION_LIMITS", {
|
|
53
53
|
slug: "ragie-set-partition-limits",
|
|
54
54
|
name: "Set Partition Limits",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-partition-limits.cjs","names":["z","action"],"sources":["../../src/actions/set-partition-limits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieSetPartitionLimitsInput = z.object({\n partition_id: z.string().describe(\"The identifier for the partition being modified.\"),\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").optional(),\n}).describe(\"Request model for setting partition limits.\");\nconst RagieSetPartitionLimits_PartitionStatsSchema = z.object({\n documents_count: z.number().int().describe(\"Number of documents in the partition.\").nullable().optional(),\n pages_hosted_count: z.number().int().describe(\"Number of pages hosted.\").nullable().optional(),\n pages_processed_count: z.number().int().describe(\"Number of pages processed.\").nullable().optional(),\n media_hosted_megabytes: z.number().describe(\"Media hosting usage in megabytes.\").nullable().optional(),\n audio_processed_minutes: z.number().describe(\"Audio processing time in minutes.\").nullable().optional(),\n video_processed_minutes: z.number().describe(\"Video processing time in minutes.\").nullable().optional(),\n media_streamed_megabytes: z.number().describe(\"Media streaming usage in megabytes.\").nullable().optional(),\n}).describe(\"Model for partition usage statistics.\");\nconst RagieSetPartitionLimits_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").nullable().optional(),\n}).describe(\"Model for partition limit values.\");\nexport const RagieSetPartitionLimitsOutput = z.object({\n name: z.string().describe(\"Partition identifier.\").nullable(),\n stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),\n limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),\n is_default: z.boolean().describe(\"Whether this is the default partition.\").nullable(),\n description: z.string().describe(\"Partition description.\").nullable().optional(),\n context_aware: z.boolean().describe(\"Context-awareness setting.\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema definition for metadata.\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limits were exceeded, if applicable.\").nullable().optional(),\n}).describe(\"Response model for partition detail after setting limits.\");\n\nexport const ragieSetPartitionLimits = action(\"RAGIE_SET_PARTITION_LIMITS\", {\n slug: \"ragie-set-partition-limits\",\n name: \"Set Partition Limits\",\n description: \"Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.\",\n input: RagieSetPartitionLimitsInput,\n output: RagieSetPartitionLimitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChH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ent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieSetPartitionLimitsInput = z.object({\n partition_id: z.string().describe(\"The identifier for the partition being modified.\"),\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").optional(),\n}).describe(\"Request model for setting partition limits.\");\nconst RagieSetPartitionLimits_PartitionStatsSchema = z.object({\n documents_count: z.number().int().describe(\"Number of documents in the partition.\").nullable().optional(),\n pages_hosted_count: z.number().int().describe(\"Number of pages hosted.\").nullable().optional(),\n pages_processed_count: z.number().int().describe(\"Number of pages processed.\").nullable().optional(),\n media_hosted_megabytes: z.number().describe(\"Media hosting usage in megabytes.\").nullable().optional(),\n audio_processed_minutes: z.number().describe(\"Audio processing time in minutes.\").nullable().optional(),\n video_processed_minutes: z.number().describe(\"Video processing time in minutes.\").nullable().optional(),\n media_streamed_megabytes: z.number().describe(\"Media streaming usage in megabytes.\").nullable().optional(),\n}).passthrough().describe(\"Model for partition usage statistics.\");\nconst RagieSetPartitionLimits_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").nullable().optional(),\n}).passthrough().describe(\"Model for partition limit values.\");\nexport const RagieSetPartitionLimitsOutput = z.object({\n name: z.string().describe(\"Partition identifier.\").nullable(),\n stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),\n limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),\n is_default: z.boolean().describe(\"Whether this is the default partition.\").nullable(),\n description: z.string().describe(\"Partition description.\").nullable().optional(),\n context_aware: z.boolean().describe(\"Context-awareness setting.\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema definition for metadata.\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limits were exceeded, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for partition detail after setting limits.\");\n\nexport const ragieSetPartitionLimits = action(\"RAGIE_SET_PARTITION_LIMITS\", {\n slug: \"ragie-set-partition-limits\",\n name: \"Set Partition Limits\",\n description: \"Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.\",\n input: RagieSetPartitionLimitsInput,\n output: RagieSetPartitionLimitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChH,+BAA+BA,IAAAA,EAAE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,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,6CAA6C,SAAS;CAC7D,QAAQ,8CAA8C,SAAS;CAC/D,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,7 +26,7 @@ declare const RagieSetPartitionLimitsOutput: z.ZodObject<{
|
|
|
26
26
|
audio_processed_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
video_processed_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
media_streamed_megabytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
limits: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
media_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
pages_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -40,13 +40,13 @@ declare const RagieSetPartitionLimitsOutput: z.ZodObject<{
|
|
|
40
40
|
audio_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
pages_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
video_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
44
|
is_default: z.ZodNullable<z.ZodBoolean>;
|
|
45
45
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
context_aware: z.ZodNullable<z.ZodBoolean>;
|
|
47
47
|
metadata_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
48
|
limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const ragieSetPartitionLimits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
partition_id: string;
|
|
52
52
|
media_hosted_limit_max?: number | undefined;
|
|
@@ -26,7 +26,7 @@ declare const RagieSetPartitionLimitsOutput: z.ZodObject<{
|
|
|
26
26
|
audio_processed_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
video_processed_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
media_streamed_megabytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
limits: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
media_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
pages_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -40,13 +40,13 @@ declare const RagieSetPartitionLimitsOutput: z.ZodObject<{
|
|
|
40
40
|
audio_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
41
|
pages_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
video_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
44
|
is_default: z.ZodNullable<z.ZodBoolean>;
|
|
45
45
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
context_aware: z.ZodNullable<z.ZodBoolean>;
|
|
47
47
|
metadata_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
48
|
limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const ragieSetPartitionLimits: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
partition_id: string;
|
|
52
52
|
media_hosted_limit_max?: number | undefined;
|
|
@@ -24,7 +24,7 @@ const RagieSetPartitionLimits_PartitionStatsSchema = z.object({
|
|
|
24
24
|
audio_processed_minutes: z.number().describe("Audio processing time in minutes.").nullable().optional(),
|
|
25
25
|
video_processed_minutes: z.number().describe("Video processing time in minutes.").nullable().optional(),
|
|
26
26
|
media_streamed_megabytes: z.number().describe("Media streaming usage in megabytes.").nullable().optional()
|
|
27
|
-
}).describe("Model for partition usage statistics.");
|
|
27
|
+
}).passthrough().describe("Model for partition usage statistics.");
|
|
28
28
|
const RagieSetPartitionLimits_PartitionLimitsSchema = z.object({
|
|
29
29
|
media_hosted_limit_max: z.number().int().describe("Maximum media hosting limit in megabytes.").nullable().optional(),
|
|
30
30
|
pages_hosted_limit_max: z.number().int().describe("Absolute maximum for hosted document pages.").nullable().optional(),
|
|
@@ -38,7 +38,7 @@ const RagieSetPartitionLimits_PartitionLimitsSchema = z.object({
|
|
|
38
38
|
audio_processed_limit_monthly: z.number().int().describe("Monthly audio processing limit in minutes.").nullable().optional(),
|
|
39
39
|
pages_processed_limit_monthly: z.number().int().describe("Monthly cap for processed document pages.").nullable().optional(),
|
|
40
40
|
video_processed_limit_monthly: z.number().int().describe("Monthly video processing limit in minutes.").nullable().optional()
|
|
41
|
-
}).describe("Model for partition limit values.");
|
|
41
|
+
}).passthrough().describe("Model for partition limit values.");
|
|
42
42
|
const ragieSetPartitionLimits = action("RAGIE_SET_PARTITION_LIMITS", {
|
|
43
43
|
slug: "ragie-set-partition-limits",
|
|
44
44
|
name: "Set Partition Limits",
|
|
@@ -53,7 +53,7 @@ const ragieSetPartitionLimits = action("RAGIE_SET_PARTITION_LIMITS", {
|
|
|
53
53
|
context_aware: z.boolean().describe("Context-awareness setting.").nullable(),
|
|
54
54
|
metadata_schema: z.record(z.string(), z.unknown()).describe("Schema definition for metadata.").nullable().optional(),
|
|
55
55
|
limit_exceeded_at: z.string().describe("Timestamp when limits were exceeded, if applicable.").nullable().optional()
|
|
56
|
-
}).describe("Response model for partition detail after setting limits.")
|
|
56
|
+
}).passthrough().describe("Response model for partition detail after setting limits.")
|
|
57
57
|
});
|
|
58
58
|
//#endregion
|
|
59
59
|
export { ragieSetPartitionLimits };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-partition-limits.mjs","names":[],"sources":["../../src/actions/set-partition-limits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieSetPartitionLimitsInput = z.object({\n partition_id: z.string().describe(\"The identifier for the partition being modified.\"),\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").optional(),\n}).describe(\"Request model for setting partition limits.\");\nconst RagieSetPartitionLimits_PartitionStatsSchema = z.object({\n documents_count: z.number().int().describe(\"Number of documents in the partition.\").nullable().optional(),\n pages_hosted_count: z.number().int().describe(\"Number of pages hosted.\").nullable().optional(),\n pages_processed_count: z.number().int().describe(\"Number of pages processed.\").nullable().optional(),\n media_hosted_megabytes: z.number().describe(\"Media hosting usage in megabytes.\").nullable().optional(),\n audio_processed_minutes: z.number().describe(\"Audio processing time in minutes.\").nullable().optional(),\n video_processed_minutes: z.number().describe(\"Video processing time in minutes.\").nullable().optional(),\n media_streamed_megabytes: z.number().describe(\"Media streaming usage in megabytes.\").nullable().optional(),\n}).describe(\"Model for partition usage statistics.\");\nconst RagieSetPartitionLimits_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").nullable().optional(),\n}).describe(\"Model for partition limit values.\");\nexport const RagieSetPartitionLimitsOutput = z.object({\n name: z.string().describe(\"Partition identifier.\").nullable(),\n stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),\n limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),\n is_default: z.boolean().describe(\"Whether this is the default partition.\").nullable(),\n description: z.string().describe(\"Partition description.\").nullable().optional(),\n context_aware: z.boolean().describe(\"Context-awareness setting.\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema definition for metadata.\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limits were exceeded, if applicable.\").nullable().optional(),\n}).describe(\"Response model for partition detail after setting limits.\");\n\nexport const ragieSetPartitionLimits = action(\"RAGIE_SET_PARTITION_LIMITS\", {\n slug: \"ragie-set-partition-limits\",\n name: \"Set Partition Limits\",\n description: \"Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.\",\n input: RagieSetPartitionLimitsInput,\n output: RagieSetPartitionLimitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1G,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5G,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChH,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChH,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChH,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/G,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"set-partition-limits.mjs","names":[],"sources":["../../src/actions/set-partition-limits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieSetPartitionLimitsInput = z.object({\n partition_id: z.string().describe(\"The identifier for the partition being modified.\"),\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").optional(),\n}).describe(\"Request model for setting partition limits.\");\nconst RagieSetPartitionLimits_PartitionStatsSchema = z.object({\n documents_count: z.number().int().describe(\"Number of documents in the partition.\").nullable().optional(),\n pages_hosted_count: z.number().int().describe(\"Number of pages hosted.\").nullable().optional(),\n pages_processed_count: z.number().int().describe(\"Number of pages processed.\").nullable().optional(),\n media_hosted_megabytes: z.number().describe(\"Media hosting usage in megabytes.\").nullable().optional(),\n audio_processed_minutes: z.number().describe(\"Audio processing time in minutes.\").nullable().optional(),\n video_processed_minutes: z.number().describe(\"Video processing time in minutes.\").nullable().optional(),\n media_streamed_megabytes: z.number().describe(\"Media streaming usage in megabytes.\").nullable().optional(),\n}).passthrough().describe(\"Model for partition usage statistics.\");\nconst RagieSetPartitionLimits_PartitionLimitsSchema = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Absolute maximum for hosted document pages.\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Absolute maximum for processed document pages.\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum video processing limit in minutes.\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly media hosting limit in megabytes.\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly cap for newly added hosted pages.\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly media streaming limit in megabytes.\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly audio processing limit in minutes.\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly cap for processed document pages.\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly video processing limit in minutes.\").nullable().optional(),\n}).passthrough().describe(\"Model for partition limit values.\");\nexport const RagieSetPartitionLimitsOutput = z.object({\n name: z.string().describe(\"Partition identifier.\").nullable(),\n stats: RagieSetPartitionLimits_PartitionStatsSchema.nullable(),\n limits: RagieSetPartitionLimits_PartitionLimitsSchema.nullable(),\n is_default: z.boolean().describe(\"Whether this is the default partition.\").nullable(),\n description: z.string().describe(\"Partition description.\").nullable().optional(),\n context_aware: z.boolean().describe(\"Context-awareness setting.\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Schema definition for metadata.\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limits were exceeded, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for partition detail after setting limits.\");\n\nexport const ragieSetPartitionLimits = action(\"RAGIE_SET_PARTITION_LIMITS\", {\n slug: \"ragie-set-partition-limits\",\n name: \"Set Partition Limits\",\n description: \"Tool to set usage limits on partition pages and media. Use when you need to configure monthly or maximum limits for pages processed/hosted, video/audio processing, or media streaming/hosting for a specific partition.\",\n input: RagieSetPartitionLimitsInput,\n output: RagieSetPartitionLimitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACp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,4BAA4B,CAAC,CAAC,SAAS;EAC3E,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/update-document-from-url.ts
|
|
4
4
|
const RagieUpdateDocumentFromUrlInput = zod.z.object({
|
|
5
5
|
url: zod.z.string().describe("URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme."),
|
|
6
|
-
mode: zod.z.union([zod.z.enum(["hi_res", "fast"]), zod.z.object({ backend: zod.z.string().nullable().optional() }).describe("Media configuration object for video/audio processing")]).optional(),
|
|
6
|
+
mode: zod.z.union([zod.z.enum(["hi_res", "fast"]), zod.z.object({ backend: zod.z.string().nullable().optional() }).passthrough().describe("Media configuration object for video/audio processing")]).optional(),
|
|
7
7
|
partition: zod.z.string().describe("Scopes the request to a specific partition").optional(),
|
|
8
8
|
document_id: zod.z.string().describe("The unique identifier (UUID) of the document to update")
|
|
9
9
|
}).describe("Request model for updating a document from a publicly accessible URL.");
|
|
10
|
-
const RagieUpdateDocumentFromUrlOutput = zod.z.object({ status: zod.z.string().describe("Operation status indicator").nullable() }).describe("Response model for document URL update operation.");
|
|
10
|
+
const RagieUpdateDocumentFromUrlOutput = zod.z.object({ status: zod.z.string().describe("Operation status indicator").nullable() }).passthrough().describe("Response model for document URL update operation.");
|
|
11
11
|
const ragieUpdateDocumentFromUrl = require_action.action("RAGIE_UPDATE_DOCUMENT_FROM_URL", {
|
|
12
12
|
slug: "ragie-update-document-from-url",
|
|
13
13
|
name: "Update Document From URL",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-document-from-url.cjs","names":["z","action"],"sources":["../../src/actions/update-document-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentFromUrlInput = z.object({\n url: z.string().describe(\"URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme.\"),\n mode: z.union([z.enum([\"hi_res\", \"fast\"]), z.object({\n backend: z.string().nullable().optional(),\n}).describe(\"Media configuration object for video/audio processing\")]).optional(),\n partition: z.string().describe(\"Scopes the request to a specific partition\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to update\"),\n}).describe(\"Request model for updating a document from a publicly accessible URL.\");\nexport const RagieUpdateDocumentFromUrlOutput = z.object({\n status: z.string().describe(\"Operation status indicator\").nullable(),\n}).describe(\"Response model for document URL update operation.\");\n\nexport const ragieUpdateDocumentFromUrl = action(\"RAGIE_UPDATE_DOCUMENT_FROM_URL\", {\n slug: \"ragie-update-document-from-url\",\n name: \"Update Document From URL\",\n description: \"Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.\",\n input: RagieUpdateDocumentFromUrlInput,\n output: RagieUpdateDocumentFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACjH,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,GAAGA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1C,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"update-document-from-url.cjs","names":["z","action"],"sources":["../../src/actions/update-document-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentFromUrlInput = z.object({\n url: z.string().describe(\"URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme.\"),\n mode: z.union([z.enum([\"hi_res\", \"fast\"]), z.object({\n backend: z.string().nullable().optional(),\n}).passthrough().describe(\"Media configuration object for video/audio processing\")]).optional(),\n partition: z.string().describe(\"Scopes the request to a specific partition\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to update\"),\n}).describe(\"Request model for updating a document from a publicly accessible URL.\");\nexport const RagieUpdateDocumentFromUrlOutput = z.object({\n status: z.string().describe(\"Operation status indicator\").nullable(),\n}).passthrough().describe(\"Response model for document URL update operation.\");\n\nexport const ragieUpdateDocumentFromUrl = action(\"RAGIE_UPDATE_DOCUMENT_FROM_URL\", {\n slug: \"ragie-update-document-from-url\",\n name: \"Update Document From URL\",\n description: \"Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.\",\n input: RagieUpdateDocumentFromUrlInput,\n output: RagieUpdateDocumentFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACjH,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,GAAGA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC3F,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,17 +8,18 @@ declare const RagieUpdateDocumentFromUrlInput: z.ZodObject<{
|
|
|
8
8
|
fast: "fast";
|
|
9
9
|
}>, z.ZodObject<{
|
|
10
10
|
backend: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>]>>;
|
|
12
12
|
partition: z.ZodOptional<z.ZodString>;
|
|
13
13
|
document_id: z.ZodString;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const RagieUpdateDocumentFromUrlOutput: z.ZodObject<{
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const ragieUpdateDocumentFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
url: string;
|
|
20
20
|
document_id: string;
|
|
21
21
|
mode?: "hi_res" | "fast" | {
|
|
22
|
+
[x: string]: unknown;
|
|
22
23
|
backend?: string | null | undefined;
|
|
23
24
|
} | undefined;
|
|
24
25
|
partition?: string | undefined;
|
|
@@ -8,17 +8,18 @@ declare const RagieUpdateDocumentFromUrlInput: z.ZodObject<{
|
|
|
8
8
|
fast: "fast";
|
|
9
9
|
}>, z.ZodObject<{
|
|
10
10
|
backend: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>]>>;
|
|
12
12
|
partition: z.ZodOptional<z.ZodString>;
|
|
13
13
|
document_id: z.ZodString;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const RagieUpdateDocumentFromUrlOutput: z.ZodObject<{
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const ragieUpdateDocumentFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
url: string;
|
|
20
20
|
document_id: string;
|
|
21
21
|
mode?: "hi_res" | "fast" | {
|
|
22
|
+
[x: string]: unknown;
|
|
22
23
|
backend?: string | null | undefined;
|
|
23
24
|
} | undefined;
|
|
24
25
|
partition?: string | undefined;
|
|
@@ -6,11 +6,11 @@ const ragieUpdateDocumentFromUrl = action("RAGIE_UPDATE_DOCUMENT_FROM_URL", {
|
|
|
6
6
|
description: "Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.",
|
|
7
7
|
input: z.object({
|
|
8
8
|
url: z.string().describe("URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme."),
|
|
9
|
-
mode: z.union([z.enum(["hi_res", "fast"]), z.object({ backend: z.string().nullable().optional() }).describe("Media configuration object for video/audio processing")]).optional(),
|
|
9
|
+
mode: z.union([z.enum(["hi_res", "fast"]), z.object({ backend: z.string().nullable().optional() }).passthrough().describe("Media configuration object for video/audio processing")]).optional(),
|
|
10
10
|
partition: z.string().describe("Scopes the request to a specific partition").optional(),
|
|
11
11
|
document_id: z.string().describe("The unique identifier (UUID) of the document to update")
|
|
12
12
|
}).describe("Request model for updating a document from a publicly accessible URL."),
|
|
13
|
-
output: z.object({ status: z.string().describe("Operation status indicator").nullable() }).describe("Response model for document URL update operation.")
|
|
13
|
+
output: z.object({ status: z.string().describe("Operation status indicator").nullable() }).passthrough().describe("Response model for document URL update operation.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ragieUpdateDocumentFromUrl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-document-from-url.mjs","names":[],"sources":["../../src/actions/update-document-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentFromUrlInput = z.object({\n url: z.string().describe(\"URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme.\"),\n mode: z.union([z.enum([\"hi_res\", \"fast\"]), z.object({\n backend: z.string().nullable().optional(),\n}).describe(\"Media configuration object for video/audio processing\")]).optional(),\n partition: z.string().describe(\"Scopes the request to a specific partition\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to update\"),\n}).describe(\"Request model for updating a document from a publicly accessible URL.\");\nexport const RagieUpdateDocumentFromUrlOutput = z.object({\n status: z.string().describe(\"Operation status indicator\").nullable(),\n}).describe(\"Response model for document URL update operation.\");\n\nexport const ragieUpdateDocumentFromUrl = action(\"RAGIE_UPDATE_DOCUMENT_FROM_URL\", {\n slug: \"ragie-update-document-from-url\",\n name: \"Update Document From URL\",\n description: \"Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.\",\n input: RagieUpdateDocumentFromUrlInput,\n output: RagieUpdateDocumentFromUrlOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EACjH,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,GAAG,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1C,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"update-document-from-url.mjs","names":[],"sources":["../../src/actions/update-document-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentFromUrlInput = z.object({\n url: z.string().describe(\"URL of the file to download. Must be publicly accessible and use HTTP or HTTPS scheme.\"),\n mode: z.union([z.enum([\"hi_res\", \"fast\"]), z.object({\n backend: z.string().nullable().optional(),\n}).passthrough().describe(\"Media configuration object for video/audio processing\")]).optional(),\n partition: z.string().describe(\"Scopes the request to a specific partition\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to update\"),\n}).describe(\"Request model for updating a document from a publicly accessible URL.\");\nexport const RagieUpdateDocumentFromUrlOutput = z.object({\n status: z.string().describe(\"Operation status indicator\").nullable(),\n}).passthrough().describe(\"Response model for document URL update operation.\");\n\nexport const ragieUpdateDocumentFromUrl = action(\"RAGIE_UPDATE_DOCUMENT_FROM_URL\", {\n slug: \"ragie-update-document-from-url\",\n name: \"Update Document From URL\",\n description: \"Tool to update an existing document by fetching content from a publicly accessible URL. Use when you need to refresh or replace a document's content with data from a web URL. The document goes through processing steps before it is ready for retrieval.\",\n input: RagieUpdateDocumentFromUrlInput,\n output: RagieUpdateDocumentFromUrlOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EACjH,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,GAAG,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,CAAC,CAAC,CAAC,SAAS,uEASH;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RagieUpdateDocumentRawInput = zod.z.object({
|
|
|
5
5
|
data: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]),
|
|
6
6
|
document_id: zod.z.string().describe("UUID of the document to update")
|
|
7
7
|
}).describe("Request model for updating a document's raw content.");
|
|
8
|
-
const RagieUpdateDocumentRawOutput = zod.z.object({ status: zod.z.string().describe("Status of the update operation").nullable() }).describe("Response model for document raw update operation.");
|
|
8
|
+
const RagieUpdateDocumentRawOutput = zod.z.object({ status: zod.z.string().describe("Status of the update operation").nullable() }).passthrough().describe("Response model for document raw update operation.");
|
|
9
9
|
const ragieUpdateDocumentRaw = require_action.action("RAGIE_UPDATE_DOCUMENT_RAW", {
|
|
10
10
|
slug: "ragie-update-document-raw",
|
|
11
11
|
name: "Update Document Raw",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-document-raw.cjs","names":["z","action"],"sources":["../../src/actions/update-document-raw.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentRawInput = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown())]),\n document_id: z.string().describe(\"UUID of the document to update\"),\n}).describe(\"Request model for updating a document's raw content.\");\nexport const RagieUpdateDocumentRawOutput = z.object({\n status: z.string().describe(\"Status of the update operation\").nullable(),\n}).describe(\"Response model for document raw update operation.\");\n\nexport const ragieUpdateDocumentRaw = action(\"RAGIE_UPDATE_DOCUMENT_RAW\", {\n slug: \"ragie-update-document-raw\",\n name: \"Update Document Raw\",\n description: \"Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.\",\n input: RagieUpdateDocumentRawInput,\n output: RagieUpdateDocumentRawOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"update-document-raw.cjs","names":["z","action"],"sources":["../../src/actions/update-document-raw.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentRawInput = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown())]),\n document_id: z.string().describe(\"UUID of the document to update\"),\n}).describe(\"Request model for updating a document's raw content.\");\nexport const RagieUpdateDocumentRawOutput = z.object({\n status: z.string().describe(\"Status of the update operation\").nullable(),\n}).passthrough().describe(\"Response model for document raw update operation.\");\n\nexport const ragieUpdateDocumentRaw = action(\"RAGIE_UPDATE_DOCUMENT_RAW\", {\n slug: \"ragie-update-document-raw\",\n name: \"Update Document Raw\",\n description: \"Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.\",\n input: RagieUpdateDocumentRawInput,\n output: RagieUpdateDocumentRawOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const RagieUpdateDocumentRawInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RagieUpdateDocumentRawOutput: z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ragieUpdateDocumentRaw: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
data: string | Record<string, unknown>;
|
|
13
13
|
document_id: string;
|
|
@@ -7,7 +7,7 @@ declare const RagieUpdateDocumentRawInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RagieUpdateDocumentRawOutput: z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ragieUpdateDocumentRaw: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
data: string | Record<string, unknown>;
|
|
13
13
|
document_id: string;
|
|
@@ -8,7 +8,7 @@ const ragieUpdateDocumentRaw = action("RAGIE_UPDATE_DOCUMENT_RAW", {
|
|
|
8
8
|
data: z.union([z.string(), z.record(z.string(), z.unknown())]),
|
|
9
9
|
document_id: z.string().describe("UUID of the document to update")
|
|
10
10
|
}).describe("Request model for updating a document's raw content."),
|
|
11
|
-
output: z.object({ status: z.string().describe("Status of the update operation").nullable() }).describe("Response model for document raw update operation.")
|
|
11
|
+
output: z.object({ status: z.string().describe("Status of the update operation").nullable() }).passthrough().describe("Response model for document raw update operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ragieUpdateDocumentRaw };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-document-raw.mjs","names":[],"sources":["../../src/actions/update-document-raw.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentRawInput = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown())]),\n document_id: z.string().describe(\"UUID of the document to update\"),\n}).describe(\"Request model for updating a document's raw content.\");\nexport const RagieUpdateDocumentRawOutput = z.object({\n status: z.string().describe(\"Status of the update operation\").nullable(),\n}).describe(\"Response model for document raw update operation.\");\n\nexport const ragieUpdateDocumentRaw = action(\"RAGIE_UPDATE_DOCUMENT_RAW\", {\n slug: \"ragie-update-document-raw\",\n name: \"Update Document Raw\",\n description: \"Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.\",\n input: RagieUpdateDocumentRawInput,\n output: RagieUpdateDocumentRawOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACnE,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-document-raw.mjs","names":[],"sources":["../../src/actions/update-document-raw.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateDocumentRawInput = z.object({\n data: z.union([z.string(), z.record(z.string(), z.unknown())]),\n document_id: z.string().describe(\"UUID of the document to update\"),\n}).describe(\"Request model for updating a document's raw content.\");\nexport const RagieUpdateDocumentRawOutput = z.object({\n status: z.string().describe(\"Status of the update operation\").nullable(),\n}).passthrough().describe(\"Response model for document raw update operation.\");\n\nexport const ragieUpdateDocumentRaw = action(\"RAGIE_UPDATE_DOCUMENT_RAW\", {\n slug: \"ragie-update-document-raw\",\n name: \"Update Document Raw\",\n description: \"Tool to update a document's content from raw text or JSON data. Use when modifying existing document content. The document undergoes processing and becomes available for retrieval once it reaches the ready state.\",\n input: RagieUpdateDocumentRawInput,\n output: RagieUpdateDocumentRawOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACnE,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAT0C,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RagieUpdateInstructionInput = zod.z.object({
|
|
|
5
5
|
active: zod.z.boolean().describe("Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated"),
|
|
6
6
|
instruction_id: zod.z.string().describe("The UUID of the instruction to update")
|
|
7
7
|
}).describe("Request model for updating an instruction's active status.");
|
|
8
|
-
const RagieUpdateInstruction_EntitySchemaSchema = zod.z.
|
|
8
|
+
const RagieUpdateInstruction_EntitySchemaSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Entity schema object for the instruction.");
|
|
9
9
|
const RagieUpdateInstructionOutput = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("The unique identifier of the instruction").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Name of the instruction").nullable(),
|
|
@@ -17,7 +17,7 @@ const RagieUpdateInstructionOutput = zod.z.object({
|
|
|
17
17
|
created_at: zod.z.string().describe("Timestamp when the instruction was created").nullable(),
|
|
18
18
|
updated_at: zod.z.string().describe("Timestamp when the instruction was last updated").nullable(),
|
|
19
19
|
entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional()
|
|
20
|
-
}).describe("Response model for the updated instruction.");
|
|
20
|
+
}).passthrough().describe("Response model for the updated instruction.");
|
|
21
21
|
const ragieUpdateInstruction = require_action.action("RAGIE_UPDATE_INSTRUCTION", {
|
|
22
22
|
slug: "ragie-update-instruction",
|
|
23
23
|
name: "Update Instruction",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-instruction.cjs","names":["z","action"],"sources":["../../src/actions/update-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateInstructionInput = z.object({\n active: z.boolean().describe(\"Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated\"),\n instruction_id: z.string().describe(\"The UUID of the instruction to update\"),\n}).describe(\"Request model for updating an instruction's active status.\");\nconst RagieUpdateInstruction_EntitySchemaSchema = z.
|
|
1
|
+
{"version":3,"file":"update-instruction.cjs","names":["z","action"],"sources":["../../src/actions/update-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateInstructionInput = z.object({\n active: z.boolean().describe(\"Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated\"),\n instruction_id: z.string().describe(\"The UUID of the instruction to update\"),\n}).describe(\"Request model for updating an instruction's active status.\");\nconst RagieUpdateInstruction_EntitySchemaSchema = z.record(z.string(), z.unknown()).describe(\"Entity schema object for the instruction.\");\nexport const RagieUpdateInstructionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the instruction\").nullable(),\n name: z.string().describe(\"Name of the instruction\").nullable(),\n scope: z.string().describe(\"Scope of the instruction - either 'document' or 'chunk'\").nullable(),\n active: z.boolean().describe(\"Current active status of the instruction\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter applied to the instruction\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction prompt\").nullable(),\n partition: z.string().describe(\"Partition identifier for the instruction\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the instruction was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the instruction was last updated\").nullable(),\n entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the updated instruction.\");\n\nexport const ragieUpdateInstruction = action(\"RAGIE_UPDATE_INSTRUCTION\", {\n slug: \"ragie-update-instruction\",\n name: \"Update Instruction\",\n description: \"Tool to update an instruction's active status. Use when you need to activate or deactivate an existing instruction.\",\n input: RagieUpdateInstructionInput,\n output: RagieUpdateInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oIAAoI;CACjK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA4CA,I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ional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
17
17
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
18
|
-
entity_schema: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
-
}, z.core.$
|
|
18
|
+
entity_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const ragieUpdateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
active: boolean;
|
|
22
22
|
instruction_id: string;
|
|
@@ -15,8 +15,8 @@ declare const RagieUpdateInstructionOutput: z.ZodObject<{
|
|
|
15
15
|
partition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
created_at: z.ZodNullable<z.ZodString>;
|
|
17
17
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
18
|
-
entity_schema: z.ZodOptional<z.ZodNullable<z.
|
|
19
|
-
}, z.core.$
|
|
18
|
+
entity_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const ragieUpdateInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
active: boolean;
|
|
22
22
|
instruction_id: string;
|
|
@@ -5,7 +5,7 @@ const RagieUpdateInstructionInput = z.object({
|
|
|
5
5
|
active: z.boolean().describe("Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated"),
|
|
6
6
|
instruction_id: z.string().describe("The UUID of the instruction to update")
|
|
7
7
|
}).describe("Request model for updating an instruction's active status.");
|
|
8
|
-
const RagieUpdateInstruction_EntitySchemaSchema = z.
|
|
8
|
+
const RagieUpdateInstruction_EntitySchemaSchema = z.record(z.string(), z.unknown()).describe("Entity schema object for the instruction.");
|
|
9
9
|
const ragieUpdateInstruction = action("RAGIE_UPDATE_INSTRUCTION", {
|
|
10
10
|
slug: "ragie-update-instruction",
|
|
11
11
|
name: "Update Instruction",
|
|
@@ -22,7 +22,7 @@ const ragieUpdateInstruction = action("RAGIE_UPDATE_INSTRUCTION", {
|
|
|
22
22
|
created_at: z.string().describe("Timestamp when the instruction was created").nullable(),
|
|
23
23
|
updated_at: z.string().describe("Timestamp when the instruction was last updated").nullable(),
|
|
24
24
|
entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional()
|
|
25
|
-
}).describe("Response model for the updated instruction.")
|
|
25
|
+
}).passthrough().describe("Response model for the updated instruction.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ragieUpdateInstruction };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-instruction.mjs","names":[],"sources":["../../src/actions/update-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateInstructionInput = z.object({\n active: z.boolean().describe(\"Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated\"),\n instruction_id: z.string().describe(\"The UUID of the instruction to update\"),\n}).describe(\"Request model for updating an instruction's active status.\");\nconst RagieUpdateInstruction_EntitySchemaSchema = z.
|
|
1
|
+
{"version":3,"file":"update-instruction.mjs","names":[],"sources":["../../src/actions/update-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieUpdateInstructionInput = z.object({\n active: z.boolean().describe(\"Whether the instruction is active. Active instructions are applied to documents when they're created or when their file is updated\"),\n instruction_id: z.string().describe(\"The UUID of the instruction to update\"),\n}).describe(\"Request model for updating an instruction's active status.\");\nconst RagieUpdateInstruction_EntitySchemaSchema = z.record(z.string(), z.unknown()).describe(\"Entity schema object for the instruction.\");\nexport const RagieUpdateInstructionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the instruction\").nullable(),\n name: z.string().describe(\"Name of the instruction\").nullable(),\n scope: z.string().describe(\"Scope of the instruction - either 'document' or 'chunk'\").nullable(),\n active: z.boolean().describe(\"Current active status of the instruction\").nullable(),\n filter: z.record(z.string(), z.unknown()).describe(\"Metadata filter applied to the instruction\").nullable().optional(),\n prompt: z.string().describe(\"Natural language instruction prompt\").nullable(),\n partition: z.string().describe(\"Partition identifier for the instruction\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the instruction was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the instruction was last updated\").nullable(),\n entity_schema: RagieUpdateInstruction_EntitySchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for the updated instruction.\");\n\nexport const ragieUpdateInstruction = action(\"RAGIE_UPDATE_INSTRUCTION\", {\n slug: \"ragie-update-instruction\",\n name: \"Update Instruction\",\n description: \"Tool to update an instruction's active status. Use when you need to activate or deactivate an existing instruction.\",\n input: RagieUpdateInstructionInput,\n output: RagieUpdateInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oIAAoI;CACjK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA4C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAcxI,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,eAAe,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ const RagieUpdatePartition_PartitionStatsSchema = zod.z.object({
|
|
|
21
21
|
audio_processed_monthly: zod.z.number().describe("Current month's audio processing seconds").nullable(),
|
|
22
22
|
pages_processed_monthly: zod.z.number().describe("Current month's processed pages").nullable(),
|
|
23
23
|
video_processed_monthly: zod.z.number().describe("Current month's video processing seconds").nullable()
|
|
24
|
-
}).describe("Partition statistics object containing usage data.");
|
|
24
|
+
}).passthrough().describe("Partition statistics object containing usage data.");
|
|
25
25
|
const RagieUpdatePartition_PartitionLimitsSchema = zod.z.object({
|
|
26
26
|
media_hosted_limit_max: zod.z.number().int().describe("Maximum hosted media limit (MBs)").nullable().optional(),
|
|
27
27
|
pages_hosted_limit_max: zod.z.number().int().describe("Maximum total hosted pages limit").nullable().optional(),
|
|
@@ -35,7 +35,7 @@ const RagieUpdatePartition_PartitionLimitsSchema = zod.z.object({
|
|
|
35
35
|
audio_processed_limit_monthly: zod.z.number().int().describe("Monthly audio processing limit (minutes)").nullable().optional(),
|
|
36
36
|
pages_processed_limit_monthly: zod.z.number().int().describe("Monthly page processing limit").nullable().optional(),
|
|
37
37
|
video_processed_limit_monthly: zod.z.number().int().describe("Monthly video processing limit (minutes)").nullable().optional()
|
|
38
|
-
}).describe("Partition limits object containing various resource limits.");
|
|
38
|
+
}).passthrough().describe("Partition limits object containing various resource limits.");
|
|
39
39
|
const RagieUpdatePartitionOutput = zod.z.object({
|
|
40
40
|
name: zod.z.string().describe("The partition identifier/name").nullable(),
|
|
41
41
|
stats: RagieUpdatePartition_PartitionStatsSchema.nullable(),
|
|
@@ -45,7 +45,7 @@ const RagieUpdatePartitionOutput = zod.z.object({
|
|
|
45
45
|
context_aware: zod.z.boolean().describe("Whether context-aware descriptions are enabled").nullable(),
|
|
46
46
|
metadata_schema: zod.z.record(zod.z.string(), zod.z.unknown()).nullable(),
|
|
47
47
|
limit_exceeded_at: zod.z.string().describe("Timestamp when the partition exceeded its limits, if applicable").nullable().optional()
|
|
48
|
-
}).describe("Response model for partition update operation.");
|
|
48
|
+
}).passthrough().describe("Response model for partition update operation.");
|
|
49
49
|
const ragieUpdatePartition = require_action.action("RAGIE_UPDATE_PARTITION", {
|
|
50
50
|
slug: "ragie-update-partition",
|
|
51
51
|
name: "Update Partition",
|