deepline 0.3.507 → 0.3.509
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/monitors/package.json +2 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-admission-codes.ts +11 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/db-session-plan.ts +47 -6
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +3 -1
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -0
- package/dist/cli/{auth-BNP3M27C.mjs → auth-6IR2QH4N.mjs} +5 -5
- package/dist/cli/auth-SUTQ4SZQ.js +43 -0
- package/dist/cli/{billing-7HIVX4YJ.js → billing-SYBK3ZYU.js} +82 -82
- package/dist/cli/{billing-JKJ2AEZ6.mjs → billing-WEWHH6ST.mjs} +7 -7
- package/dist/cli/{chunk-D2T4W5LR.mjs → chunk-25MAOMVS.mjs} +2 -2
- package/dist/cli/{chunk-LSONU2E2.mjs → chunk-2U7Z4LFG.mjs} +6 -6
- package/dist/cli/{chunk-E7YIIEZU.js → chunk-2ZJRCAHG.js} +11 -11
- package/dist/cli/{chunk-YAAJHS6W.mjs → chunk-3CZHC24N.mjs} +1 -1
- package/dist/cli/{chunk-E5HGDYU3.js → chunk-4DVANPBN.js} +41 -41
- package/dist/cli/{chunk-IBKWVFWP.mjs → chunk-54YPOG5W.mjs} +2 -2
- package/dist/cli/{chunk-56SRWY5F.js → chunk-5Y3I5LEQ.js} +16 -16
- package/dist/cli/{chunk-H334EFON.mjs → chunk-6KBVQ76G.mjs} +2 -2
- package/dist/cli/{chunk-OBATCFZO.js → chunk-6TBRWRJ2.js} +7 -7
- package/dist/cli/{chunk-6AQO5OJ5.js → chunk-726UDAV2.js} +7 -7
- package/dist/cli/{chunk-5PXGAA2M.js → chunk-7KALZEDZ.js} +4 -4
- package/dist/cli/{chunk-ILUZ7IHP.js → chunk-7NMPGX3W.js} +21 -21
- package/dist/cli/{chunk-HPZONIDF.js → chunk-AD45WJHN.js} +5 -5
- package/dist/cli/{chunk-JPN6OBPW.js → chunk-AO63MXT6.js} +1 -1
- package/dist/cli/{chunk-QWRSWQ7Z.js → chunk-CMSPA5VX.js} +6 -6
- package/dist/cli/{chunk-REFT4DMJ.js → chunk-DGOSW42X.js} +96 -96
- package/dist/cli/{chunk-TVR4R2E6.mjs → chunk-E3HWUGDT.mjs} +1 -1
- package/dist/cli/{chunk-GMRWVXU2.mjs → chunk-EEEWADSR.mjs} +2 -2
- package/dist/cli/{chunk-WQAHMVBT.mjs → chunk-FNLGMMJJ.mjs} +2 -2
- package/dist/cli/{chunk-NJRJGXVF.mjs → chunk-FQCIYGQY.mjs} +2 -2
- package/dist/cli/{chunk-RFJANXCC.js → chunk-GTAU4C44.js} +14 -14
- package/dist/cli/{chunk-TZ7APOBM.js → chunk-HMAETS53.js} +3 -3
- package/dist/cli/{chunk-T6FUNWXX.mjs → chunk-IZW7IOD6.mjs} +1 -1
- package/dist/cli/{chunk-GDHLL5EQ.js → chunk-J5P4PDRT.js} +3 -0
- package/dist/cli/{chunk-76R5I7HR.js → chunk-JZJNA57M.js} +6 -6
- package/dist/cli/{chunk-RTLWYERT.mjs → chunk-K2RCVD7S.mjs} +1 -1
- package/dist/cli/{chunk-2ZINJVWW.js → chunk-O527H5GY.js} +16 -16
- package/dist/cli/{chunk-EYZJDHXA.mjs → chunk-OOD5LGUS.mjs} +3 -3
- package/dist/cli/{chunk-V4GGTOCX.js → chunk-Q5UO2ENN.js} +3 -3
- package/dist/cli/{chunk-V2K34NAO.js → chunk-Q7G6WORO.js} +2 -2
- package/dist/cli/{chunk-IWZRQ6YW.mjs → chunk-R2KNJMOY.mjs} +1 -1
- package/dist/cli/{chunk-WTY2R4R3.js → chunk-RA2NKHV5.js} +5 -5
- package/dist/cli/{chunk-XKGNEN4P.mjs → chunk-RSKAPLST.mjs} +1 -1
- package/dist/cli/{chunk-OPEJASMJ.mjs → chunk-S7JEF2MR.mjs} +2 -2
- package/dist/cli/{chunk-5I2XKXLS.mjs → chunk-SEQIB5WJ.mjs} +5 -5
- package/dist/cli/{chunk-VGEBRTHF.mjs → chunk-T67NAGSD.mjs} +4 -4
- package/dist/cli/{chunk-5A66OJZD.mjs → chunk-UART6FGK.mjs} +1 -1
- package/dist/cli/{chunk-H6PABDS4.mjs → chunk-VH522HUP.mjs} +10 -10
- package/dist/cli/{chunk-MN5HO2PN.js → chunk-VTVZ7EUA.js} +9 -9
- package/dist/cli/{chunk-AXYLMDU3.js → chunk-VZ773N7G.js} +8 -8
- package/dist/cli/{chunk-VQLD5M43.mjs → chunk-WJ6H2W3O.mjs} +5 -5
- package/dist/cli/{chunk-MQRT5NYP.js → chunk-WPBTWRKG.js} +26 -26
- package/dist/cli/{chunk-EEJLV77L.mjs → chunk-WUKNKFB3.mjs} +2 -2
- package/dist/cli/{chunk-2OKEMB5A.mjs → chunk-XEQH65DT.mjs} +1 -1
- package/dist/cli/{chunk-JCE2JNGD.mjs → chunk-XIBNY6H6.mjs} +5 -5
- package/dist/cli/{chunk-WOPWSAGS.js → chunk-XPKBYMJH.js} +53 -53
- package/dist/cli/{chunk-7TZA6LJI.mjs → chunk-Y4M5HPQV.mjs} +5 -5
- package/dist/cli/{chunk-AFSYNOG4.mjs → chunk-YJM3NOME.mjs} +3 -0
- package/dist/cli/{chunk-3D5ZNYYI.js → chunk-Z2LVZDO5.js} +44 -44
- package/dist/cli/{chunk-ZCNGMQVD.js → chunk-ZXGMWXZW.js} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-LZTQOPP2.mjs → csv-4LAJ2ZKG.mjs} +4 -4
- package/dist/cli/{csv-WYJVU5HV.js → csv-5KNONIAX.js} +13 -13
- package/dist/cli/{db-UCUXPY7S.js → db-5PEXOSN3.js} +27 -27
- package/dist/cli/{db-D6XFOQP3.mjs → db-BEVCJI66.mjs} +6 -6
- package/dist/cli/{describe-HKL2XK67.mjs → describe-TDJIUSD6.mjs} +18 -18
- package/dist/cli/describe-ZB6G6DOV.js +50 -0
- package/dist/cli/{executions-5CF5NM7V.js → executions-36GV3A27.js} +8 -8
- package/dist/cli/{executions-AFHYXH73.mjs → executions-KXCPU6YC.mjs} +6 -6
- package/dist/cli/{feedback-MLKQ572F.mjs → feedback-GEUUT4S7.mjs} +4 -4
- package/dist/cli/{feedback-GJAX3JZE.js → feedback-SPQABV33.js} +8 -8
- package/dist/cli/{git-BMLROZOU.mjs → git-AE36X2R6.mjs} +5 -5
- package/dist/cli/git-UX7L6R32.js +25 -0
- package/dist/cli/index.js +142 -142
- package/dist/cli/index.mjs +42 -42
- package/dist/cli/{legacy-noops-Y7JSQVLQ.mjs → legacy-noops-LUEDAK7J.mjs} +5 -5
- package/dist/cli/{legacy-noops-FHRDF7MC.js → legacy-noops-TKPHN7WT.js} +8 -8
- package/dist/cli/{monitors-Z6RPIQIH.js → monitors-B2EAIGZI.js} +100 -100
- package/dist/cli/{monitors-ZEVK3UD7.mjs → monitors-JHJZ5XG7.mjs} +7 -7
- package/dist/cli/{org-PFLVANIN.mjs → org-GUICCEBZ.mjs} +6 -6
- package/dist/cli/{org-TXJ3RES5.js → org-PYCPXEAU.js} +72 -72
- package/dist/cli/{pages-ESKKBK5Y.js → pages-CV4TQNFY.js} +18 -18
- package/dist/cli/{pages-BKEMQ2J7.mjs → pages-Y2XI36HY.mjs} +6 -6
- package/dist/cli/{play-AAFOZJKQ.js → play-MTVK66JK.js} +468 -429
- package/dist/cli/{play-4Z6Z7KVY.mjs → play-VWCQNGZZ.mjs} +93 -54
- package/dist/cli/{providers-WEU4UNKY.js → providers-N72BUCXZ.js} +9 -9
- package/dist/cli/{providers-KYP2UWDV.mjs → providers-ZOZTST3A.mjs} +6 -6
- package/dist/cli/{quickstart-7EUDF4IL.mjs → quickstart-DXIC3NHS.mjs} +4 -4
- package/dist/cli/{quickstart-DXYZCOJY.js → quickstart-FK53VZB3.js} +6 -6
- package/dist/cli/{run-MB2R5PQ7.mjs → run-IL2KI33N.mjs} +23 -23
- package/dist/cli/{run-3YN6P26W.js → run-NNAYDCEN.js} +41 -41
- package/dist/cli/{search-MIFBESRE.mjs → search-7IPVMQCO.mjs} +8 -8
- package/dist/cli/search-OZHP5ZE2.js +33 -0
- package/dist/cli/{search-output-NUWL47SR.js → search-output-YHTWLSDE.js} +6 -6
- package/dist/cli/{search-output-2IR3UA4W.mjs → search-output-ZY2GE35S.mjs} +4 -4
- package/dist/cli/{secrets-E6WIYONW.mjs → secrets-BGUMHDZ7.mjs} +6 -6
- package/dist/cli/{secrets-6UT6BIDJ.js → secrets-ZML76SH2.js} +15 -15
- package/dist/cli/{sessions-AP7L6YCL.mjs → sessions-F5XO6HZJ.mjs} +5 -5
- package/dist/cli/{sessions-NF2RBXMJ.js → sessions-WDINUUZ3.js} +6 -6
- package/dist/cli/{settings-MMLHJ5E5.mjs → settings-73SMIICV.mjs} +12 -12
- package/dist/cli/{settings-FZWXYP4W.js → settings-TOX2P5M5.js} +82 -82
- package/dist/cli/{setup-YHXAAJNZ.js → setup-DNFHFQ7N.js} +50 -50
- package/dist/cli/{setup-WJNN2CZZ.mjs → setup-FDJZYBMS.mjs} +10 -10
- package/dist/cli/{skills-KXZ5PJU2.mjs → skills-6HJ2IAY6.mjs} +8 -8
- package/dist/cli/skills-NE7WN5PP.js +37 -0
- package/dist/cli/{tools-K6S7RX7B.mjs → tools-4FJIIE4R.mjs} +17 -17
- package/dist/cli/tools-ETX4MNNO.js +57 -0
- package/dist/cli/update-N2DMPSUH.js +35 -0
- package/dist/cli/{update-2SFWEVM6.mjs → update-UMRPPILV.mjs} +10 -10
- package/dist/cli/{workflow-IR3RCVHZ.mjs → workflow-LSFOG5VU.mjs} +7 -7
- package/dist/cli/{workflow-SM3Q45X5.js → workflow-SK3BUHB4.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +103 -102
- 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-6PJ4G5PC.js +0 -43
- package/dist/cli/describe-XS4OIASD.js +0 -50
- package/dist/cli/git-RIXUHRDL.js +0 -25
- package/dist/cli/search-Z7GUKVFE.js +0 -33
- package/dist/cli/skills-4YYUFNMS.js +0 -37
- package/dist/cli/tools-OCYEMMUP.js +0 -57
- package/dist/cli/update-WQIPUQ4K.js +0 -35
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkO527H5GYjs = require('./chunk-O527H5GY.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZ2LVZDO5js = require('./chunk-Z2LVZDO5.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk726UDAV2js = require('./chunk-726UDAV2.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkHMAETS53js = require('./chunk-HMAETS53.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk7KALZEDZjs = require('./chunk-7KALZEDZ.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/compatibility-catalog.ts
|
|
23
23
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
|
|
|
44
44
|
async function reportAutoUpdateEvent(input) {
|
|
45
45
|
let apiKey = "";
|
|
46
46
|
try {
|
|
47
|
-
apiKey =
|
|
47
|
+
apiKey = _chunkHMAETS53js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
48
48
|
} catch (e2) {
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
|
|
|
60
60
|
headers: {
|
|
61
61
|
Authorization: `Bearer ${apiKey}`,
|
|
62
62
|
"Content-Type": "application/json",
|
|
63
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
63
|
+
"User-Agent": `deepline-ts-sdk/${_chunk7KALZEDZjs.SDK_VERSION}`,
|
|
64
64
|
"X-Deepline-Client-Family": "sdk",
|
|
65
65
|
"X-Deepline-CLI-Family": "sdk",
|
|
66
|
-
"X-Deepline-CLI-Version":
|
|
67
|
-
"X-Deepline-SDK-Version":
|
|
66
|
+
"X-Deepline-CLI-Version": _chunk7KALZEDZjs.SDK_VERSION,
|
|
67
|
+
"X-Deepline-SDK-Version": _chunk7KALZEDZjs.SDK_VERSION
|
|
68
68
|
},
|
|
69
69
|
body: JSON.stringify({
|
|
70
70
|
event: input.event,
|
|
71
|
-
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ||
|
|
71
|
+
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk7KALZEDZjs.SDK_VERSION,
|
|
72
72
|
target_version: input.response.latest,
|
|
73
73
|
reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
|
|
74
74
|
command: _nullishCoalesce(input.response.command, () => ( null)),
|
|
@@ -87,13 +87,13 @@ function envTruthy(name) {
|
|
|
87
87
|
return value === "1" || value === "true" || value === "yes";
|
|
88
88
|
}
|
|
89
89
|
function shouldSkipSelfUpdate(policy) {
|
|
90
|
-
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !
|
|
90
|
+
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkO527H5GYjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkZ2LVZDO5js.isCiEnvironment.call(void 0, );
|
|
91
91
|
}
|
|
92
92
|
function isDowngradeAutoUpdateResponse(response) {
|
|
93
93
|
const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
|
|
94
|
-
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) ||
|
|
94
|
+
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk7KALZEDZjs.SDK_VERSION;
|
|
95
95
|
if (!target) return false;
|
|
96
|
-
return
|
|
96
|
+
return _chunkO527H5GYjs.compareUpdateVersions.call(void 0, target, current) < 0;
|
|
97
97
|
}
|
|
98
98
|
function relaunchCurrentCommand(plan, runtime = {}) {
|
|
99
99
|
return new Promise((resolve) => {
|
|
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
146
146
|
}
|
|
147
147
|
if (isDowngradeAutoUpdateResponse(response)) {
|
|
148
148
|
const target = response.latest;
|
|
149
|
-
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) ||
|
|
149
|
+
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk7KALZEDZjs.SDK_VERSION;
|
|
150
150
|
process.stderr.write(
|
|
151
151
|
`Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
|
|
152
152
|
`
|
|
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
154
154
|
return false;
|
|
155
155
|
}
|
|
156
156
|
const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
|
|
157
|
-
const plan =
|
|
157
|
+
const plan = _chunkO527H5GYjs.resolveUpdatePlan.call(void 0, {
|
|
158
158
|
packageSpec,
|
|
159
159
|
requireVerifiedNpmOwnership: true,
|
|
160
160
|
npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
|
|
161
161
|
});
|
|
162
|
-
if (!
|
|
162
|
+
if (!_chunkO527H5GYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
|
|
163
163
|
return false;
|
|
164
164
|
}
|
|
165
165
|
if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
166
166
|
deferredAutoUpdate = async () => {
|
|
167
167
|
await applyAutoUpdate(response, baseUrl, plan, "next_command");
|
|
168
168
|
};
|
|
169
|
-
if (
|
|
169
|
+
if (_chunk726UDAV2js.isJsonOutputMode.call(void 0, )) {
|
|
170
170
|
const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
|
|
171
|
-
|
|
171
|
+
_chunk726UDAV2js.addJsonNotice.call(void 0, {
|
|
172
172
|
code: "sdk_update_queued",
|
|
173
173
|
message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
|
|
174
174
|
});
|
|
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
181
181
|
return true;
|
|
182
182
|
}
|
|
183
183
|
async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
184
|
-
if (!
|
|
184
|
+
if (!_chunkO527H5GYjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
|
|
185
185
|
const autoUpdate = response.auto_update;
|
|
186
186
|
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";
|
|
187
187
|
process.stderr.write(
|
|
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
194
194
|
event: "started",
|
|
195
195
|
installKind: plan.kind
|
|
196
196
|
});
|
|
197
|
-
const updateResult = await
|
|
197
|
+
const updateResult = await _chunkO527H5GYjs.runAutomaticUpdatePlan.call(void 0, plan);
|
|
198
198
|
if (updateResult.status === "skipped_previous_failure") {
|
|
199
199
|
void reportAutoUpdateEvent({
|
|
200
200
|
baseUrl,
|
|
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
|
|
|
245
245
|
var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
|
|
246
246
|
var activeToolExecuteCommand = null;
|
|
247
247
|
function progressLine(line) {
|
|
248
|
-
if (!
|
|
248
|
+
if (!_chunk726UDAV2js.isJsonOutputMode.call(void 0, )) console.error(line);
|
|
249
249
|
}
|
|
250
250
|
function beginToolExecuteCommand() {
|
|
251
251
|
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 _chunk6TBRWRJ2js = require('./chunk-6TBRWRJ2.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHMAETS53js = require('./chunk-HMAETS53.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 = _chunkHMAETS53js.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunk6TBRWRJ2js.PlayClient)(
|
|
142
|
+
new (0, _chunkHMAETS53js.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -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.509",
|
|
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."
|
|
@@ -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 _chunkZXGMWXZWjs = require('./chunk-ZXGMWXZW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkZ2LVZDO5js = require('./chunk-Z2LVZDO5.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,11 +18,11 @@ 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") _chunkZ2LVZDO5js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkZXGMWXZWjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkZ2LVZDO5js.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
|
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
32
|
if (compatibility.error) throw compatibility.error;
|
|
33
|
-
|
|
33
|
+
_chunkZ2LVZDO5js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
34
34
|
quietAdvisory: true
|
|
35
35
|
});
|
|
36
36
|
}
|