deepline 0.3.374 → 0.3.375
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/auth-B7CLYD7R.js +35 -0
- package/dist/cli/{auth-YGCDA4WG.mjs → auth-U3Y7DTIG.mjs} +6 -4
- package/dist/cli/{billing-ZXRKPD5D.js → billing-P2DNRAND.js} +73 -73
- package/dist/cli/{billing-3ZLR3CJU.mjs → billing-TKARGBO3.mjs} +4 -4
- package/dist/cli/{chunk-VZSVYNZH.mjs → chunk-4GP56LRE.mjs} +12 -12
- package/dist/cli/{chunk-JSK6GUY6.js → chunk-4WINCNNH.js} +13 -9
- package/dist/cli/{chunk-NOSIMGZV.js → chunk-ADSZGPYZ.js} +1 -1
- package/dist/cli/{chunk-E6BZWURC.mjs → chunk-B2LFDTXZ.mjs} +15 -6
- package/dist/cli/{chunk-62IBVKWB.mjs → chunk-B3TQIJ6L.mjs} +1 -1
- package/dist/cli/{chunk-PCYCNZLR.js → chunk-CUIBDSSS.js} +8 -8
- package/dist/cli/{chunk-HC5L6KGE.js → chunk-DAG4ZBTJ.js} +1495 -1495
- package/dist/cli/{chunk-YPVTQRUM.js → chunk-DHTG5CCI.js} +15 -6
- package/dist/cli/{chunk-RXR7A2MX.js → chunk-F5CU5ALX.js} +26 -26
- package/dist/cli/{chunk-46JCJ7FT.mjs → chunk-FWF24ULX.mjs} +13 -9
- package/dist/cli/{chunk-3XKAOV74.js → chunk-GN5QM2BB.js} +6 -6
- package/dist/cli/{chunk-T35LCTC7.js → chunk-HEF6UDGA.js} +235 -235
- package/dist/cli/{chunk-TZTGK5JQ.js → chunk-HP4BE43N.js} +52 -51
- package/dist/cli/{chunk-GT6KGIWV.mjs → chunk-HSIVHAZA.mjs} +3 -3
- package/dist/cli/{chunk-IZVGMVNX.mjs → chunk-IG3GOO4T.mjs} +1 -1
- package/dist/cli/{chunk-JK547IDB.js → chunk-IQTHRG6E.js} +15 -15
- package/dist/cli/{chunk-53PZA4EP.js → chunk-KK4XPUVA.js} +8 -8
- package/dist/cli/{chunk-RT5ICJ5V.js → chunk-LZUWGLM4.js} +2 -2
- package/dist/cli/{chunk-MOBOAZMA.js → chunk-M2HVNJ47.js} +60 -60
- package/dist/cli/{chunk-NNYQ24O5.mjs → chunk-M5QDOHLG.mjs} +1 -1
- package/dist/cli/{chunk-YFFH6NDU.mjs → chunk-MKS7C3YR.mjs} +3 -2
- package/dist/cli/{chunk-MQ5UW5AZ.mjs → chunk-MPQSBHMA.mjs} +4 -4
- package/dist/cli/{chunk-O7KJYX7R.js → chunk-MTBQEND4.js} +15 -15
- package/dist/cli/{chunk-X5V2QTDR.js → chunk-NVXMPGM4.js} +65 -84
- package/dist/cli/{chunk-OYTPVM2R.mjs → chunk-QEEIEHGV.mjs} +2 -2
- package/dist/cli/{chunk-2DAWTVNN.mjs → chunk-SJVJZOPT.mjs} +2 -2
- package/dist/cli/{chunk-OS7GXARW.mjs → chunk-STYH5U6W.mjs} +7 -7
- package/dist/cli/{chunk-SBB27CIJ.mjs → chunk-Z4ARN4X3.mjs} +2 -2
- package/dist/cli/{chunk-FT6O2ZVJ.mjs → chunk-ZFWU5V2A.mjs} +13 -32
- package/dist/cli/{chunk-A62HBMHY.mjs → chunk-ZHXPNJQI.mjs} +1467 -1467
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-VEHHRUG4.mjs → csv-3FTYTEJ3.mjs} +3 -3
- package/dist/cli/{csv-WSRTANXI.js → csv-WAEVGKHF.js} +12 -12
- package/dist/cli/{db-BH25DX2G.mjs → db-HUGGFIVS.mjs} +4 -4
- package/dist/cli/{db-JXZNMFCE.js → db-UDMDGNKO.js} +29 -29
- package/dist/cli/{describe-TMBECHTX.mjs → describe-EOBOGTB5.mjs} +130 -20
- package/dist/cli/{describe-N2OBGVJM.js → describe-SIAKZYRK.js} +144 -34
- package/dist/cli/{executions-TX5CQF66.js → executions-HYYP27MG.js} +6 -6
- package/dist/cli/{executions-Y4HQHYSO.mjs → executions-O6Z2HSLK.mjs} +4 -4
- package/dist/cli/{feedback-ASEJ5A7I.js → feedback-3DWSBHKS.js} +7 -7
- package/dist/cli/{feedback-W7SRXYSP.mjs → feedback-RRAMGMQV.mjs} +3 -3
- package/dist/cli/{git-2W7CZZRC.mjs → git-KVAK7VOL.mjs} +4 -4
- package/dist/cli/git-M36KWCCG.js +23 -0
- package/dist/cli/index.js +106 -91
- package/dist/cli/index.mjs +63 -48
- package/dist/cli/{legacy-noops-TXMPY3P7.mjs → legacy-noops-MQNCDMY7.mjs} +4 -4
- package/dist/cli/{legacy-noops-NJYAAGBY.js → legacy-noops-V5GQXXUR.js} +7 -7
- package/dist/cli/{monitors-G4L65QGQ.mjs → monitors-6FB63TDM.mjs} +4 -4
- package/dist/cli/{monitors-YLKTQ57D.js → monitors-RFGQILPW.js} +85 -85
- package/dist/cli/{org-ENXO2A33.js → org-L33EPH2E.js} +64 -64
- package/dist/cli/{org-BCHOWKIA.mjs → org-TZPQDDVX.mjs} +4 -4
- package/dist/cli/{play-JBY7HUYN.mjs → play-PU23OETO.mjs} +8 -8
- package/dist/cli/play-YR2XQARF.js +155 -0
- package/dist/cli/{providers-GWFX3E7C.js → providers-2RHIKO22.js} +7 -7
- package/dist/cli/{providers-JV2DZG43.mjs → providers-QGQR6ZZF.mjs} +4 -4
- package/dist/cli/{quickstart-AIXURXZQ.mjs → quickstart-24DQYBW7.mjs} +3 -3
- package/dist/cli/{quickstart-CASPK7F4.js → quickstart-BGQVPI7W.js} +5 -5
- package/dist/cli/{search-DYQB7LHK.mjs → search-EUN7YFMX.mjs} +5 -5
- package/dist/cli/search-OHELMK6E.js +26 -0
- package/dist/cli/{secrets-RQZPIPO5.mjs → secrets-OOHN6LNJ.mjs} +4 -4
- package/dist/cli/{secrets-AZQG2E4U.js → secrets-XL7GUTQA.js} +13 -13
- package/dist/cli/{sessions-ZY6RBYD4.js → sessions-FD5XB7M2.js} +5 -5
- package/dist/cli/{sessions-3FJJDMBB.mjs → sessions-SDN4C3YS.mjs} +4 -4
- package/dist/cli/{settings-UNZDQGSE.mjs → settings-3MXRXYXI.mjs} +7 -7
- package/dist/cli/{settings-GXKWNR5V.js → settings-6ZEKVAYL.js} +74 -74
- package/dist/cli/{setup-PIRXJ2KJ.mjs → setup-DWTR6HNT.mjs} +6 -6
- package/dist/cli/{setup-UURZD4YO.js → setup-VKQ5EJZR.js} +41 -41
- package/dist/cli/skills-6GFW4GCW.js +28 -0
- package/dist/cli/{skills-B4AQEIAF.mjs → skills-ISG5UUZW.mjs} +4 -4
- package/dist/cli/{tools-UMGQKUSW.mjs → tools-JTC3DR6M.mjs} +7 -7
- package/dist/cli/tools-LK4L6VCK.js +40 -0
- package/dist/cli/{update-SFUTMEKL.mjs → update-GMTVIHCG.mjs} +6 -6
- package/dist/cli/update-PSJLAW4Q.js +28 -0
- package/dist/cli/{workflow-CDAJCMT7.js → workflow-2765Y3Y5.js} +15 -15
- package/dist/cli/{workflow-ON6XVW36.mjs → workflow-3POT3VFY.mjs} +5 -5
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/install-integrity.json +76 -78
- 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-IFXXXZP6.js +0 -33
- package/dist/cli/client-O6IEMURJ.js +0 -20
- package/dist/cli/client-TV254HC4.mjs +0 -20
- package/dist/cli/git-SSSOIQ2L.js +0 -23
- package/dist/cli/play-SSJ3PO4D.js +0 -155
- package/dist/cli/search-N7K6A2YV.js +0 -26
- package/dist/cli/skills-4OUZLKTW.js +0 -28
- package/dist/cli/tools-MIZS5UN6.js +0 -40
- package/dist/cli/update-3CO7LA4M.js +0 -28
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunkDAG4ZBTJjs = require('./chunk-DAG4ZBTJ.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-LA46MMTL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkGN5QM2BBjs = require('./chunk-GN5QM2BB.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -26,10 +26,10 @@ var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkIQTHRG6Ejs = require('./chunk-IQTHRG6E.js');
|
|
30
30
|
require('./chunk-XNYIZMNQ.js');
|
|
31
31
|
require('./chunk-7P5AA3SN.js');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-ADSZGPYZ.js');
|
|
33
33
|
require('./chunk-OG64RBAC.js');
|
|
34
34
|
require('./chunk-COGTRVWW.js');
|
|
35
35
|
|
|
@@ -45,7 +45,7 @@ var _fs = require('fs');
|
|
|
45
45
|
var _path = require('path');
|
|
46
46
|
function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
|
|
47
47
|
const intent = _crypto.createHash.call(void 0, "sha256").update(accountId).update("\0").update(sourceOrgId).update("\0").update(name).digest("hex");
|
|
48
|
-
return _path.join.call(void 0,
|
|
48
|
+
return _path.join.call(void 0, _chunkIQTHRG6Ejs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
|
|
49
49
|
}
|
|
50
50
|
function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
|
|
51
51
|
let value;
|
|
@@ -64,7 +64,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
|
|
|
64
64
|
return value;
|
|
65
65
|
}
|
|
66
66
|
function loadOrCreatePendingOrgCreate(input) {
|
|
67
|
-
const stateDir =
|
|
67
|
+
const stateDir = _chunkIQTHRG6Ejs.sdkCliStateDirPath.call(void 0, input.baseUrl);
|
|
68
68
|
const path = pendingOrgCreatePath(
|
|
69
69
|
input.baseUrl,
|
|
70
70
|
input.accountId,
|
|
@@ -149,11 +149,11 @@ function processEnvValue(name) {
|
|
|
149
149
|
}
|
|
150
150
|
function organizationAuthValues(input) {
|
|
151
151
|
return {
|
|
152
|
-
[
|
|
153
|
-
[
|
|
154
|
-
[
|
|
155
|
-
[
|
|
156
|
-
...
|
|
152
|
+
[_chunkIQTHRG6Ejs.HOST_URL_ENV]: input.baseUrl,
|
|
153
|
+
[_chunkIQTHRG6Ejs.API_KEY_ENV]: input.apiKey,
|
|
154
|
+
[_chunkIQTHRG6Ejs.ACTIVE_ORG_ID_ENV]: input.orgId,
|
|
155
|
+
[_chunkIQTHRG6Ejs.ACTIVE_ORG_NAME_ENV]: input.orgName,
|
|
156
|
+
..._chunkIQTHRG6Ejs.featureEnvValues.call(void 0, input)
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
function organizationCommandContext(input) {
|
|
@@ -167,14 +167,14 @@ function organizationCommandContext(input) {
|
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
function agentCommandContext(commandContext) {
|
|
170
|
-
return
|
|
170
|
+
return _chunkIQTHRG6Ejs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
|
|
171
171
|
}
|
|
172
172
|
function resolveOrgSwitchAuthTarget(scope, config) {
|
|
173
|
-
const activeProject =
|
|
173
|
+
const activeProject = _chunkIQTHRG6Ejs.getResolvedProjectAuthSource.call(void 0,
|
|
174
174
|
config.baseUrl,
|
|
175
175
|
config.apiKey
|
|
176
176
|
);
|
|
177
|
-
const folderTarget =
|
|
177
|
+
const folderTarget = _chunkIQTHRG6Ejs.resolveProjectPinTarget.call(void 0, );
|
|
178
178
|
const globalOverrideWarning = activeProject && scope === "global" ? [
|
|
179
179
|
`Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
|
|
180
180
|
] : [];
|
|
@@ -246,10 +246,10 @@ function resolveOrgSwitchAuthTarget(scope, config) {
|
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
async function handleOrgList(options) {
|
|
249
|
-
const config =
|
|
250
|
-
const http = new (0,
|
|
249
|
+
const config = _chunkIQTHRG6Ejs.resolveConfig.call(void 0, );
|
|
250
|
+
const http = new (0, _chunkIQTHRG6Ejs.HttpClient)(config);
|
|
251
251
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
252
|
-
|
|
252
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
253
253
|
{
|
|
254
254
|
...payload,
|
|
255
255
|
render: {
|
|
@@ -265,22 +265,22 @@ async function handleOrgList(options) {
|
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
267
|
async function handleOrgStatus(options) {
|
|
268
|
-
const config =
|
|
269
|
-
const http = new (0,
|
|
268
|
+
const config = _chunkIQTHRG6Ejs.resolveConfig.call(void 0, );
|
|
269
|
+
const http = new (0, _chunkIQTHRG6Ejs.HttpClient)(config);
|
|
270
270
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
271
271
|
const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
|
|
272
272
|
(org) => org.org_id === payload.current_org_id
|
|
273
273
|
))), () => ( null));
|
|
274
|
-
const projectCandidate =
|
|
275
|
-
const activeProject =
|
|
274
|
+
const projectCandidate = _chunkIQTHRG6Ejs.getActiveProjectAuthSource.call(void 0, );
|
|
275
|
+
const activeProject = _chunkIQTHRG6Ejs.getResolvedProjectAuthSource.call(void 0,
|
|
276
276
|
config.baseUrl,
|
|
277
277
|
config.apiKey
|
|
278
278
|
);
|
|
279
|
-
const folderTarget =
|
|
280
|
-
const provenance =
|
|
281
|
-
const hostPath =
|
|
282
|
-
const envApiKey = processEnvValue(
|
|
283
|
-
const envHostUrl = processEnvValue(
|
|
279
|
+
const folderTarget = _chunkIQTHRG6Ejs.resolveProjectPinTarget.call(void 0, );
|
|
280
|
+
const provenance = _chunkIQTHRG6Ejs.resolveCliAuthProvenance.call(void 0, config);
|
|
281
|
+
const hostPath = _chunkIQTHRG6Ejs.hostEnvFilePath.call(void 0, config.baseUrl);
|
|
282
|
+
const envApiKey = processEnvValue(_chunkIQTHRG6Ejs.API_KEY_ENV);
|
|
283
|
+
const envHostUrl = processEnvValue(_chunkIQTHRG6Ejs.HOST_URL_ENV);
|
|
284
284
|
const authSource = envApiKey ? {
|
|
285
285
|
scope: "env",
|
|
286
286
|
source: "process",
|
|
@@ -321,17 +321,17 @@ async function handleOrgStatus(options) {
|
|
|
321
321
|
if (authSource.path) {
|
|
322
322
|
lines.push(`Auth file: ${authSource.path}`);
|
|
323
323
|
} else {
|
|
324
|
-
lines.push(`Auth source: ${
|
|
324
|
+
lines.push(`Auth source: ${_chunkIQTHRG6Ejs.API_KEY_ENV} process environment`);
|
|
325
325
|
}
|
|
326
326
|
if (envApiKey) {
|
|
327
|
-
lines.push(`${
|
|
327
|
+
lines.push(`${_chunkIQTHRG6Ejs.API_KEY_ENV} overrides saved auth for this process.`);
|
|
328
328
|
} else if (activeProject) {
|
|
329
329
|
lines.push("Global auth is overridden in this folder.");
|
|
330
330
|
} else if (provenance.scope === "global" && provenance.project.state === "project") {
|
|
331
331
|
lines.push("Cloud mutations are blocked until this project is pinned.");
|
|
332
332
|
lines.push("Pin it: deepline org set --auth-scope folder");
|
|
333
333
|
}
|
|
334
|
-
|
|
334
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
335
335
|
{
|
|
336
336
|
ok: true,
|
|
337
337
|
host: config.baseUrl,
|
|
@@ -365,25 +365,25 @@ async function handleOrgStatus(options) {
|
|
|
365
365
|
}
|
|
366
366
|
async function handleOrgSwitch(selection, options) {
|
|
367
367
|
const authScope = normalizeAuthScope(options.authScope);
|
|
368
|
-
const config =
|
|
369
|
-
const provenance =
|
|
368
|
+
const config = _chunkIQTHRG6Ejs.resolveConfig.call(void 0, );
|
|
369
|
+
const provenance = _chunkIQTHRG6Ejs.resolveCliAuthProvenance.call(void 0, config);
|
|
370
370
|
if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
|
|
371
|
-
const commandContext =
|
|
371
|
+
const commandContext = _chunkIQTHRG6Ejs.resolveCliCommandContext.call(void 0, config);
|
|
372
372
|
const activeOrganization = commandContext.active_organization;
|
|
373
|
-
const pinnedFeatures =
|
|
374
|
-
const project_env_paths2 =
|
|
373
|
+
const pinnedFeatures = _chunkIQTHRG6Ejs.storedHostFeatures.call(void 0, config.baseUrl);
|
|
374
|
+
const project_env_paths2 = _chunkIQTHRG6Ejs.saveProjectDeeplineEnvValues.call(void 0,
|
|
375
375
|
{
|
|
376
|
-
[
|
|
377
|
-
[
|
|
376
|
+
[_chunkIQTHRG6Ejs.HOST_URL_ENV]: config.baseUrl,
|
|
377
|
+
[_chunkIQTHRG6Ejs.API_KEY_ENV]: config.apiKey,
|
|
378
378
|
...activeOrganization ? {
|
|
379
|
-
[
|
|
380
|
-
[
|
|
379
|
+
[_chunkIQTHRG6Ejs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
|
|
380
|
+
[_chunkIQTHRG6Ejs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
|
|
381
381
|
} : {},
|
|
382
|
-
...pinnedFeatures !== void 0 ? { [
|
|
382
|
+
...pinnedFeatures !== void 0 ? { [_chunkIQTHRG6Ejs.FEATURES_ENV]: pinnedFeatures } : {}
|
|
383
383
|
},
|
|
384
384
|
provenance.project.dir
|
|
385
385
|
);
|
|
386
|
-
|
|
386
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
387
387
|
{
|
|
388
388
|
ok: true,
|
|
389
389
|
unchanged: true,
|
|
@@ -395,7 +395,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
395
395
|
orgId: activeOrganization.org_id,
|
|
396
396
|
orgName: activeOrganization.org_name,
|
|
397
397
|
authScope: "folder"
|
|
398
|
-
}) :
|
|
398
|
+
}) : _chunkIQTHRG6Ejs.resolveCliCommandContext.call(void 0, config, "folder")
|
|
399
399
|
),
|
|
400
400
|
project_env_paths: project_env_paths2,
|
|
401
401
|
next: { status: "deepline org status" },
|
|
@@ -416,10 +416,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
416
416
|
);
|
|
417
417
|
return;
|
|
418
418
|
}
|
|
419
|
-
const http = new (0,
|
|
419
|
+
const http = new (0, _chunkIQTHRG6Ejs.HttpClient)(config);
|
|
420
420
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
421
421
|
if (!selection && !options.orgId) {
|
|
422
|
-
|
|
422
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
423
423
|
{
|
|
424
424
|
...payload,
|
|
425
425
|
next: { set: "deepline org set <number>" },
|
|
@@ -470,9 +470,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
470
470
|
features
|
|
471
471
|
});
|
|
472
472
|
if (authTarget.kind === "folder") {
|
|
473
|
-
project_env_paths2 =
|
|
473
|
+
project_env_paths2 = _chunkIQTHRG6Ejs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
|
|
474
474
|
} else {
|
|
475
|
-
|
|
475
|
+
_chunkIQTHRG6Ejs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
|
|
476
476
|
}
|
|
477
477
|
const renderLines2 = [`Already on ${target.name}.`];
|
|
478
478
|
for (const projectPath of project_env_paths2) {
|
|
@@ -480,7 +480,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
480
480
|
}
|
|
481
481
|
if (authTarget.kind === "global") {
|
|
482
482
|
renderLines2.push(
|
|
483
|
-
`Saved global auth in ${
|
|
483
|
+
`Saved global auth in ${_chunkIQTHRG6Ejs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
484
484
|
);
|
|
485
485
|
}
|
|
486
486
|
renderLines2.push(
|
|
@@ -496,7 +496,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
496
496
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
497
497
|
...authTarget.warnings
|
|
498
498
|
];
|
|
499
|
-
|
|
499
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
500
500
|
{
|
|
501
501
|
ok: true,
|
|
502
502
|
unchanged: true,
|
|
@@ -512,7 +512,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
512
512
|
authScope: authTarget.effective_scope
|
|
513
513
|
})
|
|
514
514
|
),
|
|
515
|
-
host_env_path: authTarget.kind === "global" ?
|
|
515
|
+
host_env_path: authTarget.kind === "global" ? _chunkIQTHRG6Ejs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
516
516
|
project_env_paths: project_env_paths2,
|
|
517
517
|
deprecated_command: options.deprecatedSwitch ? "org switch" : null,
|
|
518
518
|
replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
|
|
@@ -538,9 +538,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
538
538
|
features: switched.features
|
|
539
539
|
});
|
|
540
540
|
if (authTarget.kind === "folder") {
|
|
541
|
-
project_env_paths =
|
|
541
|
+
project_env_paths = _chunkIQTHRG6Ejs.saveProjectDeeplineEnvValues.call(void 0, authValues);
|
|
542
542
|
} else {
|
|
543
|
-
|
|
543
|
+
_chunkIQTHRG6Ejs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
544
544
|
}
|
|
545
545
|
const { api_key: _apiKey, ...publicSwitched } = switched;
|
|
546
546
|
const renderLines = [`Switched to ${switched.org_name}.`];
|
|
@@ -549,7 +549,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
549
549
|
renderLines.push(`Saved folder auth in ${projectPath}`);
|
|
550
550
|
}
|
|
551
551
|
} else {
|
|
552
|
-
renderLines.push(`Saved global auth in ${
|
|
552
|
+
renderLines.push(`Saved global auth in ${_chunkIQTHRG6Ejs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
|
|
553
553
|
}
|
|
554
554
|
renderLines.push(
|
|
555
555
|
`Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
|
|
@@ -564,10 +564,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
564
564
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
565
565
|
...authTarget.warnings
|
|
566
566
|
];
|
|
567
|
-
|
|
567
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
568
568
|
{
|
|
569
569
|
ok: true,
|
|
570
|
-
host_env_path: authTarget.kind === "global" ?
|
|
570
|
+
host_env_path: authTarget.kind === "global" ? _chunkIQTHRG6Ejs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
571
571
|
project_env_paths,
|
|
572
572
|
...publicSwitched,
|
|
573
573
|
api_key_saved: true,
|
|
@@ -598,12 +598,12 @@ async function handleOrgSwitch(selection, options) {
|
|
|
598
598
|
);
|
|
599
599
|
}
|
|
600
600
|
async function handleOrgCreate(name, options) {
|
|
601
|
-
const config =
|
|
601
|
+
const config = _chunkIQTHRG6Ejs.resolveConfig.call(void 0, );
|
|
602
602
|
const normalizedName = name.trim();
|
|
603
603
|
if (!normalizedName) {
|
|
604
604
|
throw new Error("Workspace name is required.");
|
|
605
605
|
}
|
|
606
|
-
const http = new (0,
|
|
606
|
+
const http = new (0, _chunkIQTHRG6Ejs.HttpClient)(config);
|
|
607
607
|
const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
|
|
608
608
|
let created;
|
|
609
609
|
let workspaceApiKey;
|
|
@@ -629,7 +629,7 @@ async function handleOrgCreate(name, options) {
|
|
|
629
629
|
sourceOrgId: identity.orgId,
|
|
630
630
|
name: normalizedName
|
|
631
631
|
});
|
|
632
|
-
const workspace = await new (0,
|
|
632
|
+
const workspace = await new (0, _chunkDAG4ZBTJjs.DeeplineClient)({
|
|
633
633
|
apiKey: config.apiKey,
|
|
634
634
|
baseUrl: config.baseUrl
|
|
635
635
|
}).workspaces.create({
|
|
@@ -652,16 +652,16 @@ async function handleOrgCreate(name, options) {
|
|
|
652
652
|
orgName: created.org_name,
|
|
653
653
|
features: workspaceFeatures
|
|
654
654
|
});
|
|
655
|
-
|
|
655
|
+
_chunkIQTHRG6Ejs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
656
656
|
if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
|
|
657
|
-
|
|
657
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
658
658
|
{
|
|
659
659
|
ok: true,
|
|
660
660
|
...created,
|
|
661
661
|
initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
|
|
662
662
|
api_key_saved: true,
|
|
663
663
|
switched: true,
|
|
664
|
-
host_env_path:
|
|
664
|
+
host_env_path: _chunkIQTHRG6Ejs.hostEnvFilePath.call(void 0, config.baseUrl),
|
|
665
665
|
...agentCommandContext(
|
|
666
666
|
organizationCommandContext({
|
|
667
667
|
orgId: created.org_id,
|
|
@@ -676,7 +676,7 @@ async function handleOrgCreate(name, options) {
|
|
|
676
676
|
lines: [
|
|
677
677
|
`Created organization: ${created.org_name}.`,
|
|
678
678
|
`Switched to ${created.org_name}.`,
|
|
679
|
-
`Saved host auth in ${
|
|
679
|
+
`Saved host auth in ${_chunkIQTHRG6Ejs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
680
680
|
]
|
|
681
681
|
}
|
|
682
682
|
]
|
|
@@ -728,7 +728,7 @@ Examples:
|
|
|
728
728
|
);
|
|
729
729
|
const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
|
|
730
730
|
const ssoPath = "/api/v2/auth/workspace/sso";
|
|
731
|
-
const printSso = (payload, json) =>
|
|
731
|
+
const printSso = (payload, json) => _chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
732
732
|
{
|
|
733
733
|
...payload,
|
|
734
734
|
render: {
|
|
@@ -752,7 +752,7 @@ Examples:
|
|
|
752
752
|
},
|
|
753
753
|
{ json }
|
|
754
754
|
);
|
|
755
|
-
const ssoHttp = () => new (0,
|
|
755
|
+
const ssoHttp = () => new (0, _chunkIQTHRG6Ejs.HttpClient)(_chunkIQTHRG6Ejs.resolveConfig.call(void 0, ));
|
|
756
756
|
sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
|
|
757
757
|
printSso(await ssoHttp().get(ssoPath), options.json);
|
|
758
758
|
});
|
|
@@ -783,8 +783,8 @@ Examples:
|
|
|
783
783
|
"Identity provider metadata XML file"
|
|
784
784
|
).option("--json", "Emit JSON output").action(
|
|
785
785
|
async (options) => {
|
|
786
|
-
const config =
|
|
787
|
-
const http = new (0,
|
|
786
|
+
const config = _chunkIQTHRG6Ejs.resolveConfig.call(void 0, );
|
|
787
|
+
const http = new (0, _chunkIQTHRG6Ejs.HttpClient)(config);
|
|
788
788
|
const identity = await fetchWorkspaceCreationIdentity(
|
|
789
789
|
http,
|
|
790
790
|
config.apiKey
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZHXPNJQI.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
5
|
import "./chunk-CBVIJSHF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
printCommandEnvelope
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M5QDOHLG.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ACTIVE_ORG_ID_ENV,
|
|
11
11
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
saveProjectDeeplineEnvValues,
|
|
27
27
|
sdkCliStateDirPath,
|
|
28
28
|
storedHostFeatures
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4GP56LRE.mjs";
|
|
30
30
|
import "./chunk-DLIRSHV6.mjs";
|
|
31
31
|
import "./chunk-NXGCO4JB.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-IG3GOO4T.mjs";
|
|
33
33
|
import "./chunk-WZYKRD7T.mjs";
|
|
34
34
|
import "./chunk-KRD6H754.mjs";
|
|
35
35
|
|
|
@@ -64,26 +64,26 @@ import {
|
|
|
64
64
|
waitForPlayCompletionByWatch,
|
|
65
65
|
withTerminalPlayIdentity,
|
|
66
66
|
writePlayRunIdFile
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-STYH5U6W.mjs";
|
|
68
|
+
import "./chunk-B2LFDTXZ.mjs";
|
|
69
69
|
import "./chunk-OVDNJAJN.mjs";
|
|
70
70
|
import "./chunk-DSWSEHRX.mjs";
|
|
71
71
|
import "./chunk-H7HIDGZ7.mjs";
|
|
72
72
|
import "./chunk-EDWJY6T4.mjs";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-HSIVHAZA.mjs";
|
|
74
|
+
import "./chunk-SJVJZOPT.mjs";
|
|
75
75
|
import "./chunk-ERFN2QY4.mjs";
|
|
76
76
|
import "./chunk-7E66A24V.mjs";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-ZHXPNJQI.mjs";
|
|
78
78
|
import "./chunk-6IKARAYD.mjs";
|
|
79
79
|
import "./chunk-CBVIJSHF.mjs";
|
|
80
80
|
import "./chunk-UFS752TU.mjs";
|
|
81
81
|
import "./chunk-GAMFK2ZP.mjs";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-M5QDOHLG.mjs";
|
|
83
|
+
import "./chunk-4GP56LRE.mjs";
|
|
84
84
|
import "./chunk-DLIRSHV6.mjs";
|
|
85
85
|
import "./chunk-NXGCO4JB.mjs";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-IG3GOO4T.mjs";
|
|
87
87
|
import "./chunk-WZYKRD7T.mjs";
|
|
88
88
|
import "./chunk-KRD6H754.mjs";
|
|
89
89
|
export {
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
var _chunkHEF6UDGAjs = require('./chunk-HEF6UDGA.js');
|
|
68
|
+
require('./chunk-DHTG5CCI.js');
|
|
69
|
+
require('./chunk-AID3OYVJ.js');
|
|
70
|
+
require('./chunk-QGKPTBRR.js');
|
|
71
|
+
require('./chunk-3KC45UVF.js');
|
|
72
|
+
require('./chunk-5JLQPVNX.js');
|
|
73
|
+
require('./chunk-KK4XPUVA.js');
|
|
74
|
+
require('./chunk-F5CU5ALX.js');
|
|
75
|
+
require('./chunk-GEJDBXXM.js');
|
|
76
|
+
require('./chunk-5O4B6AUN.js');
|
|
77
|
+
require('./chunk-DAG4ZBTJ.js');
|
|
78
|
+
require('./chunk-S6R3OX7B.js');
|
|
79
|
+
require('./chunk-LA46MMTL.js');
|
|
80
|
+
require('./chunk-AYHLUHE5.js');
|
|
81
|
+
require('./chunk-WJYPBHTE.js');
|
|
82
|
+
require('./chunk-GN5QM2BB.js');
|
|
83
|
+
require('./chunk-IQTHRG6E.js');
|
|
84
|
+
require('./chunk-XNYIZMNQ.js');
|
|
85
|
+
require('./chunk-7P5AA3SN.js');
|
|
86
|
+
require('./chunk-ADSZGPYZ.js');
|
|
87
|
+
require('./chunk-OG64RBAC.js');
|
|
88
|
+
require('./chunk-COGTRVWW.js');
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
exports.PREBUILT_PLAY_TAG_KEYS = _chunkHEF6UDGAjs.PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = _chunkHEF6UDGAjs.assertDatasetHasExportableRows; exports.buildPlayCompletionTextLines = _chunkHEF6UDGAjs.buildPlayCompletionTextLines; exports.buildRunActivityTextLines = _chunkHEF6UDGAjs.buildRunActivityTextLines; exports.buildRunLaunch = _chunkHEF6UDGAjs.buildRunLaunch; exports.buildRunLogsText = _chunkHEF6UDGAjs.buildRunLogsText; exports.buildRunPackageTextLines = _chunkHEF6UDGAjs.buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = _chunkHEF6UDGAjs.buildStopAllDryRunTextLines; exports.clampJsonPreviewText = _chunkHEF6UDGAjs.clampJsonPreviewText; exports.compactPlayStatus = _chunkHEF6UDGAjs.compactPlayStatus; exports.csvColumnLines = _chunkHEF6UDGAjs.csvColumnLines; exports.describeSleepUntil = _chunkHEF6UDGAjs.describeSleepUntil; exports.describedPlay = _chunkHEF6UDGAjs.describedPlay; exports.exportPlayStatusRows = _chunkHEF6UDGAjs.exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = _chunkHEF6UDGAjs.formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = _chunkHEF6UDGAjs.formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = _chunkHEF6UDGAjs.getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = _chunkHEF6UDGAjs.getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = _chunkHEF6UDGAjs.getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = _chunkHEF6UDGAjs.getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = _chunkHEF6UDGAjs.handlePlayCheck; exports.handlePlayDelete = _chunkHEF6UDGAjs.handlePlayDelete; exports.handlePlayDescribe = _chunkHEF6UDGAjs.handlePlayDescribe; exports.handlePlayGet = _chunkHEF6UDGAjs.handlePlayGet; exports.handlePlayGrep = _chunkHEF6UDGAjs.handlePlayGrep; exports.handlePlayList = _chunkHEF6UDGAjs.handlePlayList; exports.handlePlayPin = _chunkHEF6UDGAjs.handlePlayPin; exports.handlePlayPublish = _chunkHEF6UDGAjs.handlePlayPublish; exports.handlePlayRestore = _chunkHEF6UDGAjs.handlePlayRestore; exports.handlePlayRun = _chunkHEF6UDGAjs.handlePlayRun; exports.handlePlaySave = _chunkHEF6UDGAjs.handlePlaySave; exports.handlePlaySharePublish = _chunkHEF6UDGAjs.handlePlaySharePublish; exports.handlePlayShareRegenerate = _chunkHEF6UDGAjs.handlePlayShareRegenerate; exports.handlePlayShareStatus = _chunkHEF6UDGAjs.handlePlayShareStatus; exports.handlePlayShareUnpublish = _chunkHEF6UDGAjs.handlePlayShareUnpublish; exports.handlePlayShareUpdate = _chunkHEF6UDGAjs.handlePlayShareUpdate; exports.handlePlayVersions = _chunkHEF6UDGAjs.handlePlayVersions; exports.handleRunEventSearch = _chunkHEF6UDGAjs.handleRunEventSearch; exports.handleRunExport = _chunkHEF6UDGAjs.handleRunExport; exports.handleRunGet = _chunkHEF6UDGAjs.handleRunGet; exports.handleRunLifecycleStatus = _chunkHEF6UDGAjs.handleRunLifecycleStatus; exports.handleRunLogs = _chunkHEF6UDGAjs.handleRunLogs; exports.handleRunStop = _chunkHEF6UDGAjs.handleRunStop; exports.handleRunStopAll = _chunkHEF6UDGAjs.handleRunStopAll; exports.handleRunTail = _chunkHEF6UDGAjs.handleRunTail; exports.handleRunsList = _chunkHEF6UDGAjs.handleRunsList; exports.handleRunsRerun = _chunkHEF6UDGAjs.handleRunsRerun; exports.liveMaxCreditsPerRun = _chunkHEF6UDGAjs.liveMaxCreditsPerRun; exports.loadPlayBundler = _chunkHEF6UDGAjs.loadPlayBundler; exports.parsePlayPublishOptions = _chunkHEF6UDGAjs.parsePlayPublishOptions; exports.parsePlayRunHeaderFlag = _chunkHEF6UDGAjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkHEF6UDGAjs.parsePlayRunOptions; exports.preflightLocalFileInputs = _chunkHEF6UDGAjs.preflightLocalFileInputs; exports.registerPlayCommands = _chunkHEF6UDGAjs.registerPlayCommands; exports.renderRunOverviewText = _chunkHEF6UDGAjs.renderRunOverviewText; exports.resolveDatasetByName = _chunkHEF6UDGAjs.resolveDatasetByName; exports.resolvePlayRunOutputStatus = _chunkHEF6UDGAjs.resolvePlayRunOutputStatus; exports.resolveRunStopState = _chunkHEF6UDGAjs.resolveRunStopState; exports.selectRunLogTailPage = _chunkHEF6UDGAjs.selectRunLogTailPage; exports.shouldPrintPlayProgressLine = _chunkHEF6UDGAjs.shouldPrintPlayProgressLine; exports.startAndWaitForPlayCompletionByStream = _chunkHEF6UDGAjs.startAndWaitForPlayCompletionByStream; exports.truncateErrorForDisplay = _chunkHEF6UDGAjs.truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = _chunkHEF6UDGAjs.waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = _chunkHEF6UDGAjs.withTerminalPlayIdentity; exports.writePlayRunIdFile = _chunkHEF6UDGAjs.writePlayRunIdFile;
|
|
@@ -1,24 +1,24 @@
|
|
|
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 _chunkDAG4ZBTJjs = require('./chunk-DAG4ZBTJ.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-LA46MMTL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkGN5QM2BBjs = require('./chunk-GN5QM2BB.js');
|
|
10
|
+
require('./chunk-IQTHRG6E.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
12
|
require('./chunk-7P5AA3SN.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-ADSZGPYZ.js');
|
|
14
14
|
require('./chunk-OG64RBAC.js');
|
|
15
15
|
require('./chunk-COGTRVWW.js');
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/providers.ts
|
|
18
18
|
async function listProviders(options = {}) {
|
|
19
|
-
const client = new (0,
|
|
19
|
+
const client = new (0, _chunkDAG4ZBTJjs.DeeplineClient)();
|
|
20
20
|
const changed = options.changed === true;
|
|
21
|
-
const emitJson = options.json === true ||
|
|
21
|
+
const emitJson = options.json === true || _chunkGN5QM2BBjs.shouldEmitJson.call(void 0, );
|
|
22
22
|
const providers = await client.listProviders({ changed });
|
|
23
23
|
const render = {
|
|
24
24
|
sections: [
|
|
@@ -37,7 +37,7 @@ async function listProviders(options = {}) {
|
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
41
41
|
{
|
|
42
42
|
providers,
|
|
43
43
|
count: providers.length,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZHXPNJQI.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
5
|
import "./chunk-CBVIJSHF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
printCommandEnvelope,
|
|
8
8
|
shouldEmitJson
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-M5QDOHLG.mjs";
|
|
10
|
+
import "./chunk-4GP56LRE.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-IG3GOO4T.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-M5QDOHLG.mjs";
|
|
5
|
+
import "./chunk-4GP56LRE.mjs";
|
|
6
6
|
import "./chunk-DLIRSHV6.mjs";
|
|
7
7
|
import "./chunk-NXGCO4JB.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-IG3GOO4T.mjs";
|
|
9
9
|
import "./chunk-WZYKRD7T.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DEEPLINE_GTM_SKILL,
|