deepline 0.3.227 → 0.3.229

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.
Files changed (34) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-data-plane/contracts.ts +12 -0
  3. package/dist/bundling-sources/shared_libs/play-data-plane/index.ts +1 -0
  4. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-column-storage.ts +252 -0
  5. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +29 -8
  6. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +250 -37
  7. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +2 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-event-transport.ts +29 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-projection-diagnostics.ts +43 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +6 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +380 -183
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +17 -28
  13. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +1 -0
  14. package/dist/bundling-sources/shared_libs/plays/dataset.ts +16 -2
  15. package/dist/bundling-sources/shared_libs/plays/execution-pipeline.ts +72 -0
  16. package/dist/bundling-sources/shared_libs/plays/launch/prepare.ts +1 -3
  17. package/dist/bundling-sources/shared_libs/plays/sheet-filter.ts +9 -13
  18. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +28 -31
  19. package/dist/cli/index.js +1 -1
  20. package/dist/cli/index.mjs +1 -1
  21. package/dist/{compiler-manifest-Dpd2hEet.d.mts → compiler-manifest-n8ZtPv2h.d.mts} +31 -21
  22. package/dist/{compiler-manifest-Dpd2hEet.d.ts → compiler-manifest-n8ZtPv2h.d.ts} +31 -21
  23. package/dist/index.d.mts +2 -2
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +6 -1
  26. package/dist/index.mjs +6 -1
  27. package/dist/install-integrity.json +4 -2
  28. package/dist/plays/bundle-play-file.d.mts +2 -2
  29. package/dist/plays/bundle-play-file.d.ts +2 -2
  30. package/dist/release.d.mts +1 -1
  31. package/dist/release.d.ts +1 -1
  32. package/dist/release.js +1 -1
  33. package/dist/release.mjs +1 -1
  34. package/package.json +1 -1
@@ -220,6 +220,33 @@ interface PlayR2FileRef {
220
220
  }
221
221
  type PlayExecutionFileRef = PlayR2FileRef;
222
222
 
223
+ /** Source evidence is advisory; stored values determine lossless SQL encoding. */
224
+ interface PlayDatasetColumnTypeEvidence {
225
+ postgresTypeId: number;
226
+ valueType: 'boolean' | 'number' | 'string' | 'json';
227
+ }
228
+ type PlayDatasetColumnTypes = Record<string, PlayDatasetColumnTypeEvidence>;
229
+ type PlaySheetColumnSource = 'input' | 'datasetColumn' | 'waterfallStep' | 'childPlayColumn';
230
+ interface PlaySheetColumnContract {
231
+ id: string;
232
+ sqlName: string;
233
+ source: PlaySheetColumnSource;
234
+ field?: string;
235
+ parentField?: string;
236
+ playId?: string;
237
+ waterfallId?: string;
238
+ outputField?: string;
239
+ outputSqlName?: string;
240
+ stepId?: string;
241
+ toolId?: string;
242
+ isRowKey?: boolean;
243
+ typeEvidence?: PlayDatasetColumnTypeEvidence;
244
+ }
245
+ interface PlaySheetContract {
246
+ tableNamespace: string;
247
+ columns: PlaySheetColumnContract[];
248
+ }
249
+
223
250
  declare const PLAY_DATASET_BRAND: unique symbol;
224
251
  type PlayDatasetKind = 'csv' | 'map';
