deepline 0.3.417 → 0.3.418
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/sdk/src/types.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/tool-category-descriptions.ts +9 -0
- package/dist/cli/auth-3OX637KU.js +40 -0
- package/dist/cli/{auth-2WNDS7OY.mjs → auth-V5ACU3O2.mjs} +4 -4
- package/dist/cli/{billing-P26TYS3F.js → billing-UB4MHOT3.js} +73 -73
- package/dist/cli/{billing-4Z7QGTTO.mjs → billing-ZIRQHJFE.mjs} +4 -4
- package/dist/cli/{chunk-3U6CYHMT.mjs → chunk-32UTANSY.mjs} +1 -1
- package/dist/cli/{chunk-C3YRH3EQ.js → chunk-7L622O4Y.js} +2 -2
- package/dist/cli/{chunk-OLCY3CTW.js → chunk-AJ3NO7DO.js} +2 -2
- package/dist/cli/{chunk-OW7VBN4Q.js → chunk-CC2IVEOS.js} +6 -6
- package/dist/cli/{chunk-WRM2OWWT.mjs → chunk-IPKEHXR3.mjs} +2 -2
- package/dist/cli/{chunk-YGZV4IVP.js → chunk-IQD57S4D.js} +85 -79
- package/dist/cli/{chunk-QS7WRPCP.js → chunk-IRIY5HJ2.js} +50 -50
- package/dist/cli/{chunk-Y2HY7GL3.js → chunk-K6T5LK2V.js} +20 -20
- package/dist/cli/{chunk-W2DLQJ35.mjs → chunk-MBD53IKH.mjs} +3 -3
- package/dist/cli/{chunk-5D477CAK.js → chunk-MC2WIGSK.js} +8 -8
- package/dist/cli/{chunk-723EDOP2.mjs → chunk-MN6AKSIF.mjs} +2 -2
- package/dist/cli/{chunk-IX6CRC7R.js → chunk-OPYLSD2Y.js} +6 -6
- package/dist/cli/{chunk-H25KUAJM.mjs → chunk-OX2RL4U2.mjs} +1 -1
- package/dist/cli/{chunk-ZJFUKGDR.js → chunk-QMLU6FR6.js} +26 -26
- package/dist/cli/{chunk-Z7IVSY3A.mjs → chunk-RTK7HFI2.mjs} +3 -3
- package/dist/cli/{chunk-MRBM5H5V.mjs → chunk-SWMW7CGZ.mjs} +4 -4
- package/dist/cli/{chunk-R7HAELOE.js → chunk-TBSHWXLW.js} +52 -52
- package/dist/cli/{chunk-H67BP5SQ.mjs → chunk-TX7M4PHR.mjs} +3 -3
- package/dist/cli/{chunk-GRIE5VE3.mjs → chunk-U4ZC7W7F.mjs} +1 -1
- package/dist/cli/{chunk-EHGFSE44.js → chunk-UMKUJEPH.js} +1 -1
- package/dist/cli/{chunk-RRBYMSN6.mjs → chunk-VCXODFZY.mjs} +2 -2
- package/dist/cli/{chunk-CCRV2MCO.mjs → chunk-W4DLZBGA.mjs} +1 -1
- package/dist/cli/{chunk-L5YPTOLF.js → chunk-X4L2TVBM.js} +10 -10
- package/dist/cli/{chunk-ECKCIGJC.mjs → chunk-X6TVPUPJ.mjs} +1 -1
- package/dist/cli/{chunk-A3G7FZXB.js → chunk-XMISTHAV.js} +35 -35
- package/dist/cli/{chunk-2HQOCIFE.mjs → chunk-XRAEC3CY.mjs} +2 -2
- package/dist/cli/{chunk-ULGMHMTD.js → chunk-Y26NGVRJ.js} +8 -8
- package/dist/cli/{chunk-NATVQHG6.mjs → chunk-YKCQ6C72.mjs} +5 -5
- package/dist/cli/{chunk-IHHPUALO.mjs → chunk-YVJ45IPJ.mjs} +1 -1
- package/dist/cli/{chunk-QLP4Z6JG.js → chunk-ZLPLABLC.js} +4 -4
- package/dist/cli/{chunk-3FPDXTYQ.js → chunk-ZTZO2CCM.js} +16 -16
- package/dist/cli/{chunk-TNFYPFMU.mjs → chunk-ZVIFW7LC.mjs} +14 -8
- package/dist/cli/{csv-UKZDQDD5.mjs → csv-NUXKAO75.mjs} +3 -3
- package/dist/cli/{csv-PHHEOCRC.js → csv-YMB7KQ4Y.js} +12 -12
- package/dist/cli/{db-DUMQYDPZ.js → db-DZZVILTC.js} +25 -25
- package/dist/cli/{db-K3N4AJHP.mjs → db-KZDA6JI2.mjs} +4 -4
- package/dist/cli/{describe-RSQAAZWX.js → describe-AEPMZMC5.js} +16 -16
- package/dist/cli/{describe-LYS7YLGP.mjs → describe-F3YVMAIW.mjs} +12 -12
- package/dist/cli/describe-core.d.mts +1 -1
- package/dist/cli/describe-core.d.ts +1 -1
- package/dist/cli/{executions-FQI2EGXY.js → executions-45F3UHOR.js} +6 -6
- package/dist/cli/{executions-A7OT35MH.mjs → executions-FZHTM5M6.mjs} +4 -4
- package/dist/cli/{feedback-EGTCQ4VW.js → feedback-BB3Z4UEA.js} +7 -7
- package/dist/cli/{feedback-E77JS5G4.mjs → feedback-Z3DPAIUE.mjs} +3 -3
- package/dist/cli/git-MFVTGD4N.js +24 -0
- package/dist/cli/{git-Y66QSXUA.mjs → git-VB7DKQIF.mjs} +4 -4
- package/dist/cli/index.js +131 -131
- package/dist/cli/index.mjs +36 -36
- package/dist/cli/{legacy-noops-E7NYDS2S.mjs → legacy-noops-FUCTWERE.mjs} +4 -4
- package/dist/cli/{legacy-noops-BUEO7ZIG.js → legacy-noops-KNXHDWXZ.js} +7 -7
- package/dist/cli/{monitors-IGOA4L5O.js → monitors-JAA2QU5X.js} +84 -84
- package/dist/cli/{monitors-YGX7XZHL.mjs → monitors-QVY6M22O.mjs} +4 -4
- package/dist/cli/{org-QOVN4IJE.js → org-6REABQZW.js} +64 -64
- package/dist/cli/{org-IUCMNFCG.mjs → org-J4SVIQHM.mjs} +4 -4
- package/dist/cli/{play-GCQETZW6.js → play-2PSN3ZIQ.js} +283 -283
- package/dist/cli/{play-BASBWJY7.mjs → play-6JEILD2O.mjs} +10 -10
- package/dist/cli/{providers-VC5QBJZ3.js → providers-KC2TT6IK.js} +7 -7
- package/dist/cli/{providers-RF7LEMAP.mjs → providers-VWOLONCJ.mjs} +4 -4
- package/dist/cli/{quickstart-64EULHRG.js → quickstart-CP7L4OHB.js} +5 -5
- package/dist/cli/{quickstart-7GAOQSQA.mjs → quickstart-ZAC3IDFO.mjs} +3 -3
- package/dist/cli/search-FOUJGAMG.js +30 -0
- package/dist/cli/{search-UOMJJUVT.mjs → search-ZN5ZNNMY.mjs} +5 -5
- package/dist/cli/{secrets-MIIKANZ7.mjs → secrets-LNUVVSXM.mjs} +4 -4
- package/dist/cli/{secrets-GGXQOSGV.js → secrets-V6SPFXBE.js} +13 -13
- package/dist/cli/{sessions-L7OMZEPU.js → sessions-5CZX2SXB.js} +5 -5
- package/dist/cli/{sessions-VQENKFWC.mjs → sessions-7RW3QBGB.mjs} +4 -4
- package/dist/cli/{settings-GKI7CZ62.js → settings-TSAEGFLE.js} +75 -75
- package/dist/cli/{settings-JCJPJCKF.mjs → settings-YEM3ZFDW.mjs} +8 -8
- package/dist/cli/{setup-P4AM7K34.js → setup-AAHA5LHX.js} +42 -42
- package/dist/cli/{setup-BN25RDMT.mjs → setup-JJD4K7W2.mjs} +7 -7
- package/dist/cli/{skills-3M2OV4EQ.mjs → skills-PH7JSP56.mjs} +5 -5
- package/dist/cli/skills-RU3O66D5.js +29 -0
- package/dist/cli/{tools-337Y5WWW.mjs → tools-5GBFL3JE.mjs} +12 -12
- package/dist/cli/tools-7Q3YFIFR.js +44 -0
- package/dist/cli/update-4RBEYEQ5.js +31 -0
- package/dist/cli/{update-A3Y6PY7O.mjs → update-IKTFZC6V.mjs} +7 -7
- package/dist/cli/{workflow-LPO25MX7.mjs → workflow-RNV56CI7.mjs} +5 -5
- package/dist/cli/{workflow-XQATHEOS.js → workflow-ZFIZP6U6.js} +15 -15
- package/dist/{client-CNfY1AzH.d.mts → client-CCWIUnk7.d.mts} +2 -0
- package/dist/{client-CNjtvsqn.d.ts → client-vHqBm-OL.d.ts} +2 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +80 -80
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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/package.json +1 -1
- package/dist/cli/auth-3NIULVL4.js +0 -40
- package/dist/cli/git-PHGV243L.js +0 -24
- package/dist/cli/search-7TOXLL4V.js +0 -30
- package/dist/cli/skills-NGE2YPQJ.js +0 -29
- package/dist/cli/tools-ROHOYYLK.js +0 -44
- package/dist/cli/update-6ZC2XCW6.js +0 -31
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkCC2IVEOSjs = require('./chunk-CC2IVEOS.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -25,7 +25,7 @@ var _chunkOW7VBN4Qjs = require('./chunk-OW7VBN4Q.js');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkZLPLABLCjs = require('./chunk-ZLPLABLC.js');
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/auth.ts
|
|
31
31
|
|
|
@@ -52,7 +52,7 @@ function statusBannerLine(value) {
|
|
|
52
52
|
return `Service notice: ${banner.message}`;
|
|
53
53
|
}
|
|
54
54
|
function envFilePath(baseUrl) {
|
|
55
|
-
return
|
|
55
|
+
return _chunkZLPLABLCjs.hostEnvFilePath.call(void 0, baseUrl);
|
|
56
56
|
}
|
|
57
57
|
function normalizeAuthScope(value) {
|
|
58
58
|
if (!value || value === "global") return "global";
|
|
@@ -65,7 +65,7 @@ function parseAuthScope(args) {
|
|
|
65
65
|
}
|
|
66
66
|
function pendingClaimPath(baseUrl, scope) {
|
|
67
67
|
if (scope === "folder") {
|
|
68
|
-
const target =
|
|
68
|
+
const target = _chunkZLPLABLCjs.resolveProjectPinTarget.call(void 0, );
|
|
69
69
|
if (!target.ok) {
|
|
70
70
|
throw new Error(
|
|
71
71
|
`Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
|
|
@@ -75,10 +75,10 @@ function pendingClaimPath(baseUrl, scope) {
|
|
|
75
75
|
}
|
|
76
76
|
return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
|
|
77
77
|
}
|
|
78
|
-
return `${
|
|
78
|
+
return `${_chunkZLPLABLCjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
|
|
79
79
|
}
|
|
80
80
|
function legacyPendingClaimTokenPath(baseUrl) {
|
|
81
|
-
return `${
|
|
81
|
+
return `${_chunkZLPLABLCjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
|
|
82
82
|
}
|
|
83
83
|
function savePendingClaim(baseUrl, claim) {
|
|
84
84
|
const filePath = pendingClaimPath(baseUrl, claim.scope);
|
|
@@ -180,21 +180,21 @@ function parseRegisterWaitMode(args) {
|
|
|
180
180
|
function shouldWaitForRegisterClaim(mode) {
|
|
181
181
|
if (mode === "yes") return true;
|
|
182
182
|
if (mode === "no") return false;
|
|
183
|
-
return
|
|
183
|
+
return _chunkZLPLABLCjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
|
|
184
184
|
}
|
|
185
185
|
function saveEnvValues(values, baseUrl, scope) {
|
|
186
186
|
const filtered = {
|
|
187
|
-
...values[
|
|
188
|
-
...values[
|
|
189
|
-
...values[
|
|
190
|
-
...Object.prototype.hasOwnProperty.call(values,
|
|
187
|
+
...values[_chunkZLPLABLCjs.HOST_URL_ENV] ? { [_chunkZLPLABLCjs.HOST_URL_ENV]: values[_chunkZLPLABLCjs.HOST_URL_ENV] } : {},
|
|
188
|
+
...values[_chunkZLPLABLCjs.API_KEY_ENV] ? { [_chunkZLPLABLCjs.API_KEY_ENV]: values[_chunkZLPLABLCjs.API_KEY_ENV] } : {},
|
|
189
|
+
...values[_chunkZLPLABLCjs.ACTIVE_ORG_ID_ENV] ? { [_chunkZLPLABLCjs.ACTIVE_ORG_ID_ENV]: values[_chunkZLPLABLCjs.ACTIVE_ORG_ID_ENV] } : {},
|
|
190
|
+
...Object.prototype.hasOwnProperty.call(values, _chunkZLPLABLCjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkZLPLABLCjs.ACTIVE_ORG_NAME_ENV]: values[_chunkZLPLABLCjs.ACTIVE_ORG_NAME_ENV] } : {},
|
|
191
191
|
// An explicit empty list must reach the store: it clears a stale line.
|
|
192
|
-
...Object.prototype.hasOwnProperty.call(values,
|
|
192
|
+
...Object.prototype.hasOwnProperty.call(values, _chunkZLPLABLCjs.FEATURES_ENV) ? { [_chunkZLPLABLCjs.FEATURES_ENV]: values[_chunkZLPLABLCjs.FEATURES_ENV] } : {}
|
|
193
193
|
};
|
|
194
194
|
if (scope === "folder") {
|
|
195
|
-
|
|
195
|
+
_chunkZLPLABLCjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
|
|
196
196
|
} else {
|
|
197
|
-
|
|
197
|
+
_chunkZLPLABLCjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
function activeOrgEnvValues(data) {
|
|
@@ -202,21 +202,21 @@ function activeOrgEnvValues(data) {
|
|
|
202
202
|
if (!orgId) return {};
|
|
203
203
|
const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
|
|
204
204
|
return {
|
|
205
|
-
[
|
|
206
|
-
[
|
|
207
|
-
...
|
|
205
|
+
[_chunkZLPLABLCjs.ACTIVE_ORG_ID_ENV]: orgId,
|
|
206
|
+
[_chunkZLPLABLCjs.ACTIVE_ORG_NAME_ENV]: orgName,
|
|
207
|
+
..._chunkZLPLABLCjs.featureEnvValues.call(void 0, data)
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
210
|
async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
|
|
211
211
|
const headers = {
|
|
212
212
|
"Content-Type": "application/json",
|
|
213
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
213
|
+
"User-Agent": `deepline-ts-sdk/${_chunkZLPLABLCjs.SDK_VERSION}`,
|
|
214
214
|
"X-Deepline-Client-Family": "sdk",
|
|
215
215
|
"X-Deepline-CLI-Family": "sdk",
|
|
216
|
-
"X-Deepline-Agent-Runtime":
|
|
217
|
-
"X-Deepline-CLI-Version":
|
|
218
|
-
"X-Deepline-SDK-Version":
|
|
219
|
-
"X-Deepline-API-Contract":
|
|
216
|
+
"X-Deepline-Agent-Runtime": _chunkZLPLABLCjs.detectAgentRuntime.call(void 0, ),
|
|
217
|
+
"X-Deepline-CLI-Version": _chunkZLPLABLCjs.SDK_VERSION,
|
|
218
|
+
"X-Deepline-SDK-Version": _chunkZLPLABLCjs.SDK_VERSION,
|
|
219
|
+
"X-Deepline-API-Contract": _chunkZLPLABLCjs.SDK_API_CONTRACT
|
|
220
220
|
};
|
|
221
221
|
if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
|
|
222
222
|
const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
|
|
@@ -262,7 +262,7 @@ async function readStatusBanner(baseUrl) {
|
|
|
262
262
|
return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
|
|
263
263
|
}
|
|
264
264
|
async function reportSetupCompleted(input) {
|
|
265
|
-
const apiKey = input.authScope === "folder" ?
|
|
265
|
+
const apiKey = input.authScope === "folder" ? _chunkZLPLABLCjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkZLPLABLCjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
266
266
|
if (!apiKey) return;
|
|
267
267
|
try {
|
|
268
268
|
await httpJson(
|
|
@@ -359,7 +359,7 @@ async function printClaimSuccessBanner(baseUrl, apiKey, statusData) {
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
async function handleRegister(args) {
|
|
362
|
-
const baseUrl =
|
|
362
|
+
const baseUrl = _chunkZLPLABLCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
363
363
|
let orgName = "";
|
|
364
364
|
let orgId = "";
|
|
365
365
|
let agentName = "";
|
|
@@ -414,19 +414,19 @@ async function handleRegister(args) {
|
|
|
414
414
|
});
|
|
415
415
|
saveEnvValues(
|
|
416
416
|
{
|
|
417
|
-
[
|
|
417
|
+
[_chunkZLPLABLCjs.HOST_URL_ENV]: baseUrl
|
|
418
418
|
},
|
|
419
419
|
baseUrl,
|
|
420
420
|
authScope
|
|
421
421
|
);
|
|
422
422
|
}
|
|
423
423
|
if (claimUrl) {
|
|
424
|
-
const shouldOpen = waitMode !== "no" &&
|
|
424
|
+
const shouldOpen = waitMode !== "no" && _chunkZLPLABLCjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
|
|
425
425
|
console.log(
|
|
426
426
|
shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
|
|
427
427
|
);
|
|
428
428
|
console.log(` ${claimUrl}`);
|
|
429
|
-
if (shouldOpen)
|
|
429
|
+
if (shouldOpen) _chunkCC2IVEOSjs.openInBrowser.call(void 0, claimUrl);
|
|
430
430
|
}
|
|
431
431
|
if (data.cli_message) {
|
|
432
432
|
console.log(String(data.cli_message));
|
|
@@ -469,8 +469,8 @@ async function handleRegister(args) {
|
|
|
469
469
|
if (apiKey) {
|
|
470
470
|
saveEnvValues(
|
|
471
471
|
{
|
|
472
|
-
[
|
|
473
|
-
[
|
|
472
|
+
[_chunkZLPLABLCjs.HOST_URL_ENV]: baseUrl,
|
|
473
|
+
[_chunkZLPLABLCjs.API_KEY_ENV]: apiKey,
|
|
474
474
|
...activeOrgEnvValues(statusData)
|
|
475
475
|
},
|
|
476
476
|
baseUrl,
|
|
@@ -492,7 +492,7 @@ async function handleRegister(args) {
|
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
async function handleWait(args) {
|
|
495
|
-
const baseUrl =
|
|
495
|
+
const baseUrl = _chunkZLPLABLCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
496
496
|
let timeoutSeconds = 300;
|
|
497
497
|
let requestedScope;
|
|
498
498
|
if (args.includes("--auth-scope")) {
|
|
@@ -516,7 +516,7 @@ async function handleWait(args) {
|
|
|
516
516
|
const authScope = resumed.scope;
|
|
517
517
|
const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _12 => _12.claimToken]), () => ( ""));
|
|
518
518
|
if (!pendingClaim) {
|
|
519
|
-
const scopedApiKey = authScope === "folder" ?
|
|
519
|
+
const scopedApiKey = authScope === "folder" ? _chunkZLPLABLCjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkZLPLABLCjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
520
520
|
if (scopedApiKey) {
|
|
521
521
|
console.log("Already connected.");
|
|
522
522
|
return EXIT_OK;
|
|
@@ -559,8 +559,8 @@ async function handleWait(args) {
|
|
|
559
559
|
if (apiKey) {
|
|
560
560
|
saveEnvValues(
|
|
561
561
|
{
|
|
562
|
-
[
|
|
563
|
-
[
|
|
562
|
+
[_chunkZLPLABLCjs.HOST_URL_ENV]: baseUrl,
|
|
563
|
+
[_chunkZLPLABLCjs.API_KEY_ENV]: apiKey,
|
|
564
564
|
...activeOrgEnvValues(data)
|
|
565
565
|
},
|
|
566
566
|
baseUrl,
|
|
@@ -584,8 +584,8 @@ async function handleWait(args) {
|
|
|
584
584
|
return EXIT_AUTH;
|
|
585
585
|
}
|
|
586
586
|
async function authStatusLine(timeoutMs = 3e3) {
|
|
587
|
-
const baseUrl =
|
|
588
|
-
const apiKey =
|
|
587
|
+
const baseUrl = _chunkZLPLABLCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
588
|
+
const apiKey = _chunkZLPLABLCjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
589
589
|
if (!apiKey) return `Auth: not connected (${baseUrl})`;
|
|
590
590
|
try {
|
|
591
591
|
const { status, data } = await httpJson(
|
|
@@ -608,9 +608,9 @@ async function authStatusLine(timeoutMs = 3e3) {
|
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
610
|
async function handleStatus(args) {
|
|
611
|
-
const baseUrl =
|
|
611
|
+
const baseUrl = _chunkZLPLABLCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
612
612
|
const reveal = args.includes("--reveal");
|
|
613
|
-
const jsonOutput =
|
|
613
|
+
const jsonOutput = _chunkCC2IVEOSjs.argsWantJson.call(void 0, args);
|
|
614
614
|
const hasExplicitAuthScope = args.includes("--auth-scope");
|
|
615
615
|
let authScope = null;
|
|
616
616
|
if (hasExplicitAuthScope) {
|
|
@@ -651,14 +651,14 @@ async function handleStatus(args) {
|
|
|
651
651
|
};
|
|
652
652
|
hostLines.push(`Host: ${baseUrl} (unreachable)`);
|
|
653
653
|
}
|
|
654
|
-
const apiKey = authScope === "folder" ?
|
|
654
|
+
const apiKey = authScope === "folder" ? _chunkZLPLABLCjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkZLPLABLCjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkZLPLABLCjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
655
655
|
if (!apiKey) {
|
|
656
656
|
const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
|
|
657
657
|
baseUrl,
|
|
658
658
|
_nullishCoalesce(authScope, () => ( void 0))
|
|
659
659
|
);
|
|
660
660
|
if (pendingClaim) {
|
|
661
|
-
|
|
661
|
+
_chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
|
|
662
662
|
{
|
|
663
663
|
..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
|
|
664
664
|
status: "pending",
|
|
@@ -679,7 +679,7 @@ async function handleStatus(args) {
|
|
|
679
679
|
);
|
|
680
680
|
return EXIT_OK;
|
|
681
681
|
}
|
|
682
|
-
|
|
682
|
+
_chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
|
|
683
683
|
{
|
|
684
684
|
..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
|
|
685
685
|
status: "not connected",
|
|
@@ -712,7 +712,7 @@ async function handleStatus(args) {
|
|
|
712
712
|
}
|
|
713
713
|
);
|
|
714
714
|
if (status === 401 || status === 403) {
|
|
715
|
-
|
|
715
|
+
_chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
|
|
716
716
|
{
|
|
717
717
|
..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
|
|
718
718
|
status: "unauthorized",
|
|
@@ -739,7 +739,7 @@ async function handleStatus(args) {
|
|
|
739
739
|
console.error(`Auth status error (status ${status}).`);
|
|
740
740
|
return EXIT_SERVER;
|
|
741
741
|
}
|
|
742
|
-
const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (
|
|
742
|
+
const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkZLPLABLCjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
|
|
743
743
|
clearSatisfiedPendingClaim(
|
|
744
744
|
baseUrl,
|
|
745
745
|
resolvedAuthScope,
|
|
@@ -767,28 +767,28 @@ async function handleStatus(args) {
|
|
|
767
767
|
if (apiKeyResp) {
|
|
768
768
|
saveEnvValues(
|
|
769
769
|
{
|
|
770
|
-
[
|
|
771
|
-
[
|
|
770
|
+
[_chunkZLPLABLCjs.HOST_URL_ENV]: baseUrl,
|
|
771
|
+
[_chunkZLPLABLCjs.API_KEY_ENV]: apiKeyResp,
|
|
772
772
|
...activeOrgEnvValues(data)
|
|
773
773
|
},
|
|
774
774
|
baseUrl,
|
|
775
775
|
resolvedAuthScope
|
|
776
776
|
);
|
|
777
777
|
if (resolvedAuthScope === "folder") {
|
|
778
|
-
const target =
|
|
778
|
+
const target = _chunkZLPLABLCjs.resolveProjectPinTarget.call(void 0, );
|
|
779
779
|
savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
|
|
780
780
|
} else {
|
|
781
781
|
savedApiKeyPath = envFilePath(baseUrl);
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
} else if (resolvedAuthScope === "folder" ||
|
|
785
|
-
saveEnvValues(
|
|
784
|
+
} else if (resolvedAuthScope === "folder" || _chunkZLPLABLCjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
|
|
785
|
+
saveEnvValues(_chunkZLPLABLCjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
|
|
786
786
|
}
|
|
787
|
-
|
|
787
|
+
_chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
|
|
788
788
|
{
|
|
789
789
|
...payload,
|
|
790
|
-
...
|
|
791
|
-
command_context:
|
|
790
|
+
..._chunkZLPLABLCjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
|
|
791
|
+
command_context: _chunkZLPLABLCjs.resolveCliCommandContext.call(void 0,
|
|
792
792
|
{ baseUrl, apiKey },
|
|
793
793
|
resolvedAuthScope
|
|
794
794
|
)
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZTZO2CCMjs = require('./chunk-ZTZO2CCM.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkTBSHWXLWjs = require('./chunk-TBSHWXLW.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkCC2IVEOSjs = require('./chunk-CC2IVEOS.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkZLPLABLCjs = require('./chunk-ZLPLABLC.js');
|
|
19
19
|
|
|
20
20
|
// src/cli/compatibility-catalog.ts
|
|
21
21
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
|
|
|
42
42
|
async function reportAutoUpdateEvent(input) {
|
|
43
43
|
let apiKey = "";
|
|
44
44
|
try {
|
|
45
|
-
apiKey =
|
|
45
|
+
apiKey = _chunkZLPLABLCjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
46
46
|
} catch (e2) {
|
|
47
47
|
return;
|
|
48
48
|
}
|
|
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
|
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`,
|
|
60
60
|
"Content-Type": "application/json",
|
|
61
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
61
|
+
"User-Agent": `deepline-ts-sdk/${_chunkZLPLABLCjs.SDK_VERSION}`,
|
|
62
62
|
"X-Deepline-Client-Family": "sdk",
|
|
63
63
|
"X-Deepline-CLI-Family": "sdk",
|
|
64
|
-
"X-Deepline-CLI-Version":
|
|
65
|
-
"X-Deepline-SDK-Version":
|
|
64
|
+
"X-Deepline-CLI-Version": _chunkZLPLABLCjs.SDK_VERSION,
|
|
65
|
+
"X-Deepline-SDK-Version": _chunkZLPLABLCjs.SDK_VERSION
|
|
66
66
|
},
|
|
67
67
|
body: JSON.stringify({
|
|
68
68
|
event: input.event,
|
|
69
|
-
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ||
|
|
69
|
+
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkZLPLABLCjs.SDK_VERSION,
|
|
70
70
|
target_version: input.response.latest,
|
|
71
71
|
reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
|
|
72
72
|
command: _nullishCoalesce(input.response.command, () => ( null)),
|
|
@@ -85,13 +85,13 @@ function envTruthy(name) {
|
|
|
85
85
|
return value === "1" || value === "true" || value === "yes";
|
|
86
86
|
}
|
|
87
87
|
function shouldSkipSelfUpdate(policy) {
|
|
88
|
-
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !
|
|
88
|
+
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkZTZO2CCMjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkTBSHWXLWjs.isCiEnvironment.call(void 0, );
|
|
89
89
|
}
|
|
90
90
|
function isDowngradeAutoUpdateResponse(response) {
|
|
91
91
|
const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
|
|
92
|
-
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) ||
|
|
92
|
+
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkZLPLABLCjs.SDK_VERSION;
|
|
93
93
|
if (!target) return false;
|
|
94
|
-
return
|
|
94
|
+
return _chunkZTZO2CCMjs.compareUpdateVersions.call(void 0, target, current) < 0;
|
|
95
95
|
}
|
|
96
96
|
function relaunchCurrentCommand(plan, runtime = {}) {
|
|
97
97
|
return new Promise((resolve) => {
|
|
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
144
144
|
}
|
|
145
145
|
if (isDowngradeAutoUpdateResponse(response)) {
|
|
146
146
|
const target = response.latest;
|
|
147
|
-
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) ||
|
|
147
|
+
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkZLPLABLCjs.SDK_VERSION;
|
|
148
148
|
process.stderr.write(
|
|
149
149
|
`Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
|
|
150
150
|
`
|
|
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
152
152
|
return false;
|
|
153
153
|
}
|
|
154
154
|
const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
|
|
155
|
-
const plan =
|
|
155
|
+
const plan = _chunkZTZO2CCMjs.resolveUpdatePlan.call(void 0, {
|
|
156
156
|
packageSpec,
|
|
157
157
|
requireVerifiedNpmOwnership: true,
|
|
158
158
|
npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
|
|
159
159
|
});
|
|
160
|
-
if (!
|
|
160
|
+
if (!_chunkZTZO2CCMjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
|
|
161
161
|
return false;
|
|
162
162
|
}
|
|
163
163
|
if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
164
164
|
deferredAutoUpdate = async () => {
|
|
165
165
|
await applyAutoUpdate(response, baseUrl, plan, "next_command");
|
|
166
166
|
};
|
|
167
|
-
if (
|
|
167
|
+
if (_chunkCC2IVEOSjs.isJsonOutputMode.call(void 0, )) {
|
|
168
168
|
const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
|
|
169
|
-
|
|
169
|
+
_chunkCC2IVEOSjs.addJsonNotice.call(void 0, {
|
|
170
170
|
code: "sdk_update_queued",
|
|
171
171
|
message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
|
|
172
172
|
});
|
|
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
179
179
|
return true;
|
|
180
180
|
}
|
|
181
181
|
async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
182
|
-
if (!
|
|
182
|
+
if (!_chunkZTZO2CCMjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
|
|
183
183
|
const autoUpdate = response.auto_update;
|
|
184
184
|
const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
|
|
185
185
|
process.stderr.write(
|
|
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
192
192
|
event: "started",
|
|
193
193
|
installKind: plan.kind
|
|
194
194
|
});
|
|
195
|
-
const updateResult = await
|
|
195
|
+
const updateResult = await _chunkZTZO2CCMjs.runAutomaticUpdatePlan.call(void 0, plan);
|
|
196
196
|
if (updateResult.status === "skipped_previous_failure") {
|
|
197
197
|
void reportAutoUpdateEvent({
|
|
198
198
|
baseUrl,
|
|
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
|
|
|
243
243
|
var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
|
|
244
244
|
var activeToolExecuteCommand = null;
|
|
245
245
|
function progressLine(line) {
|
|
246
|
-
if (!
|
|
246
|
+
if (!_chunkCC2IVEOSjs.isJsonOutputMode.call(void 0, )) console.error(line);
|
|
247
247
|
}
|
|
248
248
|
function beginToolExecuteCommand() {
|
|
249
249
|
if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-LJ5747UC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X6TVPUPJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope,
|
|
9
9
|
renderCommandEnvelopeText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W4DLZBGA.mjs";
|
|
11
11
|
import {
|
|
12
12
|
resolveConfig,
|
|
13
13
|
sdkCliStateDirPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OX2RL4U2.mjs";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__toESM
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkX4L2TVBMjs = require('./chunk-X4L2TVBM.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkCC2IVEOSjs = require('./chunk-CC2IVEOS.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkZLPLABLCjs = require('./chunk-ZLPLABLC.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
|
|
|
5713
5713
|
var _path = require('path');
|
|
5714
5714
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
5715
5715
|
function lastSearchPath() {
|
|
5716
|
-
return _path.join.call(void 0,
|
|
5716
|
+
return _path.join.call(void 0, _chunkZLPLABLCjs.sdkCliStateDirPath.call(void 0, _chunkZLPLABLCjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
5717
5717
|
}
|
|
5718
5718
|
function rememberSearchRef(searchRef) {
|
|
5719
5719
|
try {
|
|
@@ -5873,7 +5873,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
5873
5873
|
];
|
|
5874
5874
|
function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
|
|
5875
5875
|
if (result.results.length === 0)
|
|
5876
|
-
return
|
|
5876
|
+
return _chunkCC2IVEOSjs.renderCommandEnvelopeText.call(void 0, result);
|
|
5877
5877
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
5878
5878
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
5879
5879
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -5898,7 +5898,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
|
|
|
5898
5898
|
actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
|
|
5899
5899
|
};
|
|
5900
5900
|
const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
|
|
5901
|
-
${
|
|
5901
|
+
${_chunkCC2IVEOSjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5902
5902
|
const notes = rows.flatMap(
|
|
5903
5903
|
(row) => row.notes.map((note) => ` ${row.id}: ${note}`)
|
|
5904
5904
|
);
|
|
@@ -5983,7 +5983,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
5983
5983
|
console.error("--summary-width must be an integer of at least 2.");
|
|
5984
5984
|
return 1;
|
|
5985
5985
|
}
|
|
5986
|
-
const { search_ref: searchRef, ...result } = await new (0,
|
|
5986
|
+
const { search_ref: searchRef, ...result } = await new (0, _chunkX4L2TVBMjs.DeeplineClient)().search({
|
|
5987
5987
|
query,
|
|
5988
5988
|
types,
|
|
5989
5989
|
exclude,
|
|
@@ -5997,7 +5997,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
5997
5997
|
});
|
|
5998
5998
|
if (searchRef) rememberSearchRef(searchRef);
|
|
5999
5999
|
pointAtDescribe(result);
|
|
6000
|
-
|
|
6000
|
+
_chunkCC2IVEOSjs.printCommandEnvelope.call(void 0, result, {
|
|
6001
6001
|
json: options.json === true,
|
|
6002
6002
|
text: renderSearchResults(result, summaryWidth)
|
|
6003
6003
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W4DLZBGA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
agentSessionIdFromEnvironment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OX2RL4U2.mjs";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
import {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk7L622O4Yjs = require('./chunk-7L622O4Y.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkTBSHWXLWjs = require('./chunk-TBSHWXLW.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
|
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
16
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
|
|
17
|
-
if (maintenancePolicy !== "off")
|
|
18
|
-
const compatibility = await
|
|
17
|
+
if (maintenancePolicy !== "off") _chunkTBSHWXLWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
18
|
+
const compatibility = await _chunk7L622O4Yjs.traceCliSpan.call(void 0,
|
|
19
19
|
"cli.sdk_compatibility",
|
|
20
20
|
{ baseUrl, command: "plays run" },
|
|
21
|
-
() =>
|
|
21
|
+
() => _chunkTBSHWXLWjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
22
22
|
command: "plays run",
|
|
23
23
|
persistCache: maintenancePolicy !== "off"
|
|
24
24
|
})
|
|
25
25
|
);
|
|
26
26
|
if (compatibility.error) throw compatibility.error;
|
|
27
|
-
|
|
27
|
+
_chunkTBSHWXLWjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
28
28
|
quietAdvisory: true
|
|
29
29
|
});
|
|
30
30
|
}
|