@keystrokehq/parallel 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.cjs +1 -0
- package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.d.cts +3 -25
- 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 +3 -25
- package/dist/actions/add-enrichment-to-find-all-run.d.mts.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.mjs +1 -0
- package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.cjs +1 -0
- package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.cts +3 -34
- package/dist/actions/add-runs-to-task-group.d.cts.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.mts +3 -34
- package/dist/actions/add-runs-to-task-group.d.mts.map +1 -1
- package/dist/actions/add-runs-to-task-group.mjs +1 -0
- package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
- package/dist/actions/cancel-find-all-run.cjs +1 -0
- package/dist/actions/cancel-find-all-run.cjs.map +1 -1
- package/dist/actions/cancel-find-all-run.d.cts +3 -15
- package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
- package/dist/actions/cancel-find-all-run.d.mts +3 -15
- package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
- package/dist/actions/cancel-find-all-run.mjs +1 -0
- package/dist/actions/cancel-find-all-run.mjs.map +1 -1
- package/dist/actions/create-chat-completions.cjs +1 -0
- package/dist/actions/create-chat-completions.cjs.map +1 -1
- package/dist/actions/create-chat-completions.d.cts +3 -32
- package/dist/actions/create-chat-completions.d.cts.map +1 -1
- package/dist/actions/create-chat-completions.d.mts +3 -32
- package/dist/actions/create-chat-completions.d.mts.map +1 -1
- package/dist/actions/create-chat-completions.mjs +1 -0
- package/dist/actions/create-chat-completions.mjs.map +1 -1
- package/dist/actions/create-monitor.cjs +1 -0
- package/dist/actions/create-monitor.cjs.map +1 -1
- package/dist/actions/create-monitor.d.cts +3 -25
- package/dist/actions/create-monitor.d.cts.map +1 -1
- package/dist/actions/create-monitor.d.mts +3 -25
- package/dist/actions/create-monitor.d.mts.map +1 -1
- package/dist/actions/create-monitor.mjs +1 -0
- package/dist/actions/create-monitor.mjs.map +1 -1
- package/dist/actions/create-task-group.cjs +1 -0
- package/dist/actions/create-task-group.cjs.map +1 -1
- package/dist/actions/create-task-group.d.cts +3 -15
- package/dist/actions/create-task-group.d.cts.map +1 -1
- package/dist/actions/create-task-group.d.mts +3 -15
- package/dist/actions/create-task-group.d.mts.map +1 -1
- package/dist/actions/create-task-group.mjs +1 -0
- package/dist/actions/create-task-group.mjs.map +1 -1
- package/dist/actions/create-task-run.cjs +1 -0
- package/dist/actions/create-task-run.cjs.map +1 -1
- package/dist/actions/create-task-run.d.cts +3 -34
- package/dist/actions/create-task-run.d.cts.map +1 -1
- package/dist/actions/create-task-run.d.mts +3 -34
- package/dist/actions/create-task-run.d.mts.map +1 -1
- package/dist/actions/create-task-run.mjs +1 -0
- package/dist/actions/create-task-run.mjs.map +1 -1
- package/dist/actions/delete-monitor.cjs +1 -0
- package/dist/actions/delete-monitor.cjs.map +1 -1
- package/dist/actions/delete-monitor.d.cts +3 -15
- package/dist/actions/delete-monitor.d.cts.map +1 -1
- package/dist/actions/delete-monitor.d.mts +3 -15
- package/dist/actions/delete-monitor.d.mts.map +1 -1
- package/dist/actions/delete-monitor.mjs +1 -0
- package/dist/actions/delete-monitor.mjs.map +1 -1
- package/dist/actions/extend-find-all-run.cjs +1 -0
- package/dist/actions/extend-find-all-run.cjs.map +1 -1
- package/dist/actions/extend-find-all-run.d.cts +3 -16
- package/dist/actions/extend-find-all-run.d.cts.map +1 -1
- package/dist/actions/extend-find-all-run.d.mts +3 -16
- package/dist/actions/extend-find-all-run.d.mts.map +1 -1
- package/dist/actions/extend-find-all-run.mjs +1 -0
- package/dist/actions/extend-find-all-run.mjs.map +1 -1
- package/dist/actions/extract.cjs +1 -0
- package/dist/actions/extract.cjs.map +1 -1
- package/dist/actions/extract.d.cts +3 -31
- package/dist/actions/extract.d.cts.map +1 -1
- package/dist/actions/extract.d.mts +3 -31
- package/dist/actions/extract.d.mts.map +1 -1
- package/dist/actions/extract.mjs +1 -0
- package/dist/actions/extract.mjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.cjs +1 -0
- package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.cts +3 -19
- package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.mts +3 -19
- package/dist/actions/fetch-task-group-runs.d.mts.map +1 -1
- package/dist/actions/fetch-task-group-runs.mjs +1 -0
- package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
- package/dist/actions/find-all.cjs +1 -0
- package/dist/actions/find-all.cjs.map +1 -1
- package/dist/actions/find-all.d.cts +3 -33
- package/dist/actions/find-all.d.cts.map +1 -1
- package/dist/actions/find-all.d.mts +3 -33
- package/dist/actions/find-all.d.mts.map +1 -1
- package/dist/actions/find-all.mjs +1 -0
- package/dist/actions/find-all.mjs.map +1 -1
- package/dist/actions/get-find-all-run-result.cjs +1 -0
- package/dist/actions/get-find-all-run-result.cjs.map +1 -1
- package/dist/actions/get-find-all-run-result.d.cts +3 -15
- package/dist/actions/get-find-all-run-result.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-result.d.mts +3 -15
- package/dist/actions/get-find-all-run-result.d.mts.map +1 -1
- package/dist/actions/get-find-all-run-result.mjs +1 -0
- package/dist/actions/get-find-all-run-result.mjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.cjs +1 -0
- package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.cts +3 -15
- package/dist/actions/get-find-all-run-schema.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.mts +3 -15
- package/dist/actions/get-find-all-run-schema.d.mts.map +1 -1
- package/dist/actions/get-find-all-run-schema.mjs +1 -0
- package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
- package/dist/actions/ingest-find-all-run.cjs +1 -0
- package/dist/actions/ingest-find-all-run.cjs.map +1 -1
- package/dist/actions/ingest-find-all-run.d.cts +3 -15
- package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
- package/dist/actions/ingest-find-all-run.d.mts +3 -15
- package/dist/actions/ingest-find-all-run.d.mts.map +1 -1
- package/dist/actions/ingest-find-all-run.mjs +1 -0
- package/dist/actions/ingest-find-all-run.mjs.map +1 -1
- package/dist/actions/list-monitor-events.cjs +1 -0
- package/dist/actions/list-monitor-events.cjs.map +1 -1
- package/dist/actions/list-monitor-events.d.cts +3 -16
- package/dist/actions/list-monitor-events.d.cts.map +1 -1
- package/dist/actions/list-monitor-events.d.mts +3 -16
- package/dist/actions/list-monitor-events.d.mts.map +1 -1
- package/dist/actions/list-monitor-events.mjs +1 -0
- package/dist/actions/list-monitor-events.mjs.map +1 -1
- package/dist/actions/list-monitors.cjs +1 -0
- package/dist/actions/list-monitors.cjs.map +1 -1
- package/dist/actions/list-monitors.d.cts +3 -16
- package/dist/actions/list-monitors.d.cts.map +1 -1
- package/dist/actions/list-monitors.d.mts +3 -16
- package/dist/actions/list-monitors.d.mts.map +1 -1
- package/dist/actions/list-monitors.mjs +1 -0
- package/dist/actions/list-monitors.mjs.map +1 -1
- package/dist/actions/retrieve-event-group.cjs +1 -0
- package/dist/actions/retrieve-event-group.cjs.map +1 -1
- package/dist/actions/retrieve-event-group.d.cts +3 -16
- package/dist/actions/retrieve-event-group.d.cts.map +1 -1
- package/dist/actions/retrieve-event-group.d.mts +3 -16
- package/dist/actions/retrieve-event-group.d.mts.map +1 -1
- package/dist/actions/retrieve-event-group.mjs +1 -0
- package/dist/actions/retrieve-event-group.mjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.cjs +1 -0
- package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.cts +3 -15
- package/dist/actions/retrieve-find-all-run-status.d.cts.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.mts +3 -15
- package/dist/actions/retrieve-find-all-run-status.d.mts.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.mjs +1 -0
- package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
- package/dist/actions/retrieve-monitor.cjs +1 -0
- package/dist/actions/retrieve-monitor.cjs.map +1 -1
- package/dist/actions/retrieve-monitor.d.cts +3 -15
- package/dist/actions/retrieve-monitor.d.cts.map +1 -1
- package/dist/actions/retrieve-monitor.d.mts +3 -15
- package/dist/actions/retrieve-monitor.d.mts.map +1 -1
- package/dist/actions/retrieve-monitor.mjs +1 -0
- package/dist/actions/retrieve-monitor.mjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.cjs +1 -0
- package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.cts +3 -16
- package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.mts +3 -16
- package/dist/actions/retrieve-task-group-run.d.mts.map +1 -1
- package/dist/actions/retrieve-task-group-run.mjs +1 -0
- package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
- package/dist/actions/retrieve-task-group.cjs +1 -0
- package/dist/actions/retrieve-task-group.cjs.map +1 -1
- package/dist/actions/retrieve-task-group.d.cts +3 -15
- package/dist/actions/retrieve-task-group.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group.d.mts +3 -15
- package/dist/actions/retrieve-task-group.d.mts.map +1 -1
- package/dist/actions/retrieve-task-group.mjs +1 -0
- package/dist/actions/retrieve-task-group.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.cjs +1 -0
- package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.cts +3 -15
- package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.mts +3 -15
- package/dist/actions/retrieve-task-run-input.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run-input.mjs +1 -0
- package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.cjs +1 -0
- package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.cts +3 -17
- package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.mts +3 -17
- package/dist/actions/retrieve-task-run-result.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run-result.mjs +1 -0
- package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
- package/dist/actions/retrieve-task-run.cjs +1 -0
- package/dist/actions/retrieve-task-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-run.d.cts +3 -15
- package/dist/actions/retrieve-task-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run.d.mts +3 -15
- package/dist/actions/retrieve-task-run.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run.mjs +1 -0
- package/dist/actions/retrieve-task-run.mjs.map +1 -1
- package/dist/actions/search.cjs +1 -0
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +3 -15
- package/dist/actions/search.d.cts.map +1 -1
- package/dist/actions/search.d.mts +3 -15
- package/dist/actions/search.d.mts.map +1 -1
- package/dist/actions/search.mjs +1 -0
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/simulate-event.cjs +1 -0
- package/dist/actions/simulate-event.cjs.map +1 -1
- package/dist/actions/simulate-event.d.cts +3 -16
- package/dist/actions/simulate-event.d.cts.map +1 -1
- package/dist/actions/simulate-event.d.mts +3 -16
- package/dist/actions/simulate-event.d.mts.map +1 -1
- package/dist/actions/simulate-event.mjs +1 -0
- package/dist/actions/simulate-event.mjs.map +1 -1
- package/dist/actions/stream-find-all-events.cjs +1 -0
- package/dist/actions/stream-find-all-events.cjs.map +1 -1
- package/dist/actions/stream-find-all-events.d.cts +3 -17
- package/dist/actions/stream-find-all-events.d.cts.map +1 -1
- package/dist/actions/stream-find-all-events.d.mts +3 -17
- package/dist/actions/stream-find-all-events.d.mts.map +1 -1
- package/dist/actions/stream-find-all-events.mjs +1 -0
- package/dist/actions/stream-find-all-events.mjs.map +1 -1
- package/dist/actions/stream-task-group-events.cjs +1 -0
- package/dist/actions/stream-task-group-events.cjs.map +1 -1
- package/dist/actions/stream-task-group-events.d.cts +3 -17
- package/dist/actions/stream-task-group-events.d.cts.map +1 -1
- package/dist/actions/stream-task-group-events.d.mts +3 -17
- package/dist/actions/stream-task-group-events.d.mts.map +1 -1
- package/dist/actions/stream-task-group-events.mjs +1 -0
- package/dist/actions/stream-task-group-events.mjs.map +1 -1
- package/dist/actions/stream-task-run-events.cjs +1 -0
- package/dist/actions/stream-task-run-events.cjs.map +1 -1
- package/dist/actions/stream-task-run-events.d.cts +3 -15
- package/dist/actions/stream-task-run-events.d.cts.map +1 -1
- package/dist/actions/stream-task-run-events.d.mts +3 -15
- package/dist/actions/stream-task-run-events.d.mts.map +1 -1
- package/dist/actions/stream-task-run-events.mjs +1 -0
- package/dist/actions/stream-task-run-events.mjs.map +1 -1
- package/dist/actions/suggest-task.cjs +1 -0
- package/dist/actions/suggest-task.cjs.map +1 -1
- package/dist/actions/suggest-task.d.cts +3 -15
- package/dist/actions/suggest-task.d.cts.map +1 -1
- package/dist/actions/suggest-task.d.mts +3 -15
- package/dist/actions/suggest-task.d.mts.map +1 -1
- package/dist/actions/suggest-task.mjs +1 -0
- package/dist/actions/suggest-task.mjs.map +1 -1
- package/dist/actions/update-monitor.cjs +1 -0
- package/dist/actions/update-monitor.cjs.map +1 -1
- package/dist/actions/update-monitor.d.cts +3 -22
- package/dist/actions/update-monitor.d.cts.map +1 -1
- package/dist/actions/update-monitor.d.mts +3 -22
- package/dist/actions/update-monitor.d.mts.map +1 -1
- package/dist/actions/update-monitor.mjs +1 -0
- package/dist/actions/update-monitor.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-task-group-runs.mjs","names":[],"sources":["../../src/actions/fetch-task-group-runs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFetchTaskGroupRunsInput = z.object({\n status: z.string().describe(\"Filter runs by status (e.g., queued, running, completed, failed, cancelled).\").optional(),\n taskgroup_id: z.string().describe(\"Unique identifier of the Task Group to fetch runs from.\"),\n include_input: z.boolean().default(false).describe(\"Whether to include task run inputs in the response. Default is False.\").optional(),\n last_event_id: z.string().describe(\"ID of the last received event to resume streaming from. Used as cursor for pagination.\").optional(),\n include_output: z.boolean().default(false).describe(\"Whether to include task run outputs in the response. Default is False.\").optional(),\n}).describe(\"Request model for fetching task runs from a Task Group.\");\nconst ParallelFetchTaskGroupRuns_ErrorSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details 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}).passthrough().describe(\"Error associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_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}).passthrough().describe(\"Warning associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunSchema = z.object({\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable().optional(),\n run_id: z.string().describe(\"Unique identifier of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"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 warnings: z.array(ParallelFetchTaskGroupRuns_WarningSchema).describe(\"List of warnings associated with the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the task run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor used for the task run\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp when the task run was created\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n taskgroup_id: z.string().describe(\"ID of the Task Group this run belongs to\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier linking this run to an interaction\").nullable(),\n}).passthrough().describe(\"Task run metadata object.\");\nconst ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema = z.object({\n query: z.string().describe(\"Query text for the task\").nullable().optional(),\n documents: z.array(z.record(z.string(), z.unknown())).describe(\"Documents provided as input\").nullable().optional(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).passthrough().describe(\"Input provided to a task run.\");\nconst ParallelFetchTaskGroupRuns_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelFetchTaskGroupRuns_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelFetchTaskGroupRuns_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations, reasoning, and confidence per field\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"JSON object matching the output schema\"),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema used for the output\").nullable().optional(),\n}).passthrough().describe(\"JSON output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations and reasoning for the output\").nullable().optional(),\n content: z.string().describe(\"Text content of the output\").nullable(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).passthrough().describe(\"Text output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunStateEventSchema = z.object({\n run: ParallelFetchTaskGroupRuns_TaskRunSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n input: ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema.nullable().optional(),\n output: z.union([ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema, ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema]).nullable().optional(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable().optional(),\n}).passthrough().describe(\"Event containing a task run state update.\");\nconst ParallelFetchTaskGroupRuns_ErrorEventSchema = z.object({\n type: z.string().describe(\"Event type\").nullable(),\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable(),\n}).passthrough().describe(\"Event indicating an error occurred.\");\nexport const ParallelFetchTaskGroupRunsOutput = z.object({\n events: z.array(z.union([ParallelFetchTaskGroupRuns_TaskRunStateEventSchema, ParallelFetchTaskGroupRuns_ErrorEventSchema])).describe(\"List of task run events received from the stream\"),\n}).passthrough().describe(\"Response model containing list of task run events from the Task Group.\");\n\nexport const parallelFetchTaskGroupRuns = action(\"PARALLEL_FETCH_TASK_GROUP_RUNS\", {\n slug: \"parallel-fetch-task-group-runs\",\n name: \"Fetch Task Group Runs\",\n description: \"Tool to retrieve task runs from a Task Group as a resumable stream. Use when you need to fetch all runs within a group, optionally including their inputs and outputs. The stream can be resumed using the event_id as a cursor.\",\n input: ParallelFetchTaskGroupRunsInput,\n output: ParallelFetchTaskGroupRunsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC3F,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyC,EAAE,OAAO;CACtD,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC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C,SAAS;CACjD,OAAO,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,MAAM,CAAC,oDAAoD,kDAAkD,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAO,uCAAuC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,oDAAoD,2CAA2C,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,EACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"fetch-task-group-runs.mjs","names":[],"sources":["../../src/actions/fetch-task-group-runs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelFetchTaskGroupRunsInput = z.object({\n status: z.string().describe(\"Filter runs by status (e.g., queued, running, completed, failed, cancelled).\").optional(),\n taskgroup_id: z.string().describe(\"Unique identifier of the Task Group to fetch runs from.\"),\n include_input: z.boolean().default(false).describe(\"Whether to include task run inputs in the response. Default is False.\").optional(),\n last_event_id: z.string().describe(\"ID of the last received event to resume streaming from. Used as cursor for pagination.\").optional(),\n include_output: z.boolean().default(false).describe(\"Whether to include task run outputs in the response. Default is False.\").optional(),\n}).describe(\"Request model for fetching task runs from a Task Group.\");\nconst ParallelFetchTaskGroupRuns_ErrorSchema = z.object({\n detail: z.record(z.string(), z.unknown()).describe(\"Additional details 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}).passthrough().describe(\"Error associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_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}).passthrough().describe(\"Warning associated with a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunSchema = z.object({\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable().optional(),\n run_id: z.string().describe(\"Unique identifier of the task run\").nullable(),\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"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 warnings: z.array(ParallelFetchTaskGroupRuns_WarningSchema).describe(\"List of warnings associated with the run\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the task run is actively processing\").nullable(),\n processor: z.string().describe(\"Processor used for the task run\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp when the task run was created\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable(),\n taskgroup_id: z.string().describe(\"ID of the Task Group this run belongs to\").nullable().optional(),\n interaction_id: z.string().describe(\"Identifier linking this run to an interaction\").nullable(),\n}).passthrough().describe(\"Task run metadata object.\");\nconst ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema = z.object({\n query: z.string().describe(\"Query text for the task\").nullable().optional(),\n documents: z.array(z.record(z.string(), z.unknown())).describe(\"Documents provided as input\").nullable().optional(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).passthrough().describe(\"Input provided to a task run.\");\nconst ParallelFetchTaskGroupRuns_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelFetchTaskGroupRuns_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelFetchTaskGroupRuns_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations, reasoning, and confidence per field\").nullable().optional(),\n content: z.record(z.string(), z.unknown()).describe(\"JSON object matching the output schema\"),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n output_schema: z.record(z.string(), z.unknown()).describe(\"Schema used for the output\").nullable().optional(),\n}).passthrough().describe(\"JSON output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema = z.object({\n type: z.string().describe(\"Output type discriminator\").nullable(),\n basis: z.array(ParallelFetchTaskGroupRuns_FieldBasisSchema).describe(\"Citations and reasoning for the output\").nullable().optional(),\n content: z.string().describe(\"Text content of the output\").nullable(),\n beta_fields: z.record(z.string(), z.unknown()).describe(\"Additional beta fields\").nullable().optional(),\n}).passthrough().describe(\"Text output from a task run.\");\nconst ParallelFetchTaskGroupRuns_TaskRunStateEventSchema = z.object({\n run: ParallelFetchTaskGroupRuns_TaskRunSchema.nullable(),\n type: z.string().describe(\"Event type\").nullable(),\n input: ParallelFetchTaskGroupRuns_BetaTaskRunInputSchema.nullable().optional(),\n output: z.union([ParallelFetchTaskGroupRuns_TaskRunJsonOutputSchema, ParallelFetchTaskGroupRuns_TaskRunTextOutputSchema]).nullable().optional(),\n event_id: z.string().describe(\"Unique identifier for the event\").nullable().optional(),\n}).passthrough().describe(\"Event containing a task run state update.\");\nconst ParallelFetchTaskGroupRuns_ErrorEventSchema = z.object({\n type: z.string().describe(\"Event type\").nullable(),\n error: ParallelFetchTaskGroupRuns_ErrorSchema.nullable(),\n}).passthrough().describe(\"Event indicating an error occurred.\");\nexport const ParallelFetchTaskGroupRunsOutput = z.object({\n events: z.array(z.union([ParallelFetchTaskGroupRuns_TaskRunStateEventSchema, ParallelFetchTaskGroupRuns_ErrorEventSchema])).describe(\"List of task run events received from the stream\"),\n}).passthrough().describe(\"Response model containing list of task run events from the Task Group.\");\n\nexport const parallelFetchTaskGroupRuns: AppAction<\n typeof ParallelFetchTaskGroupRunsInput,\n typeof ParallelFetchTaskGroupRunsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_FETCH_TASK_GROUP_RUNS\", {\n slug: \"parallel-fetch-task-group-runs\",\n name: \"Fetch Task Group Runs\",\n description: \"Tool to retrieve task runs from a Task Group as a resumable stream. Use when you need to fetch all runs within a group, optionally including their inputs and outputs. The stream can be resumed using the event_id as a cursor.\",\n input: ParallelFetchTaskGroupRunsInput,\n output: ParallelFetchTaskGroupRunsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC3F,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-all.cjs","names":["z","action"],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n}).passthrough()).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n}).passthrough()).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n}).passthrough();\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-all.cjs","names":["z","action"],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n}).passthrough()).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n}).passthrough()).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n}).passthrough();\n\nexport const parallelFindAll: AppAction<\n typeof ParallelFindAllInput,\n typeof ParallelFindAllOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAA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AAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parallel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/find-all.d.ts
|
|
@@ -52,39 +54,7 @@ declare const ParallelFindAllOutput: z.ZodObject<{
|
|
|
52
54
|
findall_id: z.ZodNullable<z.ZodString>;
|
|
53
55
|
modified_at: z.ZodNullable<z.ZodString>;
|
|
54
56
|
}, z.core.$loose>;
|
|
55
|
-
declare const parallelFindAll:
|
|
56
|
-
generator: "core" | "base" | "pro" | "preview";
|
|
57
|
-
objective: string;
|
|
58
|
-
entity_type: string;
|
|
59
|
-
match_limit: number;
|
|
60
|
-
match_conditions: {
|
|
61
|
-
[x: string]: unknown;
|
|
62
|
-
name: string;
|
|
63
|
-
description: string;
|
|
64
|
-
}[];
|
|
65
|
-
webhook?: {
|
|
66
|
-
url: string;
|
|
67
|
-
event_types: string[];
|
|
68
|
-
} | undefined;
|
|
69
|
-
metadata?: Record<string, unknown> | undefined;
|
|
70
|
-
exclude_list?: {
|
|
71
|
-
[x: string]: unknown;
|
|
72
|
-
url: string;
|
|
73
|
-
name: string;
|
|
74
|
-
}[] | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
82
|
-
connectionId: z.ZodString;
|
|
83
|
-
entityId: z.ZodString;
|
|
84
|
-
instanceId: z.ZodString;
|
|
85
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
-
generic_api_key: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>]>;
|
|
57
|
+
declare const parallelFindAll: AppAction<typeof ParallelFindAllInput, typeof ParallelFindAllOutput, typeof parallel.credential>;
|
|
88
58
|
//#endregion
|
|
89
59
|
export { parallelFindAll };
|
|
90
60
|
//# sourceMappingURL=find-all.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-all.d.cts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-all.d.cts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parallel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/find-all.d.ts
|
|
@@ -52,39 +54,7 @@ declare const ParallelFindAllOutput: z.ZodObject<{
|
|
|
52
54
|
findall_id: z.ZodNullable<z.ZodString>;
|
|
53
55
|
modified_at: z.ZodNullable<z.ZodString>;
|
|
54
56
|
}, z.core.$loose>;
|
|
55
|
-
declare const parallelFindAll:
|
|
56
|
-
generator: "core" | "base" | "pro" | "preview";
|
|
57
|
-
objective: string;
|
|
58
|
-
entity_type: string;
|
|
59
|
-
match_limit: number;
|
|
60
|
-
match_conditions: {
|
|
61
|
-
[x: string]: unknown;
|
|
62
|
-
name: string;
|
|
63
|
-
description: string;
|
|
64
|
-
}[];
|
|
65
|
-
webhook?: {
|
|
66
|
-
url: string;
|
|
67
|
-
event_types: string[];
|
|
68
|
-
} | undefined;
|
|
69
|
-
metadata?: Record<string, unknown> | undefined;
|
|
70
|
-
exclude_list?: {
|
|
71
|
-
[x: string]: unknown;
|
|
72
|
-
url: string;
|
|
73
|
-
name: string;
|
|
74
|
-
}[] | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
82
|
-
connectionId: z.ZodString;
|
|
83
|
-
entityId: z.ZodString;
|
|
84
|
-
instanceId: z.ZodString;
|
|
85
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
-
generic_api_key: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>]>;
|
|
57
|
+
declare const parallelFindAll: AppAction<typeof ParallelFindAllInput, typeof ParallelFindAllOutput, typeof parallel.credential>;
|
|
88
58
|
//#endregion
|
|
89
59
|
export { parallelFindAll };
|
|
90
60
|
//# sourceMappingURL=find-all.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-all.d.mts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-all.d.mts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-all.mjs","names":[],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n}).passthrough()).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n}).passthrough()).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n}).passthrough();\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-all.mjs","names":[],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n}).passthrough()).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n}).passthrough()).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n}).passthrough();\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n}).passthrough();\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n}).passthrough();\n\nexport const parallelFindAll: AppAction<\n typeof ParallelFindAllInput,\n typeof ParallelFindAllOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: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action"],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).passthrough().describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).passthrough().describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).passthrough().describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).passthrough().describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).passthrough().describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-result.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).passthrough().describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).passthrough().describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).passthrough().describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).passthrough().describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).passthrough().describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult: AppAction<\n typeof ParallelGetFindAllRunResultInput,\n typeof ParallelGetFindAllRunResultOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAmB;EAAW;EAAa;EAAU;EAAc;CAAW,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzJ,SAAS,6CAA6C,SAAS;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAmB;EAAwB;EAAkB;EAAkB;CAAS,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,QAAQ,mDAAmD,SAAS;CACpE,UAAU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,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,8BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parallel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-find-all-run-result.d.ts
|
|
@@ -66,21 +68,7 @@ declare const ParallelGetFindAllRunResultOutput: z.ZodObject<{
|
|
|
66
68
|
}, z.core.$loose>>;
|
|
67
69
|
last_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const parallelGetFindAllRunResult:
|
|
70
|
-
findall_id: string;
|
|
71
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
72
|
-
connectionId: z.ZodString;
|
|
73
|
-
entityId: z.ZodString;
|
|
74
|
-
instanceId: z.ZodString;
|
|
75
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
-
generic_api_key: z.ZodString;
|
|
77
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
78
|
-
connectionId: z.ZodString;
|
|
79
|
-
entityId: z.ZodString;
|
|
80
|
-
instanceId: z.ZodString;
|
|
81
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
-
generic_api_key: z.ZodString;
|
|
83
|
-
}, z.core.$strip>>]>;
|
|
71
|
+
declare const parallelGetFindAllRunResult: AppAction<typeof ParallelGetFindAllRunResultInput, typeof ParallelGetFindAllRunResultOutput, typeof parallel.credential>;
|
|
84
72
|
//#endregion
|
|
85
73
|
export { parallelGetFindAllRunResult };
|
|
86
74
|
//# sourceMappingURL=get-find-all-run-result.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-result.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-result.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAyChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parallel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-find-all-run-result.d.ts
|
|
@@ -66,21 +68,7 @@ declare const ParallelGetFindAllRunResultOutput: z.ZodObject<{
|
|
|
66
68
|
}, z.core.$loose>>;
|
|
67
69
|
last_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const parallelGetFindAllRunResult:
|
|
70
|
-
findall_id: string;
|
|
71
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
72
|
-
connectionId: z.ZodString;
|
|
73
|
-
entityId: z.ZodString;
|
|
74
|
-
instanceId: z.ZodString;
|
|
75
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
-
generic_api_key: z.ZodString;
|
|
77
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
78
|
-
connectionId: z.ZodString;
|
|
79
|
-
entityId: z.ZodString;
|
|
80
|
-
instanceId: z.ZodString;
|
|
81
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
-
generic_api_key: z.ZodString;
|
|
83
|
-
}, z.core.$strip>>]>;
|
|
71
|
+
declare const parallelGetFindAllRunResult: AppAction<typeof ParallelGetFindAllRunResultInput, typeof ParallelGetFindAllRunResultOutput, typeof parallel.credential>;
|
|
84
72
|
//#endregion
|
|
85
73
|
export { parallelGetFindAllRunResult };
|
|
86
74
|
//# sourceMappingURL=get-find-all-run-result.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-result.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-result.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAyChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-result.mjs","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).passthrough().describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).passthrough().describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).passthrough().describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).passthrough().describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).passthrough().describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-result.mjs","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).passthrough().describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).passthrough().describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).passthrough().describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).passthrough().describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).passthrough().describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult: AppAction<\n typeof ParallelGetFindAllRunResultInput,\n typeof ParallelGetFindAllRunResultOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4B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S;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,cAAc,EAAE,KAAK;EAAC;EAAa;EAAW;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAOpE,MAAa,8BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf+C,EAAE,OAAO;EACxD,KAAK,6CAA6C,SAAS;EAC3D,YAAY,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0BAA0B;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_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().describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).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(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough().describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_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().describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).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(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough().describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema: AppAction<\n typeof ParallelGetFindAllRunSchemaInput,\n typeof ParallelGetFindAllRunSchemaOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parallel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-find-all-run-schema.d.ts
|
|
@@ -20,21 +22,7 @@ declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
|
20
22
|
description: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const parallelGetFindAllRunSchema:
|
|
24
|
-
findall_id: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const parallelGetFindAllRunSchema: AppAction<typeof ParallelGetFindAllRunSchemaInput, typeof ParallelGetFindAllRunSchemaOutput, typeof parallel.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { parallelGetFindAllRunSchema };
|
|
40
28
|
//# sourceMappingURL=get-find-all-run-schema.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parallel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-find-all-run-schema.d.ts
|
|
@@ -20,21 +22,7 @@ declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
|
20
22
|
description: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const parallelGetFindAllRunSchema:
|
|
24
|
-
findall_id: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const parallelGetFindAllRunSchema: AppAction<typeof ParallelGetFindAllRunSchemaInput, typeof ParallelGetFindAllRunSchemaOutput, typeof parallel.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { parallelGetFindAllRunSchema };
|
|
40
28
|
//# sourceMappingURL=get-find-all-run-schema.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.mjs","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_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().describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).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(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough().describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.mjs","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_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().describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).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(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough().describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema: AppAction<\n typeof ParallelGetFindAllRunSchemaInput,\n typeof ParallelGetFindAllRunSchemaOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAUrE,MAAa,8BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB+C,EAAE,OAAO;EACxD,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough();\n\nexport const parallelIngestFindAllRun = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n output: ParallelIngestFindAllRunOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ingest-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough();\n\nexport const parallelIngestFindAllRun: AppAction<\n typeof ParallelIngestFindAllRunInput,\n typeof ParallelIngestFindAllRunOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n output: ParallelIngestFindAllRunOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,kBAAkBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;AACnI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parallel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/ingest-find-all-run.d.ts
|
|
@@ -20,21 +22,7 @@ declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
|
|
|
20
22
|
description: z.ZodNullable<z.ZodString>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const parallelIngestFindAllRun:
|
|
24
|
-
objective: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const parallelIngestFindAllRun: AppAction<typeof ParallelIngestFindAllRunInput, typeof ParallelIngestFindAllRunOutput, typeof parallel.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { parallelIngestFindAllRun };
|
|
40
28
|
//# sourceMappingURL=ingest-find-all-run.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.d.cts","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ingest-find-all-run.d.cts","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|