deepline 0.3.393 → 0.3.394
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/play-runtime/context.ts +477 -10
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +5 -1
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-policy.ts +28 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +251 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +12 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +25 -16
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +69 -22
- package/dist/bundling-sources/shared_libs/plays/core.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +18 -0
- package/dist/cli/auth-IHKISLJQ.js +39 -0
- package/dist/cli/{auth-5PXHA232.mjs → auth-OSXDAVCF.mjs} +4 -4
- package/dist/cli/{billing-JFB2XLSO.js → billing-EKLYOXUY.js} +75 -75
- package/dist/cli/{billing-Z2N7ZAGM.mjs → billing-ZNNKX3UR.mjs} +4 -4
- package/dist/cli/{chunk-OXNOAD6Y.js → chunk-2MDDA7A4.js} +26 -26
- package/dist/cli/{chunk-PTDECJGP.js → chunk-354JCXA2.js} +50 -50
- package/dist/cli/{chunk-RKMB3N7K.mjs → chunk-3HU47EGZ.mjs} +48 -9
- package/dist/cli/{chunk-6I73X254.mjs → chunk-3HWALOL2.mjs} +1 -1
- package/dist/cli/{chunk-VIQJIX2P.js → chunk-4P27AXEA.js} +65 -65
- package/dist/cli/{chunk-UOGZUA24.mjs → chunk-5BB2RGAX.mjs} +18 -8
- package/dist/cli/{chunk-RWHWF5ZJ.js → chunk-6YAUMG27.js} +1 -1
- package/dist/cli/{chunk-HLEESTCH.mjs → chunk-BP33SIZF.mjs} +1 -1
- package/dist/cli/{chunk-CDFH2DYL.js → chunk-CS6RAIVY.js} +4 -4
- package/dist/cli/{chunk-2HAD745V.js → chunk-E23BQ5SC.js} +9 -9
- package/dist/cli/{chunk-LMMEAMA7.mjs → chunk-FJGW5GXU.mjs} +1 -1
- package/dist/cli/{chunk-Q26LUSQ2.mjs → chunk-JHIJIHFB.mjs} +1 -1
- package/dist/cli/{chunk-PWSWAN7Q.js → chunk-KB4SDX5S.js} +48 -9
- package/dist/cli/{chunk-M7Y7JYZX.js → chunk-KGNTKMRG.js} +6 -6
- package/dist/cli/{chunk-4XX6443T.js → chunk-KI635JN4.js} +59 -59
- package/dist/cli/{chunk-Z3OOZM5L.js → chunk-KIUMEOM5.js} +8 -8
- package/dist/cli/{chunk-KIYU2TGL.mjs → chunk-M57J2SK4.mjs} +2 -2
- package/dist/cli/{chunk-FQ6VHPW4.mjs → chunk-MFB2VKBO.mjs} +2 -2
- package/dist/cli/{chunk-MS6GUPBB.js → chunk-MH73HMPV.js} +3 -3
- package/dist/cli/{chunk-AARX5L4B.js → chunk-MLPU5SMZ.js} +2 -2
- package/dist/cli/{chunk-5PRVMXKB.mjs → chunk-NR3DFKNF.mjs} +1 -1
- package/dist/cli/{chunk-W4WOMXR3.js → chunk-QIQBYKLB.js} +15 -15
- package/dist/cli/{chunk-VIWE6WRK.js → chunk-RBJYWRCF.js} +260 -250
- package/dist/cli/{chunk-LZPCDB7U.mjs → chunk-TJI2EN6K.mjs} +1 -1
- package/dist/cli/{chunk-4TCT77UF.js → chunk-URWF7NGQ.js} +6 -1
- package/dist/cli/{chunk-5KWKZIQR.mjs → chunk-UXFSWG3Q.mjs} +4 -4
- package/dist/cli/{chunk-L2SYLGRP.js → chunk-VK6FYZLP.js} +8 -8
- package/dist/cli/{chunk-7HR7BGZL.mjs → chunk-X63FDZJZ.mjs} +3 -3
- package/dist/cli/{chunk-4PT2VA3A.mjs → chunk-XRQ2AQL7.mjs} +2 -2
- package/dist/cli/{chunk-STNYIMIV.mjs → chunk-XXUDVEXK.mjs} +6 -6
- package/dist/cli/{chunk-PQSA443V.mjs → chunk-ZI2ZNDJK.mjs} +6 -1
- package/dist/cli/{chunk-2LGC4EFT.mjs → chunk-ZYBGA4AR.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-KJWZHKCH.mjs → csv-5AXRB35H.mjs} +3 -3
- package/dist/cli/{csv-P3Z3YE7H.js → csv-LU7O75WE.js} +12 -12
- package/dist/cli/{db-NCM4CQIS.mjs → db-7XP5UWEW.mjs} +4 -4
- package/dist/cli/{db-NUZGJNQC.js → db-F7YTFKVM.js} +29 -29
- package/dist/cli/{describe-YGSEN5WC.js → describe-FRH32RDV.js} +20 -20
- package/dist/cli/{describe-WT6MM2GO.mjs → describe-K4ES5LIL.mjs} +10 -10
- package/dist/cli/{executions-XS2IPJ4W.mjs → executions-IEHEHJUO.mjs} +4 -4
- package/dist/cli/{executions-PCOLHN7Q.js → executions-RZV5XPT2.js} +6 -6
- package/dist/cli/{feedback-4MSH7TFU.js → feedback-3P65QTX3.js} +7 -7
- package/dist/cli/{feedback-CCLTS5SV.mjs → feedback-FPUVZBAN.mjs} +3 -3
- package/dist/cli/{git-K2DHPMPC.mjs → git-GLVVP7TY.mjs} +4 -4
- package/dist/cli/git-MFFAWVVX.js +23 -0
- package/dist/cli/index.js +95 -95
- package/dist/cli/index.mjs +33 -33
- package/dist/cli/{legacy-noops-B5S4AR3P.mjs → legacy-noops-3MOI6NBM.mjs} +4 -4
- package/dist/cli/{legacy-noops-GPNOPFXV.js → legacy-noops-XKSGZR7Q.js} +7 -7
- package/dist/cli/{monitors-JLMAIPRG.mjs → monitors-FTBGNEFG.mjs} +4 -4
- package/dist/cli/{monitors-ZAWD7NSN.js → monitors-NZ2DYNST.js} +85 -85
- package/dist/cli/{org-P2KN4CES.js → org-MCKDQXIV.js} +64 -64
- package/dist/cli/{org-T3JTHP4G.mjs → org-V2J5RBCN.mjs} +4 -4
- package/dist/cli/{play-NK6BLRGL.mjs → play-AJFGME3B.mjs} +9 -9
- package/dist/cli/play-WLSN2EO2.js +158 -0
- package/dist/cli/{providers-5QRZN3DT.js → providers-2JEZ2264.js} +7 -7
- package/dist/cli/{providers-3NQRA7IT.mjs → providers-I6RQJZFZ.mjs} +4 -4
- package/dist/cli/{quickstart-PIA2JGPV.mjs → quickstart-BIDQDMO4.mjs} +3 -3
- package/dist/cli/{quickstart-R7NUZGNW.js → quickstart-GJ2RPDU3.js} +5 -5
- package/dist/cli/search-5VN4YD4I.js +27 -0
- package/dist/cli/{search-AIDIIGLY.mjs → search-ELRXFWG5.mjs} +5 -5
- package/dist/cli/{secrets-BT3PGMWN.js → secrets-53IT6VXD.js} +13 -13
- package/dist/cli/{secrets-OQNHL45O.mjs → secrets-SQXGZXIC.mjs} +4 -4
- package/dist/cli/{sessions-SF7WJPJP.mjs → sessions-2X5QF7SL.mjs} +4 -4
- package/dist/cli/{sessions-EYXWOSWK.js → sessions-CAV5M77Y.js} +5 -5
- package/dist/cli/{settings-BA3GHBOD.js → settings-532WNAZO.js} +74 -74
- package/dist/cli/{settings-Y57JTFDD.mjs → settings-7P67VGCJ.mjs} +7 -7
- package/dist/cli/{setup-RERXYC66.js → setup-6L2VSUWJ.js} +41 -41
- package/dist/cli/{setup-7GR5GBHA.mjs → setup-QGGBV2LE.mjs} +6 -6
- package/dist/cli/{skills-SJWIQAV5.mjs → skills-3FE62WBG.mjs} +4 -4
- package/dist/cli/skills-S6NPZAN7.js +28 -0
- package/dist/cli/tools-647RLXQS.js +41 -0
- package/dist/cli/{tools-ZF3JXPNL.mjs → tools-DMR25DEF.mjs} +7 -7
- package/dist/cli/{update-FFFYQAOJ.mjs → update-6RZMHJZP.mjs} +6 -6
- package/dist/cli/update-WVTSC3EM.js +28 -0
- package/dist/cli/{workflow-XVFEEGAS.mjs → workflow-L2DQRE6R.mjs} +5 -5
- package/dist/cli/{workflow-SZJVQH4T.js → workflow-TX4F2PIX.js} +15 -15
- package/dist/{client-DU5dtHDy.d.mts → client-BktIPdIj.d.mts} +1 -1
- package/dist/{client-mCE88hC4.d.ts → client-C3O1Ipf3.d.ts} +1 -1
- package/dist/{compiler-manifest-DE4RdAiY.d.ts → compiler-manifest-DLxUY5kI.d.mts} +65 -11
- package/dist/{compiler-manifest-DE4RdAiY.d.mts → compiler-manifest-DLxUY5kI.d.ts} +65 -11
- package/dist/{index-Bi-f7HFT.d.ts → index-B_GM9E3q.d.ts} +1 -1
- package/dist/{index-BI6nWgaV.d.mts → index-SCb0NvDb.d.mts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +85 -84
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- 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-P3MVDTXM.js +0 -39
- package/dist/cli/git-RNM45FX4.js +0 -23
- package/dist/cli/play-PDXR6JFB.js +0 -158
- package/dist/cli/search-QRWL7MFM.js +0 -27
- package/dist/cli/skills-V7EY75HB.js +0 -28
- package/dist/cli/tools-H5HLBCHH.js +0 -41
- package/dist/cli/update-472HA3LT.js +0 -28
|
@@ -1,12 +1,12 @@
|
|
|
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 _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-UHNDVD3P.js');
|
|
6
6
|
require('./chunk-XDVT3GOM.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -27,10 +27,10 @@ var _chunkM7Y7JYZXjs = require('./chunk-M7Y7JYZX.js');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkCS6RAIVYjs = require('./chunk-CS6RAIVY.js');
|
|
31
31
|
require('./chunk-XNYIZMNQ.js');
|
|
32
32
|
require('./chunk-7P5AA3SN.js');
|
|
33
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-6YAUMG27.js');
|
|
34
34
|
require('./chunk-OG64RBAC.js');
|
|
35
35
|
require('./chunk-COGTRVWW.js');
|
|
36
36
|
|
|
@@ -46,7 +46,7 @@ var _fs = require('fs');
|
|
|
46
46
|
var _path = require('path');
|
|
47
47
|
function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
|
|
48
48
|
const intent = _crypto.createHash.call(void 0, "sha256").update(accountId).update("\0").update(sourceOrgId).update("\0").update(name).digest("hex");
|
|
49
|
-
return _path.join.call(void 0,
|
|
49
|
+
return _path.join.call(void 0, _chunkCS6RAIVYjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
|
|
50
50
|
}
|
|
51
51
|
function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
|
|
52
52
|
let value;
|
|
@@ -65,7 +65,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
|
|
|
65
65
|
return value;
|
|
66
66
|
}
|
|
67
67
|
function loadOrCreatePendingOrgCreate(input) {
|
|
68
|
-
const stateDir =
|
|
68
|
+
const stateDir = _chunkCS6RAIVYjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
|
|
69
69
|
const path = pendingOrgCreatePath(
|
|
70
70
|
input.baseUrl,
|
|
71
71
|
input.accountId,
|
|
@@ -150,11 +150,11 @@ function processEnvValue(name) {
|
|
|
150
150
|
}
|
|
151
151
|
function organizationAuthValues(input) {
|
|
152
152
|
return {
|
|
153
|
-
[
|
|
154
|
-
[
|
|
155
|
-
[
|
|
156
|
-
[
|
|
157
|
-
...
|
|
153
|
+
[_chunkCS6RAIVYjs.HOST_URL_ENV]: input.baseUrl,
|
|
154
|
+
[_chunkCS6RAIVYjs.API_KEY_ENV]: input.apiKey,
|
|
155
|
+
[_chunkCS6RAIVYjs.ACTIVE_ORG_ID_ENV]: input.orgId,
|
|
156
|
+
[_chunkCS6RAIVYjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
|
|
157
|
+
..._chunkCS6RAIVYjs.featureEnvValues.call(void 0, input)
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
160
|
function organizationCommandContext(input) {
|
|
@@ -168,14 +168,14 @@ function organizationCommandContext(input) {
|
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
function agentCommandContext(commandContext) {
|
|
171
|
-
return
|
|
171
|
+
return _chunkCS6RAIVYjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
|
|
172
172
|
}
|
|
173
173
|
function resolveOrgSwitchAuthTarget(scope, config) {
|
|
174
|
-
const activeProject =
|
|
174
|
+
const activeProject = _chunkCS6RAIVYjs.getResolvedProjectAuthSource.call(void 0,
|
|
175
175
|
config.baseUrl,
|
|
176
176
|
config.apiKey
|
|
177
177
|
);
|
|
178
|
-
const folderTarget =
|
|
178
|
+
const folderTarget = _chunkCS6RAIVYjs.resolveProjectPinTarget.call(void 0, );
|
|
179
179
|
const globalOverrideWarning = activeProject && scope === "global" ? [
|
|
180
180
|
`Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
|
|
181
181
|
] : [];
|
|
@@ -247,10 +247,10 @@ function resolveOrgSwitchAuthTarget(scope, config) {
|
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
async function handleOrgList(options) {
|
|
250
|
-
const config =
|
|
251
|
-
const http = new (0,
|
|
250
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
251
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
252
252
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
253
|
-
|
|
253
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
254
254
|
{
|
|
255
255
|
...payload,
|
|
256
256
|
render: {
|
|
@@ -266,22 +266,22 @@ async function handleOrgList(options) {
|
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
268
|
async function handleOrgStatus(options) {
|
|
269
|
-
const config =
|
|
270
|
-
const http = new (0,
|
|
269
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
270
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
271
271
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
272
272
|
const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
|
|
273
273
|
(org) => org.org_id === payload.current_org_id
|
|
274
274
|
))), () => ( null));
|
|
275
|
-
const projectCandidate =
|
|
276
|
-
const activeProject =
|
|
275
|
+
const projectCandidate = _chunkCS6RAIVYjs.getActiveProjectAuthSource.call(void 0, );
|
|
276
|
+
const activeProject = _chunkCS6RAIVYjs.getResolvedProjectAuthSource.call(void 0,
|
|
277
277
|
config.baseUrl,
|
|
278
278
|
config.apiKey
|
|
279
279
|
);
|
|
280
|
-
const folderTarget =
|
|
281
|
-
const provenance =
|
|
282
|
-
const hostPath =
|
|
283
|
-
const envApiKey = processEnvValue(
|
|
284
|
-
const envHostUrl = processEnvValue(
|
|
280
|
+
const folderTarget = _chunkCS6RAIVYjs.resolveProjectPinTarget.call(void 0, );
|
|
281
|
+
const provenance = _chunkCS6RAIVYjs.resolveCliAuthProvenance.call(void 0, config);
|
|
282
|
+
const hostPath = _chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl);
|
|
283
|
+
const envApiKey = processEnvValue(_chunkCS6RAIVYjs.API_KEY_ENV);
|
|
284
|
+
const envHostUrl = processEnvValue(_chunkCS6RAIVYjs.HOST_URL_ENV);
|
|
285
285
|
const authSource = envApiKey ? {
|
|
286
286
|
scope: "env",
|
|
287
287
|
source: "process",
|
|
@@ -322,17 +322,17 @@ async function handleOrgStatus(options) {
|
|
|
322
322
|
if (authSource.path) {
|
|
323
323
|
lines.push(`Auth file: ${authSource.path}`);
|
|
324
324
|
} else {
|
|
325
|
-
lines.push(`Auth source: ${
|
|
325
|
+
lines.push(`Auth source: ${_chunkCS6RAIVYjs.API_KEY_ENV} process environment`);
|
|
326
326
|
}
|
|
327
327
|
if (envApiKey) {
|
|
328
|
-
lines.push(`${
|
|
328
|
+
lines.push(`${_chunkCS6RAIVYjs.API_KEY_ENV} overrides saved auth for this process.`);
|
|
329
329
|
} else if (activeProject) {
|
|
330
330
|
lines.push("Global auth is overridden in this folder.");
|
|
331
331
|
} else if (provenance.scope === "global" && provenance.project.state === "project") {
|
|
332
332
|
lines.push("Cloud mutations are blocked until this project is pinned.");
|
|
333
333
|
lines.push("Pin it: deepline org set --auth-scope folder");
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
336
336
|
{
|
|
337
337
|
ok: true,
|
|
338
338
|
host: config.baseUrl,
|
|
@@ -366,25 +366,25 @@ async function handleOrgStatus(options) {
|
|
|
366
366
|
}
|
|
367
367
|
async function handleOrgSwitch(selection, options) {
|
|
368
368
|
const authScope = normalizeAuthScope(options.authScope);
|
|
369
|
-
const config =
|
|
370
|
-
const provenance =
|
|
369
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
370
|
+
const provenance = _chunkCS6RAIVYjs.resolveCliAuthProvenance.call(void 0, config);
|
|
371
371
|
if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
|
|
372
|
-
const commandContext =
|
|
372
|
+
const commandContext = _chunkCS6RAIVYjs.resolveCliCommandContext.call(void 0, config);
|
|
373
373
|
const activeOrganization = commandContext.active_organization;
|
|
374
|
-
const pinnedFeatures =
|
|
375
|
-
const project_env_paths2 =
|
|
374
|
+
const pinnedFeatures = _chunkCS6RAIVYjs.storedHostFeatures.call(void 0, config.baseUrl);
|
|
375
|
+
const project_env_paths2 = _chunkCS6RAIVYjs.saveProjectDeeplineEnvValues.call(void 0,
|
|
376
376
|
{
|
|
377
|
-
[
|
|
378
|
-
[
|
|
377
|
+
[_chunkCS6RAIVYjs.HOST_URL_ENV]: config.baseUrl,
|
|
378
|
+
[_chunkCS6RAIVYjs.API_KEY_ENV]: config.apiKey,
|
|
379
379
|
...activeOrganization ? {
|
|
380
|
-
[
|
|
381
|
-
[
|
|
380
|
+
[_chunkCS6RAIVYjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
|
|
381
|
+
[_chunkCS6RAIVYjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
|
|
382
382
|
} : {},
|
|
383
|
-
...pinnedFeatures !== void 0 ? { [
|
|
383
|
+
...pinnedFeatures !== void 0 ? { [_chunkCS6RAIVYjs.FEATURES_ENV]: pinnedFeatures } : {}
|
|
384
384
|
},
|
|
385
385
|
provenance.project.dir
|
|
386
386
|
);
|
|
387
|
-
|
|
387
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
388
388
|
{
|
|
389
389
|
ok: true,
|
|
390
390
|
unchanged: true,
|
|
@@ -396,7 +396,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
396
396
|
orgId: activeOrganization.org_id,
|
|
397
397
|
orgName: activeOrganization.org_name,
|
|
398
398
|
authScope: "folder"
|
|
399
|
-
}) :
|
|
399
|
+
}) : _chunkCS6RAIVYjs.resolveCliCommandContext.call(void 0, config, "folder")
|
|
400
400
|
),
|
|
401
401
|
project_env_paths: project_env_paths2,
|
|
402
402
|
next: { status: "deepline org status" },
|
|
@@ -417,10 +417,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
417
417
|
);
|
|
418
418
|
return;
|
|
419
419
|
}
|
|
420
|
-
const http = new (0,
|
|
420
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
421
421
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
422
422
|
if (!selection && !options.orgId) {
|
|
423
|
-
|
|
423
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
424
424
|
{
|
|
425
425
|
...payload,
|
|
426
426
|
next: { set: "deepline org set <number>" },
|
|
@@ -471,9 +471,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
471
471
|
features
|
|
472
472
|
});
|
|
473
473
|
if (authTarget.kind === "folder") {
|
|
474
|
-
project_env_paths2 =
|
|
474
|
+
project_env_paths2 = _chunkCS6RAIVYjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
|
|
475
475
|
} else {
|
|
476
|
-
|
|
476
|
+
_chunkCS6RAIVYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
|
|
477
477
|
}
|
|
478
478
|
const renderLines2 = [`Already on ${target.name}.`];
|
|
479
479
|
for (const projectPath of project_env_paths2) {
|
|
@@ -481,7 +481,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
481
481
|
}
|
|
482
482
|
if (authTarget.kind === "global") {
|
|
483
483
|
renderLines2.push(
|
|
484
|
-
`Saved global auth in ${
|
|
484
|
+
`Saved global auth in ${_chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
485
485
|
);
|
|
486
486
|
}
|
|
487
487
|
renderLines2.push(
|
|
@@ -497,7 +497,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
497
497
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
498
498
|
...authTarget.warnings
|
|
499
499
|
];
|
|
500
|
-
|
|
500
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
501
501
|
{
|
|
502
502
|
ok: true,
|
|
503
503
|
unchanged: true,
|
|
@@ -513,7 +513,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
513
513
|
authScope: authTarget.effective_scope
|
|
514
514
|
})
|
|
515
515
|
),
|
|
516
|
-
host_env_path: authTarget.kind === "global" ?
|
|
516
|
+
host_env_path: authTarget.kind === "global" ? _chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
517
517
|
project_env_paths: project_env_paths2,
|
|
518
518
|
deprecated_command: options.deprecatedSwitch ? "org switch" : null,
|
|
519
519
|
replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
|
|
@@ -539,9 +539,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
539
539
|
features: switched.features
|
|
540
540
|
});
|
|
541
541
|
if (authTarget.kind === "folder") {
|
|
542
|
-
project_env_paths =
|
|
542
|
+
project_env_paths = _chunkCS6RAIVYjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
|
|
543
543
|
} else {
|
|
544
|
-
|
|
544
|
+
_chunkCS6RAIVYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
545
545
|
}
|
|
546
546
|
const { api_key: _apiKey, ...publicSwitched } = switched;
|
|
547
547
|
const renderLines = [`Switched to ${switched.org_name}.`];
|
|
@@ -550,7 +550,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
550
550
|
renderLines.push(`Saved folder auth in ${projectPath}`);
|
|
551
551
|
}
|
|
552
552
|
} else {
|
|
553
|
-
renderLines.push(`Saved global auth in ${
|
|
553
|
+
renderLines.push(`Saved global auth in ${_chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
|
|
554
554
|
}
|
|
555
555
|
renderLines.push(
|
|
556
556
|
`Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
|
|
@@ -565,10 +565,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
565
565
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
566
566
|
...authTarget.warnings
|
|
567
567
|
];
|
|
568
|
-
|
|
568
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
569
569
|
{
|
|
570
570
|
ok: true,
|
|
571
|
-
host_env_path: authTarget.kind === "global" ?
|
|
571
|
+
host_env_path: authTarget.kind === "global" ? _chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
572
572
|
project_env_paths,
|
|
573
573
|
...publicSwitched,
|
|
574
574
|
api_key_saved: true,
|
|
@@ -599,12 +599,12 @@ async function handleOrgSwitch(selection, options) {
|
|
|
599
599
|
);
|
|
600
600
|
}
|
|
601
601
|
async function handleOrgCreate(name, options) {
|
|
602
|
-
const config =
|
|
602
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
603
603
|
const normalizedName = name.trim();
|
|
604
604
|
if (!normalizedName) {
|
|
605
605
|
throw new Error("Workspace name is required.");
|
|
606
606
|
}
|
|
607
|
-
const http = new (0,
|
|
607
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
608
608
|
const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
|
|
609
609
|
let created;
|
|
610
610
|
let workspaceApiKey;
|
|
@@ -630,7 +630,7 @@ async function handleOrgCreate(name, options) {
|
|
|
630
630
|
sourceOrgId: identity.orgId,
|
|
631
631
|
name: normalizedName
|
|
632
632
|
});
|
|
633
|
-
const workspace = await new (0,
|
|
633
|
+
const workspace = await new (0, _chunkE23BQ5SCjs.DeeplineClient)({
|
|
634
634
|
apiKey: config.apiKey,
|
|
635
635
|
baseUrl: config.baseUrl
|
|
636
636
|
}).workspaces.create({
|
|
@@ -653,16 +653,16 @@ async function handleOrgCreate(name, options) {
|
|
|
653
653
|
orgName: created.org_name,
|
|
654
654
|
features: workspaceFeatures
|
|
655
655
|
});
|
|
656
|
-
|
|
656
|
+
_chunkCS6RAIVYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
657
657
|
if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
|
|
658
|
-
|
|
658
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
659
659
|
{
|
|
660
660
|
ok: true,
|
|
661
661
|
...created,
|
|
662
662
|
initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
|
|
663
663
|
api_key_saved: true,
|
|
664
664
|
switched: true,
|
|
665
|
-
host_env_path:
|
|
665
|
+
host_env_path: _chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl),
|
|
666
666
|
...agentCommandContext(
|
|
667
667
|
organizationCommandContext({
|
|
668
668
|
orgId: created.org_id,
|
|
@@ -677,7 +677,7 @@ async function handleOrgCreate(name, options) {
|
|
|
677
677
|
lines: [
|
|
678
678
|
`Created organization: ${created.org_name}.`,
|
|
679
679
|
`Switched to ${created.org_name}.`,
|
|
680
|
-
`Saved host auth in ${
|
|
680
|
+
`Saved host auth in ${_chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
681
681
|
]
|
|
682
682
|
}
|
|
683
683
|
]
|
|
@@ -729,7 +729,7 @@ Examples:
|
|
|
729
729
|
);
|
|
730
730
|
const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
|
|
731
731
|
const ssoPath = "/api/v2/auth/workspace/sso";
|
|
732
|
-
const printSso = (payload, json) =>
|
|
732
|
+
const printSso = (payload, json) => _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
733
733
|
{
|
|
734
734
|
...payload,
|
|
735
735
|
render: {
|
|
@@ -753,7 +753,7 @@ Examples:
|
|
|
753
753
|
},
|
|
754
754
|
{ json }
|
|
755
755
|
);
|
|
756
|
-
const ssoHttp = () => new (0,
|
|
756
|
+
const ssoHttp = () => new (0, _chunkCS6RAIVYjs.HttpClient)(_chunkCS6RAIVYjs.resolveConfig.call(void 0, ));
|
|
757
757
|
sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
|
|
758
758
|
printSso(await ssoHttp().get(ssoPath), options.json);
|
|
759
759
|
});
|
|
@@ -784,8 +784,8 @@ Examples:
|
|
|
784
784
|
"Identity provider metadata XML file"
|
|
785
785
|
).option("--json", "Emit JSON output").action(
|
|
786
786
|
async (options) => {
|
|
787
|
-
const config =
|
|
788
|
-
const http = new (0,
|
|
787
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
788
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
789
789
|
const identity = await fetchWorkspaceCreationIdentity(
|
|
790
790
|
http,
|
|
791
791
|
config.apiKey
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHIJIHFB.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
5
|
import "./chunk-JI2B4RZP.mjs";
|
|
6
6
|
import "./chunk-UBKA33KY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ACTIVE_ORG_ID_ENV,
|
|
12
12
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
saveProjectDeeplineEnvValues,
|
|
28
28
|
sdkCliStateDirPath,
|
|
29
29
|
storedHostFeatures
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FJGW5GXU.mjs";
|
|
31
31
|
import "./chunk-DLIRSHV6.mjs";
|
|
32
32
|
import "./chunk-NXGCO4JB.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
34
34
|
import "./chunk-WZYKRD7T.mjs";
|
|
35
35
|
import "./chunk-KRD6H754.mjs";
|
|
36
36
|
|
|
@@ -65,27 +65,27 @@ import {
|
|
|
65
65
|
waitForPlayCompletionByWatch,
|
|
66
66
|
withTerminalPlayIdentity,
|
|
67
67
|
writePlayRunIdFile
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-5BB2RGAX.mjs";
|
|
69
69
|
import "./chunk-VB6KECLU.mjs";
|
|
70
70
|
import "./chunk-OVDNJAJN.mjs";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-3HWALOL2.mjs";
|
|
72
72
|
import "./chunk-H7HIDGZ7.mjs";
|
|
73
73
|
import "./chunk-HQXL5526.mjs";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-ZYBGA4AR.mjs";
|
|
75
|
+
import "./chunk-XRQ2AQL7.mjs";
|
|
76
76
|
import "./chunk-ERFN2QY4.mjs";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-3HU47EGZ.mjs";
|
|
78
|
+
import "./chunk-JHIJIHFB.mjs";
|
|
79
79
|
import "./chunk-6IKARAYD.mjs";
|
|
80
80
|
import "./chunk-JI2B4RZP.mjs";
|
|
81
81
|
import "./chunk-UBKA33KY.mjs";
|
|
82
82
|
import "./chunk-UFS752TU.mjs";
|
|
83
83
|
import "./chunk-GAMFK2ZP.mjs";
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-NR3DFKNF.mjs";
|
|
85
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
86
86
|
import "./chunk-DLIRSHV6.mjs";
|
|
87
87
|
import "./chunk-NXGCO4JB.mjs";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
89
89
|
import "./chunk-WZYKRD7T.mjs";
|
|
90
90
|
import "./chunk-KRD6H754.mjs";
|
|
91
91
|
export {
|
|
@@ -0,0 +1,158 @@
|
|
|
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
|
+
|
|
68
|
+
var _chunkRBJYWRCFjs = require('./chunk-RBJYWRCF.js');
|
|
69
|
+
require('./chunk-ZMVJSS6N.js');
|
|
70
|
+
require('./chunk-AID3OYVJ.js');
|
|
71
|
+
require('./chunk-MH73HMPV.js');
|
|
72
|
+
require('./chunk-3KC45UVF.js');
|
|
73
|
+
require('./chunk-GSK6NHVM.js');
|
|
74
|
+
require('./chunk-VK6FYZLP.js');
|
|
75
|
+
require('./chunk-2MDDA7A4.js');
|
|
76
|
+
require('./chunk-GEJDBXXM.js');
|
|
77
|
+
require('./chunk-KB4SDX5S.js');
|
|
78
|
+
require('./chunk-E23BQ5SC.js');
|
|
79
|
+
require('./chunk-S6R3OX7B.js');
|
|
80
|
+
require('./chunk-UHNDVD3P.js');
|
|
81
|
+
require('./chunk-XDVT3GOM.js');
|
|
82
|
+
require('./chunk-AYHLUHE5.js');
|
|
83
|
+
require('./chunk-WJYPBHTE.js');
|
|
84
|
+
require('./chunk-KGNTKMRG.js');
|
|
85
|
+
require('./chunk-CS6RAIVY.js');
|
|
86
|
+
require('./chunk-XNYIZMNQ.js');
|
|
87
|
+
require('./chunk-7P5AA3SN.js');
|
|
88
|
+
require('./chunk-6YAUMG27.js');
|
|
89
|
+
require('./chunk-OG64RBAC.js');
|
|
90
|
+
require('./chunk-COGTRVWW.js');
|
|
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
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
exports.PREBUILT_PLAY_TAG_KEYS = _chunkRBJYWRCFjs.PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = _chunkRBJYWRCFjs.assertDatasetHasExportableRows; exports.buildPlayCompletionTextLines = _chunkRBJYWRCFjs.buildPlayCompletionTextLines; exports.buildPlayDashboardUrl = _chunkRBJYWRCFjs.buildPlayDashboardUrl; exports.buildRunActivityTextLines = _chunkRBJYWRCFjs.buildRunActivityTextLines; exports.buildRunLaunch = _chunkRBJYWRCFjs.buildRunLaunch; exports.buildRunLogsText = _chunkRBJYWRCFjs.buildRunLogsText; exports.buildRunPackageTextLines = _chunkRBJYWRCFjs.buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = _chunkRBJYWRCFjs.buildStopAllDryRunTextLines; exports.clampJsonPreviewText = _chunkRBJYWRCFjs.clampJsonPreviewText; exports.compactPlayStatus = _chunkRBJYWRCFjs.compactPlayStatus; exports.csvColumnLines = _chunkRBJYWRCFjs.csvColumnLines; exports.describeSleepUntil = _chunkRBJYWRCFjs.describeSleepUntil; exports.describedPlay = _chunkRBJYWRCFjs.describedPlay; exports.exportPlayStatusRows = _chunkRBJYWRCFjs.exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = _chunkRBJYWRCFjs.formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = _chunkRBJYWRCFjs.formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = _chunkRBJYWRCFjs.getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = _chunkRBJYWRCFjs.getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = _chunkRBJYWRCFjs.getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = _chunkRBJYWRCFjs.getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = _chunkRBJYWRCFjs.handlePlayCheck; exports.handlePlayDelete = _chunkRBJYWRCFjs.handlePlayDelete; exports.handlePlayDescribe = _chunkRBJYWRCFjs.handlePlayDescribe; exports.handlePlayGet = _chunkRBJYWRCFjs.handlePlayGet; exports.handlePlayGrep = _chunkRBJYWRCFjs.handlePlayGrep; exports.handlePlayList = _chunkRBJYWRCFjs.handlePlayList; exports.handlePlayPin = _chunkRBJYWRCFjs.handlePlayPin; exports.handlePlayPublish = _chunkRBJYWRCFjs.handlePlayPublish; exports.handlePlayRestore = _chunkRBJYWRCFjs.handlePlayRestore; exports.handlePlayRun = _chunkRBJYWRCFjs.handlePlayRun; exports.handlePlaySave = _chunkRBJYWRCFjs.handlePlaySave; exports.handlePlaySharePublish = _chunkRBJYWRCFjs.handlePlaySharePublish; exports.handlePlayShareRegenerate = _chunkRBJYWRCFjs.handlePlayShareRegenerate; exports.handlePlayShareStatus = _chunkRBJYWRCFjs.handlePlayShareStatus; exports.handlePlayShareUnpublish = _chunkRBJYWRCFjs.handlePlayShareUnpublish; exports.handlePlayShareUpdate = _chunkRBJYWRCFjs.handlePlayShareUpdate; exports.handlePlayVersions = _chunkRBJYWRCFjs.handlePlayVersions; exports.handleRunEventSearch = _chunkRBJYWRCFjs.handleRunEventSearch; exports.handleRunExport = _chunkRBJYWRCFjs.handleRunExport; exports.handleRunGet = _chunkRBJYWRCFjs.handleRunGet; exports.handleRunLifecycleStatus = _chunkRBJYWRCFjs.handleRunLifecycleStatus; exports.handleRunLogs = _chunkRBJYWRCFjs.handleRunLogs; exports.handleRunStop = _chunkRBJYWRCFjs.handleRunStop; exports.handleRunStopAll = _chunkRBJYWRCFjs.handleRunStopAll; exports.handleRunTail = _chunkRBJYWRCFjs.handleRunTail; exports.handleRunsList = _chunkRBJYWRCFjs.handleRunsList; exports.handleRunsRerun = _chunkRBJYWRCFjs.handleRunsRerun; exports.liveMaxCreditsPerRun = _chunkRBJYWRCFjs.liveMaxCreditsPerRun; exports.loadPlayBundler = _chunkRBJYWRCFjs.loadPlayBundler; exports.parsePlayPublishOptions = _chunkRBJYWRCFjs.parsePlayPublishOptions; exports.parsePlayRunHeaderFlag = _chunkRBJYWRCFjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkRBJYWRCFjs.parsePlayRunOptions; exports.preflightLocalFileInputs = _chunkRBJYWRCFjs.preflightLocalFileInputs; exports.registerPlayCommands = _chunkRBJYWRCFjs.registerPlayCommands; exports.renderRunOverviewText = _chunkRBJYWRCFjs.renderRunOverviewText; exports.resolveDatasetByName = _chunkRBJYWRCFjs.resolveDatasetByName; exports.resolvePlayRunOutputStatus = _chunkRBJYWRCFjs.resolvePlayRunOutputStatus; exports.resolveRunStopState = _chunkRBJYWRCFjs.resolveRunStopState; exports.selectRunLogTailPage = _chunkRBJYWRCFjs.selectRunLogTailPage; exports.shouldPrintPlayProgressLine = _chunkRBJYWRCFjs.shouldPrintPlayProgressLine; exports.startAndWaitForPlayCompletionByStream = _chunkRBJYWRCFjs.startAndWaitForPlayCompletionByStream; exports.truncateErrorForDisplay = _chunkRBJYWRCFjs.truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = _chunkRBJYWRCFjs.waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = _chunkRBJYWRCFjs.withTerminalPlayIdentity; exports.writePlayRunIdFile = _chunkRBJYWRCFjs.writePlayRunIdFile;
|
|
@@ -1,25 +1,25 @@
|
|
|
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 _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-UHNDVD3P.js');
|
|
6
6
|
require('./chunk-XDVT3GOM.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
10
|
+
var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
|
|
11
|
+
require('./chunk-CS6RAIVY.js');
|
|
12
12
|
require('./chunk-XNYIZMNQ.js');
|
|
13
13
|
require('./chunk-7P5AA3SN.js');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-6YAUMG27.js');
|
|
15
15
|
require('./chunk-OG64RBAC.js');
|
|
16
16
|
require('./chunk-COGTRVWW.js');
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/providers.ts
|
|
19
19
|
async function listProviders(options = {}) {
|
|
20
|
-
const client = new (0,
|
|
20
|
+
const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
|
|
21
21
|
const changed = options.changed === true;
|
|
22
|
-
const emitJson = options.json === true ||
|
|
22
|
+
const emitJson = options.json === true || _chunkKGNTKMRGjs.shouldEmitJson.call(void 0, );
|
|
23
23
|
const providers = await client.listProviders({ changed });
|
|
24
24
|
const render = {
|
|
25
25
|
sections: [
|
|
@@ -38,7 +38,7 @@ async function listProviders(options = {}) {
|
|
|
38
38
|
}
|
|
39
39
|
]
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
42
42
|
{
|
|
43
43
|
providers,
|
|
44
44
|
count: providers.length,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHIJIHFB.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
5
|
import "./chunk-JI2B4RZP.mjs";
|
|
6
6
|
import "./chunk-UBKA33KY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope,
|
|
9
9
|
shouldEmitJson
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
11
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
15
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
16
16
|
import "./chunk-KRD6H754.mjs";
|
|
17
17
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
5
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
6
6
|
import "./chunk-DLIRSHV6.mjs";
|
|
7
7
|
import "./chunk-NXGCO4JB.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
9
9
|
import "./chunk-WZYKRD7T.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DEEPLINE_GTM_SKILL,
|