deepline 0.3.566 → 0.3.568
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-core.ts +33 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +21 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/cli/{auth-HSFDBHVB.mjs → auth-AV6JJ2Y6.mjs} +5 -5
- package/dist/cli/auth-IPONFGG7.js +44 -0
- package/dist/cli/{billing-NG5W2PDU.js → billing-3RUXM4OW.js} +102 -102
- package/dist/cli/{billing-6T7HH6DE.mjs → billing-3RVJZROW.mjs} +9 -9
- package/dist/cli/{chunk-H6BQIQEJ.js → chunk-2BWPNLYG.js} +9 -9
- package/dist/cli/{chunk-6F6DMBEJ.js → chunk-4PAGRUZA.js} +15 -15
- package/dist/cli/{chunk-FUTXULX5.mjs → chunk-4QGZUHDF.mjs} +5 -5
- package/dist/cli/{chunk-VRWMQUFO.js → chunk-5KDMJLQX.js} +5 -5
- package/dist/cli/{chunk-TVGGBQFG.js → chunk-5KHSPLPO.js} +20 -20
- package/dist/cli/{chunk-GY7MY2IJ.js → chunk-5NBR7V5U.js} +1 -1
- package/dist/cli/{chunk-AGDRIXF2.mjs → chunk-5SOJGKQM.mjs} +1 -1
- package/dist/cli/{chunk-L2P3672R.js → chunk-7X34FUYS.js} +7 -7
- package/dist/cli/{chunk-SR7IUISM.mjs → chunk-AAXGFMYQ.mjs} +19 -1
- package/dist/cli/{chunk-PRM3WYG7.js → chunk-ANRKUFUG.js} +100 -100
- package/dist/cli/{chunk-E44TMICV.mjs → chunk-BXNCAZ7G.mjs} +1 -1
- package/dist/cli/{chunk-FXSDDRVX.js → chunk-D2DYHEH7.js} +23 -23
- package/dist/cli/{chunk-CQX5MWHH.js → chunk-DIPM4GTS.js} +5 -5
- package/dist/cli/{chunk-EIYQIY3C.js → chunk-F62RQL3X.js} +3 -3
- package/dist/cli/{chunk-P7Q27COZ.mjs → chunk-FQIOTHEZ.mjs} +1 -1
- package/dist/cli/{chunk-KOMEYB7H.mjs → chunk-G7GN3RGE.mjs} +1 -0
- package/dist/cli/{chunk-TYKMBPNE.mjs → chunk-GLTA22I3.mjs} +65 -3
- package/dist/cli/{chunk-3PNU3FEI.mjs → chunk-GXSJTCCG.mjs} +4 -4
- package/dist/cli/{chunk-CXK6ZEOQ.js → chunk-H4BU2RRU.js} +26 -8
- package/dist/cli/{chunk-MEBKPVHE.mjs → chunk-HQX2P4NH.mjs} +1 -1
- package/dist/cli/{chunk-AHELFBG5.js → chunk-JIEUKZ7J.js} +2 -2
- package/dist/cli/{chunk-ILTX6ZAH.js → chunk-JJSKWDUI.js} +6 -6
- package/dist/cli/{chunk-OFEARTQO.mjs → chunk-JPSKSXNS.mjs} +2 -2
- package/dist/cli/{chunk-JSVNTY47.js → chunk-JRTB75JO.js} +75 -13
- package/dist/cli/{chunk-KCD4LM2D.mjs → chunk-JT7S45KT.mjs} +3 -3
- package/dist/cli/{chunk-MIS3V2C3.js → chunk-KKIDGS7O.js} +10 -10
- package/dist/cli/{chunk-QBX4UJMY.mjs → chunk-KMWH6VY2.mjs} +2 -2
- package/dist/cli/{chunk-Z5BLACQ3.js → chunk-LKXBFVYU.js} +53 -53
- package/dist/cli/{chunk-PLXQIHRM.mjs → chunk-LQTLFFUB.mjs} +2 -2
- package/dist/cli/{chunk-CSXMBYEW.mjs → chunk-M3IMARRH.mjs} +1 -1
- package/dist/cli/{chunk-L5N4DSH4.mjs → chunk-MOJOAX3X.mjs} +3 -3
- package/dist/cli/{chunk-ZYXQIOWE.js → chunk-O4FCX6BS.js} +3 -3
- package/dist/cli/{chunk-YJEBAR3C.js → chunk-OWSTUCIB.js} +5 -5
- package/dist/cli/{chunk-RUVYG5TT.js → chunk-PE2XN2VM.js} +2 -2
- package/dist/cli/{chunk-7GLVIFDO.js → chunk-PPQHQ4J2.js} +48 -48
- package/dist/cli/{chunk-KKC7U4UJ.mjs → chunk-QVERY22Q.mjs} +2 -2
- package/dist/cli/{chunk-ARUXRZR4.mjs → chunk-RH3WIX2W.mjs} +2 -2
- package/dist/cli/{chunk-KXGUMGCU.js → chunk-RJJNXV36.js} +20 -20
- package/dist/cli/{chunk-5J6VEC75.js → chunk-RUAEON5J.js} +4 -4
- package/dist/cli/{chunk-OL3WYX7L.js → chunk-RZMU7ISG.js} +26 -26
- package/dist/cli/{chunk-FPKKYS7V.mjs → chunk-S2HGTJET.mjs} +5 -5
- package/dist/cli/{chunk-K3DEHKV7.mjs → chunk-SHO6BOXN.mjs} +11 -11
- package/dist/cli/{chunk-LAQNXNVR.mjs → chunk-SONHOBIK.mjs} +2 -2
- package/dist/cli/{chunk-AIF7ZHCF.mjs → chunk-TM3Z7JXT.mjs} +1 -1
- package/dist/cli/{chunk-AD47OWTE.mjs → chunk-TSNVG3T5.mjs} +1 -1
- package/dist/cli/{chunk-UF5MVM6L.js → chunk-UPUBCTSS.js} +2 -2
- package/dist/cli/{chunk-YFP7YZUU.mjs → chunk-V5WFPMUC.mjs} +4 -4
- package/dist/cli/{chunk-VHRYJACF.mjs → chunk-VEPXXRHO.mjs} +2 -2
- package/dist/cli/{chunk-KDPGBC5U.mjs → chunk-VIMSKO7W.mjs} +5 -5
- package/dist/cli/{chunk-BILFWD6F.mjs → chunk-VVGHZ7S6.mjs} +1 -1
- package/dist/cli/{chunk-RIV2AZLY.mjs → chunk-VW2EUXY2.mjs} +5 -5
- package/dist/cli/{chunk-K5QLALHC.js → chunk-WYXXJA5J.js} +41 -41
- package/dist/cli/{chunk-T3RKLPPS.js → chunk-Y4Q4LQRX.js} +13 -13
- package/dist/cli/{chunk-OEVCKW2M.js → chunk-ZVJ2YNAH.js} +1 -0
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-66WCD2Y4.js +22 -0
- package/dist/cli/{concurrent-runs-help-TNMN4C74.mjs → concurrent-runs-help-SJ27PPHV.mjs} +6 -6
- package/dist/cli/{csv-77H4JMDW.js → csv-BGXZKS5R.js} +13 -13
- package/dist/cli/{csv-KAZRKSLV.mjs → csv-ZN4QI6PJ.mjs} +4 -4
- package/dist/cli/{db-MM6R2466.js → db-KTAZ5FBG.js} +27 -27
- package/dist/cli/{db-XQQAVLWO.mjs → db-SVBVPMWN.mjs} +6 -6
- package/dist/cli/{describe-P5N56GPA.mjs → describe-4CGCRK24.mjs} +18 -18
- package/dist/cli/describe-M3MOFAVN.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-EGPCT2OK.js → executions-75DO2GBS.js} +8 -8
- package/dist/cli/{executions-EGEQZV5V.mjs → executions-YL5CTGWP.mjs} +6 -6
- package/dist/cli/{feedback-ALMW7OR5.js → feedback-2SMUBQZR.js} +14 -14
- package/dist/cli/{feedback-IWUJAF6O.mjs → feedback-VEA3XJM3.mjs} +6 -6
- package/dist/cli/{git-4CQQWLZP.mjs → git-BEYEHMCX.mjs} +5 -5
- package/dist/cli/git-XDS5BHBG.js +26 -0
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-Y7W5L7DW.js → integrations-PIXZBU2N.js} +29 -29
- package/dist/cli/{integrations-LS73NWU7.mjs → integrations-RXWE6WUZ.mjs} +7 -7
- package/dist/cli/{legacy-noops-V45TJGK3.mjs → legacy-noops-PJHP4GRU.mjs} +6 -6
- package/dist/cli/{legacy-noops-WXGSAZ6O.js → legacy-noops-XHVEYEJN.js} +9 -9
- package/dist/cli/{mcp-3QRLMKFF.js → mcp-276ZFIUM.js} +24 -24
- package/dist/cli/{mcp-4IHB3LCG.mjs → mcp-SUOIVUOM.mjs} +4 -4
- package/dist/cli/{monitors-K46XW6QH.mjs → monitors-AVGNLV7V.mjs} +7 -7
- package/dist/cli/{monitors-4I2QDCOV.js → monitors-DGBB7X4G.js} +100 -100
- package/dist/cli/{org-CBJY5DO5.js → org-U5275K5D.js} +121 -121
- package/dist/cli/{org-H3GYWKFC.mjs → org-WKP2BZJQ.mjs} +6 -6
- package/dist/cli/{outcomes-AE6ZPY6O.mjs → outcomes-H3RAH5ES.mjs} +6 -6
- package/dist/cli/{outcomes-KHZ3S3SG.js → outcomes-LSCS6QE5.js} +14 -14
- package/dist/cli/{play-YQS3OI2Q.mjs → play-7MSJU3LP.mjs} +19 -19
- package/dist/cli/{play-SY2PCUMD.js → play-GNT7SITC.js} +324 -324
- package/dist/cli/{providers-IT2YALZM.js → providers-KTEG2ZNS.js} +9 -9
- package/dist/cli/{providers-WJBBSM76.mjs → providers-YDKHHCO4.mjs} +6 -6
- package/dist/cli/{quickstart-TYMROAQG.mjs → quickstart-F6IH43NP.mjs} +4 -4
- package/dist/cli/{quickstart-VMLHHXFD.js → quickstart-T2NJMACU.js} +6 -6
- package/dist/cli/{run-TSOLGWTK.mjs → run-AJB4MQGO.mjs} +23 -23
- package/dist/cli/{run-GQOWNUD2.js → run-MIRJIW45.js} +44 -44
- package/dist/cli/{search-MJAL37NP.mjs → search-V6YPFL6J.mjs} +7 -7
- package/dist/cli/search-YPZ575MY.js +32 -0
- package/dist/cli/{search-output-IKVGU3MZ.mjs → search-output-4VDZLO42.mjs} +4 -4
- package/dist/cli/{search-output-AUVP4ZLR.js → search-output-GGCIICSW.js} +6 -6
- package/dist/cli/{secrets-NO6ZD2OZ.js → secrets-L2VDRZDZ.js} +15 -15
- package/dist/cli/{secrets-4KYGVJJJ.mjs → secrets-XUENPM5D.mjs} +6 -6
- package/dist/cli/sessions-GJLSOVLW.js +23 -0
- package/dist/cli/{sessions-S2O24LRW.mjs → sessions-W7LHEE35.mjs} +6 -6
- package/dist/cli/{settings-NSZNSX67.mjs → settings-IVFOUU7V.mjs} +12 -12
- package/dist/cli/{settings-O5BELZRA.js → settings-NB6Y53VR.js} +85 -85
- package/dist/cli/{setup-IGJKIVJ7.js → setup-2F42I4HW.js} +49 -49
- package/dist/cli/{setup-3VTTPHKI.mjs → setup-QUL7OO6A.mjs} +9 -9
- package/dist/cli/skills-2KAEOH2N.js +37 -0
- package/dist/cli/{skills-JMSX77S3.mjs → skills-SL3DNAH6.mjs} +7 -7
- package/dist/cli/{tools-MITGT2JM.mjs → tools-TD5EJ2UD.mjs} +17 -17
- package/dist/cli/tools-W6223Q4W.js +57 -0
- package/dist/cli/update-IZBYF422.js +37 -0
- package/dist/cli/{update-YXASQQWE.mjs → update-Z53GM6PX.mjs} +9 -9
- package/dist/cli/{views-Y5CA3JWP.js → views-VAQGFKXN.js} +21 -21
- package/dist/cli/{views-7ZMS2B55.mjs → views-ZB6AOING.mjs} +6 -6
- package/dist/cli/{workflow-GBXWHYDL.mjs → workflow-OKDLEK3G.mjs} +7 -7
- package/dist/cli/{workflow-U7KXZLKI.js → workflow-PSIQ5HVP.js} +17 -17
- package/dist/{client-vUZGmXT9.d.ts → client-B8_eh5F-.d.ts} +1 -1
- package/dist/{client-B5cSKEi4.d.mts → client-D5mo-R-t.d.mts} +1 -1
- package/dist/{client-core-BP19BoBb.d.mts → client-core-BPu-brbA.d.mts} +19 -0
- package/dist/{client-core-Deqov12F.d.ts → client-core-Br12Asu-.d.ts} +19 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +118 -118
- 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/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-RGFZEMFX.js +0 -44
- package/dist/cli/concurrent-runs-help-3QVRXAZG.js +0 -22
- package/dist/cli/describe-H43UIBVP.js +0 -50
- package/dist/cli/git-UYYH53Q6.js +0 -26
- package/dist/cli/search-B23QXBNF.js +0 -32
- package/dist/cli/sessions-DJLG57FC.js +0 -23
- package/dist/cli/skills-76W4VCHP.js +0 -37
- package/dist/cli/tools-OS32SFJD.js +0 -57
- package/dist/cli/update-UGLA7TLH.js +0 -37
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRJJNXV36js = require('./chunk-RJJNXV36.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkPPQHQ4J2js = require('./chunk-PPQHQ4J2.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkO4FCX6BSjs = require('./chunk-O4FCX6BS.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkRUAEON5Jjs = require('./chunk-RUAEON5J.js');
|
|
23
23
|
|
|
24
24
|
// src/cli/compatibility-catalog.ts
|
|
25
25
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
|
|
|
46
46
|
async function reportAutoUpdateEvent(input) {
|
|
47
47
|
let apiKey = "";
|
|
48
48
|
try {
|
|
49
|
-
apiKey =
|
|
49
|
+
apiKey = _chunkO4FCX6BSjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
50
50
|
} catch (e2) {
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
|
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`,
|
|
64
64
|
"Content-Type": "application/json",
|
|
65
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
65
|
+
"User-Agent": `deepline-ts-sdk/${_chunkRUAEON5Jjs.SDK_VERSION}`,
|
|
66
66
|
"X-Deepline-Client-Family": "sdk",
|
|
67
67
|
"X-Deepline-CLI-Family": "sdk",
|
|
68
|
-
"X-Deepline-CLI-Version":
|
|
69
|
-
"X-Deepline-SDK-Version":
|
|
68
|
+
"X-Deepline-CLI-Version": _chunkRUAEON5Jjs.SDK_VERSION,
|
|
69
|
+
"X-Deepline-SDK-Version": _chunkRUAEON5Jjs.SDK_VERSION
|
|
70
70
|
},
|
|
71
71
|
body: JSON.stringify({
|
|
72
72
|
event: input.event,
|
|
73
|
-
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ||
|
|
73
|
+
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkRUAEON5Jjs.SDK_VERSION,
|
|
74
74
|
target_version: input.response.latest,
|
|
75
75
|
reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
|
|
76
76
|
command: _nullishCoalesce(input.response.command, () => ( null)),
|
|
@@ -89,19 +89,19 @@ function envTruthy(name) {
|
|
|
89
89
|
return value === "1" || value === "true" || value === "yes";
|
|
90
90
|
}
|
|
91
91
|
function shouldSkipSelfUpdate(policy) {
|
|
92
|
-
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !
|
|
92
|
+
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkRJJNXV36js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkPPQHQ4J2js.isCiEnvironment.call(void 0, );
|
|
93
93
|
}
|
|
94
94
|
function isDowngradeAutoUpdateResponse(response) {
|
|
95
95
|
const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
|
|
96
|
-
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) ||
|
|
96
|
+
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkRUAEON5Jjs.SDK_VERSION;
|
|
97
97
|
if (!target) return false;
|
|
98
|
-
return
|
|
98
|
+
return _chunkRJJNXV36js.compareUpdateVersions.call(void 0, target, current) < 0;
|
|
99
99
|
}
|
|
100
100
|
function relaunchCurrentCommand(plan, runtime = {}) {
|
|
101
101
|
return new Promise((resolve) => {
|
|
102
102
|
const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
|
|
103
103
|
const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
|
|
104
|
-
const launch = plan.kind === "python-sidecar" ?
|
|
104
|
+
const launch = plan.kind === "python-sidecar" ? _chunkPPQHQ4J2js.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
|
|
105
105
|
command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
|
|
106
106
|
args: argv.slice(1),
|
|
107
107
|
shell: false
|
|
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
148
148
|
}
|
|
149
149
|
if (isDowngradeAutoUpdateResponse(response)) {
|
|
150
150
|
const target = response.latest;
|
|
151
|
-
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) ||
|
|
151
|
+
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkRUAEON5Jjs.SDK_VERSION;
|
|
152
152
|
process.stderr.write(
|
|
153
153
|
`Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
|
|
154
154
|
`
|
|
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
156
156
|
return false;
|
|
157
157
|
}
|
|
158
158
|
const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
|
|
159
|
-
const plan =
|
|
159
|
+
const plan = _chunkRJJNXV36js.resolveUpdatePlan.call(void 0, {
|
|
160
160
|
packageSpec,
|
|
161
161
|
requireVerifiedNpmOwnership: true,
|
|
162
162
|
npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
|
|
163
163
|
});
|
|
164
|
-
if (!
|
|
164
|
+
if (!_chunkRJJNXV36js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
|
|
165
165
|
return false;
|
|
166
166
|
}
|
|
167
167
|
if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
168
168
|
deferredAutoUpdate = async () => {
|
|
169
169
|
await applyAutoUpdate(response, baseUrl, plan, "next_command");
|
|
170
170
|
};
|
|
171
|
-
if (
|
|
171
|
+
if (_chunk5KHSPLPOjs.isJsonOutputMode.call(void 0, )) {
|
|
172
172
|
const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
|
|
173
|
-
|
|
173
|
+
_chunk5KHSPLPOjs.addJsonNotice.call(void 0, {
|
|
174
174
|
code: "sdk_update_queued",
|
|
175
175
|
message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
|
|
176
176
|
});
|
|
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
183
183
|
return true;
|
|
184
184
|
}
|
|
185
185
|
async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
186
|
-
if (!
|
|
186
|
+
if (!_chunkRJJNXV36js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
|
|
187
187
|
const autoUpdate = response.auto_update;
|
|
188
188
|
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";
|
|
189
189
|
process.stderr.write(
|
|
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
196
196
|
event: "started",
|
|
197
197
|
installKind: plan.kind
|
|
198
198
|
});
|
|
199
|
-
const updateResult = await
|
|
199
|
+
const updateResult = await _chunkRJJNXV36js.runAutomaticUpdatePlan.call(void 0, plan);
|
|
200
200
|
if (updateResult.status === "skipped_previous_failure") {
|
|
201
201
|
void reportAutoUpdateEvent({
|
|
202
202
|
baseUrl,
|
|
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
234
234
|
exitCode: 0
|
|
235
235
|
});
|
|
236
236
|
try {
|
|
237
|
-
await
|
|
237
|
+
await _chunkPPQHQ4J2js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
|
|
238
238
|
mode: "detached",
|
|
239
239
|
update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
|
|
240
240
|
afterCliUpdate: {
|
|
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
|
|
|
261
261
|
var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
|
|
262
262
|
var activeToolExecuteCommand = null;
|
|
263
263
|
function progressLine(line) {
|
|
264
|
-
if (!
|
|
264
|
+
if (!_chunk5KHSPLPOjs.isJsonOutputMode.call(void 0, )) console.error(line);
|
|
265
265
|
}
|
|
266
266
|
function beginToolExecuteCommand() {
|
|
267
267
|
if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkH4BU2RRUjs = require('./chunk-H4BU2RRU.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkO4FCX6BSjs = require('./chunk-O4FCX6BS.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunkO4FCX6BSjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkH4BU2RRUjs.PlayClient)(
|
|
142
|
+
new (0, _chunkO4FCX6BSjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -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 _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.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 && !_chunk5KHSPLPOjs.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 (_chunk5KHSPLPOjs.isJsonOutputMode.call(void 0, )) return;
|
|
63
63
|
if (!this.enabled) {
|
|
64
64
|
process.stderr.write(`${line}
|
|
65
65
|
`);
|
|
@@ -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.568",
|
|
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."
|
|
@@ -1021,6 +1021,7 @@ Examples:
|
|
|
1021
1021
|
deepline integrations connect hubspot --link --json
|
|
1022
1022
|
deepline integrations connect heyreach --credentials-file ./heyreach.json
|
|
1023
1023
|
deepline integrations connect hubspot --oauth --preset read-crm
|
|
1024
|
+
deepline integrations connect lusha --managed --accept-terms 2026-05-01 --company-domain acme.com --company-legal-name "Acme Inc." --company-country US
|
|
1024
1025
|
`
|
|
1025
1026
|
},
|
|
1026
1027
|
"tools grep": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LQTLFFUB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SONHOBIK.mjs";
|
|
7
7
|
|
|
8
8
|
// src/cli/commands/integration-commands.ts
|
|
9
9
|
import { Option } from "commander";
|
|
@@ -312,8 +312,20 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
312
312
|
"preset",
|
|
313
313
|
"scopes",
|
|
314
314
|
"optionalScopes",
|
|
315
|
-
"expectedConnectionId"
|
|
315
|
+
"expectedConnectionId",
|
|
316
|
+
"managed"
|
|
316
317
|
])
|
|
318
|
+
).addOption(
|
|
319
|
+
new Option(
|
|
320
|
+
"--managed",
|
|
321
|
+
"Connect with a Deepline-managed key instead of your own (Lusha)"
|
|
322
|
+
).conflicts(["credentialsFile", "oauth"])
|
|
323
|
+
).option(
|
|
324
|
+
"--accept-terms <version>",
|
|
325
|
+
"With --managed: accept this version of the provider's terms"
|
|
326
|
+
).option("--company-domain <domain>", "With --managed: company domain").option("--company-legal-name <name>", "With --managed: company legal name").option(
|
|
327
|
+
"--company-country <code>",
|
|
328
|
+
"With --managed: two-letter ISO country code"
|
|
317
329
|
).option(
|
|
318
330
|
"--credentials-file <path>",
|
|
319
331
|
"JSON object of credential field names and string values; keep this file private"
|
|
@@ -325,6 +337,56 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
325
337
|
"Print the proposed setup without saving credentials or starting OAuth"
|
|
326
338
|
).option("--json", "Print JSON without credential values").action(
|
|
327
339
|
async (provider, options) => {
|
|
340
|
+
const managedOnlyOptionSet = options.acceptTerms !== void 0 || options.companyDomain !== void 0 || options.companyLegalName !== void 0 || options.companyCountry !== void 0;
|
|
341
|
+
if (managedOnlyOptionSet && !options.managed) {
|
|
342
|
+
throw new Error(
|
|
343
|
+
"--accept-terms and --company-* options require --managed."
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
if (options.managed) {
|
|
347
|
+
if (!options.companyDomain || !options.companyLegalName || !options.companyCountry) {
|
|
348
|
+
throw new Error(
|
|
349
|
+
"--managed requires --company-domain, --company-legal-name and --company-country."
|
|
350
|
+
);
|
|
351
|
+
}
|
|
352
|
+
if (options.dryRun) {
|
|
353
|
+
printSetupPlan(
|
|
354
|
+
{
|
|
355
|
+
provider,
|
|
356
|
+
action: "connect_managed",
|
|
357
|
+
terms_version: options.acceptTerms ?? "not accepted",
|
|
358
|
+
company_domain: options.companyDomain
|
|
359
|
+
},
|
|
360
|
+
options.json
|
|
361
|
+
);
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
const result2 = await new DeeplineClient().connectManagedIntegration(
|
|
365
|
+
provider,
|
|
366
|
+
{
|
|
367
|
+
termsVersion: options.acceptTerms,
|
|
368
|
+
company: {
|
|
369
|
+
domain: options.companyDomain,
|
|
370
|
+
legalName: options.companyLegalName,
|
|
371
|
+
country: options.companyCountry
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
);
|
|
375
|
+
if (!result2.ok || result2.credential_saved !== true) {
|
|
376
|
+
throw new Error(
|
|
377
|
+
"The API did not confirm the managed connection. Inspect the integration before retrying."
|
|
378
|
+
);
|
|
379
|
+
}
|
|
380
|
+
const confirmation2 = {
|
|
381
|
+
provider,
|
|
382
|
+
credential_saved: true,
|
|
383
|
+
credential_mode: "partner_managed"
|
|
384
|
+
};
|
|
385
|
+
printIntegrationResult(confirmation2, options.json, [
|
|
386
|
+
`${provider} is connected in the active workspace with a Deepline-managed key. Usage is billed in Deepline credits.`
|
|
387
|
+
]);
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
328
390
|
if (options.expectedConnectionId !== void 0 && (!options.expectedConnectionId.trim() || provider !== "google_calendar_availability" || !options.credentialsFile || options.oauth)) {
|
|
329
391
|
throw new Error(
|
|
330
392
|
"--expected-connection-id requires Calendar availability and a credentials file."
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-S2HGTJET.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SONHOBIK.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TSNVG3T5.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5SOJGKQM.mjs";
|
|
28
28
|
import {
|
|
29
29
|
DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
|
|
30
30
|
} from "./chunk-5JPKRDFC.mjs";
|
|
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkRUAEON5Jjs = require('./chunk-RUAEON5J.js');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
@@ -963,7 +963,7 @@ var ToolCalls = class {
|
|
|
963
963
|
idempotencyKey,
|
|
964
964
|
onResponse: (response2) => {
|
|
965
965
|
lastResponse = null;
|
|
966
|
-
atomicToolsSupported = response2.headers.get(
|
|
966
|
+
atomicToolsSupported = response2.headers.get(_chunkRUAEON5Jjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
967
967
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
968
968
|
if (_optionalChain([options, 'optionalAccess', _38 => _38.onServerTiming])) {
|
|
969
969
|
try {
|
|
@@ -1350,15 +1350,15 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
const receivers = _optionalChain([env, 'access', _63 => _63.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
|
|
1352
1352
|
return {
|
|
1353
|
-
[
|
|
1354
|
-
...receivers ? { [
|
|
1353
|
+
[_chunkRUAEON5Jjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1354
|
+
...receivers ? { [_chunkRUAEON5Jjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1355
1355
|
};
|
|
1356
1356
|
}
|
|
1357
1357
|
function playRunStartHeaders(runtime, env) {
|
|
1358
1358
|
const headers = runtimeSelectionHeaders(runtime, env);
|
|
1359
1359
|
const experimentSwitches = _optionalChain([env, 'access', _66 => _66.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]);
|
|
1360
1360
|
if (!experimentSwitches) return headers;
|
|
1361
|
-
return { ...headers, [
|
|
1361
|
+
return { ...headers, [_chunkRUAEON5Jjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
|
|
1362
1362
|
}
|
|
1363
1363
|
function normalizeTestPolicyOverrides(value, source) {
|
|
1364
1364
|
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
@@ -1428,7 +1428,7 @@ var PlayClient = class {
|
|
|
1428
1428
|
return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
|
|
1429
1429
|
this.http,
|
|
1430
1430
|
resolved.request,
|
|
1431
|
-
_optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1431
|
+
_optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkRUAEON5Jjs.SDK_API_MAJOR) } : headers,
|
|
1432
1432
|
options
|
|
1433
1433
|
);
|
|
1434
1434
|
}
|
|
@@ -3546,7 +3546,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3546
3546
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3547
3547
|
);
|
|
3548
3548
|
}
|
|
3549
|
-
return { [
|
|
3549
|
+
return { [_chunkRUAEON5Jjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3550
3550
|
}
|
|
3551
3551
|
function sleep(ms) {
|
|
3552
3552
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4482,7 +4482,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4482
4482
|
);
|
|
4483
4483
|
const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
|
|
4484
4484
|
...runtimeHeaders,
|
|
4485
|
-
"X-Deepline-API-Major": String(
|
|
4485
|
+
"X-Deepline-API-Major": String(_chunkRUAEON5Jjs.SDK_API_MAJOR)
|
|
4486
4486
|
} : runtimeHeaders;
|
|
4487
4487
|
const http = this.http;
|
|
4488
4488
|
let submitted = false;
|
|
@@ -6013,6 +6013,24 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
6013
6013
|
..._optionalChain([options, 'optionalAccess', _330 => _330.expectedConnectionId]) ? { expected_connection_id: options.expectedConnectionId } : {}
|
|
6014
6014
|
});
|
|
6015
6015
|
}
|
|
6016
|
+
/**
|
|
6017
|
+
* Connect a provider with a Deepline-managed key (Lusha). Deepline creates
|
|
6018
|
+
* the key and bills usage through Deepline credits; the key is never
|
|
6019
|
+
* returned. `termsVersion` records which provider terms the caller accepted.
|
|
6020
|
+
*/
|
|
6021
|
+
async connectManagedIntegration(provider, input) {
|
|
6022
|
+
return this.http.post("/api/v2/integrations/connect", {
|
|
6023
|
+
provider,
|
|
6024
|
+
credential_mode: "partner_managed",
|
|
6025
|
+
accept_terms: input.termsVersion !== void 0,
|
|
6026
|
+
...input.termsVersion !== void 0 ? { terms_version: input.termsVersion } : {},
|
|
6027
|
+
company: {
|
|
6028
|
+
domain: input.company.domain,
|
|
6029
|
+
legal_name: input.company.legalName,
|
|
6030
|
+
country: input.company.country
|
|
6031
|
+
}
|
|
6032
|
+
});
|
|
6033
|
+
}
|
|
6016
6034
|
/** Calendar discovery compatibility method. The managed pilot requires calendar IDs in tool and Play inputs. */
|
|
6017
6035
|
async listAvailabilityCalendars(cursor) {
|
|
6018
6036
|
const params = new URLSearchParams();
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkPPQHQ4J2js = require('./chunk-PPQHQ4J2.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/npm-script-policy.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
|
|
|
13
13
|
}
|
|
14
14
|
function readNpmVersion(env) {
|
|
15
15
|
try {
|
|
16
|
-
const plan =
|
|
16
|
+
const plan = _chunkPPQHQ4J2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
|
|
17
17
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
18
18
|
windowsHide: true,
|
|
19
19
|
encoding: "utf8",
|
|
@@ -1,11 +1,11 @@
|
|
|
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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUPUBCTSSjs = require('./chunk-UPUBCTSS.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPPQHQ4J2js = require('./chunk-PPQHQ4J2.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,18 +18,18 @@ function usesCliPlayAdmission(command, args) {
|
|
|
18
18
|
}
|
|
19
19
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
|
|
20
20
|
_optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
|
|
21
|
-
if (maintenancePolicy !== "off")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunkPPQHQ4J2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkUPUBCTSSjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkPPQHQ4J2js.requireSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
29
29
|
})
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
|
-
|
|
32
|
+
_chunkPPQHQ4J2js.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
|
|
33
33
|
quietAdvisory: true
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MF7PCM6C.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AAXGFMYQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-5TYLSS4Q.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SONHOBIK.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-Z3A2S3QM.mjs";
|