225
252
  type PlayDatasetBacking = {
@@ -265,8 +292,7 @@ type PlayDatasetTransformOptions = {
265
292
  * `materialize(limit)` or async iteration only when the dataset is intentionally
266
293
  * small and bounded. `PlayDataset` intentionally does not expose `.rows`,
267
294
  * `.toArray()`, `.length`, numeric indexing, spread, or synchronous iteration;
268
- * those hide the runtime cost of loading persisted rows into memory or make
269
- * behavior depend on whether rows happen to be resident.
295
+ * these hide loading costs or make behavior depend on row residency.
270
296
  *
271
297
  * @sdkReference runtime 190
272
298
  */
@@ -282,6 +308,8 @@ interface PlayDataset<T> extends AsyncIterable<T> {
282
308
  readonly sourceLabel?: string | null;
283
309
  /** Runtime table name. */
284
310
  readonly tableNamespace?: string | null;
311
+ /** Advisory source types; transformed fields must infer from their values. */
312
+ readonly columnTypes?: PlayDatasetColumnTypes;
285
313
  /** Row count. */
286
314
  count(): Promise<number>;
287
315
  /** Preview rows. */
@@ -309,6 +337,7 @@ interface PlayDataset<T> extends AsyncIterable<T> {
309
337
  sourceLabel?: string | null;
310
338
  tableNamespace?: string | null;
311
339
  columns?: string[];
340
+ columnTypes?: PlayDatasetColumnTypes;
312
341
  _metadata?: {
313
342
  workProgress?: PlayDatasetWorkProgressSummary;
314
343
  };
@@ -2983,25 +3012,6 @@ interface PlayStaticPipeline {
2983
3012
  sheetContract?: PlaySheetContract | null;
2984
3013
  sheetContractErrors?: string[];
2985
3014
  }
2986
- type PlaySheetColumnSource = 'input' | 'datasetColumn' | 'waterfallStep' | 'childPlayColumn';
2987
- interface PlaySheetColumnContract {
2988
- id: string;
2989
- sqlName: string;
2990
- source: PlaySheetColumnSource;
2991
- field?: string;
2992
- parentField?: string;
2993
- playId?: string;
2994
- waterfallId?: string;
2995
- outputField?: string;
2996
- outputSqlName?: string;
2997
- stepId?: string;
2998
- toolId?: string;
2999
- isRowKey?: boolean;
3000
- }
3001
- interface PlaySheetContract {
3002
- tableNamespace: string;
3003
- columns: PlaySheetColumnContract[];
3004
- }
3005
3015
  type PlayStaticColumnProducerKind = 'tool' | 'waterfall' | 'stepProgram' | 'playCall' | 'controlFlow' | 'transform';
3006
3016
  interface PlayStaticColumnProducer {
3007
3017
  id: string;
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
2
  import { z } from 'zod';
3
- import { c as PlayCompilerManifest, T as ToolResultBilling, A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, r as ToolExecuteResult, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, B as PlayAuthoringCallExecution, C as PlayAuthoringCallOptions, D as PlayAuthoringFetchResponse, E as PlayAuthoringInputContract, F as PlayRunId$1, G as PlayAuthoringStepProgramStep, H as PlayAuthoringRuntimeStepOptions, I as PlaySqlListenerDeclaration, J as PlaySqlListenerEvent, K as PlaySqlListenerOperation, L as PlaySqlQuery, M as PlayAuthoringStepOptions, N as PlayAuthoringStepProgram, O as PlayAuthoringStepProgramResolver, Q as PlayAuthoringStepResolver, R as PlayToolExecutionRequest, S as PlayAuthoringStepProgramOptions, U as DeeplineError, V as ToolExecutionError, W as ToolExecutionErrorOptions } from './compiler-manifest-Dpd2hEet.mjs';
4
- export { X as CtxFetchHttpError, Y as DEEPLINE_EXTRACTOR_TARGETS, Z as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, _ as DeeplineEmailStatusGetterValue, $ as DeeplineExtractorTarget, a0 as DeeplineGetterValue, a1 as DeeplineGetterValueMap, a2 as JOB_CHANGE_STATUS_VALUES, a3 as JobChangeStatus, a4 as PHONE_STATUS_VALUES, a5 as PhoneStatus, a6 as PlayDataset, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-Dpd2hEet.mjs';
3
+ import { c as PlayCompilerManifest, T as ToolResultBilling, A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, r as ToolExecuteResult, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, B as PlayAuthoringCallExecution, C as PlayAuthoringCallOptions, D as PlayAuthoringFetchResponse, E as PlayAuthoringInputContract, F as PlayRunId$1, G as PlayAuthoringStepProgramStep, H as PlayAuthoringRuntimeStepOptions, I as PlaySqlListenerDeclaration, J as PlaySqlListenerEvent, K as PlaySqlListenerOperation, L as PlaySqlQuery, M as PlayAuthoringStepOptions, N as PlayAuthoringStepProgram, O as PlayAuthoringStepProgramResolver, Q as PlayAuthoringStepResolver, R as PlayToolExecutionRequest, S as PlayAuthoringStepProgramOptions, U as DeeplineError, V as ToolExecutionError, W as ToolExecutionErrorOptions } from './compiler-manifest-n8ZtPv2h.mjs';
4
+ export { X as CtxFetchHttpError, Y as DEEPLINE_EXTRACTOR_TARGETS, Z as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, _ as DeeplineEmailStatusGetterValue, $ as DeeplineExtractorTarget, a0 as DeeplineGetterValue, a1 as DeeplineGetterValueMap, a2 as JOB_CHANGE_STATUS_VALUES, a3 as JobChangeStatus, a4 as PHONE_STATUS_VALUES, a5 as PhoneStatus, a6 as PlayDataset, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-n8ZtPv2h.mjs';
5
5
  import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
6
6
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.mjs';
7
7
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
2
  import { z } from 'zod';
3
- import { c as PlayCompilerManifest, T as ToolResultBilling, A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, r as ToolExecuteResult, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, B as PlayAuthoringCallExecution, C as PlayAuthoringCallOptions, D as PlayAuthoringFetchResponse, E as PlayAuthoringInputContract, F as PlayRunId$1, G as PlayAuthoringStepProgramStep, H as PlayAuthoringRuntimeStepOptions, I as PlaySqlListenerDeclaration, J as PlaySqlListenerEvent, K as PlaySqlListenerOperation, L as PlaySqlQuery, M as PlayAuthoringStepOptions, N as PlayAuthoringStepProgram, O as PlayAuthoringStepProgramResolver, Q as PlayAuthoringStepResolver, R as PlayToolExecutionRequest, S as PlayAuthoringStepProgramOptions, U as DeeplineError, V as ToolExecutionError, W as ToolExecutionErrorOptions } from './compiler-manifest-Dpd2hEet.js';
4
- export { X as CtxFetchHttpError, Y as DEEPLINE_EXTRACTOR_TARGETS, Z as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, _ as DeeplineEmailStatusGetterValue, $ as DeeplineExtractorTarget, a0 as DeeplineGetterValue, a1 as DeeplineGetterValueMap, a2 as JOB_CHANGE_STATUS_VALUES, a3 as JobChangeStatus, a4 as PHONE_STATUS_VALUES, a5 as PhoneStatus, a6 as PlayDataset, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-Dpd2hEet.js';
3
+ import { c as PlayCompilerManifest, T as ToolResultBilling, A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, r as ToolExecuteResult, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, B as PlayAuthoringCallExecution, C as PlayAuthoringCallOptions, D as PlayAuthoringFetchResponse, E as PlayAuthoringInputContract, F as PlayRunId$1, G as PlayAuthoringStepProgramStep, H as PlayAuthoringRuntimeStepOptions, I as PlaySqlListenerDeclaration, J as PlaySqlListenerEvent, K as PlaySqlListenerOperation, L as PlaySqlQuery, M as PlayAuthoringStepOptions, N as PlayAuthoringStepProgram, O as PlayAuthoringStepProgramResolver, Q as PlayAuthoringStepResolver, R as PlayToolExecutionRequest, S as PlayAuthoringStepProgramOptions, U as DeeplineError, V as ToolExecutionError, W as ToolExecutionErrorOptions } from './compiler-manifest-n8ZtPv2h.js';
4
+ export { X as CtxFetchHttpError, Y as DEEPLINE_EXTRACTOR_TARGETS, Z as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, _ as DeeplineEmailStatusGetterValue, $ as DeeplineExtractorTarget, a0 as DeeplineGetterValue, a1 as DeeplineGetterValueMap, a2 as JOB_CHANGE_STATUS_VALUES, a3 as JobChangeStatus, a4 as PHONE_STATUS_VALUES, a5 as PhoneStatus, a6 as PlayDataset, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-n8ZtPv2h.js';
5
5
  import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
6
6
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.js';
7
7
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
package/dist/index.js CHANGED
@@ -864,7 +864,7 @@ var SDK_RELEASE = {
864
864
  // getters keep their established compatibility behavior.
865
865
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
866
866
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
867
- version: "0.3.227",
867
+ version: "0.3.229",
868
868
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
869
869
  packageCapabilities: {
870
870
  updatePreferences: 1
@@ -8647,6 +8647,7 @@ var DeferredPlayDataset = class {
8647
8647
  backing;
8648
8648
  sourceLabel;
8649
8649
  tableNamespace;
8650
+ columnTypes;
8650
8651
  previewRows;
8651
8652
  previewColumns;
8652
8653
  workProgress;
@@ -8665,6 +8666,7 @@ var DeferredPlayDataset = class {
8665
8666
  this.previewColumns = inferPreviewColumns(this.previewRows);
8666
8667
  this.sourceLabel = input.sourceLabel ?? null;
8667
8668
  this.tableNamespace = input.tableNamespace ?? null;
8669
+ this.columnTypes = input.columnTypes;
8668
8670
  this.workProgress = input.workProgress;
8669
8671
  this.resolvers = input.resolvers;
8670
8672
  }
@@ -8773,6 +8775,7 @@ var DeferredPlayDataset = class {
8773
8775
  ...this.sourceLabel ? { sourceLabel: this.sourceLabel } : {},
8774
8776
  ...this.tableNamespace ? { tableNamespace: this.tableNamespace } : {},
8775
8777
  ...this.previewColumns ? { columns: this.previewColumns } : {},
8778
+ ...this.columnTypes ? { columnTypes: this.columnTypes } : {},
8776
8779
  ...this.workProgress ? { _metadata: { workProgress: this.workProgress } } : {},
8777
8780
  preview: [...this.previewRows]
8778
8781
  };
@@ -8868,6 +8871,7 @@ function createTransformedPlayDataset(source, transform, options) {
8868
8871
  backing: source.backing,
8869
8872
  sourceLabel,
8870
8873
  tableNamespace: options?.key ?? null,
8874
+ columnTypes: transform.kind === "map" ? void 0 : source.columnTypes,
8871
8875
  resolvers: {
8872
8876
  count,
8873
8877
  peek: async (limit) => collect(limit),
@@ -8955,6 +8959,7 @@ function createPlayDataset(rows, metadata) {
8955
8959
  residentRows: materializedRows,
8956
8960
  sourceLabel: metadata?.sourceLabel ?? null,
8957
8961
  tableNamespace: metadata?.tableNamespace ?? null,
8962
+ columnTypes: metadata?.columnTypes,
8958
8963
  resolvers: {
8959
8964
  count: async () => materializedRows.length,
8960
8965
  peek: async (limit) => materializedRows.slice(0, Math.max(0, limit)),
package/dist/index.mjs CHANGED
@@ -768,7 +768,7 @@ var SDK_RELEASE = {
768
768
  // getters keep their established compatibility behavior.
769
769
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
770
770
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
771
- version: "0.3.227",
771
+ version: "0.3.229",
772
772
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
773
773
  packageCapabilities: {
774
774
  updatePreferences: 1
@@ -8551,6 +8551,7 @@ var DeferredPlayDataset = class {
8551
8551
  backing;
8552
8552
  sourceLabel;
8553
8553
  tableNamespace;
8554
+ columnTypes;
8554
8555
  previewRows;
8555
8556
  previewColumns;
8556
8557
  workProgress;
@@ -8569,6 +8570,7 @@ var DeferredPlayDataset = class {
8569
8570
  this.previewColumns = inferPreviewColumns(this.previewRows);
8570
8571
  this.sourceLabel = input.sourceLabel ?? null;
8571
8572
  this.tableNamespace = input.tableNamespace ?? null;
8573
+ this.columnTypes = input.columnTypes;
8572
8574
  this.workProgress = input.workProgress;
8573
8575
  this.resolvers = input.resolvers;
8574
8576
  }
@@ -8677,6 +8679,7 @@ var DeferredPlayDataset = class {
8677
8679
  ...this.sourceLabel ? { sourceLabel: this.sourceLabel } : {},
8678
8680
  ...this.tableNamespace ? { tableNamespace: this.tableNamespace } : {},
8679
8681
  ...this.previewColumns ? { columns: this.previewColumns } : {},
8682
+ ...this.columnTypes ? { columnTypes: this.columnTypes } : {},
8680
8683
  ...this.workProgress ? { _metadata: { workProgress: this.workProgress } } : {},
8681
8684
  preview: [...this.previewRows]
8682
8685
  };
@@ -8772,6 +8775,7 @@ function createTransformedPlayDataset(source, transform, options) {
8772
8775
  backing: source.backing,
8773
8776
  sourceLabel,
8774
8777
  tableNamespace: options?.key ?? null,
8778
+ columnTypes: transform.kind === "map" ? void 0 : source.columnTypes,
8775
8779
  resolvers: {
8776
8780
  count,
8777
8781
  peek: async (limit) => collect(limit),
@@ -8859,6 +8863,7 @@ function createPlayDataset(rows, metadata) {
8859
8863
  residentRows: materializedRows,
8860
8864
  sourceLabel: metadata?.sourceLabel ?? null,
8861
8865
  tableNamespace: metadata?.tableNamespace ?? null,
8866
+ columnTypes: metadata?.columnTypes,
8862
8867
  resolvers: {
8863
8868
  count: async () => materializedRows.length,
8864
8869
  peek: async (limit) => materializedRows.slice(0, Math.max(0, limit)),
@@ -118,6 +118,7 @@
118
118
  "dist/bundling-sources/shared_libs/play-data-plane/r2.ts",
119
119
  "dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-orm.ts",
120
120
  "dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts",
121
+ "dist/bundling-sources/shared_libs/play-data-plane/sheet-column-storage.ts",
121
122
  "dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts",
122
123
  "dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts",
123
124
  "dist/bundling-sources/shared_libs/play-runtime/admission-transport-policy.ts",
@@ -488,6 +489,7 @@
488
489
  "dist/bundling-sources/shared_libs/plays/email-status.ts",
489
490
  "dist/bundling-sources/shared_libs/plays/enrich-compat-adapter.ts",
490
491
  "dist/bundling-sources/shared_libs/plays/enrich-play-compiler.ts",
492
+ "dist/bundling-sources/shared_libs/plays/execution-pipeline.ts",
491
493
  "dist/bundling-sources/shared_libs/plays/extractor-targets.ts",
492
494
  "dist/bundling-sources/shared_libs/plays/file-refs.ts",
493
495
  "dist/bundling-sources/shared_libs/plays/input-contract-definition.ts",
@@ -567,8 +569,8 @@
567
569
  "dist/cli/index.js",
568
570
  "dist/cli/index.mjs",
569
571
  "dist/cli/text-imports.d.ts",
570
- "dist/compiler-manifest-Dpd2hEet.d.mts",
571
- "dist/compiler-manifest-Dpd2hEet.d.ts",
572
+ "dist/compiler-manifest-n8ZtPv2h.d.mts",
573
+ "dist/compiler-manifest-n8ZtPv2h.d.ts",
572
574
  "dist/helpers.d.mts",
573
575
  "dist/helpers.d.ts",
574
576
  "dist/helpers.js",
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { P as PlayArtifactKind, a as PlayBundleArtifact, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-Dpd2hEet.mjs';
3
- export { d as PLAY_ARTIFACT_KINDS, e as PlayArtifactCompatibility, f as PlayImportPolicy, g as PlayPackageImport, h as PlayRuntimeFeature } from '../compiler-manifest-Dpd2hEet.mjs';
2
+ import { P as PlayArtifactKind, a as PlayBundleArtifact, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-n8ZtPv2h.mjs';
3
+ export { d as PLAY_ARTIFACT_KINDS, e as PlayArtifactCompatibility, f as PlayImportPolicy, g as PlayPackageImport, h as PlayRuntimeFeature } from '../compiler-manifest-n8ZtPv2h.mjs';
4
4
  import '@sinclair/typebox';
5
5
 
6
6
  type ImportedPlayDependency = {
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { P as PlayArtifactKind, a as PlayBundleArtifact, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-Dpd2hEet.js';
3
- export { d as PLAY_ARTIFACT_KINDS, e as PlayArtifactCompatibility, f as PlayImportPolicy, g as PlayPackageImport, h as PlayRuntimeFeature } from '../compiler-manifest-Dpd2hEet.js';
2
+ import { P as PlayArtifactKind, a as PlayBundleArtifact, b as PlaySandboxRuntimeDeclaration, c as PlayCompilerManifest } from '../compiler-manifest-n8ZtPv2h.js';
3
+ export { d as PLAY_ARTIFACT_KINDS, e as PlayArtifactCompatibility, f as PlayImportPolicy, g as PlayPackageImport, h as PlayRuntimeFeature } from '../compiler-manifest-n8ZtPv2h.js';
4
4
  import '@sinclair/typebox';
5
5
 
6
6
  type ImportedPlayDependency = {
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.227";
152
+ readonly version: "0.3.229";
153
153
  readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.d.ts CHANGED
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.227";
152
+ readonly version: "0.3.229";
153
153
  readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.js CHANGED
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
74
74
  // getters keep their established compatibility behavior.
75
75
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
76
76
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
77
- version: "0.3.227",
77
+ version: "0.3.229",
78
78
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
79
79
  packageCapabilities: {
80
80
  updatePreferences: 1
package/dist/release.mjs CHANGED
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
48
48
  // getters keep their established compatibility behavior.
49
49
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
50
50
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
51
- version: "0.3.227",
51
+ version: "0.3.229",
52
52
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
53
53
  packageCapabilities: {
54
54
  updatePreferences: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepline",
3
- "version": "0.3.227",
3
+ "version": "0.3.229",
4
4
  "description": "GTM data CLI and TypeScript SDK for coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://code.deepline.com",