deepline 0.3.370 → 0.3.372
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/README.md +1 -1
- package/dist/bundling-sources/sdk/src/client.ts +8 -8
- package/dist/bundling-sources/sdk/src/release.ts +1 -7
- package/dist/bundling-sources/sdk/src/runs/overview.ts +7 -7
- package/dist/bundling-sources/sdk/src/tool-output.ts +5 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -2
- package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -5
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +18 -18
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/dataset-lifecycle-log.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +34 -9
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +15 -3
- package/dist/cli/auth-4SXMV3CD.js +33 -0
- package/dist/cli/{auth-RIH4S7NC.mjs → auth-ODSACXLF.mjs} +4 -4
- package/dist/cli/{billing-Q65H5GJM.js → billing-4ERXY2DZ.js} +148 -148
- package/dist/cli/{billing-ERNGN6WK.mjs → billing-OPIOZLAN.mjs} +79 -79
- package/dist/cli/{chunk-MX53GIOB.js → chunk-2JRRXXTA.js} +2 -2
- package/dist/cli/{chunk-H4IQJRFC.mjs → chunk-2RC5JQ3C.mjs} +9 -9
- package/dist/cli/{chunk-IDBLJSLL.mjs → chunk-3CTB7V5F.mjs} +5 -5
- package/dist/cli/{chunk-Z6B4UPM4.mjs → chunk-3GK3SH3G.mjs} +2 -2
- package/dist/cli/{chunk-RLXMRC6P.mjs → chunk-46JCJ7FT.mjs} +49 -96
- package/dist/cli/{chunk-YQMUTC2H.mjs → chunk-4LIUZ4QR.mjs} +11 -11
- package/dist/cli/{chunk-BGXG3GEI.mjs → chunk-5HYD3GMS.mjs} +5 -5
- package/dist/cli/{chunk-DFJDVQMH.js → chunk-6MDAGRZP.js} +2 -2
- package/dist/cli/{chunk-NHB3UWTZ.js → chunk-AQFA7HMN.js} +17 -17
- package/dist/cli/{chunk-LNEBKWXM.mjs → chunk-BFLPCGOR.mjs} +1 -1
- package/dist/cli/{chunk-5DUTNG37.mjs → chunk-BVUGPOU3.mjs} +10 -10
- package/dist/cli/{chunk-A6DJC2RC.js → chunk-D6O3NJHX.js} +68 -68
- package/dist/cli/{chunk-666HPUIZ.js → chunk-DM5QUZJR.js} +1 -6
- package/dist/cli/{chunk-HHH4MPFY.mjs → chunk-DONL233W.mjs} +6 -6
- package/dist/cli/{chunk-NXDRDJ4K.js → chunk-E5UD3JDQ.js} +3 -1
- package/dist/cli/{chunk-XTKVXHGD.js → chunk-EFJL5FCU.js} +17 -17
- package/dist/cli/{chunk-LJWOPNJJ.mjs → chunk-FGHRRJ3D.mjs} +1 -1
- package/dist/cli/{chunk-WQZ22EQU.js → chunk-GZQKUFM5.js} +26 -26
- package/dist/cli/{chunk-Y2B56VN7.js → chunk-IUWPC5K6.js} +53 -53
- package/dist/cli/{chunk-NEY2M4EZ.mjs → chunk-JAERLCMH.mjs} +1 -6
- package/dist/cli/{chunk-MIMASXO4.mjs → chunk-JB6ERQUV.mjs} +3 -1
- package/dist/cli/{chunk-CTMA3C3N.js → chunk-JSK6GUY6.js} +49 -96
- package/dist/cli/{chunk-T64NZ2A7.mjs → chunk-KC2YOJTU.mjs} +46 -47
- package/dist/cli/{chunk-GGRVNAOH.mjs → chunk-MIMV5LTU.mjs} +3 -3
- package/dist/cli/{chunk-SFI7U6CA.js → chunk-ML2ZY7YD.js} +4 -4
- package/dist/cli/{chunk-A4OX52RV.js → chunk-N5TPMNTT.js} +10 -10
- package/dist/cli/{chunk-YEEESF2T.js → chunk-RJ7JJMQO.js} +419 -413
- package/dist/cli/{chunk-4Y5UDYQK.js → chunk-RUYZAREB.js} +17 -17
- package/dist/cli/{chunk-BKHNCIQD.mjs → chunk-U3W7E5WT.mjs} +193 -187
- package/dist/cli/{chunk-MKFHZDBO.js → chunk-VVFH745L.js} +8 -8
- package/dist/cli/{chunk-R7AAYFDQ.js → chunk-WJWO74MM.js} +102 -103
- package/dist/cli/{chunk-A5RFERJQ.mjs → chunk-XSPAI6MF.mjs} +2 -2
- package/dist/cli/{client-QXOERIFI.mjs → client-KF2J754U.mjs} +3 -3
- package/dist/cli/client-UUNLXOHF.js +20 -0
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-ZKIUSDIV.js → csv-UJ3M7NFP.js} +12 -12
- package/dist/cli/{csv-V7UKQ7AC.mjs → csv-UL3MCD5D.mjs} +3 -3
- package/dist/cli/{db-GWKRVHKS.js → db-444XYOTV.js} +42 -43
- package/dist/cli/{db-QQ4BYMPY.mjs → db-SIOWA63T.mjs} +17 -18
- package/dist/cli/{describe-XMWXEFMS.mjs → describe-GI5GHAKO.mjs} +12 -12
- package/dist/cli/{describe-3AJI2BOS.js → describe-RRBESS3S.js} +28 -28
- package/dist/cli/{executions-QV7UE5YG.mjs → executions-4YDP6BXI.mjs} +4 -4
- package/dist/cli/{executions-2IMCCV34.js → executions-ERXZUOL5.js} +6 -6
- package/dist/cli/{feedback-7SSJ7VPF.js → feedback-3M7D7DZQ.js} +12 -12
- package/dist/cli/{feedback-K6WNXZDB.mjs → feedback-CPWQL5LU.mjs} +8 -8
- package/dist/cli/git-ITSCNUVB.js +23 -0
- package/dist/cli/{git-UOE2K2XQ.mjs → git-XN6C3TJZ.mjs} +4 -4
- package/dist/cli/index.js +98 -109
- package/dist/cli/index.mjs +46 -57
- package/dist/cli/{legacy-noops-GC43OSXL.js → legacy-noops-5XDGOFWH.js} +9 -9
- package/dist/cli/{legacy-noops-SOYPIA2X.mjs → legacy-noops-KXQ6TFFL.mjs} +6 -6
- package/dist/cli/{monitors-FLCGMXVH.mjs → monitors-33IU5JR6.mjs} +59 -59
- package/dist/cli/{monitors-AXANB6WK.js → monitors-KH22PDOC.js} +140 -140
- package/dist/cli/{org-Q7EDNZMN.mjs → org-MHYMWUEP.mjs} +28 -27
- package/dist/cli/{org-MXD4BTQI.js → org-X4NSLQG5.js} +88 -87
- package/dist/cli/play-4QRPOBWW.js +155 -0
- package/dist/cli/{play-TZROCF7E.mjs → play-LCZKHKW2.mjs} +10 -8
- package/dist/cli/{providers-LOS4MHAG.js → providers-J6LWCF5R.js} +10 -10
- package/dist/cli/{providers-JEY4FTWG.mjs → providers-L5FJTSEA.mjs} +7 -7
- package/dist/cli/{quickstart-WO5KVVER.mjs → quickstart-NE3BTWGL.mjs} +4 -4
- package/dist/cli/{quickstart-27UQGHEH.js → quickstart-OOPFA4MX.js} +6 -6
- package/dist/cli/{search-LZHWXC2C.mjs → search-DBXOEOIE.mjs} +5 -5
- package/dist/cli/search-UGQDBP76.js +26 -0
- package/dist/cli/{secrets-AVJGZABR.mjs → secrets-U2MLWZH2.mjs} +5 -5
- package/dist/cli/{secrets-PE7P4L7N.js → secrets-WPMU7UBD.js} +14 -14
- package/dist/cli/{sessions-ZDSZTYZV.mjs → sessions-WYNC4AUE.mjs} +4 -4
- package/dist/cli/{sessions-I6UDBN7M.js → sessions-YYZ3UJDS.js} +5 -5
- package/dist/cli/{settings-SPWH3FET.mjs → settings-FQZSHFC6.mjs} +10 -10
- package/dist/cli/{settings-3SLMJHJ2.js → settings-WQDFX3X6.js} +77 -77
- package/dist/cli/{setup-R4LUWQE4.js → setup-DKYVNDTM.js} +50 -50
- package/dist/cli/{setup-Q3CJ4T2Q.mjs → setup-JKYJT35S.mjs} +15 -15
- package/dist/cli/skills-VBQMXDAX.js +28 -0
- package/dist/cli/{skills-FGXH432G.mjs → skills-VHVCJJJY.mjs} +4 -4
- package/dist/cli/tools-ACEJZMJD.js +40 -0
- package/dist/cli/{tools-O7C6PFF2.mjs → tools-E23PU7KM.mjs} +8 -8
- package/dist/cli/{update-PPCQV3CD.mjs → update-4A4VU6CW.mjs} +6 -6
- package/dist/cli/update-V5KMYHVE.js +28 -0
- package/dist/cli/{workflow-Z2KYQ2JE.mjs → workflow-2ZR2ECTG.mjs} +7 -7
- package/dist/cli/{workflow-ALKU4ZFD.js → workflow-WB2USWAA.js} +17 -17
- package/dist/{client-CjHv4K6D.d.mts → client-Cw0e2Uec.d.mts} +8 -7
- package/dist/{client-rTuhNN-x.d.ts → client-CwdiawoG.d.ts} +8 -7
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -15
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +82 -82
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -5
- package/dist/release.d.ts +1 -5
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-DD3PVIRQ.js +0 -33
- package/dist/cli/client-DNAFHKWV.js +0 -20
- package/dist/cli/git-EBSF3254.js +0 -23
- package/dist/cli/play-YWQXVOBT.js +0 -153
- package/dist/cli/search-OQ3OEFUA.js +0 -26
- package/dist/cli/skills-IDXBBOUW.js +0 -28
- package/dist/cli/tools-WHLD4Y4O.js +0 -40
- package/dist/cli/update-K6HE3XKO.js +0 -28
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2RC5JQ3C.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-MIMV5LTU.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-FGHRRJ3D.mjs";
|
|
30
30
|
import "./chunk-DLIRSHV6.mjs";
|
|
31
31
|
import "./chunk-NXGCO4JB.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-JAERLCMH.mjs";
|
|
33
33
|
import "./chunk-WZYKRD7T.mjs";
|
|
34
34
|
import "./chunk-KRD6H754.mjs";
|
|
35
35
|
|
|
@@ -314,6 +314,7 @@ async function handleOrgStatus(options) {
|
|
|
314
314
|
};
|
|
315
315
|
const lines = [
|
|
316
316
|
`Organization: ${current?.name ?? "(unknown)"}`,
|
|
317
|
+
`Organization ID: ${payload.current_org_id ?? "(unknown)"}`,
|
|
317
318
|
`Host: ${config.baseUrl}`,
|
|
318
319
|
`Auth scope: ${authSource.scope}`
|
|
319
320
|
];
|
|
@@ -397,7 +398,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
397
398
|
}) : resolveCliCommandContext(config, "folder")
|
|
398
399
|
),
|
|
399
400
|
project_env_paths: project_env_paths2,
|
|
400
|
-
next: { status: "deepline org status
|
|
401
|
+
next: { status: "deepline org status" },
|
|
401
402
|
render: {
|
|
402
403
|
sections: [
|
|
403
404
|
{
|
|
@@ -708,21 +709,21 @@ Notes:
|
|
|
708
709
|
can make an unrelated terminal target the last-selected organization.
|
|
709
710
|
|
|
710
711
|
Agent loop:
|
|
711
|
-
deepline org list
|
|
712
|
-
deepline org set <number-or-org-id> --auth-scope folder
|
|
713
|
-
deepline org status
|
|
714
|
-
deepline auth status
|
|
712
|
+
deepline org list
|
|
713
|
+
deepline org set <number-or-org-id> --auth-scope folder
|
|
714
|
+
deepline org status
|
|
715
|
+
deepline auth status
|
|
715
716
|
|
|
716
717
|
Examples:
|
|
717
|
-
deepline org list
|
|
718
|
-
deepline org status
|
|
719
|
-
deepline org create Acme
|
|
718
|
+
deepline org list
|
|
719
|
+
deepline org status
|
|
720
|
+
deepline org create Acme
|
|
720
721
|
deepline org set 2
|
|
721
722
|
deepline org set 2 --auth-scope folder
|
|
722
|
-
deepline org set --org-id org_123
|
|
723
|
-
cd path/to/project-a && deepline org set Prove --auth-scope folder
|
|
724
|
-
cd path/to/project-b && deepline org set Mixmax --auth-scope folder
|
|
725
|
-
cd .. && deepline org status
|
|
723
|
+
deepline org set --org-id org_123
|
|
724
|
+
cd path/to/project-a && deepline org set Prove --auth-scope folder
|
|
725
|
+
cd path/to/project-b && deepline org set Mixmax --auth-scope folder
|
|
726
|
+
cd .. && deepline org status
|
|
726
727
|
`
|
|
727
728
|
);
|
|
728
729
|
const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
|
|
@@ -830,9 +831,9 @@ Notes:
|
|
|
830
831
|
|
|
831
832
|
Examples:
|
|
832
833
|
deepline org list
|
|
833
|
-
deepline org list
|
|
834
|
+
deepline org list
|
|
834
835
|
`
|
|
835
|
-
).option("--json", "Emit JSON output
|
|
836
|
+
).option("--json", "Emit JSON output").action(handleOrgList);
|
|
836
837
|
org.command("create <name>").description("Create a new organization and switch this CLI to it.").addHelpText(
|
|
837
838
|
"after",
|
|
838
839
|
`
|
|
@@ -843,9 +844,9 @@ Notes:
|
|
|
843
844
|
|
|
844
845
|
Examples:
|
|
845
846
|
deepline org create Acme
|
|
846
|
-
deepline org create "Acme Sales"
|
|
847
|
+
deepline org create "Acme Sales"
|
|
847
848
|
`
|
|
848
|
-
).option("--json", "Emit JSON output
|
|
849
|
+
).option("--json", "Emit JSON output").action(handleOrgCreate);
|
|
849
850
|
org.command("status").description("Show the current organization and auth source.").addHelpText(
|
|
850
851
|
"after",
|
|
851
852
|
`
|
|
@@ -861,16 +862,16 @@ Notes:
|
|
|
861
862
|
|
|
862
863
|
Examples:
|
|
863
864
|
deepline org status
|
|
864
|
-
deepline org status
|
|
865
|
+
deepline org status
|
|
865
866
|
`
|
|
866
|
-
).option("--json", "Emit JSON output
|
|
867
|
+
).option("--json", "Emit JSON output").action(handleOrgStatus);
|
|
867
868
|
const addOrgSetOptions = (command) => command.option("--org-id <id>", "Set using an explicit organization id").option(
|
|
868
869
|
"--auth-scope <scope>",
|
|
869
870
|
"Where to save auth: auto, folder, or global",
|
|
870
871
|
"auto"
|
|
871
872
|
).option(
|
|
872
873
|
"--json",
|
|
873
|
-
"Emit JSON output
|
|
874
|
+
"Emit JSON output"
|
|
874
875
|
);
|
|
875
876
|
addOrgSetOptions(
|
|
876
877
|
org.command("set [selection]").description("Set the organization for the selected auth scope.").addHelpText(
|
|
@@ -900,7 +901,7 @@ Notes:
|
|
|
900
901
|
is shared by every unpinned CLI on this machine. Global auth remains
|
|
901
902
|
supported in projects; use a folder pin when you want a project-specific
|
|
902
903
|
default. For automation, pass
|
|
903
|
-
DEEPLINE_API_KEY only to that invocation and confirm with org status
|
|
904
|
+
DEEPLINE_API_KEY only to that invocation and confirm with org status.
|
|
904
905
|
|
|
905
906
|
Use --json for stable fields including effective_auth_scope,
|
|
906
907
|
auth_scope_reason, host_env_path, project_env_paths, warnings, org_id, and
|
|
@@ -911,8 +912,8 @@ Examples:
|
|
|
911
912
|
deepline org set 2
|
|
912
913
|
deepline org set 2 --auth-scope folder
|
|
913
914
|
deepline org set 2 --auth-scope global
|
|
914
|
-
deepline org set --org-id org_123
|
|
915
|
-
deepline org status
|
|
915
|
+
deepline org set --org-id org_123
|
|
916
|
+
deepline org status
|
|
916
917
|
`
|
|
917
918
|
)
|
|
918
919
|
).action(handleOrgSwitch);
|
|
@@ -934,7 +935,7 @@ Examples:
|
|
|
934
935
|
deepline org switch 2
|
|
935
936
|
deepline org switch 2 --auth-scope folder
|
|
936
937
|
deepline org switch 2 --auth-scope global
|
|
937
|
-
deepline org switch --org-id org_123
|
|
938
|
+
deepline org switch --org-id org_123
|
|
938
939
|
`
|
|
939
940
|
)
|
|
940
941
|
).action(
|
|
@@ -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 _chunkRUYZAREBjs = require('./chunk-RUYZAREB.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-LA46MMTL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkVVFH745Ljs = require('./chunk-VVFH745L.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -26,10 +26,10 @@ var _chunkMKFHZDBOjs = require('./chunk-MKFHZDBO.js');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkML2ZY7YDjs = require('./chunk-ML2ZY7YD.js');
|
|
30
30
|
require('./chunk-XNYIZMNQ.js');
|
|
31
31
|
require('./chunk-7P5AA3SN.js');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-DM5QUZJR.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, _chunkML2ZY7YDjs.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 = _chunkML2ZY7YDjs.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
|
+
[_chunkML2ZY7YDjs.HOST_URL_ENV]: input.baseUrl,
|
|
153
|
+
[_chunkML2ZY7YDjs.API_KEY_ENV]: input.apiKey,
|
|
154
|
+
[_chunkML2ZY7YDjs.ACTIVE_ORG_ID_ENV]: input.orgId,
|
|
155
|
+
[_chunkML2ZY7YDjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
|
|
156
|
+
..._chunkML2ZY7YDjs.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 _chunkML2ZY7YDjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
|
|
171
171
|
}
|
|
172
172
|
function resolveOrgSwitchAuthTarget(scope, config) {
|
|
173
|
-
const activeProject =
|
|
173
|
+
const activeProject = _chunkML2ZY7YDjs.getResolvedProjectAuthSource.call(void 0,
|
|
174
174
|
config.baseUrl,
|
|
175
175
|
config.apiKey
|
|
176
176
|
);
|
|
177
|
-
const folderTarget =
|
|
177
|
+
const folderTarget = _chunkML2ZY7YDjs.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 = _chunkML2ZY7YDjs.resolveConfig.call(void 0, );
|
|
250
|
+
const http = new (0, _chunkML2ZY7YDjs.HttpClient)(config);
|
|
251
251
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
252
|
-
|
|
252
|
+
_chunkVVFH745Ljs.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 = _chunkML2ZY7YDjs.resolveConfig.call(void 0, );
|
|
269
|
+
const http = new (0, _chunkML2ZY7YDjs.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 = _chunkML2ZY7YDjs.getActiveProjectAuthSource.call(void 0, );
|
|
275
|
+
const activeProject = _chunkML2ZY7YDjs.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 = _chunkML2ZY7YDjs.resolveProjectPinTarget.call(void 0, );
|
|
280
|
+
const provenance = _chunkML2ZY7YDjs.resolveCliAuthProvenance.call(void 0, config);
|
|
281
|
+
const hostPath = _chunkML2ZY7YDjs.hostEnvFilePath.call(void 0, config.baseUrl);
|
|
282
|
+
const envApiKey = processEnvValue(_chunkML2ZY7YDjs.API_KEY_ENV);
|
|
283
|
+
const envHostUrl = processEnvValue(_chunkML2ZY7YDjs.HOST_URL_ENV);
|
|
284
284
|
const authSource = envApiKey ? {
|
|
285
285
|
scope: "env",
|
|
286
286
|
source: "process",
|
|
@@ -314,23 +314,24 @@ async function handleOrgStatus(options) {
|
|
|
314
314
|
};
|
|
315
315
|
const lines = [
|
|
316
316
|
`Organization: ${_nullishCoalesce(_optionalChain([current, 'optionalAccess', _11 => _11.name]), () => ( "(unknown)"))}`,
|
|
317
|
+
`Organization ID: ${_nullishCoalesce(payload.current_org_id, () => ( "(unknown)"))}`,
|
|
317
318
|
`Host: ${config.baseUrl}`,
|
|
318
319
|
`Auth scope: ${authSource.scope}`
|
|
319
320
|
];
|
|
320
321
|
if (authSource.path) {
|
|
321
322
|
lines.push(`Auth file: ${authSource.path}`);
|
|
322
323
|
} else {
|
|
323
|
-
lines.push(`Auth source: ${
|
|
324
|
+
lines.push(`Auth source: ${_chunkML2ZY7YDjs.API_KEY_ENV} process environment`);
|
|
324
325
|
}
|
|
325
326
|
if (envApiKey) {
|
|
326
|
-
lines.push(`${
|
|
327
|
+
lines.push(`${_chunkML2ZY7YDjs.API_KEY_ENV} overrides saved auth for this process.`);
|
|
327
328
|
} else if (activeProject) {
|
|
328
329
|
lines.push("Global auth is overridden in this folder.");
|
|
329
330
|
} else if (provenance.scope === "global" && provenance.project.state === "project") {
|
|
330
331
|
lines.push("Cloud mutations are blocked until this project is pinned.");
|
|
331
332
|
lines.push("Pin it: deepline org set --auth-scope folder");
|
|
332
333
|
}
|
|
333
|
-
|
|
334
|
+
_chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
|
|
334
335
|
{
|
|
335
336
|
ok: true,
|
|
336
337
|
host: config.baseUrl,
|
|
@@ -364,25 +365,25 @@ async function handleOrgStatus(options) {
|
|
|
364
365
|
}
|
|
365
366
|
async function handleOrgSwitch(selection, options) {
|
|
366
367
|
const authScope = normalizeAuthScope(options.authScope);
|
|
367
|
-
const config =
|
|
368
|
-
const provenance =
|
|
368
|
+
const config = _chunkML2ZY7YDjs.resolveConfig.call(void 0, );
|
|
369
|
+
const provenance = _chunkML2ZY7YDjs.resolveCliAuthProvenance.call(void 0, config);
|
|
369
370
|
if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
|
|
370
|
-
const commandContext =
|
|
371
|
+
const commandContext = _chunkML2ZY7YDjs.resolveCliCommandContext.call(void 0, config);
|
|
371
372
|
const activeOrganization = commandContext.active_organization;
|
|
372
|
-
const pinnedFeatures =
|
|
373
|
-
const project_env_paths2 =
|
|
373
|
+
const pinnedFeatures = _chunkML2ZY7YDjs.storedHostFeatures.call(void 0, config.baseUrl);
|
|
374
|
+
const project_env_paths2 = _chunkML2ZY7YDjs.saveProjectDeeplineEnvValues.call(void 0,
|
|
374
375
|
{
|
|
375
|
-
[
|
|
376
|
-
[
|
|
376
|
+
[_chunkML2ZY7YDjs.HOST_URL_ENV]: config.baseUrl,
|
|
377
|
+
[_chunkML2ZY7YDjs.API_KEY_ENV]: config.apiKey,
|
|
377
378
|
...activeOrganization ? {
|
|
378
|
-
[
|
|
379
|
-
[
|
|
379
|
+
[_chunkML2ZY7YDjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
|
|
380
|
+
[_chunkML2ZY7YDjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
|
|
380
381
|
} : {},
|
|
381
|
-
...pinnedFeatures !== void 0 ? { [
|
|
382
|
+
...pinnedFeatures !== void 0 ? { [_chunkML2ZY7YDjs.FEATURES_ENV]: pinnedFeatures } : {}
|
|
382
383
|
},
|
|
383
384
|
provenance.project.dir
|
|
384
385
|
);
|
|
385
|
-
|
|
386
|
+
_chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
|
|
386
387
|
{
|
|
387
388
|
ok: true,
|
|
388
389
|
unchanged: true,
|
|
@@ -394,10 +395,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
394
395
|
orgId: activeOrganization.org_id,
|
|
395
396
|
orgName: activeOrganization.org_name,
|
|
396
397
|
authScope: "folder"
|
|
397
|
-
}) :
|
|
398
|
+
}) : _chunkML2ZY7YDjs.resolveCliCommandContext.call(void 0, config, "folder")
|
|
398
399
|
),
|
|
399
400
|
project_env_paths: project_env_paths2,
|
|
400
|
-
next: { status: "deepline org status
|
|
401
|
+
next: { status: "deepline org status" },
|
|
401
402
|
render: {
|
|
402
403
|
sections: [
|
|
403
404
|
{
|
|
@@ -415,10 +416,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
415
416
|
);
|
|
416
417
|
return;
|
|
417
418
|
}
|
|
418
|
-
const http = new (0,
|
|
419
|
+
const http = new (0, _chunkML2ZY7YDjs.HttpClient)(config);
|
|
419
420
|
const payload = await fetchOrganizations(http, config.apiKey);
|
|
420
421
|
if (!selection && !options.orgId) {
|
|
421
|
-
|
|
422
|
+
_chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
|
|
422
423
|
{
|
|
423
424
|
...payload,
|
|
424
425
|
next: { set: "deepline org set <number>" },
|
|
@@ -469,9 +470,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
469
470
|
features
|
|
470
471
|
});
|
|
471
472
|
if (authTarget.kind === "folder") {
|
|
472
|
-
project_env_paths2 =
|
|
473
|
+
project_env_paths2 = _chunkML2ZY7YDjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
|
|
473
474
|
} else {
|
|
474
|
-
|
|
475
|
+
_chunkML2ZY7YDjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
|
|
475
476
|
}
|
|
476
477
|
const renderLines2 = [`Already on ${target.name}.`];
|
|
477
478
|
for (const projectPath of project_env_paths2) {
|
|
@@ -479,7 +480,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
479
480
|
}
|
|
480
481
|
if (authTarget.kind === "global") {
|
|
481
482
|
renderLines2.push(
|
|
482
|
-
`Saved global auth in ${
|
|
483
|
+
`Saved global auth in ${_chunkML2ZY7YDjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
483
484
|
);
|
|
484
485
|
}
|
|
485
486
|
renderLines2.push(
|
|
@@ -495,7 +496,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
495
496
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
496
497
|
...authTarget.warnings
|
|
497
498
|
];
|
|
498
|
-
|
|
499
|
+
_chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
|
|
499
500
|
{
|
|
500
501
|
ok: true,
|
|
501
502
|
unchanged: true,
|
|
@@ -511,7 +512,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
511
512
|
authScope: authTarget.effective_scope
|
|
512
513
|
})
|
|
513
514
|
),
|
|
514
|
-
host_env_path: authTarget.kind === "global" ?
|
|
515
|
+
host_env_path: authTarget.kind === "global" ? _chunkML2ZY7YDjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
515
516
|
project_env_paths: project_env_paths2,
|
|
516
517
|
deprecated_command: options.deprecatedSwitch ? "org switch" : null,
|
|
517
518
|
replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
|
|
@@ -537,9 +538,9 @@ async function handleOrgSwitch(selection, options) {
|
|
|
537
538
|
features: switched.features
|
|
538
539
|
});
|
|
539
540
|
if (authTarget.kind === "folder") {
|
|
540
|
-
project_env_paths =
|
|
541
|
+
project_env_paths = _chunkML2ZY7YDjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
|
|
541
542
|
} else {
|
|
542
|
-
|
|
543
|
+
_chunkML2ZY7YDjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
543
544
|
}
|
|
544
545
|
const { api_key: _apiKey, ...publicSwitched } = switched;
|
|
545
546
|
const renderLines = [`Switched to ${switched.org_name}.`];
|
|
@@ -548,7 +549,7 @@ async function handleOrgSwitch(selection, options) {
|
|
|
548
549
|
renderLines.push(`Saved folder auth in ${projectPath}`);
|
|
549
550
|
}
|
|
550
551
|
} else {
|
|
551
|
-
renderLines.push(`Saved global auth in ${
|
|
552
|
+
renderLines.push(`Saved global auth in ${_chunkML2ZY7YDjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
|
|
552
553
|
}
|
|
553
554
|
renderLines.push(
|
|
554
555
|
`Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
|
|
@@ -563,10 +564,10 @@ async function handleOrgSwitch(selection, options) {
|
|
|
563
564
|
...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
|
|
564
565
|
...authTarget.warnings
|
|
565
566
|
];
|
|
566
|
-
|
|
567
|
+
_chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
|
|
567
568
|
{
|
|
568
569
|
ok: true,
|
|
569
|
-
host_env_path: authTarget.kind === "global" ?
|
|
570
|
+
host_env_path: authTarget.kind === "global" ? _chunkML2ZY7YDjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
|
|
570
571
|
project_env_paths,
|
|
571
572
|
...publicSwitched,
|
|
572
573
|
api_key_saved: true,
|
|
@@ -597,12 +598,12 @@ async function handleOrgSwitch(selection, options) {
|
|
|
597
598
|
);
|
|
598
599
|
}
|
|
599
600
|
async function handleOrgCreate(name, options) {
|
|
600
|
-
const config =
|
|
601
|
+
const config = _chunkML2ZY7YDjs.resolveConfig.call(void 0, );
|
|
601
602
|
const normalizedName = name.trim();
|
|
602
603
|
if (!normalizedName) {
|
|
603
604
|
throw new Error("Workspace name is required.");
|
|
604
605
|
}
|
|
605
|
-
const http = new (0,
|
|
606
|
+
const http = new (0, _chunkML2ZY7YDjs.HttpClient)(config);
|
|
606
607
|
const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
|
|
607
608
|
let created;
|
|
608
609
|
let workspaceApiKey;
|
|
@@ -628,7 +629,7 @@ async function handleOrgCreate(name, options) {
|
|
|
628
629
|
sourceOrgId: identity.orgId,
|
|
629
630
|
name: normalizedName
|
|
630
631
|
});
|
|
631
|
-
const workspace = await new (0,
|
|
632
|
+
const workspace = await new (0, _chunkRUYZAREBjs.DeeplineClient)({
|
|
632
633
|
apiKey: config.apiKey,
|
|
633
634
|
baseUrl: config.baseUrl
|
|
634
635
|
}).workspaces.create({
|
|
@@ -651,16 +652,16 @@ async function handleOrgCreate(name, options) {
|
|
|
651
652
|
orgName: created.org_name,
|
|
652
653
|
features: workspaceFeatures
|
|
653
654
|
});
|
|
654
|
-
|
|
655
|
+
_chunkML2ZY7YDjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
|
|
655
656
|
if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
|
|
656
|
-
|
|
657
|
+
_chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
|
|
657
658
|
{
|
|
658
659
|
ok: true,
|
|
659
660
|
...created,
|
|
660
661
|
initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
|
|
661
662
|
api_key_saved: true,
|
|
662
663
|
switched: true,
|
|
663
|
-
host_env_path:
|
|
664
|
+
host_env_path: _chunkML2ZY7YDjs.hostEnvFilePath.call(void 0, config.baseUrl),
|
|
664
665
|
...agentCommandContext(
|
|
665
666
|
organizationCommandContext({
|
|
666
667
|
orgId: created.org_id,
|
|
@@ -675,7 +676,7 @@ async function handleOrgCreate(name, options) {
|
|
|
675
676
|
lines: [
|
|
676
677
|
`Created organization: ${created.org_name}.`,
|
|
677
678
|
`Switched to ${created.org_name}.`,
|
|
678
|
-
`Saved host auth in ${
|
|
679
|
+
`Saved host auth in ${_chunkML2ZY7YDjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
|
|
679
680
|
]
|
|
680
681
|
}
|
|
681
682
|
]
|
|
@@ -708,26 +709,26 @@ Notes:
|
|
|
708
709
|
can make an unrelated terminal target the last-selected organization.
|
|
709
710
|
|
|
710
711
|
Agent loop:
|
|
711
|
-
deepline org list
|
|
712
|
-
deepline org set <number-or-org-id> --auth-scope folder
|
|
713
|
-
deepline org status
|
|
714
|
-
deepline auth status
|
|
712
|
+
deepline org list
|
|
713
|
+
deepline org set <number-or-org-id> --auth-scope folder
|
|
714
|
+
deepline org status
|
|
715
|
+
deepline auth status
|
|
715
716
|
|
|
716
717
|
Examples:
|
|
717
|
-
deepline org list
|
|
718
|
-
deepline org status
|
|
719
|
-
deepline org create Acme
|
|
718
|
+
deepline org list
|
|
719
|
+
deepline org status
|
|
720
|
+
deepline org create Acme
|
|
720
721
|
deepline org set 2
|
|
721
722
|
deepline org set 2 --auth-scope folder
|
|
722
|
-
deepline org set --org-id org_123
|
|
723
|
-
cd path/to/project-a && deepline org set Prove --auth-scope folder
|
|
724
|
-
cd path/to/project-b && deepline org set Mixmax --auth-scope folder
|
|
725
|
-
cd .. && deepline org status
|
|
723
|
+
deepline org set --org-id org_123
|
|
724
|
+
cd path/to/project-a && deepline org set Prove --auth-scope folder
|
|
725
|
+
cd path/to/project-b && deepline org set Mixmax --auth-scope folder
|
|
726
|
+
cd .. && deepline org status
|
|
726
727
|
`
|
|
727
728
|
);
|
|
728
729
|
const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
|
|
729
730
|
const ssoPath = "/api/v2/auth/workspace/sso";
|
|
730
|
-
const printSso = (payload, json) =>
|
|
731
|
+
const printSso = (payload, json) => _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
|
|
731
732
|
{
|
|
732
733
|
...payload,
|
|
733
734
|
render: {
|
|
@@ -751,7 +752,7 @@ Examples:
|
|
|
751
752
|
},
|
|
752
753
|
{ json }
|
|
753
754
|
);
|
|
754
|
-
const ssoHttp = () => new (0,
|
|
755
|
+
const ssoHttp = () => new (0, _chunkML2ZY7YDjs.HttpClient)(_chunkML2ZY7YDjs.resolveConfig.call(void 0, ));
|
|
755
756
|
sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
|
|
756
757
|
printSso(await ssoHttp().get(ssoPath), options.json);
|
|
757
758
|
});
|
|
@@ -782,8 +783,8 @@ Examples:
|
|
|
782
783
|
"Identity provider metadata XML file"
|
|
783
784
|
).option("--json", "Emit JSON output").action(
|
|
784
785
|
async (options) => {
|
|
785
|
-
const config =
|
|
786
|
-
const http = new (0,
|
|
786
|
+
const config = _chunkML2ZY7YDjs.resolveConfig.call(void 0, );
|
|
787
|
+
const http = new (0, _chunkML2ZY7YDjs.HttpClient)(config);
|
|
787
788
|
const identity = await fetchWorkspaceCreationIdentity(
|
|
788
789
|
http,
|
|
789
790
|
config.apiKey
|
|
@@ -830,9 +831,9 @@ Notes:
|
|
|
830
831
|
|
|
831
832
|
Examples:
|
|
832
833
|
deepline org list
|
|
833
|
-
deepline org list
|
|
834
|
+
deepline org list
|
|
834
835
|
`
|
|
835
|
-
).option("--json", "Emit JSON output
|
|
836
|
+
).option("--json", "Emit JSON output").action(handleOrgList);
|
|
836
837
|
org.command("create <name>").description("Create a new organization and switch this CLI to it.").addHelpText(
|
|
837
838
|
"after",
|
|
838
839
|
`
|
|
@@ -843,9 +844,9 @@ Notes:
|
|
|
843
844
|
|
|
844
845
|
Examples:
|
|
845
846
|
deepline org create Acme
|
|
846
|
-
deepline org create "Acme Sales"
|
|
847
|
+
deepline org create "Acme Sales"
|
|
847
848
|
`
|
|
848
|
-
).option("--json", "Emit JSON output
|
|
849
|
+
).option("--json", "Emit JSON output").action(handleOrgCreate);
|
|
849
850
|
org.command("status").description("Show the current organization and auth source.").addHelpText(
|
|
850
851
|
"after",
|
|
851
852
|
`
|
|
@@ -861,16 +862,16 @@ Notes:
|
|
|
861
862
|
|
|
862
863
|
Examples:
|
|
863
864
|
deepline org status
|
|
864
|
-
deepline org status
|
|
865
|
+
deepline org status
|
|
865
866
|
`
|
|
866
|
-
).option("--json", "Emit JSON output
|
|
867
|
+
).option("--json", "Emit JSON output").action(handleOrgStatus);
|
|
867
868
|
const addOrgSetOptions = (command) => command.option("--org-id <id>", "Set using an explicit organization id").option(
|
|
868
869
|
"--auth-scope <scope>",
|
|
869
870
|
"Where to save auth: auto, folder, or global",
|
|
870
871
|
"auto"
|
|
871
872
|
).option(
|
|
872
873
|
"--json",
|
|
873
|
-
"Emit JSON output
|
|
874
|
+
"Emit JSON output"
|
|
874
875
|
);
|
|
875
876
|
addOrgSetOptions(
|
|
876
877
|
org.command("set [selection]").description("Set the organization for the selected auth scope.").addHelpText(
|
|
@@ -900,7 +901,7 @@ Notes:
|
|
|
900
901
|
is shared by every unpinned CLI on this machine. Global auth remains
|
|
901
902
|
supported in projects; use a folder pin when you want a project-specific
|
|
902
903
|
default. For automation, pass
|
|
903
|
-
DEEPLINE_API_KEY only to that invocation and confirm with org status
|
|
904
|
+
DEEPLINE_API_KEY only to that invocation and confirm with org status.
|
|
904
905
|
|
|
905
906
|
Use --json for stable fields including effective_auth_scope,
|
|
906
907
|
auth_scope_reason, host_env_path, project_env_paths, warnings, org_id, and
|
|
@@ -911,8 +912,8 @@ Examples:
|
|
|
911
912
|
deepline org set 2
|
|
912
913
|
deepline org set 2 --auth-scope folder
|
|
913
914
|
deepline org set 2 --auth-scope global
|
|
914
|
-
deepline org set --org-id org_123
|
|
915
|
-
deepline org status
|
|
915
|
+
deepline org set --org-id org_123
|
|
916
|
+
deepline org status
|
|
916
917
|
`
|
|
917
918
|
)
|
|
918
919
|
).action(handleOrgSwitch);
|
|
@@ -934,7 +935,7 @@ Examples:
|
|
|
934
935
|
deepline org switch 2
|
|
935
936
|
deepline org switch 2 --auth-scope folder
|
|
936
937
|
deepline org switch 2 --auth-scope global
|
|
937
|
-
deepline org switch --org-id org_123
|
|
938
|
+
deepline org switch --org-id org_123
|
|
938
939
|
`
|
|
939
940
|
)
|
|
940
941
|
).action(
|