deepline 0.1.162 → 0.1.163

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.
@@ -104,10 +104,10 @@ export const SDK_RELEASE = {
104
104
  // 0.1.111 ships dataset-native tool list getters and result row datasets.
105
105
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
106
106
  // fields shipped in 0.1.153.
107
- version: '0.1.162',
107
+ version: '0.1.163',
108
108
  apiContract: '2026-06-dataset-handle-results-hard-cutover',
109
109
  supportPolicy: {
110
- latest: '0.1.162',
110
+ latest: '0.1.163',
111
111
  minimumSupported: '0.1.53',
112
112
  deprecatedBelow: '0.1.53',
113
113
  commandMinimumSupported: [
@@ -12,6 +12,14 @@ export { sqlSafePlayColumnName };
12
12
  export interface PlayStaticReturnField {
13
13
  name: string;
14
14
  isDataset: boolean;
15
+ /**
16
+ * For a dataset-valued field, the `ctx.dataset(KEY, ...)` key backing it
17
+ * (e.g. `job_change_checks`) — so the UI can label the return by the dataset
18
+ * it actually produces instead of the bland object key (`rows`). Undefined
19
+ * for non-dataset fields, `ctx.csv(...)` (no durable name), or when the key
20
+ * isn't a static string literal.
21
+ */
22
+ datasetName?: string;
15
23
  }
16
24
 
17
25
  export interface PlayStaticPipeline {
@@ -333,6 +341,19 @@ type PlayStaticSubstepMetadata = {
333
341
  dependsOnFields?: string[];
334
342
  };
335
343
 
344
+ /**
345
+ * One arm of a conditional `control_flow` substep — an `if`/`else if`/`else`
346
+ * leg, a `switch` case, or a ternary branch. Carries its own steps so the graph
347
+ * can render the conditional as a real fork instead of a flat strip.
348
+ */
349
+ export type PlayStaticControlFlowBranch = {
350
+ /** Short arm label, e.g. `if`, `else if`, `else`, `case 'x'`, `default`. */
351
+ label: string;
352
+ /** The arm's condition source text, when it has one (omitted for `else`). */
353
+ condition?: string;
354
+ steps: PlayStaticSubstep[];
355
+ };
356
+
336
357
  export type PlayStaticSubstep = PlayStaticSubstepMetadata &
337
358
  (
338
359
  | {
@@ -421,7 +442,12 @@ export type PlayStaticSubstep = PlayStaticSubstepMetadata &
421
442
  type: 'control_flow';
422
443
  kind: 'conditional' | 'loop';
423
444
  field: string;
445
+ /** Flattened steps across every arm, in source order (back-compat). */
424
446
  steps: PlayStaticSubstep[];
447
+ /** Discriminant source text (the `if`/ternary test, `switch` subject). */
448
+ condition?: string;
449
+ /** Per-arm breakdown for conditionals; omitted for loops. */
450
+ branches?: PlayStaticControlFlowBranch[];
425
451
  description?: string;
426
452
  sourceRange?: PlayStaticSourceRange;
427
453
  callDepth?: number;
package/dist/cli/index.js CHANGED
@@ -622,10 +622,10 @@ var SDK_RELEASE = {
622
622
  // 0.1.111 ships dataset-native tool list getters and result row datasets.
623
623
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
624
624
  // fields shipped in 0.1.153.
625
- version: "0.1.162",
625
+ version: "0.1.163",
626
626
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
627
627
  supportPolicy: {
628
- latest: "0.1.162",
628
+ latest: "0.1.163",
629
629
  minimumSupported: "0.1.53",
630
630
  deprecatedBelow: "0.1.53",
631
631
  commandMinimumSupported: [
@@ -607,10 +607,10 @@ var SDK_RELEASE = {
607
607
  // 0.1.111 ships dataset-native tool list getters and result row datasets.
608
608
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
609
609
  // fields shipped in 0.1.153.
610
- version: "0.1.162",
610
+ version: "0.1.163",
611
611
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
612
612
  supportPolicy: {
613
- latest: "0.1.162",
613
+ latest: "0.1.163",
614
614
  minimumSupported: "0.1.53",
615
615
  deprecatedBelow: "0.1.53",
616
616
  commandMinimumSupported: [
@@ -22,6 +22,14 @@ type PlayArtifactKind = (typeof PLAY_ARTIFACT_KINDS)[keyof typeof PLAY_ARTIFACT_
22
22
  interface PlayStaticReturnField {
23
23
  name: string;
24
24
  isDataset: boolean;
25
+ /**
26
+ * For a dataset-valued field, the `ctx.dataset(KEY, ...)` key backing it
27
+ * (e.g. `job_change_checks`) — so the UI can label the return by the dataset
28
+ * it actually produces instead of the bland object key (`rows`). Undefined
29
+ * for non-dataset fields, `ctx.csv(...)` (no durable name), or when the key
30
+ * isn't a static string literal.
31
+ */
32
+ datasetName?: string;
25
33
  }
26
34
  interface PlayStaticPipeline {
27
35
  tableNamespace?: string;
@@ -92,6 +100,18 @@ type PlayStaticSubstepMetadata = {
92
100
  conditional?: boolean;
93
101
  dependsOnFields?: string[];
94
102
  };
103
+ /**
104
+ * One arm of a conditional `control_flow` substep — an `if`/`else if`/`else`
105
+ * leg, a `switch` case, or a ternary branch. Carries its own steps so the graph
106
+ * can render the conditional as a real fork instead of a flat strip.
107
+ */
108
+ type PlayStaticControlFlowBranch = {
109
+ /** Short arm label, e.g. `if`, `else if`, `else`, `case 'x'`, `default`. */
110
+ label: string;
111
+ /** The arm's condition source text, when it has one (omitted for `else`). */
112
+ condition?: string;
113
+ steps: PlayStaticSubstep[];
114
+ };
95
115
  type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
96
116
  type: 'csv';
97
117
  field: string;
@@ -172,7 +192,12 @@ type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
172
192
  type: 'control_flow';
173
193
  kind: 'conditional' | 'loop';
174
194
  field: string;
195
+ /** Flattened steps across every arm, in source order (back-compat). */
175
196
  steps: PlayStaticSubstep[];
197
+ /** Discriminant source text (the `if`/ternary test, `switch` subject). */
198
+ condition?: string;
199
+ /** Per-arm breakdown for conditionals; omitted for loops. */
200
+ branches?: PlayStaticControlFlowBranch[];
176
201
  description?: string;
177
202
  sourceRange?: PlayStaticSourceRange;
178
203
  callDepth?: number;
@@ -22,6 +22,14 @@ type PlayArtifactKind = (typeof PLAY_ARTIFACT_KINDS)[keyof typeof PLAY_ARTIFACT_
22
22
  interface PlayStaticReturnField {
23
23
  name: string;
24
24
  isDataset: boolean;
25
+ /**
26
+ * For a dataset-valued field, the `ctx.dataset(KEY, ...)` key backing it
27
+ * (e.g. `job_change_checks`) — so the UI can label the return by the dataset
28
+ * it actually produces instead of the bland object key (`rows`). Undefined
29
+ * for non-dataset fields, `ctx.csv(...)` (no durable name), or when the key
30
+ * isn't a static string literal.
31
+ */
32
+ datasetName?: string;
25
33
  }
26
34
  interface PlayStaticPipeline {
27
35
  tableNamespace?: string;
@@ -92,6 +100,18 @@ type PlayStaticSubstepMetadata = {
92
100
  conditional?: boolean;
93
101
  dependsOnFields?: string[];
94
102
  };
103
+ /**
104
+ * One arm of a conditional `control_flow` substep — an `if`/`else if`/`else`
105
+ * leg, a `switch` case, or a ternary branch. Carries its own steps so the graph
106
+ * can render the conditional as a real fork instead of a flat strip.
107
+ */
108
+ type PlayStaticControlFlowBranch = {
109
+ /** Short arm label, e.g. `if`, `else if`, `else`, `case 'x'`, `default`. */
110
+ label: string;
111
+ /** The arm's condition source text, when it has one (omitted for `else`). */
112
+ condition?: string;
113
+ steps: PlayStaticSubstep[];
114
+ };
95
115
  type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
96
116
  type: 'csv';
97
117
  field: string;
@@ -172,7 +192,12 @@ type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
172
192
  type: 'control_flow';
173
193
  kind: 'conditional' | 'loop';
174
194
  field: string;
195
+ /** Flattened steps across every arm, in source order (back-compat). */
175
196
  steps: PlayStaticSubstep[];
197
+ /** Discriminant source text (the `if`/ternary test, `switch` subject). */
198
+ condition?: string;
199
+ /** Per-arm breakdown for conditionals; omitted for loops. */
200
+ branches?: PlayStaticControlFlowBranch[];
176
201
  description?: string;
177
202
  sourceRange?: PlayStaticSourceRange;
178
203
  callDepth?: number;
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as PlayCompilerManifest } from './compiler-manifest-DW1flrHk.mjs';
1
+ import { a as PlayCompilerManifest } from './compiler-manifest-VhtM9n24.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 & {});
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as PlayCompilerManifest } from './compiler-manifest-DW1flrHk.js';
1
+ import { a as PlayCompilerManifest } from './compiler-manifest-VhtM9n24.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 & {});
package/dist/index.js CHANGED
@@ -421,10 +421,10 @@ var SDK_RELEASE = {
421
421
  // 0.1.111 ships dataset-native tool list getters and result row datasets.
422
422
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
423
423
  // fields shipped in 0.1.153.
424
- version: "0.1.162",
424
+ version: "0.1.163",
425
425
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
426
426
  supportPolicy: {
427
- latest: "0.1.162",
427
+ latest: "0.1.163",
428
428
  minimumSupported: "0.1.53",
429
429
  deprecatedBelow: "0.1.53",
430
430
  commandMinimumSupported: [
package/dist/index.mjs CHANGED
@@ -351,10 +351,10 @@ var SDK_RELEASE = {
351
351
  // 0.1.111 ships dataset-native tool list getters and result row datasets.
352
352
  // 0.1.154 removes the short-lived generated enrich StepOptions recompute
353
353
  // fields shipped in 0.1.153.
354
- version: "0.1.162",
354
+ version: "0.1.163",
355
355
  apiContract: "2026-06-dataset-handle-results-hard-cutover",
356
356
  supportPolicy: {
357
- latest: "0.1.162",
357
+ latest: "0.1.163",
358
358
  minimumSupported: "0.1.53",
359
359
  deprecatedBelow: "0.1.53",
360
360
  commandMinimumSupported: [
@@ -1,5 +1,5 @@
1
- import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-DW1flrHk.mjs';
2
- export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-DW1flrHk.mjs';
1
+ import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-VhtM9n24.mjs';
2
+ export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-VhtM9n24.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-DW1flrHk.js';
2
- export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-DW1flrHk.js';
1
+ import { P as PlayArtifactKind$1, a as PlayCompilerManifest } from '../compiler-manifest-VhtM9n24.js';
2
+ export { b as PLAY_ARTIFACT_KINDS } from '../compiler-manifest-VhtM9n24.js';
3
3
 
4
4
  type PlayPackageImport = {
5
5
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.162",
3
+ "version": "0.1.163",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {