deepline 0.1.188 → 0.1.189
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/bundling-sources/sdk/src/play.ts +16 -7
- package/dist/bundling-sources/sdk/src/release.ts +2 -2
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +1 -0
- package/dist/cli/index.js +2 -2
- package/dist/cli/index.mjs +2 -2
- package/dist/{compiler-manifest-OwORQ07f.d.mts → compiler-manifest-j6z8qzpd.d.mts} +1 -0
- package/dist/{compiler-manifest-OwORQ07f.d.ts → compiler-manifest-j6z8qzpd.d.ts} +1 -0
- package/dist/index.d.mts +17 -8
- package/dist/index.d.ts +17 -8
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/plays/bundle-play-file.d.mts +2 -2
- package/dist/plays/bundle-play-file.d.ts +2 -2
- package/package.json +1 -1
|
@@ -612,7 +612,7 @@ export type CsvOptions = {
|
|
|
612
612
|
*
|
|
613
613
|
* @example
|
|
614
614
|
* ```typescript
|
|
615
|
-
* definePlay('example', async (ctx, input: { domain: string }) => {
|
|
615
|
+
* definePlay('example', async (ctx, input: { domain: string; csv: string }) => {
|
|
616
616
|
* // Call a tool
|
|
617
617
|
* const company = await ctx.tools.execute({
|
|
618
618
|
* id: 'company_search',
|
|
@@ -633,8 +633,8 @@ export type CsvOptions = {
|
|
|
633
633
|
* }))
|
|
634
634
|
* .run({ description: 'Look up company details.' });
|
|
635
635
|
*
|
|
636
|
-
* // Load CSV data
|
|
637
|
-
* const leads = await ctx.csv(
|
|
636
|
+
* // Load CSV data from a submitted play input field.
|
|
637
|
+
* const leads = await ctx.csv(input.csv);
|
|
638
638
|
*
|
|
639
639
|
* // Emit a log line (visible in `play tail`)
|
|
640
640
|
* ctx.log(`Loaded ${await leads.count()} leads`);
|
|
@@ -642,8 +642,8 @@ export type CsvOptions = {
|
|
|
642
642
|
* // Pause execution
|
|
643
643
|
* await ctx.sleep(1000);
|
|
644
644
|
*
|
|
645
|
-
* // Access the
|
|
646
|
-
*
|
|
645
|
+
* // Access submitted input through the handler's second argument.
|
|
646
|
+
* ctx.log(`Running for ${input.domain}`);
|
|
647
647
|
*
|
|
648
648
|
* return { company, enriched };
|
|
649
649
|
* });
|
|
@@ -656,7 +656,12 @@ export interface DeeplinePlayRuntimeContext {
|
|
|
656
656
|
* Use this when a play receives a CSV path from the CLI or API and row work
|
|
657
657
|
* should continue through {@link DeeplinePlayRuntimeContext.dataset}. The path is
|
|
658
658
|
* normally an input field such as `input.csv`, populated by
|
|
659
|
-
* `deepline plays run my.play.ts --csv rows.csv`.
|
|
659
|
+
* `deepline plays run my.play.ts --csv rows.csv`. Prefer `input.csv` for row
|
|
660
|
+
* data so the CLI can run strict CSV preflight before starting a run.
|
|
661
|
+
* Pass-through flags can also target non-reserved field names. If a play
|
|
662
|
+
* intentionally calls `ctx.csv(input.file)`, use `--input
|
|
663
|
+
* '{"file":"rows.csv"}'` because `--file` is reserved for the play source
|
|
664
|
+
* path.
|
|
660
665
|
*
|
|
661
666
|
* Each CSV row becomes an object keyed by canonical column names. Use
|
|
662
667
|
* `options.columns` / `options.rename` to map user headers such as
|
|
@@ -903,7 +908,11 @@ export interface DeeplinePlayRuntimeContext {
|
|
|
903
908
|
*/
|
|
904
909
|
sleep(ms: number): Promise<void>;
|
|
905
910
|
|
|
906
|
-
/**
|
|
911
|
+
/**
|
|
912
|
+
* @deprecated Read submitted play input from the handler's second argument:
|
|
913
|
+
* `definePlay('example', async (ctx, input) => ...)`. This legacy field is
|
|
914
|
+
* not the supported V2 play input API.
|
|
915
|
+
*/
|
|
907
916
|
readonly input: Record<string, unknown>;
|
|
908
917
|
}
|
|
909
918
|
|
|
@@ -105,10 +105,10 @@ export const SDK_RELEASE = {
|
|
|
105
105
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
106
106
|
// fields shipped in 0.1.153.
|
|
107
107
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
108
|
-
version: '0.1.
|
|
108
|
+
version: '0.1.189',
|
|
109
109
|
apiContract: '2026-06-dataset-handle-results-hard-cutover',
|
|
110
110
|
supportPolicy: {
|
|
111
|
-
latest: '0.1.
|
|
111
|
+
latest: '0.1.189',
|
|
112
112
|
minimumSupported: '0.1.53',
|
|
113
113
|
deprecatedBelow: '0.1.53',
|
|
114
114
|
commandMinimumSupported: [
|
|
@@ -510,6 +510,7 @@ export type PlayStaticControlFlowBranch = {
|
|
|
510
510
|
label: string;
|
|
511
511
|
/** The arm's condition source text, when it has one (omitted for `else`). */
|
|
512
512
|
condition?: string;
|
|
513
|
+
/** Static work in this arm. Empty for log/throw/return-only arms. */
|
|
513
514
|
steps: PlayStaticSubstep[];
|
|
514
515
|
};
|
|
515
516
|
|
package/dist/cli/index.js
CHANGED
|
@@ -623,10 +623,10 @@ var SDK_RELEASE = {
|
|
|
623
623
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
624
624
|
// fields shipped in 0.1.153.
|
|
625
625
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
626
|
-
version: "0.1.
|
|
626
|
+
version: "0.1.189",
|
|
627
627
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
628
628
|
supportPolicy: {
|
|
629
|
-
latest: "0.1.
|
|
629
|
+
latest: "0.1.189",
|
|
630
630
|
minimumSupported: "0.1.53",
|
|
631
631
|
deprecatedBelow: "0.1.53",
|
|
632
632
|
commandMinimumSupported: [
|
package/dist/cli/index.mjs
CHANGED
|
@@ -608,10 +608,10 @@ var SDK_RELEASE = {
|
|
|
608
608
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
609
609
|
// fields shipped in 0.1.153.
|
|
610
610
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
611
|
-
version: "0.1.
|
|
611
|
+
version: "0.1.189",
|
|
612
612
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
613
613
|
supportPolicy: {
|
|
614
|
-
latest: "0.1.
|
|
614
|
+
latest: "0.1.189",
|
|
615
615
|
minimumSupported: "0.1.53",
|
|
616
616
|
deprecatedBelow: "0.1.53",
|
|
617
617
|
commandMinimumSupported: [
|
|
@@ -111,6 +111,7 @@ type PlayStaticControlFlowBranch = {
|
|
|
111
111
|
label: string;
|
|
112
112
|
/** The arm's condition source text, when it has one (omitted for `else`). */
|
|
113
113
|
condition?: string;
|
|
114
|
+
/** Static work in this arm. Empty for log/throw/return-only arms. */
|
|
114
115
|
steps: PlayStaticSubstep[];
|
|
115
116
|
};
|
|
116
117
|
type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
|
|
@@ -111,6 +111,7 @@ type PlayStaticControlFlowBranch = {
|
|
|
111
111
|
label: string;
|
|
112
112
|
/** The arm's condition source text, when it has one (omitted for `else`). */
|
|
113
113
|
condition?: string;
|
|
114
|
+
/** Static work in this arm. Empty for log/throw/return-only arms. */
|
|
114
115
|
steps: PlayStaticSubstep[];
|
|
115
116
|
};
|
|
116
117
|
type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PlayCompilerManifest } from './compiler-manifest-
|
|
1
|
+
import { a as PlayCompilerManifest } from './compiler-manifest-j6z8qzpd.mjs';
|
|
2
2
|
|
|
3
3
|
declare const DEEPLINE_TOOL_CATEGORIES: readonly ["company_search", "people_search", "people_enrich", "email_finder", "email_verify", "phone_finder", "phone_verify", "identity_resolution", "reverse_lookup", "enrichment", "batch", "premium", "free"];
|
|
4
4
|
type DeeplineToolCategory = (typeof DEEPLINE_TOOL_CATEGORIES)[number] | (string & {});
|
|
@@ -3313,7 +3313,7 @@ type CsvOptions = {
|
|
|
3313
3313
|
*
|
|
3314
3314
|
* @example
|
|
3315
3315
|
* ```typescript
|
|
3316
|
-
* definePlay('example', async (ctx, input: { domain: string }) => {
|
|
3316
|
+
* definePlay('example', async (ctx, input: { domain: string; csv: string }) => {
|
|
3317
3317
|
* // Call a tool
|
|
3318
3318
|
* const company = await ctx.tools.execute({
|
|
3319
3319
|
* id: 'company_search',
|
|
@@ -3334,8 +3334,8 @@ type CsvOptions = {
|
|
|
3334
3334
|
* }))
|
|
3335
3335
|
* .run({ description: 'Look up company details.' });
|
|
3336
3336
|
*
|
|
3337
|
-
* // Load CSV data
|
|
3338
|
-
* const leads = await ctx.csv(
|
|
3337
|
+
* // Load CSV data from a submitted play input field.
|
|
3338
|
+
* const leads = await ctx.csv(input.csv);
|
|
3339
3339
|
*
|
|
3340
3340
|
* // Emit a log line (visible in `play tail`)
|
|
3341
3341
|
* ctx.log(`Loaded ${await leads.count()} leads`);
|
|
@@ -3343,8 +3343,8 @@ type CsvOptions = {
|
|
|
3343
3343
|
* // Pause execution
|
|
3344
3344
|
* await ctx.sleep(1000);
|
|
3345
3345
|
*
|
|
3346
|
-
* // Access the
|
|
3347
|
-
*
|
|
3346
|
+
* // Access submitted input through the handler's second argument.
|
|
3347
|
+
* ctx.log(`Running for ${input.domain}`);
|
|
3348
3348
|
*
|
|
3349
3349
|
* return { company, enriched };
|
|
3350
3350
|
* });
|
|
@@ -3357,7 +3357,12 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3357
3357
|
* Use this when a play receives a CSV path from the CLI or API and row work
|
|
3358
3358
|
* should continue through {@link DeeplinePlayRuntimeContext.dataset}. The path is
|
|
3359
3359
|
* normally an input field such as `input.csv`, populated by
|
|
3360
|
-
* `deepline plays run my.play.ts --csv rows.csv`.
|
|
3360
|
+
* `deepline plays run my.play.ts --csv rows.csv`. Prefer `input.csv` for row
|
|
3361
|
+
* data so the CLI can run strict CSV preflight before starting a run.
|
|
3362
|
+
* Pass-through flags can also target non-reserved field names. If a play
|
|
3363
|
+
* intentionally calls `ctx.csv(input.file)`, use `--input
|
|
3364
|
+
* '{"file":"rows.csv"}'` because `--file` is reserved for the play source
|
|
3365
|
+
* path.
|
|
3361
3366
|
*
|
|
3362
3367
|
* Each CSV row becomes an object keyed by canonical column names. Use
|
|
3363
3368
|
* `options.columns` / `options.rename` to map user headers such as
|
|
@@ -3570,7 +3575,11 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3570
3575
|
* @param ms - Duration in milliseconds
|
|
3571
3576
|
*/
|
|
3572
3577
|
sleep(ms: number): Promise<void>;
|
|
3573
|
-
/**
|
|
3578
|
+
/**
|
|
3579
|
+
* @deprecated Read submitted play input from the handler's second argument:
|
|
3580
|
+
* `definePlay('example', async (ctx, input) => ...)`. This legacy field is
|
|
3581
|
+
* not the supported V2 play input API.
|
|
3582
|
+
*/
|
|
3574
3583
|
readonly input: Record<string, unknown>;
|
|
3575
3584
|
}
|
|
3576
3585
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PlayCompilerManifest } from './compiler-manifest-
|
|
1
|
+
import { a as PlayCompilerManifest } from './compiler-manifest-j6z8qzpd.js';
|
|
2
2
|
|
|
3
3
|
declare const DEEPLINE_TOOL_CATEGORIES: readonly ["company_search", "people_search", "people_enrich", "email_finder", "email_verify", "phone_finder", "phone_verify", "identity_resolution", "reverse_lookup", "enrichment", "batch", "premium", "free"];
|
|
4
4
|
type DeeplineToolCategory = (typeof DEEPLINE_TOOL_CATEGORIES)[number] | (string & {});
|
|
@@ -3313,7 +3313,7 @@ type CsvOptions = {
|
|
|
3313
3313
|
*
|
|
3314
3314
|
* @example
|
|
3315
3315
|
* ```typescript
|
|
3316
|
-
* definePlay('example', async (ctx, input: { domain: string }) => {
|
|
3316
|
+
* definePlay('example', async (ctx, input: { domain: string; csv: string }) => {
|
|
3317
3317
|
* // Call a tool
|
|
3318
3318
|
* const company = await ctx.tools.execute({
|
|
3319
3319
|
* id: 'company_search',
|
|
@@ -3334,8 +3334,8 @@ type CsvOptions = {
|
|
|
3334
3334
|
* }))
|
|
3335
3335
|
* .run({ description: 'Look up company details.' });
|
|
3336
3336
|
*
|
|
3337
|
-
* // Load CSV data
|
|
3338
|
-
* const leads = await ctx.csv(
|
|
3337
|
+
* // Load CSV data from a submitted play input field.
|
|
3338
|
+
* const leads = await ctx.csv(input.csv);
|
|
3339
3339
|
*
|
|
3340
3340
|
* // Emit a log line (visible in `play tail`)
|
|
3341
3341
|
* ctx.log(`Loaded ${await leads.count()} leads`);
|
|
@@ -3343,8 +3343,8 @@ type CsvOptions = {
|
|
|
3343
3343
|
* // Pause execution
|
|
3344
3344
|
* await ctx.sleep(1000);
|
|
3345
3345
|
*
|
|
3346
|
-
* // Access the
|
|
3347
|
-
*
|
|
3346
|
+
* // Access submitted input through the handler's second argument.
|
|
3347
|
+
* ctx.log(`Running for ${input.domain}`);
|
|
3348
3348
|
*
|
|
3349
3349
|
* return { company, enriched };
|
|
3350
3350
|
* });
|
|
@@ -3357,7 +3357,12 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3357
3357
|
* Use this when a play receives a CSV path from the CLI or API and row work
|
|
3358
3358
|
* should continue through {@link DeeplinePlayRuntimeContext.dataset}. The path is
|
|
3359
3359
|
* normally an input field such as `input.csv`, populated by
|
|
3360
|
-
* `deepline plays run my.play.ts --csv rows.csv`.
|
|
3360
|
+
* `deepline plays run my.play.ts --csv rows.csv`. Prefer `input.csv` for row
|
|
3361
|
+
* data so the CLI can run strict CSV preflight before starting a run.
|
|
3362
|
+
* Pass-through flags can also target non-reserved field names. If a play
|
|
3363
|
+
* intentionally calls `ctx.csv(input.file)`, use `--input
|
|
3364
|
+
* '{"file":"rows.csv"}'` because `--file` is reserved for the play source
|
|
3365
|
+
* path.
|
|
3361
3366
|
*
|
|
3362
3367
|
* Each CSV row becomes an object keyed by canonical column names. Use
|
|
3363
3368
|
* `options.columns` / `options.rename` to map user headers such as
|
|
@@ -3570,7 +3575,11 @@ interface DeeplinePlayRuntimeContext {
|
|
|
3570
3575
|
* @param ms - Duration in milliseconds
|
|
3571
3576
|
*/
|
|
3572
3577
|
sleep(ms: number): Promise<void>;
|
|
3573
|
-
/**
|
|
3578
|
+
/**
|
|
3579
|
+
* @deprecated Read submitted play input from the handler's second argument:
|
|
3580
|
+
* `definePlay('example', async (ctx, input) => ...)`. This legacy field is
|
|
3581
|
+
* not the supported V2 play input API.
|
|
3582
|
+
*/
|
|
3574
3583
|
readonly input: Record<string, unknown>;
|
|
3575
3584
|
}
|
|
3576
3585
|
/**
|
package/dist/index.js
CHANGED
|
@@ -422,10 +422,10 @@ var SDK_RELEASE = {
|
|
|
422
422
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
423
423
|
// fields shipped in 0.1.153.
|
|
424
424
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
425
|
-
version: "0.1.
|
|
425
|
+
version: "0.1.189",
|
|
426
426
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
427
427
|
supportPolicy: {
|
|
428
|
-
latest: "0.1.
|
|
428
|
+
latest: "0.1.189",
|
|
429
429
|
minimumSupported: "0.1.53",
|
|
430
430
|
deprecatedBelow: "0.1.53",
|
|
431
431
|
commandMinimumSupported: [
|
package/dist/index.mjs
CHANGED
|
@@ -352,10 +352,10 @@ var SDK_RELEASE = {
|
|
|
352
352
|
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
353
353
|
// fields shipped in 0.1.153.
|
|
354
354
|
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
355
|
-
version: "0.1.
|
|
355
|
+
version: "0.1.189",
|
|
356
356
|
apiContract: "2026-06-dataset-handle-results-hard-cutover",
|
|
357
357
|
supportPolicy: {
|
|
358
|
-
latest: "0.1.
|
|
358
|
+
latest: "0.1.189",
|
|
359
359
|
minimumSupported: "0.1.53",
|
|
360
360
|
deprecatedBelow: "0.1.53",
|
|
361
361
|
commandMinimumSupported: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-
|
|
2
|
-
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-
|
|
1
|
+
import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-j6z8qzpd.mjs';
|
|
2
|
+
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-j6z8qzpd.mjs';
|
|
3
3
|
|
|
4
4
|
type PlayPackageImport = {
|
|
5
5
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-
|
|
2
|
-
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-
|
|
1
|
+
import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-j6z8qzpd.js';
|
|
2
|
+
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-j6z8qzpd.js';
|
|
3
3
|
|
|
4
4
|
type PlayPackageImport = {
|
|
5
5
|
name: string;
|