@keystrokehq/parallel 0.1.2 → 0.1.3
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/add-enrichment-to-find-all-run.cjs +6 -6
- package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.d.cts +8 -7
- package/dist/actions/add-enrichment-to-find-all-run.d.mts +8 -7
- package/dist/actions/add-enrichment-to-find-all-run.mjs +6 -6
- package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.cjs +4 -4
- package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.cts +5 -4
- package/dist/actions/add-runs-to-task-group.d.mts +5 -4
- package/dist/actions/add-runs-to-task-group.mjs +4 -4
- package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
- package/dist/actions/cancel-find-all-run.cjs +1 -1
- package/dist/actions/cancel-find-all-run.cjs.map +1 -1
- package/dist/actions/cancel-find-all-run.d.cts +1 -1
- package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
- package/dist/actions/cancel-find-all-run.d.mts +1 -1
- package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
- package/dist/actions/cancel-find-all-run.mjs +1 -1
- package/dist/actions/cancel-find-all-run.mjs.map +1 -1
- package/dist/actions/create-chat-completions.cjs +7 -7
- package/dist/actions/create-chat-completions.cjs.map +1 -1
- package/dist/actions/create-chat-completions.d.cts +12 -11
- package/dist/actions/create-chat-completions.d.cts.map +1 -1
- package/dist/actions/create-chat-completions.d.mts +12 -11
- package/dist/actions/create-chat-completions.d.mts.map +1 -1
- package/dist/actions/create-chat-completions.mjs +7 -7
- package/dist/actions/create-chat-completions.mjs.map +1 -1
- package/dist/actions/create-monitor.cjs +3 -3
- package/dist/actions/create-monitor.cjs.map +1 -1
- package/dist/actions/create-monitor.d.cts +3 -3
- package/dist/actions/create-monitor.d.mts +3 -3
- package/dist/actions/create-monitor.mjs +3 -3
- package/dist/actions/create-monitor.mjs.map +1 -1
- package/dist/actions/create-task-group.cjs +5 -5
- package/dist/actions/create-task-group.cjs.map +1 -1
- package/dist/actions/create-task-group.d.cts +6 -6
- package/dist/actions/create-task-group.d.mts +6 -6
- package/dist/actions/create-task-group.mjs +5 -5
- package/dist/actions/create-task-group.mjs.map +1 -1
- package/dist/actions/create-task-run.cjs +3 -3
- package/dist/actions/create-task-run.cjs.map +1 -1
- package/dist/actions/create-task-run.d.cts +6 -6
- package/dist/actions/create-task-run.d.mts +6 -6
- package/dist/actions/create-task-run.mjs +3 -3
- package/dist/actions/create-task-run.mjs.map +1 -1
- package/dist/actions/delete-monitor.cjs +3 -3
- package/dist/actions/delete-monitor.cjs.map +1 -1
- package/dist/actions/delete-monitor.d.cts +3 -3
- package/dist/actions/delete-monitor.d.mts +3 -3
- package/dist/actions/delete-monitor.mjs +3 -3
- package/dist/actions/delete-monitor.mjs.map +1 -1
- package/dist/actions/extend-find-all-run.cjs +2 -2
- package/dist/actions/extend-find-all-run.cjs.map +1 -1
- package/dist/actions/extend-find-all-run.d.cts +3 -3
- package/dist/actions/extend-find-all-run.d.mts +3 -3
- package/dist/actions/extend-find-all-run.mjs +2 -2
- 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 +9 -7
- package/dist/actions/extract.d.mts +9 -7
- package/dist/actions/extract.mjs +7 -7
- package/dist/actions/extract.mjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.cjs +11 -11
- package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.cts +16 -16
- package/dist/actions/fetch-task-group-runs.d.mts +16 -16
- package/dist/actions/fetch-task-group-runs.mjs +11 -11
- package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
- package/dist/actions/find-all.cjs +5 -5
- package/dist/actions/find-all.cjs.map +1 -1
- package/dist/actions/find-all.d.cts +10 -8
- package/dist/actions/find-all.d.cts.map +1 -1
- package/dist/actions/find-all.d.mts +10 -8
- package/dist/actions/find-all.d.mts.map +1 -1
- package/dist/actions/find-all.mjs +5 -5
- package/dist/actions/find-all.mjs.map +1 -1
- package/dist/actions/get-find-all-run-result.cjs +7 -7
- package/dist/actions/get-find-all-run-result.cjs.map +1 -1
- package/dist/actions/get-find-all-run-result.d.cts +11 -11
- package/dist/actions/get-find-all-run-result.d.mts +11 -11
- package/dist/actions/get-find-all-run-result.mjs +7 -7
- package/dist/actions/get-find-all-run-result.mjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.cjs +2 -2
- package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.cts +3 -3
- package/dist/actions/get-find-all-run-schema.d.mts +3 -3
- package/dist/actions/get-find-all-run-schema.mjs +2 -2
- package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
- package/dist/actions/ingest-find-all-run.cjs +2 -2
- package/dist/actions/ingest-find-all-run.cjs.map +1 -1
- package/dist/actions/ingest-find-all-run.d.cts +3 -3
- package/dist/actions/ingest-find-all-run.d.mts +3 -3
- package/dist/actions/ingest-find-all-run.mjs +2 -2
- package/dist/actions/ingest-find-all-run.mjs.map +1 -1
- package/dist/actions/list-monitor-events.cjs +5 -5
- package/dist/actions/list-monitor-events.cjs.map +1 -1
- package/dist/actions/list-monitor-events.d.cts +5 -5
- package/dist/actions/list-monitor-events.d.mts +5 -5
- package/dist/actions/list-monitor-events.mjs +5 -5
- 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 +4 -4
- package/dist/actions/list-monitors.d.mts +4 -4
- package/dist/actions/list-monitors.mjs +4 -4
- package/dist/actions/list-monitors.mjs.map +1 -1
- package/dist/actions/retrieve-event-group.cjs +4 -4
- package/dist/actions/retrieve-event-group.cjs.map +1 -1
- package/dist/actions/retrieve-event-group.d.cts +4 -4
- package/dist/actions/retrieve-event-group.d.mts +4 -4
- package/dist/actions/retrieve-event-group.mjs +4 -4
- package/dist/actions/retrieve-event-group.mjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.cjs +3 -3
- package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.cts +5 -5
- package/dist/actions/retrieve-find-all-run-status.d.mts +5 -5
- package/dist/actions/retrieve-find-all-run-status.mjs +3 -3
- package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
- package/dist/actions/retrieve-monitor.cjs +2 -2
- package/dist/actions/retrieve-monitor.cjs.map +1 -1
- package/dist/actions/retrieve-monitor.d.cts +2 -2
- package/dist/actions/retrieve-monitor.d.mts +2 -2
- package/dist/actions/retrieve-monitor.mjs +2 -2
- package/dist/actions/retrieve-monitor.mjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.cjs +2 -2
- package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.cts +4 -4
- package/dist/actions/retrieve-task-group-run.d.mts +4 -4
- package/dist/actions/retrieve-task-group-run.mjs +2 -2
- package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
- package/dist/actions/retrieve-task-group.cjs +1 -1
- package/dist/actions/retrieve-task-group.cjs.map +1 -1
- package/dist/actions/retrieve-task-group.d.cts +1 -1
- package/dist/actions/retrieve-task-group.d.mts +1 -1
- package/dist/actions/retrieve-task-group.mjs +1 -1
- package/dist/actions/retrieve-task-group.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.cjs +4 -4
- package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.cts +4 -4
- package/dist/actions/retrieve-task-run-input.d.mts +4 -4
- package/dist/actions/retrieve-task-run-input.mjs +4 -4
- package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.cjs +2 -2
- package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.cts +2 -2
- package/dist/actions/retrieve-task-run-result.d.mts +2 -2
- package/dist/actions/retrieve-task-run-result.mjs +2 -2
- package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
- package/dist/actions/retrieve-task-run.cjs +3 -3
- package/dist/actions/retrieve-task-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-run.d.cts +5 -5
- package/dist/actions/retrieve-task-run.d.mts +5 -5
- package/dist/actions/retrieve-task-run.mjs +3 -3
- package/dist/actions/retrieve-task-run.mjs.map +1 -1
- package/dist/actions/search.cjs +2 -2
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +2 -2
- package/dist/actions/search.d.mts +2 -2
- package/dist/actions/search.mjs +2 -2
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/simulate-event.cjs +1 -1
- package/dist/actions/simulate-event.cjs.map +1 -1
- package/dist/actions/simulate-event.d.cts +1 -1
- package/dist/actions/simulate-event.d.mts +1 -1
- package/dist/actions/simulate-event.mjs +1 -1
- package/dist/actions/simulate-event.mjs.map +1 -1
- package/dist/actions/stream-find-all-events.cjs +14 -14
- package/dist/actions/stream-find-all-events.cjs.map +1 -1
- package/dist/actions/stream-find-all-events.d.cts +17 -17
- package/dist/actions/stream-find-all-events.d.mts +17 -17
- package/dist/actions/stream-find-all-events.mjs +14 -14
- package/dist/actions/stream-find-all-events.mjs.map +1 -1
- package/dist/actions/stream-task-group-events.cjs +8 -8
- package/dist/actions/stream-task-group-events.cjs.map +1 -1
- package/dist/actions/stream-task-group-events.d.cts +8 -8
- package/dist/actions/stream-task-group-events.d.mts +8 -8
- package/dist/actions/stream-task-group-events.mjs +8 -8
- package/dist/actions/stream-task-group-events.mjs.map +1 -1
- package/dist/actions/stream-task-run-events.cjs +8 -8
- package/dist/actions/stream-task-run-events.cjs.map +1 -1
- package/dist/actions/stream-task-run-events.d.cts +8 -8
- package/dist/actions/stream-task-run-events.d.mts +8 -8
- package/dist/actions/stream-task-run-events.mjs +8 -8
- 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 +1 -1
- package/dist/actions/suggest-task.d.mts +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 +3 -3
- package/dist/actions/update-monitor.cjs.map +1 -1
- package/dist/actions/update-monitor.d.cts +3 -3
- package/dist/actions/update-monitor.d.mts +3 -3
- package/dist/actions/update-monitor.mjs +3 -3
- package/dist/actions/update-monitor.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ const ParallelAddEnrichmentToFindAllRunInput = zod.z.object({
|
|
|
7
7
|
mcp_servers: zod.z.array(zod.z.object({
|
|
8
8
|
url: zod.z.string().describe("URL of the MCP server."),
|
|
9
9
|
name: zod.z.string().describe("Name of the MCP server.")
|
|
10
|
-
}).describe("MCP server configuration for enrichment processing.")).describe("Optional list of MCP servers to use for the enrichment task.").optional(),
|
|
10
|
+
}).passthrough().describe("MCP server configuration for enrichment processing.")).describe("Optional list of MCP servers to use for the enrichment task.").optional(),
|
|
11
11
|
output_schema: zod.z.object({
|
|
12
12
|
type: zod.z.string().default("json").describe("The type of schema being defined. Always 'json'.").optional(),
|
|
13
13
|
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.")
|
|
@@ -16,20 +16,20 @@ const ParallelAddEnrichmentToFindAllRunInput = zod.z.object({
|
|
|
16
16
|
const ParallelAddEnrichmentToFindAllRun_McpServerSchema = zod.z.object({
|
|
17
17
|
url: zod.z.string().describe("URL of the MCP server.").nullable(),
|
|
18
18
|
name: zod.z.string().describe("Name of the MCP server.").nullable()
|
|
19
|
-
}).describe("MCP server configuration for enrichment processing.");
|
|
19
|
+
}).passthrough().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
|
-
}).describe("JSON schema definition for enrichment output.");
|
|
23
|
+
}).passthrough().describe("JSON schema definition for enrichment output.");
|
|
24
24
|
const ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema = zod.z.object({
|
|
25
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
|
-
}).describe("Enrichment configuration for a FindAll run.");
|
|
28
|
+
}).passthrough().describe("Enrichment configuration for a FindAll run.");
|
|
29
29
|
const ParallelAddEnrichmentToFindAllRun_MatchConditionSchema = zod.z.object({
|
|
30
30
|
name: zod.z.string().describe("Name of the match condition.").nullable(),
|
|
31
31
|
description: zod.z.string().describe("Description of the match condition.").nullable()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const ParallelAddEnrichmentToFindAllRunOutput = zod.z.object({
|
|
34
34
|
generator: zod.z.enum([
|
|
35
35
|
"base",
|
|
@@ -42,7 +42,7 @@ const ParallelAddEnrichmentToFindAllRunOutput = zod.z.object({
|
|
|
42
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
|
+
}).passthrough();
|
|
46
46
|
const parallelAddEnrichmentToFindAllRun = require_action.action("PARALLEL_ADD_ENRICHMENT_TO_FIND_ALL_RUN", {
|
|
47
47
|
slug: "parallel-add-enrichment-to-find-all-run",
|
|
48
48
|
name: "Add Enrichment to FindAll Run",
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough();\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}).passthrough();\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"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,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,+CAA+C;AAC5I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const ParallelAddEnrichmentToFindAllRunInput: z.ZodObject<{
|
|
|
7
7
|
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
8
|
url: z.ZodString;
|
|
9
9
|
name: z.ZodString;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>>;
|
|
11
11
|
output_schema: z.ZodObject<{
|
|
12
12
|
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
13
13
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -15,8 +15,8 @@ declare const ParallelAddEnrichmentToFindAllRunInput: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const ParallelAddEnrichmentToFindAllRunOutput: z.ZodObject<{
|
|
17
17
|
generator: z.ZodNullable<z.ZodEnum<{
|
|
18
|
-
base: "base";
|
|
19
18
|
core: "core";
|
|
19
|
+
base: "base";
|
|
20
20
|
pro: "pro";
|
|
21
21
|
preview: "preview";
|
|
22
22
|
}>>;
|
|
@@ -26,19 +26,19 @@ declare const ParallelAddEnrichmentToFindAllRunOutput: z.ZodObject<{
|
|
|
26
26
|
mcp_servers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
27
|
url: z.ZodNullable<z.ZodString>;
|
|
28
28
|
name: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
output_schema: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
32
32
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
entity_type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
match_conditions: z.ZodArray<z.ZodObject<{
|
|
38
38
|
name: z.ZodNullable<z.ZodString>;
|
|
39
39
|
description: z.ZodNullable<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const parallelAddEnrichmentToFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
findall_id: string;
|
|
44
44
|
output_schema: {
|
|
@@ -47,6 +47,7 @@ declare const parallelAddEnrichmentToFindAllRun: import("@keystrokehq/action").W
|
|
|
47
47
|
};
|
|
48
48
|
processor?: string | undefined;
|
|
49
49
|
mcp_servers?: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
url: string;
|
|
51
52
|
name: string;
|
|
52
53
|
}[] | undefined;
|
|
@@ -7,7 +7,7 @@ declare const ParallelAddEnrichmentToFindAllRunInput: z.ZodObject<{
|
|
|
7
7
|
mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
8
|
url: z.ZodString;
|
|
9
9
|
name: z.ZodString;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>>;
|
|
11
11
|
output_schema: z.ZodObject<{
|
|
12
12
|
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
13
13
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -15,8 +15,8 @@ declare const ParallelAddEnrichmentToFindAllRunInput: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const ParallelAddEnrichmentToFindAllRunOutput: z.ZodObject<{
|
|
17
17
|
generator: z.ZodNullable<z.ZodEnum<{
|
|
18
|
-
base: "base";
|
|
19
18
|
core: "core";
|
|
19
|
+
base: "base";
|
|
20
20
|
pro: "pro";
|
|
21
21
|
preview: "preview";
|
|
22
22
|
}>>;
|
|
@@ -26,19 +26,19 @@ declare const ParallelAddEnrichmentToFindAllRunOutput: z.ZodObject<{
|
|
|
26
26
|
mcp_servers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
27
|
url: z.ZodNullable<z.ZodString>;
|
|
28
28
|
name: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
output_schema: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
32
32
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
entity_type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
match_conditions: z.ZodArray<z.ZodObject<{
|
|
38
38
|
name: z.ZodNullable<z.ZodString>;
|
|
39
39
|
description: z.ZodNullable<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const parallelAddEnrichmentToFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
findall_id: string;
|
|
44
44
|
output_schema: {
|
|
@@ -47,6 +47,7 @@ declare const parallelAddEnrichmentToFindAllRun: import("@keystrokehq/action").W
|
|
|
47
47
|
};
|
|
48
48
|
processor?: string | undefined;
|
|
49
49
|
mcp_servers?: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
url: string;
|
|
51
52
|
name: string;
|
|
52
53
|
}[] | undefined;
|
|
@@ -7,7 +7,7 @@ const ParallelAddEnrichmentToFindAllRunInput = z.object({
|
|
|
7
7
|
mcp_servers: z.array(z.object({
|
|
8
8
|
url: z.string().describe("URL of the MCP server."),
|
|
9
9
|
name: z.string().describe("Name of the MCP server.")
|
|
10
|
-
}).describe("MCP server configuration for enrichment processing.")).describe("Optional list of MCP servers to use for the enrichment task.").optional(),
|
|
10
|
+
}).passthrough().describe("MCP server configuration for enrichment processing.")).describe("Optional list of MCP servers to use for the enrichment task.").optional(),
|
|
11
11
|
output_schema: z.object({
|
|
12
12
|
type: z.string().default("json").describe("The type of schema being defined. Always 'json'.").optional(),
|
|
13
13
|
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.")
|
|
@@ -16,20 +16,20 @@ const ParallelAddEnrichmentToFindAllRunInput = z.object({
|
|
|
16
16
|
const ParallelAddEnrichmentToFindAllRun_McpServerSchema = z.object({
|
|
17
17
|
url: z.string().describe("URL of the MCP server.").nullable(),
|
|
18
18
|
name: z.string().describe("Name of the MCP server.").nullable()
|
|
19
|
-
}).describe("MCP server configuration for enrichment processing.");
|
|
19
|
+
}).passthrough().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
|
-
}).describe("JSON schema definition for enrichment output.");
|
|
23
|
+
}).passthrough().describe("JSON schema definition for enrichment output.");
|
|
24
24
|
const ParallelAddEnrichmentToFindAllRun_EnrichmentInputSchema = z.object({
|
|
25
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
|
-
}).describe("Enrichment configuration for a FindAll run.");
|
|
28
|
+
}).passthrough().describe("Enrichment configuration for a FindAll run.");
|
|
29
29
|
const ParallelAddEnrichmentToFindAllRun_MatchConditionSchema = z.object({
|
|
30
30
|
name: z.string().describe("Name of the match condition.").nullable(),
|
|
31
31
|
description: z.string().describe("Description of the match condition.").nullable()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const parallelAddEnrichmentToFindAllRun = action("PARALLEL_ADD_ENRICHMENT_TO_FIND_ALL_RUN", {
|
|
34
34
|
slug: "parallel-add-enrichment-to-find-all-run",
|
|
35
35
|
name: "Add Enrichment to FindAll Run",
|
|
@@ -47,7 +47,7 @@ const parallelAddEnrichmentToFindAllRun = action("PARALLEL_ADD_ENRICHMENT_TO_FIN
|
|
|
47
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
|
+
}).passthrough()
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { parallelAddEnrichmentToFindAllRun };
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough();\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}).passthrough();\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,YAAY,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAClK,eAAe,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,E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AAE,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const ParallelAddRunsToTaskGroupInput = zod.z.object({
|
|
|
15
15
|
enable_events: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional event configuration for this task run.").optional(),
|
|
16
16
|
source_policy: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional source policy configuration for this task run.").optional(),
|
|
17
17
|
previous_interaction_id: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional previous interaction ID for this task run.").optional()
|
|
18
|
-
}).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."),
|
|
18
|
+
}).passthrough().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."),
|
|
19
19
|
taskgroup_id: zod.z.string().describe("Unique identifier of the task group to add runs to."),
|
|
20
20
|
default_task_spec: zod.z.object({
|
|
21
21
|
input_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON schema describing the structure of the input.").optional(),
|
|
@@ -27,14 +27,14 @@ const ParallelAddRunsToTaskGroup_TaskGroupStatusSchema = zod.z.object({
|
|
|
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
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
|
-
task_run_status_counts: zod.z.
|
|
31
|
-
}).describe("Status information for a task group.");
|
|
30
|
+
task_run_status_counts: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Number of task runs with each status.").nullable().optional()
|
|
31
|
+
}).passthrough().describe("Status information for a task group.");
|
|
32
32
|
const ParallelAddRunsToTaskGroupOutput = zod.z.object({
|
|
33
33
|
status: ParallelAddRunsToTaskGroup_TaskGroupStatusSchema.nullable(),
|
|
34
34
|
run_ids: zod.z.array(zod.z.string()).describe("IDs of the newly created runs."),
|
|
35
35
|
run_cursor: zod.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(),
|
|
36
36
|
event_cursor: zod.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()
|
|
37
|
-
}).describe("Response model for adding runs to a task group.");
|
|
37
|
+
}).passthrough().describe("Response model for adding runs to a task group.");
|
|
38
38
|
const parallelAddRunsToTaskGroup = require_action.action("PARALLEL_ADD_RUNS_TO_TASK_GROUP", {
|
|
39
39
|
slug: "parallel-add-runs-to-task-group",
|
|
40
40
|
name: "Add Runs to 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 = 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.
|
|
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}).passthrough().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.record(z.string(), z.unknown()).describe(\"Number of task runs with each status.\").nullable().optional(),\n}).passthrough().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}).passthrough().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,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EAC1G,WAAWA,IAAAA,EAAE,OA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P,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const ParallelAddRunsToTaskGroupInput: z.ZodObject<{
|
|
|
15
15
|
enable_events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
16
|
source_policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
17
|
previous_interaction_id: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
taskgroup_id: z.ZodString;
|
|
20
20
|
default_task_spec: z.ZodOptional<z.ZodObject<{
|
|
21
21
|
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -28,14 +28,15 @@ declare const ParallelAddRunsToTaskGroupOutput: z.ZodObject<{
|
|
|
28
28
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
num_task_runs: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
task_run_status_counts: z.ZodOptional<z.ZodNullable<z.
|
|
32
|
-
}, z.core.$
|
|
31
|
+
task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
run_ids: z.ZodArray<z.ZodString>;
|
|
34
34
|
run_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
event_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const parallelAddRunsToTaskGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
inputs: {
|
|
39
|
+
[x: string]: unknown;
|
|
39
40
|
input: Record<string, unknown>;
|
|
40
41
|
processor: string;
|
|
41
42
|
webhook?: Record<string, unknown> | undefined;
|
|
@@ -15,7 +15,7 @@ declare const ParallelAddRunsToTaskGroupInput: z.ZodObject<{
|
|
|
15
15
|
enable_events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
16
|
source_policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
17
|
previous_interaction_id: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
19
|
taskgroup_id: z.ZodString;
|
|
20
20
|
default_task_spec: z.ZodOptional<z.ZodObject<{
|
|
21
21
|
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -28,14 +28,15 @@ declare const ParallelAddRunsToTaskGroupOutput: z.ZodObject<{
|
|
|
28
28
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
num_task_runs: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
task_run_status_counts: z.ZodOptional<z.ZodNullable<z.
|
|
32
|
-
}, z.core.$
|
|
31
|
+
task_run_status_counts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
run_ids: z.ZodArray<z.ZodString>;
|
|
34
34
|
run_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
event_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const parallelAddRunsToTaskGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
inputs: {
|
|
39
|
+
[x: string]: unknown;
|
|
39
40
|
input: Record<string, unknown>;
|
|
40
41
|
processor: string;
|
|
41
42
|
webhook?: Record<string, unknown> | undefined;
|
|
@@ -15,7 +15,7 @@ const ParallelAddRunsToTaskGroupInput = z.object({
|
|
|
15
15
|
enable_events: z.record(z.string(), z.unknown()).describe("Optional event configuration for this task run.").optional(),
|
|
16
16
|
source_policy: z.record(z.string(), z.unknown()).describe("Optional source policy configuration for this task run.").optional(),
|
|
17
17
|
previous_interaction_id: z.record(z.string(), z.unknown()).describe("Optional previous interaction ID for this task run.").optional()
|
|
18
|
-
}).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."),
|
|
18
|
+
}).passthrough().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."),
|
|
19
19
|
taskgroup_id: z.string().describe("Unique identifier of the task group to add runs to."),
|
|
20
20
|
default_task_spec: z.object({
|
|
21
21
|
input_schema: z.record(z.string(), z.unknown()).describe("JSON schema describing the structure of the input.").optional(),
|
|
@@ -27,8 +27,8 @@ const ParallelAddRunsToTaskGroup_TaskGroupStatusSchema = z.object({
|
|
|
27
27
|
modified_at: z.string().describe("Timestamp of the last status update to the group, as an RFC 3339 string.").nullable().optional(),
|
|
28
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
|
-
task_run_status_counts: z.
|
|
31
|
-
}).describe("Status information for a task group.");
|
|
30
|
+
task_run_status_counts: z.record(z.string(), z.unknown()).describe("Number of task runs with each status.").nullable().optional()
|
|
31
|
+
}).passthrough().describe("Status information for a task group.");
|
|
32
32
|
const parallelAddRunsToTaskGroup = action("PARALLEL_ADD_RUNS_TO_TASK_GROUP", {
|
|
33
33
|
slug: "parallel-add-runs-to-task-group",
|
|
34
34
|
name: "Add Runs to Task Group",
|
|
@@ -39,7 +39,7 @@ const parallelAddRunsToTaskGroup = action("PARALLEL_ADD_RUNS_TO_TASK_GROUP", {
|
|
|
39
39
|
run_ids: z.array(z.string()).describe("IDs of the newly created runs."),
|
|
40
40
|
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(),
|
|
41
41
|
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()
|
|
42
|
-
}).describe("Response model for adding runs to a task group.")
|
|
42
|
+
}).passthrough().describe("Response model for adding runs to a task group.")
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { parallelAddRunsToTaskGroup };
|
|
@@ -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 = 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.
|
|
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}).passthrough().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.record(z.string(), z.unknown()).describe(\"Number of task runs with each status.\").nullable().optional(),\n}).passthrough().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}).passthrough().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 exist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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/cancel-find-all-run.ts
|
|
4
4
|
const ParallelCancelFindAllRunInput = zod.z.object({ findall_id: zod.z.string().describe("ID of the FindAll run to cancel.") });
|
|
5
|
-
const ParallelCancelFindAllRunOutput = zod.z.
|
|
5
|
+
const ParallelCancelFindAllRunOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response returned on successful cancellation.\nThe API returns an empty JSON object {} on success (HTTP 200).");
|
|
6
6
|
const parallelCancelFindAllRun = require_action.action("PARALLEL_CANCEL_FIND_ALL_RUN", {
|
|
7
7
|
slug: "parallel-cancel-find-all-run",
|
|
8
8
|
name: "Cancel FindAll Run",
|
|
@@ -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 = z.object({\n findall_id: z.string().describe(\"ID of the FindAll run to cancel.\"),\n});\nexport const ParallelCancelFindAllRunOutput = z.
|
|
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.record(z.string(), z.unknown()).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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH;AAE9M,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ParallelCancelFindAllRunInput: z.ZodObject<{
|
|
5
5
|
findall_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const ParallelCancelFindAllRunOutput: z.
|
|
7
|
+
declare const ParallelCancelFindAllRunOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const parallelCancelFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
findall_id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const ParallelCancelFindAllRunInput: z.ZodObject<{
|
|
5
5
|
findall_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const ParallelCancelFindAllRunOutput: z.
|
|
7
|
+
declare const ParallelCancelFindAllRunOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const parallelCancelFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
findall_id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const parallelCancelFindAllRun = action("PARALLEL_CANCEL_FIND_ALL_RUN", {
|
|
|
5
5
|
name: "Cancel FindAll Run",
|
|
6
6
|
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.",
|
|
7
7
|
input: z.object({ findall_id: z.string().describe("ID of the FindAll run to cancel.") }),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response returned on successful cancellation.\nThe API returns an empty JSON object {} on success (HTTP 200).")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { parallelCancelFindAllRun };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-find-all-run.mjs","names":[],"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.
|
|
1
|
+
{"version":3,"file":"cancel-find-all-run.mjs","names":[],"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.record(z.string(), z.unknown()).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":";;AASA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAOS;CACP,QAP4C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAO/E;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const ParallelCreateChatCompletionsInput = zod.z.object({
|
|
|
15
15
|
"tool"
|
|
16
16
|
]).describe("The role of the message sender (system, user, assistant, or tool)."),
|
|
17
17
|
content: zod.z.string().describe("The content of the message.")
|
|
18
|
-
}).describe("A single message in a chat conversation.")).describe("The messages to use for chat completions. Must contain at least one message."),
|
|
18
|
+
}).passthrough().describe("A single message in a chat conversation.")).describe("The messages to use for chat completions. Must contain at least one message."),
|
|
19
19
|
max_tokens: zod.z.number().int().describe("The maximum number of tokens to generate. Note: This parameter is currently unsupported by the API.").optional(),
|
|
20
20
|
temperature: zod.z.number().describe("The temperature to use for chat completions. Note: This parameter is currently unsupported by the API.").optional(),
|
|
21
21
|
response_format: zod.z.object({
|
|
@@ -34,18 +34,18 @@ const ParallelCreateChatCompletions_FieldBasisSchema = zod.z.object({
|
|
|
34
34
|
citations: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of citations supporting this field.").nullable().optional(),
|
|
35
35
|
reasoning: zod.z.string().describe("Reasoning explaining how the field value was derived.").nullable(),
|
|
36
36
|
confidence: zod.z.union([zod.z.string(), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional()
|
|
37
|
-
}).describe("Citations and reasoning supporting one field of a task output.");
|
|
37
|
+
}).passthrough().describe("Citations and reasoning supporting one field of a task output.");
|
|
38
38
|
const ParallelCreateChatCompletions_CompletionUsageSchema = zod.z.object({
|
|
39
39
|
total_tokens: zod.z.number().int().describe("Total tokens used (prompt + completion).").nullable(),
|
|
40
40
|
prompt_tokens: zod.z.number().int().describe("Number of tokens in the prompt messages.").nullable(),
|
|
41
41
|
completion_tokens: zod.z.number().int().describe("Number of tokens in the generated completion.").nullable(),
|
|
42
42
|
prompt_tokens_details: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed breakdown of prompt tokens.").nullable().optional(),
|
|
43
43
|
completion_tokens_details: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed breakdown of completion tokens.").nullable().optional()
|
|
44
|
-
}).describe("Token usage information for the completion.");
|
|
44
|
+
}).passthrough().describe("Token usage information for the completion.");
|
|
45
45
|
const ParallelCreateChatCompletions_ChoiceDeltaSchema = zod.z.object({
|
|
46
46
|
role: zod.z.string().describe("Role of the message sender.").nullable().optional(),
|
|
47
47
|
content: zod.z.string().describe("Content of the message delta.").nullable().optional()
|
|
48
|
-
}).describe("Delta content in a streaming chat completion choice.");
|
|
48
|
+
}).passthrough().describe("Delta content in a streaming chat completion choice.");
|
|
49
49
|
const ParallelCreateChatCompletions_MessageContentSchema = zod.z.object({
|
|
50
50
|
role: zod.z.string().describe("Role of the message sender.").nullable().optional(),
|
|
51
51
|
audio: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Audio content if applicable.").nullable().optional(),
|
|
@@ -54,14 +54,14 @@ const ParallelCreateChatCompletions_MessageContentSchema = zod.z.object({
|
|
|
54
54
|
tool_calls: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Tool calls if applicable.").nullable().optional(),
|
|
55
55
|
annotations: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Annotations for the message.").nullable().optional(),
|
|
56
56
|
function_call: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Function call details if applicable.").nullable().optional()
|
|
57
|
-
}).describe("Content of a message in a chat completion choice.");
|
|
57
|
+
}).passthrough().describe("Content of a message in a chat completion choice.");
|
|
58
58
|
const ParallelCreateChatCompletions_ChoiceSchema = zod.z.object({
|
|
59
59
|
delta: ParallelCreateChatCompletions_ChoiceDeltaSchema.nullable().optional(),
|
|
60
60
|
index: zod.z.number().int().describe("Index of this choice in the choices array.").nullable(),
|
|
61
61
|
message: ParallelCreateChatCompletions_MessageContentSchema.nullable().optional(),
|
|
62
62
|
logprobs: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Log probabilities for the generated tokens, if requested.").nullable().optional(),
|
|
63
63
|
finish_reason: zod.z.string().describe("The reason the completion finished (e.g., 'stop', 'length', 'content_filter').").nullable().optional()
|
|
64
|
-
}).describe("A single choice in the chat completion response.");
|
|
64
|
+
}).passthrough().describe("A single choice in the chat completion response.");
|
|
65
65
|
const ParallelCreateChatCompletionsOutput = zod.z.object({
|
|
66
66
|
id: zod.z.string().describe("The unique identifier for this completion.").nullable(),
|
|
67
67
|
basis: zod.z.array(ParallelCreateChatCompletions_FieldBasisSchema).describe("Basis for the chat completion, including citations and reasoning supporting the output. Provided when using Task API processors.").nullable().optional(),
|
|
@@ -72,7 +72,7 @@ const ParallelCreateChatCompletionsOutput = zod.z.object({
|
|
|
72
72
|
created: zod.z.number().int().describe("Unix timestamp (in seconds) of when the completion was created.").nullable(),
|
|
73
73
|
service_tier: zod.z.string().describe("The service tier used for processing the request.").nullable().optional(),
|
|
74
74
|
system_fingerprint: zod.z.string().describe("Unique identifier for the backend configuration that produced this response.").nullable().optional()
|
|
75
|
-
}).describe("Response model for chat completions endpoint.");
|
|
75
|
+
}).passthrough().describe("Response model for chat completions endpoint.");
|
|
76
76
|
const parallelCreateChatCompletions = require_action.action("PARALLEL_CREATE_CHAT_COMPLETIONS", {
|
|
77
77
|
slug: "parallel-create-chat-completions",
|
|
78
78
|
name: "Create Chat Completions",
|