deepline 0.1.255 → 0.1.256
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/release.ts +6 -3
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +0 -11
- package/dist/cli/index.js +9 -5
- package/dist/cli/index.mjs +9 -5
- package/dist/{compiler-manifest-DlE7dnRm.d.mts → compiler-manifest-BjopNIqx.d.mts} +0 -2
- package/dist/{compiler-manifest-DlE7dnRm.d.ts → compiler-manifest-BjopNIqx.d.ts} +0 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/dist/index.mjs +6 -3
- 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
|
@@ -123,7 +123,7 @@ export const SDK_RELEASE = {
|
|
|
123
123
|
// Deepline-native radars. Older clients must update before discovering,
|
|
124
124
|
// checking, or deploying an unlaunched monitor integration.
|
|
125
125
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
126
|
-
version: '0.1.
|
|
126
|
+
version: '0.1.256',
|
|
127
127
|
apiContract: '2026-07-native-monitor-launch-hard-cutover',
|
|
128
128
|
supportPolicy: {
|
|
129
129
|
minimumSupported: '0.1.53',
|
|
@@ -131,9 +131,12 @@ export const SDK_RELEASE = {
|
|
|
131
131
|
commandMinimumSupported: [
|
|
132
132
|
{
|
|
133
133
|
command: 'enrich',
|
|
134
|
-
|
|
134
|
+
// Compatibility window through 2026-08-22 (owner: Chirag): versions
|
|
135
|
+
// 0.1.238-0.1.252 differ only in local browser-opening behavior and
|
|
136
|
+
// already contain the enrich data-correctness fixes below.
|
|
137
|
+
minimumSupported: '0.1.238',
|
|
135
138
|
reason:
|
|
136
|
-
'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH
|
|
139
|
+
'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH.',
|
|
137
140
|
},
|
|
138
141
|
{
|
|
139
142
|
command: 'plays',
|
|
@@ -138,7 +138,6 @@ export interface PlayStaticColumnProducer {
|
|
|
138
138
|
field: string;
|
|
139
139
|
toolId?: string;
|
|
140
140
|
playId?: string;
|
|
141
|
-
dependsOnFields?: string[];
|
|
142
141
|
conditional?: boolean;
|
|
143
142
|
sourceRange?: PlayStaticSourceRange;
|
|
144
143
|
steps?: PlayStaticColumnProducer[];
|
|
@@ -396,16 +395,10 @@ function truncateStaticSubstepsForStorage(
|
|
|
396
395
|
...column,
|
|
397
396
|
producers: column.producers.map((producer) => ({
|
|
398
397
|
...omitUndefinedProperties({ ...producer }),
|
|
399
|
-
dependsOnFields: producer.dependsOnFields
|
|
400
|
-
? [...producer.dependsOnFields]
|
|
401
|
-
: undefined,
|
|
402
398
|
sourceRange: cloneStorageSafeSourceRange(producer.sourceRange),
|
|
403
399
|
steps: producer.steps
|
|
404
400
|
? producer.steps.map((stepProducer) => ({
|
|
405
401
|
...omitUndefinedProperties({ ...stepProducer }),
|
|
406
|
-
dependsOnFields: stepProducer.dependsOnFields
|
|
407
|
-
? [...stepProducer.dependsOnFields]
|
|
408
|
-
: undefined,
|
|
409
402
|
sourceRange: cloneStorageSafeSourceRange(
|
|
410
403
|
stepProducer.sourceRange,
|
|
411
404
|
),
|
|
@@ -564,7 +557,6 @@ export interface PlayStaticSourceRange {
|
|
|
564
557
|
type PlayStaticSubstepMetadata = {
|
|
565
558
|
conditional?: boolean;
|
|
566
559
|
disabled?: boolean;
|
|
567
|
-
dependsOnFields?: string[];
|
|
568
560
|
};
|
|
569
561
|
|
|
570
562
|
/**
|
|
@@ -958,9 +950,6 @@ function columnProducerFromSubstep(
|
|
|
958
950
|
field,
|
|
959
951
|
...(substep.type === 'tool' ? { toolId: substep.toolId } : {}),
|
|
960
952
|
...(substep.type === 'play_call' ? { playId: substep.playId } : {}),
|
|
961
|
-
...(substep.dependsOnFields?.length
|
|
962
|
-
? { dependsOnFields: [...substep.dependsOnFields] }
|
|
963
|
-
: {}),
|
|
964
953
|
...(substep.conditional ? { conditional: true } : {}),
|
|
965
954
|
...(substep.disabled ? { disabled: true } : {}),
|
|
966
955
|
...(substep.sourceRange ? { sourceRange: substep.sourceRange } : {}),
|
package/dist/cli/index.js
CHANGED
|
@@ -636,7 +636,7 @@ var SDK_RELEASE = {
|
|
|
636
636
|
// Deepline-native radars. Older clients must update before discovering,
|
|
637
637
|
// checking, or deploying an unlaunched monitor integration.
|
|
638
638
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
639
|
-
version: "0.1.
|
|
639
|
+
version: "0.1.256",
|
|
640
640
|
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
641
641
|
supportPolicy: {
|
|
642
642
|
minimumSupported: "0.1.53",
|
|
@@ -644,8 +644,11 @@ var SDK_RELEASE = {
|
|
|
644
644
|
commandMinimumSupported: [
|
|
645
645
|
{
|
|
646
646
|
command: "enrich",
|
|
647
|
-
|
|
648
|
-
|
|
647
|
+
// Compatibility window through 2026-08-22 (owner: Chirag): versions
|
|
648
|
+
// 0.1.238-0.1.252 differ only in local browser-opening behavior and
|
|
649
|
+
// already contain the enrich data-correctness fixes below.
|
|
650
|
+
minimumSupported: "0.1.238",
|
|
651
|
+
reason: 'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH.'
|
|
649
652
|
},
|
|
650
653
|
{
|
|
651
654
|
command: "plays",
|
|
@@ -18698,10 +18701,11 @@ function compileEnrichConfigToPlaySource(config, options = {}) {
|
|
|
18698
18701
|
`}, { description: ${stringLiteral("Read a CSV file, run the configured Deepline enrich commands, and return enriched rows.")} });`
|
|
18699
18702
|
];
|
|
18700
18703
|
const helpers = idiomaticGetters ? selectUsedHelpers(helperSource(), body.join("\n")) : helperSource();
|
|
18704
|
+
const typeImports = idiomaticGetters ? inlineTypeImports : [.../* @__PURE__ */ new Set([...inlineTypeImports, "DeeplinePlayRuntimeContext"])].sort();
|
|
18701
18705
|
return [
|
|
18702
18706
|
...inlineRunJavascript && configHasRunJavascript(config) ? ["// @ts-nocheck", "/* eslint-disable */", ""] : [],
|
|
18703
18707
|
`import { definePlay, steps } from 'deepline';`,
|
|
18704
|
-
...
|
|
18708
|
+
...typeImports.length > 0 ? [`import type { ${typeImports.join(", ")} } from 'deepline';`] : [],
|
|
18705
18709
|
``,
|
|
18706
18710
|
`type EnrichInput = { file: string; rowStart?: number | null; rowEnd?: number | null };`,
|
|
18707
18711
|
``,
|
|
@@ -19451,7 +19455,7 @@ function helperSource() {
|
|
|
19451
19455
|
` return result;`,
|
|
19452
19456
|
`}`,
|
|
19453
19457
|
``,
|
|
19454
|
-
`async function __dlRunCommand(input: { alias: string; callId: string; tool: string; payload: Record<string, unknown>; extract: ((args: __DlExtractorHelpers) => unknown) | null; runIf: ((row: Record<string, unknown>) => unknown) | null; row: Record<string, unknown>; stepCtx:
|
|
19458
|
+
`async function __dlRunCommand(input: { alias: string; callId: string; tool: string; payload: Record<string, unknown>; extract: ((args: __DlExtractorHelpers) => unknown) | null; runIf: ((row: Record<string, unknown>) => unknown) | null; row: Record<string, unknown>; stepCtx: Pick<DeeplinePlayRuntimeContext, 'tools'>; description?: string; force?: boolean; legacyEnvelope?: boolean }): Promise<unknown> {`,
|
|
19455
19459
|
` if (input.runIf) {`,
|
|
19456
19460
|
` const shouldRun = input.runIf(input.row);`,
|
|
19457
19461
|
` if (!shouldRun) return null;`,
|
package/dist/cli/index.mjs
CHANGED
|
@@ -621,7 +621,7 @@ var SDK_RELEASE = {
|
|
|
621
621
|
// Deepline-native radars. Older clients must update before discovering,
|
|
622
622
|
// checking, or deploying an unlaunched monitor integration.
|
|
623
623
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
624
|
-
version: "0.1.
|
|
624
|
+
version: "0.1.256",
|
|
625
625
|
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
626
626
|
supportPolicy: {
|
|
627
627
|
minimumSupported: "0.1.53",
|
|
@@ -629,8 +629,11 @@ var SDK_RELEASE = {
|
|
|
629
629
|
commandMinimumSupported: [
|
|
630
630
|
{
|
|
631
631
|
command: "enrich",
|
|
632
|
-
|
|
633
|
-
|
|
632
|
+
// Compatibility window through 2026-08-22 (owner: Chirag): versions
|
|
633
|
+
// 0.1.238-0.1.252 differ only in local browser-opening behavior and
|
|
634
|
+
// already contain the enrich data-correctness fixes below.
|
|
635
|
+
minimumSupported: "0.1.238",
|
|
636
|
+
reason: 'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH.'
|
|
634
637
|
},
|
|
635
638
|
{
|
|
636
639
|
command: "plays",
|
|
@@ -18727,10 +18730,11 @@ function compileEnrichConfigToPlaySource(config, options = {}) {
|
|
|
18727
18730
|
`}, { description: ${stringLiteral("Read a CSV file, run the configured Deepline enrich commands, and return enriched rows.")} });`
|
|
18728
18731
|
];
|
|
18729
18732
|
const helpers = idiomaticGetters ? selectUsedHelpers(helperSource(), body.join("\n")) : helperSource();
|
|
18733
|
+
const typeImports = idiomaticGetters ? inlineTypeImports : [.../* @__PURE__ */ new Set([...inlineTypeImports, "DeeplinePlayRuntimeContext"])].sort();
|
|
18730
18734
|
return [
|
|
18731
18735
|
...inlineRunJavascript && configHasRunJavascript(config) ? ["// @ts-nocheck", "/* eslint-disable */", ""] : [],
|
|
18732
18736
|
`import { definePlay, steps } from 'deepline';`,
|
|
18733
|
-
...
|
|
18737
|
+
...typeImports.length > 0 ? [`import type { ${typeImports.join(", ")} } from 'deepline';`] : [],
|
|
18734
18738
|
``,
|
|
18735
18739
|
`type EnrichInput = { file: string; rowStart?: number | null; rowEnd?: number | null };`,
|
|
18736
18740
|
``,
|
|
@@ -19480,7 +19484,7 @@ function helperSource() {
|
|
|
19480
19484
|
` return result;`,
|
|
19481
19485
|
`}`,
|
|
19482
19486
|
``,
|
|
19483
|
-
`async function __dlRunCommand(input: { alias: string; callId: string; tool: string; payload: Record<string, unknown>; extract: ((args: __DlExtractorHelpers) => unknown) | null; runIf: ((row: Record<string, unknown>) => unknown) | null; row: Record<string, unknown>; stepCtx:
|
|
19487
|
+
`async function __dlRunCommand(input: { alias: string; callId: string; tool: string; payload: Record<string, unknown>; extract: ((args: __DlExtractorHelpers) => unknown) | null; runIf: ((row: Record<string, unknown>) => unknown) | null; row: Record<string, unknown>; stepCtx: Pick<DeeplinePlayRuntimeContext, 'tools'>; description?: string; force?: boolean; legacyEnvelope?: boolean }): Promise<unknown> {`,
|
|
19484
19488
|
` if (input.runIf) {`,
|
|
19485
19489
|
` const shouldRun = input.runIf(input.row);`,
|
|
19486
19490
|
` if (!shouldRun) return null;`,
|
|
@@ -71,7 +71,6 @@ interface PlayStaticColumnProducer {
|
|
|
71
71
|
field: string;
|
|
72
72
|
toolId?: string;
|
|
73
73
|
playId?: string;
|
|
74
|
-
dependsOnFields?: string[];
|
|
75
74
|
conditional?: boolean;
|
|
76
75
|
sourceRange?: PlayStaticSourceRange;
|
|
77
76
|
steps?: PlayStaticColumnProducer[];
|
|
@@ -93,7 +92,6 @@ interface PlayStaticSourceRange {
|
|
|
93
92
|
type PlayStaticSubstepMetadata = {
|
|
94
93
|
conditional?: boolean;
|
|
95
94
|
disabled?: boolean;
|
|
96
|
-
dependsOnFields?: string[];
|
|
97
95
|
};
|
|
98
96
|
/**
|
|
99
97
|
* One arm of a conditional `control_flow` substep — an `if`/`else if`/`else`
|
|
@@ -71,7 +71,6 @@ interface PlayStaticColumnProducer {
|
|
|
71
71
|
field: string;
|
|
72
72
|
toolId?: string;
|
|
73
73
|
playId?: string;
|
|
74
|
-
dependsOnFields?: string[];
|
|
75
74
|
conditional?: boolean;
|
|
76
75
|
sourceRange?: PlayStaticSourceRange;
|
|
77
76
|
steps?: PlayStaticColumnProducer[];
|
|
@@ -93,7 +92,6 @@ interface PlayStaticSourceRange {
|
|
|
93
92
|
type PlayStaticSubstepMetadata = {
|
|
94
93
|
conditional?: boolean;
|
|
95
94
|
disabled?: boolean;
|
|
96
|
-
dependsOnFields?: string[];
|
|
97
95
|
};
|
|
98
96
|
/**
|
|
99
97
|
* One arm of a conditional `control_flow` substep — an `if`/`else if`/`else`
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -435,7 +435,7 @@ var SDK_RELEASE = {
|
|
|
435
435
|
// Deepline-native radars. Older clients must update before discovering,
|
|
436
436
|
// checking, or deploying an unlaunched monitor integration.
|
|
437
437
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
438
|
-
version: "0.1.
|
|
438
|
+
version: "0.1.256",
|
|
439
439
|
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
440
440
|
supportPolicy: {
|
|
441
441
|
minimumSupported: "0.1.53",
|
|
@@ -443,8 +443,11 @@ var SDK_RELEASE = {
|
|
|
443
443
|
commandMinimumSupported: [
|
|
444
444
|
{
|
|
445
445
|
command: "enrich",
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
// Compatibility window through 2026-08-22 (owner: Chirag): versions
|
|
447
|
+
// 0.1.238-0.1.252 differ only in local browser-opening behavior and
|
|
448
|
+
// already contain the enrich data-correctness fixes below.
|
|
449
|
+
minimumSupported: "0.1.238",
|
|
450
|
+
reason: 'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH.'
|
|
448
451
|
},
|
|
449
452
|
{
|
|
450
453
|
command: "plays",
|
package/dist/index.mjs
CHANGED
|
@@ -365,7 +365,7 @@ var SDK_RELEASE = {
|
|
|
365
365
|
// Deepline-native radars. Older clients must update before discovering,
|
|
366
366
|
// checking, or deploying an unlaunched monitor integration.
|
|
367
367
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
368
|
-
version: "0.1.
|
|
368
|
+
version: "0.1.256",
|
|
369
369
|
apiContract: "2026-07-native-monitor-launch-hard-cutover",
|
|
370
370
|
supportPolicy: {
|
|
371
371
|
minimumSupported: "0.1.53",
|
|
@@ -373,8 +373,11 @@ var SDK_RELEASE = {
|
|
|
373
373
|
commandMinimumSupported: [
|
|
374
374
|
{
|
|
375
375
|
command: "enrich",
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
// Compatibility window through 2026-08-22 (owner: Chirag): versions
|
|
377
|
+
// 0.1.238-0.1.252 differ only in local browser-opening behavior and
|
|
378
|
+
// already contain the enrich data-correctness fixes below.
|
|
379
|
+
minimumSupported: "0.1.238",
|
|
380
|
+
reason: 'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH.'
|
|
378
381
|
},
|
|
379
382
|
{
|
|
380
383
|
command: "plays",
|
|
@@ -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-BjopNIqx.mjs';
|
|
2
|
+
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-BjopNIqx.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-BjopNIqx.js';
|
|
2
|
+
export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-BjopNIqx.js';
|
|
3
3
|
|
|
4
4
|
type PlayPackageImport = {
|
|
5
5
|
name: string;
|