@keystrokehq/parallel 0.1.4 → 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 -13
- 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 -13
- 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 -22
- package/dist/actions/add-runs-to-task-group.d.cts.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.mts +3 -22
- 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 -3
- package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
- package/dist/actions/cancel-find-all-run.d.mts +3 -3
- 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 +4 -21
- package/dist/actions/create-chat-completions.d.cts.map +1 -1
- package/dist/actions/create-chat-completions.d.mts +4 -21
- 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 -13
- package/dist/actions/create-monitor.d.cts.map +1 -1
- package/dist/actions/create-monitor.d.mts +3 -13
- 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 -3
- package/dist/actions/create-task-group.d.cts.map +1 -1
- package/dist/actions/create-task-group.d.mts +3 -3
- 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 -22
- package/dist/actions/create-task-run.d.cts.map +1 -1
- package/dist/actions/create-task-run.d.mts +3 -22
- 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 -3
- package/dist/actions/delete-monitor.d.cts.map +1 -1
- package/dist/actions/delete-monitor.d.mts +3 -3
- 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 -4
- package/dist/actions/extend-find-all-run.d.cts.map +1 -1
- package/dist/actions/extend-find-all-run.d.mts +3 -4
- 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 -19
- package/dist/actions/extract.d.cts.map +1 -1
- package/dist/actions/extract.d.mts +3 -19
- 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 -7
- package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.mts +3 -7
- 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 -21
- package/dist/actions/find-all.d.cts.map +1 -1
- package/dist/actions/find-all.d.mts +3 -21
- 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 -3
- package/dist/actions/get-find-all-run-result.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-result.d.mts +3 -3
- 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 -3
- package/dist/actions/get-find-all-run-schema.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.mts +3 -3
- 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 -3
- package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
- package/dist/actions/ingest-find-all-run.d.mts +3 -3
- 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 -4
- package/dist/actions/list-monitor-events.d.cts.map +1 -1
- package/dist/actions/list-monitor-events.d.mts +3 -4
- 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 -4
- package/dist/actions/list-monitors.d.cts.map +1 -1
- package/dist/actions/list-monitors.d.mts +3 -4
- 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 -4
- package/dist/actions/retrieve-event-group.d.cts.map +1 -1
- package/dist/actions/retrieve-event-group.d.mts +3 -4
- 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 -3
- package/dist/actions/retrieve-find-all-run-status.d.cts.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.mts +3 -3
- 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 -3
- package/dist/actions/retrieve-monitor.d.cts.map +1 -1
- package/dist/actions/retrieve-monitor.d.mts +3 -3
- 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 -4
- package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.mts +3 -4
- 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 -3
- package/dist/actions/retrieve-task-group.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group.d.mts +3 -3
- 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 -3
- package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.mts +3 -3
- 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 -5
- package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.mts +3 -5
- 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 -3
- package/dist/actions/retrieve-task-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run.d.mts +3 -3
- 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 -3
- package/dist/actions/search.d.cts.map +1 -1
- package/dist/actions/search.d.mts +3 -3
- 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 -4
- package/dist/actions/simulate-event.d.cts.map +1 -1
- package/dist/actions/simulate-event.d.mts +3 -4
- 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 -5
- package/dist/actions/stream-find-all-events.d.cts.map +1 -1
- package/dist/actions/stream-find-all-events.d.mts +3 -5
- 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 -5
- package/dist/actions/stream-task-group-events.d.cts.map +1 -1
- package/dist/actions/stream-task-group-events.d.mts +3 -5
- 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 -3
- package/dist/actions/stream-task-run-events.d.cts.map +1 -1
- package/dist/actions/stream-task-run-events.d.mts +3 -3
- 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 -3
- package/dist/actions/suggest-task.d.cts.map +1 -1
- package/dist/actions/suggest-task.d.mts +3 -3
- 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 -10
- package/dist/actions/update-monitor.d.cts.map +1 -1
- package/dist/actions/update-monitor.d.mts +3 -10
- 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 +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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":"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: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO;EAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAChD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC7K,WAAW,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,SAAS,gCAAgC;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CAC5G,cAAc,EAAE,MAAM,EAAE,OAAO;EAC/B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,kBAAkB,EAAE,MAAM,EAAE,OAAO;EACnC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCA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gC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-result.cjs","names":["z","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,I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AC,SAAS,0CAA0C;AACpE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAK,6CAA6C,SAAS;CAC3D,YAAYA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0BAA0B;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
71
|
+
declare const parallelGetFindAllRunResult: AppAction<typeof ParallelGetFindAllRunResultInput, typeof ParallelGetFindAllRunResultOutput, typeof parallel.credential>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { parallelGetFindAllRunResult };
|
|
74
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
71
|
+
declare const parallelGetFindAllRunResult: AppAction<typeof ParallelGetFindAllRunResultInput, typeof ParallelGetFindAllRunResultOutput, typeof parallel.credential>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { parallelGetFindAllRunResult };
|
|
74
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,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,qDAAqD,EAAE,OAAO;CAClE,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAmB;EAAW;EAAa;EAAU;EAAc;CAAW,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzJ,SAAS,6CAA6C,SAAS;CAC/D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,oBAAoB,EAAE,KAAK;EAAC;EAAkB;EAAmB;EAAwB;EAAkB;EAAkB;C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AAC,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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rokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-find-all-run-schema.d.ts
|
|
@@ -20,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const parallelGetFindAllRunSchema: AppAction<typeof ParallelGetFindAllRunSchemaInput, typeof ParallelGetFindAllRunSchemaOutput, typeof parallel.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { parallelGetFindAllRunSchema };
|
|
28
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const parallelGetFindAllRunSchema: AppAction<typeof ParallelGetFindAllRunSchemaInput, typeof ParallelGetFindAllRunSchemaOutput, typeof parallel.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { parallelGetFindAllRunSchema };
|
|
28
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const parallelIngestFindAllRun: AppAction<typeof ParallelIngestFindAllRunInput, typeof ParallelIngestFindAllRunOutput, typeof parallel.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { parallelIngestFindAllRun };
|
|
28
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"}
|
|
@@ -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/ingest-find-all-run.d.ts
|
|
@@ -20,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const parallelIngestFindAllRun: AppAction<typeof ParallelIngestFindAllRunInput, typeof ParallelIngestFindAllRunOutput, typeof parallel.credential>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { parallelIngestFindAllRun };
|
|
28
28
|
//# sourceMappingURL=ingest-find-all-run.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.d.mts","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ingest-find-all-run.d.mts","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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.mjs","names":[],"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.mjs","names":[],"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,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB4C,EAAE,OAAO;EACrD,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,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,+DAA+D,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,kBAAkB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CACnI,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitor-events.cjs","names":["z","action"],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-monitor-events.cjs","names":["z","action"],"sources":["../../src/actions/list-monitor-events.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 ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents: AppAction<\n typeof ParallelListMonitorEventsInput,\n typeof ParallelListMonitorEventsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACzF,gBAAgBA,IAAAA,EAAE,OAAO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
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-monitor-events.d.ts
|
|
@@ -23,10 +25,7 @@ declare const ParallelListMonitorEventsOutput: z.ZodObject<{
|
|
|
23
25
|
monitor_ts: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>]>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const parallelListMonitorEvents:
|
|
27
|
-
monitor_id: string;
|
|
28
|
-
lookback_period?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const parallelListMonitorEvents: AppAction<typeof ParallelListMonitorEventsInput, typeof ParallelListMonitorEventsOutput, typeof parallel.credential>;
|
|
30
29
|
//#endregion
|
|
31
30
|
export { parallelListMonitorEvents };
|
|
32
31
|
//# sourceMappingURL=list-monitor-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitor-events.d.cts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-monitor-events.d.cts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/list-monitor-events.d.ts
|
|
@@ -23,10 +25,7 @@ declare const ParallelListMonitorEventsOutput: z.ZodObject<{
|
|
|
23
25
|
monitor_ts: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>]>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const parallelListMonitorEvents:
|
|
27
|
-
monitor_id: string;
|
|
28
|
-
lookback_period?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const parallelListMonitorEvents: AppAction<typeof ParallelListMonitorEventsInput, typeof ParallelListMonitorEventsOutput, typeof parallel.credential>;
|
|
30
29
|
//#endregion
|
|
31
30
|
export { parallelListMonitorEvents };
|
|
32
31
|
//# sourceMappingURL=list-monitor-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitor-events.d.mts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-monitor-events.d.mts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitor-events.mjs","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-monitor-events.mjs","names":[],"sources":["../../src/actions/list-monitor-events.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 ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents: AppAction<\n typeof ParallelListMonitorEventsInput,\n typeof ParallelListMonitorEventsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,EAAE,MAAM;EAAC;EAAoD;EAAuD;CAAiD,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC1U,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitors.cjs","names":["z","action"],"sources":["../../src/actions/list-monitors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorsInput = z.object({\n limit: z.string().describe(\"Maximum number of monitors to return. If not specified, returns all monitors.\").optional(),\n monitor_id: z.string().describe(\"Monitor ID to start listing after (cursor for pagination). Returns monitors starting with this ID in lexicographic order.\").optional(),\n}).describe(\"Request model for listing monitors with pagination support.\");\nconst ParallelListMonitors_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for monitors.\");\nconst ParallelListMonitors_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelListMonitors_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL to receive monitor events\").nullable(),\n event_types: z.array(z.string()).describe(\"List of event types to subscribe to\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for monitor events.\");\nconst ParallelListMonitors_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type identifier for the schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the expected output structure\"),\n}).passthrough().describe(\"Output schema configuration for monitor events.\");\nconst ParallelListMonitors_MonitorItemSchema = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelListMonitors_MonitorStatusSchema.nullable(),\n cadence: ParallelListMonitors_MonitorCadenceSchema.nullable(),\n webhook: ParallelListMonitors_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier for the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO 8601 timestamp of the last monitor execution\").nullable().optional(),\n output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Individual monitor response object with configuration and status.\");\nexport const ParallelListMonitorsOutput = z.object({\n monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe(\"List of monitor objects with their configurations and status\"),\n}).passthrough().describe(\"Response model containing a list of monitors.\");\n\nexport const parallelListMonitors = action(\"PARALLEL_LIST_MONITORS\", {\n slug: \"parallel-list-monitors\",\n name: \"List Monitors\",\n description: \"Tool to list active monitors for the user. Returns all monitors regardless of status with their configuration and current state. Supports cursor-based pagination using monitor_id and limit parameters.\",\n input: ParallelListMonitorsInput,\n output: ParallelListMonitorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-monitors.cjs","names":["z","action"],"sources":["../../src/actions/list-monitors.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 ParallelListMonitorsInput = z.object({\n limit: z.string().describe(\"Maximum number of monitors to return. If not specified, returns all monitors.\").optional(),\n monitor_id: z.string().describe(\"Monitor ID to start listing after (cursor for pagination). Returns monitors starting with this ID in lexicographic order.\").optional(),\n}).describe(\"Request model for listing monitors with pagination support.\");\nconst ParallelListMonitors_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for monitors.\");\nconst ParallelListMonitors_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelListMonitors_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL to receive monitor events\").nullable(),\n event_types: z.array(z.string()).describe(\"List of event types to subscribe to\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for monitor events.\");\nconst ParallelListMonitors_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type identifier for the schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the expected output structure\"),\n}).passthrough().describe(\"Output schema configuration for monitor events.\");\nconst ParallelListMonitors_MonitorItemSchema = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelListMonitors_MonitorStatusSchema.nullable(),\n cadence: ParallelListMonitors_MonitorCadenceSchema.nullable(),\n webhook: ParallelListMonitors_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier for the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO 8601 timestamp of the last monitor execution\").nullable().optional(),\n output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Individual monitor response object with configuration and status.\");\nexport const ParallelListMonitorsOutput = z.object({\n monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe(\"List of monitor objects with their configurations and status\"),\n}).passthrough().describe(\"Response model containing a list of monitors.\");\n\nexport const parallelListMonitors: AppAction<\n typeof ParallelListMonitorsInput,\n typeof ParallelListMonitorsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_LIST_MONITORS\", {\n slug: \"parallel-list-monitors\",\n name: \"List Monitors\",\n description: \"Tool to list active monitors for the user. Returns all monitors regardless of status with their configuration and current state. Supports cursor-based pagination using monitor_id and limit parameters.\",\n input: ParallelListMonitorsInput,\n output: ParallelListMonitorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,2CAA2CA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,8BAA8B;AACvH,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC5J,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,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AAM,sCAAsC,CAAC,CAAC,SAAS,8DAA8D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/list-monitors.d.ts
|
|
@@ -32,10 +34,7 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const parallelListMonitors:
|
|
36
|
-
limit?: string | undefined;
|
|
37
|
-
monitor_id?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const parallelListMonitors: AppAction<typeof ParallelListMonitorsInput, typeof ParallelListMonitorsOutput, typeof parallel.credential>;
|
|
39
38
|
//#endregion
|
|
40
39
|
export { parallelListMonitors };
|
|
41
40
|
//# sourceMappingURL=list-monitors.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitors.d.cts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-monitors.d.cts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/list-monitors.d.ts
|
|
@@ -32,10 +34,7 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const parallelListMonitors:
|
|
36
|
-
limit?: string | undefined;
|
|
37
|
-
monitor_id?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const parallelListMonitors: AppAction<typeof ParallelListMonitorsInput, typeof ParallelListMonitorsOutput, typeof parallel.credential>;
|
|
39
38
|
//#endregion
|
|
40
39
|
export { parallelListMonitors };
|
|
41
40
|
//# sourceMappingURL=list-monitors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitors.d.mts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-monitors.d.mts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|