deepline 0.3.532 → 0.3.533
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/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +129 -62
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/engine-suspension.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/ports.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/postgres-fence-adapter.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +8 -0
- package/dist/cli/{auth-ZB3NN4E7.mjs → auth-2TZNPIJQ.mjs} +5 -5
- package/dist/cli/auth-KE6RFHUE.js +43 -0
- package/dist/cli/{billing-32EF4HJM.js → billing-HQYTRIV3.js} +79 -79
- package/dist/cli/{billing-5GGO7DQS.mjs → billing-LR4WJIHO.mjs} +6 -6
- package/dist/cli/{chunk-L5V5SLI7.js → chunk-274Y66HP.js} +2 -2
- package/dist/cli/{chunk-THQPLSJD.mjs → chunk-2TMNRF5R.mjs} +1 -1
- package/dist/cli/{chunk-S2HHY26V.mjs → chunk-2UYERVXF.mjs} +2 -2
- package/dist/cli/{chunk-FU4MMUGM.js → chunk-33SNTG5F.js} +16 -16
- package/dist/cli/{chunk-TS6XF2QP.js → chunk-352XVCGE.js} +5 -5
- package/dist/cli/{chunk-AOAXIJL2.mjs → chunk-3KQBV2CG.mjs} +3 -3
- package/dist/cli/{chunk-VWEDIFHT.mjs → chunk-3O3AL5RI.mjs} +4 -4
- package/dist/cli/{chunk-AQHMHYXX.js → chunk-425ERNBL.js} +44 -44
- package/dist/cli/{chunk-KQW27FSR.js → chunk-4CYNH47Y.js} +53 -53
- package/dist/cli/{chunk-JJSJ47CA.js → chunk-4UADZTU5.js} +22 -22
- package/dist/cli/{chunk-HR2RDDAC.js → chunk-4YP2YAIZ.js} +26 -26
- package/dist/cli/{chunk-NQDUXVBK.js → chunk-5XTXC45Z.js} +41 -41
- package/dist/cli/{chunk-7S3DJFW5.js → chunk-735ZOYQN.js} +11 -11
- package/dist/cli/{chunk-SMDX4BM5.js → chunk-A4JP6RPX.js} +2 -2
- package/dist/cli/{chunk-MHTKWZM3.js → chunk-B4ZNWXUW.js} +9 -9
- package/dist/cli/{chunk-GABQIZJR.mjs → chunk-BSI7UHQZ.mjs} +5 -5
- package/dist/cli/{chunk-NBIDYAN6.js → chunk-BWZHMWM5.js} +6 -6
- package/dist/cli/{chunk-B77ZRM6M.mjs → chunk-CANHB6DH.mjs} +2 -2
- package/dist/cli/{chunk-VZKCZO4J.mjs → chunk-CWIGRIIX.mjs} +3 -3
- package/dist/cli/{chunk-WU33X2QL.js → chunk-E4VWBU2E.js} +16 -16
- package/dist/cli/{chunk-BQ2KAFVQ.js → chunk-EYWES7F5.js} +3 -3
- package/dist/cli/{chunk-C6VCDDDD.mjs → chunk-G3GJ3IGU.mjs} +5 -5
- package/dist/cli/{chunk-T2QY36E3.mjs → chunk-G3RVDRYL.mjs} +1 -1
- package/dist/cli/{chunk-O7JU5GUR.js → chunk-HOTJSXLY.js} +5 -5
- package/dist/cli/{chunk-HREGFD2I.mjs → chunk-HPOVAUQF.mjs} +1 -1
- package/dist/cli/{chunk-VN432I4S.mjs → chunk-IETLUG4C.mjs} +1 -1
- package/dist/cli/{chunk-TFWREZYG.mjs → chunk-JZ7LJS3P.mjs} +6 -6
- package/dist/cli/{chunk-F2YLC4ZG.mjs → chunk-KKUOIVQO.mjs} +1 -1
- package/dist/cli/{chunk-2T7YE5UH.js → chunk-LTF2J3JM.js} +2 -2
- package/dist/cli/{chunk-VIC2MI4W.mjs → chunk-LZ3PBEQH.mjs} +2 -2
- package/dist/cli/{chunk-DSNTHXR7.mjs → chunk-LZMRCUVD.mjs} +2 -2
- package/dist/cli/{chunk-47UF3DDN.mjs → chunk-MKUYZ7LR.mjs} +1 -1
- package/dist/cli/{chunk-GBVTSWL3.js → chunk-MNAEALPG.js} +98 -98
- package/dist/cli/{chunk-W5KSUNTE.mjs → chunk-NFDYVMGC.mjs} +10 -10
- package/dist/cli/{chunk-CRWX26LR.mjs → chunk-NKVW552R.mjs} +1 -1
- package/dist/cli/{chunk-YM6JAKYP.mjs → chunk-NW736SOD.mjs} +2 -2
- package/dist/cli/{chunk-CSMLW5VE.js → chunk-O7RSUW75.js} +4 -4
- package/dist/cli/{chunk-6LBD6G6U.mjs → chunk-PIACHLYY.mjs} +2 -2
- package/dist/cli/{chunk-KEE57BF2.js → chunk-QZWURUBP.js} +7 -7
- package/dist/cli/{chunk-QZINISXP.js → chunk-R7YDZSN7.js} +3 -3
- package/dist/cli/{chunk-VHHD5D44.js → chunk-SVVUC3B4.js} +7 -7
- package/dist/cli/{chunk-4S3ONSLF.js → chunk-TU56J4OV.js} +13 -13
- package/dist/cli/{chunk-VCRCMK7M.mjs → chunk-USAQ42OG.mjs} +5 -5
- package/dist/cli/{chunk-EJLCIQA4.mjs → chunk-VKGNQC2S.mjs} +5 -5
- package/dist/cli/{chunk-H6OYTU2Y.js → chunk-VPQDKL5O.js} +6 -6
- package/dist/cli/{chunk-2ZGZBN6D.js → chunk-WF652G74.js} +14 -14
- package/dist/cli/{chunk-O2A4C4WP.mjs → chunk-XUX5KGCQ.mjs} +2 -2
- package/dist/cli/{chunk-RRCSFOF3.mjs → chunk-XZN3DBTP.mjs} +1 -1
- package/dist/cli/{chunk-3NUYO5QO.mjs → chunk-YZK5RSUL.mjs} +1 -1
- package/dist/cli/{chunk-64CEFPF4.js → chunk-ZH5HCAN3.js} +1 -1
- package/dist/cli/{csv-LM44ZFL3.mjs → csv-CJKKHGNQ.mjs} +4 -4
- package/dist/cli/{csv-4JBCPMEH.js → csv-MBSCHS4H.js} +13 -13
- package/dist/cli/{db-UVNXGK6L.js → db-45HNPCY3.js} +27 -27
- package/dist/cli/{db-IFJEGJ6M.mjs → db-EAFR6N45.mjs} +6 -6
- package/dist/cli/{describe-TWTOPGII.mjs → describe-IXW3LDGC.mjs} +18 -18
- package/dist/cli/describe-PYLZAVRI.js +50 -0
- package/dist/cli/{executions-3I6RU7AO.js → executions-SZAES2S4.js} +8 -8
- package/dist/cli/{executions-NEV2P5MX.mjs → executions-ZATZV7O6.mjs} +6 -6
- package/dist/cli/{feedback-NHO56EWZ.js → feedback-KXLF4GR4.js} +14 -14
- package/dist/cli/{feedback-IO5ZAWKK.mjs → feedback-NY63KEK2.mjs} +6 -6
- package/dist/cli/{git-MQISNZ5F.mjs → git-BSSSTR6N.mjs} +5 -5
- package/dist/cli/git-T5JTVBYZ.js +25 -0
- package/dist/cli/index.js +141 -141
- package/dist/cli/index.mjs +43 -43
- package/dist/cli/{legacy-noops-DNRJHNQB.mjs → legacy-noops-CYF6DJBF.mjs} +6 -6
- package/dist/cli/{legacy-noops-SLAQE7HN.js → legacy-noops-XQANGML3.js} +9 -9
- package/dist/cli/{monitors-NAX7SUAR.mjs → monitors-ABJVLWIP.mjs} +7 -7
- package/dist/cli/{monitors-JRNATYS2.js → monitors-F3PTNP45.js} +100 -100
- package/dist/cli/{org-34VCNPUD.mjs → org-BHF6Y5R7.mjs} +6 -6
- package/dist/cli/{org-BHOREX5D.js → org-WQAPZI5Q.js} +86 -86
- package/dist/cli/{pages-GB337AQG.js → pages-U3EJ2NPL.js} +18 -18
- package/dist/cli/{pages-ZWVHNJOE.mjs → pages-W4HWVJUG.mjs} +6 -6
- package/dist/cli/{play-DAUQ7OAO.js → play-2UHKONON.js} +317 -317
- package/dist/cli/{play-GJ7OEYSB.mjs → play-3T4X3ZKH.mjs} +18 -18
- package/dist/cli/{providers-KA2RKD6E.mjs → providers-2G2VTNDG.mjs} +6 -6
- package/dist/cli/{providers-W7QY5FUK.js → providers-LUK5LIUA.js} +9 -9
- package/dist/cli/{quickstart-D4DPUR7R.js → quickstart-76P6PGID.js} +6 -6
- package/dist/cli/{quickstart-7KOAL3BD.mjs → quickstart-XP4PJZ7N.mjs} +4 -4
- package/dist/cli/{run-AYJSQED7.mjs → run-ACIHA53A.mjs} +23 -23
- package/dist/cli/{run-QFVN2WUQ.js → run-S2KHGBCM.js} +41 -41
- package/dist/cli/search-5MD65V43.js +33 -0
- package/dist/cli/{search-MEE7OV2B.mjs → search-VFIJCUZL.mjs} +8 -8
- package/dist/cli/{search-output-G36JH6D6.mjs → search-output-2KFLZS5F.mjs} +4 -4
- package/dist/cli/{search-output-OW6UPOI6.js → search-output-GV7NNB4X.js} +6 -6
- package/dist/cli/{secrets-CJJQJUJC.js → secrets-KJSFEW2F.js} +15 -15
- package/dist/cli/{secrets-OFNYIJT6.mjs → secrets-MAQLBVC4.mjs} +6 -6
- package/dist/cli/sessions-FDMO7PAA.js +22 -0
- package/dist/cli/{sessions-B6VCVU4Z.mjs → sessions-G5MWNJ75.mjs} +6 -6
- package/dist/cli/{settings-PPFLSXDP.mjs → settings-MR6UFOK5.mjs} +13 -13
- package/dist/cli/{settings-H4Q524LF.js → settings-VXGRPFXP.js} +86 -86
- package/dist/cli/{setup-SJAM7XHR.js → setup-C74BRK7N.js} +50 -50
- package/dist/cli/{setup-WI3WDRRE.mjs → setup-ZOBXMONM.mjs} +10 -10
- package/dist/cli/{skills-QSRYGMG2.mjs → skills-4CG3MHOY.mjs} +8 -8
- package/dist/cli/skills-KRUL7QCT.js +37 -0
- package/dist/cli/tools-CGHOSCPS.js +57 -0
- package/dist/cli/{tools-RUC4ULAD.mjs → tools-YXCXZ4ZD.mjs} +17 -17
- package/dist/cli/update-S2TILEHZ.js +35 -0
- package/dist/cli/{update-DPWNL2UB.mjs → update-Z3C5W3I4.mjs} +10 -10
- package/dist/cli/{views-JP66QRA3.mjs → views-45B2FZQT.mjs} +6 -6
- package/dist/cli/{views-CVDVQALA.js → views-XGP2GZ52.js} +18 -18
- package/dist/cli/{workflow-JM6JUI7I.js → workflow-DWO35XHZ.js} +17 -17
- package/dist/cli/{workflow-MVTX2PY3.mjs → workflow-KQRWSNBH.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +104 -104
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-7YWTPQSQ.js +0 -43
- package/dist/cli/describe-AF73GGH6.js +0 -50
- package/dist/cli/git-AOKC6WL3.js +0 -25
- package/dist/cli/search-JVCK5AB4.js +0 -33
- package/dist/cli/sessions-DXN6BQ7Q.js +0 -22
- package/dist/cli/skills-6MNJK2VQ.js +0 -37
- package/dist/cli/tools-OT43MSZE.js +0 -57
- package/dist/cli/update-PHOSO3TL.js +0 -35
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-G3RVDRYL.mjs";
|
|
6
6
|
import {
|
|
7
7
|
recentSearchRef,
|
|
8
8
|
registerDeprecatedSearchCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VKGNQC2S.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Capability,
|
|
12
12
|
arrayField,
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
} from "./chunk-FIVKWNMT.mjs";
|
|
47
47
|
import {
|
|
48
48
|
DeeplineClient
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XUX5KGCQ.mjs";
|
|
50
50
|
import {
|
|
51
51
|
validateExecutionIdempotencyKey
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-XZN3DBTP.mjs";
|
|
53
53
|
import {
|
|
54
54
|
stableStringify
|
|
55
55
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -59,18 +59,18 @@ import {
|
|
|
59
59
|
maybeAutoUpdateAndRelaunch,
|
|
60
60
|
registerCompatibilityCatalog,
|
|
61
61
|
runToolExecuteStage
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-G3GJ3IGU.mjs";
|
|
63
63
|
import {
|
|
64
64
|
isCliTraceEnabled,
|
|
65
65
|
recordCliTrace,
|
|
66
66
|
resolveCliMaintenancePolicy
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-KKUOIVQO.mjs";
|
|
68
68
|
import {
|
|
69
69
|
checkSdkCompatibility,
|
|
70
70
|
enforceSdkCompatibilityResponse,
|
|
71
71
|
flushDeferredSkillsSyncNotices,
|
|
72
72
|
syncSdkSkillsIfNeeded
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-USAQ42OG.mjs";
|
|
74
74
|
import {
|
|
75
75
|
printCommandEnvelope,
|
|
76
76
|
printCompactJson,
|
|
@@ -78,12 +78,12 @@ import {
|
|
|
78
78
|
printJsonError,
|
|
79
79
|
renderCommandEnvelopeText,
|
|
80
80
|
shouldEmitJson
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-2UYERVXF.mjs";
|
|
82
82
|
import {
|
|
83
83
|
readSdkSkillsLocalVersion,
|
|
84
84
|
resolveConfig,
|
|
85
85
|
sdkCliStateDirPath
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-IETLUG4C.mjs";
|
|
87
87
|
import {
|
|
88
88
|
DeeplineError
|
|
89
89
|
} from "./chunk-ZPGGW27Q.mjs";
|
|
@@ -1066,7 +1066,7 @@ Examples:
|
|
|
1066
1066
|
process.exitCode = await narrowView();
|
|
1067
1067
|
return;
|
|
1068
1068
|
}
|
|
1069
|
-
const { describeAnything } = await import("./describe-
|
|
1069
|
+
const { describeAnything } = await import("./describe-IXW3LDGC.mjs");
|
|
1070
1070
|
process.exitCode = await describeAnything(
|
|
1071
1071
|
toolId,
|
|
1072
1072
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoDetectBaseUrl,
|
|
3
3
|
resolveApiKeyForBaseUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IETLUG4C.mjs";
|
|
5
5
|
import {
|
|
6
6
|
SDK_VERSION,
|
|
7
7
|
agentSessionIdFromEnvironment,
|
|
8
8
|
deploymentProtectionHeaders,
|
|
9
9
|
detectAgentRuntime
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MKUYZ7LR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
DeeplineError
|
|
13
13
|
} from "./chunk-ZPGGW27Q.mjs";
|
|
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
17
17
|
var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkZH5HCAN3js = require('./chunk-ZH5HCAN3.js');
|
|
21
21
|
|
|
22
22
|
// src/version.ts
|
|
23
|
-
var SDK_VERSION =
|
|
24
|
-
var SDK_API_MAJOR =
|
|
25
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
23
|
+
var SDK_VERSION = _chunkZH5HCAN3js.SDK_RELEASE.version;
|
|
24
|
+
var SDK_API_MAJOR = _chunkZH5HCAN3js.SDK_RELEASE.contracts.api.currentMajor;
|
|
25
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkZH5HCAN3js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
26
26
|
|
|
27
27
|
// src/agent-runtime.ts
|
|
28
28
|
var _fs = require('fs');
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-F6QV42MC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZN3DBTP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-FKD3KL5Q.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2UYERVXF.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-ZPGGW27Q.mjs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkEYWES7F5js = require('./chunk-EYWES7F5.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkO7RSUW75js = require('./chunk-O7RSUW75.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -294,8 +294,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
294
294
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
295
295
|
var defaultBrowserCommandRunner = childProcess;
|
|
296
296
|
function getAuthedHttpClient() {
|
|
297
|
-
const config =
|
|
298
|
-
return { config, http: new (0,
|
|
297
|
+
const config = _chunkEYWES7F5js.resolveConfig.call(void 0, );
|
|
298
|
+
return { config, http: new (0, _chunkEYWES7F5js.HttpClient)(config) };
|
|
299
299
|
}
|
|
300
300
|
function stableOsUserId() {
|
|
301
301
|
try {
|
|
@@ -635,7 +635,7 @@ function collectLocalEnvInfo() {
|
|
|
635
635
|
os: `${process.platform} ${process.arch}`,
|
|
636
636
|
node_version: process.version,
|
|
637
637
|
home_dir: homeDir,
|
|
638
|
-
agent_runtime:
|
|
638
|
+
agent_runtime: _chunkO7RSUW75js.detectAgentRuntime.call(void 0, )
|
|
639
639
|
};
|
|
640
640
|
const env = process.env;
|
|
641
641
|
const optional = {
|
|
@@ -882,9 +882,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
882
882
|
}
|
|
883
883
|
function withAgentCommandContext(value) {
|
|
884
884
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
885
|
-
return
|
|
885
|
+
return _chunkO7RSUW75js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
886
886
|
...valueRecord,
|
|
887
|
-
command_context:
|
|
887
|
+
command_context: _chunkEYWES7F5js.resolveCliCommandContext.call(void 0, )
|
|
888
888
|
} : value;
|
|
889
889
|
}
|
|
890
890
|
function printJson(value, fields) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQZWURUBPjs = require('./chunk-QZWURUBP.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
|
|
|
19
19
|
__init9() {this.quiet = false}
|
|
20
20
|
// --json output is one JSON document: progress never renders under it.
|
|
21
21
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
|
|
22
|
-
this.enabled = enabled && !
|
|
22
|
+
this.enabled = enabled && !_chunkQZWURUBPjs.isJsonOutputMode.call(void 0, );
|
|
23
23
|
}
|
|
24
24
|
setLogWriter(writer) {
|
|
25
25
|
this.logWriter = writer;
|
|
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
|
|
|
59
59
|
this.logWriter(line);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (_chunkQZWURUBPjs.isJsonOutputMode.call(void 0, )) return;
|
|
63
63
|
if (!this.enabled) {
|
|
64
64
|
process.stderr.write(`${line}
|
|
65
65
|
`);
|
|
@@ -31,7 +31,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkO7RSUW75js = require('./chunk-O7RSUW75.js');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
|
|
@@ -674,7 +674,7 @@ var ToolCalls = class {
|
|
|
674
674
|
idempotencyKey,
|
|
675
675
|
onResponse: (response2) => {
|
|
676
676
|
lastResponse = null;
|
|
677
|
-
atomicToolsSupported = response2.headers.get(
|
|
677
|
+
atomicToolsSupported = response2.headers.get(_chunkO7RSUW75js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
678
678
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
679
679
|
if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
|
|
680
680
|
try {
|
|
@@ -1060,8 +1060,8 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
|
|
1062
1062
|
return {
|
|
1063
|
-
[
|
|
1064
|
-
...receivers ? { [
|
|
1063
|
+
[_chunkO7RSUW75js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1064
|
+
...receivers ? { [_chunkO7RSUW75js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1065
1065
|
};
|
|
1066
1066
|
}
|
|
1067
1067
|
function normalizeTestPolicyOverrides(value, source) {
|
|
@@ -1132,7 +1132,7 @@ var PlayClient = class {
|
|
|
1132
1132
|
return _chunk2KHUFWTKjs.startPlayRun.call(void 0,
|
|
1133
1133
|
this.http,
|
|
1134
1134
|
resolved.request,
|
|
1135
|
-
_optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1135
|
+
_optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkO7RSUW75js.SDK_API_MAJOR) } : headers,
|
|
1136
1136
|
options
|
|
1137
1137
|
);
|
|
1138
1138
|
}
|
|
@@ -3229,7 +3229,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3229
3229
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3230
3230
|
);
|
|
3231
3231
|
}
|
|
3232
|
-
return { [
|
|
3232
|
+
return { [_chunkO7RSUW75js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3233
3233
|
}
|
|
3234
3234
|
function sleep(ms) {
|
|
3235
3235
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4156,7 +4156,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4156
4156
|
);
|
|
4157
4157
|
const headers = _optionalChain([options, 'optionalAccess', _188 => _188.cliAdmission]) ? {
|
|
4158
4158
|
...runtimeHeaders,
|
|
4159
|
-
"X-Deepline-API-Major": String(
|
|
4159
|
+
"X-Deepline-API-Major": String(_chunkO7RSUW75js.SDK_API_MAJOR)
|
|
4160
4160
|
} : runtimeHeaders;
|
|
4161
4161
|
const http = this.http;
|
|
4162
4162
|
let submitted = false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk274Y66HPjs = require('./chunk-274Y66HP.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQZWURUBPjs = require('./chunk-QZWURUBP.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkO7RSUW75js = require('./chunk-O7RSUW75.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/sessions.ts
|
|
15
15
|
|
|
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
|
|
|
55
55
|
}
|
|
56
56
|
function listClaudeSessionFiles() {
|
|
57
57
|
const files = [];
|
|
58
|
-
for (const root of
|
|
58
|
+
for (const root of _chunkO7RSUW75js.claudeProjectsRoots.call(void 0, )) {
|
|
59
59
|
files.push(...listClaudeSessionFilesIn(root));
|
|
60
60
|
}
|
|
61
61
|
return files;
|
|
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
|
|
|
147
147
|
const newestFirst = listSessionFiles(agent).sort(
|
|
148
148
|
(a, b) => b.mtimeMs - a.mtimeMs
|
|
149
149
|
);
|
|
150
|
-
const sessionId =
|
|
150
|
+
const sessionId = _chunkO7RSUW75js.agentSessionIdFromEnvironment.call(void 0,
|
|
151
151
|
process.env,
|
|
152
152
|
agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
|
|
153
153
|
);
|
|
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
|
|
|
156
156
|
(candidate) => candidate.sessionId === sessionId
|
|
157
157
|
);
|
|
158
158
|
if (named) return named;
|
|
159
|
-
const cowork = agent === "codex" ? null :
|
|
159
|
+
const cowork = agent === "codex" ? null : _chunkO7RSUW75js.coworkTranscriptFromEnvironment.call(void 0, );
|
|
160
160
|
const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
|
|
161
161
|
if (cowork && coworkStat) {
|
|
162
162
|
return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
|
|
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
|
|
|
166
166
|
), () => ( newestFirst[0])), () => ( null));
|
|
167
167
|
}
|
|
168
168
|
function feedbackAgentSessionId(agentRuntime) {
|
|
169
|
-
return _nullishCoalesce(
|
|
169
|
+
return _nullishCoalesce(_chunkO7RSUW75js.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkO7RSUW75js.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
|
|
170
170
|
}
|
|
171
171
|
function sessionStartedInDirectory(candidate, cwd) {
|
|
172
172
|
if (candidate.agent === "claude") {
|
|
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
|
|
|
215
215
|
return null;
|
|
216
216
|
}
|
|
217
217
|
function sessionSearchDescription(agent) {
|
|
218
|
-
const claude =
|
|
218
|
+
const claude = _chunkO7RSUW75js.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
|
|
219
219
|
if (agent === "claude") return claude;
|
|
220
220
|
if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
|
|
221
221
|
return `${claude} or ~/.codex/sessions/**/*.jsonl`;
|
|
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
|
|
|
472
472
|
return { encodedContent: encoded, needsChunking: true };
|
|
473
473
|
}
|
|
474
474
|
async function uploadPayload(path, payload) {
|
|
475
|
-
const { http } =
|
|
475
|
+
const { http } = _chunkQZWURUBPjs.getAuthedHttpClient.call(void 0, );
|
|
476
476
|
return await http.post(path, payload);
|
|
477
477
|
}
|
|
478
478
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
|
|
|
550
550
|
return target.sessionId;
|
|
551
551
|
}
|
|
552
552
|
async function handleSessionsSend(options) {
|
|
553
|
-
if (
|
|
553
|
+
if (_chunk274Y66HPjs.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
554
554
|
const rating = parseSessionRating(options.rating);
|
|
555
555
|
if (options.file) {
|
|
556
556
|
const filePath = _path.resolve.call(void 0, options.file);
|
|
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
|
|
|
562
562
|
filename: _path.basename.call(void 0, filePath),
|
|
563
563
|
...rating ? { rating } : {}
|
|
564
564
|
});
|
|
565
|
-
|
|
565
|
+
_chunkQZWURUBPjs.printCommandEnvelope.call(void 0,
|
|
566
566
|
{
|
|
567
567
|
...response2,
|
|
568
568
|
ok: true,
|
|
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
|
|
|
594
594
|
labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
|
|
595
595
|
});
|
|
596
596
|
const sessionIds = built.map((session) => session.sessionId);
|
|
597
|
-
|
|
597
|
+
_chunkQZWURUBPjs.printCommandEnvelope.call(void 0,
|
|
598
598
|
{
|
|
599
599
|
...response,
|
|
600
600
|
ok: true,
|
|
@@ -702,7 +702,7 @@ ${refreshMeta}
|
|
|
702
702
|
</body>
|
|
703
703
|
</html>`;
|
|
704
704
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
705
|
-
|
|
705
|
+
_chunkQZWURUBPjs.printCommandEnvelope.call(void 0,
|
|
706
706
|
{
|
|
707
707
|
ok: true,
|
|
708
708
|
file: outputPath,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2TMNRF5R.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NW736SOD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_SKILL_AGENTS,
|
|
9
9
|
KNOWN_SKILL_AGENTS,
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
sdkCliStateDirPath,
|
|
15
15
|
skillsAgentPathSegment,
|
|
16
16
|
writeSdkSkillsLocalVersion
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IETLUG4C.mjs";
|
|
18
18
|
import {
|
|
19
19
|
SDK_API_CONTRACT,
|
|
20
20
|
SDK_API_MAJOR,
|
|
21
21
|
SDK_VERSION,
|
|
22
22
|
deploymentProtectionHeaders,
|
|
23
23
|
detectAgentRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MKUYZ7LR.mjs";
|
|
25
25
|
import {
|
|
26
26
|
SDK_RELEASE
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YZK5RSUL.mjs";
|
|
28
28
|
|
|
29
29
|
// src/compat.ts
|
|
30
30
|
import { randomUUID } from "crypto";
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XUX5KGCQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
resolveSdkCliFailureExitCode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NW736SOD.mjs";
|
|
10
10
|
import {
|
|
11
11
|
errorToJsonPayload,
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2UYERVXF.mjs";
|
|
14
14
|
import {
|
|
15
15
|
resolveConfig,
|
|
16
16
|
sdkCliStateDirPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IETLUG4C.mjs";
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/search.ts
|
|
20
20
|
import { Option } from "commander";
|
|
@@ -136,7 +136,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
136
136
|
}
|
|
137
137
|
const client = new DeeplineClient();
|
|
138
138
|
const json = options.json === true;
|
|
139
|
-
const renderer = json ? void 0 : await import("./search-output-
|
|
139
|
+
const renderer = json ? void 0 : await import("./search-output-2KFLZS5F.mjs");
|
|
140
140
|
const searches = [];
|
|
141
141
|
const chunks = [];
|
|
142
142
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -8,7 +8,7 @@ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkQZWURUBPjs = require('./chunk-QZWURUBP.js');
|
|
12
12
|
|
|
13
13
|
// src/cli/describe-options.ts
|
|
14
14
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -249,7 +249,7 @@ function projectRunDatasetCell(value) {
|
|
|
249
249
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
250
250
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
251
251
|
if (typeof logicalValue === "object") {
|
|
252
|
-
return
|
|
252
|
+
return _chunkQZWURUBPjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
253
253
|
}
|
|
254
254
|
return logicalValue;
|
|
255
255
|
}
|
|
@@ -641,7 +641,7 @@ function csvText(rows, columns = []) {
|
|
|
641
641
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
642
642
|
columns
|
|
643
643
|
});
|
|
644
|
-
return
|
|
644
|
+
return _chunkQZWURUBPjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
645
645
|
}
|
|
646
646
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
647
647
|
let temp;
|
|
@@ -768,7 +768,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
768
768
|
};
|
|
769
769
|
if (options.receiptOut && !skipReceiptFile) {
|
|
770
770
|
persist(options.receiptOut, jsonText(receipt));
|
|
771
|
-
|
|
771
|
+
_chunkQZWURUBPjs.markJsonOutputHandled.call(void 0, );
|
|
772
772
|
} else {
|
|
773
773
|
printReceipt(receipt, options, {
|
|
774
774
|
data: hasData ? result.data : void 0,
|
|
@@ -1027,8 +1027,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1027
1027
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1028
1028
|
` : receiptText(receipt, options, extra);
|
|
1029
1029
|
if (options.receiptOut !== void 0) {
|
|
1030
|
-
|
|
1031
|
-
|
|
1030
|
+
_chunkQZWURUBPjs.writeRawStderr.call(void 0, text);
|
|
1031
|
+
_chunkQZWURUBPjs.markJsonOutputHandled.call(void 0, );
|
|
1032
1032
|
} else {
|
|
1033
1033
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1034
1034
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEYWES7F5js = require('./chunk-EYWES7F5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkO7RSUW75js = require('./chunk-O7RSUW75.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
|
|
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
|
|
|
150
150
|
node_version: process.version,
|
|
151
151
|
runtime: "Node.js",
|
|
152
152
|
hostname: _os.hostname.call(void 0, ),
|
|
153
|
-
agent_runtime:
|
|
153
|
+
agent_runtime: _chunkO7RSUW75js.detectAgentRuntime.call(void 0, )
|
|
154
154
|
};
|
|
155
155
|
for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
|
|
156
156
|
const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
|
|
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
|
|
|
171
171
|
return context;
|
|
172
172
|
}
|
|
173
173
|
function failureReportHeaders(apiKey) {
|
|
174
|
-
const agentSessionId =
|
|
174
|
+
const agentSessionId = _chunkO7RSUW75js.agentSessionIdFromEnvironment.call(void 0, );
|
|
175
175
|
return {
|
|
176
|
-
...
|
|
176
|
+
..._chunkO7RSUW75js.deploymentProtectionHeaders.call(void 0, ),
|
|
177
177
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
|
|
178
178
|
Authorization: `Bearer ${apiKey}`,
|
|
179
179
|
"Content-Type": "application/json",
|
|
180
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
180
|
+
"User-Agent": `deepline-ts-sdk/${_chunkO7RSUW75js.SDK_VERSION}`,
|
|
181
181
|
"X-Deepline-Client-Family": "sdk",
|
|
182
182
|
"X-Deepline-CLI-Family": "sdk",
|
|
183
|
-
"X-Deepline-Agent-Runtime":
|
|
184
|
-
"X-Deepline-CLI-Version":
|
|
185
|
-
"X-Deepline-SDK-Version":
|
|
183
|
+
"X-Deepline-Agent-Runtime": _chunkO7RSUW75js.detectAgentRuntime.call(void 0, ),
|
|
184
|
+
"X-Deepline-CLI-Version": _chunkO7RSUW75js.SDK_VERSION,
|
|
185
|
+
"X-Deepline-SDK-Version": _chunkO7RSUW75js.SDK_VERSION
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
async function postFailureReport(input) {
|
|
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
|
210
210
|
if (isFailureReportingDisabled()) return false;
|
|
211
211
|
let apiKey = "";
|
|
212
212
|
try {
|
|
213
|
-
apiKey =
|
|
213
|
+
apiKey = _chunkEYWES7F5js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
214
214
|
} catch (e2) {
|
|
215
215
|
return false;
|
|
216
216
|
}
|
|
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
|
237
237
|
failure_code: failureCode2,
|
|
238
238
|
failure_stage: failureStage,
|
|
239
239
|
error_body: "Automatic Deepline skills installation failed.",
|
|
240
|
-
cli_version:
|
|
240
|
+
cli_version: _chunkO7RSUW75js.SDK_VERSION,
|
|
241
241
|
context: {
|
|
242
242
|
environment: buildEnvironmentContext(),
|
|
243
243
|
skills_sync: {
|
|
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
|
|
|
357
357
|
failure_kind: failureKind,
|
|
358
358
|
failure_code: code,
|
|
359
359
|
failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
|
|
360
|
-
cli_version:
|
|
360
|
+
cli_version: _chunkO7RSUW75js.SDK_VERSION,
|
|
361
361
|
context: {
|
|
362
362
|
base_url: redactFailureText(input.baseUrl, 400),
|
|
363
363
|
command_summary: sanitizeCommand(input.argv),
|
|
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
|
|
|
377
377
|
if (isServerLoggedPlayRunStartFailure(input)) return false;
|
|
378
378
|
const exitCode = resolvedExitCode(input);
|
|
379
379
|
if (!shouldReport({ exitCode, error: input.error })) return false;
|
|
380
|
-
const baseUrl =
|
|
381
|
-
const apiKey =
|
|
380
|
+
const baseUrl = _chunkEYWES7F5js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
381
|
+
const apiKey = _chunkEYWES7F5js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
382
382
|
if (!apiKey) return false;
|
|
383
383
|
return postFailureReport({
|
|
384
384
|
baseUrl,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XZN3DBTP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IETLUG4C.mjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
10
|
var DeeplineClient2 = class extends DeeplineClient {
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.533",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "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."
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.533",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "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."
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2UYERVXF.mjs";
|
|
8
|
+
import "./chunk-IETLUG4C.mjs";
|
|
9
|
+
import "./chunk-MKUYZ7LR.mjs";
|
|
10
10
|
import "./chunk-QNHHZ63P.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-ZPGGW27Q.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YZK5RSUL.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
|