deepline 0.1.108 → 0.1.110
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/cli/index.js +2849 -1407
- package/dist/cli/index.mjs +2587 -1152
- package/dist/index.d.mts +81 -17
- package/dist/index.d.ts +81 -17
- package/dist/index.js +179 -51
- package/dist/index.mjs +179 -51
- package/dist/repo/apps/play-runner-workers/src/child-play-submit.ts +196 -0
- package/dist/repo/apps/play-runner-workers/src/coordinator-entry.ts +42 -21
- package/dist/repo/apps/play-runner-workers/src/entry.ts +162 -320
- package/dist/repo/apps/play-runner-workers/src/runtime/csv-rows.ts +102 -0
- package/dist/repo/apps/play-runner-workers/src/runtime/dataset-handles.ts +8 -3
- package/dist/repo/apps/play-runner-workers/src/runtime/receipts.ts +18 -27
- package/dist/repo/apps/play-runner-workers/src/workflow-instance-create.ts +44 -0
- package/dist/repo/apps/play-runner-workers/src/workflow-retry.ts +7 -11
- package/dist/repo/sdk/src/client.ts +35 -12
- package/dist/repo/sdk/src/errors.ts +2 -2
- package/dist/repo/sdk/src/http.ts +109 -9
- package/dist/repo/sdk/src/index.ts +4 -0
- package/dist/repo/sdk/src/play.ts +77 -7
- package/dist/repo/sdk/src/plays/bundle-play-file.ts +5 -1
- package/dist/repo/sdk/src/release.ts +14 -11
- package/dist/repo/sdk/src/tool-output.ts +2 -2
- package/dist/repo/sdk/src/types.ts +9 -6
- package/dist/repo/shared_libs/play-data-plane/cell-policy.ts +76 -0
- package/dist/repo/shared_libs/play-data-plane/column-names.ts +17 -0
- package/dist/repo/shared_libs/play-data-plane/sheet-contract.ts +190 -0
- package/dist/repo/shared_libs/play-runtime/coordinator-headers.ts +2 -0
- package/dist/repo/shared_libs/play-runtime/db-session.ts +4 -0
- package/dist/repo/shared_libs/play-runtime/fullenrich-batching.ts +229 -0
- package/dist/repo/shared_libs/play-runtime/governor/policy.ts +1 -1
- package/dist/repo/shared_libs/play-runtime/play-runtime-batching-registry.ts +20 -0
- package/dist/repo/shared_libs/play-runtime/providers.ts +5 -24
- package/dist/repo/shared_libs/play-runtime/run-failure.ts +20 -12
- package/dist/repo/shared_libs/play-runtime/run-ledger.ts +115 -25
- package/dist/repo/shared_libs/play-runtime/run-snapshot-stream.ts +49 -0
- package/dist/repo/shared_libs/play-runtime/scheduler-backend.ts +22 -9
- package/dist/repo/shared_libs/play-runtime/secret-redaction.ts +15 -0
- package/dist/repo/shared_libs/play-runtime/work-receipts.ts +1 -0
- package/dist/repo/shared_libs/plays/bundling/index.ts +69 -11
- package/dist/repo/shared_libs/plays/static-pipeline.ts +4 -14
- package/dist/repo/shared_libs/security/outbound-url-policy.ts +238 -0
- package/dist/repo/shared_libs/security/safe-fetch.ts +118 -0
- package/dist/viewer/viewer.css +617 -0
- package/dist/viewer/viewer.js +1496 -0
- package/package.json +5 -1
package/dist/index.d.mts
CHANGED
|
@@ -353,9 +353,9 @@ interface ToolPricingSummary {
|
|
|
353
353
|
* schema, examples, pricing, and extraction guidance before executing.
|
|
354
354
|
*/
|
|
355
355
|
interface ToolDefinition {
|
|
356
|
-
/** Unique tool identifier used in API calls (e.g. `"
|
|
356
|
+
/** Unique tool identifier used in API calls (e.g. `"dropleads_search_people"`). */
|
|
357
357
|
toolId: string;
|
|
358
|
-
/** Provider that backs this tool (e.g. `"
|
|
358
|
+
/** Provider that backs this tool (e.g. `"hunter"`, `"dropleads"`, `"test"`). */
|
|
359
359
|
provider: string;
|
|
360
360
|
/** Human-readable name for display. */
|
|
361
361
|
displayName: string;
|
|
@@ -369,6 +369,8 @@ interface ToolDefinition {
|
|
|
369
369
|
operationId?: string;
|
|
370
370
|
/** Alternative names that resolve to this tool. */
|
|
371
371
|
operationAliases?: string[];
|
|
372
|
+
/** Explicit globally runnable play reference for play-backed catalog entries. */
|
|
373
|
+
playReference?: `prebuilt/${string}`;
|
|
372
374
|
/** Whether detailed input schema is available from `tools describe`. */
|
|
373
375
|
hasInputSchema?: boolean;
|
|
374
376
|
/** Whether detailed output schema is available from `tools describe`. */
|
|
@@ -515,8 +517,8 @@ interface ToolSearchResult {
|
|
|
515
517
|
*
|
|
516
518
|
* @example
|
|
517
519
|
* ```typescript
|
|
518
|
-
* const meta = await client.getTool('
|
|
519
|
-
* console.log(meta.displayName); // "
|
|
520
|
+
* const meta = await client.getTool('dropleads_search_people');
|
|
521
|
+
* console.log(meta.displayName); // "DropLeads People Search"
|
|
520
522
|
* console.log(meta.estimatedCreditsRange); // "1-5"
|
|
521
523
|
* console.log(meta.samples); // { input: {...}, output: {...} }
|
|
522
524
|
* ```
|
|
@@ -1101,8 +1103,9 @@ interface StartPlayRunRequest {
|
|
|
1101
1103
|
/** Optionally let the start request wait briefly and return a terminal result. */
|
|
1102
1104
|
waitForCompletionMs?: number;
|
|
1103
1105
|
/**
|
|
1104
|
-
* Per-run execution profile override. The server defaults to
|
|
1105
|
-
* tests can pass
|
|
1106
|
+
* Per-run execution profile override. The server defaults to workers_edge;
|
|
1107
|
+
* tests and runtime probes can pass a different profile here. Most callers
|
|
1108
|
+
* should leave this unset.
|
|
1106
1109
|
*/
|
|
1107
1110
|
profile?: string;
|
|
1108
1111
|
}
|
|
@@ -1462,10 +1465,12 @@ type BillingPlanEntry = {
|
|
|
1462
1465
|
acquirable: boolean;
|
|
1463
1466
|
};
|
|
1464
1467
|
/** One usage metric published in the billing catalog. */
|
|
1465
|
-
type
|
|
1468
|
+
type BillingMeterEntry = {
|
|
1466
1469
|
id: string;
|
|
1467
1470
|
name: string;
|
|
1468
1471
|
};
|
|
1472
|
+
/** @deprecated Use BillingMeterEntry. Retained for wire/API alias compatibility. */
|
|
1473
|
+
type BillingMetricEntry = BillingMeterEntry;
|
|
1469
1474
|
/** The caller's active plan as reported by the plans endpoint. */
|
|
1470
1475
|
type BillingActivePlan = {
|
|
1471
1476
|
plan_family_id: string;
|
|
@@ -1487,6 +1492,8 @@ type BillingPlansResult = {
|
|
|
1487
1492
|
catalog_version: string;
|
|
1488
1493
|
active_plan: BillingActivePlan;
|
|
1489
1494
|
plans: BillingPlanEntry[];
|
|
1495
|
+
meters: BillingMeterEntry[];
|
|
1496
|
+
/** @deprecated Use meters. Retained for installed SDK compatibility. */
|
|
1490
1497
|
metrics: BillingMetricEntry[];
|
|
1491
1498
|
};
|
|
1492
1499
|
/**
|
|
@@ -1610,12 +1617,12 @@ declare class DeeplineClient {
|
|
|
1610
1617
|
* Returns everything from {@link ToolDefinition} plus pricing info, sample
|
|
1611
1618
|
* inputs/outputs, failure modes, and cost estimates.
|
|
1612
1619
|
*
|
|
1613
|
-
* @param toolId - Tool identifier (e.g. `"
|
|
1620
|
+
* @param toolId - Tool identifier (e.g. `"dropleads_search_people"`)
|
|
1614
1621
|
* @returns Full tool metadata
|
|
1615
1622
|
*
|
|
1616
1623
|
* @example
|
|
1617
1624
|
* ```typescript
|
|
1618
|
-
* const meta = await client.getTool('
|
|
1625
|
+
* const meta = await client.getTool('dropleads_search_people');
|
|
1619
1626
|
* console.log(`Cost: ${meta.estimatedCreditsRange} credits`);
|
|
1620
1627
|
* console.log(`Input schema:`, meta.inputSchema);
|
|
1621
1628
|
* ```
|
|
@@ -2362,7 +2369,7 @@ declare const SDK_API_CONTRACT: string;
|
|
|
2362
2369
|
*
|
|
2363
2370
|
* const client = new DeeplineClient();
|
|
2364
2371
|
* try {
|
|
2365
|
-
* await client.executeTool('
|
|
2372
|
+
* await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
2366
2373
|
* } catch (err) {
|
|
2367
2374
|
* if (err instanceof AuthError) {
|
|
2368
2375
|
* console.error('Bad API key — run: deepline auth register');
|
|
@@ -2425,7 +2432,7 @@ declare class AuthError extends DeeplineError {
|
|
|
2425
2432
|
* import { RateLimitError } from 'deepline';
|
|
2426
2433
|
*
|
|
2427
2434
|
* try {
|
|
2428
|
-
* await client.executeTool('
|
|
2435
|
+
* await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
2429
2436
|
* } catch (err) {
|
|
2430
2437
|
* if (err instanceof RateLimitError) {
|
|
2431
2438
|
* console.log(`Retry after ${err.retryAfterMs}ms`);
|
|
@@ -2940,6 +2947,8 @@ type PlayBindings = {
|
|
|
2940
2947
|
/** IANA timezone (e.g. `'America/New_York'`). Defaults to UTC. */
|
|
2941
2948
|
timezone?: string;
|
|
2942
2949
|
};
|
|
2950
|
+
/** Customer DB row-change listeners that wake this play when published. */
|
|
2951
|
+
sqlListeners?: SqlListenerDeclaration[];
|
|
2943
2952
|
/**
|
|
2944
2953
|
* Customer-authored play secrets this play is allowed to use at runtime.
|
|
2945
2954
|
* Values are never bundled or exposed by the SDK; access them with
|
|
@@ -2948,6 +2957,51 @@ type PlayBindings = {
|
|
|
2948
2957
|
*/
|
|
2949
2958
|
secrets?: readonly string[];
|
|
2950
2959
|
};
|
|
2960
|
+
type SqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
|
|
2961
|
+
type SqlListenerFilterScalar = string | number | boolean | null;
|
|
2962
|
+
type SqlListenerFilterOperator = {
|
|
2963
|
+
eq?: SqlListenerFilterScalar;
|
|
2964
|
+
neq?: SqlListenerFilterScalar;
|
|
2965
|
+
in?: SqlListenerFilterScalar[];
|
|
2966
|
+
notIn?: SqlListenerFilterScalar[];
|
|
2967
|
+
isNull?: true;
|
|
2968
|
+
isNotNull?: true;
|
|
2969
|
+
ilike?: string;
|
|
2970
|
+
};
|
|
2971
|
+
type SqlListenerWhere = {
|
|
2972
|
+
before?: Record<string, SqlListenerFilterOperator>;
|
|
2973
|
+
after?: Record<string, SqlListenerFilterOperator>;
|
|
2974
|
+
};
|
|
2975
|
+
type SqlListenerDeclaration = {
|
|
2976
|
+
/** Short id unique inside this play. Deepline stores it as playName.id. */
|
|
2977
|
+
id: string;
|
|
2978
|
+
/** Modeled monitor tool id, for example "tamradar.company_radar". */
|
|
2979
|
+
tool: string;
|
|
2980
|
+
/** Stream key exposed by the modeled monitor tool, for example "company_job_openings". */
|
|
2981
|
+
stream: string;
|
|
2982
|
+
/** Row operations that should wake this play. Defaults to INSERT and UPDATE. */
|
|
2983
|
+
operations?: SqlListenerOperation[];
|
|
2984
|
+
/** Optional DB-side row filter over top-level before/after fields. */
|
|
2985
|
+
where?: SqlListenerWhere;
|
|
2986
|
+
};
|
|
2987
|
+
type SqlListenerEvent<T extends object = Record<string, unknown>> = {
|
|
2988
|
+
tool: string;
|
|
2989
|
+
stream: string;
|
|
2990
|
+
operation: SqlListenerOperation;
|
|
2991
|
+
before: T | null;
|
|
2992
|
+
after: T | null;
|
|
2993
|
+
changedAt: string;
|
|
2994
|
+
metadata: {
|
|
2995
|
+
outboxId: string;
|
|
2996
|
+
listenerId: string;
|
|
2997
|
+
table: string;
|
|
2998
|
+
};
|
|
2999
|
+
};
|
|
3000
|
+
type SqlQuery = {
|
|
3001
|
+
readonly kind: 'sql.query';
|
|
3002
|
+
readonly text: string;
|
|
3003
|
+
readonly values: readonly unknown[];
|
|
3004
|
+
};
|
|
2951
3005
|
declare const SECRET_HANDLE_BRAND: unique symbol;
|
|
2952
3006
|
type SecretHandle = {
|
|
2953
3007
|
readonly [SECRET_HANDLE_BRAND]: never;
|
|
@@ -3092,6 +3146,7 @@ type PlayStepProgramStep = {
|
|
|
3092
3146
|
};
|
|
3093
3147
|
type ColumnResolver<Row, Value> = StepResolver<Row, Value> | ConditionalStepResolver<Row, Value> | StepProgramResolver<Row, Value>;
|
|
3094
3148
|
type StepProgramOutput<TProgram> = TProgram extends StepProgram<unknown, infer Output, unknown> ? Output : never;
|
|
3149
|
+
type RunnableStepProgram<TInput, TOutput> = Pick<StepProgram<TInput, never, TOutput>, 'kind' | 'steps' | 'returnResolver' | '__inputType'>;
|
|
3095
3150
|
/**
|
|
3096
3151
|
* Builder returned by `ctx.dataset(...)` for row-level durable columns.
|
|
3097
3152
|
*
|
|
@@ -3335,6 +3390,13 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3335
3390
|
*/
|
|
3336
3391
|
execute<TOutput = LoosePlayObject>(request: ToolExecutionRequest): Promise<ToolExecuteResult<TOutput>>;
|
|
3337
3392
|
};
|
|
3393
|
+
/** Customer DB query namespace for play handlers. */
|
|
3394
|
+
customerDb: {
|
|
3395
|
+
query<TRow extends object = Record<string, unknown>>(statement: SqlQuery | string, options?: {
|
|
3396
|
+
maxRows?: number;
|
|
3397
|
+
timeoutMs?: number;
|
|
3398
|
+
}): Promise<TRow[]>;
|
|
3399
|
+
};
|
|
3338
3400
|
/**
|
|
3339
3401
|
* Execute a single tool by stable step key and tool ID.
|
|
3340
3402
|
*
|
|
@@ -3359,7 +3421,7 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3359
3421
|
*
|
|
3360
3422
|
* @sdkReference runtime 180 ctx.runSteps(program, input, options)
|
|
3361
3423
|
*/
|
|
3362
|
-
runSteps<TInput extends Record<string, unknown>, TOutput>(program:
|
|
3424
|
+
runSteps<TInput extends Record<string, unknown>, TOutput>(program: RunnableStepProgram<TInput, TOutput>, input: TInput, options?: {
|
|
3363
3425
|
description?: string;
|
|
3364
3426
|
}): Promise<TOutput>;
|
|
3365
3427
|
/**
|
|
@@ -3434,7 +3496,7 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3434
3496
|
* @sdkReference runtime 140 ctx.runPlay(key, playRef, input, options)
|
|
3435
3497
|
*/
|
|
3436
3498
|
runPlay<TOutput = unknown>(key: string, playRef: string | PlayReferenceLike, input: Record<string, unknown>, options: {
|
|
3437
|
-
description
|
|
3499
|
+
description: string;
|
|
3438
3500
|
staleAfterSeconds?: number;
|
|
3439
3501
|
}): Promise<TOutput>;
|
|
3440
3502
|
/**
|
|
@@ -3592,6 +3654,7 @@ interface DeeplineNamedPlay<TInput = Record<string, unknown>, TOutput = unknown>
|
|
|
3592
3654
|
*/
|
|
3593
3655
|
run(input: TInput, options?: {
|
|
3594
3656
|
revisionId?: string;
|
|
3657
|
+
profile?: string;
|
|
3595
3658
|
}): Promise<PlayJob<TOutput>>;
|
|
3596
3659
|
/**
|
|
3597
3660
|
* Run this play and wait for completion.
|
|
@@ -3603,6 +3666,7 @@ interface DeeplineNamedPlay<TInput = Record<string, unknown>, TOutput = unknown>
|
|
|
3603
3666
|
*/
|
|
3604
3667
|
runSync(input: TInput, options?: {
|
|
3605
3668
|
revisionId?: string;
|
|
3669
|
+
profile?: string;
|
|
3606
3670
|
}): Promise<TOutput>;
|
|
3607
3671
|
}
|
|
3608
3672
|
/**
|
|
@@ -3762,7 +3826,7 @@ declare class DeeplineContext {
|
|
|
3762
3826
|
* @example
|
|
3763
3827
|
* ```typescript
|
|
3764
3828
|
* const tools = await deepline.tools.list();
|
|
3765
|
-
* const meta = await deepline.tools.get('
|
|
3829
|
+
* const meta = await deepline.tools.get('dropleads_search_people');
|
|
3766
3830
|
* const companyLookup = await deepline.tools.execute('test_company_search', { domain: 'stripe.com' });
|
|
3767
3831
|
* const company = companyLookup.toolResponse.raw;
|
|
3768
3832
|
* ```
|
|
@@ -4023,8 +4087,8 @@ type Scalar = string | number | boolean | null;
|
|
|
4023
4087
|
*
|
|
4024
4088
|
* @example Using configured paths (from tool metadata)
|
|
4025
4089
|
* ```typescript
|
|
4026
|
-
* const meta = await client.getTool('
|
|
4027
|
-
* const result = await client.executeTool('
|
|
4090
|
+
* const meta = await client.getTool('dropleads_search_people');
|
|
4091
|
+
* const result = await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
4028
4092
|
*
|
|
4029
4093
|
* const list = tryConvertToList(result, {
|
|
4030
4094
|
* listExtractorPaths: meta.listExtractorPaths,
|
|
@@ -4115,4 +4179,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
4115
4179
|
*/
|
|
4116
4180
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
4117
4181
|
|
|
4118
|
-
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, PHONE_STATUS_VALUES, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PhoneStatus, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type StaleAfterSeconds, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
|
4182
|
+
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, PHONE_STATUS_VALUES, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PhoneStatus, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StaleAfterSeconds, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -353,9 +353,9 @@ interface ToolPricingSummary {
|
|
|
353
353
|
* schema, examples, pricing, and extraction guidance before executing.
|
|
354
354
|
*/
|
|
355
355
|
interface ToolDefinition {
|
|
356
|
-
/** Unique tool identifier used in API calls (e.g. `"
|
|
356
|
+
/** Unique tool identifier used in API calls (e.g. `"dropleads_search_people"`). */
|
|
357
357
|
toolId: string;
|
|
358
|
-
/** Provider that backs this tool (e.g. `"
|
|
358
|
+
/** Provider that backs this tool (e.g. `"hunter"`, `"dropleads"`, `"test"`). */
|
|
359
359
|
provider: string;
|
|
360
360
|
/** Human-readable name for display. */
|
|
361
361
|
displayName: string;
|
|
@@ -369,6 +369,8 @@ interface ToolDefinition {
|
|
|
369
369
|
operationId?: string;
|
|
370
370
|
/** Alternative names that resolve to this tool. */
|
|
371
371
|
operationAliases?: string[];
|
|
372
|
+
/** Explicit globally runnable play reference for play-backed catalog entries. */
|
|
373
|
+
playReference?: `prebuilt/${string}`;
|
|
372
374
|
/** Whether detailed input schema is available from `tools describe`. */
|
|
373
375
|
hasInputSchema?: boolean;
|
|
374
376
|
/** Whether detailed output schema is available from `tools describe`. */
|
|
@@ -515,8 +517,8 @@ interface ToolSearchResult {
|
|
|
515
517
|
*
|
|
516
518
|
* @example
|
|
517
519
|
* ```typescript
|
|
518
|
-
* const meta = await client.getTool('
|
|
519
|
-
* console.log(meta.displayName); // "
|
|
520
|
+
* const meta = await client.getTool('dropleads_search_people');
|
|
521
|
+
* console.log(meta.displayName); // "DropLeads People Search"
|
|
520
522
|
* console.log(meta.estimatedCreditsRange); // "1-5"
|
|
521
523
|
* console.log(meta.samples); // { input: {...}, output: {...} }
|
|
522
524
|
* ```
|
|
@@ -1101,8 +1103,9 @@ interface StartPlayRunRequest {
|
|
|
1101
1103
|
/** Optionally let the start request wait briefly and return a terminal result. */
|
|
1102
1104
|
waitForCompletionMs?: number;
|
|
1103
1105
|
/**
|
|
1104
|
-
* Per-run execution profile override. The server defaults to
|
|
1105
|
-
* tests can pass
|
|
1106
|
+
* Per-run execution profile override. The server defaults to workers_edge;
|
|
1107
|
+
* tests and runtime probes can pass a different profile here. Most callers
|
|
1108
|
+
* should leave this unset.
|
|
1106
1109
|
*/
|
|
1107
1110
|
profile?: string;
|
|
1108
1111
|
}
|
|
@@ -1462,10 +1465,12 @@ type BillingPlanEntry = {
|
|
|
1462
1465
|
acquirable: boolean;
|
|
1463
1466
|
};
|
|
1464
1467
|
/** One usage metric published in the billing catalog. */
|
|
1465
|
-
type
|
|
1468
|
+
type BillingMeterEntry = {
|
|
1466
1469
|
id: string;
|
|
1467
1470
|
name: string;
|
|
1468
1471
|
};
|
|
1472
|
+
/** @deprecated Use BillingMeterEntry. Retained for wire/API alias compatibility. */
|
|
1473
|
+
type BillingMetricEntry = BillingMeterEntry;
|
|
1469
1474
|
/** The caller's active plan as reported by the plans endpoint. */
|
|
1470
1475
|
type BillingActivePlan = {
|
|
1471
1476
|
plan_family_id: string;
|
|
@@ -1487,6 +1492,8 @@ type BillingPlansResult = {
|
|
|
1487
1492
|
catalog_version: string;
|
|
1488
1493
|
active_plan: BillingActivePlan;
|
|
1489
1494
|
plans: BillingPlanEntry[];
|
|
1495
|
+
meters: BillingMeterEntry[];
|
|
1496
|
+
/** @deprecated Use meters. Retained for installed SDK compatibility. */
|
|
1490
1497
|
metrics: BillingMetricEntry[];
|
|
1491
1498
|
};
|
|
1492
1499
|
/**
|
|
@@ -1610,12 +1617,12 @@ declare class DeeplineClient {
|
|
|
1610
1617
|
* Returns everything from {@link ToolDefinition} plus pricing info, sample
|
|
1611
1618
|
* inputs/outputs, failure modes, and cost estimates.
|
|
1612
1619
|
*
|
|
1613
|
-
* @param toolId - Tool identifier (e.g. `"
|
|
1620
|
+
* @param toolId - Tool identifier (e.g. `"dropleads_search_people"`)
|
|
1614
1621
|
* @returns Full tool metadata
|
|
1615
1622
|
*
|
|
1616
1623
|
* @example
|
|
1617
1624
|
* ```typescript
|
|
1618
|
-
* const meta = await client.getTool('
|
|
1625
|
+
* const meta = await client.getTool('dropleads_search_people');
|
|
1619
1626
|
* console.log(`Cost: ${meta.estimatedCreditsRange} credits`);
|
|
1620
1627
|
* console.log(`Input schema:`, meta.inputSchema);
|
|
1621
1628
|
* ```
|
|
@@ -2362,7 +2369,7 @@ declare const SDK_API_CONTRACT: string;
|
|
|
2362
2369
|
*
|
|
2363
2370
|
* const client = new DeeplineClient();
|
|
2364
2371
|
* try {
|
|
2365
|
-
* await client.executeTool('
|
|
2372
|
+
* await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
2366
2373
|
* } catch (err) {
|
|
2367
2374
|
* if (err instanceof AuthError) {
|
|
2368
2375
|
* console.error('Bad API key — run: deepline auth register');
|
|
@@ -2425,7 +2432,7 @@ declare class AuthError extends DeeplineError {
|
|
|
2425
2432
|
* import { RateLimitError } from 'deepline';
|
|
2426
2433
|
*
|
|
2427
2434
|
* try {
|
|
2428
|
-
* await client.executeTool('
|
|
2435
|
+
* await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
2429
2436
|
* } catch (err) {
|
|
2430
2437
|
* if (err instanceof RateLimitError) {
|
|
2431
2438
|
* console.log(`Retry after ${err.retryAfterMs}ms`);
|
|
@@ -2940,6 +2947,8 @@ type PlayBindings = {
|
|
|
2940
2947
|
/** IANA timezone (e.g. `'America/New_York'`). Defaults to UTC. */
|
|
2941
2948
|
timezone?: string;
|
|
2942
2949
|
};
|
|
2950
|
+
/** Customer DB row-change listeners that wake this play when published. */
|
|
2951
|
+
sqlListeners?: SqlListenerDeclaration[];
|
|
2943
2952
|
/**
|
|
2944
2953
|
* Customer-authored play secrets this play is allowed to use at runtime.
|
|
2945
2954
|
* Values are never bundled or exposed by the SDK; access them with
|
|
@@ -2948,6 +2957,51 @@ type PlayBindings = {
|
|
|
2948
2957
|
*/
|
|
2949
2958
|
secrets?: readonly string[];
|
|
2950
2959
|
};
|
|
2960
|
+
type SqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
|
|
2961
|
+
type SqlListenerFilterScalar = string | number | boolean | null;
|
|
2962
|
+
type SqlListenerFilterOperator = {
|
|
2963
|
+
eq?: SqlListenerFilterScalar;
|
|
2964
|
+
neq?: SqlListenerFilterScalar;
|
|
2965
|
+
in?: SqlListenerFilterScalar[];
|
|
2966
|
+
notIn?: SqlListenerFilterScalar[];
|
|
2967
|
+
isNull?: true;
|
|
2968
|
+
isNotNull?: true;
|
|
2969
|
+
ilike?: string;
|
|
2970
|
+
};
|
|
2971
|
+
type SqlListenerWhere = {
|
|
2972
|
+
before?: Record<string, SqlListenerFilterOperator>;
|
|
2973
|
+
after?: Record<string, SqlListenerFilterOperator>;
|
|
2974
|
+
};
|
|
2975
|
+
type SqlListenerDeclaration = {
|
|
2976
|
+
/** Short id unique inside this play. Deepline stores it as playName.id. */
|
|
2977
|
+
id: string;
|
|
2978
|
+
/** Modeled monitor tool id, for example "tamradar.company_radar". */
|
|
2979
|
+
tool: string;
|
|
2980
|
+
/** Stream key exposed by the modeled monitor tool, for example "company_job_openings". */
|
|
2981
|
+
stream: string;
|
|
2982
|
+
/** Row operations that should wake this play. Defaults to INSERT and UPDATE. */
|
|
2983
|
+
operations?: SqlListenerOperation[];
|
|
2984
|
+
/** Optional DB-side row filter over top-level before/after fields. */
|
|
2985
|
+
where?: SqlListenerWhere;
|
|
2986
|
+
};
|
|
2987
|
+
type SqlListenerEvent<T extends object = Record<string, unknown>> = {
|
|
2988
|
+
tool: string;
|
|
2989
|
+
stream: string;
|
|
2990
|
+
operation: SqlListenerOperation;
|
|
2991
|
+
before: T | null;
|
|
2992
|
+
after: T | null;
|
|
2993
|
+
changedAt: string;
|
|
2994
|
+
metadata: {
|
|
2995
|
+
outboxId: string;
|
|
2996
|
+
listenerId: string;
|
|
2997
|
+
table: string;
|
|
2998
|
+
};
|
|
2999
|
+
};
|
|
3000
|
+
type SqlQuery = {
|
|
3001
|
+
readonly kind: 'sql.query';
|
|
3002
|
+
readonly text: string;
|
|
3003
|
+
readonly values: readonly unknown[];
|
|
3004
|
+
};
|
|
2951
3005
|
declare const SECRET_HANDLE_BRAND: unique symbol;
|
|
2952
3006
|
type SecretHandle = {
|
|
2953
3007
|
readonly [SECRET_HANDLE_BRAND]: never;
|
|
@@ -3092,6 +3146,7 @@ type PlayStepProgramStep = {
|
|
|
3092
3146
|
};
|
|
3093
3147
|
type ColumnResolver<Row, Value> = StepResolver<Row, Value> | ConditionalStepResolver<Row, Value> | StepProgramResolver<Row, Value>;
|
|
3094
3148
|
type StepProgramOutput<TProgram> = TProgram extends StepProgram<unknown, infer Output, unknown> ? Output : never;
|
|
3149
|
+
type RunnableStepProgram<TInput, TOutput> = Pick<StepProgram<TInput, never, TOutput>, 'kind' | 'steps' | 'returnResolver' | '__inputType'>;
|
|
3095
3150
|
/**
|
|
3096
3151
|
* Builder returned by `ctx.dataset(...)` for row-level durable columns.
|
|
3097
3152
|
*
|
|
@@ -3335,6 +3390,13 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3335
3390
|
*/
|
|
3336
3391
|
execute<TOutput = LoosePlayObject>(request: ToolExecutionRequest): Promise<ToolExecuteResult<TOutput>>;
|
|
3337
3392
|
};
|
|
3393
|
+
/** Customer DB query namespace for play handlers. */
|
|
3394
|
+
customerDb: {
|
|
3395
|
+
query<TRow extends object = Record<string, unknown>>(statement: SqlQuery | string, options?: {
|
|
3396
|
+
maxRows?: number;
|
|
3397
|
+
timeoutMs?: number;
|
|
3398
|
+
}): Promise<TRow[]>;
|
|
3399
|
+
};
|
|
3338
3400
|
/**
|
|
3339
3401
|
* Execute a single tool by stable step key and tool ID.
|
|
3340
3402
|
*
|
|
@@ -3359,7 +3421,7 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3359
3421
|
*
|
|
3360
3422
|
* @sdkReference runtime 180 ctx.runSteps(program, input, options)
|
|
3361
3423
|
*/
|
|
3362
|
-
runSteps<TInput extends Record<string, unknown>, TOutput>(program:
|
|
3424
|
+
runSteps<TInput extends Record<string, unknown>, TOutput>(program: RunnableStepProgram<TInput, TOutput>, input: TInput, options?: {
|
|
3363
3425
|
description?: string;
|
|
3364
3426
|
}): Promise<TOutput>;
|
|
3365
3427
|
/**
|
|
@@ -3434,7 +3496,7 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3434
3496
|
* @sdkReference runtime 140 ctx.runPlay(key, playRef, input, options)
|
|
3435
3497
|
*/
|
|
3436
3498
|
runPlay<TOutput = unknown>(key: string, playRef: string | PlayReferenceLike, input: Record<string, unknown>, options: {
|
|
3437
|
-
description
|
|
3499
|
+
description: string;
|
|
3438
3500
|
staleAfterSeconds?: number;
|
|
3439
3501
|
}): Promise<TOutput>;
|
|
3440
3502
|
/**
|
|
@@ -3592,6 +3654,7 @@ interface DeeplineNamedPlay<TInput = Record<string, unknown>, TOutput = unknown>
|
|
|
3592
3654
|
*/
|
|
3593
3655
|
run(input: TInput, options?: {
|
|
3594
3656
|
revisionId?: string;
|
|
3657
|
+
profile?: string;
|
|
3595
3658
|
}): Promise<PlayJob<TOutput>>;
|
|
3596
3659
|
/**
|
|
3597
3660
|
* Run this play and wait for completion.
|
|
@@ -3603,6 +3666,7 @@ interface DeeplineNamedPlay<TInput = Record<string, unknown>, TOutput = unknown>
|
|
|
3603
3666
|
*/
|
|
3604
3667
|
runSync(input: TInput, options?: {
|
|
3605
3668
|
revisionId?: string;
|
|
3669
|
+
profile?: string;
|
|
3606
3670
|
}): Promise<TOutput>;
|
|
3607
3671
|
}
|
|
3608
3672
|
/**
|
|
@@ -3762,7 +3826,7 @@ declare class DeeplineContext {
|
|
|
3762
3826
|
* @example
|
|
3763
3827
|
* ```typescript
|
|
3764
3828
|
* const tools = await deepline.tools.list();
|
|
3765
|
-
* const meta = await deepline.tools.get('
|
|
3829
|
+
* const meta = await deepline.tools.get('dropleads_search_people');
|
|
3766
3830
|
* const companyLookup = await deepline.tools.execute('test_company_search', { domain: 'stripe.com' });
|
|
3767
3831
|
* const company = companyLookup.toolResponse.raw;
|
|
3768
3832
|
* ```
|
|
@@ -4023,8 +4087,8 @@ type Scalar = string | number | boolean | null;
|
|
|
4023
4087
|
*
|
|
4024
4088
|
* @example Using configured paths (from tool metadata)
|
|
4025
4089
|
* ```typescript
|
|
4026
|
-
* const meta = await client.getTool('
|
|
4027
|
-
* const result = await client.executeTool('
|
|
4090
|
+
* const meta = await client.getTool('dropleads_search_people');
|
|
4091
|
+
* const result = await client.executeTool('dropleads_search_people', { query: 'cto' });
|
|
4028
4092
|
*
|
|
4029
4093
|
* const list = tryConvertToList(result, {
|
|
4030
4094
|
* listExtractorPaths: meta.listExtractorPaths,
|
|
@@ -4115,4 +4179,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
4115
4179
|
*/
|
|
4116
4180
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
4117
4181
|
|
|
4118
|
-
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, PHONE_STATUS_VALUES, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PhoneStatus, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type StaleAfterSeconds, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
|
4182
|
+
export { AuthError, type BillingCreditPool, type BillingInvoiceEntry, type BillingInvoicesResult, type BillingNamespace, type BillingSubscriptionCancelResult, type BillingSubscriptionStatus, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, type CustomerDbQueryResult, DEEPLINE_EXTRACTOR_TARGETS, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, type DeeplineEmailStatusGetterValue, DeeplineError, type DeeplineExtractorTarget, type DeeplineGetterValue, type DeeplineGetterValueMap, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCategory, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, type FileInput, JOB_CHANGE_STATUS_VALUES, type JobChangeStatus, type LiveEventEnvelope, PHONE_STATUS_VALUES, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PhoneStatus, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlaySheetRow, type PlaySheetRowsResult, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PreviousCell, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, RunObserveTransportUnavailableError, type RunsListOptions, type RunsLogsOptions, type RunsLogsResult, type RunsNamespace, type RunsTailOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StaleAfterSeconds, type StartPlayRunRequest, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, type StopPlayRunResult, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolExecutionRequest, type ToolMetadata, type ToolSearchOptions, type ToolSearchResult, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isDeeplineExtractorTarget, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|