@keystrokehq/parallel 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.cjs +8 -8
- package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.d.cts +50 -3
- package/dist/actions/add-enrichment-to-find-all-run.d.cts.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.d.mts +50 -3
- package/dist/actions/add-enrichment-to-find-all-run.d.mts.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.mjs +8 -8
- package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.cjs +2 -2
- package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.cts +54 -3
- package/dist/actions/add-runs-to-task-group.d.cts.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.mts +54 -3
- package/dist/actions/add-runs-to-task-group.d.mts.map +1 -1
- package/dist/actions/add-runs-to-task-group.mjs +2 -2
- package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
- package/dist/actions/cancel-find-all-run.cjs.map +1 -1
- package/dist/actions/cancel-find-all-run.d.cts +7 -3
- package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
- package/dist/actions/cancel-find-all-run.d.mts +7 -3
- package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
- package/dist/actions/cancel-find-all-run.mjs.map +1 -1
- package/dist/actions/create-chat-completions.cjs +10 -10
- package/dist/actions/create-chat-completions.cjs.map +1 -1
- package/dist/actions/create-chat-completions.d.cts +86 -3
- package/dist/actions/create-chat-completions.d.cts.map +1 -1
- package/dist/actions/create-chat-completions.d.mts +86 -3
- package/dist/actions/create-chat-completions.d.mts.map +1 -1
- package/dist/actions/create-chat-completions.mjs +10 -10
- package/dist/actions/create-chat-completions.mjs.map +1 -1
- package/dist/actions/create-monitor.cjs +4 -4
- package/dist/actions/create-monitor.cjs.map +1 -1
- package/dist/actions/create-monitor.d.cts +56 -3
- package/dist/actions/create-monitor.d.cts.map +1 -1
- package/dist/actions/create-monitor.d.mts +56 -3
- package/dist/actions/create-monitor.d.mts.map +1 -1
- package/dist/actions/create-monitor.mjs +4 -4
- package/dist/actions/create-monitor.mjs.map +1 -1
- package/dist/actions/create-task-group.cjs +3 -3
- package/dist/actions/create-task-group.cjs.map +1 -1
- package/dist/actions/create-task-group.d.cts +18 -3
- package/dist/actions/create-task-group.d.cts.map +1 -1
- package/dist/actions/create-task-group.d.mts +18 -3
- package/dist/actions/create-task-group.d.mts.map +1 -1
- package/dist/actions/create-task-group.mjs +3 -3
- package/dist/actions/create-task-group.mjs.map +1 -1
- package/dist/actions/create-task-run.cjs +6 -6
- package/dist/actions/create-task-run.cjs.map +1 -1
- package/dist/actions/create-task-run.d.cts +62 -3
- package/dist/actions/create-task-run.d.cts.map +1 -1
- package/dist/actions/create-task-run.d.mts +62 -3
- package/dist/actions/create-task-run.d.mts.map +1 -1
- package/dist/actions/create-task-run.mjs +6 -6
- package/dist/actions/create-task-run.mjs.map +1 -1
- package/dist/actions/delete-monitor.cjs +1 -1
- package/dist/actions/delete-monitor.cjs.map +1 -1
- package/dist/actions/delete-monitor.d.cts +31 -3
- package/dist/actions/delete-monitor.d.cts.map +1 -1
- package/dist/actions/delete-monitor.d.mts +31 -3
- package/dist/actions/delete-monitor.d.mts.map +1 -1
- package/dist/actions/delete-monitor.mjs +1 -1
- package/dist/actions/delete-monitor.mjs.map +1 -1
- package/dist/actions/extend-find-all-run.cjs +4 -4
- package/dist/actions/extend-find-all-run.cjs.map +1 -1
- package/dist/actions/extend-find-all-run.d.cts +24 -3
- package/dist/actions/extend-find-all-run.d.cts.map +1 -1
- package/dist/actions/extend-find-all-run.d.mts +24 -3
- package/dist/actions/extend-find-all-run.d.mts.map +1 -1
- package/dist/actions/extend-find-all-run.mjs +4 -4
- package/dist/actions/extend-find-all-run.mjs.map +1 -1
- package/dist/actions/extract.cjs +7 -7
- package/dist/actions/extract.cjs.map +1 -1
- package/dist/actions/extract.d.cts +63 -3
- package/dist/actions/extract.d.cts.map +1 -1
- package/dist/actions/extract.d.mts +63 -3
- package/dist/actions/extract.d.mts.map +1 -1
- package/dist/actions/extract.mjs +7 -7
- package/dist/actions/extract.mjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.cjs +18 -18
- package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.cts +91 -3
- package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.mts +91 -3
- package/dist/actions/fetch-task-group-runs.d.mts.map +1 -1
- package/dist/actions/fetch-task-group-runs.mjs +18 -18
- package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
- package/dist/actions/find-all.cjs +6 -6
- package/dist/actions/find-all.cjs.map +1 -1
- package/dist/actions/find-all.d.cts +70 -3
- package/dist/actions/find-all.d.cts.map +1 -1
- package/dist/actions/find-all.d.mts +70 -3
- package/dist/actions/find-all.d.mts.map +1 -1
- package/dist/actions/find-all.mjs +6 -6
- package/dist/actions/find-all.mjs.map +1 -1
- package/dist/actions/get-find-all-run-result.cjs +10 -10
- package/dist/actions/get-find-all-run-result.cjs.map +1 -1
- package/dist/actions/get-find-all-run-result.d.cts +68 -3
- package/dist/actions/get-find-all-run-result.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-result.d.mts +68 -3
- package/dist/actions/get-find-all-run-result.d.mts.map +1 -1
- package/dist/actions/get-find-all-run-result.mjs +10 -10
- package/dist/actions/get-find-all-run-result.mjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.cjs +4 -4
- package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.cts +22 -3
- package/dist/actions/get-find-all-run-schema.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.mts +22 -3
- package/dist/actions/get-find-all-run-schema.d.mts.map +1 -1
- package/dist/actions/get-find-all-run-schema.mjs +4 -4
- package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
- package/dist/actions/ingest-find-all-run.cjs +4 -4
- package/dist/actions/ingest-find-all-run.cjs.map +1 -1
- package/dist/actions/ingest-find-all-run.d.cts +22 -3
- package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
- package/dist/actions/ingest-find-all-run.d.mts +22 -3
- package/dist/actions/ingest-find-all-run.d.mts.map +1 -1
- package/dist/actions/ingest-find-all-run.mjs +4 -4
- package/dist/actions/ingest-find-all-run.mjs.map +1 -1
- package/dist/actions/list-monitor-events.cjs +6 -6
- package/dist/actions/list-monitor-events.cjs.map +1 -1
- package/dist/actions/list-monitor-events.d.cts +26 -3
- package/dist/actions/list-monitor-events.d.cts.map +1 -1
- package/dist/actions/list-monitor-events.d.mts +26 -3
- package/dist/actions/list-monitor-events.d.mts.map +1 -1
- package/dist/actions/list-monitor-events.mjs +6 -6
- package/dist/actions/list-monitor-events.mjs.map +1 -1
- package/dist/actions/list-monitors.cjs +4 -4
- package/dist/actions/list-monitors.cjs.map +1 -1
- package/dist/actions/list-monitors.d.cts +35 -3
- package/dist/actions/list-monitors.d.cts.map +1 -1
- package/dist/actions/list-monitors.d.mts +35 -3
- package/dist/actions/list-monitors.d.mts.map +1 -1
- package/dist/actions/list-monitors.mjs +4 -4
- package/dist/actions/list-monitors.mjs.map +1 -1
- package/dist/actions/retrieve-event-group.cjs +6 -6
- package/dist/actions/retrieve-event-group.cjs.map +1 -1
- package/dist/actions/retrieve-event-group.d.cts +26 -3
- package/dist/actions/retrieve-event-group.d.cts.map +1 -1
- package/dist/actions/retrieve-event-group.d.mts +26 -3
- package/dist/actions/retrieve-event-group.d.mts.map +1 -1
- package/dist/actions/retrieve-event-group.mjs +6 -6
- package/dist/actions/retrieve-event-group.mjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.cjs +4 -4
- package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.cts +34 -3
- package/dist/actions/retrieve-find-all-run-status.d.cts.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.mts +34 -3
- package/dist/actions/retrieve-find-all-run-status.d.mts.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.mjs +4 -4
- package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
- package/dist/actions/retrieve-monitor.cjs +4 -4
- package/dist/actions/retrieve-monitor.cjs.map +1 -1
- package/dist/actions/retrieve-monitor.d.cts +31 -3
- package/dist/actions/retrieve-monitor.d.cts.map +1 -1
- package/dist/actions/retrieve-monitor.d.mts +31 -3
- package/dist/actions/retrieve-monitor.d.mts.map +1 -1
- package/dist/actions/retrieve-monitor.mjs +4 -4
- package/dist/actions/retrieve-monitor.mjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.cjs +7 -7
- package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.cts +33 -3
- package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.mts +33 -3
- package/dist/actions/retrieve-task-group-run.d.mts.map +1 -1
- package/dist/actions/retrieve-task-group-run.mjs +7 -7
- package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
- package/dist/actions/retrieve-task-group.cjs +5 -5
- package/dist/actions/retrieve-task-group.cjs.map +1 -1
- package/dist/actions/retrieve-task-group.d.cts +18 -3
- package/dist/actions/retrieve-task-group.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group.d.mts +18 -3
- package/dist/actions/retrieve-task-group.d.mts.map +1 -1
- package/dist/actions/retrieve-task-group.mjs +5 -5
- package/dist/actions/retrieve-task-group.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.cjs +1 -1
- package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.cts +21 -3
- package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.mts +21 -3
- package/dist/actions/retrieve-task-run-input.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run-input.mjs +1 -1
- package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.cjs +7 -7
- package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.cts +29 -3
- package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.mts +29 -3
- package/dist/actions/retrieve-task-run-result.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run-result.mjs +7 -7
- package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
- package/dist/actions/retrieve-task-run.cjs +8 -8
- package/dist/actions/retrieve-task-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-run.d.cts +35 -3
- package/dist/actions/retrieve-task-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run.d.mts +35 -3
- package/dist/actions/retrieve-task-run.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run.mjs +8 -8
- package/dist/actions/retrieve-task-run.mjs.map +1 -1
- package/dist/actions/search.cjs +3 -3
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +15 -3
- package/dist/actions/search.d.cts.map +1 -1
- package/dist/actions/search.d.mts +15 -3
- package/dist/actions/search.d.mts.map +1 -1
- package/dist/actions/search.mjs +3 -3
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/simulate-event.cjs.map +1 -1
- package/dist/actions/simulate-event.d.cts +15 -3
- package/dist/actions/simulate-event.d.cts.map +1 -1
- package/dist/actions/simulate-event.d.mts +15 -3
- package/dist/actions/simulate-event.d.mts.map +1 -1
- package/dist/actions/simulate-event.mjs.map +1 -1
- package/dist/actions/stream-find-all-events.cjs +28 -28
- package/dist/actions/stream-find-all-events.cjs.map +1 -1
- package/dist/actions/stream-find-all-events.d.cts +104 -3
- package/dist/actions/stream-find-all-events.d.cts.map +1 -1
- package/dist/actions/stream-find-all-events.d.mts +104 -3
- package/dist/actions/stream-find-all-events.d.mts.map +1 -1
- package/dist/actions/stream-find-all-events.mjs +28 -28
- package/dist/actions/stream-find-all-events.mjs.map +1 -1
- package/dist/actions/stream-task-group-events.cjs +17 -17
- package/dist/actions/stream-task-group-events.cjs.map +1 -1
- package/dist/actions/stream-task-group-events.d.cts +44 -3
- package/dist/actions/stream-task-group-events.d.cts.map +1 -1
- package/dist/actions/stream-task-group-events.d.mts +44 -3
- package/dist/actions/stream-task-group-events.d.mts.map +1 -1
- package/dist/actions/stream-task-group-events.mjs +17 -17
- package/dist/actions/stream-task-group-events.mjs.map +1 -1
- package/dist/actions/stream-task-run-events.cjs +13 -13
- package/dist/actions/stream-task-run-events.cjs.map +1 -1
- package/dist/actions/stream-task-run-events.d.cts +45 -3
- package/dist/actions/stream-task-run-events.d.cts.map +1 -1
- package/dist/actions/stream-task-run-events.d.mts +45 -3
- package/dist/actions/stream-task-run-events.d.mts.map +1 -1
- package/dist/actions/stream-task-run-events.mjs +13 -13
- package/dist/actions/stream-task-run-events.mjs.map +1 -1
- package/dist/actions/suggest-task.cjs +1 -1
- package/dist/actions/suggest-task.cjs.map +1 -1
- package/dist/actions/suggest-task.d.cts +12 -3
- package/dist/actions/suggest-task.d.cts.map +1 -1
- package/dist/actions/suggest-task.d.mts +12 -3
- package/dist/actions/suggest-task.d.mts.map +1 -1
- package/dist/actions/suggest-task.mjs +1 -1
- package/dist/actions/suggest-task.mjs.map +1 -1
- package/dist/actions/update-monitor.cjs +4 -4
- package/dist/actions/update-monitor.cjs.map +1 -1
- package/dist/actions/update-monitor.d.cts +50 -3
- package/dist/actions/update-monitor.d.cts.map +1 -1
- package/dist/actions/update-monitor.d.mts +50 -3
- package/dist/actions/update-monitor.d.mts.map +1 -1
- package/dist/actions/update-monitor.mjs +4 -4
- package/dist/actions/update-monitor.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["parallel","executeParallelTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parallel } from \"./app\";\nimport { executeParallelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["parallel","executeParallelTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parallel } from \"./app\";\nimport { executeParallelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return parallel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeParallelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parallel } from \"./app\";\nimport { executeParallelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parallel } from \"./app\";\nimport { executeParallelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return parallel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeParallelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -14,21 +14,21 @@ const ParallelAddEnrichmentToFindAllRunInput = zod.z.object({
|
|
|
14
14
|
}).describe("JSON schema defining the structure and fields for the enrichment output.")
|
|
15
15
|
});
|
|
16
16
|
const ParallelAddEnrichmentToFindAllRun_McpServerSchema = zod.z.object({
|
|
17
|
-
url: zod.z.string().describe("URL of the MCP server."),
|
|
18
|
-
name: zod.z.string().describe("Name of the MCP server.")
|
|
17
|
+
url: zod.z.string().describe("URL of the MCP server.").nullable(),
|
|
18
|
+
name: zod.z.string().describe("Name of the MCP server.").nullable()
|
|
19
19
|
}).describe("MCP server configuration for enrichment processing.");
|
|
20
20
|
const ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema = zod.z.object({
|
|
21
21
|
type: zod.z.string().default("json").describe("The type of schema being defined. Always 'json'.").nullable().optional(),
|
|
22
22
|
json_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON Schema object defining the structure of the enrichment output. Only a subset of JSON Schema is supported.")
|
|
23
23
|
}).describe("JSON schema definition for enrichment output.");
|
|
24
24
|
const ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema = zod.z.object({
|
|
25
|
-
processor: zod.z.string().describe("Processor used for this enrichment."),
|
|
25
|
+
processor: zod.z.string().describe("Processor used for this enrichment.").nullable(),
|
|
26
26
|
mcp_servers: zod.z.array(ParallelAddEnrichmentToFindAllRun_McpServerSchema).describe("List of MCP servers used for this enrichment.").nullable().optional(),
|
|
27
27
|
output_schema: ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema.nullable()
|
|
28
28
|
}).describe("Enrichment configuration for a FindAll run.");
|
|
29
29
|
const ParallelAddEnrichmentToFindAllRun_MatchConditionSchema = zod.z.object({
|
|
30
|
-
name: zod.z.string().describe("Name of the match condition."),
|
|
31
|
-
description: zod.z.string().describe("Description of the match condition.")
|
|
30
|
+
name: zod.z.string().describe("Name of the match condition.").nullable(),
|
|
31
|
+
description: zod.z.string().describe("Description of the match condition.").nullable()
|
|
32
32
|
});
|
|
33
33
|
const ParallelAddEnrichmentToFindAllRunOutput = zod.z.object({
|
|
34
34
|
generator: zod.z.enum([
|
|
@@ -36,10 +36,10 @@ const ParallelAddEnrichmentToFindAllRunOutput = zod.z.object({
|
|
|
36
36
|
"core",
|
|
37
37
|
"pro",
|
|
38
38
|
"preview"
|
|
39
|
-
]).describe("The generator of the FindAll run."),
|
|
40
|
-
objective: zod.z.string().describe("Natural language objective of the FindAll run."),
|
|
39
|
+
]).describe("The generator of the FindAll run.").nullable(),
|
|
40
|
+
objective: zod.z.string().describe("Natural language objective of the FindAll run.").nullable(),
|
|
41
41
|
enrichments: zod.z.array(ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema).describe("List of enrichment inputs for the FindAll run.").nullable().optional(),
|
|
42
|
-
entity_type: zod.z.string().describe("Type of the entity for the FindAll run."),
|
|
42
|
+
entity_type: zod.z.string().describe("Type of the entity for the FindAll run.").nullable(),
|
|
43
43
|
match_limit: zod.z.number().int().describe("Max number of candidates to evaluate.").nullable().optional(),
|
|
44
44
|
match_conditions: zod.z.array(ParallelAddEnrichmentToFindAllRun_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
45
45
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-enrichment-to-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddEnrichmentToFindAllRunInput
|
|
1
|
+
{"version":3,"file":"add-enrichment-to-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddEnrichmentToFindAllRunInput = z.object({\n processor: z.string().default(\"core\").describe(\"Processor to use for the enrichment task. Defaults to 'core'.\").optional(),\n findall_id: z.string().describe(\"ID of the FindAll run to add enrichment to.\"),\n mcp_servers: z.array(z.object({\n url: z.string().describe(\"URL of the MCP server.\"),\n name: z.string().describe(\"Name of the MCP server.\"),\n}).describe(\"MCP server configuration for enrichment processing.\")).describe(\"Optional list of MCP servers to use for the enrichment task.\").optional(),\n output_schema: z.object({\n type: z.string().default(\"json\").describe(\"The type of schema being defined. Always 'json'.\").optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"A JSON Schema object defining the structure of the enrichment output. Only a subset of JSON Schema is supported.\"),\n}).describe(\"JSON schema defining the structure and fields for the enrichment output.\"),\n});\nconst ParallelAddEnrichmentToFindAllRun_McpServerSchema = z.object({\n url: z.string().describe(\"URL of the MCP server.\").nullable(),\n name: z.string().describe(\"Name of the MCP server.\").nullable(),\n}).describe(\"MCP server configuration for enrichment processing.\");\nconst ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema = z.object({\n type: z.string().default(\"json\").describe(\"The type of schema being defined. Always 'json'.\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"A JSON Schema object defining the structure of the enrichment output. Only a subset of JSON Schema is supported.\"),\n}).describe(\"JSON schema definition for enrichment output.\");\nconst ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema = z.object({\n processor: z.string().describe(\"Processor used for this enrichment.\").nullable(),\n mcp_servers: z.array(ParallelAddEnrichmentToFindAllRun_McpServerSchema).describe(\"List of MCP servers used for this enrichment.\").nullable().optional(),\n output_schema: ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema.nullable(),\n}).describe(\"Enrichment configuration for a FindAll run.\");\nconst ParallelAddEnrichmentToFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition.\").nullable(),\n description: z.string().describe(\"Description of the match condition.\").nullable(),\n});\nexport const ParallelAddEnrichmentToFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"The generator of the FindAll run.\").nullable(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate.\").nullable().optional(),\n match_conditions: z.array(ParallelAddEnrichmentToFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n});\n\nexport const parallelAddEnrichmentToFindAllRun = action(\"PARALLEL_ADD_ENRICHMENT_TO_FIND_ALL_RUN\", {\n slug: \"parallel-add-enrichment-to-find-all-run\",\n name: \"Add Enrichment to FindAll Run\",\n description: \"Tool to add an enrichment to a FindAll run. Use when you need to enrich existing FindAll run results with additional structured data fields. Enrichments define what information to extract from matched entities using a JSON schema.\",\n input: ParallelAddEnrichmentToFindAllRunInput,\n output: ParallelAddEnrichmentToFindAllRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC9B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACrD,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpJ,eAAeA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH;CAC5K,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAA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,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,+CAA+C;AAC5I,CAAC;AAED,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-enrichment-to-find-all-run.d.ts
|
|
4
|
-
declare const ParallelAddEnrichmentToFindAllRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelAddEnrichmentToFindAllRunInput: z.ZodObject<{
|
|
5
|
+
processor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
findall_id: z.ZodString;
|
|
7
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
output_schema: z.ZodObject<{
|
|
12
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
13
|
+
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const ParallelAddEnrichmentToFindAllRunOutput: z.ZodObject<{
|
|
17
|
+
generator: z.ZodNullable<z.ZodEnum<{
|
|
18
|
+
base: "base";
|
|
19
|
+
core: "core";
|
|
20
|
+
pro: "pro";
|
|
21
|
+
preview: "preview";
|
|
22
|
+
}>>;
|
|
23
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
24
|
+
enrichments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
|
+
processor: z.ZodNullable<z.ZodString>;
|
|
26
|
+
mcp_servers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
|
+
url: z.ZodNullable<z.ZodString>;
|
|
28
|
+
name: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>>>>;
|
|
30
|
+
output_schema: z.ZodNullable<z.ZodObject<{
|
|
31
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
32
|
+
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>>>>;
|
|
35
|
+
entity_type: z.ZodNullable<z.ZodString>;
|
|
36
|
+
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
match_conditions: z.ZodArray<z.ZodObject<{
|
|
38
|
+
name: z.ZodNullable<z.ZodString>;
|
|
39
|
+
description: z.ZodNullable<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const parallelAddEnrichmentToFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
findall_id: string;
|
|
44
|
+
output_schema: {
|
|
45
|
+
json_schema: Record<string, unknown>;
|
|
46
|
+
type?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
processor?: string | undefined;
|
|
49
|
+
mcp_servers?: {
|
|
50
|
+
url: string;
|
|
51
|
+
name: string;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { parallelAddEnrichmentToFindAllRun };
|
|
9
56
|
//# sourceMappingURL=add-enrichment-to-find-all-run.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-enrichment-to-find-all-run.d.cts","names":[],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"add-enrichment-to-find-all-run.d.cts","names":[],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;cA6BtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cASvC,iCAAA,gCAAiC,wBAAA;;;iBAM5C,MAAA"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-enrichment-to-find-all-run.d.ts
|
|
4
|
-
declare const ParallelAddEnrichmentToFindAllRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelAddEnrichmentToFindAllRunInput: z.ZodObject<{
|
|
5
|
+
processor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
findall_id: z.ZodString;
|
|
7
|
+
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
output_schema: z.ZodObject<{
|
|
12
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
13
|
+
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const ParallelAddEnrichmentToFindAllRunOutput: z.ZodObject<{
|
|
17
|
+
generator: z.ZodNullable<z.ZodEnum<{
|
|
18
|
+
base: "base";
|
|
19
|
+
core: "core";
|
|
20
|
+
pro: "pro";
|
|
21
|
+
preview: "preview";
|
|
22
|
+
}>>;
|
|
23
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
24
|
+
enrichments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
|
+
processor: z.ZodNullable<z.ZodString>;
|
|
26
|
+
mcp_servers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
|
+
url: z.ZodNullable<z.ZodString>;
|
|
28
|
+
name: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>>>>;
|
|
30
|
+
output_schema: z.ZodNullable<z.ZodObject<{
|
|
31
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
32
|
+
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>>>>;
|
|
35
|
+
entity_type: z.ZodNullable<z.ZodString>;
|
|
36
|
+
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
match_conditions: z.ZodArray<z.ZodObject<{
|
|
38
|
+
name: z.ZodNullable<z.ZodString>;
|
|
39
|
+
description: z.ZodNullable<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const parallelAddEnrichmentToFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
findall_id: string;
|
|
44
|
+
output_schema: {
|
|
45
|
+
json_schema: Record<string, unknown>;
|
|
46
|
+
type?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
processor?: string | undefined;
|
|
49
|
+
mcp_servers?: {
|
|
50
|
+
url: string;
|
|
51
|
+
name: string;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { parallelAddEnrichmentToFindAllRun };
|
|
9
56
|
//# sourceMappingURL=add-enrichment-to-find-all-run.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-enrichment-to-find-all-run.d.mts","names":[],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"add-enrichment-to-find-all-run.d.mts","names":[],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;cA6BtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cASvC,iCAAA,gCAAiC,wBAAA;;;iBAM5C,MAAA"}
|
|
@@ -14,21 +14,21 @@ const ParallelAddEnrichmentToFindAllRunInput = z.object({
|
|
|
14
14
|
}).describe("JSON schema defining the structure and fields for the enrichment output.")
|
|
15
15
|
});
|
|
16
16
|
const ParallelAddEnrichmentToFindAllRun_McpServerSchema = z.object({
|
|
17
|
-
url: z.string().describe("URL of the MCP server."),
|
|
18
|
-
name: z.string().describe("Name of the MCP server.")
|
|
17
|
+
url: z.string().describe("URL of the MCP server.").nullable(),
|
|
18
|
+
name: z.string().describe("Name of the MCP server.").nullable()
|
|
19
19
|
}).describe("MCP server configuration for enrichment processing.");
|
|
20
20
|
const ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema = z.object({
|
|
21
21
|
type: z.string().default("json").describe("The type of schema being defined. Always 'json'.").nullable().optional(),
|
|
22
22
|
json_schema: z.record(z.string(), z.unknown()).describe("A JSON Schema object defining the structure of the enrichment output. Only a subset of JSON Schema is supported.")
|
|
23
23
|
}).describe("JSON schema definition for enrichment output.");
|
|
24
24
|
const ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema = z.object({
|
|
25
|
-
processor: z.string().describe("Processor used for this enrichment."),
|
|
25
|
+
processor: z.string().describe("Processor used for this enrichment.").nullable(),
|
|
26
26
|
mcp_servers: z.array(ParallelAddEnrichmentToFindAllRun_McpServerSchema).describe("List of MCP servers used for this enrichment.").nullable().optional(),
|
|
27
27
|
output_schema: ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema.nullable()
|
|
28
28
|
}).describe("Enrichment configuration for a FindAll run.");
|
|
29
29
|
const ParallelAddEnrichmentToFindAllRun_MatchConditionSchema = z.object({
|
|
30
|
-
name: z.string().describe("Name of the match condition."),
|
|
31
|
-
description: z.string().describe("Description of the match condition.")
|
|
30
|
+
name: z.string().describe("Name of the match condition.").nullable(),
|
|
31
|
+
description: z.string().describe("Description of the match condition.").nullable()
|
|
32
32
|
});
|
|
33
33
|
const parallelAddEnrichmentToFindAllRun = action("PARALLEL_ADD_ENRICHMENT_TO_FIND_ALL_RUN", {
|
|
34
34
|
slug: "parallel-add-enrichment-to-find-all-run",
|
|
@@ -41,10 +41,10 @@ const parallelAddEnrichmentToFindAllRun = action("PARALLEL_ADD_ENRICHMENT_TO_FIN
|
|
|
41
41
|
"core",
|
|
42
42
|
"pro",
|
|
43
43
|
"preview"
|
|
44
|
-
]).describe("The generator of the FindAll run."),
|
|
45
|
-
objective: z.string().describe("Natural language objective of the FindAll run."),
|
|
44
|
+
]).describe("The generator of the FindAll run.").nullable(),
|
|
45
|
+
objective: z.string().describe("Natural language objective of the FindAll run.").nullable(),
|
|
46
46
|
enrichments: z.array(ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema).describe("List of enrichment inputs for the FindAll run.").nullable().optional(),
|
|
47
|
-
entity_type: z.string().describe("Type of the entity for the FindAll run."),
|
|
47
|
+
entity_type: z.string().describe("Type of the entity for the FindAll run.").nullable(),
|
|
48
48
|
match_limit: z.number().int().describe("Max number of candidates to evaluate.").nullable().optional(),
|
|
49
49
|
match_conditions: z.array(ParallelAddEnrichmentToFindAllRun_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
50
50
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-enrichment-to-find-all-run.mjs","names":[],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddEnrichmentToFindAllRunInput
|
|
1
|
+
{"version":3,"file":"add-enrichment-to-find-all-run.mjs","names":[],"sources":["../../src/actions/add-enrichment-to-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddEnrichmentToFindAllRunInput = z.object({\n processor: z.string().default(\"core\").describe(\"Processor to use for the enrichment task. Defaults to 'core'.\").optional(),\n findall_id: z.string().describe(\"ID of the FindAll run to add enrichment to.\"),\n mcp_servers: z.array(z.object({\n url: z.string().describe(\"URL of the MCP server.\"),\n name: z.string().describe(\"Name of the MCP server.\"),\n}).describe(\"MCP server configuration for enrichment processing.\")).describe(\"Optional list of MCP servers to use for the enrichment task.\").optional(),\n output_schema: z.object({\n type: z.string().default(\"json\").describe(\"The type of schema being defined. Always 'json'.\").optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"A JSON Schema object defining the structure of the enrichment output. Only a subset of JSON Schema is supported.\"),\n}).describe(\"JSON schema defining the structure and fields for the enrichment output.\"),\n});\nconst ParallelAddEnrichmentToFindAllRun_McpServerSchema = z.object({\n url: z.string().describe(\"URL of the MCP server.\").nullable(),\n name: z.string().describe(\"Name of the MCP server.\").nullable(),\n}).describe(\"MCP server configuration for enrichment processing.\");\nconst ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema = z.object({\n type: z.string().default(\"json\").describe(\"The type of schema being defined. Always 'json'.\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"A JSON Schema object defining the structure of the enrichment output. Only a subset of JSON Schema is supported.\"),\n}).describe(\"JSON schema definition for enrichment output.\");\nconst ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema = z.object({\n processor: z.string().describe(\"Processor used for this enrichment.\").nullable(),\n mcp_servers: z.array(ParallelAddEnrichmentToFindAllRun_McpServerSchema).describe(\"List of MCP servers used for this enrichment.\").nullable().optional(),\n output_schema: ParallelAddEnrichmentToFindAllRun_JsonSchemaSchema.nullable(),\n}).describe(\"Enrichment configuration for a FindAll run.\");\nconst ParallelAddEnrichmentToFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition.\").nullable(),\n description: z.string().describe(\"Description of the match condition.\").nullable(),\n});\nexport const ParallelAddEnrichmentToFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"The generator of the FindAll run.\").nullable(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate.\").nullable().optional(),\n match_conditions: z.array(ParallelAddEnrichmentToFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n});\n\nexport const parallelAddEnrichmentToFindAllRun = action(\"PARALLEL_ADD_ENRICHMENT_TO_FIND_ALL_RUN\", {\n slug: \"parallel-add-enrichment-to-find-all-run\",\n name: \"Add Enrichment to FindAll Run\",\n description: \"Tool to add an enrichment to a FindAll run. Use when you need to enrich existing FindAll run results with additional structured data fields. Enrichments define what information to extract from matched entities using a JSON schema.\",\n input: ParallelAddEnrichmentToFindAllRunInput,\n output: ParallelAddEnrichmentToFindAllRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACrD,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACpJ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,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,kBAAkB,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,+CAA+C;CAC5I,CAOU;AACV,CAAC"}
|
|
@@ -23,9 +23,9 @@ const ParallelAddRunsToTaskGroupInput = zod.z.object({
|
|
|
23
23
|
}).describe("Task specification for defining input and output schemas.").optional()
|
|
24
24
|
}).describe("Request model for adding runs to a task group.");
|
|
25
25
|
const ParallelAddRunsToTaskGroup_TaskGroupStatusSchema = zod.z.object({
|
|
26
|
-
is_active: zod.z.boolean().describe("True if at least one run in the group is currently active (queued, running, cancelling)."),
|
|
26
|
+
is_active: zod.z.boolean().describe("True if at least one run in the group is currently active (queued, running, cancelling).").nullable(),
|
|
27
27
|
modified_at: zod.z.string().describe("Timestamp of the last status update to the group, as an RFC 3339 string.").nullable().optional(),
|
|
28
|
-
num_task_runs: zod.z.number().int().describe("Number of task runs in the group."),
|
|
28
|
+
num_task_runs: zod.z.number().int().describe("Number of task runs in the group.").nullable(),
|
|
29
29
|
status_message: zod.z.string().describe("Human-readable status message for the group.").nullable().optional(),
|
|
30
30
|
task_run_status_counts: zod.z.object({}).describe("Number of task runs with each status.").nullable().optional()
|
|
31
31
|
}).describe("Status information for a task group.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-runs-to-task-group.cjs","names":["z","action"],"sources":["../../src/actions/add-runs-to-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddRunsToTaskGroupInput
|
|
1
|
+
{"version":3,"file":"add-runs-to-task-group.cjs","names":["z","action"],"sources":["../../src/actions/add-runs-to-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddRunsToTaskGroupInput = z.object({\n inputs: z.array(z.object({\n input: z.record(z.string(), z.unknown()).describe(\"Input data for the processor. Structure depends on the processor type.\"),\n webhook: z.record(z.string(), z.unknown()).describe(\"Optional webhook configuration for this task run.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata for this task run.\").optional(),\n processor: z.string().describe(\"Processor to use for this task run (e.g., 'web_search', 'data_analysis').\"),\n task_spec: z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the input.\").optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the output.\"),\n}).describe(\"Task specification for defining input and output schemas.\").optional(),\n mcp_servers: z.record(z.string(), z.unknown()).describe(\"Optional MCP server configuration for this task run.\").optional(),\n enable_events: z.record(z.string(), z.unknown()).describe(\"Optional event configuration for this task run.\").optional(),\n source_policy: z.record(z.string(), z.unknown()).describe(\"Optional source policy configuration for this task run.\").optional(),\n previous_interaction_id: z.record(z.string(), z.unknown()).describe(\"Optional previous interaction ID for this task run.\").optional(),\n}).describe(\"Individual task run input within a task group.\")).describe(\"List of task runs to execute. Up to 1,000 runs can be specified per request.\"),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group to add runs to.\"),\n default_task_spec: z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the input.\").optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the output.\"),\n}).describe(\"Task specification for defining input and output schemas.\").optional(),\n}).describe(\"Request model for adding runs to a task group.\");\nconst ParallelAddRunsToTaskGroup_TaskGroupStatusSchema = z.object({\n is_active: z.boolean().describe(\"True if at least one run in the group is currently active (queued, running, cancelling).\").nullable(),\n modified_at: z.string().describe(\"Timestamp of the last status update to the group, as an RFC 3339 string.\").nullable().optional(),\n num_task_runs: z.number().int().describe(\"Number of task runs in the group.\").nullable(),\n status_message: z.string().describe(\"Human-readable status message for the group.\").nullable().optional(),\n task_run_status_counts: z.object({}).describe(\"Number of task runs with each status.\").nullable().optional(),\n}).describe(\"Status information for a task group.\");\nexport const ParallelAddRunsToTaskGroupOutput = z.object({\n status: ParallelAddRunsToTaskGroup_TaskGroupStatusSchema.nullable(),\n run_ids: z.array(z.string()).describe(\"IDs of the newly created runs.\"),\n run_cursor: z.string().describe(\"Cursor for these runs in the run stream at taskgroup/runs?last_event_id=<run_cursor>. Empty for the first runs in the group.\").nullable().optional(),\n event_cursor: z.string().describe(\"Cursor for these runs in the event stream at taskgroup/events?last_event_id=<event_cursor>. Empty for the first runs in the group.\").nullable().optional(),\n}).describe(\"Response model for adding runs to a task group.\");\n\nexport const parallelAddRunsToTaskGroup = action(\"PARALLEL_ADD_RUNS_TO_TASK_GROUP\", {\n slug: \"parallel-add-runs-to-task-group\",\n name: \"Add Runs to Task Group\",\n description: \"Tool to initiate multiple task runs within a TaskGroup. Use when you need to execute multiple tasks in parallel within an existing task group.\",\n input: ParallelAddRunsToTaskGroupInput,\n output: ParallelAddRunsToTaskGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC1H,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,60 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-runs-to-task-group.d.ts
|
|
4
|
-
declare const ParallelAddRunsToTaskGroupInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelAddRunsToTaskGroupInput: z.ZodObject<{
|
|
5
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
6
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
webhook: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
processor: z.ZodString;
|
|
10
|
+
task_spec: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
|
+
output_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15
|
+
enable_events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
|
+
source_policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
|
+
previous_interaction_id: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
taskgroup_id: z.ZodString;
|
|
20
|
+
default_task_spec: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
|
+
output_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const ParallelAddRunsToTaskGroupOutput: z.ZodObject<{
|
|
26
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
27
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
28
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
num_task_runs: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
run_ids: z.ZodArray<z.ZodString>;
|
|
34
|
+
run_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
event_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
declare const parallelAddRunsToTaskGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
|
+
inputs: {
|
|
39
|
+
input: Record<string, unknown>;
|
|
40
|
+
processor: string;
|
|
41
|
+
webhook?: Record<string, unknown> | undefined;
|
|
42
|
+
metadata?: Record<string, unknown> | undefined;
|
|
43
|
+
task_spec?: {
|
|
44
|
+
output_schema: Record<string, unknown>;
|
|
45
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
mcp_servers?: Record<string, unknown> | undefined;
|
|
48
|
+
enable_events?: Record<string, unknown> | undefined;
|
|
49
|
+
source_policy?: Record<string, unknown> | undefined;
|
|
50
|
+
previous_interaction_id?: Record<string, unknown> | undefined;
|
|
51
|
+
}[];
|
|
52
|
+
taskgroup_id: string;
|
|
53
|
+
default_task_spec?: {
|
|
54
|
+
output_schema: Record<string, unknown>;
|
|
55
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
58
|
//#endregion
|
|
8
59
|
export { parallelAddRunsToTaskGroup };
|
|
9
60
|
//# sourceMappingURL=add-runs-to-task-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-runs-to-task-group.d.cts","names":[],"sources":["../../src/actions/add-runs-to-task-group.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"add-runs-to-task-group.d.cts","names":[],"sources":["../../src/actions/add-runs-to-task-group.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA4B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,60 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-runs-to-task-group.d.ts
|
|
4
|
-
declare const ParallelAddRunsToTaskGroupInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelAddRunsToTaskGroupInput: z.ZodObject<{
|
|
5
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
6
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
webhook: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
processor: z.ZodString;
|
|
10
|
+
task_spec: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
|
+
output_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15
|
+
enable_events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
|
+
source_policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
|
+
previous_interaction_id: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
taskgroup_id: z.ZodString;
|
|
20
|
+
default_task_spec: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
|
+
output_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const ParallelAddRunsToTaskGroupOutput: z.ZodObject<{
|
|
26
|
+
status: z.ZodNullable<z.ZodObject<{
|
|
27
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
28
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
num_task_runs: z.ZodNullable<z.ZodNumber>;
|
|
30
|
+
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
run_ids: z.ZodArray<z.ZodString>;
|
|
34
|
+
run_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
event_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
declare const parallelAddRunsToTaskGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
|
+
inputs: {
|
|
39
|
+
input: Record<string, unknown>;
|
|
40
|
+
processor: string;
|
|
41
|
+
webhook?: Record<string, unknown> | undefined;
|
|
42
|
+
metadata?: Record<string, unknown> | undefined;
|
|
43
|
+
task_spec?: {
|
|
44
|
+
output_schema: Record<string, unknown>;
|
|
45
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
mcp_servers?: Record<string, unknown> | undefined;
|
|
48
|
+
enable_events?: Record<string, unknown> | undefined;
|
|
49
|
+
source_policy?: Record<string, unknown> | undefined;
|
|
50
|
+
previous_interaction_id?: Record<string, unknown> | undefined;
|
|
51
|
+
}[];
|
|
52
|
+
taskgroup_id: string;
|
|
53
|
+
default_task_spec?: {
|
|
54
|
+
output_schema: Record<string, unknown>;
|
|
55
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
58
|
//#endregion
|
|
8
59
|
export { parallelAddRunsToTaskGroup };
|
|
9
60
|
//# sourceMappingURL=add-runs-to-task-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-runs-to-task-group.d.mts","names":[],"sources":["../../src/actions/add-runs-to-task-group.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"add-runs-to-task-group.d.mts","names":[],"sources":["../../src/actions/add-runs-to-task-group.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA4B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -23,9 +23,9 @@ const ParallelAddRunsToTaskGroupInput = z.object({
|
|
|
23
23
|
}).describe("Task specification for defining input and output schemas.").optional()
|
|
24
24
|
}).describe("Request model for adding runs to a task group.");
|
|
25
25
|
const ParallelAddRunsToTaskGroup_TaskGroupStatusSchema = z.object({
|
|
26
|
-
is_active: z.boolean().describe("True if at least one run in the group is currently active (queued, running, cancelling)."),
|
|
26
|
+
is_active: z.boolean().describe("True if at least one run in the group is currently active (queued, running, cancelling).").nullable(),
|
|
27
27
|
modified_at: z.string().describe("Timestamp of the last status update to the group, as an RFC 3339 string.").nullable().optional(),
|
|
28
|
-
num_task_runs: z.number().int().describe("Number of task runs in the group."),
|
|
28
|
+
num_task_runs: z.number().int().describe("Number of task runs in the group.").nullable(),
|
|
29
29
|
status_message: z.string().describe("Human-readable status message for the group.").nullable().optional(),
|
|
30
30
|
task_run_status_counts: z.object({}).describe("Number of task runs with each status.").nullable().optional()
|
|
31
31
|
}).describe("Status information for a task group.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-runs-to-task-group.mjs","names":[],"sources":["../../src/actions/add-runs-to-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddRunsToTaskGroupInput
|
|
1
|
+
{"version":3,"file":"add-runs-to-task-group.mjs","names":[],"sources":["../../src/actions/add-runs-to-task-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelAddRunsToTaskGroupInput = z.object({\n inputs: z.array(z.object({\n input: z.record(z.string(), z.unknown()).describe(\"Input data for the processor. Structure depends on the processor type.\"),\n webhook: z.record(z.string(), z.unknown()).describe(\"Optional webhook configuration for this task run.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata for this task run.\").optional(),\n processor: z.string().describe(\"Processor to use for this task run (e.g., 'web_search', 'data_analysis').\"),\n task_spec: z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the input.\").optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the output.\"),\n}).describe(\"Task specification for defining input and output schemas.\").optional(),\n mcp_servers: z.record(z.string(), z.unknown()).describe(\"Optional MCP server configuration for this task run.\").optional(),\n enable_events: z.record(z.string(), z.unknown()).describe(\"Optional event configuration for this task run.\").optional(),\n source_policy: z.record(z.string(), z.unknown()).describe(\"Optional source policy configuration for this task run.\").optional(),\n previous_interaction_id: z.record(z.string(), z.unknown()).describe(\"Optional previous interaction ID for this task run.\").optional(),\n}).describe(\"Individual task run input within a task group.\")).describe(\"List of task runs to execute. Up to 1,000 runs can be specified per request.\"),\n taskgroup_id: z.string().describe(\"Unique identifier of the task group to add runs to.\"),\n default_task_spec: z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the input.\").optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema describing the structure of the output.\"),\n}).describe(\"Task specification for defining input and output schemas.\").optional(),\n}).describe(\"Request model for adding runs to a task group.\");\nconst ParallelAddRunsToTaskGroup_TaskGroupStatusSchema = z.object({\n is_active: z.boolean().describe(\"True if at least one run in the group is currently active (queued, running, cancelling).\").nullable(),\n modified_at: z.string().describe(\"Timestamp of the last status update to the group, as an RFC 3339 string.\").nullable().optional(),\n num_task_runs: z.number().int().describe(\"Number of task runs in the group.\").nullable(),\n status_message: z.string().describe(\"Human-readable status message for the group.\").nullable().optional(),\n task_run_status_counts: z.object({}).describe(\"Number of task runs with each status.\").nullable().optional(),\n}).describe(\"Status information for a task group.\");\nexport const ParallelAddRunsToTaskGroupOutput = z.object({\n status: ParallelAddRunsToTaskGroup_TaskGroupStatusSchema.nullable(),\n run_ids: z.array(z.string()).describe(\"IDs of the newly created runs.\"),\n run_cursor: z.string().describe(\"Cursor for these runs in the run stream at taskgroup/runs?last_event_id=<run_cursor>. Empty for the first runs in the group.\").nullable().optional(),\n event_cursor: z.string().describe(\"Cursor for these runs in the event stream at taskgroup/events?last_event_id=<event_cursor>. Empty for the first runs in the group.\").nullable().optional(),\n}).describe(\"Response model for adding runs to a task group.\");\n\nexport const parallelAddRunsToTaskGroup = action(\"PARALLEL_ADD_RUNS_TO_TASK_GROUP\", {\n slug: \"parallel-add-runs-to-task-group\",\n name: \"Add Runs to Task Group\",\n description: \"Tool to initiate multiple task runs within a TaskGroup. Use when you need to execute multiple tasks in parallel within an existing task group.\",\n input: ParallelAddRunsToTaskGroupInput,\n output: ParallelAddRunsToTaskGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE;EAC1H,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC1G,WAAW,EAAE,OAAO;GACpB,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;GACxH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD;EACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACzH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAA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AS;EAClE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/cancel-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelCancelFindAllRunInput
|
|
1
|
+
{"version":3,"file":"cancel-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/cancel-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelCancelFindAllRunInput = z.object({\n findall_id: z.string().describe(\"ID of the FindAll run to cancel.\"),\n});\nexport const ParallelCancelFindAllRunOutput = z.object({}).describe(\"Empty response returned on successful cancellation.\\nThe API returns an empty JSON object {} on success (HTTP 200).\");\n\nexport const parallelCancelFindAllRun = action(\"PARALLEL_CANCEL_FIND_ALL_RUN\", {\n slug: \"parallel-cancel-find-all-run\",\n name: \"Cancel FindAll Run\",\n description: \"Tool to cancel an active FindAll run by findall_id. Use when you need to stop a running FindAll operation before it completes. Cannot cancel runs that have already terminated.\",\n input: ParallelCancelFindAllRunInput,\n output: ParallelCancelFindAllRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qHAAqH;AAEzL,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/cancel-find-all-run.d.ts
|
|
4
|
-
declare const ParallelCancelFindAllRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelCancelFindAllRunInput: z.ZodObject<{
|
|
5
|
+
findall_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelCancelFindAllRunOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const parallelCancelFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
findall_id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { parallelCancelFindAllRun };
|
|
9
13
|
//# sourceMappingURL=cancel-find-all-run.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-find-all-run.d.cts","names":[],"sources":["../../src/actions/cancel-find-all-run.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"cancel-find-all-run.d.cts","names":[],"sources":["../../src/actions/cancel-find-all-run.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/cancel-find-all-run.d.ts
|
|
4
|
-
declare const ParallelCancelFindAllRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelCancelFindAllRunInput: z.ZodObject<{
|
|
5
|
+
findall_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelCancelFindAllRunOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const parallelCancelFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
findall_id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { parallelCancelFindAllRun };
|
|
9
13
|
//# sourceMappingURL=cancel-find-all-run.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-find-all-run.d.mts","names":[],"sources":["../../src/actions/cancel-find-all-run.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"cancel-find-all-run.d.mts","names":[],"sources":["../../src/actions/cancel-find-all-run.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|