@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
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-task-run-input.d.ts
|
|
4
|
-
declare const ParallelRetrieveTaskRunInputInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelRetrieveTaskRunInputInput: z.ZodObject<{
|
|
5
|
+
run_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelRetrieveTaskRunInputOutput: z.ZodObject<{
|
|
8
|
+
input: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
9
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
10
|
+
processor: z.ZodNullable<z.ZodString>;
|
|
11
|
+
task_spec: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
output_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
+
}, z.core.$strip>>>;
|
|
15
|
+
source_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
after_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
exclude_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
18
|
+
include_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
previous_interaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const parallelRetrieveTaskRunInput: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
run_id: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { parallelRetrieveTaskRunInput };
|
|
9
27
|
//# sourceMappingURL=retrieve-task-run-input.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run-input.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run-input.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-task-run-input.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run-input.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAYjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cASlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -19,7 +19,7 @@ const parallelRetrieveTaskRunInput = action("PARALLEL_RETRIEVE_TASK_RUN_INPUT",
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
input: z.union([z.string(), z.record(z.string(), z.unknown())]),
|
|
21
21
|
metadata: z.object({}).describe("User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.").nullable().optional(),
|
|
22
|
-
processor: z.string().describe("Processor to use for the task."),
|
|
22
|
+
processor: z.string().describe("Processor to use for the task.").nullable(),
|
|
23
23
|
task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),
|
|
24
24
|
source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),
|
|
25
25
|
previous_interaction_id: z.string().describe("Interaction ID to use as context for this request.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run-input.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-input.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInputInput
|
|
1
|
+
{"version":3,"file":"retrieve-task-run-input.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-input.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInputInput = z.object({\n run_id: z.string().describe(\"Unique identifier of the task run to retrieve input for.\"),\n}).describe(\"Request model for retrieving task run input.\");\nconst ParallelRetrieveTaskRunInput_TaskSpecSchema = z.object({\n input_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task input\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema for task output\"),\n}).describe(\"Task specification with input and output schemas.\");\nconst ParallelRetrieveTaskRunInput_SourcePolicySchema = z.object({\n after_date: z.string().describe(\"Filter results after this date\").nullable().optional(),\n exclude_domains: z.array(z.unknown()).describe(\"Domains to exclude from web search results\").nullable().optional(),\n include_domains: z.array(z.unknown()).describe(\"Domains to include in web search results\").nullable().optional(),\n}).describe(\"Optional source policy governing preferred and disallowed domains in web search results.\");\nexport const ParallelRetrieveTaskRunInputOutput = z.object({\n input: z.union([z.string(), z.record(z.string(), z.unknown())]),\n metadata: z.object({}).describe(\"User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.\").nullable().optional(),\n processor: z.string().describe(\"Processor to use for the task.\").nullable(),\n task_spec: ParallelRetrieveTaskRunInput_TaskSpecSchema.nullable().optional(),\n source_policy: ParallelRetrieveTaskRunInput_SourcePolicySchema.nullable().optional(),\n previous_interaction_id: z.string().describe(\"Interaction ID to use as context for this request.\").nullable().optional(),\n}).describe(\"Response model for task run input retrieval.\");\n\nexport const parallelRetrieveTaskRunInput = action(\"PARALLEL_RETRIEVE_TASK_RUN_INPUT\", {\n slug: \"parallel-retrieve-task-run-input\",\n name: \"Retrieve Task Run Input\",\n description: \"Tool to retrieve the input data of a specific task run by run_id. Use when you need to view the original input parameters that were provided to a task run.\",\n input: ParallelRetrieveTaskRunInputInput,\n output: ParallelRetrieveTaskRunInputOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0FAA0F;AAUtG,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,4CAA4C,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,gDAAgD,SAAS,CAAC,CAAC,SAAS;EACnF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -7,20 +7,20 @@ const ParallelRetrieveTaskRunResultInput = zod.z.object({
|
|
|
7
7
|
parallel_beta: zod.z.string().describe("Optional beta version header for accessing beta features.").optional()
|
|
8
8
|
}).describe("Request model for retrieving a task run result.");
|
|
9
9
|
const ParallelRetrieveTaskRunResult_TaskRunSchema = zod.z.object({
|
|
10
|
-
run_id: zod.z.string().describe("Unique identifier for the task run"),
|
|
10
|
+
run_id: zod.z.string().describe("Unique identifier for the task run").nullable(),
|
|
11
11
|
status: zod.z.enum([
|
|
12
12
|
"queued",
|
|
13
13
|
"running",
|
|
14
14
|
"completed",
|
|
15
15
|
"failed",
|
|
16
16
|
"cancelled"
|
|
17
|
-
]).describe("Current status of the task run"),
|
|
17
|
+
]).describe("Current status of the task run").nullable(),
|
|
18
18
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the run").nullable().optional(),
|
|
19
|
-
is_active: zod.z.boolean().describe("Whether the run is actively processing"),
|
|
20
|
-
processor: zod.z.string().describe("Processor type used for the run (e.g., 'core', 'pro')"),
|
|
21
|
-
created_at: zod.z.string().describe("RFC 3339 timestamp of creation"),
|
|
22
|
-
modified_at: zod.z.string().describe("RFC 3339 timestamp of last modification"),
|
|
23
|
-
interaction_id: zod.z.string().describe("Associated interaction ID")
|
|
19
|
+
is_active: zod.z.boolean().describe("Whether the run is actively processing").nullable(),
|
|
20
|
+
processor: zod.z.string().describe("Processor type used for the run (e.g., 'core', 'pro')").nullable(),
|
|
21
|
+
created_at: zod.z.string().describe("RFC 3339 timestamp of creation").nullable(),
|
|
22
|
+
modified_at: zod.z.string().describe("RFC 3339 timestamp of last modification").nullable(),
|
|
23
|
+
interaction_id: zod.z.string().describe("Associated interaction ID").nullable()
|
|
24
24
|
}).describe("Task run metadata object.");
|
|
25
25
|
const ParallelRetrieveTaskRunResultOutput = zod.z.object({
|
|
26
26
|
run: ParallelRetrieveTaskRunResult_TaskRunSchema.nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run-result.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunResultInput
|
|
1
|
+
{"version":3,"file":"retrieve-task-run-result.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunResultInput = z.object({\n run_id: z.string().describe(\"The identifier of the task run to retrieve results for.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for blocking request. If not provided, defaults to 600 seconds (10 minutes). The request will block until the run completes or the timeout is reached.\").optional(),\n parallel_beta: z.string().describe(\"Optional beta version header for accessing beta features.\").optional(),\n}).describe(\"Request model for retrieving a task run result.\");\nconst ParallelRetrieveTaskRunResult_TaskRunSchema = z.object({\n run_id: z.string().describe(\"Unique identifier for the task run\").nullable(),\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the task run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor type used for the run (e.g., 'core', 'pro')\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n interaction_id: z.string().describe(\"Associated interaction ID\").nullable(),\n}).describe(\"Task run metadata object.\");\nexport const ParallelRetrieveTaskRunResultOutput = z.object({\n run: ParallelRetrieveTaskRunResult_TaskRunSchema.nullable(),\n output: z.unknown().describe(\"The output result from the task run. Structure varies by task type and can be a dict, string, list, or other types.\").nullable().optional(),\n}).describe(\"Response model for task run results.\");\n\nexport const parallelRetrieveTaskRunResult = action(\"PARALLEL_RETRIEVE_TASK_RUN_RESULT\", {\n slug: \"parallel-retrieve-task-run-result\",\n name: \"Retrieve Task Run Result\",\n description: \"Tool to retrieve the result of a task run by run_id, blocking until the run completes. Use when you need to wait for and fetch the final output of a previously initiated task run. The request will block until the run completes or the timeout is reached.\",\n input: ParallelRetrieveTaskRunResultInput,\n output: ParallelRetrieveTaskRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzN,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAK,4CAA4C,SAAS;CAC1D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-task-run-result.d.ts
|
|
4
|
-
declare const ParallelRetrieveTaskRunResultInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelRetrieveTaskRunResultInput: z.ZodObject<{
|
|
5
|
+
run_id: z.ZodString;
|
|
6
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
parallel_beta: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ParallelRetrieveTaskRunResultOutput: z.ZodObject<{
|
|
10
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
run_id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
13
|
+
queued: "queued";
|
|
14
|
+
running: "running";
|
|
15
|
+
completed: "completed";
|
|
16
|
+
failed: "failed";
|
|
17
|
+
cancelled: "cancelled";
|
|
18
|
+
}>>;
|
|
19
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
+
processor: z.ZodNullable<z.ZodString>;
|
|
22
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
23
|
+
modified_at: z.ZodNullable<z.ZodString>;
|
|
24
|
+
interaction_id: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const parallelRetrieveTaskRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
run_id: string;
|
|
30
|
+
timeout?: number | undefined;
|
|
31
|
+
parallel_beta?: string | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { parallelRetrieveTaskRunResult };
|
|
9
35
|
//# sourceMappingURL=retrieve-task-run-result.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run-result.d.cts","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-task-run-result.d.cts","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-task-run-result.d.ts
|
|
4
|
-
declare const ParallelRetrieveTaskRunResultInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelRetrieveTaskRunResultInput: z.ZodObject<{
|
|
5
|
+
run_id: z.ZodString;
|
|
6
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
parallel_beta: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ParallelRetrieveTaskRunResultOutput: z.ZodObject<{
|
|
10
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
run_id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
13
|
+
queued: "queued";
|
|
14
|
+
running: "running";
|
|
15
|
+
completed: "completed";
|
|
16
|
+
failed: "failed";
|
|
17
|
+
cancelled: "cancelled";
|
|
18
|
+
}>>;
|
|
19
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
+
processor: z.ZodNullable<z.ZodString>;
|
|
22
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
23
|
+
modified_at: z.ZodNullable<z.ZodString>;
|
|
24
|
+
interaction_id: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const parallelRetrieveTaskRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
run_id: string;
|
|
30
|
+
timeout?: number | undefined;
|
|
31
|
+
parallel_beta?: string | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { parallelRetrieveTaskRunResult };
|
|
9
35
|
//# sourceMappingURL=retrieve-task-run-result.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run-result.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-task-run-result.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -7,20 +7,20 @@ const ParallelRetrieveTaskRunResultInput = z.object({
|
|
|
7
7
|
parallel_beta: z.string().describe("Optional beta version header for accessing beta features.").optional()
|
|
8
8
|
}).describe("Request model for retrieving a task run result.");
|
|
9
9
|
const ParallelRetrieveTaskRunResult_TaskRunSchema = z.object({
|
|
10
|
-
run_id: z.string().describe("Unique identifier for the task run"),
|
|
10
|
+
run_id: z.string().describe("Unique identifier for the task run").nullable(),
|
|
11
11
|
status: z.enum([
|
|
12
12
|
"queued",
|
|
13
13
|
"running",
|
|
14
14
|
"completed",
|
|
15
15
|
"failed",
|
|
16
16
|
"cancelled"
|
|
17
|
-
]).describe("Current status of the task run"),
|
|
17
|
+
]).describe("Current status of the task run").nullable(),
|
|
18
18
|
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata for the run").nullable().optional(),
|
|
19
|
-
is_active: z.boolean().describe("Whether the run is actively processing"),
|
|
20
|
-
processor: z.string().describe("Processor type used for the run (e.g., 'core', 'pro')"),
|
|
21
|
-
created_at: z.string().describe("RFC 3339 timestamp of creation"),
|
|
22
|
-
modified_at: z.string().describe("RFC 3339 timestamp of last modification"),
|
|
23
|
-
interaction_id: z.string().describe("Associated interaction ID")
|
|
19
|
+
is_active: z.boolean().describe("Whether the run is actively processing").nullable(),
|
|
20
|
+
processor: z.string().describe("Processor type used for the run (e.g., 'core', 'pro')").nullable(),
|
|
21
|
+
created_at: z.string().describe("RFC 3339 timestamp of creation").nullable(),
|
|
22
|
+
modified_at: z.string().describe("RFC 3339 timestamp of last modification").nullable(),
|
|
23
|
+
interaction_id: z.string().describe("Associated interaction ID").nullable()
|
|
24
24
|
}).describe("Task run metadata object.");
|
|
25
25
|
const parallelRetrieveTaskRunResult = action("PARALLEL_RETRIEVE_TASK_RUN_RESULT", {
|
|
26
26
|
slug: "parallel-retrieve-task-run-result",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run-result.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunResultInput
|
|
1
|
+
{"version":3,"file":"retrieve-task-run-result.mjs","names":[],"sources":["../../src/actions/retrieve-task-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunResultInput = z.object({\n run_id: z.string().describe(\"The identifier of the task run to retrieve results for.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for blocking request. If not provided, defaults to 600 seconds (10 minutes). The request will block until the run completes or the timeout is reached.\").optional(),\n parallel_beta: z.string().describe(\"Optional beta version header for accessing beta features.\").optional(),\n}).describe(\"Request model for retrieving a task run result.\");\nconst ParallelRetrieveTaskRunResult_TaskRunSchema = z.object({\n run_id: z.string().describe(\"Unique identifier for the task run\").nullable(),\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the task run\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor type used for the run (e.g., 'core', 'pro')\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n interaction_id: z.string().describe(\"Associated interaction ID\").nullable(),\n}).describe(\"Task run metadata object.\");\nexport const ParallelRetrieveTaskRunResultOutput = z.object({\n run: ParallelRetrieveTaskRunResult_TaskRunSchema.nullable(),\n output: z.unknown().describe(\"The output result from the task run. Structure varies by task type and can be a dict, string, list, or other types.\").nullable().optional(),\n}).describe(\"Response model for task run results.\");\n\nexport const parallelRetrieveTaskRunResult = action(\"PARALLEL_RETRIEVE_TASK_RUN_RESULT\", {\n slug: \"parallel-retrieve-task-run-result\",\n name: \"Retrieve Task Run Result\",\n description: \"Tool to retrieve the result of a task run by run_id, blocking until the run completes. Use when you need to wait for and fetch the final output of a previously initiated task run. The request will block until the run completes or the timeout is reached.\",\n input: ParallelRetrieveTaskRunResultInput,\n output: ParallelRetrieveTaskRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAW;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAMvC,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,KAAK,4CAA4C,SAAS;EAC1D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -4,8 +4,8 @@ let zod = require("zod");
|
|
|
4
4
|
const ParallelRetrieveTaskRunInput = zod.z.object({ run_id: zod.z.string().describe("ID of the task run to retrieve.") }).describe("Request model for retrieving a task run.");
|
|
5
5
|
const ParallelRetrieveTaskRun_ErrorDetailSchema = zod.z.object({
|
|
6
6
|
detail: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional context about the error").nullable().optional(),
|
|
7
|
-
ref_id: zod.z.string().describe("Reference ID for the error"),
|
|
8
|
-
message: zod.z.string().describe("Human-readable error message")
|
|
7
|
+
ref_id: zod.z.string().describe("Reference ID for the error").nullable(),
|
|
8
|
+
message: zod.z.string().describe("Human-readable error message").nullable()
|
|
9
9
|
}).describe("Error details for a failed task run.");
|
|
10
10
|
const ParallelRetrieveTaskRun_TaskRunStatusSchema = zod.z.enum([
|
|
11
11
|
"queued",
|
|
@@ -18,21 +18,21 @@ const ParallelRetrieveTaskRun_TaskRunStatusSchema = zod.z.enum([
|
|
|
18
18
|
]).describe("Status values for a task run.");
|
|
19
19
|
const ParallelRetrieveTaskRun_WarningSchema = zod.z.object({
|
|
20
20
|
detail: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional details about the warning").nullable().optional(),
|
|
21
|
-
ref_id: zod.z.string().describe("Reference ID for the warning"),
|
|
22
|
-
message: zod.z.string().describe("Human-readable warning message")
|
|
21
|
+
ref_id: zod.z.string().describe("Reference ID for the warning").nullable(),
|
|
22
|
+
message: zod.z.string().describe("Human-readable warning message").nullable()
|
|
23
23
|
}).describe("Warning details for a task run.");
|
|
24
24
|
const ParallelRetrieveTaskRunOutput = zod.z.object({
|
|
25
25
|
error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),
|
|
26
|
-
run_id: zod.z.string().describe("ID of the task run"),
|
|
26
|
+
run_id: zod.z.string().describe("ID of the task run").nullable(),
|
|
27
27
|
status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),
|
|
28
28
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User-provided metadata stored with the run").nullable().optional(),
|
|
29
29
|
warnings: zod.z.array(ParallelRetrieveTaskRun_WarningSchema).describe("Non-critical issues encountered during task execution").nullable().optional(),
|
|
30
|
-
is_active: zod.z.boolean().describe("Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}."),
|
|
31
|
-
processor: zod.z.string().describe("Processor used for the run"),
|
|
30
|
+
is_active: zod.z.boolean().describe("Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.").nullable(),
|
|
31
|
+
processor: zod.z.string().describe("Processor used for the run").nullable(),
|
|
32
32
|
created_at: zod.z.string().describe("Timestamp of the creation of the task, as an RFC 3339 string").nullable().optional(),
|
|
33
33
|
modified_at: zod.z.string().describe("Timestamp of the last modification to the task, as an RFC 3339 string").nullable().optional(),
|
|
34
34
|
taskgroup_id: zod.z.string().describe("ID of the taskgroup to which the run belongs").nullable().optional(),
|
|
35
|
-
interaction_id: zod.z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.")
|
|
35
|
+
interaction_id: zod.z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.").nullable()
|
|
36
36
|
}).describe("Response model for retrieving a task run.");
|
|
37
37
|
const parallelRetrieveTaskRun = require_action.action("PARALLEL_RETRIEVE_TASK_RUN", {
|
|
38
38
|
slug: "parallel-retrieve-task-run",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInput
|
|
1
|
+
{"version":3,"file":"retrieve-task-run.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInput = z.object({\n run_id: z.string().describe(\"ID of the task run to retrieve.\"),\n}).describe(\"Request model for retrieving a task run.\");\nconst ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional context about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).describe(\"Error details for a failed task run.\");\nconst ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status values for a task run.\");\nconst ParallelRetrieveTaskRun_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).describe(\"Warning details for a task run.\");\nexport const ParallelRetrieveTaskRunOutput = z.object({\n error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe(\"Non-critical issues encountered during task execution\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.\").nullable(),\n processor: z.string().describe(\"Processor used for the run\").nullable(),\n created_at: z.string().describe(\"Timestamp of the creation of the task, as an RFC 3339 string\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp of the last modification to the task, as an RFC 3339 string\").nullable().optional(),\n taskgroup_id: z.string().describe(\"ID of the taskgroup to which the run belongs\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.\").nullable(),\n}).describe(\"Response model for retrieving a task run.\");\n\nexport const parallelRetrieveTaskRun = action(\"PARALLEL_RETRIEVE_TASK_RUN\", {\n slug: \"parallel-retrieve-task-run\",\n name: \"Retrieve Task Run\",\n description: \"Tool to retrieve run status by run_id. Use when you need to check the status or details of a specific task run. The run result is available from the /result endpoint.\",\n input: ParallelRetrieveTaskRunInput,\n output: ParallelRetrieveTaskRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,8CAA8CA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAmB;CAAW;CAAa;CAAU;CAAc;AAAW,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC/L,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC3D,QAAQ,4CAA4C,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-task-run.d.ts
|
|
4
|
-
declare const ParallelRetrieveTaskRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelRetrieveTaskRunInput: z.ZodObject<{
|
|
5
|
+
run_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelRetrieveTaskRunOutput: z.ZodObject<{
|
|
8
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
ref_id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
run_id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
15
|
+
queued: "queued";
|
|
16
|
+
running: "running";
|
|
17
|
+
completed: "completed";
|
|
18
|
+
failed: "failed";
|
|
19
|
+
cancelled: "cancelled";
|
|
20
|
+
action_required: "action_required";
|
|
21
|
+
cancelling: "cancelling";
|
|
22
|
+
}>>;
|
|
23
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
|
+
ref_id: z.ZodNullable<z.ZodString>;
|
|
27
|
+
message: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>>>;
|
|
29
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
processor: z.ZodNullable<z.ZodString>;
|
|
31
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
interaction_id: z.ZodNullable<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const parallelRetrieveTaskRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
|
+
run_id: string;
|
|
38
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
39
|
//#endregion
|
|
8
40
|
export { parallelRetrieveTaskRun };
|
|
9
41
|
//# sourceMappingURL=retrieve-task-run.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run.d.cts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-task-run.d.cts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-task-run.d.ts
|
|
4
|
-
declare const ParallelRetrieveTaskRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelRetrieveTaskRunInput: z.ZodObject<{
|
|
5
|
+
run_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelRetrieveTaskRunOutput: z.ZodObject<{
|
|
8
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
|
+
ref_id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
message: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
run_id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
15
|
+
queued: "queued";
|
|
16
|
+
running: "running";
|
|
17
|
+
completed: "completed";
|
|
18
|
+
failed: "failed";
|
|
19
|
+
cancelled: "cancelled";
|
|
20
|
+
action_required: "action_required";
|
|
21
|
+
cancelling: "cancelling";
|
|
22
|
+
}>>;
|
|
23
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
warnings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
25
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
|
+
ref_id: z.ZodNullable<z.ZodString>;
|
|
27
|
+
message: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>>>>;
|
|
29
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
30
|
+
processor: z.ZodNullable<z.ZodString>;
|
|
31
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
taskgroup_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
interaction_id: z.ZodNullable<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const parallelRetrieveTaskRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
|
+
run_id: string;
|
|
38
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
39
|
//#endregion
|
|
8
40
|
export { parallelRetrieveTaskRun };
|
|
9
41
|
//# sourceMappingURL=retrieve-task-run.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-task-run.d.mts","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -4,8 +4,8 @@ import { z } from "zod";
|
|
|
4
4
|
const ParallelRetrieveTaskRunInput = z.object({ run_id: z.string().describe("ID of the task run to retrieve.") }).describe("Request model for retrieving a task run.");
|
|
5
5
|
const ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({
|
|
6
6
|
detail: z.record(z.string(), z.unknown()).describe("Additional context about the error").nullable().optional(),
|
|
7
|
-
ref_id: z.string().describe("Reference ID for the error"),
|
|
8
|
-
message: z.string().describe("Human-readable error message")
|
|
7
|
+
ref_id: z.string().describe("Reference ID for the error").nullable(),
|
|
8
|
+
message: z.string().describe("Human-readable error message").nullable()
|
|
9
9
|
}).describe("Error details for a failed task run.");
|
|
10
10
|
const ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([
|
|
11
11
|
"queued",
|
|
@@ -18,8 +18,8 @@ const ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([
|
|
|
18
18
|
]).describe("Status values for a task run.");
|
|
19
19
|
const ParallelRetrieveTaskRun_WarningSchema = z.object({
|
|
20
20
|
detail: z.record(z.string(), z.unknown()).describe("Additional details about the warning").nullable().optional(),
|
|
21
|
-
ref_id: z.string().describe("Reference ID for the warning"),
|
|
22
|
-
message: z.string().describe("Human-readable warning message")
|
|
21
|
+
ref_id: z.string().describe("Reference ID for the warning").nullable(),
|
|
22
|
+
message: z.string().describe("Human-readable warning message").nullable()
|
|
23
23
|
}).describe("Warning details for a task run.");
|
|
24
24
|
const parallelRetrieveTaskRun = action("PARALLEL_RETRIEVE_TASK_RUN", {
|
|
25
25
|
slug: "parallel-retrieve-task-run",
|
|
@@ -28,16 +28,16 @@ const parallelRetrieveTaskRun = action("PARALLEL_RETRIEVE_TASK_RUN", {
|
|
|
28
28
|
input: ParallelRetrieveTaskRunInput,
|
|
29
29
|
output: z.object({
|
|
30
30
|
error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),
|
|
31
|
-
run_id: z.string().describe("ID of the task run"),
|
|
31
|
+
run_id: z.string().describe("ID of the task run").nullable(),
|
|
32
32
|
status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),
|
|
33
33
|
metadata: z.record(z.string(), z.unknown()).describe("User-provided metadata stored with the run").nullable().optional(),
|
|
34
34
|
warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe("Non-critical issues encountered during task execution").nullable().optional(),
|
|
35
|
-
is_active: z.boolean().describe("Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}."),
|
|
36
|
-
processor: z.string().describe("Processor used for the run"),
|
|
35
|
+
is_active: z.boolean().describe("Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.").nullable(),
|
|
36
|
+
processor: z.string().describe("Processor used for the run").nullable(),
|
|
37
37
|
created_at: z.string().describe("Timestamp of the creation of the task, as an RFC 3339 string").nullable().optional(),
|
|
38
38
|
modified_at: z.string().describe("Timestamp of the last modification to the task, as an RFC 3339 string").nullable().optional(),
|
|
39
39
|
taskgroup_id: z.string().describe("ID of the taskgroup to which the run belongs").nullable().optional(),
|
|
40
|
-
interaction_id: z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.")
|
|
40
|
+
interaction_id: z.string().describe("Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.").nullable()
|
|
41
41
|
}).describe("Response model for retrieving a task run.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-task-run.mjs","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInput
|
|
1
|
+
{"version":3,"file":"retrieve-task-run.mjs","names":[],"sources":["../../src/actions/retrieve-task-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveTaskRunInput = z.object({\n run_id: z.string().describe(\"ID of the task run to retrieve.\"),\n}).describe(\"Request model for retrieving a task run.\");\nconst ParallelRetrieveTaskRun_ErrorDetailSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional context about the error\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).describe(\"Error details for a failed task run.\");\nconst ParallelRetrieveTaskRun_TaskRunStatusSchema = z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Status values for a task run.\");\nconst ParallelRetrieveTaskRun_WarningSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details about the warning\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the warning\").nullable(),\n message: z.string().describe(\"Human-readable warning message\").nullable(),\n}).describe(\"Warning details for a task run.\");\nexport const ParallelRetrieveTaskRunOutput = z.object({\n error: ParallelRetrieveTaskRun_ErrorDetailSchema.nullable().optional(),\n run_id: z.string().describe(\"ID of the task run\").nullable(),\n status: ParallelRetrieveTaskRun_TaskRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run\").nullable().optional(),\n warnings: z.array(ParallelRetrieveTaskRun_WarningSchema).describe(\"Non-critical issues encountered during task execution\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the run is currently active, i.e. status is one of {'cancelling', 'queued', 'running'}.\").nullable(),\n processor: z.string().describe(\"Processor used for the run\").nullable(),\n created_at: z.string().describe(\"Timestamp of the creation of the task, as an RFC 3339 string\").nullable().optional(),\n modified_at: z.string().describe(\"Timestamp of the last modification to the task, as an RFC 3339 string\").nullable().optional(),\n taskgroup_id: z.string().describe(\"ID of the taskgroup to which the run belongs\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier for this interaction. Pass this value as `previous_interaction_id` to reuse context for a future request.\").nullable(),\n}).describe(\"Response model for retrieving a task run.\");\n\nexport const parallelRetrieveTaskRun = action(\"PARALLEL_RETRIEVE_TASK_RUN\", {\n slug: \"parallel-retrieve-task-run\",\n name: \"Retrieve Task Run\",\n description: \"Tool to retrieve run status by run_id. Use when you need to check the status or details of a specific task run. The run result is available from the /result endpoint.\",\n input: ParallelRetrieveTaskRunInput,\n output: ParallelRetrieveTaskRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,4CAA4C,EAAE,OAAO;CACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,8CAA8C,EAAE,KAAK;CAAC;CAAU;CAAmB;CAAW;CAAa;CAAU;CAAc;AAAW,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC/L,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAe7C,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB2C,EAAE,OAAO;EACpD,OAAO,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC3D,QAAQ,4CAA4C,SAAS;EAC7D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC5I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACvK,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
package/dist/actions/search.cjs
CHANGED
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/search.ts
|
|
4
4
|
const ParallelSearchInput = zod.z.object({ search_queries: zod.z.array(zod.z.string()).describe("List of search query texts to run in parallel Must be non-empty; all entries must be strings.") }).describe("Request model for performing a parallel search.");
|
|
5
5
|
const ParallelSearch_ParallelSearchResultSchema = zod.z.object({
|
|
6
|
-
url: zod.z.string().describe("URL of the matched web page"),
|
|
7
|
-
title: zod.z.string().describe("Title of the matched page"),
|
|
6
|
+
url: zod.z.string().describe("URL of the matched web page").nullable(),
|
|
7
|
+
title: zod.z.string().describe("Title of the matched page").nullable(),
|
|
8
8
|
excerpts: zod.z.array(zod.z.string()).describe("Relevant excerpts from the page").nullable().optional(),
|
|
9
9
|
publish_date: zod.z.string().describe("Publication date of the content").nullable().optional()
|
|
10
10
|
}).describe("A single search result from the Parallel Search API.");
|
|
11
11
|
const ParallelSearchOutput = zod.z.object({
|
|
12
12
|
results: zod.z.array(ParallelSearch_ParallelSearchResultSchema).describe("List of search results"),
|
|
13
|
-
search_id: zod.z.string().describe("Unique identifier for the search")
|
|
13
|
+
search_id: zod.z.string().describe("Unique identifier for the search").nullable()
|
|
14
14
|
}).describe("Response model containing parallel search results.");
|
|
15
15
|
const parallelSearch = require_action.action("PARALLEL_SEARCH", {
|
|
16
16
|
slug: "parallel-search",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelSearchInput
|
|
1
|
+
{"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelSearchInput = z.object({\n search_queries: z.array(z.string()).describe(\"List of search query texts to run in parallel Must be non-empty; all entries must be strings.\"),\n}).describe(\"Request model for performing a parallel search.\");\nconst ParallelSearch_ParallelSearchResultSchema = z.object({\n url: z.string().describe(\"URL of the matched web page\").nullable(),\n title: z.string().describe(\"Title of the matched page\").nullable(),\n excerpts: z.array(z.string()).describe(\"Relevant excerpts from the page\").nullable().optional(),\n publish_date: z.string().describe(\"Publication date of the content\").nullable().optional(),\n}).describe(\"A single search result from the Parallel Search API.\");\nexport const ParallelSearchOutput = z.object({\n results: z.array(ParallelSearch_ParallelSearchResultSchema).describe(\"List of search results\"),\n search_id: z.string().describe(\"Unique identifier for the search\").nullable(),\n}).describe(\"Response model containing parallel search results.\");\n\nexport const parallelSearch = action(\"PARALLEL_SEARCH\", {\n slug: \"parallel-search\",\n name: \"Parallel Search\",\n description: \"Tool to perform parallel semantic search. Use when you need to retrieve top matching documents for multiple queries in a single call.\",\n input: ParallelSearchInput,\n output: ParallelSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC9I,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wBAAwB;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search.d.ts
|
|
4
|
-
declare const ParallelSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelSearchInput: z.ZodObject<{
|
|
5
|
+
search_queries: z.ZodArray<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelSearchOutput: z.ZodObject<{
|
|
8
|
+
results: z.ZodArray<z.ZodObject<{
|
|
9
|
+
url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
title: z.ZodNullable<z.ZodString>;
|
|
11
|
+
excerpts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
publish_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
search_id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const parallelSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
search_queries: string[];
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { parallelSearch };
|
|
9
21
|
//# sourceMappingURL=search.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search.d.ts
|
|
4
|
-
declare const ParallelSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelSearchInput: z.ZodObject<{
|
|
5
|
+
search_queries: z.ZodArray<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelSearchOutput: z.ZodObject<{
|
|
8
|
+
results: z.ZodArray<z.ZodObject<{
|
|
9
|
+
url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
title: z.ZodNullable<z.ZodString>;
|
|
11
|
+
excerpts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
publish_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
search_id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const parallelSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
search_queries: string[];
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { parallelSearch };
|
|
9
21
|
//# sourceMappingURL=search.d.mts.map
|