deepline 0.1.71 → 0.1.73
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/cli/index.js +10 -6
- package/dist/cli/index.mjs +10 -6
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +4 -13
- package/dist/index.mjs +4 -12
- package/dist/repo/sdk/src/client.ts +1 -1
- package/dist/repo/sdk/src/index.ts +0 -1
- package/dist/repo/sdk/src/play.ts +0 -11
- package/dist/repo/sdk/src/release.ts +2 -2
- package/dist/repo/sdk/src/types.ts +1 -1
- package/dist/repo/sdk/src/worker-play-entry.ts +0 -11
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -229,10 +229,10 @@ var import_node_path2 = require("path");
|
|
|
229
229
|
|
|
230
230
|
// src/release.ts
|
|
231
231
|
var SDK_RELEASE = {
|
|
232
|
-
version: "0.1.
|
|
232
|
+
version: "0.1.73",
|
|
233
233
|
apiContract: "2026-06-dataset-column-syntax-cutover",
|
|
234
234
|
supportPolicy: {
|
|
235
|
-
latest: "0.1.
|
|
235
|
+
latest: "0.1.73",
|
|
236
236
|
minimumSupported: "0.1.53",
|
|
237
237
|
deprecatedBelow: "0.1.53"
|
|
238
238
|
}
|
|
@@ -10091,7 +10091,7 @@ function activeRunId(run) {
|
|
|
10091
10091
|
}
|
|
10092
10092
|
function formatActiveRunConflictError(input2) {
|
|
10093
10093
|
const lines = [
|
|
10094
|
-
`Active run exists for ${input2.playName}.
|
|
10094
|
+
`Active run exists for ${input2.playName}. Inspect or stop the active run first.`
|
|
10095
10095
|
];
|
|
10096
10096
|
for (const run of input2.activeRuns.slice(0, 3)) {
|
|
10097
10097
|
const runId = activeRunId(run);
|
|
@@ -10108,7 +10108,9 @@ function formatActiveRunConflictError(input2) {
|
|
|
10108
10108
|
` stop: deepline runs stop ${runId} --reason "stale lock" --json`
|
|
10109
10109
|
);
|
|
10110
10110
|
}
|
|
10111
|
-
lines.push(
|
|
10111
|
+
lines.push(
|
|
10112
|
+
` rerun: start another run with the same deepline plays run command`
|
|
10113
|
+
);
|
|
10112
10114
|
return lines.join("\n");
|
|
10113
10115
|
}
|
|
10114
10116
|
var PLAY_SYNTAX_MIGRATION_ERROR_MARKERS = [
|
|
@@ -11887,7 +11889,9 @@ Notes:
|
|
|
11887
11889
|
a fire-and-forget run id.
|
|
11888
11890
|
The play page opens in your browser as soon as the run starts; use --no-open
|
|
11889
11891
|
to only print the URL.
|
|
11890
|
-
|
|
11892
|
+
Concurrent runs for the same play are allowed. --force is accepted for
|
|
11893
|
+
compatibility, but it does not cancel active sibling runs or bypass completed
|
|
11894
|
+
reuse.
|
|
11891
11895
|
This command starts cloud work and may spend Deepline credits through tool calls.
|
|
11892
11896
|
|
|
11893
11897
|
Idempotent execution:
|
|
@@ -11926,7 +11930,7 @@ Examples:
|
|
|
11926
11930
|
).option("--watch", "Compatibility alias; run waits by default").option("--wait", "Compatibility alias; run waits by default").option("--no-wait", "Start the run and return immediately").option(
|
|
11927
11931
|
"--logs",
|
|
11928
11932
|
"When output is non-interactive, stream play logs to stderr while waiting"
|
|
11929
|
-
).option("--tail-timeout-ms <ms>", "Timeout while watching the run stream").option("--force", "
|
|
11933
|
+
).option("--tail-timeout-ms <ms>", "Timeout while watching the run stream").option("--force", "Compatibility flag; active sibling runs are allowed").option("--no-open", "Print the play page URL without opening a browser").option("--json", "Emit JSON output").option("--full", "Debug only: with --json, emit the raw status payload").addHelpText(
|
|
11930
11934
|
"afterAll",
|
|
11931
11935
|
`
|
|
11932
11936
|
Pass-through input flags:
|
package/dist/cli/index.mjs
CHANGED
|
@@ -206,10 +206,10 @@ import { join as join2 } from "path";
|
|
|
206
206
|
|
|
207
207
|
// src/release.ts
|
|
208
208
|
var SDK_RELEASE = {
|
|
209
|
-
version: "0.1.
|
|
209
|
+
version: "0.1.73",
|
|
210
210
|
apiContract: "2026-06-dataset-column-syntax-cutover",
|
|
211
211
|
supportPolicy: {
|
|
212
|
-
latest: "0.1.
|
|
212
|
+
latest: "0.1.73",
|
|
213
213
|
minimumSupported: "0.1.53",
|
|
214
214
|
deprecatedBelow: "0.1.53"
|
|
215
215
|
}
|
|
@@ -10094,7 +10094,7 @@ function activeRunId(run) {
|
|
|
10094
10094
|
}
|
|
10095
10095
|
function formatActiveRunConflictError(input2) {
|
|
10096
10096
|
const lines = [
|
|
10097
|
-
`Active run exists for ${input2.playName}.
|
|
10097
|
+
`Active run exists for ${input2.playName}. Inspect or stop the active run first.`
|
|
10098
10098
|
];
|
|
10099
10099
|
for (const run of input2.activeRuns.slice(0, 3)) {
|
|
10100
10100
|
const runId = activeRunId(run);
|
|
@@ -10111,7 +10111,9 @@ function formatActiveRunConflictError(input2) {
|
|
|
10111
10111
|
` stop: deepline runs stop ${runId} --reason "stale lock" --json`
|
|
10112
10112
|
);
|
|
10113
10113
|
}
|
|
10114
|
-
lines.push(
|
|
10114
|
+
lines.push(
|
|
10115
|
+
` rerun: start another run with the same deepline plays run command`
|
|
10116
|
+
);
|
|
10115
10117
|
return lines.join("\n");
|
|
10116
10118
|
}
|
|
10117
10119
|
var PLAY_SYNTAX_MIGRATION_ERROR_MARKERS = [
|
|
@@ -11890,7 +11892,9 @@ Notes:
|
|
|
11890
11892
|
a fire-and-forget run id.
|
|
11891
11893
|
The play page opens in your browser as soon as the run starts; use --no-open
|
|
11892
11894
|
to only print the URL.
|
|
11893
|
-
|
|
11895
|
+
Concurrent runs for the same play are allowed. --force is accepted for
|
|
11896
|
+
compatibility, but it does not cancel active sibling runs or bypass completed
|
|
11897
|
+
reuse.
|
|
11894
11898
|
This command starts cloud work and may spend Deepline credits through tool calls.
|
|
11895
11899
|
|
|
11896
11900
|
Idempotent execution:
|
|
@@ -11929,7 +11933,7 @@ Examples:
|
|
|
11929
11933
|
).option("--watch", "Compatibility alias; run waits by default").option("--wait", "Compatibility alias; run waits by default").option("--no-wait", "Start the run and return immediately").option(
|
|
11930
11934
|
"--logs",
|
|
11931
11935
|
"When output is non-interactive, stream play logs to stderr while waiting"
|
|
11932
|
-
).option("--tail-timeout-ms <ms>", "Timeout while watching the run stream").option("--force", "
|
|
11936
|
+
).option("--tail-timeout-ms <ms>", "Timeout while watching the run stream").option("--force", "Compatibility flag; active sibling runs are allowed").option("--no-open", "Print the play page URL without opening a browser").option("--json", "Emit JSON output").option("--full", "Debug only: with --json, emit the raw status payload").addHelpText(
|
|
11933
11937
|
"afterAll",
|
|
11934
11938
|
`
|
|
11935
11939
|
Pass-through input flags:
|
package/dist/index.d.mts
CHANGED
|
@@ -951,7 +951,7 @@ interface StartPlayRunRequest {
|
|
|
951
951
|
inputFile?: unknown;
|
|
952
952
|
/** Additional staged file references (dependencies, data files). */
|
|
953
953
|
packagedFiles?: unknown[];
|
|
954
|
-
/**
|
|
954
|
+
/** Compatibility flag; active sibling runs are allowed. */
|
|
955
955
|
force?: boolean;
|
|
956
956
|
/** Optionally let the start request wait briefly and return a terminal result. */
|
|
957
957
|
waitForCompletionMs?: number;
|
|
@@ -1713,7 +1713,7 @@ declare class DeeplineClient {
|
|
|
1713
1713
|
compilerManifest?: PlayCompilerManifest;
|
|
1714
1714
|
inputFile?: PlayStagedFileRef | null;
|
|
1715
1715
|
packagedFiles?: PlayStagedFileRef[];
|
|
1716
|
-
/**
|
|
1716
|
+
/** Compatibility flag; active sibling runs are allowed. */
|
|
1717
1717
|
force?: boolean;
|
|
1718
1718
|
}): Promise<PlayRunResult>;
|
|
1719
1719
|
/**
|
|
@@ -2657,7 +2657,6 @@ type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = {
|
|
|
2657
2657
|
billing?: PlayBindings['billing'];
|
|
2658
2658
|
};
|
|
2659
2659
|
declare function steps<TInput>(): StepProgram<TInput, TInput, TInput>;
|
|
2660
|
-
declare function when<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): never;
|
|
2661
2660
|
declare function runIf<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): ConditionalStepResolver<Row, Value, null>;
|
|
2662
2661
|
/**
|
|
2663
2662
|
* A defined play: both a callable function and a named play handle.
|
|
@@ -3070,4 +3069,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
3070
3069
|
*/
|
|
3071
3070
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
3072
3071
|
|
|
3073
|
-
export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList,
|
|
3072
|
+
export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -951,7 +951,7 @@ interface StartPlayRunRequest {
|
|
|
951
951
|
inputFile?: unknown;
|
|
952
952
|
/** Additional staged file references (dependencies, data files). */
|
|
953
953
|
packagedFiles?: unknown[];
|
|
954
|
-
/**
|
|
954
|
+
/** Compatibility flag; active sibling runs are allowed. */
|
|
955
955
|
force?: boolean;
|
|
956
956
|
/** Optionally let the start request wait briefly and return a terminal result. */
|
|
957
957
|
waitForCompletionMs?: number;
|
|
@@ -1713,7 +1713,7 @@ declare class DeeplineClient {
|
|
|
1713
1713
|
compilerManifest?: PlayCompilerManifest;
|
|
1714
1714
|
inputFile?: PlayStagedFileRef | null;
|
|
1715
1715
|
packagedFiles?: PlayStagedFileRef[];
|
|
1716
|
-
/**
|
|
1716
|
+
/** Compatibility flag; active sibling runs are allowed. */
|
|
1717
1717
|
force?: boolean;
|
|
1718
1718
|
}): Promise<PlayRunResult>;
|
|
1719
1719
|
/**
|
|
@@ -2657,7 +2657,6 @@ type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = {
|
|
|
2657
2657
|
billing?: PlayBindings['billing'];
|
|
2658
2658
|
};
|
|
2659
2659
|
declare function steps<TInput>(): StepProgram<TInput, TInput, TInput>;
|
|
2660
|
-
declare function when<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): never;
|
|
2661
2660
|
declare function runIf<Row, Value>(predicate: (row: Row, index: number) => boolean | Promise<boolean>, resolver: StepResolver<Row, Value>): ConditionalStepResolver<Row, Value, null>;
|
|
2662
2661
|
/**
|
|
2663
2662
|
* A defined play: both a callable function and a named play handle.
|
|
@@ -3070,4 +3069,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
3070
3069
|
*/
|
|
3071
3070
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
3072
3071
|
|
|
3073
|
-
export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList,
|
|
3072
|
+
export { AuthError, type ClearPlayHistoryRequest, type ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, DEEPLINE_TOOL_CATEGORIES, type DatasetBuilder, Deepline, DeeplineClient, type DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplineToolCategory, type DefinePlayConfig, type DefinedPlay, type FileInput, type LiveEventEnvelope, PLAY_BOOTSTRAP_COMPANY_FIELDS, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_CONTACT_FIELDS, PLAY_BOOTSTRAP_FINDER_KINDS, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, PLAY_BOOTSTRAP_SOURCE_KINDS, PLAY_BOOTSTRAP_STAGE_KINDS, PLAY_BOOTSTRAP_TEMPLATES, PROD_URL, type PlayBindings, type PlayBootstrapEntityKind, type PlayBootstrapFinderKind, type PlayDataset, type PlayDatasetInput, type PlayInputContract, type PlayJob, type PlayListItem, type PlayLiveEvent, type PlayRevisionSummary, type PlayRunResult, type PlayRunStart, type PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, type PublishPlayVersionRequest, type PublishPlayVersionResult, RateLimitError, type ResolvedConfig, SDK_API_CONTRACT, SDK_VERSION, type StartPlayRunRequest, type StepProgram, type StepProgramResolver, type StepResolver, type ToolDefinition, type ToolExecuteResult, type ToolExecution, type ToolMetadata, defineInput, definePlay, defineWorkflow, extractSummaryFields, formatPlayBootstrapFinderKinds, formatPlayBootstrapFinderKindsForSentence, formatPlayBootstrapTemplates, getDefinedPlayMetadata, isPlayBootstrapFinderKind, isPlayBootstrapTemplate, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,6 @@ __export(src_exports, {
|
|
|
55
55
|
runIf: () => runIf,
|
|
56
56
|
steps: () => steps,
|
|
57
57
|
tryConvertToList: () => tryConvertToList,
|
|
58
|
-
when: () => when,
|
|
59
58
|
writeCsvOutputFile: () => writeCsvOutputFile,
|
|
60
59
|
writeJsonOutputFile: () => writeJsonOutputFile
|
|
61
60
|
});
|
|
@@ -242,10 +241,10 @@ var import_node_path2 = require("path");
|
|
|
242
241
|
|
|
243
242
|
// src/release.ts
|
|
244
243
|
var SDK_RELEASE = {
|
|
245
|
-
version: "0.1.
|
|
244
|
+
version: "0.1.73",
|
|
246
245
|
apiContract: "2026-06-dataset-column-syntax-cutover",
|
|
247
246
|
supportPolicy: {
|
|
248
|
-
latest: "0.1.
|
|
247
|
+
latest: "0.1.73",
|
|
249
248
|
minimumSupported: "0.1.53",
|
|
250
249
|
deprecatedBelow: "0.1.53"
|
|
251
250
|
}
|
|
@@ -2390,8 +2389,8 @@ function createToolExecuteResult(input) {
|
|
|
2390
2389
|
|
|
2391
2390
|
// src/play.ts
|
|
2392
2391
|
var DeeplineConditionalStepResolver = class _DeeplineConditionalStepResolver {
|
|
2393
|
-
constructor(
|
|
2394
|
-
this.when =
|
|
2392
|
+
constructor(when, run, elseValue) {
|
|
2393
|
+
this.when = when;
|
|
2395
2394
|
this.run = run;
|
|
2396
2395
|
this.elseValue = elseValue;
|
|
2397
2396
|
}
|
|
@@ -2435,13 +2434,6 @@ var DeeplineStepProgram = class _DeeplineStepProgram {
|
|
|
2435
2434
|
function steps() {
|
|
2436
2435
|
return new DeeplineStepProgram([]);
|
|
2437
2436
|
}
|
|
2438
|
-
function when(predicate, resolver) {
|
|
2439
|
-
void predicate;
|
|
2440
|
-
void resolver;
|
|
2441
|
-
throw new Error(
|
|
2442
|
-
"when(...) has been replaced by runIf(...). Use runIf(predicate, resolver)."
|
|
2443
|
-
);
|
|
2444
|
-
}
|
|
2445
2437
|
function runIf(predicate, resolver) {
|
|
2446
2438
|
return new DeeplineConditionalStepResolver(predicate, resolver, null);
|
|
2447
2439
|
}
|
|
@@ -3022,7 +3014,6 @@ function extractSummaryFields(payload) {
|
|
|
3022
3014
|
runIf,
|
|
3023
3015
|
steps,
|
|
3024
3016
|
tryConvertToList,
|
|
3025
|
-
when,
|
|
3026
3017
|
writeCsvOutputFile,
|
|
3027
3018
|
writeJsonOutputFile
|
|
3028
3019
|
});
|
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.
|
|
182
|
+
version: "0.1.73",
|
|
183
183
|
apiContract: "2026-06-dataset-column-syntax-cutover",
|
|
184
184
|
supportPolicy: {
|
|
185
|
-
latest: "0.1.
|
|
185
|
+
latest: "0.1.73",
|
|
186
186
|
minimumSupported: "0.1.53",
|
|
187
187
|
deprecatedBelow: "0.1.53"
|
|
188
188
|
}
|
|
@@ -2327,8 +2327,8 @@ function createToolExecuteResult(input) {
|
|
|
2327
2327
|
|
|
2328
2328
|
// src/play.ts
|
|
2329
2329
|
var DeeplineConditionalStepResolver = class _DeeplineConditionalStepResolver {
|
|
2330
|
-
constructor(
|
|
2331
|
-
this.when =
|
|
2330
|
+
constructor(when, run, elseValue) {
|
|
2331
|
+
this.when = when;
|
|
2332
2332
|
this.run = run;
|
|
2333
2333
|
this.elseValue = elseValue;
|
|
2334
2334
|
}
|
|
@@ -2372,13 +2372,6 @@ var DeeplineStepProgram = class _DeeplineStepProgram {
|
|
|
2372
2372
|
function steps() {
|
|
2373
2373
|
return new DeeplineStepProgram([]);
|
|
2374
2374
|
}
|
|
2375
|
-
function when(predicate, resolver) {
|
|
2376
|
-
void predicate;
|
|
2377
|
-
void resolver;
|
|
2378
|
-
throw new Error(
|
|
2379
|
-
"when(...) has been replaced by runIf(...). Use runIf(predicate, resolver)."
|
|
2380
|
-
);
|
|
2381
|
-
}
|
|
2382
2375
|
function runIf(predicate, resolver) {
|
|
2383
2376
|
return new DeeplineConditionalStepResolver(predicate, resolver, null);
|
|
2384
2377
|
}
|
|
@@ -2958,7 +2951,6 @@ export {
|
|
|
2958
2951
|
runIf,
|
|
2959
2952
|
steps,
|
|
2960
2953
|
tryConvertToList,
|
|
2961
|
-
when,
|
|
2962
2954
|
writeCsvOutputFile,
|
|
2963
2955
|
writeJsonOutputFile
|
|
2964
2956
|
};
|
|
@@ -1799,7 +1799,7 @@ export class DeeplineClient {
|
|
|
1799
1799
|
compilerManifest?: PlayCompilerManifest;
|
|
1800
1800
|
inputFile?: PlayStagedFileRef | null;
|
|
1801
1801
|
packagedFiles?: PlayStagedFileRef[];
|
|
1802
|
-
/**
|
|
1802
|
+
/** Compatibility flag; active sibling runs are allowed. */
|
|
1803
1803
|
force?: boolean;
|
|
1804
1804
|
},
|
|
1805
1805
|
): Promise<PlayRunResult> {
|
|
@@ -895,17 +895,6 @@ export function steps<TInput>(): StepProgram<TInput, TInput, TInput> {
|
|
|
895
895
|
return new DeeplineStepProgram<TInput, TInput, TInput>([]);
|
|
896
896
|
}
|
|
897
897
|
|
|
898
|
-
export function when<Row, Value>(
|
|
899
|
-
predicate: (row: Row, index: number) => boolean | Promise<boolean>,
|
|
900
|
-
resolver: StepResolver<Row, Value>,
|
|
901
|
-
): never {
|
|
902
|
-
void predicate;
|
|
903
|
-
void resolver;
|
|
904
|
-
throw new Error(
|
|
905
|
-
'when(...) has been replaced by runIf(...). Use runIf(predicate, resolver).',
|
|
906
|
-
);
|
|
907
|
-
}
|
|
908
|
-
|
|
909
898
|
export function runIf<Row, Value>(
|
|
910
899
|
predicate: (row: Row, index: number) => boolean | Promise<boolean>,
|
|
911
900
|
resolver: StepResolver<Row, Value>,
|
|
@@ -50,10 +50,10 @@ export type SdkRelease = {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
export const SDK_RELEASE = {
|
|
53
|
-
version: '0.1.
|
|
53
|
+
version: '0.1.73',
|
|
54
54
|
apiContract: '2026-06-dataset-column-syntax-cutover',
|
|
55
55
|
supportPolicy: {
|
|
56
|
-
latest: '0.1.
|
|
56
|
+
latest: '0.1.73',
|
|
57
57
|
minimumSupported: '0.1.53',
|
|
58
58
|
deprecatedBelow: '0.1.53',
|
|
59
59
|
},
|
|
@@ -847,7 +847,7 @@ export interface StartPlayRunRequest {
|
|
|
847
847
|
inputFile?: unknown;
|
|
848
848
|
/** Additional staged file references (dependencies, data files). */
|
|
849
849
|
packagedFiles?: unknown[];
|
|
850
|
-
/**
|
|
850
|
+
/** Compatibility flag; active sibling runs are allowed. */
|
|
851
851
|
force?: boolean;
|
|
852
852
|
/** Optionally let the start request wait briefly and return a terminal result. */
|
|
853
853
|
waitForCompletionMs?: number;
|
|
@@ -125,17 +125,6 @@ export function steps<TInput>(): StepProgram<TInput, TInput, TInput> {
|
|
|
125
125
|
return new WorkerStepProgram<TInput, TInput, TInput>([]);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
export function when<Row, Value>(
|
|
129
|
-
predicate: (row: Row, index: number) => boolean | Promise<boolean>,
|
|
130
|
-
resolver: StepResolver<Row, Value>,
|
|
131
|
-
): never {
|
|
132
|
-
void predicate;
|
|
133
|
-
void resolver;
|
|
134
|
-
throw new Error(
|
|
135
|
-
'when(...) has been replaced by runIf(...). Use runIf(predicate, resolver).',
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
128
|
export function runIf<Row, Value>(
|
|
140
129
|
predicate: (row: Row, index: number) => boolean | Promise<boolean>,
|
|
141
130
|
resolver: StepResolver<Row, Value>,
|