deepline 0.1.31 → 0.1.32
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 +7 -10
- package/dist/cli/index.mjs +7 -10
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/repo/sdk/src/version.ts +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -266,8 +266,8 @@ function saveProjectDeeplineEnvValues(baseUrl, values, startDir = projectEnvStar
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
// src/version.ts
|
|
269
|
-
var SDK_VERSION = "0.1.
|
|
270
|
-
var SDK_API_CONTRACT = "2026-05-
|
|
269
|
+
var SDK_VERSION = "0.1.32";
|
|
270
|
+
var SDK_API_CONTRACT = "2026-05-generic-play-input-flags";
|
|
271
271
|
|
|
272
272
|
// ../shared_libs/play-runtime/coordinator-headers.ts
|
|
273
273
|
var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
|
|
@@ -5572,7 +5572,7 @@ function inputContainsLocalFilePath(value) {
|
|
|
5572
5572
|
return false;
|
|
5573
5573
|
}
|
|
5574
5574
|
function namedRunNeedsPlayDefinition(input) {
|
|
5575
|
-
return input.revisionSelector === "latest" ||
|
|
5575
|
+
return input.revisionSelector === "latest" || inputContainsLocalFilePath(input.runtimeInput);
|
|
5576
5576
|
}
|
|
5577
5577
|
async function stageFileInputArgs(input) {
|
|
5578
5578
|
const uniqueBindings = [
|
|
@@ -6874,11 +6874,6 @@ function parsePlayRunOptions(args) {
|
|
|
6874
6874
|
}
|
|
6875
6875
|
continue;
|
|
6876
6876
|
}
|
|
6877
|
-
if (arg === "--csv" || arg.startsWith("--csv=")) {
|
|
6878
|
-
throw new Error(
|
|
6879
|
-
`--csv is not a plays run flag. Pass CSV paths through --input, for example: deepline plays run my.play.ts --input '{"file":"leads.csv"}' --watch`
|
|
6880
|
-
);
|
|
6881
|
-
}
|
|
6882
6877
|
if (arg.startsWith("--")) {
|
|
6883
6878
|
const { path, value } = parseInputFieldFlag(arg, args[index + 1]);
|
|
6884
6879
|
input ??= {};
|
|
@@ -8026,8 +8021,10 @@ Examples:
|
|
|
8026
8021
|
Pass-through input flags:
|
|
8027
8022
|
Unknown flags are accepted intentionally and become play input fields. Use
|
|
8028
8023
|
this for play-specific inputs like --limit 5 or --filters.title "GTM Engineer".
|
|
8029
|
-
For CSV file inputs,
|
|
8030
|
-
|
|
8024
|
+
For CSV file inputs, the play owns the field name: --csv leads.csv becomes
|
|
8025
|
+
input.csv, and --columns.email "Email" becomes input.columns.email. Reserved
|
|
8026
|
+
run flags like --file and --name keep their command meaning; pass fields with
|
|
8027
|
+
those names through --input '{"file":"leads.csv"}'.
|
|
8031
8028
|
`
|
|
8032
8029
|
).action(async (target, options, command) => {
|
|
8033
8030
|
const passthroughArgs = [...command.args];
|
package/dist/cli/index.mjs
CHANGED
|
@@ -243,8 +243,8 @@ function saveProjectDeeplineEnvValues(baseUrl, values, startDir = projectEnvStar
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
// src/version.ts
|
|
246
|
-
var SDK_VERSION = "0.1.
|
|
247
|
-
var SDK_API_CONTRACT = "2026-05-
|
|
246
|
+
var SDK_VERSION = "0.1.32";
|
|
247
|
+
var SDK_API_CONTRACT = "2026-05-generic-play-input-flags";
|
|
248
248
|
|
|
249
249
|
// ../shared_libs/play-runtime/coordinator-headers.ts
|
|
250
250
|
var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
|
|
@@ -5559,7 +5559,7 @@ function inputContainsLocalFilePath(value) {
|
|
|
5559
5559
|
return false;
|
|
5560
5560
|
}
|
|
5561
5561
|
function namedRunNeedsPlayDefinition(input) {
|
|
5562
|
-
return input.revisionSelector === "latest" ||
|
|
5562
|
+
return input.revisionSelector === "latest" || inputContainsLocalFilePath(input.runtimeInput);
|
|
5563
5563
|
}
|
|
5564
5564
|
async function stageFileInputArgs(input) {
|
|
5565
5565
|
const uniqueBindings = [
|
|
@@ -6861,11 +6861,6 @@ function parsePlayRunOptions(args) {
|
|
|
6861
6861
|
}
|
|
6862
6862
|
continue;
|
|
6863
6863
|
}
|
|
6864
|
-
if (arg === "--csv" || arg.startsWith("--csv=")) {
|
|
6865
|
-
throw new Error(
|
|
6866
|
-
`--csv is not a plays run flag. Pass CSV paths through --input, for example: deepline plays run my.play.ts --input '{"file":"leads.csv"}' --watch`
|
|
6867
|
-
);
|
|
6868
|
-
}
|
|
6869
6864
|
if (arg.startsWith("--")) {
|
|
6870
6865
|
const { path, value } = parseInputFieldFlag(arg, args[index + 1]);
|
|
6871
6866
|
input ??= {};
|
|
@@ -8013,8 +8008,10 @@ Examples:
|
|
|
8013
8008
|
Pass-through input flags:
|
|
8014
8009
|
Unknown flags are accepted intentionally and become play input fields. Use
|
|
8015
8010
|
this for play-specific inputs like --limit 5 or --filters.title "GTM Engineer".
|
|
8016
|
-
For CSV file inputs,
|
|
8017
|
-
|
|
8011
|
+
For CSV file inputs, the play owns the field name: --csv leads.csv becomes
|
|
8012
|
+
input.csv, and --columns.email "Email" becomes input.columns.email. Reserved
|
|
8013
|
+
run flags like --file and --name keep their command meaning; pass fields with
|
|
8014
|
+
those names through --input '{"file":"leads.csv"}'.
|
|
8018
8015
|
`
|
|
8019
8016
|
).action(async (target, options, command) => {
|
|
8020
8017
|
const passthroughArgs = [...command.args];
|
package/dist/index.d.mts
CHANGED
|
@@ -1438,8 +1438,8 @@ declare class DeeplineClient {
|
|
|
1438
1438
|
}>;
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
|
-
declare const SDK_VERSION = "0.1.
|
|
1442
|
-
declare const SDK_API_CONTRACT = "2026-05-
|
|
1441
|
+
declare const SDK_VERSION = "0.1.32";
|
|
1442
|
+
declare const SDK_API_CONTRACT = "2026-05-generic-play-input-flags";
|
|
1443
1443
|
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Base error class for all Deepline SDK errors.
|
package/dist/index.d.ts
CHANGED
|
@@ -1438,8 +1438,8 @@ declare class DeeplineClient {
|
|
|
1438
1438
|
}>;
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
|
-
declare const SDK_VERSION = "0.1.
|
|
1442
|
-
declare const SDK_API_CONTRACT = "2026-05-
|
|
1441
|
+
declare const SDK_VERSION = "0.1.32";
|
|
1442
|
+
declare const SDK_API_CONTRACT = "2026-05-generic-play-input-flags";
|
|
1443
1443
|
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Base error class for all Deepline SDK errors.
|
package/dist/index.js
CHANGED
|
@@ -241,8 +241,8 @@ function resolveConfig(options) {
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
// src/version.ts
|
|
244
|
-
var SDK_VERSION = "0.1.
|
|
245
|
-
var SDK_API_CONTRACT = "2026-05-
|
|
244
|
+
var SDK_VERSION = "0.1.32";
|
|
245
|
+
var SDK_API_CONTRACT = "2026-05-generic-play-input-flags";
|
|
246
246
|
|
|
247
247
|
// ../shared_libs/play-runtime/coordinator-headers.ts
|
|
248
248
|
var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
|
package/dist/index.mjs
CHANGED
|
@@ -195,8 +195,8 @@ function resolveConfig(options) {
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
// src/version.ts
|
|
198
|
-
var SDK_VERSION = "0.1.
|
|
199
|
-
var SDK_API_CONTRACT = "2026-05-
|
|
198
|
+
var SDK_VERSION = "0.1.32";
|
|
199
|
+
var SDK_API_CONTRACT = "2026-05-generic-play-input-flags";
|
|
200
200
|
|
|
201
201
|
// ../shared_libs/play-runtime/coordinator-headers.ts
|
|
202
202
|
var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.1.
|
|
2
|
-
export const SDK_API_CONTRACT = "2026-05-
|
|
1
|
+
export const SDK_VERSION = "0.1.32";
|
|
2
|
+
export const SDK_API_CONTRACT = "2026-05-generic-play-input-flags";
|