deepline 0.3.159 → 0.3.160
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/bundling-sources/sdk/src/client.ts +4 -0
- package/dist/bundling-sources/sdk/src/compat.ts +3 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/cli/index.js +21 -13
- package/dist/cli/index.mjs +21 -13
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -3298,8 +3298,12 @@ export class DeeplineClient {
|
|
|
3298
3298
|
}
|
|
3299
3299
|
const timeoutMs =
|
|
3300
3300
|
options?.timeout ?? resolveToolExecuteTimeoutMs(toolId, inputSnapshot);
|
|
3301
|
+
const isApifySync = toolId.trim().toLowerCase() === 'apify_run_actor_sync';
|
|
3301
3302
|
const headers = {
|
|
3302
3303
|
[EXECUTE_RESPONSE_CONTRACT_HEADER]: RAW_V2_EXECUTE_RESPONSE_CONTRACT,
|
|
3304
|
+
...(isApifySync
|
|
3305
|
+
? { 'X-Deepline-Apify-Sync-Response-Budget': 'extended-v1' }
|
|
3306
|
+
: {}),
|
|
3303
3307
|
[TOOL_EXECUTION_ERROR_SCHEMA_HEADER]: String(
|
|
3304
3308
|
TOOL_EXECUTION_ERROR_SCHEMA_VERSION,
|
|
3305
3309
|
),
|
|
@@ -410,6 +410,7 @@ export function isCiEnvironment(): boolean {
|
|
|
410
410
|
|
|
411
411
|
export function enforceSdkCompatibilityResponse(
|
|
412
412
|
response: SdkCompatibilityResponse | null,
|
|
413
|
+
options: { quietAdvisory?: boolean } = {},
|
|
413
414
|
): void {
|
|
414
415
|
if (!response) {
|
|
415
416
|
return;
|
|
@@ -421,7 +422,8 @@ export function enforceSdkCompatibilityResponse(
|
|
|
421
422
|
if (
|
|
422
423
|
(response.status === 'deprecated' ||
|
|
423
424
|
response.status === 'update_available') &&
|
|
424
|
-
!isCiEnvironment()
|
|
425
|
+
!isCiEnvironment() &&
|
|
426
|
+
options.quietAdvisory !== true
|
|
425
427
|
) {
|
|
426
428
|
process.stderr.write(`${response.message}\n`);
|
|
427
429
|
}
|
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.160',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'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.',
|
|
206
206
|
packageCapabilities: {
|
package/dist/cli/index.js
CHANGED
|
@@ -3051,7 +3051,7 @@ var SDK_RELEASE = {
|
|
|
3051
3051
|
// getters keep their established compatibility behavior.
|
|
3052
3052
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3053
3053
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3054
|
-
version: "0.3.
|
|
3054
|
+
version: "0.3.160",
|
|
3055
3055
|
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.",
|
|
3056
3056
|
packageCapabilities: {
|
|
3057
3057
|
updatePreferences: 1
|
|
@@ -7539,8 +7539,10 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7539
7539
|
await this.lookupExecutionByKey(idempotencyKey, timeoutMs2);
|
|
7540
7540
|
}
|
|
7541
7541
|
const timeoutMs = options?.timeout ?? resolveToolExecuteTimeoutMs(toolId, inputSnapshot);
|
|
7542
|
+
const isApifySync = toolId.trim().toLowerCase() === "apify_run_actor_sync";
|
|
7542
7543
|
const headers = {
|
|
7543
7544
|
[EXECUTE_RESPONSE_CONTRACT_HEADER]: RAW_V2_EXECUTE_RESPONSE_CONTRACT,
|
|
7545
|
+
...isApifySync ? { "X-Deepline-Apify-Sync-Response-Budget": "extended-v1" } : {},
|
|
7544
7546
|
[TOOL_EXECUTION_ERROR_SCHEMA_HEADER]: String(
|
|
7545
7547
|
TOOL_EXECUTION_ERROR_SCHEMA_VERSION
|
|
7546
7548
|
),
|
|
@@ -10678,14 +10680,14 @@ function isCiEnvironment() {
|
|
|
10678
10680
|
return value === "1" || value === "true" || value === "yes";
|
|
10679
10681
|
});
|
|
10680
10682
|
}
|
|
10681
|
-
function enforceSdkCompatibilityResponse(response) {
|
|
10683
|
+
function enforceSdkCompatibilityResponse(response, options = {}) {
|
|
10682
10684
|
if (!response) {
|
|
10683
10685
|
return;
|
|
10684
10686
|
}
|
|
10685
10687
|
if (response.update_required) {
|
|
10686
10688
|
throw new Error(response.message);
|
|
10687
10689
|
}
|
|
10688
|
-
if ((response.status === "deprecated" || response.status === "update_available") && !isCiEnvironment()) {
|
|
10690
|
+
if ((response.status === "deprecated" || response.status === "update_available") && !isCiEnvironment() && options.quietAdvisory !== true) {
|
|
10689
10691
|
process.stderr.write(`${response.message}
|
|
10690
10692
|
`);
|
|
10691
10693
|
}
|
|
@@ -49434,6 +49436,9 @@ function samplePayload(samples, key) {
|
|
|
49434
49436
|
function commandEnvelopeFromRawResponse(rawResponse) {
|
|
49435
49437
|
return isRecord12(rawResponse) ? { ...rawResponse } : { status: "completed", result: rawResponse };
|
|
49436
49438
|
}
|
|
49439
|
+
function toolExecuteExitCode(envelope) {
|
|
49440
|
+
return envelope.status === "failed" || envelope.ok === false ? 1 : 0;
|
|
49441
|
+
}
|
|
49437
49442
|
function extractToolExecutionWarningMessages(rawResponse) {
|
|
49438
49443
|
if (!isRecord12(rawResponse)) return [];
|
|
49439
49444
|
const candidates = [
|
|
@@ -50093,10 +50098,11 @@ async function executeTool(args) {
|
|
|
50093
50098
|
listConversion,
|
|
50094
50099
|
summary
|
|
50095
50100
|
});
|
|
50101
|
+
const executeExitCode = toolExecuteExitCode(baseEnvelope);
|
|
50096
50102
|
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && shouldEmitJson())) {
|
|
50097
50103
|
printCommandEnvelope(baseEnvelope, { json: true });
|
|
50098
50104
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50099
|
-
return
|
|
50105
|
+
return executeExitCode;
|
|
50100
50106
|
}
|
|
50101
50107
|
if (parsed.outputFormat === "json_file") {
|
|
50102
50108
|
const jsonPath = writeJsonOutputFile(
|
|
@@ -50114,7 +50120,7 @@ async function executeTool(args) {
|
|
|
50114
50120
|
{ json: true }
|
|
50115
50121
|
);
|
|
50116
50122
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50117
|
-
return
|
|
50123
|
+
return executeExitCode;
|
|
50118
50124
|
}
|
|
50119
50125
|
if (!listConversion) {
|
|
50120
50126
|
if (parsed.outPath) {
|
|
@@ -50143,11 +50149,11 @@ async function executeTool(args) {
|
|
|
50143
50149
|
{ json: parsed.outputFormat === "csv_file" || shouldEmitJson() }
|
|
50144
50150
|
);
|
|
50145
50151
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50146
|
-
return
|
|
50152
|
+
return executeExitCode;
|
|
50147
50153
|
}
|
|
50148
50154
|
printCommandEnvelope(baseEnvelope, { json: false });
|
|
50149
50155
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50150
|
-
return
|
|
50156
|
+
return executeExitCode;
|
|
50151
50157
|
}
|
|
50152
50158
|
const rowOutput = projectRowOutput(listConversion);
|
|
50153
50159
|
const csv = writeCsvOutputFile(
|
|
@@ -50170,7 +50176,7 @@ async function executeTool(args) {
|
|
|
50170
50176
|
if (parsed.outputFormat === "csv_file") {
|
|
50171
50177
|
printCommandEnvelope(materializedEnvelope, { json: true });
|
|
50172
50178
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50173
|
-
return
|
|
50179
|
+
return executeExitCode;
|
|
50174
50180
|
}
|
|
50175
50181
|
if (parsed.outPath) {
|
|
50176
50182
|
printCommandEnvelope(materializedEnvelope, {
|
|
@@ -50179,7 +50185,7 @@ async function executeTool(args) {
|
|
|
50179
50185
|
`
|
|
50180
50186
|
});
|
|
50181
50187
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50182
|
-
return
|
|
50188
|
+
return executeExitCode;
|
|
50183
50189
|
}
|
|
50184
50190
|
if (parsed.noPreview) {
|
|
50185
50191
|
printCommandEnvelope(
|
|
@@ -50194,11 +50200,11 @@ async function executeTool(args) {
|
|
|
50194
50200
|
` }
|
|
50195
50201
|
);
|
|
50196
50202
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50197
|
-
return
|
|
50203
|
+
return executeExitCode;
|
|
50198
50204
|
}
|
|
50199
50205
|
printCommandEnvelope(materializedEnvelope, { json: false });
|
|
50200
50206
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50201
|
-
return
|
|
50207
|
+
return executeExitCode;
|
|
50202
50208
|
}
|
|
50203
50209
|
|
|
50204
50210
|
// src/cli/commands/providers.ts
|
|
@@ -50875,7 +50881,7 @@ function envTruthy(name) {
|
|
|
50875
50881
|
return value === "1" || value === "true" || value === "yes";
|
|
50876
50882
|
}
|
|
50877
50883
|
function shouldSkipSelfUpdate() {
|
|
50878
|
-
return envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !shouldRunCliAutoUpdate() || isCiEnvironment();
|
|
50884
|
+
return process.argv.includes("--json") || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !shouldRunCliAutoUpdate() || isCiEnvironment();
|
|
50879
50885
|
}
|
|
50880
50886
|
function parseSemver(version) {
|
|
50881
50887
|
const trimmed = version?.trim();
|
|
@@ -51377,7 +51383,9 @@ Exit codes:
|
|
|
51377
51383
|
if (relaunched) {
|
|
51378
51384
|
return;
|
|
51379
51385
|
}
|
|
51380
|
-
enforceSdkCompatibilityResponse(compatibility.response
|
|
51386
|
+
enforceSdkCompatibilityResponse(compatibility.response, {
|
|
51387
|
+
quietAdvisory: process.argv.includes("--json")
|
|
51388
|
+
});
|
|
51381
51389
|
if (printStartupPhase) {
|
|
51382
51390
|
progress?.phase("checking sdk skills");
|
|
51383
51391
|
}
|
package/dist/cli/index.mjs
CHANGED
|
@@ -3046,7 +3046,7 @@ var SDK_RELEASE = {
|
|
|
3046
3046
|
// getters keep their established compatibility behavior.
|
|
3047
3047
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3048
3048
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3049
|
-
version: "0.3.
|
|
3049
|
+
version: "0.3.160",
|
|
3050
3050
|
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.",
|
|
3051
3051
|
packageCapabilities: {
|
|
3052
3052
|
updatePreferences: 1
|
|
@@ -7534,8 +7534,10 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7534
7534
|
await this.lookupExecutionByKey(idempotencyKey, timeoutMs2);
|
|
7535
7535
|
}
|
|
7536
7536
|
const timeoutMs = options?.timeout ?? resolveToolExecuteTimeoutMs(toolId, inputSnapshot);
|
|
7537
|
+
const isApifySync = toolId.trim().toLowerCase() === "apify_run_actor_sync";
|
|
7537
7538
|
const headers = {
|
|
7538
7539
|
[EXECUTE_RESPONSE_CONTRACT_HEADER]: RAW_V2_EXECUTE_RESPONSE_CONTRACT,
|
|
7540
|
+
...isApifySync ? { "X-Deepline-Apify-Sync-Response-Budget": "extended-v1" } : {},
|
|
7539
7541
|
[TOOL_EXECUTION_ERROR_SCHEMA_HEADER]: String(
|
|
7540
7542
|
TOOL_EXECUTION_ERROR_SCHEMA_VERSION
|
|
7541
7543
|
),
|
|
@@ -10673,14 +10675,14 @@ function isCiEnvironment() {
|
|
|
10673
10675
|
return value === "1" || value === "true" || value === "yes";
|
|
10674
10676
|
});
|
|
10675
10677
|
}
|
|
10676
|
-
function enforceSdkCompatibilityResponse(response) {
|
|
10678
|
+
function enforceSdkCompatibilityResponse(response, options = {}) {
|
|
10677
10679
|
if (!response) {
|
|
10678
10680
|
return;
|
|
10679
10681
|
}
|
|
10680
10682
|
if (response.update_required) {
|
|
10681
10683
|
throw new Error(response.message);
|
|
10682
10684
|
}
|
|
10683
|
-
if ((response.status === "deprecated" || response.status === "update_available") && !isCiEnvironment()) {
|
|
10685
|
+
if ((response.status === "deprecated" || response.status === "update_available") && !isCiEnvironment() && options.quietAdvisory !== true) {
|
|
10684
10686
|
process.stderr.write(`${response.message}
|
|
10685
10687
|
`);
|
|
10686
10688
|
}
|
|
@@ -49579,6 +49581,9 @@ function samplePayload(samples, key) {
|
|
|
49579
49581
|
function commandEnvelopeFromRawResponse(rawResponse) {
|
|
49580
49582
|
return isRecord12(rawResponse) ? { ...rawResponse } : { status: "completed", result: rawResponse };
|
|
49581
49583
|
}
|
|
49584
|
+
function toolExecuteExitCode(envelope) {
|
|
49585
|
+
return envelope.status === "failed" || envelope.ok === false ? 1 : 0;
|
|
49586
|
+
}
|
|
49582
49587
|
function extractToolExecutionWarningMessages(rawResponse) {
|
|
49583
49588
|
if (!isRecord12(rawResponse)) return [];
|
|
49584
49589
|
const candidates = [
|
|
@@ -50238,10 +50243,11 @@ async function executeTool(args) {
|
|
|
50238
50243
|
listConversion,
|
|
50239
50244
|
summary
|
|
50240
50245
|
});
|
|
50246
|
+
const executeExitCode = toolExecuteExitCode(baseEnvelope);
|
|
50241
50247
|
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && shouldEmitJson())) {
|
|
50242
50248
|
printCommandEnvelope(baseEnvelope, { json: true });
|
|
50243
50249
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50244
|
-
return
|
|
50250
|
+
return executeExitCode;
|
|
50245
50251
|
}
|
|
50246
50252
|
if (parsed.outputFormat === "json_file") {
|
|
50247
50253
|
const jsonPath = writeJsonOutputFile(
|
|
@@ -50259,7 +50265,7 @@ async function executeTool(args) {
|
|
|
50259
50265
|
{ json: true }
|
|
50260
50266
|
);
|
|
50261
50267
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50262
|
-
return
|
|
50268
|
+
return executeExitCode;
|
|
50263
50269
|
}
|
|
50264
50270
|
if (!listConversion) {
|
|
50265
50271
|
if (parsed.outPath) {
|
|
@@ -50288,11 +50294,11 @@ async function executeTool(args) {
|
|
|
50288
50294
|
{ json: parsed.outputFormat === "csv_file" || shouldEmitJson() }
|
|
50289
50295
|
);
|
|
50290
50296
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50291
|
-
return
|
|
50297
|
+
return executeExitCode;
|
|
50292
50298
|
}
|
|
50293
50299
|
printCommandEnvelope(baseEnvelope, { json: false });
|
|
50294
50300
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50295
|
-
return
|
|
50301
|
+
return executeExitCode;
|
|
50296
50302
|
}
|
|
50297
50303
|
const rowOutput = projectRowOutput(listConversion);
|
|
50298
50304
|
const csv = writeCsvOutputFile(
|
|
@@ -50315,7 +50321,7 @@ async function executeTool(args) {
|
|
|
50315
50321
|
if (parsed.outputFormat === "csv_file") {
|
|
50316
50322
|
printCommandEnvelope(materializedEnvelope, { json: true });
|
|
50317
50323
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50318
|
-
return
|
|
50324
|
+
return executeExitCode;
|
|
50319
50325
|
}
|
|
50320
50326
|
if (parsed.outPath) {
|
|
50321
50327
|
printCommandEnvelope(materializedEnvelope, {
|
|
@@ -50324,7 +50330,7 @@ async function executeTool(args) {
|
|
|
50324
50330
|
`
|
|
50325
50331
|
});
|
|
50326
50332
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50327
|
-
return
|
|
50333
|
+
return executeExitCode;
|
|
50328
50334
|
}
|
|
50329
50335
|
if (parsed.noPreview) {
|
|
50330
50336
|
printCommandEnvelope(
|
|
@@ -50339,11 +50345,11 @@ async function executeTool(args) {
|
|
|
50339
50345
|
` }
|
|
50340
50346
|
);
|
|
50341
50347
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50342
|
-
return
|
|
50348
|
+
return executeExitCode;
|
|
50343
50349
|
}
|
|
50344
50350
|
printCommandEnvelope(materializedEnvelope, { json: false });
|
|
50345
50351
|
await completePendingToolExecution(pendingRecoveryPath);
|
|
50346
|
-
return
|
|
50352
|
+
return executeExitCode;
|
|
50347
50353
|
}
|
|
50348
50354
|
|
|
50349
50355
|
// src/cli/commands/providers.ts
|
|
@@ -51020,7 +51026,7 @@ function envTruthy(name) {
|
|
|
51020
51026
|
return value === "1" || value === "true" || value === "yes";
|
|
51021
51027
|
}
|
|
51022
51028
|
function shouldSkipSelfUpdate() {
|
|
51023
|
-
return envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !shouldRunCliAutoUpdate() || isCiEnvironment();
|
|
51029
|
+
return process.argv.includes("--json") || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !shouldRunCliAutoUpdate() || isCiEnvironment();
|
|
51024
51030
|
}
|
|
51025
51031
|
function parseSemver(version) {
|
|
51026
51032
|
const trimmed = version?.trim();
|
|
@@ -51522,7 +51528,9 @@ Exit codes:
|
|
|
51522
51528
|
if (relaunched) {
|
|
51523
51529
|
return;
|
|
51524
51530
|
}
|
|
51525
|
-
enforceSdkCompatibilityResponse(compatibility.response
|
|
51531
|
+
enforceSdkCompatibilityResponse(compatibility.response, {
|
|
51532
|
+
quietAdvisory: process.argv.includes("--json")
|
|
51533
|
+
});
|
|
51526
51534
|
if (printStartupPhase) {
|
|
51527
51535
|
progress?.phase("checking sdk skills");
|
|
51528
51536
|
}
|
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.
|
|
867
|
+
version: "0.3.160",
|
|
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
|
|
@@ -5230,8 +5230,10 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5230
5230
|
await this.lookupExecutionByKey(idempotencyKey, timeoutMs2);
|
|
5231
5231
|
}
|
|
5232
5232
|
const timeoutMs = options?.timeout ?? resolveToolExecuteTimeoutMs(toolId, inputSnapshot);
|
|
5233
|
+
const isApifySync = toolId.trim().toLowerCase() === "apify_run_actor_sync";
|
|
5233
5234
|
const headers = {
|
|
5234
5235
|
[EXECUTE_RESPONSE_CONTRACT_HEADER]: RAW_V2_EXECUTE_RESPONSE_CONTRACT,
|
|
5236
|
+
...isApifySync ? { "X-Deepline-Apify-Sync-Response-Budget": "extended-v1" } : {},
|
|
5235
5237
|
[TOOL_EXECUTION_ERROR_SCHEMA_HEADER]: String(
|
|
5236
5238
|
TOOL_EXECUTION_ERROR_SCHEMA_VERSION
|
|
5237
5239
|
),
|
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.
|
|
771
|
+
version: "0.3.160",
|
|
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
|
|
@@ -5134,8 +5134,10 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5134
5134
|
await this.lookupExecutionByKey(idempotencyKey, timeoutMs2);
|
|
5135
5135
|
}
|
|
5136
5136
|
const timeoutMs = options?.timeout ?? resolveToolExecuteTimeoutMs(toolId, inputSnapshot);
|
|
5137
|
+
const isApifySync = toolId.trim().toLowerCase() === "apify_run_actor_sync";
|
|
5137
5138
|
const headers = {
|
|
5138
5139
|
[EXECUTE_RESPONSE_CONTRACT_HEADER]: RAW_V2_EXECUTE_RESPONSE_CONTRACT,
|
|
5140
|
+
...isApifySync ? { "X-Deepline-Apify-Sync-Response-Budget": "extended-v1" } : {},
|
|
5139
5141
|
[TOOL_EXECUTION_ERROR_SCHEMA_HEADER]: String(
|
|
5140
5142
|
TOOL_EXECUTION_ERROR_SCHEMA_VERSION
|
|
5141
5143
|
),
|
package/dist/release.d.mts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.160";
|
|
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.
|
|
152
|
+
readonly version: "0.3.160";
|
|
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.
|
|
77
|
+
version: "0.3.160",
|
|
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.
|
|
51
|
+
version: "0.3.160",
|
|
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
|