deepline 0.1.77 → 0.1.78

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/index.d.mts CHANGED
@@ -775,6 +775,9 @@ interface PlayListItem {
775
775
  isDraftDirty?: boolean;
776
776
  inputSchema?: Record<string, unknown> | null;
777
777
  outputSchema?: Record<string, unknown> | null;
778
+ staticPipeline?: unknown;
779
+ currentRevision?: PlayRevisionSummary | null;
780
+ liveRevision?: PlayRevisionSummary | null;
778
781
  aliases?: string[];
779
782
  }
780
783
  interface PlayDescription {
@@ -788,6 +791,7 @@ interface PlayDescription {
788
791
  aliases: string[];
789
792
  inputSchema?: Record<string, unknown> | null;
790
793
  outputSchema?: Record<string, unknown> | null;
794
+ staticPipeline?: Record<string, unknown> | null;
791
795
  csvInput?: Record<string, unknown> | null;
792
796
  rowOutputSchema?: Record<string, unknown> | null;
793
797
  runCommand: string;
@@ -1953,7 +1957,9 @@ type PlayDatasetTransformOptions = {
1953
1957
  * Deepline keeps row progress, retries, memory use, and table output under
1954
1958
  * runtime control. Use `count()` and `peek()` for bounded inspection. Use
1955
1959
  * `materialize(limit)` or async iteration only when the dataset is intentionally
1956
- * small and bounded.
1960
+ * small and bounded. `PlayDataset` intentionally does not expose `.rows`,
1961
+ * `.toArray()`, or other array aliases; those hide the runtime cost of loading
1962
+ * persisted rows into memory.
1957
1963
  */
1958
1964
  interface PlayDataset<T> extends AsyncIterable<T> {
1959
1965
  readonly [PLAY_DATASET_BRAND]: true;
@@ -2467,7 +2473,7 @@ interface DeeplinePlayRuntimeContext {
2467
2473
  * @param options - Run options.
2468
2474
  * @returns Program output.
2469
2475
  */
2470
- runSteps<TInput extends Record<string, unknown>, TOutput>(program: StepProgram<TInput, unknown, TOutput>, input: TInput, options?: {
2476
+ runSteps<TInput extends Record<string, unknown>, TOutput>(program: StepProgram<TInput, any, TOutput>, input: TInput, options?: {
2471
2477
  description?: string;
2472
2478
  }): Promise<TOutput>;
2473
2479
  /**
package/dist/index.d.ts CHANGED
@@ -775,6 +775,9 @@ interface PlayListItem {
775
775
  isDraftDirty?: boolean;
776
776
  inputSchema?: Record<string, unknown> | null;
777
777
  outputSchema?: Record<string, unknown> | null;
778
+ staticPipeline?: unknown;
779
+ currentRevision?: PlayRevisionSummary | null;
780
+ liveRevision?: PlayRevisionSummary | null;
778
781
  aliases?: string[];
779
782
  }
780
783
  interface PlayDescription {
@@ -788,6 +791,7 @@ interface PlayDescription {
788
791
  aliases: string[];
789
792
  inputSchema?: Record<string, unknown> | null;
790
793
  outputSchema?: Record<string, unknown> | null;
794
+ staticPipeline?: Record<string, unknown> | null;
791
795
  csvInput?: Record<string, unknown> | null;
792
796
  rowOutputSchema?: Record<string, unknown> | null;
793
797
  runCommand: string;
@@ -1953,7 +1957,9 @@ type PlayDatasetTransformOptions = {
1953
1957
  * Deepline keeps row progress, retries, memory use, and table output under
1954
1958
  * runtime control. Use `count()` and `peek()` for bounded inspection. Use
1955
1959
  * `materialize(limit)` or async iteration only when the dataset is intentionally
1956
- * small and bounded.
1960
+ * small and bounded. `PlayDataset` intentionally does not expose `.rows`,
1961
+ * `.toArray()`, or other array aliases; those hide the runtime cost of loading
1962
+ * persisted rows into memory.
1957
1963
  */
1958
1964
  interface PlayDataset<T> extends AsyncIterable<T> {
1959
1965
  readonly [PLAY_DATASET_BRAND]: true;
@@ -2467,7 +2473,7 @@ interface DeeplinePlayRuntimeContext {
2467
2473
  * @param options - Run options.
2468
2474
  * @returns Program output.
2469
2475
  */
2470
- runSteps<TInput extends Record<string, unknown>, TOutput>(program: StepProgram<TInput, unknown, TOutput>, input: TInput, options?: {
2476
+ runSteps<TInput extends Record<string, unknown>, TOutput>(program: StepProgram<TInput, any, TOutput>, input: TInput, options?: {
2471
2477
  description?: string;
2472
2478
  }): Promise<TOutput>;
2473
2479
  /**
package/dist/index.js CHANGED
@@ -241,10 +241,10 @@ var import_node_path2 = require("path");
241
241
 
242
242
  // src/release.ts
243
243
  var SDK_RELEASE = {
244
- version: "0.1.77",
244
+ version: "0.1.78",
245
245
  apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
246
246
  supportPolicy: {
247
- latest: "0.1.77",
247
+ latest: "0.1.78",
248
248
  minimumSupported: "0.1.53",
249
249
  deprecatedBelow: "0.1.53"
250
250
  }
@@ -820,6 +820,7 @@ var DeeplineClient = class {
820
820
  aliases,
821
821
  inputSchema: options?.compact ? this.compactSchema(play.inputSchema) : play.inputSchema ?? null,
822
822
  outputSchema: options?.compact ? this.compactSchema(play.outputSchema) : play.outputSchema ?? null,
823
+ staticPipeline: isRecord(play.staticPipeline) ? play.staticPipeline : isRecord(play.currentRevision?.staticPipeline) ? play.currentRevision.staticPipeline : isRecord(play.liveRevision?.staticPipeline) ? play.liveRevision.staticPipeline : null,
823
824
  ...csvInput ? { csvInput } : {},
824
825
  ...rowOutputSchema ? { rowOutputSchema } : {},
825
826
  runCommand,
package/dist/index.mjs CHANGED
@@ -179,10 +179,10 @@ import { join as join2 } from "path";
179
179
 
180
180
  // src/release.ts
181
181
  var SDK_RELEASE = {
182
- version: "0.1.77",
182
+ version: "0.1.78",
183
183
  apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
184
184
  supportPolicy: {
185
- latest: "0.1.77",
185
+ latest: "0.1.78",
186
186
  minimumSupported: "0.1.53",
187
187
  deprecatedBelow: "0.1.53"
188
188
  }
@@ -758,6 +758,7 @@ var DeeplineClient = class {
758
758
  aliases,
759
759
  inputSchema: options?.compact ? this.compactSchema(play.inputSchema) : play.inputSchema ?? null,
760
760
  outputSchema: options?.compact ? this.compactSchema(play.outputSchema) : play.outputSchema ?? null,
761
+ staticPipeline: isRecord(play.staticPipeline) ? play.staticPipeline : isRecord(play.currentRevision?.staticPipeline) ? play.currentRevision.staticPipeline : isRecord(play.liveRevision?.staticPipeline) ? play.liveRevision.staticPipeline : null,
761
762
  ...csvInput ? { csvInput } : {},
762
763
  ...rowOutputSchema ? { rowOutputSchema } : {},
763
764
  runCommand,
@@ -565,6 +565,13 @@ export class DeeplineClient {
565
565
  outputSchema: options?.compact
566
566
  ? this.compactSchema(play.outputSchema)
567
567
  : (play.outputSchema ?? null),
568
+ staticPipeline: isRecord(play.staticPipeline)
569
+ ? play.staticPipeline
570
+ : isRecord(play.currentRevision?.staticPipeline)
571
+ ? play.currentRevision.staticPipeline
572
+ : isRecord(play.liveRevision?.staticPipeline)
573
+ ? play.liveRevision.staticPipeline
574
+ : null,
568
575
  ...(csvInput ? { csvInput } : {}),
569
576
  ...(rowOutputSchema ? { rowOutputSchema } : {}),
570
577
  runCommand,
@@ -540,7 +540,7 @@ export interface DeeplinePlayRuntimeContext {
540
540
  * @returns Program output.
541
541
  */
542
542
  runSteps<TInput extends Record<string, unknown>, TOutput>(
543
- program: StepProgram<TInput, unknown, TOutput>,
543
+ program: StepProgram<TInput, any, TOutput>,
544
544
  input: TInput,
545
545
  options?: { description?: string },
546
546
  ): Promise<TOutput>;
@@ -50,10 +50,10 @@ export type SdkRelease = {
50
50
  };
51
51
 
52
52
  export const SDK_RELEASE = {
53
- version: '0.1.77',
53
+ version: '0.1.78',
54
54
  apiContract: '2026-06-dataset-column-cell-stale-hard-cutover',
55
55
  supportPolicy: {
56
- latest: '0.1.77',
56
+ latest: '0.1.78',
57
57
  minimumSupported: '0.1.53',
58
58
  deprecatedBelow: '0.1.53',
59
59
  },
@@ -663,6 +663,9 @@ export interface PlayListItem {
663
663
  isDraftDirty?: boolean;
664
664
  inputSchema?: Record<string, unknown> | null;
665
665
  outputSchema?: Record<string, unknown> | null;
666
+ staticPipeline?: unknown;
667
+ currentRevision?: PlayRevisionSummary | null;
668
+ liveRevision?: PlayRevisionSummary | null;
666
669
  aliases?: string[];
667
670
  }
668
671
 
@@ -677,6 +680,7 @@ export interface PlayDescription {
677
680
  aliases: string[];
678
681
  inputSchema?: Record<string, unknown> | null;
679
682
  outputSchema?: Record<string, unknown> | null;
683
+ staticPipeline?: Record<string, unknown> | null;
680
684
  csvInput?: Record<string, unknown> | null;
681
685
  rowOutputSchema?: Record<string, unknown> | null;
682
686
  runCommand: string;
@@ -71,7 +71,9 @@ export type PlayDatasetTransformOptions = {
71
71
  * Deepline keeps row progress, retries, memory use, and table output under
72
72
  * runtime control. Use `count()` and `peek()` for bounded inspection. Use
73
73
  * `materialize(limit)` or async iteration only when the dataset is intentionally
74
- * small and bounded.
74
+ * small and bounded. `PlayDataset` intentionally does not expose `.rows`,
75
+ * `.toArray()`, or other array aliases; those hide the runtime cost of loading
76
+ * persisted rows into memory.
75
77
  */
76
78
  export interface PlayDataset<T> extends AsyncIterable<T> {
77
79
  readonly [PLAY_DATASET_BRAND]: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "Deepline SDK + CLI — B2B data enrichment powered by durable cloud execution",
5
5
  "license": "MIT",
6
6
  "repository": {