deepline 0.3.512 → 0.3.513
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/cli/{artifacts-YSYWQFQQ.mjs → artifacts-AMM4RZNI.mjs} +6 -6
- package/dist/cli/{artifacts-5IGM3EYP.js → artifacts-SZA52D3P.js} +18 -18
- package/dist/cli/{auth-4MVWCUXS.mjs → auth-3HQ7FXPX.mjs} +5 -5
- package/dist/cli/auth-THCURTEC.js +43 -0
- package/dist/cli/{billing-SZXRENPC.mjs → billing-7AIKDEQQ.mjs} +7 -7
- package/dist/cli/{billing-OYYHWNVS.js → billing-SVFRN4BJ.js} +82 -82
- package/dist/cli/{chunk-MQ5GBB7V.mjs → chunk-3SE4O52N.mjs} +1 -1
- package/dist/cli/{chunk-VZN6D23P.js → chunk-3UKVFI2R.js} +7 -7
- package/dist/cli/{chunk-JDD6OLWN.mjs → chunk-3WHK7WCP.mjs} +3 -3
- package/dist/cli/{chunk-YJN55ZWG.mjs → chunk-46QVEEXR.mjs} +1 -1
- package/dist/cli/{chunk-Q72Q3ZWB.js → chunk-4EGBOZ53.js} +9 -9
- package/dist/cli/{chunk-FF25PDQ2.js → chunk-5IZXMA2L.js} +4 -1
- package/dist/cli/{chunk-AATUAFD2.mjs → chunk-5T4SZPVO.mjs} +2 -2
- package/dist/cli/{chunk-77DPQI6W.mjs → chunk-5UWWZLMX.mjs} +4 -1
- package/dist/cli/{chunk-VGCNLFER.js → chunk-6JNRYX65.js} +2 -2
- package/dist/cli/{chunk-OU6AK63V.js → chunk-6UVAYLQG.js} +2 -2
- package/dist/cli/{chunk-FJPJ6SO3.mjs → chunk-7NIBAJML.mjs} +2 -2
- package/dist/cli/{chunk-TNQ5MF6K.mjs → chunk-7UVKC5G4.mjs} +1 -1
- package/dist/cli/{chunk-V6FQRUPJ.js → chunk-ADB6FD2Q.js} +41 -41
- package/dist/cli/{chunk-32UMZXCZ.mjs → chunk-B4BKATGX.mjs} +5 -5
- package/dist/cli/{chunk-3INAN6EK.mjs → chunk-C5KH6FDN.mjs} +3 -3
- package/dist/cli/{chunk-RXZRZEW7.mjs → chunk-CEWRCUSH.mjs} +5 -5
- package/dist/cli/{chunk-4QR64X2S.js → chunk-D72M5LBQ.js} +10 -10
- package/dist/cli/{chunk-KBM5T6UV.js → chunk-EAQQTYJL.js} +5 -5
- package/dist/cli/{chunk-XKFWY4IK.mjs → chunk-FC6BR2OA.mjs} +10 -10
- package/dist/cli/{chunk-I6OK54YK.mjs → chunk-FLG3VIDQ.mjs} +5 -5
- package/dist/cli/{chunk-ZLHIQU2G.js → chunk-H6WD65CD.js} +96 -96
- package/dist/cli/{chunk-4ZDHGAE6.js → chunk-HDDE4Y4V.js} +2 -2
- package/dist/cli/{chunk-IMC2HQ6V.js → chunk-JA5PBN44.js} +6 -6
- package/dist/cli/{chunk-RR6G6ZCT.js → chunk-JI2LKS5V.js} +11 -11
- package/dist/cli/{chunk-EQAKPIGI.mjs → chunk-JNNQ53BX.mjs} +2 -2
- package/dist/cli/{chunk-LYOWQKGN.mjs → chunk-K3CUVLW7.mjs} +1 -1
- package/dist/cli/{chunk-ZVYMGTZ7.mjs → chunk-KINDIV44.mjs} +4 -4
- package/dist/cli/{chunk-DJ4FD5DR.mjs → chunk-LA66PYB4.mjs} +2 -2
- package/dist/cli/{chunk-BP4XEO6Z.js → chunk-MPOF4Z44.js} +1 -1
- package/dist/cli/{chunk-2R6M62UO.mjs → chunk-OD72PULZ.mjs} +2 -2
- package/dist/cli/{chunk-AVYI522S.js → chunk-ORQVTTTM.js} +5 -5
- package/dist/cli/{chunk-GJMIW4Q6.mjs → chunk-P2EHYH2Q.mjs} +1 -1
- package/dist/cli/{chunk-MTSHUN2R.mjs → chunk-P63SBUEW.mjs} +1 -1
- package/dist/cli/{chunk-7U3WY2F3.js → chunk-P6TG7COR.js} +53 -53
- package/dist/cli/{chunk-HCMFRAYT.js → chunk-PFEFK2FB.js} +26 -26
- package/dist/cli/{chunk-L7CAOWHY.js → chunk-PGHCBL5G.js} +3 -3
- package/dist/cli/{chunk-2BS6BRGH.mjs → chunk-PPQU263U.mjs} +2 -2
- package/dist/cli/{chunk-JU35QU3Z.js → chunk-QDGUDNVR.js} +7 -7
- package/dist/cli/{chunk-P3RYPSOQ.mjs → chunk-ROIFA4H7.mjs} +6 -6
- package/dist/cli/{chunk-JH7JISQ2.mjs → chunk-ROJ55CXM.mjs} +1 -1
- package/dist/cli/{chunk-JKLFRDQ6.js → chunk-SDD75XIU.js} +6 -6
- package/dist/cli/{chunk-W7DAWILZ.js → chunk-TWHJ4WCA.js} +16 -16
- package/dist/cli/{chunk-4DSRBHN6.js → chunk-U5QR527Y.js} +44 -44
- package/dist/cli/{chunk-O24VWLOY.js → chunk-UDVX7HKU.js} +16 -16
- package/dist/cli/{chunk-PJCPFF7J.js → chunk-VMLZQ3VM.js} +14 -14
- package/dist/cli/{chunk-YNMHIJC5.mjs → chunk-WFN6SB2B.mjs} +1 -1
- package/dist/cli/{chunk-5XLU47DG.mjs → chunk-XCP75LSJ.mjs} +1 -1
- package/dist/cli/{chunk-ZZ7SVWKR.js → chunk-Y2SIHXYS.js} +4 -4
- package/dist/cli/{chunk-WDCOUJQ5.js → chunk-YZW4ZLU3.js} +21 -21
- package/dist/cli/{chunk-TKN2TRW5.js → chunk-Z52XVM5I.js} +3 -3
- package/dist/cli/{chunk-T3SUWKUT.mjs → chunk-ZDO67LFA.mjs} +5 -5
- package/dist/cli/{chunk-HA5NSCTH.mjs → chunk-ZKUXTF6X.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-AY4KT3NZ.mjs → csv-56JWAO3Y.mjs} +4 -4
- package/dist/cli/{csv-YR2E5HNM.js → csv-WKF5O6C4.js} +13 -13
- package/dist/cli/{db-IMYD3OCM.mjs → db-SENEFS45.mjs} +6 -6
- package/dist/cli/{db-YKV6564I.js → db-UURETUXZ.js} +27 -27
- package/dist/cli/describe-GIJAGNZM.js +50 -0
- package/dist/cli/{describe-72GI2Q6T.mjs → describe-R3XKAGF5.mjs} +18 -18
- package/dist/cli/{executions-2YO6KIP3.mjs → executions-BAUUWHSW.mjs} +6 -6
- package/dist/cli/{executions-OSNL5CSU.js → executions-WZUS3S2K.js} +8 -8
- package/dist/cli/{feedback-SYDNAT62.mjs → feedback-5SCDE247.mjs} +5 -5
- package/dist/cli/{feedback-WSA7YTKS.js → feedback-Z6A7WMJS.js} +10 -10
- package/dist/cli/{git-WBH7N3EF.mjs → git-246MRTK7.mjs} +5 -5
- package/dist/cli/git-D5UAIEQE.js +25 -0
- package/dist/cli/index.js +145 -145
- package/dist/cli/index.mjs +44 -44
- package/dist/cli/{legacy-noops-BZPLWY5C.js → legacy-noops-AKETAVNI.js} +9 -9
- package/dist/cli/{legacy-noops-USZM4ZXF.mjs → legacy-noops-M242HT67.mjs} +6 -6
- package/dist/cli/{monitors-6HOZMLEV.mjs → monitors-N5T6PLCX.mjs} +7 -7
- package/dist/cli/{monitors-XHXAMMYC.js → monitors-QIHYTSKD.js} +100 -100
- package/dist/cli/{org-BAAOAZF3.js → org-BSCPIN7Y.js} +72 -72
- package/dist/cli/{org-LT3DICB4.mjs → org-YMDLKBVM.mjs} +6 -6
- package/dist/cli/{pages-7NP4PKLA.js → pages-BYSQBWD5.js} +18 -18
- package/dist/cli/{pages-MOCSTZZQ.mjs → pages-FRLPAY6I.mjs} +6 -6
- package/dist/cli/{play-MGJ7B7RL.mjs → play-CMJI6RNI.mjs} +18 -18
- package/dist/cli/{play-CGUL22GL.js → play-OIJAMP5P.js} +317 -317
- package/dist/cli/{providers-5LCUHKX2.js → providers-6Q7H2RYZ.js} +9 -9
- package/dist/cli/{providers-AOWBHJ24.mjs → providers-KWFIH3E7.mjs} +6 -6
- package/dist/cli/{quickstart-7YZUT7GO.js → quickstart-GU35UZPU.js} +6 -6
- package/dist/cli/{quickstart-Z6NA2CCM.mjs → quickstart-UZWAQ7VJ.mjs} +4 -4
- package/dist/cli/{run-7QGBNUKE.mjs → run-AJ24G4CT.mjs} +23 -23
- package/dist/cli/{run-M66ILCWL.js → run-OYOQIVBM.js} +41 -41
- package/dist/cli/{search-Z2T3B4V4.mjs → search-2KNDV3DL.mjs} +8 -8
- package/dist/cli/search-UZM6U4MZ.js +33 -0
- package/dist/cli/{search-output-6OHPSJGK.js → search-output-526FOJQD.js} +6 -6
- package/dist/cli/{search-output-MLHVBRIR.mjs → search-output-X5TMIIA4.mjs} +4 -4
- package/dist/cli/{secrets-T7MW2DMK.js → secrets-QL5SMK62.js} +15 -15
- package/dist/cli/{secrets-VBSILT5H.mjs → secrets-XEOGG6TV.mjs} +6 -6
- package/dist/cli/sessions-T27GUYZX.js +18 -0
- package/dist/cli/{sessions-KNITGDLS.mjs → sessions-Z352OY5B.mjs} +6 -6
- package/dist/cli/{settings-NBZRRKZS.mjs → settings-AET5AKBY.mjs} +13 -13
- package/dist/cli/{settings-OSEBDBKR.js → settings-EKLYIRWJ.js} +86 -86
- package/dist/cli/{setup-7DZPC6FC.js → setup-IJWDEYLG.js} +50 -50
- package/dist/cli/{setup-WTEQPZ5I.mjs → setup-JPGTZYR2.mjs} +10 -10
- package/dist/cli/{skills-JMD2MNJZ.mjs → skills-DGCK6723.mjs} +8 -8
- package/dist/cli/skills-MLMVPHWG.js +37 -0
- package/dist/cli/tools-5WBKZRLQ.js +57 -0
- package/dist/cli/{tools-LK5BM2Z7.mjs → tools-7GEQLQWX.mjs} +17 -17
- package/dist/cli/update-JK4NLT4H.js +35 -0
- package/dist/cli/{update-IVUSIA2E.mjs → update-SAN6LDPT.mjs} +10 -10
- package/dist/cli/{workflow-4QP6G54M.mjs → workflow-C66GOHRB.mjs} +7 -7
- package/dist/cli/{workflow-GY374FMJ.js → workflow-E4NGYGGM.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +106 -106
- 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-M3AJBJ3O.js +0 -43
- package/dist/cli/describe-UFGHQBM7.js +0 -50
- package/dist/cli/git-YYOW4CYQ.js +0 -25
- package/dist/cli/search-OZQH5VMI.js +0 -33
- package/dist/cli/sessions-XKEIBOTP.js +0 -18
- package/dist/cli/skills-R6RO6MQF.js +0 -37
- package/dist/cli/tools-NBBDUNPR.js +0 -57
- package/dist/cli/update-BI2ABPGX.js +0 -35
|
@@ -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(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunk3UKVFI2Rjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -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 _chunkHDDE4Y4Vjs = require('./chunk-HDDE4Y4V.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkU5QR527Yjs = require('./chunk-U5QR527Y.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") _chunkU5QR527Yjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkHDDE4Y4Vjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkU5QR527Yjs.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
|
+
_chunkU5QR527Yjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
34
34
|
quietAdvisory: true
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEAQQTYJLjs = require('./chunk-EAQQTYJL.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkVMLZQ3VMjs = require('./chunk-VMLZQ3VM.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/search.ts
|
|
20
20
|
var _commander = require('commander');
|
|
@@ -24,7 +24,7 @@ var _fs = require('fs');
|
|
|
24
24
|
var _path = require('path');
|
|
25
25
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
26
26
|
function lastSearchPath() {
|
|
27
|
-
return _path.join.call(void 0,
|
|
27
|
+
return _path.join.call(void 0, _chunkPGHCBL5Gjs.sdkCliStateDirPath.call(void 0, _chunkPGHCBL5Gjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
28
28
|
}
|
|
29
29
|
function rememberSearchRef(searchRef) {
|
|
30
30
|
writeSearchRefs({ searchRef });
|
|
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
console.error("--summary-width must be an integer of at least 2.");
|
|
135
135
|
return 1;
|
|
136
136
|
}
|
|
137
|
-
const client = new (0,
|
|
137
|
+
const client = new (0, _chunkEAQQTYJLjs.DeeplineClient)();
|
|
138
138
|
const json = options.json === true;
|
|
139
|
-
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-
|
|
139
|
+
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-526FOJQD.js")));
|
|
140
140
|
const searches = [];
|
|
141
141
|
const chunks = [];
|
|
142
142
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
159
159
|
const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
|
|
160
160
|
if (!multiple) {
|
|
161
161
|
if (searchRef) rememberSearchRef(searchRef);
|
|
162
|
-
|
|
162
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0, result, { json, text });
|
|
163
163
|
return 0;
|
|
164
164
|
}
|
|
165
165
|
searches.push({ ...result, query });
|
|
@@ -173,8 +173,8 @@ ${text}`);
|
|
|
173
173
|
}
|
|
174
174
|
} catch (error) {
|
|
175
175
|
if (!multiple) throw error;
|
|
176
|
-
const payload =
|
|
177
|
-
const queryExitCode = _nullishCoalesce(payload.exitCode, () => (
|
|
176
|
+
const payload = _chunk3UKVFI2Rjs.errorToJsonPayload.call(void 0, error);
|
|
177
|
+
const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkVMLZQ3VMjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
178
178
|
searches.push({ ...payload, query, exitCode: queryExitCode });
|
|
179
179
|
if (!json) {
|
|
180
180
|
console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
|
|
@@ -186,7 +186,7 @@ Search failed.
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
rememberSearchRefsByTool(refs);
|
|
189
|
-
|
|
189
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
|
|
190
190
|
{ searches },
|
|
191
191
|
{
|
|
192
192
|
json,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5T4SZPVO.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3SE4O52N.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CEWRCUSH.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5T4SZPVO.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3SE4O52N.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7UVKC5G4.mjs";
|
|
28
28
|
import {
|
|
29
29
|
DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
|
|
30
30
|
} from "./chunk-5JPKRDFC.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P63SBUEW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3SE4O52N.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -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.513",
|
|
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,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoDetectBaseUrl,
|
|
3
3
|
resolveApiKeyForBaseUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3SE4O52N.mjs";
|
|
5
5
|
import {
|
|
6
6
|
SDK_VERSION,
|
|
7
7
|
agentSessionIdFromEnvironment,
|
|
8
8
|
deploymentProtectionHeaders,
|
|
9
9
|
detectAgentRuntime
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7UVKC5G4.mjs";
|
|
11
11
|
import {
|
|
12
12
|
DeeplineError
|
|
13
13
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -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 _chunkQDGUDNVRjs = require('./chunk-QDGUDNVR.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.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 = _chunkPGHCBL5Gjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkQDGUDNVRjs.PlayClient)(
|
|
142
|
+
new (0, _chunkPGHCBL5Gjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -22,14 +22,14 @@ var _chunkVZN6D23Pjs = require('./chunk-VZN6D23P.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkY2SIHXYSjs = require('./chunk-Y2SIHXYS.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
@@ -60,7 +60,7 @@ function statusBannerLine(value) {
|
|
|
60
60
|
return `Service notice: ${banner.message}`;
|
|
61
61
|
}
|
|
62
62
|
function envFilePath(baseUrl) {
|
|
63
|
-
return
|
|
63
|
+
return _chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, baseUrl);
|
|
64
64
|
}
|
|
65
65
|
function normalizeAuthScope(value) {
|
|
66
66
|
if (!value || value === "global") return "global";
|
|
@@ -73,7 +73,7 @@ function parseAuthScope(args) {
|
|
|
73
73
|
}
|
|
74
74
|
function pendingClaimPath(baseUrl, scope) {
|
|
75
75
|
if (scope === "folder") {
|
|
76
|
-
const target =
|
|
76
|
+
const target = _chunkPGHCBL5Gjs.resolveProjectPinTarget.call(void 0, );
|
|
77
77
|
if (!target.ok) {
|
|
78
78
|
throw new Error(
|
|
79
79
|
`Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
|
|
@@ -83,10 +83,10 @@ function pendingClaimPath(baseUrl, scope) {
|
|
|
83
83
|
}
|
|
84
84
|
return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
|
|
85
85
|
}
|
|
86
|
-
return `${
|
|
86
|
+
return `${_chunkPGHCBL5Gjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
|
|
87
87
|
}
|
|
88
88
|
function legacyPendingClaimTokenPath(baseUrl) {
|
|
89
|
-
return `${
|
|
89
|
+
return `${_chunkPGHCBL5Gjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
|
|
90
90
|
}
|
|
91
91
|
function savePendingClaim(baseUrl, claim) {
|
|
92
92
|
const filePath = pendingClaimPath(baseUrl, claim.scope);
|
|
@@ -190,21 +190,21 @@ function parseRegisterWaitMode(args) {
|
|
|
190
190
|
function shouldWaitForRegisterClaim(mode) {
|
|
191
191
|
if (mode === "yes") return true;
|
|
192
192
|
if (mode === "no") return false;
|
|
193
|
-
return
|
|
193
|
+
return _chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
|
|
194
194
|
}
|
|
195
195
|
function saveEnvValues(values, baseUrl, scope) {
|
|
196
196
|
const filtered = {
|
|
197
|
-
...values[
|
|
198
|
-
...values[
|
|
199
|
-
...values[
|
|
200
|
-
...Object.prototype.hasOwnProperty.call(values,
|
|
197
|
+
...values[_chunkPGHCBL5Gjs.HOST_URL_ENV] ? { [_chunkPGHCBL5Gjs.HOST_URL_ENV]: values[_chunkPGHCBL5Gjs.HOST_URL_ENV] } : {},
|
|
198
|
+
...values[_chunkPGHCBL5Gjs.API_KEY_ENV] ? { [_chunkPGHCBL5Gjs.API_KEY_ENV]: values[_chunkPGHCBL5Gjs.API_KEY_ENV] } : {},
|
|
199
|
+
...values[_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV] ? { [_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV]: values[_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV] } : {},
|
|
200
|
+
...Object.prototype.hasOwnProperty.call(values, _chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV]: values[_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV] } : {},
|
|
201
201
|
// An explicit empty list must reach the store: it clears a stale line.
|
|
202
|
-
...Object.prototype.hasOwnProperty.call(values,
|
|
202
|
+
...Object.prototype.hasOwnProperty.call(values, _chunkPGHCBL5Gjs.FEATURES_ENV) ? { [_chunkPGHCBL5Gjs.FEATURES_ENV]: values[_chunkPGHCBL5Gjs.FEATURES_ENV] } : {}
|
|
203
203
|
};
|
|
204
204
|
if (scope === "folder") {
|
|
205
|
-
|
|
205
|
+
_chunkPGHCBL5Gjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
|
|
206
206
|
} else {
|
|
207
|
-
|
|
207
|
+
_chunkPGHCBL5Gjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
function activeOrgEnvValues(data) {
|
|
@@ -212,21 +212,21 @@ function activeOrgEnvValues(data) {
|
|
|
212
212
|
if (!orgId) return {};
|
|
213
213
|
const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
|
|
214
214
|
return {
|
|
215
|
-
[
|
|
216
|
-
[
|
|
217
|
-
...
|
|
215
|
+
[_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV]: orgId,
|
|
216
|
+
[_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV]: orgName,
|
|
217
|
+
..._chunkPGHCBL5Gjs.featureEnvValues.call(void 0, data)
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
220
|
async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
|
|
221
221
|
const headers = {
|
|
222
222
|
"Content-Type": "application/json",
|
|
223
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
223
|
+
"User-Agent": `deepline-ts-sdk/${_chunkY2SIHXYSjs.SDK_VERSION}`,
|
|
224
224
|
"X-Deepline-Client-Family": "sdk",
|
|
225
225
|
"X-Deepline-CLI-Family": "sdk",
|
|
226
|
-
"X-Deepline-Agent-Runtime":
|
|
227
|
-
"X-Deepline-CLI-Version":
|
|
228
|
-
"X-Deepline-SDK-Version":
|
|
229
|
-
"X-Deepline-API-Contract":
|
|
226
|
+
"X-Deepline-Agent-Runtime": _chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ),
|
|
227
|
+
"X-Deepline-CLI-Version": _chunkY2SIHXYSjs.SDK_VERSION,
|
|
228
|
+
"X-Deepline-SDK-Version": _chunkY2SIHXYSjs.SDK_VERSION,
|
|
229
|
+
"X-Deepline-API-Contract": _chunkY2SIHXYSjs.SDK_API_CONTRACT
|
|
230
230
|
};
|
|
231
231
|
if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
|
|
232
232
|
const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
|
|
@@ -265,10 +265,10 @@ async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT
|
|
|
265
265
|
if (failure.name === "AbortError" || failure.name === "TimeoutError") {
|
|
266
266
|
throw failure;
|
|
267
267
|
}
|
|
268
|
-
const causeCode =
|
|
268
|
+
const causeCode = _chunkY2SIHXYSjs.networkCauseCode.call(void 0, failure);
|
|
269
269
|
throw Object.assign(
|
|
270
270
|
new (0, _chunkDIAWYWT5js.DeeplineError)(
|
|
271
|
-
|
|
271
|
+
_chunkY2SIHXYSjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
|
|
272
272
|
void 0,
|
|
273
273
|
"NETWORK_ERROR",
|
|
274
274
|
causeCode ? { causeCode } : void 0
|
|
@@ -285,7 +285,7 @@ async function readStatusBanner(baseUrl) {
|
|
|
285
285
|
return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
|
|
286
286
|
}
|
|
287
287
|
async function reportSetupCompleted(input) {
|
|
288
|
-
const apiKey = input.authScope === "folder" ?
|
|
288
|
+
const apiKey = input.authScope === "folder" ? _chunkPGHCBL5Gjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkPGHCBL5Gjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
289
289
|
if (!apiKey) return;
|
|
290
290
|
try {
|
|
291
291
|
await httpJson(
|
|
@@ -414,7 +414,7 @@ function endClaimPollOnRefusal(status, data, baseUrl, authScope) {
|
|
|
414
414
|
return EXIT_SERVER;
|
|
415
415
|
}
|
|
416
416
|
async function handleRegister(args, options) {
|
|
417
|
-
const baseUrl =
|
|
417
|
+
const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
418
418
|
let orgName = "";
|
|
419
419
|
let orgId = "";
|
|
420
420
|
let agentName = "";
|
|
@@ -473,19 +473,19 @@ async function handleRegister(args, options) {
|
|
|
473
473
|
savePendingClaim(baseUrl, pendingClaim);
|
|
474
474
|
saveEnvValues(
|
|
475
475
|
{
|
|
476
|
-
[
|
|
476
|
+
[_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl
|
|
477
477
|
},
|
|
478
478
|
baseUrl,
|
|
479
479
|
authScope
|
|
480
480
|
);
|
|
481
481
|
}
|
|
482
482
|
if (claimUrl) {
|
|
483
|
-
const shouldOpen = waitMode !== "no" &&
|
|
483
|
+
const shouldOpen = waitMode !== "no" && _chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
|
|
484
484
|
console.log(
|
|
485
485
|
shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
|
|
486
486
|
);
|
|
487
487
|
console.log(` ${claimUrl}`);
|
|
488
|
-
if (shouldOpen)
|
|
488
|
+
if (shouldOpen) _chunk3UKVFI2Rjs.openInBrowser.call(void 0, claimUrl);
|
|
489
489
|
if (claimToken && pendingClaim.approvalLinkReporting && !_optionalChain([options, 'optionalAccess', _16 => _16.deferApprovalLinkReport])) {
|
|
490
490
|
await reportApprovalLinkShown(
|
|
491
491
|
baseUrl,
|
|
@@ -534,8 +534,8 @@ async function handleRegister(args, options) {
|
|
|
534
534
|
if (apiKey) {
|
|
535
535
|
saveEnvValues(
|
|
536
536
|
{
|
|
537
|
-
[
|
|
538
|
-
[
|
|
537
|
+
[_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl,
|
|
538
|
+
[_chunkPGHCBL5Gjs.API_KEY_ENV]: apiKey,
|
|
539
539
|
...activeOrgEnvValues(statusData)
|
|
540
540
|
},
|
|
541
541
|
baseUrl,
|
|
@@ -557,7 +557,7 @@ async function handleRegister(args, options) {
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
async function handleWait(args) {
|
|
560
|
-
const baseUrl =
|
|
560
|
+
const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
561
561
|
let timeoutSeconds = 300;
|
|
562
562
|
let requestedScope;
|
|
563
563
|
if (args.includes("--auth-scope")) {
|
|
@@ -581,7 +581,7 @@ async function handleWait(args) {
|
|
|
581
581
|
const authScope = resumed.scope;
|
|
582
582
|
const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _17 => _17.claimToken]), () => ( ""));
|
|
583
583
|
if (!pendingClaim) {
|
|
584
|
-
const scopedApiKey = authScope === "folder" ?
|
|
584
|
+
const scopedApiKey = authScope === "folder" ? _chunkPGHCBL5Gjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkPGHCBL5Gjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
585
585
|
if (scopedApiKey) {
|
|
586
586
|
console.log("Already connected.");
|
|
587
587
|
return EXIT_OK;
|
|
@@ -623,8 +623,8 @@ async function handleWait(args) {
|
|
|
623
623
|
if (apiKey) {
|
|
624
624
|
saveEnvValues(
|
|
625
625
|
{
|
|
626
|
-
[
|
|
627
|
-
[
|
|
626
|
+
[_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl,
|
|
627
|
+
[_chunkPGHCBL5Gjs.API_KEY_ENV]: apiKey,
|
|
628
628
|
...activeOrgEnvValues(data)
|
|
629
629
|
},
|
|
630
630
|
baseUrl,
|
|
@@ -648,8 +648,8 @@ async function handleWait(args) {
|
|
|
648
648
|
return EXIT_AUTH;
|
|
649
649
|
}
|
|
650
650
|
async function authStatusLine(timeoutMs = 3e3) {
|
|
651
|
-
const baseUrl =
|
|
652
|
-
const apiKey =
|
|
651
|
+
const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
652
|
+
const apiKey = _chunkPGHCBL5Gjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
653
653
|
if (!apiKey) return `Auth: not connected (${baseUrl})`;
|
|
654
654
|
try {
|
|
655
655
|
const { status, data } = await httpJson(
|
|
@@ -672,9 +672,9 @@ async function authStatusLine(timeoutMs = 3e3) {
|
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
async function handleStatus(args) {
|
|
675
|
-
const baseUrl =
|
|
675
|
+
const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
676
676
|
const reveal = args.includes("--reveal");
|
|
677
|
-
const jsonOutput =
|
|
677
|
+
const jsonOutput = _chunk3UKVFI2Rjs.argsWantJson.call(void 0, args);
|
|
678
678
|
const hasExplicitAuthScope = args.includes("--auth-scope");
|
|
679
679
|
let authScope = null;
|
|
680
680
|
if (hasExplicitAuthScope) {
|
|
@@ -715,14 +715,14 @@ async function handleStatus(args) {
|
|
|
715
715
|
};
|
|
716
716
|
hostLines.push(`Host: ${baseUrl} (unreachable)`);
|
|
717
717
|
}
|
|
718
|
-
const apiKey = authScope === "folder" ?
|
|
718
|
+
const apiKey = authScope === "folder" ? _chunkPGHCBL5Gjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkPGHCBL5Gjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkPGHCBL5Gjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
719
719
|
if (!apiKey) {
|
|
720
720
|
const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
|
|
721
721
|
baseUrl,
|
|
722
722
|
_nullishCoalesce(authScope, () => ( void 0))
|
|
723
723
|
);
|
|
724
724
|
if (pendingClaim) {
|
|
725
|
-
|
|
725
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
|
|
726
726
|
{
|
|
727
727
|
..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
|
|
728
728
|
status: "pending",
|
|
@@ -743,7 +743,7 @@ async function handleStatus(args) {
|
|
|
743
743
|
);
|
|
744
744
|
return EXIT_OK;
|
|
745
745
|
}
|
|
746
|
-
|
|
746
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
|
|
747
747
|
{
|
|
748
748
|
..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
|
|
749
749
|
status: "not connected",
|
|
@@ -776,7 +776,7 @@ async function handleStatus(args) {
|
|
|
776
776
|
}
|
|
777
777
|
);
|
|
778
778
|
if (status === 401 || status === 403) {
|
|
779
|
-
|
|
779
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
|
|
780
780
|
{
|
|
781
781
|
..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
|
|
782
782
|
status: "unauthorized",
|
|
@@ -803,7 +803,7 @@ async function handleStatus(args) {
|
|
|
803
803
|
console.error(`Auth status error (status ${status}).`);
|
|
804
804
|
return EXIT_SERVER;
|
|
805
805
|
}
|
|
806
|
-
const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (
|
|
806
|
+
const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkPGHCBL5Gjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
|
|
807
807
|
clearSatisfiedPendingClaim(
|
|
808
808
|
baseUrl,
|
|
809
809
|
resolvedAuthScope,
|
|
@@ -831,28 +831,28 @@ async function handleStatus(args) {
|
|
|
831
831
|
if (apiKeyResp) {
|
|
832
832
|
saveEnvValues(
|
|
833
833
|
{
|
|
834
|
-
[
|
|
835
|
-
[
|
|
834
|
+
[_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl,
|
|
835
|
+
[_chunkPGHCBL5Gjs.API_KEY_ENV]: apiKeyResp,
|
|
836
836
|
...activeOrgEnvValues(data)
|
|
837
837
|
},
|
|
838
838
|
baseUrl,
|
|
839
839
|
resolvedAuthScope
|
|
840
840
|
);
|
|
841
841
|
if (resolvedAuthScope === "folder") {
|
|
842
|
-
const target =
|
|
842
|
+
const target = _chunkPGHCBL5Gjs.resolveProjectPinTarget.call(void 0, );
|
|
843
843
|
savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
|
|
844
844
|
} else {
|
|
845
845
|
savedApiKeyPath = envFilePath(baseUrl);
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
|
-
} else if (resolvedAuthScope === "folder" ||
|
|
849
|
-
saveEnvValues(
|
|
848
|
+
} else if (resolvedAuthScope === "folder" || _chunkPGHCBL5Gjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
|
|
849
|
+
saveEnvValues(_chunkPGHCBL5Gjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
|
|
850
850
|
}
|
|
851
|
-
|
|
851
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
|
|
852
852
|
{
|
|
853
853
|
...payload,
|
|
854
|
-
...
|
|
855
|
-
command_context:
|
|
854
|
+
..._chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
|
|
855
|
+
command_context: _chunkPGHCBL5Gjs.resolveCliCommandContext.call(void 0,
|
|
856
856
|
{ baseUrl, apiKey },
|
|
857
857
|
resolvedAuthScope
|
|
858
858
|
)
|