deepline 0.3.392 → 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/client.ts +156 -24
- package/dist/bundling-sources/sdk/src/compat.ts +9 -0
- package/dist/bundling-sources/sdk/src/http.ts +5 -1
- package/dist/bundling-sources/sdk/src/index.ts +5 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +182 -6
- package/dist/bundling-sources/sdk/src/release.ts +4 -1
- package/dist/bundling-sources/sdk/src/types.ts +13 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/request-warnings.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +315 -0
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +41 -8
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +895 -54
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +41 -4
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-policy.ts +28 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-invocation-fence.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +251 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +11 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +30 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +168 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +252 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +92 -58
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +30 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1161 -316
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +28 -15
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +24 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +32 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +103 -23
- package/dist/bundling-sources/shared_libs/plays/core.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/dataset.ts +172 -79
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +173 -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-6JSA2ZCW.mjs → auth-OSXDAVCF.mjs} +4 -4
- package/dist/cli/{billing-Q5BLQHIU.js → billing-EKLYOXUY.js} +101 -74
- package/dist/cli/{billing-MRRO643H.mjs → billing-ZNNKX3UR.mjs} +32 -5
- package/dist/cli/{chunk-4SFPVW7A.js → chunk-2MDDA7A4.js} +26 -26
- package/dist/cli/{chunk-JOFPQGXW.js → chunk-354JCXA2.js} +50 -50
- package/dist/cli/{chunk-7E66A24V.mjs → chunk-3HU47EGZ.mjs} +71 -9
- package/dist/cli/{chunk-DSWSEHRX.mjs → chunk-3HWALOL2.mjs} +1 -1
- package/dist/cli/{chunk-T7OKJ2T6.js → chunk-4P27AXEA.js} +73 -63
- package/dist/cli/{chunk-24VEN5PQ.mjs → chunk-5BB2RGAX.mjs} +190 -18
- package/dist/cli/{chunk-JSLPHFP7.js → chunk-6YAUMG27.js} +3 -2
- package/dist/cli/{chunk-MU6M3URX.mjs → chunk-BP33SIZF.mjs} +1 -1
- package/dist/cli/{chunk-WMS5U6YB.js → chunk-CS6RAIVY.js} +20 -19
- package/dist/cli/{chunk-CVLM3WMJ.js → chunk-E23BQ5SC.js} +242 -183
- package/dist/cli/{chunk-2GAHHSLB.mjs → chunk-FJGW5GXU.mjs} +3 -2
- package/dist/cli/{chunk-YN6YA7ZZ.mjs → chunk-JHIJIHFB.mjs} +79 -20
- package/dist/cli/{chunk-Q6EOHNRH.mjs → chunk-JI2B4RZP.mjs} +119 -6
- package/dist/cli/{chunk-5O4B6AUN.js → chunk-KB4SDX5S.js} +71 -9
- package/dist/cli/{chunk-RV6ALZIX.js → chunk-KGNTKMRG.js} +32 -7
- package/dist/cli/{chunk-6DBOU7UH.js → chunk-KI635JN4.js} +176 -87
- package/dist/cli/{chunk-2FQG2HU4.js → chunk-KIUMEOM5.js} +8 -8
- package/dist/cli/{chunk-Y6VOGHF2.mjs → chunk-KZZC33PY.mjs} +0 -181
- package/dist/cli/{chunk-2Q3GEFL4.mjs → chunk-M57J2SK4.mjs} +2 -2
- package/dist/cli/{chunk-R3O2CZ4H.mjs → chunk-MFB2VKBO.mjs} +2 -2
- package/dist/cli/{chunk-QGKPTBRR.js → chunk-MH73HMPV.js} +3 -3
- package/dist/cli/{chunk-BB3FNYFY.js → chunk-MLPU5SMZ.js} +2 -2
- package/dist/cli/{chunk-2G7DXFHI.mjs → chunk-NR3DFKNF.mjs} +27 -2
- package/dist/cli/{chunk-EY7RFC6A.js → chunk-QIQBYKLB.js} +15 -15
- package/dist/cli/{chunk-RIV2GS5E.js → chunk-RBJYWRCF.js} +638 -466
- package/dist/cli/{chunk-3VN4FTE3.js → chunk-RDXFGPJU.js} +1 -182
- package/dist/cli/{chunk-YAZCDBXX.mjs → chunk-TJI2EN6K.mjs} +3 -2
- package/dist/cli/chunk-UBKA33KY.mjs +310 -0
- package/dist/cli/{chunk-PAIMOGCM.js → chunk-UHNDVD3P.js} +125 -12
- package/dist/cli/{chunk-4TCT77UF.js → chunk-URWF7NGQ.js} +6 -1
- package/dist/cli/{chunk-2QLML6G4.mjs → chunk-UXFSWG3Q.mjs} +4 -4
- package/dist/cli/{chunk-UCKJQG25.js → chunk-VK6FYZLP.js} +8 -8
- package/dist/cli/{chunk-ZTACINO5.mjs → chunk-X63FDZJZ.mjs} +13 -3
- package/dist/cli/chunk-XDVT3GOM.js +310 -0
- package/dist/cli/{chunk-A3APGZFP.mjs → chunk-XRQ2AQL7.mjs} +2 -2
- package/dist/cli/{chunk-3FV4GBRK.mjs → chunk-XXUDVEXK.mjs} +97 -8
- package/dist/cli/{chunk-PQSA443V.mjs → chunk-ZI2ZNDJK.mjs} +6 -1
- package/dist/cli/{chunk-HGYBEAQP.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-E4QGUIGI.mjs → csv-5AXRB35H.mjs} +3 -3
- package/dist/cli/{csv-26U5T24Z.js → csv-LU7O75WE.js} +12 -12
- package/dist/cli/{db-JTRJIAQW.mjs → db-7XP5UWEW.mjs} +6 -5
- package/dist/cli/{db-QHBFLMVL.js → db-F7YTFKVM.js} +31 -30
- package/dist/cli/{describe-FDV2V74F.js → describe-FRH32RDV.js} +24 -23
- package/dist/cli/{describe-E3DE3ZK3.mjs → describe-K4ES5LIL.mjs} +17 -16
- package/dist/cli/{executions-B3GTNPRE.mjs → executions-IEHEHJUO.mjs} +6 -5
- package/dist/cli/{executions-VZYOGVQY.js → executions-RZV5XPT2.js} +8 -7
- package/dist/cli/{feedback-CR55FJA2.js → feedback-3P65QTX3.js} +7 -7
- package/dist/cli/{feedback-4CEBR3OV.mjs → feedback-FPUVZBAN.mjs} +3 -3
- package/dist/cli/{git-NM2PHHZ4.mjs → git-GLVVP7TY.mjs} +4 -4
- package/dist/cli/git-MFFAWVVX.js +23 -0
- package/dist/cli/index.js +100 -96
- package/dist/cli/index.mjs +47 -43
- package/dist/cli/{legacy-noops-A7MSW5ND.mjs → legacy-noops-3MOI6NBM.mjs} +4 -4
- package/dist/cli/{legacy-noops-ZUA4YFIH.js → legacy-noops-XKSGZR7Q.js} +7 -7
- package/dist/cli/{monitors-NVPRQYP3.mjs → monitors-FTBGNEFG.mjs} +6 -5
- package/dist/cli/{monitors-ZE3TLZ4H.js → monitors-NZ2DYNST.js} +87 -86
- package/dist/cli/{org-U7A6DV5D.js → org-MCKDQXIV.js} +66 -65
- package/dist/cli/{org-KUBILNQV.mjs → org-V2J5RBCN.mjs} +6 -5
- package/dist/cli/{play-HRDXQ4QE.mjs → play-AJFGME3B.mjs} +11 -10
- package/dist/cli/play-WLSN2EO2.js +158 -0
- package/dist/cli/{providers-VD6YTVQZ.js → providers-2JEZ2264.js} +9 -8
- package/dist/cli/{providers-OHIWI453.mjs → providers-I6RQJZFZ.mjs} +6 -5
- package/dist/cli/{quickstart-UBV2FONF.mjs → quickstart-BIDQDMO4.mjs} +3 -3
- package/dist/cli/{quickstart-ETTCWPA4.js → quickstart-GJ2RPDU3.js} +5 -5
- package/dist/cli/run-identity-G257GQED.js +25 -0
- package/dist/cli/run-identity-MRNCEGV2.mjs +25 -0
- package/dist/cli/search-5VN4YD4I.js +27 -0
- package/dist/cli/{search-F44IZRT7.mjs → search-ELRXFWG5.mjs} +7 -6
- package/dist/cli/{secrets-CAEMRORF.js → secrets-53IT6VXD.js} +15 -14
- package/dist/cli/{secrets-R6XOJZKU.mjs → secrets-SQXGZXIC.mjs} +6 -5
- package/dist/cli/{sessions-RLN6UQS3.mjs → sessions-2X5QF7SL.mjs} +4 -4
- package/dist/cli/{sessions-6GC7OFTT.js → sessions-CAV5M77Y.js} +5 -5
- package/dist/cli/{settings-DPNVUAV2.js → settings-532WNAZO.js} +76 -75
- package/dist/cli/{settings-KIPAMRPP.mjs → settings-7P67VGCJ.mjs} +9 -8
- package/dist/cli/{setup-DTL3L5SG.js → setup-6L2VSUWJ.js} +41 -41
- package/dist/cli/{setup-TU2F7PU5.mjs → setup-QGGBV2LE.mjs} +6 -6
- package/dist/cli/{skills-UV5MYJ46.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-QRRNDCQ7.mjs → tools-DMR25DEF.mjs} +10 -9
- package/dist/cli/{update-4426TF35.mjs → update-6RZMHJZP.mjs} +6 -6
- package/dist/cli/update-WVTSC3EM.js +28 -0
- package/dist/cli/{workflow-N4U5VLZ3.mjs → workflow-L2DQRE6R.mjs} +7 -6
- package/dist/cli/{workflow-HNLOVISB.js → workflow-TX4F2PIX.js} +17 -16
- package/dist/{client-e6Qh5ZIg.d.mts → client-BktIPdIj.d.mts} +153 -4
- package/dist/{client-Uxuy-xQ2.d.ts → client-C3O1Ipf3.d.ts} +153 -4
- package/dist/{compiler-manifest-CY2v8ab0.d.ts → compiler-manifest-DLxUY5kI.d.mts} +124 -10
- package/dist/{compiler-manifest-CY2v8ab0.d.mts → compiler-manifest-DLxUY5kI.d.ts} +124 -10
- package/dist/{index-BZ6uzZJl.d.ts → index-B_GM9E3q.d.ts} +1 -1
- package/dist/{index-B9fBZH1g.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 +120 -29
- package/dist/index.mjs +111 -20
- package/dist/install-integrity.json +94 -88
- 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/plays/run-request.js +5 -2
- package/dist/plays/run-request.mjs +4 -1
- package/dist/release.d.mts +4 -1
- package/dist/release.d.ts +4 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-67TAELQL.js +0 -39
- package/dist/cli/git-I5JTK6YU.js +0 -23
- package/dist/cli/play-A2V7YDU7.js +0 -157
- package/dist/cli/search-WWXMBVPH.js +0 -26
- package/dist/cli/skills-SWOSEZLB.js +0 -28
- package/dist/cli/tools-IL2YCDQ6.js +0 -40
- package/dist/cli/update-BERDPEYR.js +0 -28
|
@@ -1,11 +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
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-UHNDVD3P.js');
|
|
6
|
+
require('./chunk-XDVT3GOM.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
var
|
|
9
|
+
var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
@@ -26,10 +27,10 @@ var _chunkRV6ALZIXjs = require('./chunk-RV6ALZIX.js');
|
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
var
|
|
30
|
+
var _chunkCS6RAIVYjs = require('./chunk-CS6RAIVY.js');
|
|
30
31
|
require('./chunk-XNYIZMNQ.js');
|
|
31
32
|
require('./chunk-7P5AA3SN.js');
|
|
32
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-6YAUMG27.js');
|
|
33
34
|
require('./chunk-OG64RBAC.js');
|
|
34
35
|
require('./chunk-COGTRVWW.js');
|
|
35
36
|
|
|
@@ -45,7 +46,7 @@ var _fs = require('fs');
|
|
|
45
46
|
var _path = require('path');
|
|
46
47
|
function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
|
|
47
48
|
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,
|
|
49
|
+
return _path.join.call(void 0, _chunkCS6RAIVYjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
|
|
49
50
|
}
|
|
50
51
|
function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
|
|
51
52
|
let value;
|
|
@@ -64,7 +65,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
|
|
|
64
65
|
return value;
|
|
65
66
|
}
|
|
66
67
|
function loadOrCreatePendingOrgCreate(input) {
|
|
67
|
-
const stateDir =
|
|
68
|
+
const stateDir = _chunkCS6RAIVYjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
|
|
68
69
|
const path = pendingOrgCreatePath(
|
|
69
70
|
input.baseUrl,
|
|
70
71
|
input.accountId,
|
|
@@ -149,11 +150,11 @@ function processEnvValue(name) {
|
|
|
149
150
|
}
|
|
150
151
|
function organizationAuthValues(input) {
|
|
151
152
|
return {
|
|
152
|
-
[
|
|
153
|
-
[
|
|
154
|
-
[
|
|
155
|
-
[
|
|
156
|
-
...
|
|
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)
|
|
157
158
|
};
|
|
158
159
|
}
|
|
159
160
|
function organizationCommandContext(input) {
|
|
@@ -167,14 +168,14 @@ function organizationCommandContext(input) {
|
|
|
167
168
|
};
|
|
168
169
|
}
|
|
169
170
|
function agentCommandContext(commandContext) {
|
|
170
|
-
return
|
|
171
|
+
return _chunkCS6RAIVYjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
|
|
171
172
|
}
|
|
172
173
|
function resolveOrgSwitchAuthTarget(scope, config) {
|
|
173
|
-
const activeProject =
|
|
174
|
+
const activeProject = _chunkCS6RAIVYjs.getResolvedProjectAuthSource.call(void 0,
|
|
174
175
|
config.baseUrl,
|
|
175
176
|
config.apiKey
|
|
176
177
|
);
|
|
177
|
-
const folderTarget =
|
|
178
|
+
const folderTarget = _chunkCS6RAIVYjs.resolveProjectPinTarget.call(void 0, );
|
|
178
179
|
const globalOverrideWarning = activeProject && scope === "global" ? [
|
|
179
180
|
`Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
|
|
180
181
|
] : [];
|
|
@@ -246,10 +247,10 @@ function resolveOrgSwitchAuthTarget(scope, config) {
|
|
|
246
247
|
};
|
|
247
248
|
}
|
|
248
249
|
async function handleOrgList(options) {
|
|
249
|
-
const config =
|
|
250
|
-
const http = new (0,
|
|
250
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
251
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
251
252
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
252
|
-
|
|
253
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
253
254
|
{
|
|
254
255
|
...payload,
|
|
255
256
|
render: {
|
|
@@ -265,22 +266,22 @@ async function handleOrgList(options) {
|
|
|
265
266
|
);
|
|
266
267
|
}
|
|
267
268
|
async function handleOrgStatus(options) {
|
|
268
|
-
const config =
|
|
269
|
-
const http = new (0,
|
|
269
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
270
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
270
271
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
271
272
|
const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
|
|
272
273
|
(org) => org.org_id === payload.current_org_id
|
|
273
274
|
))), () => ( null));
|
|
274
|
-
const projectCandidate =
|
|
275
|
-
const activeProject =
|
|
275
|
+
const projectCandidate = _chunkCS6RAIVYjs.getActiveProjectAuthSource.call(void 0, );
|
|
276
|
+
const activeProject = _chunkCS6RAIVYjs.getResolvedProjectAuthSource.call(void 0,
|
|
276
277
|
config.baseUrl,
|
|
277
278
|
config.apiKey
|
|
278
279
|
);
|
|
279
|
-
const folderTarget =
|
|
280
|
-
const provenance =
|
|
281
|
-
const hostPath =
|
|
282
|
-
const envApiKey = processEnvValue(
|
|
283
|
-
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);
|
|
284
285
|
const authSource = envApiKey ? {
|
|
285
286
|
scope: "env",
|
|
286
287
|
source: "process",
|
|
@@ -321,17 +322,17 @@ async function handleOrgStatus(options) {
|
|
|
321
322
|
if (authSource.path) {
|
|
322
323
|
lines.push(`Auth file: ${authSource.path}`);
|
|
323
324
|
} else {
|
|
324
|
-
lines.push(`Auth source: ${
|
|
325
|
+
lines.push(`Auth source: ${_chunkCS6RAIVYjs.API_KEY_ENV} process environment`);
|
|
325
326
|
}
|
|
326
327
|
if (envApiKey) {
|
|
327
|
-
lines.push(`${
|
|
328
|
+
lines.push(`${_chunkCS6RAIVYjs.API_KEY_ENV} overrides saved auth for this process.`);
|
|
328
329
|
} else if (activeProject) {
|
|
329
330
|
lines.push("Global auth is overridden in this folder.");
|
|
330
331
|
} else if (provenance.scope === "global" && provenance.project.state === "project") {
|
|
331
332
|
lines.push("Cloud mutations are blocked until this project is pinned.");
|
|
332
333
|
lines.push("Pin it: deepline org set --auth-scope folder");
|
|
333
334
|
}
|
|
334
|
-
|
|
335
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
335
336
|
{
|
|
336
337
|
ok: true,
|
|
337
338
|
host: config.baseUrl,
|
|
@@ -365,25 +366,25 @@ async function handleOrgStatus(options) {
|
|
|
365
366
|
}
|
|
366
367
|
async function handleOrgSwitch(selection, options) {
|
|
367
368
|
const authScope = normalizeAuthScope(options.authScope);
|
|
368
|
-
const config =
|
|
369
|
-
const provenance =
|
|
369
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
370
|
+
const provenance = _chunkCS6RAIVYjs.resolveCliAuthProvenance.call(void 0, config);
|
|
370
371
|
if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
|
|
371
|
-
const commandContext =
|
|
372
|
+
const commandContext = _chunkCS6RAIVYjs.resolveCliCommandContext.call(void 0, config);
|
|
372
373
|
const activeOrganization = commandContext.active_organization;
|
|
373
|
-
const pinnedFeatures =
|
|
374
|
-
const project_env_paths2 =
|
|
374
|
+
const pinnedFeatures = _chunkCS6RAIVYjs.storedHostFeatures.call(void 0, config.baseUrl);
|
|
375
|
+
const project_env_paths2 = _chunkCS6RAIVYjs.saveProjectDeeplineEnvValues.call(void 0,
|
|
375
376
|
{
|
|
376
|
-
[
|
|
377
|
-
[
|
|
377
|
+
[_chunkCS6RAIVYjs.HOST_URL_ENV]: config.baseUrl,
|
|
378
|
+
[_chunkCS6RAIVYjs.API_KEY_ENV]: config.apiKey,
|
|
378
379
|
...activeOrganization ? {
|
|
379
|
-
[
|
|
380
|
-
[
|
|
380
|
+
[_chunkCS6RAIVYjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
|
|
381
|
+
[_chunkCS6RAIVYjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
|
|
381
382
|
} : {},
|
|
382
|
-
...pinnedFeatures !== void 0 ? { [
|
|
383
|
+
...pinnedFeatures !== void 0 ? { [_chunkCS6RAIVYjs.FEATURES_ENV]: pinnedFeatures } : {}
|
|
383
384
|
},
|
|
384
385
|
provenance.project.dir
|
|
385
386
|
);
|
|
386
|
-
|
|
387
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
387
388
|
{
|
|
388
389
|
ok: true,
|
|
389
390
|
unchanged: true,
|
|
@@ -395,7 +396,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
395
396
|
orgId: activeOrganization.org_id,
|
|
396
397
|
orgName: activeOrganization.org_name,
|
|
397
398
|
authScope: "folder"
|
|
398
|
-
}) :
|
|
399
|
+
}) : _chunkCS6RAIVYjs.resolveCliCommandContext.call(void 0, config, "folder")
|
|
399
400
|
),
|
|
400
401
|
project_env_paths: project_env_paths2,
|
|
401
402
|
next: { status: "deepline org status" },
|
|
@@ -416,10 +417,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
416
417
|
);
|
|
417
418
|
return;
|
|
418
419
|
}
|
|
419
|
-
const http = new (0,
|
|
420
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
420
421
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
421
422
|
if (!selection && !options.orgId) {
|
|
422
|
-
|
|
423
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
423
424
|
{
|
|
424
425
|
...payload,
|
|
425
426
|
next: { set: "deepline org set <number>" },
|
|
@@ -470,9 +471,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
470
471
|
features
|
|
471
472
|
});
|
|
472
473
|
if (authTarget.kind === "folder") {
|
|
473
|
-
project_env_paths2 =
|
|
474
|
+
project_env_paths2 = _chunkCS6RAIVYjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
|
|
474
475
|
} else {
|
|
475
|
-
|
|
476
|
+
_chunkCS6RAIVYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
|
|
476
477
|
}
|
|
477
478
|
const renderLines2 = [`Already on ${target.name}.`];
|
|
478
479
|
for (const projectPath of project_env_paths2) {
|
|
@@ -480,7 +481,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
480
481
|
}
|
|
481
482
|
if (authTarget.kind === "global") {
|
|
482
483
|
renderLines2.push(
|
|
483
|
-
`Saved global auth in ${
|
|
484
|
+
`Saved global auth in ${_chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
484
485
|
);
|
|
485
486
|
}
|
|
486
487
|
renderLines2.push(
|
|
@@ -496,7 +497,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
496
497
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
497
498
|
...authTarget.warnings
|
|
498
499
|
];
|
|
499
|
-
|
|
500
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
500
501
|
{
|
|
501
502
|
ok: true,
|
|
502
503
|
unchanged: true,
|
|
@@ -512,7 +513,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
512
513
|
authScope: authTarget.effective_scope
|
|
513
514
|
})
|
|
514
515
|
),
|
|
515
|
-
host_env_path: authTarget.kind === "global" ?
|
|
516
|
+
host_env_path: authTarget.kind === "global" ? _chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
516
517
|
project_env_paths: project_env_paths2,
|
|
517
518
|
deprecated_command: options.deprecatedSwitch ? "org switch" : null,
|
|
518
519
|
replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
|
|
@@ -538,9 +539,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
538
539
|
features: switched.features
|
|
539
540
|
});
|
|
540
541
|
if (authTarget.kind === "folder") {
|
|
541
|
-
project_env_paths =
|
|
542
|
+
project_env_paths = _chunkCS6RAIVYjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
|
|
542
543
|
} else {
|
|
543
|
-
|
|
544
|
+
_chunkCS6RAIVYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
544
545
|
}
|
|
545
546
|
const { api_key: _apiKey, ...publicSwitched } = switched;
|
|
546
547
|
const renderLines = [`Switched to ${switched.org_name}.`];
|
|
@@ -549,7 +550,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
549
550
|
renderLines.push(`Saved folder auth in ${projectPath}`);
|
|
550
551
|
}
|
|
551
552
|
} else {
|
|
552
|
-
renderLines.push(`Saved global auth in ${
|
|
553
|
+
renderLines.push(`Saved global auth in ${_chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
|
|
553
554
|
}
|
|
554
555
|
renderLines.push(
|
|
555
556
|
`Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
|
|
@@ -564,10 +565,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
564
565
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
565
566
|
...authTarget.warnings
|
|
566
567
|
];
|
|
567
|
-
|
|
568
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
568
569
|
{
|
|
569
570
|
ok: true,
|
|
570
|
-
host_env_path: authTarget.kind === "global" ?
|
|
571
|
+
host_env_path: authTarget.kind === "global" ? _chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
571
572
|
project_env_paths,
|
|
572
573
|
...publicSwitched,
|
|
573
574
|
api_key_saved: true,
|
|
@@ -598,12 +599,12 @@ async function handleOrgSwitch(selection, options) {
|
|
|
598
599
|
);
|
|
599
600
|
}
|
|
600
601
|
async function handleOrgCreate(name, options) {
|
|
601
|
-
const config =
|
|
602
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
602
603
|
const normalizedName = name.trim();
|
|
603
604
|
if (!normalizedName) {
|
|
604
605
|
throw new Error("Workspace name is required.");
|
|
605
606
|
}
|
|
606
|
-
const http = new (0,
|
|
607
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
607
608
|
const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
|
|
608
609
|
let created;
|
|
609
610
|
let workspaceApiKey;
|
|
@@ -629,7 +630,7 @@ async function handleOrgCreate(name, options) {
|
|
|
629
630
|
sourceOrgId: identity.orgId,
|
|
630
631
|
name: normalizedName
|
|
631
632
|
});
|
|
632
|
-
const workspace = await new (0,
|
|
633
|
+
const workspace = await new (0, _chunkE23BQ5SCjs.DeeplineClient)({
|
|
633
634
|
apiKey: config.apiKey,
|
|
634
635
|
baseUrl: config.baseUrl
|
|
635
636
|
}).workspaces.create({
|
|
@@ -652,16 +653,16 @@ async function handleOrgCreate(name, options) {
|
|
|
652
653
|
orgName: created.org_name,
|
|
653
654
|
features: workspaceFeatures
|
|
654
655
|
});
|
|
655
|
-
|
|
656
|
+
_chunkCS6RAIVYjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
656
657
|
if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
|
|
657
|
-
|
|
658
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
658
659
|
{
|
|
659
660
|
ok: true,
|
|
660
661
|
...created,
|
|
661
662
|
initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
|
|
662
663
|
api_key_saved: true,
|
|
663
664
|
switched: true,
|
|
664
|
-
host_env_path:
|
|
665
|
+
host_env_path: _chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl),
|
|
665
666
|
...agentCommandContext(
|
|
666
667
|
organizationCommandContext({
|
|
667
668
|
orgId: created.org_id,
|
|
@@ -676,7 +677,7 @@ async function handleOrgCreate(name, options) {
|
|
|
676
677
|
lines: [
|
|
677
678
|
`Created organization: ${created.org_name}.`,
|
|
678
679
|
`Switched to ${created.org_name}.`,
|
|
679
|
-
`Saved host auth in ${
|
|
680
|
+
`Saved host auth in ${_chunkCS6RAIVYjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
680
681
|
]
|
|
681
682
|
}
|
|
682
683
|
]
|
|
@@ -728,7 +729,7 @@ Examples:
|
|
|
728
729
|
);
|
|
729
730
|
const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
|
|
730
731
|
const ssoPath = "/api/v2/auth/workspace/sso";
|
|
731
|
-
const printSso = (payload, json) =>
|
|
732
|
+
const printSso = (payload, json) => _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
732
733
|
{
|
|
733
734
|
...payload,
|
|
734
735
|
render: {
|
|
@@ -752,7 +753,7 @@ Examples:
|
|
|
752
753
|
},
|
|
753
754
|
{ json }
|
|
754
755
|
);
|
|
755
|
-
const ssoHttp = () => new (0,
|
|
756
|
+
const ssoHttp = () => new (0, _chunkCS6RAIVYjs.HttpClient)(_chunkCS6RAIVYjs.resolveConfig.call(void 0, ));
|
|
756
757
|
sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
|
|
757
758
|
printSso(await ssoHttp().get(ssoPath), options.json);
|
|
758
759
|
});
|
|
@@ -783,8 +784,8 @@ Examples:
|
|
|
783
784
|
"Identity provider metadata XML file"
|
|
784
785
|
).option("--json", "Emit JSON output").action(
|
|
785
786
|
async (options) => {
|
|
786
|
-
const config =
|
|
787
|
-
const http = new (0,
|
|
787
|
+
const config = _chunkCS6RAIVYjs.resolveConfig.call(void 0, );
|
|
788
|
+
const http = new (0, _chunkCS6RAIVYjs.HttpClient)(config);
|
|
788
789
|
const identity = await fetchWorkspaceCreationIdentity(
|
|
789
790
|
http,
|
|
790
791
|
config.apiKey
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHIJIHFB.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-JI2B4RZP.mjs";
|
|
6
|
+
import "./chunk-UBKA33KY.mjs";
|
|
6
7
|
import {
|
|
7
8
|
printCommandEnvelope
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
9
10
|
import {
|
|
10
11
|
ACTIVE_ORG_ID_ENV,
|
|
11
12
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -26,10 +27,10 @@ import {
|
|
|
26
27
|
saveProjectDeeplineEnvValues,
|
|
27
28
|
sdkCliStateDirPath,
|
|
28
29
|
storedHostFeatures
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FJGW5GXU.mjs";
|
|
30
31
|
import "./chunk-DLIRSHV6.mjs";
|
|
31
32
|
import "./chunk-NXGCO4JB.mjs";
|
|
32
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
33
34
|
import "./chunk-WZYKRD7T.mjs";
|
|
34
35
|
import "./chunk-KRD6H754.mjs";
|
|
35
36
|
|
|
@@ -65,26 +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
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-JI2B4RZP.mjs";
|
|
81
|
+
import "./chunk-UBKA33KY.mjs";
|
|
81
82
|
import "./chunk-UFS752TU.mjs";
|
|
82
83
|
import "./chunk-GAMFK2ZP.mjs";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-NR3DFKNF.mjs";
|
|
85
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
85
86
|
import "./chunk-DLIRSHV6.mjs";
|
|
86
87
|
import "./chunk-NXGCO4JB.mjs";
|
|
87
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
88
89
|
import "./chunk-WZYKRD7T.mjs";
|
|
89
90
|
import "./chunk-KRD6H754.mjs";
|
|
90
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,24 +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
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-UHNDVD3P.js');
|
|
6
|
+
require('./chunk-XDVT3GOM.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
10
|
+
var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
|
|
11
|
+
require('./chunk-CS6RAIVY.js');
|
|
11
12
|
require('./chunk-XNYIZMNQ.js');
|
|
12
13
|
require('./chunk-7P5AA3SN.js');
|
|
13
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-6YAUMG27.js');
|
|
14
15
|
require('./chunk-OG64RBAC.js');
|
|
15
16
|
require('./chunk-COGTRVWW.js');
|
|
16
17
|
|
|
17
18
|
// src/cli/commands/providers.ts
|
|
18
19
|
async function listProviders(options = {}) {
|
|
19
|
-
const client = new (0,
|
|
20
|
+
const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
|
|
20
21
|
const changed = options.changed === true;
|
|
21
|
-
const emitJson = options.json === true ||
|
|
22
|
+
const emitJson = options.json === true || _chunkKGNTKMRGjs.shouldEmitJson.call(void 0, );
|
|
22
23
|
const providers = await client.listProviders({ changed });
|
|
23
24
|
const render = {
|
|
24
25
|
sections: [
|
|
@@ -37,7 +38,7 @@ async function listProviders(options = {}) {
|
|
|
37
38
|
}
|
|
38
39
|
]
|
|
39
40
|
};
|
|
40
|
-
|
|
41
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
41
42
|
{
|
|
42
43
|
providers,
|
|
43
44
|
count: providers.length,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHIJIHFB.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-JI2B4RZP.mjs";
|
|
6
|
+
import "./chunk-UBKA33KY.mjs";
|
|
6
7
|
import {
|
|
7
8
|
printCommandEnvelope,
|
|
8
9
|
shouldEmitJson
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
11
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
11
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
14
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
16
|
import "./chunk-KRD6H754.mjs";
|
|
16
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,
|