deepline 0.3.489 → 0.3.491
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-core.ts +6 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +4 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/direct-admission-deadline.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -0
- package/dist/cli/{auth-5RIU6GT7.mjs → auth-FXAC472Y.mjs} +5 -5
- package/dist/cli/auth-QIDL3YCW.js +43 -0
- package/dist/cli/{billing-T5MAGF25.js → billing-PDOA3KZ3.js} +79 -79
- package/dist/cli/{billing-T4TMPRFS.mjs → billing-UM4LE33K.mjs} +6 -6
- package/dist/cli/{chunk-SZHNIKTR.js → chunk-27MRSV6O.js} +26 -26
- package/dist/cli/{chunk-NBHCEVWY.mjs → chunk-2MW6TGNZ.mjs} +4 -4
- package/dist/cli/{chunk-FL7NHJTS.js → chunk-3FMU6F6E.js} +15 -15
- package/dist/cli/{chunk-TMQ3PCSY.mjs → chunk-3K4IAV7I.mjs} +2 -2
- package/dist/cli/{chunk-LMUOUIBV.mjs → chunk-3WRWPNHE.mjs} +5 -5
- package/dist/cli/{chunk-IAYSWZDJ.js → chunk-4IP5MLWU.js} +1 -1
- package/dist/cli/{chunk-6V7KVRR5.js → chunk-4OLXMJ2L.js} +13 -2
- package/dist/cli/{chunk-WIKIF67Q.js → chunk-5KMGKG4B.js} +8 -8
- package/dist/cli/{chunk-WRJ6MEY5.mjs → chunk-6PMM7VJN.mjs} +1 -1
- package/dist/cli/{chunk-GW6HV7Z7.js → chunk-6UARNRXT.js} +7 -7
- package/dist/cli/{chunk-UYZNRLDE.js → chunk-74H5OTRM.js} +1 -1
- package/dist/cli/{chunk-K2RUSHZ7.js → chunk-AEKJZJ4R.js} +4 -4
- package/dist/cli/{chunk-F3TDT57M.js → chunk-B2TXKEED.js} +5 -5
- package/dist/cli/{chunk-RI2PLVD4.js → chunk-BCKIBVEJ.js} +7 -7
- package/dist/cli/{chunk-S5PMBDY6.mjs → chunk-CFPFTS3A.mjs} +12 -12
- package/dist/cli/{chunk-J7EENGKJ.mjs → chunk-CGDUFVNE.mjs} +2 -2
- package/dist/cli/{chunk-S4F2R2LO.js → chunk-CRBBGKRH.js} +9 -9
- package/dist/cli/{chunk-JVHOS3K3.mjs → chunk-DEJIN4DF.mjs} +1 -1
- package/dist/cli/{chunk-FH7ZABHW.js → chunk-DUFRH43S.js} +261 -261
- package/dist/cli/{chunk-H66YVVT7.mjs → chunk-EPD7NSDJ.mjs} +2 -2
- package/dist/cli/{chunk-INW22YP7.mjs → chunk-FTXIJTV2.mjs} +3 -5
- package/dist/cli/{chunk-G7POOFBJ.mjs → chunk-H6UIS36S.mjs} +2 -2
- package/dist/cli/{chunk-CSBMKHTV.js → chunk-HHTVRICE.js} +17 -17
- package/dist/cli/{chunk-YSB44HZB.js → chunk-HNG2U3IG.js} +2 -2
- package/dist/cli/{chunk-L2GMFNAO.mjs → chunk-HSJK6EMU.mjs} +3 -3
- package/dist/cli/{chunk-R23HZ6AV.js → chunk-I64PYCTB.js} +2 -2
- package/dist/cli/{chunk-5DEJ3TLB.js → chunk-IG3GSBBE.js} +122 -119
- package/dist/cli/{chunk-C55LNEUF.mjs → chunk-IIO7UOVW.mjs} +5 -2
- package/dist/cli/{chunk-QJ4FWKUU.mjs → chunk-KGJVDR4Q.mjs} +2 -2
- package/dist/cli/{chunk-3S5VBG6Z.mjs → chunk-LMG7O6XJ.mjs} +2 -2
- package/dist/cli/{chunk-RACN23LT.mjs → chunk-MAM6ZOVS.mjs} +18 -4
- package/dist/cli/{chunk-VP65YKOA.js → chunk-MN6DCV63.js} +5 -5
- package/dist/cli/{chunk-7R243PYK.mjs → chunk-NUOKAKZW.mjs} +1 -1
- package/dist/cli/{chunk-ZICPJKMP.mjs → chunk-OLHWZM4A.mjs} +5 -5
- package/dist/cli/{chunk-6PHHQDM6.mjs → chunk-ORKLMANE.mjs} +1 -1
- package/dist/cli/{chunk-4GWEZPZR.mjs → chunk-OYJTLEB4.mjs} +1 -1
- package/dist/cli/{chunk-2QUROYZU.mjs → chunk-PIPEPCRL.mjs} +1 -1
- package/dist/cli/{chunk-FNKSRKTA.js → chunk-Q7G7CU4W.js} +3 -3
- package/dist/cli/{chunk-35N4S2E6.mjs → chunk-QBOE5LEH.mjs} +1 -1
- package/dist/cli/{chunk-FFDWL5N2.js → chunk-RFSXXDH7.js} +16 -16
- package/dist/cli/{chunk-DHAJSTSH.mjs → chunk-S4CYM4EC.mjs} +6 -6
- package/dist/cli/{chunk-UI67QLIR.js → chunk-SJOHQ2WW.js} +53 -53
- package/dist/cli/{chunk-I4NWMPT3.js → chunk-SUMKWA53.js} +53 -53
- package/dist/cli/{chunk-6FMP5XRF.js → chunk-TH7JLR5D.js} +6 -6
- package/dist/cli/{chunk-Q2EIZKVX.mjs → chunk-TKLDKIJU.mjs} +12 -1
- package/dist/cli/{chunk-DY7T6VNT.js → chunk-TMAS3WH3.js} +21 -21
- package/dist/cli/{chunk-Y3SG26KP.mjs → chunk-VC3SH4QW.mjs} +4 -4
- package/dist/cli/{chunk-OTQ2CO6M.mjs → chunk-WCWVXN3R.mjs} +2 -2
- package/dist/cli/{chunk-YEX3VNAY.mjs → chunk-X75ONMDJ.mjs} +2 -2
- package/dist/cli/{chunk-4EFD6R2V.js → chunk-X7YOVJBC.js} +52 -38
- package/dist/cli/{chunk-LOX3BISD.js → chunk-YNWET57Z.js} +9 -11
- package/dist/cli/{chunk-QXWE6PHI.mjs → chunk-YV4DP6KQ.mjs} +2 -2
- package/dist/cli/{chunk-UZ7VPOTA.js → chunk-ZEZ3CZ3X.js} +3 -3
- package/dist/cli/{chunk-LM5UIDFA.js → chunk-ZX2FXZJN.js} +7 -7
- package/dist/cli/{csv-XTKN255I.js → csv-IGPAPAES.js} +13 -13
- package/dist/cli/{csv-WAD54M7T.mjs → csv-RNMQHECI.mjs} +4 -4
- package/dist/cli/{db-TTS6Y4FI.js → db-32OXM3TO.js} +27 -27
- package/dist/cli/{db-2ELZMJFC.mjs → db-CKMVVGXJ.mjs} +6 -6
- package/dist/cli/describe-67GMIEIO.js +50 -0
- package/dist/cli/{describe-Z7GWMGKU.mjs → describe-QR7I3VOF.mjs} +21 -20
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-WUBVVJXN.js → executions-PCZS7B2M.js} +8 -8
- package/dist/cli/{executions-2TQH54AB.mjs → executions-S4M4JMCU.mjs} +6 -6
- package/dist/cli/{feedback-6KAY4LE6.js → feedback-6EGKPZ3U.js} +8 -8
- package/dist/cli/{feedback-QI75ZVF2.mjs → feedback-FGUJVCBS.mjs} +4 -4
- package/dist/cli/getting-started.d.mts +17 -2
- package/dist/cli/getting-started.d.ts +17 -2
- package/dist/cli/getting-started.js +8 -2
- package/dist/cli/getting-started.mjs +9 -3
- package/dist/cli/{git-3PI2SXVS.mjs → git-LR4ARG5H.mjs} +5 -5
- package/dist/cli/git-PIH5Z5LN.js +25 -0
- package/dist/cli/index.js +138 -137
- package/dist/cli/index.mjs +41 -40
- package/dist/cli/{legacy-noops-SIDE3HLT.mjs → legacy-noops-S37PJ7OJ.mjs} +5 -5
- package/dist/cli/{legacy-noops-BNEVRTQT.js → legacy-noops-VX4JEQR6.js} +8 -8
- package/dist/cli/{monitors-WRWVVXUZ.js → monitors-ADASJI72.js} +91 -91
- package/dist/cli/{monitors-BYQ5V5MX.mjs → monitors-H3AX6CZG.mjs} +7 -7
- package/dist/cli/{org-OZNDX3G2.mjs → org-D3F5LUDW.mjs} +6 -6
- package/dist/cli/{org-KWCSSJ3Y.js → org-ZRJ3C56J.js} +72 -72
- package/dist/cli/{pages-OQVOMVF5.js → pages-5TKO3644.js} +17 -17
- package/dist/cli/{pages-DXU3TNND.mjs → pages-PSHU366M.mjs} +6 -6
- package/dist/cli/{play-ZFG4HDDX.mjs → play-AUDDK7XB.mjs} +20 -19
- package/dist/cli/{play-6D7U66KO.js → play-VDAETQDI.js} +323 -322
- package/dist/cli/{providers-H7R3Z5HS.js → providers-IURPWRWD.js} +9 -9
- package/dist/cli/{providers-4RRQIK3Q.mjs → providers-X7YMZSKQ.mjs} +6 -6
- package/dist/cli/{quickstart-TFKRPMCH.mjs → quickstart-6AGWVFNX.mjs} +5 -5
- package/dist/cli/{quickstart-FQ5E5G6O.js → quickstart-Y6GFXLDV.js} +13 -13
- package/dist/cli/{run-GRCGGUUM.mjs → run-TG7J45NS.mjs} +26 -25
- package/dist/cli/{run-QRDJTXKB.js → run-TQFGOXNT.js} +41 -40
- package/dist/cli/{search-OEVSDE3U.mjs → search-3G4J2GC6.mjs} +7 -7
- package/dist/cli/search-VC43NUY7.js +32 -0
- package/dist/cli/{search-output-F6KBWKT2.js → search-output-NPZICK5C.js} +6 -6
- package/dist/cli/{search-output-VK5ZDVKL.mjs → search-output-ZGNHDCLL.mjs} +4 -4
- package/dist/cli/{secrets-DCRVVQV2.mjs → secrets-EAWJBRUD.mjs} +6 -6
- package/dist/cli/{secrets-KKAAZENS.js → secrets-KTTHT4ZG.js} +15 -15
- package/dist/cli/{sessions-XVBIXCXU.mjs → sessions-D4Q3LCEQ.mjs} +5 -5
- package/dist/cli/{sessions-FDHENJVG.js → sessions-S4YVBPAW.js} +6 -6
- package/dist/cli/{settings-36HMWFAP.js → settings-BAK3VOWW.js} +79 -78
- package/dist/cli/{settings-OBVR52US.mjs → settings-JUORW6NL.mjs} +12 -11
- package/dist/cli/{setup-KFYQZYP3.mjs → setup-AXFGCXJE.mjs} +17 -12
- package/dist/cli/{setup-M6OWOPMB.js → setup-NJPHTW32.js} +60 -55
- package/dist/cli/skills-4NQZISNK.js +36 -0
- package/dist/cli/{skills-AZDPA6IQ.mjs → skills-SKJVDJEF.mjs} +10 -7
- package/dist/cli/{tools-F6XEUK7H.mjs → tools-63THJVJZ.mjs} +19 -18
- package/dist/cli/tools-BAHK33FQ.js +57 -0
- package/dist/cli/update-EMIGRGJ7.js +34 -0
- package/dist/cli/{update-QMGJRICE.mjs → update-KSID5F74.mjs} +10 -9
- package/dist/cli/{workflow-M4YPUASM.js → workflow-BLSMWBKW.js} +17 -17
- package/dist/cli/{workflow-L5WNCAPB.mjs → workflow-C4B54X2Z.mjs} +7 -7
- package/dist/{client-BkbDHRIg.d.mts → client-B4R1scm2.d.mts} +1 -1
- package/dist/{client-D3hVHXjK.d.ts → client-CQgGFxAH.d.ts} +1 -1
- package/dist/{client-core-DUdVqO_m.d.ts → client-core-BUNjKBKq.d.ts} +6 -1
- package/dist/{client-core-BZoSMKcY.d.mts → client-core-DMvHWjub.d.mts} +6 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +110 -110
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-PSIS3XA6.js +0 -43
- package/dist/cli/describe-2V7H5LJP.js +0 -49
- package/dist/cli/git-DCADFTQ6.js +0 -25
- package/dist/cli/search-2FB7WQUS.js +0 -32
- package/dist/cli/skills-URCPOKZZ.js +0 -33
- package/dist/cli/tools-4G5J5NQP.js +0 -56
- package/dist/cli/update-UWVL2OYA.js +0 -33
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YV4DP6KQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRODUCT_NOTIFICATION_EVENT_CATALOG,
|
|
6
6
|
resolveLegacySlackNotification
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IIO7UOVW.mjs";
|
|
8
8
|
import "./chunk-L2VKAASU.mjs";
|
|
9
9
|
import "./chunk-ONONSV2Q.mjs";
|
|
10
10
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -13,22 +13,23 @@ import {
|
|
|
13
13
|
readCliUpdatePreferences,
|
|
14
14
|
runUpdateCommand,
|
|
15
15
|
setCliAutoUpdateEnabled
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-OLHWZM4A.mjs";
|
|
17
|
+
import "./chunk-ORKLMANE.mjs";
|
|
18
|
+
import "./chunk-MAM6ZOVS.mjs";
|
|
19
|
+
import "./chunk-VC3SH4QW.mjs";
|
|
20
|
+
import "./chunk-NUOKAKZW.mjs";
|
|
21
21
|
import {
|
|
22
22
|
openInBrowser,
|
|
23
23
|
printCommandEnvelope
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-X75ONMDJ.mjs";
|
|
25
|
+
import "./chunk-PIPEPCRL.mjs";
|
|
26
|
+
import "./chunk-6PMM7VJN.mjs";
|
|
27
27
|
import "./chunk-4QF2K7TM.mjs";
|
|
28
28
|
import "./chunk-DLIRSHV6.mjs";
|
|
29
29
|
import "./chunk-HBL4PM5Q.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-OYJTLEB4.mjs";
|
|
31
31
|
import "./chunk-WZYKRD7T.mjs";
|
|
32
|
+
import "./chunk-TKLDKIJU.mjs";
|
|
32
33
|
import "./chunk-KRD6H754.mjs";
|
|
33
34
|
|
|
34
35
|
// src/cli/commands/settings.ts
|
|
@@ -7,23 +7,24 @@ import {
|
|
|
7
7
|
readPendingAuthClaim,
|
|
8
8
|
reportApprovalLinkShown,
|
|
9
9
|
reportSetupCompleted
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HSJK6EMU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
npmSupportsAllowScripts,
|
|
13
13
|
readNpmVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ORKLMANE.mjs";
|
|
15
15
|
import {
|
|
16
|
+
deeplineGtmCodexSkillFile,
|
|
16
17
|
runSkillsCommand,
|
|
17
18
|
skillsStatePathForScope
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MAM6ZOVS.mjs";
|
|
19
20
|
import {
|
|
20
21
|
resolveShellSpawn
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-VC3SH4QW.mjs";
|
|
23
|
+
import "./chunk-NUOKAKZW.mjs";
|
|
23
24
|
import {
|
|
24
25
|
openInBrowser,
|
|
25
26
|
printCommandEnvelope
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-X75ONMDJ.mjs";
|
|
27
28
|
import {
|
|
28
29
|
autoDetectBaseUrl,
|
|
29
30
|
baseUrlSlug,
|
|
@@ -32,20 +33,20 @@ import {
|
|
|
32
33
|
resolveProjectApiKeyForBaseUrl,
|
|
33
34
|
resolveProjectPinTarget,
|
|
34
35
|
sdkCliStateDirPath
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PIPEPCRL.mjs";
|
|
36
37
|
import {
|
|
37
38
|
SDK_VERSION
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6PMM7VJN.mjs";
|
|
39
40
|
import "./chunk-4QF2K7TM.mjs";
|
|
40
41
|
import "./chunk-DLIRSHV6.mjs";
|
|
41
42
|
import "./chunk-HBL4PM5Q.mjs";
|
|
42
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-OYJTLEB4.mjs";
|
|
43
44
|
import "./chunk-WZYKRD7T.mjs";
|
|
44
45
|
import {
|
|
45
46
|
DEEPLINE_GTM_SKILL,
|
|
46
47
|
DEEPLINE_GTM_STARTER_PROMPTS,
|
|
47
48
|
deeplineGtmGettingStartedPayload
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TKLDKIJU.mjs";
|
|
49
50
|
import "./chunk-KRD6H754.mjs";
|
|
50
51
|
|
|
51
52
|
// src/cli/commands/setup.ts
|
|
@@ -692,7 +693,9 @@ async function runDoctorCommand(options) {
|
|
|
692
693
|
root,
|
|
693
694
|
authStatus
|
|
694
695
|
});
|
|
695
|
-
const gettingStarted = deeplineGtmGettingStartedPayload(
|
|
696
|
+
const gettingStarted = deeplineGtmGettingStartedPayload(
|
|
697
|
+
deeplineGtmCodexSkillFile(root)
|
|
698
|
+
);
|
|
696
699
|
printCommandEnvelope(
|
|
697
700
|
{
|
|
698
701
|
ok,
|
|
@@ -1126,7 +1129,9 @@ async function runSetupCommand(options) {
|
|
|
1126
1129
|
root,
|
|
1127
1130
|
authStatus: auth
|
|
1128
1131
|
});
|
|
1129
|
-
const gettingStarted = deeplineGtmGettingStartedPayload(
|
|
1132
|
+
const gettingStarted = deeplineGtmGettingStartedPayload(
|
|
1133
|
+
deeplineGtmCodexSkillFile(root)
|
|
1134
|
+
);
|
|
1130
1135
|
const doctorPayload = {
|
|
1131
1136
|
ok: assessment.ok,
|
|
1132
1137
|
status: assessment.ok ? "complete" : "failed",
|
|
@@ -7,24 +7,24 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkSUMKWA53js = require('./chunk-SUMKWA53.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkI64PYCTBjs = require('./chunk-I64PYCTB.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var _chunk4EFD6R2Vjs = require('./chunk-4EFD6R2V.js');
|
|
19
18
|
|
|
19
|
+
var _chunkX7YOVJBCjs = require('./chunk-X7YOVJBC.js');
|
|
20
20
|
|
|
21
|
-
var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
|
|
22
|
-
require('./chunk-FNKSRKTA.js');
|
|
23
21
|
|
|
22
|
+
var _chunkSJOHQ2WWjs = require('./chunk-SJOHQ2WW.js');
|
|
23
|
+
require('./chunk-Q7G7CU4W.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
|
|
27
26
|
|
|
27
|
+
var _chunkBCKIBVEJjs = require('./chunk-BCKIBVEJ.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -32,20 +32,21 @@ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
|
|
36
35
|
|
|
36
|
+
var _chunkZEZ3CZ3Xjs = require('./chunk-ZEZ3CZ3X.js');
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
var _chunkAEKJZJ4Rjs = require('./chunk-AEKJZJ4R.js');
|
|
39
40
|
require('./chunk-ALJJRZNJ.js');
|
|
40
41
|
require('./chunk-XNYIZMNQ.js');
|
|
41
42
|
require('./chunk-DIAWYWT5.js');
|
|
42
|
-
require('./chunk-
|
|
43
|
+
require('./chunk-74H5OTRM.js');
|
|
43
44
|
require('./chunk-OG64RBAC.js');
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
|
|
48
|
-
var
|
|
49
|
+
var _chunk4OLXMJ2Ljs = require('./chunk-4OLXMJ2L.js');
|
|
49
50
|
require('./chunk-COGTRVWW.js');
|
|
50
51
|
|
|
51
52
|
// src/cli/commands/setup.ts
|
|
@@ -294,7 +295,7 @@ function normalizeScope(value) {
|
|
|
294
295
|
}
|
|
295
296
|
function resolveScopeRoot(scope) {
|
|
296
297
|
if (scope === "global") return null;
|
|
297
|
-
const target =
|
|
298
|
+
const target = _chunkZEZ3CZ3Xjs.resolveProjectPinTarget.call(void 0, );
|
|
298
299
|
if (!target.ok) {
|
|
299
300
|
throw new Error(
|
|
300
301
|
`Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
|
|
@@ -311,7 +312,7 @@ function openSetupAuthorization(authorizationUrl, options = {}) {
|
|
|
311
312
|
const url = authorizationUrl.trim();
|
|
312
313
|
if (!url) return "failed";
|
|
313
314
|
if (options.open) return options.open(url);
|
|
314
|
-
const result =
|
|
315
|
+
const result = _chunkBCKIBVEJjs.openInBrowser.call(void 0, url, { deduplicate: false });
|
|
315
316
|
return result === "opened" ? "opened" : "failed";
|
|
316
317
|
}
|
|
317
318
|
function buildPendingAuthorizationOutput(input) {
|
|
@@ -353,7 +354,7 @@ function buildPendingAuthorizationOutput(input) {
|
|
|
353
354
|
};
|
|
354
355
|
}
|
|
355
356
|
function setupStatePath(baseUrl, scope, root) {
|
|
356
|
-
return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "state.json") : _path.join.call(void 0,
|
|
357
|
+
return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "state.json") : _path.join.call(void 0, _chunkZEZ3CZ3Xjs.sdkCliStateDirPath.call(void 0, baseUrl), "setup.json");
|
|
357
358
|
}
|
|
358
359
|
async function captureStdout(run) {
|
|
359
360
|
let stdout = "";
|
|
@@ -396,7 +397,7 @@ function isNpmManagedDeeplinePath(path) {
|
|
|
396
397
|
}
|
|
397
398
|
function removeKnownLegacyPaths(baseUrl) {
|
|
398
399
|
return CliInstallation.forUser({
|
|
399
|
-
baseUrlSlug:
|
|
400
|
+
baseUrlSlug: _chunkZEZ3CZ3Xjs.baseUrlSlug.call(void 0, baseUrl),
|
|
400
401
|
home: _os.homedir.call(void 0, )
|
|
401
402
|
}).removeRetiredArtifacts();
|
|
402
403
|
}
|
|
@@ -434,7 +435,7 @@ function resolvePersistentGlobalCommand(dependencies = {}) {
|
|
|
434
435
|
const homebrewCommand = pathClis.find(isHomebrewFormulaCommand);
|
|
435
436
|
if (homebrewCommand) return homebrewCommand;
|
|
436
437
|
for (const manager of ["npm", "pnpm"]) {
|
|
437
|
-
const plan =
|
|
438
|
+
const plan = _chunkSJOHQ2WWjs.resolveShellSpawn.call(void 0,
|
|
438
439
|
manager,
|
|
439
440
|
manager === "npm" ? ["prefix", "-g"] : ["bin", "-g"],
|
|
440
441
|
platform
|
|
@@ -503,7 +504,7 @@ function writeSetupState(input) {
|
|
|
503
504
|
{
|
|
504
505
|
schemaVersion: 2,
|
|
505
506
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
506
|
-
cliVersion:
|
|
507
|
+
cliVersion: _chunkAEKJZJ4Rjs.SDK_VERSION,
|
|
507
508
|
host: input.baseUrl,
|
|
508
509
|
scope: input.scope,
|
|
509
510
|
root: input.root,
|
|
@@ -538,8 +539,8 @@ function failSetupPhase(phases, phase, code) {
|
|
|
538
539
|
}
|
|
539
540
|
function rollbackCommand(scope, root) {
|
|
540
541
|
const prefix = scope === "local" && root ? ` --prefix ${JSON.stringify(_path.join.call(void 0, root, ".deepline", "runtime"))}` : "";
|
|
541
|
-
const allowScriptsFlag =
|
|
542
|
-
return `npm install -g${prefix} --no-audit --no-fund --include=optional${allowScriptsFlag} deepline@${
|
|
542
|
+
const allowScriptsFlag = _chunkI64PYCTBjs.npmSupportsAllowScripts.call(void 0, _chunkI64PYCTBjs.readNpmVersion.call(void 0, process.env)) ? " --allow-scripts=esbuild" : "";
|
|
543
|
+
return `npm install -g${prefix} --no-audit --no-fund --include=optional${allowScriptsFlag} deepline@${_chunkAEKJZJ4Rjs.SDK_VERSION}`;
|
|
543
544
|
}
|
|
544
545
|
function setupResumeCommand(baseUrl, scope, orgName) {
|
|
545
546
|
const hostPrefix = baseUrl === "https://code.deepline.com" ? "" : `DEEPLINE_HOST_URL=${JSON.stringify(baseUrl)} `;
|
|
@@ -563,7 +564,7 @@ function reportSetupPhaseFailure(input) {
|
|
|
563
564
|
status: "failed"
|
|
564
565
|
});
|
|
565
566
|
const retry = setupRetry(input);
|
|
566
|
-
|
|
567
|
+
_chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
|
|
567
568
|
{
|
|
568
569
|
ok: false,
|
|
569
570
|
status: "failed",
|
|
@@ -585,7 +586,7 @@ function reportSetupPhaseFailure(input) {
|
|
|
585
586
|
async function readAuthStatus(authScope) {
|
|
586
587
|
try {
|
|
587
588
|
const captured = await captureStdout(
|
|
588
|
-
() =>
|
|
589
|
+
() => _chunkSUMKWA53js.handleStatus.call(void 0, [
|
|
589
590
|
"--json",
|
|
590
591
|
...authScope ? ["--auth-scope", authScope] : []
|
|
591
592
|
])
|
|
@@ -616,14 +617,14 @@ function reportSetupAuthStatusFailure(input) {
|
|
|
616
617
|
});
|
|
617
618
|
}
|
|
618
619
|
function buildDoctorAssessment(input) {
|
|
619
|
-
const skillsStatePath =
|
|
620
|
+
const skillsStatePath = _chunkX7YOVJBCjs.skillsStatePathForScope.call(void 0,
|
|
620
621
|
input.baseUrl,
|
|
621
622
|
input.scope,
|
|
622
623
|
input.root
|
|
623
624
|
);
|
|
624
625
|
const skillsState = parseCapturedJson(safeRead(skillsStatePath));
|
|
625
|
-
const apiKey = input.scope === "local" ?
|
|
626
|
-
const projectAuth = input.scope === "local" && apiKey ?
|
|
626
|
+
const apiKey = input.scope === "local" ? _chunkZEZ3CZ3Xjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkZEZ3CZ3Xjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
627
|
+
const projectAuth = input.scope === "local" && apiKey ? _chunkZEZ3CZ3Xjs.getResolvedProjectAuthSource.call(void 0, input.baseUrl, apiKey) : null;
|
|
627
628
|
const connected = _optionalChain([input, 'access', _4 => _4.authStatus, 'access', _5 => _5.payload, 'optionalAccess', _6 => _6.connected]) === true;
|
|
628
629
|
const authScopeOk = input.scope === "local" ? Boolean(projectAuth) : Boolean(apiKey && !projectAuth);
|
|
629
630
|
const skillsOk = _optionalChain([skillsState, 'optionalAccess', _7 => _7.scope]) === input.scope && typeof skillsState.skillsVersion === "string" && Array.isArray(skillsState.agents) && skillsState.agents.length > 0;
|
|
@@ -637,7 +638,7 @@ function buildDoctorAssessment(input) {
|
|
|
637
638
|
const checks = {
|
|
638
639
|
cli: {
|
|
639
640
|
ok: Boolean(cliPath) && cliScopeOk,
|
|
640
|
-
version:
|
|
641
|
+
version: _chunkAEKJZJ4Rjs.SDK_VERSION,
|
|
641
642
|
path: cliPath,
|
|
642
643
|
scope: input.scope
|
|
643
644
|
},
|
|
@@ -671,7 +672,7 @@ async function runDoctorCommand(options) {
|
|
|
671
672
|
scope = normalizeScope(options.scope);
|
|
672
673
|
root = resolveScopeRoot(scope);
|
|
673
674
|
} catch (error) {
|
|
674
|
-
|
|
675
|
+
_chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
|
|
675
676
|
{
|
|
676
677
|
ok: false,
|
|
677
678
|
status: "failed",
|
|
@@ -683,7 +684,7 @@ async function runDoctorCommand(options) {
|
|
|
683
684
|
);
|
|
684
685
|
return 2;
|
|
685
686
|
}
|
|
686
|
-
const baseUrl =
|
|
687
|
+
const baseUrl = _chunkZEZ3CZ3Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
687
688
|
const authScope = authScopeForSetup(scope);
|
|
688
689
|
const authStatus = await readAuthStatus(authScope);
|
|
689
690
|
const { ok, checks } = buildDoctorAssessment({
|
|
@@ -692,15 +693,17 @@ async function runDoctorCommand(options) {
|
|
|
692
693
|
root,
|
|
693
694
|
authStatus
|
|
694
695
|
});
|
|
695
|
-
const gettingStarted =
|
|
696
|
-
|
|
696
|
+
const gettingStarted = _chunk4OLXMJ2Ljs.deeplineGtmGettingStartedPayload.call(void 0,
|
|
697
|
+
_chunkX7YOVJBCjs.deeplineGtmCodexSkillFile.call(void 0, root)
|
|
698
|
+
);
|
|
699
|
+
_chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
|
|
697
700
|
{
|
|
698
701
|
ok,
|
|
699
702
|
status: ok ? "complete" : "failed",
|
|
700
703
|
code: ok ? "DOCTOR_OK" : "DOCTOR_FAILED",
|
|
701
704
|
exitCode: ok ? 0 : 7,
|
|
702
705
|
checks,
|
|
703
|
-
next: ok ?
|
|
706
|
+
next: ok ? _chunk4OLXMJ2Ljs.DEEPLINE_GTM_SKILL : "Review failed checks, then rerun: deepline doctor",
|
|
704
707
|
...ok ? { gettingStarted } : {},
|
|
705
708
|
render: {
|
|
706
709
|
sections: [
|
|
@@ -738,7 +741,7 @@ function pendingResult(input) {
|
|
|
738
741
|
input.orgName
|
|
739
742
|
)
|
|
740
743
|
});
|
|
741
|
-
|
|
744
|
+
_chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
|
|
742
745
|
{
|
|
743
746
|
ok: true,
|
|
744
747
|
status: "authorization_pending",
|
|
@@ -775,7 +778,7 @@ function pendingResult(input) {
|
|
|
775
778
|
async function runSetupCommand(options) {
|
|
776
779
|
let orgName = _optionalChain([options, 'access', _19 => _19.orgName, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()]);
|
|
777
780
|
if (options.orgName !== void 0 && !orgName) {
|
|
778
|
-
|
|
781
|
+
_chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
|
|
779
782
|
{
|
|
780
783
|
ok: false,
|
|
781
784
|
status: "failed",
|
|
@@ -793,7 +796,7 @@ async function runSetupCommand(options) {
|
|
|
793
796
|
scope = normalizeScope(options.scope);
|
|
794
797
|
root = resolveScopeRoot(scope);
|
|
795
798
|
} catch (error) {
|
|
796
|
-
|
|
799
|
+
_chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
|
|
797
800
|
{
|
|
798
801
|
ok: false,
|
|
799
802
|
status: "failed",
|
|
@@ -810,7 +813,7 @@ async function runSetupCommand(options) {
|
|
|
810
813
|
);
|
|
811
814
|
return 2;
|
|
812
815
|
}
|
|
813
|
-
const baseUrl =
|
|
816
|
+
const baseUrl = _chunkZEZ3CZ3Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
814
817
|
const previousState = readSetupState({ baseUrl, scope, root });
|
|
815
818
|
const { resumed, phases } = selectSetupProgress(previousState);
|
|
816
819
|
if (phases.cli.status !== "complete") {
|
|
@@ -897,7 +900,7 @@ async function runSetupCommand(options) {
|
|
|
897
900
|
process.stderr.write(`Installing Deepline skills (${scope})...
|
|
898
901
|
`);
|
|
899
902
|
const skills = await captureStdout(
|
|
900
|
-
() =>
|
|
903
|
+
() => _chunkX7YOVJBCjs.runSkillsCommand.call(void 0, { scope, json: true })
|
|
901
904
|
);
|
|
902
905
|
skillsPayload = parseCapturedJson(skills.stdout);
|
|
903
906
|
if (skills.exitCode !== 0) {
|
|
@@ -938,11 +941,11 @@ async function runSetupCommand(options) {
|
|
|
938
941
|
});
|
|
939
942
|
} else {
|
|
940
943
|
skillsPayload = parseCapturedJson(
|
|
941
|
-
safeRead(
|
|
944
|
+
safeRead(_chunkX7YOVJBCjs.skillsStatePathForScope.call(void 0, baseUrl, scope, root))
|
|
942
945
|
);
|
|
943
946
|
}
|
|
944
947
|
const authScope = authScopeForSetup(scope);
|
|
945
|
-
const pendingAtStart =
|
|
948
|
+
const pendingAtStart = _chunkSUMKWA53js.readPendingAuthClaim.call(void 0, baseUrl, authScope);
|
|
946
949
|
const replacingPendingClaim = Boolean(
|
|
947
950
|
pendingAtStart && orgName && _optionalChain([pendingAtStart, 'access', _24 => _24.orgName, 'optionalAccess', _25 => _25.toLowerCase, 'call', _26 => _26()]) !== orgName.toLowerCase()
|
|
948
951
|
);
|
|
@@ -969,9 +972,9 @@ async function runSetupCommand(options) {
|
|
|
969
972
|
const workspace = asRecord(auth.payload.workspace);
|
|
970
973
|
return typeof _optionalChain([workspace, 'optionalAccess', _29 => _29.name]) === "string" && workspace.name.trim().toLowerCase() === orgName.toLowerCase();
|
|
971
974
|
};
|
|
972
|
-
let pending = replacingPendingClaim ? null :
|
|
975
|
+
let pending = replacingPendingClaim ? null : _chunkSUMKWA53js.readPendingAuthClaim.call(void 0, baseUrl, authScope);
|
|
973
976
|
if (replacingPendingClaim && connectedToRequestedWorkspace()) {
|
|
974
|
-
|
|
977
|
+
_chunkSUMKWA53js.clearPendingClaim.call(void 0, baseUrl, authScope);
|
|
975
978
|
}
|
|
976
979
|
let authClaimSource = "none";
|
|
977
980
|
if (pending || !connectedToRequestedWorkspace()) {
|
|
@@ -980,7 +983,7 @@ async function runSetupCommand(options) {
|
|
|
980
983
|
if (!pending) {
|
|
981
984
|
process.stderr.write("Starting Deepline browser authorization...\n");
|
|
982
985
|
const registered = await captureStdout(
|
|
983
|
-
() =>
|
|
986
|
+
() => _chunkSUMKWA53js.handleRegister.call(void 0,
|
|
984
987
|
[
|
|
985
988
|
"--wait",
|
|
986
989
|
"no",
|
|
@@ -1006,7 +1009,7 @@ async function runSetupCommand(options) {
|
|
|
1006
1009
|
extra: { detail: parseCapturedJson(registered.stdout), authScope }
|
|
1007
1010
|
});
|
|
1008
1011
|
}
|
|
1009
|
-
pending =
|
|
1012
|
+
pending = _chunkSUMKWA53js.readPendingAuthClaim.call(void 0, baseUrl, authScope);
|
|
1010
1013
|
if (!_optionalChain([pending, 'optionalAccess', _30 => _30.claimUrl])) {
|
|
1011
1014
|
return reportSetupPhaseFailure({
|
|
1012
1015
|
baseUrl,
|
|
@@ -1036,20 +1039,20 @@ async function runSetupCommand(options) {
|
|
|
1036
1039
|
json: options.json
|
|
1037
1040
|
});
|
|
1038
1041
|
if (pending.approvalLinkReporting) {
|
|
1039
|
-
await
|
|
1042
|
+
await _chunkSUMKWA53js.reportApprovalLinkShown.call(void 0, baseUrl, pending, "manual");
|
|
1040
1043
|
}
|
|
1041
1044
|
return exitCode;
|
|
1042
1045
|
}
|
|
1043
1046
|
process.stderr.write("Opened Deepline sign-in in the browser.\n");
|
|
1044
1047
|
if (pending.approvalLinkReporting) {
|
|
1045
|
-
await
|
|
1048
|
+
await _chunkSUMKWA53js.reportApprovalLinkShown.call(void 0, baseUrl, pending, "auto");
|
|
1046
1049
|
}
|
|
1047
1050
|
}
|
|
1048
1051
|
process.stderr.write(
|
|
1049
1052
|
"Waiting up to five minutes for Deepline approval...\n"
|
|
1050
1053
|
);
|
|
1051
1054
|
const waited = await captureStdout(
|
|
1052
|
-
() =>
|
|
1055
|
+
() => _chunkSUMKWA53js.handleWait.call(void 0, ["--timeout", "300", "--auth-scope", authScope])
|
|
1053
1056
|
);
|
|
1054
1057
|
auth = await readAuthStatus(authScope);
|
|
1055
1058
|
const authFailure = reportSetupAuthStatusFailure({
|
|
@@ -1063,7 +1066,7 @@ async function runSetupCommand(options) {
|
|
|
1063
1066
|
json: options.json
|
|
1064
1067
|
});
|
|
1065
1068
|
if (authFailure !== null) return authFailure;
|
|
1066
|
-
if (waited.exitCode ===
|
|
1069
|
+
if (waited.exitCode === _chunkSUMKWA53js.EXIT_WORKSPACE_MISMATCH) {
|
|
1067
1070
|
return reportSetupPhaseFailure({
|
|
1068
1071
|
baseUrl,
|
|
1069
1072
|
scope,
|
|
@@ -1071,7 +1074,7 @@ async function runSetupCommand(options) {
|
|
|
1071
1074
|
phases,
|
|
1072
1075
|
phase: "auth",
|
|
1073
1076
|
code: "REQUESTED_WORKSPACE_NOT_IN_ACCOUNT",
|
|
1074
|
-
exitCode:
|
|
1077
|
+
exitCode: _chunkSUMKWA53js.EXIT_WORKSPACE_MISMATCH,
|
|
1075
1078
|
message: `The requested workspace${orgName ? ` ${orgName}` : ""} does not exist in this account. Connect to an existing workspace first; then use deepline org create if you need a new one.`,
|
|
1076
1079
|
orgName,
|
|
1077
1080
|
retryAutomatic: false,
|
|
@@ -1080,7 +1083,7 @@ async function runSetupCommand(options) {
|
|
|
1080
1083
|
});
|
|
1081
1084
|
}
|
|
1082
1085
|
if (!connectedToRequestedWorkspace()) {
|
|
1083
|
-
const stillPending =
|
|
1086
|
+
const stillPending = _chunkSUMKWA53js.readPendingAuthClaim.call(void 0, baseUrl, authScope);
|
|
1084
1087
|
if (_optionalChain([stillPending, 'optionalAccess', _31 => _31.claimUrl])) {
|
|
1085
1088
|
const exitCode = pendingResult({
|
|
1086
1089
|
baseUrl,
|
|
@@ -1095,7 +1098,7 @@ async function runSetupCommand(options) {
|
|
|
1095
1098
|
json: options.json
|
|
1096
1099
|
});
|
|
1097
1100
|
if (stillPending.approvalLinkReporting) {
|
|
1098
|
-
await
|
|
1101
|
+
await _chunkSUMKWA53js.reportApprovalLinkShown.call(void 0, baseUrl, stillPending, "manual");
|
|
1099
1102
|
}
|
|
1100
1103
|
return exitCode;
|
|
1101
1104
|
}
|
|
@@ -1126,14 +1129,16 @@ async function runSetupCommand(options) {
|
|
|
1126
1129
|
root,
|
|
1127
1130
|
authStatus: auth
|
|
1128
1131
|
});
|
|
1129
|
-
const gettingStarted =
|
|
1132
|
+
const gettingStarted = _chunk4OLXMJ2Ljs.deeplineGtmGettingStartedPayload.call(void 0,
|
|
1133
|
+
_chunkX7YOVJBCjs.deeplineGtmCodexSkillFile.call(void 0, root)
|
|
1134
|
+
);
|
|
1130
1135
|
const doctorPayload = {
|
|
1131
1136
|
ok: assessment.ok,
|
|
1132
1137
|
status: assessment.ok ? "complete" : "failed",
|
|
1133
1138
|
code: assessment.ok ? "DOCTOR_OK" : "DOCTOR_FAILED",
|
|
1134
1139
|
exitCode: assessment.ok ? 0 : 7,
|
|
1135
1140
|
checks: assessment.checks,
|
|
1136
|
-
next: assessment.ok ?
|
|
1141
|
+
next: assessment.ok ? _chunk4OLXMJ2Ljs.DEEPLINE_GTM_SKILL : `deepline doctor --scope ${scope}`,
|
|
1137
1142
|
...assessment.ok ? { gettingStarted } : {}
|
|
1138
1143
|
};
|
|
1139
1144
|
if (!assessment.ok) {
|
|
@@ -1167,7 +1172,7 @@ async function runSetupCommand(options) {
|
|
|
1167
1172
|
const installedAgents = Array.isArray(_optionalChain([skillsPayload, 'optionalAccess', _38 => _38.agents])) ? skillsPayload.agents.filter(
|
|
1168
1173
|
(agent) => typeof agent === "string"
|
|
1169
1174
|
) : [];
|
|
1170
|
-
await
|
|
1175
|
+
await _chunkSUMKWA53js.reportSetupCompleted.call(void 0, {
|
|
1171
1176
|
baseUrl,
|
|
1172
1177
|
authScope,
|
|
1173
1178
|
scope,
|
|
@@ -1178,13 +1183,13 @@ async function runSetupCommand(options) {
|
|
|
1178
1183
|
const apiCheck = asRecord(_optionalChain([doctorChecks, 'optionalAccess', _40 => _40.api]));
|
|
1179
1184
|
const workspaceRecord = asRecord(_optionalChain([apiCheck, 'optionalAccess', _41 => _41.workspace]));
|
|
1180
1185
|
const workspaceName = typeof _optionalChain([workspaceRecord, 'optionalAccess', _42 => _42.name]) === "string" && workspaceRecord.name.trim() ? workspaceRecord.name.trim() : null;
|
|
1181
|
-
|
|
1186
|
+
_chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
|
|
1182
1187
|
{
|
|
1183
1188
|
ok: true,
|
|
1184
1189
|
status: "complete",
|
|
1185
1190
|
complete: true,
|
|
1186
1191
|
scope,
|
|
1187
|
-
cliVersion:
|
|
1192
|
+
cliVersion: _chunkAEKJZJ4Rjs.SDK_VERSION,
|
|
1188
1193
|
agents: installedAgents,
|
|
1189
1194
|
workspace: _nullishCoalesce(_optionalChain([apiCheck, 'optionalAccess', _43 => _43.workspace]), () => ( null)),
|
|
1190
1195
|
businessDomain: typeof _optionalChain([auth, 'access', _44 => _44.payload, 'optionalAccess', _45 => _45.businessDomain]) === "string" ? auth.payload.businessDomain : null,
|
|
@@ -1197,7 +1202,7 @@ async function runSetupCommand(options) {
|
|
|
1197
1202
|
currentPhase: null,
|
|
1198
1203
|
failedPhase: null,
|
|
1199
1204
|
resumed,
|
|
1200
|
-
next:
|
|
1205
|
+
next: _chunk4OLXMJ2Ljs.DEEPLINE_GTM_SKILL,
|
|
1201
1206
|
gettingStarted,
|
|
1202
1207
|
render: {
|
|
1203
1208
|
sections: [
|
|
@@ -1206,9 +1211,9 @@ async function runSetupCommand(options) {
|
|
|
1206
1211
|
lines: [
|
|
1207
1212
|
workspaceName ? `Deepline is installed and connected to ${workspaceName}.` : "Deepline is installed and connected.",
|
|
1208
1213
|
...workspaceName ? ["To link a different workspace, run: deepline auth register"] : [],
|
|
1209
|
-
`Use ${
|
|
1214
|
+
`Use ${_chunk4OLXMJ2Ljs.DEEPLINE_GTM_SKILL} in your agent.`,
|
|
1210
1215
|
gettingStarted.question,
|
|
1211
|
-
...
|
|
1216
|
+
..._chunk4OLXMJ2Ljs.DEEPLINE_GTM_STARTER_PROMPTS.map(
|
|
1212
1217
|
(example, index) => `${index + 1}. ${example.title}: ${example.prompt}`
|
|
1213
1218
|
),
|
|
1214
1219
|
`4. ${gettingStarted.customOption}`
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkX7YOVJBCjs = require('./chunk-X7YOVJBC.js');
|
|
13
|
+
require('./chunk-SJOHQ2WW.js');
|
|
14
|
+
require('./chunk-Q7G7CU4W.js');
|
|
15
|
+
require('./chunk-BCKIBVEJ.js');
|
|
16
|
+
require('./chunk-ZEZ3CZ3X.js');
|
|
17
|
+
require('./chunk-AEKJZJ4R.js');
|
|
18
|
+
require('./chunk-ALJJRZNJ.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-DIAWYWT5.js');
|
|
21
|
+
require('./chunk-74H5OTRM.js');
|
|
22
|
+
require('./chunk-OG64RBAC.js');
|
|
23
|
+
require('./chunk-4OLXMJ2L.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
exports.buildSkillsPlan = _chunkX7YOVJBCjs.buildSkillsPlan; exports.deeplineGtmCodexSkillFile = _chunkX7YOVJBCjs.deeplineGtmCodexSkillFile; exports.detectSkillsAgents = _chunkX7YOVJBCjs.detectSkillsAgents; exports.inferActiveSkillsScope = _chunkX7YOVJBCjs.inferActiveSkillsScope; exports.isSkillsPlanCurrent = _chunkX7YOVJBCjs.isSkillsPlanCurrent; exports.missingInstalledSkills = _chunkX7YOVJBCjs.missingInstalledSkills; exports.registerSkillsCommand = _chunkX7YOVJBCjs.registerSkillsCommand; exports.runSkillsCommand = _chunkX7YOVJBCjs.runSkillsCommand; exports.skillsStatePathForScope = _chunkX7YOVJBCjs.skillsStatePathForScope; exports.workspaceSkillRootsForAgents = _chunkX7YOVJBCjs.workspaceSkillRootsForAgents;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSkillsPlan,
|
|
3
|
+
deeplineGtmCodexSkillFile,
|
|
3
4
|
detectSkillsAgents,
|
|
4
5
|
inferActiveSkillsScope,
|
|
5
6
|
isSkillsPlanCurrent,
|
|
@@ -8,20 +9,22 @@ import {
|
|
|
8
9
|
runSkillsCommand,
|
|
9
10
|
skillsStatePathForScope,
|
|
10
11
|
workspaceSkillRootsForAgents
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-MAM6ZOVS.mjs";
|
|
13
|
+
import "./chunk-VC3SH4QW.mjs";
|
|
14
|
+
import "./chunk-NUOKAKZW.mjs";
|
|
15
|
+
import "./chunk-X75ONMDJ.mjs";
|
|
16
|
+
import "./chunk-PIPEPCRL.mjs";
|
|
17
|
+
import "./chunk-6PMM7VJN.mjs";
|
|
17
18
|
import "./chunk-4QF2K7TM.mjs";
|
|
18
19
|
import "./chunk-DLIRSHV6.mjs";
|
|
19
20
|
import "./chunk-HBL4PM5Q.mjs";
|
|
20
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-OYJTLEB4.mjs";
|
|
21
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
|
+
import "./chunk-TKLDKIJU.mjs";
|
|
22
24
|
import "./chunk-KRD6H754.mjs";
|
|
23
25
|
export {
|
|
24
26
|
buildSkillsPlan,
|
|
27
|
+
deeplineGtmCodexSkillFile,
|
|
25
28
|
detectSkillsAgents,
|
|
26
29
|
inferActiveSkillsScope,
|
|
27
30
|
isSkillsPlanCurrent,
|
|
@@ -9,38 +9,39 @@ import {
|
|
|
9
9
|
registerToolsCommands,
|
|
10
10
|
seedToolListScript,
|
|
11
11
|
writeToolReceipt
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-CFPFTS3A.mjs";
|
|
13
|
+
import "./chunk-EPD7NSDJ.mjs";
|
|
14
|
+
import "./chunk-2MW6TGNZ.mjs";
|
|
15
15
|
import "./chunk-5AEDYVB6.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-FTXIJTV2.mjs";
|
|
17
|
+
import "./chunk-DEJIN4DF.mjs";
|
|
18
18
|
import "./chunk-OVDNJAJN.mjs";
|
|
19
19
|
import "./chunk-XRDXNAAY.mjs";
|
|
20
20
|
import "./chunk-FR2ILQ4G.mjs";
|
|
21
21
|
import "./chunk-FIVKWNMT.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-YV4DP6KQ.mjs";
|
|
23
23
|
import "./chunk-3RGWTKK3.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-IIO7UOVW.mjs";
|
|
25
25
|
import "./chunk-L2VKAASU.mjs";
|
|
26
26
|
import "./chunk-ONONSV2Q.mjs";
|
|
27
27
|
import "./chunk-S3A4IXBQ.mjs";
|
|
28
28
|
import "./chunk-UBKA33KY.mjs";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-3WRWPNHE.mjs";
|
|
30
|
+
import "./chunk-QBOE5LEH.mjs";
|
|
31
|
+
import "./chunk-OLHWZM4A.mjs";
|
|
32
|
+
import "./chunk-ORKLMANE.mjs";
|
|
33
|
+
import "./chunk-MAM6ZOVS.mjs";
|
|
34
|
+
import "./chunk-VC3SH4QW.mjs";
|
|
35
|
+
import "./chunk-NUOKAKZW.mjs";
|
|
36
|
+
import "./chunk-X75ONMDJ.mjs";
|
|
37
|
+
import "./chunk-PIPEPCRL.mjs";
|
|
38
|
+
import "./chunk-6PMM7VJN.mjs";
|
|
39
39
|
import "./chunk-4QF2K7TM.mjs";
|
|
40
40
|
import "./chunk-DLIRSHV6.mjs";
|
|
41
41
|
import "./chunk-HBL4PM5Q.mjs";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-OYJTLEB4.mjs";
|
|
43
43
|
import "./chunk-WZYKRD7T.mjs";
|
|
44
|
+
import "./chunk-TKLDKIJU.mjs";
|
|
44
45
|
import "./chunk-KRD6H754.mjs";
|
|
45
46
|
export {
|
|
46
47
|
buildToolExecuteBaseEnvelope,
|