deepline 0.3.558 → 0.3.560
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 +14 -0
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/integrations.ts +62 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/redaction.ts +23 -1
- package/dist/bundling-sources/shared_libs/observability/telemetry.ts +4 -1
- package/dist/cli/{auth-JJXTMFWH.mjs → auth-5DIOQ3MO.mjs} +5 -5
- package/dist/cli/auth-R2S7KYAA.js +44 -0
- package/dist/cli/{billing-RBFJMAI5.mjs → billing-K7EJAM55.mjs} +9 -9
- package/dist/cli/{billing-V3TJKUHY.js → billing-N5NS5CU6.js} +102 -102
- package/dist/cli/{chunk-FH55SB63.js → chunk-24GZT76F.js} +7 -7
- package/dist/cli/{chunk-NAJAAIEE.js → chunk-4CQ7LVRT.js} +48 -48
- package/dist/cli/{chunk-DDI4LNVC.js → chunk-4GRIMNDO.js} +41 -41
- package/dist/cli/{chunk-P3SLGOGA.mjs → chunk-4MAY2TA3.mjs} +2 -2
- package/dist/cli/{chunk-P2MVPTFJ.mjs → chunk-4PBYS3PS.mjs} +1 -1
- package/dist/cli/{chunk-YI4ADWTN.js → chunk-5CNHEUGJ.js} +12 -2
- package/dist/cli/{chunk-QGDU23YW.js → chunk-5QMEJPN5.js} +206 -180
- package/dist/cli/{chunk-6BDLYZYL.js → chunk-5VC6K4NJ.js} +26 -26
- package/dist/cli/{chunk-AL4QQKUK.mjs → chunk-5XMABMQU.mjs} +2 -2
- package/dist/cli/{chunk-4CTBC6Q7.js → chunk-7ZE6DF6B.js} +3 -3
- package/dist/cli/{chunk-XPSSXKBT.mjs → chunk-A4X2O75M.mjs} +2 -2
- package/dist/cli/{chunk-6PIQC2XE.mjs → chunk-A62A73U6.mjs} +3 -3
- package/dist/cli/{chunk-GAQ6VSRS.mjs → chunk-AMUMEL4C.mjs} +1 -1
- package/dist/cli/{chunk-I57JNBKA.mjs → chunk-BQ2Z6PSE.mjs} +5 -5
- package/dist/cli/{chunk-6LFPPAMD.js → chunk-BW4NVW5T.js} +3 -3
- package/dist/cli/{chunk-CEEUL7ER.mjs → chunk-CQJMFUMK.mjs} +1 -1
- package/dist/cli/{chunk-PAJLUB37.js → chunk-CQS5E6D2.js} +100 -100
- package/dist/cli/{chunk-DJAP2M5M.mjs → chunk-DOAD7ZCA.mjs} +1 -1
- package/dist/cli/{chunk-YVWINBZL.js → chunk-E76MM3SC.js} +20 -20
- package/dist/cli/{chunk-FF3BWNLL.mjs → chunk-F5CZ3Q2I.mjs} +150 -124
- package/dist/cli/{chunk-5V45LY6Y.js → chunk-FW2WRBZO.js} +9 -9
- package/dist/cli/{chunk-CB5DIX5K.mjs → chunk-G33LSF4T.mjs} +2 -2
- package/dist/cli/{chunk-BWWLLK56.mjs → chunk-GKONGPVW.mjs} +5 -5
- package/dist/cli/{chunk-2FFZ5SEU.mjs → chunk-GR5WG72L.mjs} +2 -2
- package/dist/cli/{chunk-KMNLER7F.mjs → chunk-GTRGJITW.mjs} +11 -11
- package/dist/cli/{chunk-BFM2RCC3.js → chunk-I7CQJ7JP.js} +2 -2
- package/dist/cli/{chunk-WJ7RY3PJ.mjs → chunk-JHS7WKRS.mjs} +3 -3
- package/dist/cli/{chunk-7Q5I4KEG.mjs → chunk-JQDVX3D4.mjs} +4 -4
- package/dist/cli/{chunk-RIQYBKHK.js → chunk-JYT6P2M2.js} +2 -2
- package/dist/cli/{chunk-XV4DHKZ2.js → chunk-KP4B3JOT.js} +13 -13
- package/dist/cli/{chunk-M4CJGF53.js → chunk-LMY7CGI7.js} +5 -5
- package/dist/cli/{chunk-I3PX6NGG.js → chunk-MBLPUJ5I.js} +5 -5
- package/dist/cli/{chunk-YJ46MJMT.js → chunk-MCGR7NG3.js} +6 -6
- package/dist/cli/{chunk-YBJSDL34.mjs → chunk-NNKZ4JYP.mjs} +5 -5
- package/dist/cli/{chunk-NADXF2C5.js → chunk-OPT36HX4.js} +53 -53
- package/dist/cli/{chunk-MAN4IEO4.mjs → chunk-OS3FDGKX.mjs} +4 -4
- package/dist/cli/{chunk-FCG42RQZ.js → chunk-Q77PM7U2.js} +20 -20
- package/dist/cli/{chunk-T6W7SKE7.mjs → chunk-RQKCNQ5Q.mjs} +2 -2
- package/dist/cli/{chunk-CG3R4ZFS.mjs → chunk-SCM6BR4Q.mjs} +1 -1
- package/dist/cli/{chunk-A5MRMCMW.js → chunk-TE2NSUT5.js} +5 -5
- package/dist/cli/{chunk-BHHCQGUY.mjs → chunk-UI7BBF2O.mjs} +5 -5
- package/dist/cli/{chunk-7Q3EXOLC.js → chunk-UTPANENL.js} +12 -12
- package/dist/cli/{chunk-4SVFZCCI.mjs → chunk-V7OFUYMO.mjs} +2 -2
- package/dist/cli/{chunk-OWOUDGHO.js → chunk-V7ZOAXZ4.js} +23 -23
- package/dist/cli/{chunk-BTKVXI3G.mjs → chunk-VACBPVIR.mjs} +12 -2
- package/dist/cli/{chunk-LIS6UJSC.mjs → chunk-WOZKGI6H.mjs} +1 -1
- package/dist/cli/{chunk-D4GCU735.mjs → chunk-XLM7L4UY.mjs} +1 -1
- package/dist/cli/{chunk-QGJ4DYGE.js → chunk-Y5CZWGO4.js} +1 -1
- package/dist/cli/{chunk-IS67LBNV.js → chunk-YDWFE7MX.js} +2 -2
- package/dist/cli/{chunk-67J4K4G2.js → chunk-Z4FWF237.js} +15 -15
- package/dist/cli/{chunk-ARGJDP77.mjs → chunk-ZJJUVUP6.mjs} +2 -2
- package/dist/cli/{chunk-6GBQNS6L.mjs → chunk-ZSDZ3Q5P.mjs} +1 -1
- package/dist/cli/{chunk-C7BQBKRZ.js → chunk-ZXB2Y3SG.js} +4 -4
- package/dist/cli/{chunk-VPJ663PV.js → chunk-ZY64JRBV.js} +10 -10
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{concurrent-runs-help-ZWWMHCK4.mjs → concurrent-runs-help-TCB2EKTR.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-TKAZVMA4.js +22 -0
- package/dist/cli/{csv-V2FR4SO2.js → csv-DWC44DLD.js} +13 -13
- package/dist/cli/{csv-D76CXYOL.mjs → csv-R45YJYUO.mjs} +4 -4
- package/dist/cli/{db-B23O6Q4O.js → db-XIN3KF47.js} +27 -27
- package/dist/cli/{db-2D7PD7A3.mjs → db-XZXNKW7B.mjs} +6 -6
- package/dist/cli/{describe-3LG6VO3D.mjs → describe-6KSAHJBD.mjs} +18 -18
- package/dist/cli/describe-WLRAQDYC.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-4P4UBPMX.js → executions-C3UZLR7Y.js} +8 -8
- package/dist/cli/{executions-ORWO4SR4.mjs → executions-RSPQRWYL.mjs} +6 -6
- package/dist/cli/{feedback-AY47IRDD.mjs → feedback-7RCSKLW4.mjs} +6 -6
- package/dist/cli/{feedback-LPHCSOJT.js → feedback-A7WP67XL.js} +14 -14
- package/dist/cli/git-E6XV5MEY.js +26 -0
- package/dist/cli/{git-LQGZNBZM.mjs → git-JE6TFEK4.mjs} +5 -5
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-NEUZIBQT.mjs → integrations-DEU3ZW5P.mjs} +40 -7
- package/dist/cli/{integrations-QEOUALDR.js → integrations-L2D3EY3H.js} +48 -15
- package/dist/cli/{legacy-noops-PUO5VKHN.js → legacy-noops-AHTEO6EF.js} +9 -9
- package/dist/cli/{legacy-noops-4G3DXN57.mjs → legacy-noops-TL5PBCVQ.mjs} +6 -6
- package/dist/cli/{mcp-EWAZKABW.js → mcp-KXR7YJEG.js} +24 -24
- package/dist/cli/{mcp-USM2QUKK.mjs → mcp-PVRF5CGK.mjs} +4 -4
- package/dist/cli/{monitors-T6FJSZCP.mjs → monitors-BMGSROH3.mjs} +7 -7
- package/dist/cli/{monitors-2BI5J46A.js → monitors-YHF6RQGU.js} +100 -100
- package/dist/cli/{org-V6V3E7F7.js → org-IQJO6DJ7.js} +121 -121
- package/dist/cli/{org-BT45O64S.mjs → org-OO6LQPS6.mjs} +6 -6
- package/dist/cli/{outcomes-2T6W554M.mjs → outcomes-6QO6NEKO.mjs} +6 -6
- package/dist/cli/{outcomes-B6RPHM6M.js → outcomes-NAEAOCNT.js} +14 -14
- package/dist/cli/{play-CBBGJPRI.mjs → play-MZQSOYVV.mjs} +19 -19
- package/dist/cli/{play-YCFVGEWK.js → play-TYIBTW4E.js} +324 -324
- package/dist/cli/{providers-AGRUGBIY.js → providers-JDSSPMWH.js} +9 -9
- package/dist/cli/{providers-RHBUQFFO.mjs → providers-JR4OWXRX.mjs} +6 -6
- package/dist/cli/{quickstart-OPR5NLIQ.mjs → quickstart-JBX6BKGZ.mjs} +4 -4
- package/dist/cli/{quickstart-6N2KPWII.js → quickstart-T363ASLH.js} +6 -6
- package/dist/cli/{run-HAU2STMQ.mjs → run-6PWTGRJI.mjs} +23 -23
- package/dist/cli/{run-MMANMS4E.js → run-J3KWBIXA.js} +44 -44
- package/dist/cli/search-DPVHT5MJ.js +32 -0
- package/dist/cli/{search-TGWQMQ2C.mjs → search-XQG7UXAE.mjs} +7 -7
- package/dist/cli/{search-output-DZBYNJEO.mjs → search-output-DNONJFPF.mjs} +4 -4
- package/dist/cli/{search-output-VVM3DO2H.js → search-output-YZYLNDU6.js} +6 -6
- package/dist/cli/{secrets-Z6NEKNWM.mjs → secrets-MR7VXG74.mjs} +6 -6
- package/dist/cli/{secrets-V5WD552F.js → secrets-SCKPXIT7.js} +15 -15
- package/dist/cli/{sessions-C5GNXSPB.mjs → sessions-MPIJTGWQ.mjs} +6 -6
- package/dist/cli/sessions-VNWLXJR2.js +23 -0
- package/dist/cli/{settings-QUDVUIOJ.mjs → settings-Y5NW74ER.mjs} +12 -12
- package/dist/cli/{settings-EZPZXJDG.js → settings-YPKR5JFF.js} +85 -85
- package/dist/cli/{setup-BCJBVQTI.mjs → setup-5RJCLRZI.mjs} +9 -9
- package/dist/cli/{setup-QY5VVGWQ.js → setup-673Q3LGR.js} +49 -49
- package/dist/cli/{skills-LY2WZ22U.mjs → skills-2QVBD4LD.mjs} +7 -7
- package/dist/cli/skills-YGFFPGCR.js +37 -0
- package/dist/cli/tools-2BC7K3ZU.js +57 -0
- package/dist/cli/{tools-FNCTTFWA.mjs → tools-627KG34F.mjs} +17 -17
- package/dist/cli/{update-YKQAC4AQ.mjs → update-535TTARD.mjs} +9 -9
- package/dist/cli/update-HWEOSPDS.js +37 -0
- package/dist/cli/{views-5R5NVYHL.mjs → views-3M24ZTXA.mjs} +6 -6
- package/dist/cli/{views-NBTOBB67.js → views-FQNWZUWB.js} +21 -21
- package/dist/cli/{workflow-HBDW43GT.mjs → workflow-CN46XZPG.mjs} +7 -7
- package/dist/cli/{workflow-VNPT5VQS.js → workflow-H6F7WAOE.js} +17 -17
- package/dist/{client-BoayTB7p.d.ts → client-BSxuaObS.d.ts} +1 -1
- package/dist/{client-1ogYQqUw.d.mts → client-CnphYDTe.d.mts} +1 -1
- package/dist/{client-core-Ch8CXaX4.d.mts → client-core-DQOTt3yV.d.mts} +37 -2
- package/dist/{client-core-DySw9x_E.d.ts → client-core-Yad6-K7-.d.ts} +37 -2
- 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 +118 -118
- 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-TWSGYOWI.js +0 -44
- package/dist/cli/concurrent-runs-help-4VRUNL3T.js +0 -22
- package/dist/cli/describe-QE4ITFPG.js +0 -50
- package/dist/cli/git-XXVGEPEM.js +0 -26
- package/dist/cli/search-7LMUBMDC.js +0 -32
- package/dist/cli/sessions-VYIPZBSR.js +0 -23
- package/dist/cli/skills-PKNTNDYL.js +0 -37
- package/dist/cli/tools-D6CKFZL3.js +0 -57
- package/dist/cli/update-E2H2DWH4.js +0 -37
package/dist/cli/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
usesInlinePlayAdmission
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4MAY2TA3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
feedbackSendRestriction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4PBYS3PS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
beginToolExecuteCommand,
|
|
10
10
|
compatibilityCatalog,
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
maybeAutoUpdateAndRelaunch,
|
|
14
14
|
runDeferredAutoUpdate,
|
|
15
15
|
runToolExecuteStage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NNKZ4JYP.mjs";
|
|
17
17
|
import {
|
|
18
18
|
isCliTraceEnabled,
|
|
19
19
|
parseCliMaintenancePolicy,
|
|
20
20
|
recordCliTrace,
|
|
21
21
|
resolveCliMaintenancePolicy,
|
|
22
22
|
traceCliSpan
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-WOZKGI6H.mjs";
|
|
24
|
+
import "./chunk-GKONGPVW.mjs";
|
|
25
|
+
import "./chunk-ZSDZ3Q5P.mjs";
|
|
26
|
+
import "./chunk-OS3FDGKX.mjs";
|
|
27
27
|
import {
|
|
28
28
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
29
29
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -35,15 +35,15 @@ import {
|
|
|
35
35
|
readFreshCleanCompatibility,
|
|
36
36
|
readTrustedCleanCompatibility,
|
|
37
37
|
syncSdkSkillsIfNeeded
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-BQ2Z6PSE.mjs";
|
|
39
39
|
import {
|
|
40
40
|
createCliProgress
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-DOAD7ZCA.mjs";
|
|
42
42
|
import {
|
|
43
43
|
commandDocKey,
|
|
44
44
|
helpDetailFromArgv,
|
|
45
45
|
renderCommandExplanation
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VACBPVIR.mjs";
|
|
47
47
|
import "./chunk-2RIKOPIM.mjs";
|
|
48
48
|
import "./chunk-LRZGS6RZ.mjs";
|
|
49
49
|
import "./chunk-7I4B6V2S.mjs";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
sanitizeCommand,
|
|
66
66
|
shouldEmitJson,
|
|
67
67
|
takeSilentJsonFailureMessage
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-G33LSF4T.mjs";
|
|
69
69
|
import {
|
|
70
70
|
HttpClient,
|
|
71
71
|
autoDetectBaseUrl,
|
|
@@ -73,19 +73,19 @@ import {
|
|
|
73
73
|
resolveApiKeyForBaseUrl,
|
|
74
74
|
resolveBaseUrlOnly,
|
|
75
75
|
resolveConfig
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-CQJMFUMK.mjs";
|
|
77
77
|
import {
|
|
78
78
|
SDK_VERSION,
|
|
79
79
|
agentSessionIdFromEnvironment,
|
|
80
80
|
connectionFailureMessage
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-AMUMEL4C.mjs";
|
|
82
82
|
import {
|
|
83
83
|
AuthError
|
|
84
84
|
} from "./chunk-ASB47RXJ.mjs";
|
|
85
85
|
import "./chunk-DLIRSHV6.mjs";
|
|
86
86
|
import "./chunk-Z3A2S3QM.mjs";
|
|
87
87
|
import "./chunk-2MGZAI54.mjs";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-XLM7L4UY.mjs";
|
|
89
89
|
import "./chunk-WZYKRD7T.mjs";
|
|
90
90
|
import "./chunk-5JPKRDFC.mjs";
|
|
91
91
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -166,68 +166,68 @@ import { Command as Command2 } from "commander";
|
|
|
166
166
|
var COMMAND_GROUPS = [
|
|
167
167
|
{
|
|
168
168
|
names: ["auth"],
|
|
169
|
-
load: async () => (await import("./auth-
|
|
169
|
+
load: async () => (await import("./auth-5DIOQ3MO.mjs")).registerAuthCommands
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
names: ["providers"],
|
|
173
|
-
load: async () => (await import("./providers-
|
|
173
|
+
load: async () => (await import("./providers-JR4OWXRX.mjs")).registerProviderCommands
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
names: ["integrations"],
|
|
177
|
-
load: async () => (await import("./integrations-
|
|
177
|
+
load: async () => (await import("./integrations-DEU3ZW5P.mjs")).registerIntegrationsCommands
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
names: ["search"],
|
|
181
|
-
load: async () => (await import("./search-
|
|
181
|
+
load: async () => (await import("./search-XQG7UXAE.mjs")).registerSearchCommand
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
names: ["describe"],
|
|
185
|
-
load: async () => (await import("./describe-
|
|
185
|
+
load: async () => (await import("./describe-6KSAHJBD.mjs")).registerDescribeCommand
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
names: ["run"],
|
|
189
|
-
load: async () => (await import("./run-
|
|
189
|
+
load: async () => (await import("./run-6PWTGRJI.mjs")).registerRunCommand
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
names: ["tools"],
|
|
193
|
-
load: async () => (await import("./tools-
|
|
193
|
+
load: async () => (await import("./tools-627KG34F.mjs")).registerToolsCommands
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
names: ["executions"],
|
|
197
|
-
load: async () => (await import("./executions-
|
|
197
|
+
load: async () => (await import("./executions-RSPQRWYL.mjs")).registerExecutionsCommands
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
names: ["plays", "runs"],
|
|
201
|
-
load: async () => (await import("./play-
|
|
201
|
+
load: async () => (await import("./play-MZQSOYVV.mjs")).registerPlayCommands
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
names: ["sessions"],
|
|
205
|
-
load: async () => (await import("./sessions-
|
|
205
|
+
load: async () => (await import("./sessions-MPIJTGWQ.mjs")).registerSessionsCommands
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
names: ["workflows"],
|
|
209
|
-
load: async () => (await import("./workflow-
|
|
209
|
+
load: async () => (await import("./workflow-CN46XZPG.mjs")).registerWorkflowCommands
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
names: ["outcomes"],
|
|
213
|
-
load: async () => (await import("./outcomes-
|
|
213
|
+
load: async () => (await import("./outcomes-6QO6NEKO.mjs")).registerOutcomesCommands
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
names: ["views"],
|
|
217
|
-
load: async () => (await import("./views-
|
|
217
|
+
load: async () => (await import("./views-3M24ZTXA.mjs")).registerViewsCommands
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
names: ["secrets"],
|
|
221
|
-
load: async () => (await import("./secrets-
|
|
221
|
+
load: async () => (await import("./secrets-MR7VXG74.mjs")).registerSecretsCommands
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
names: ["mcp"],
|
|
225
|
-
load: async () => (await import("./mcp-
|
|
225
|
+
load: async () => (await import("./mcp-PVRF5CGK.mjs")).registerMcpCommands
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
names: ["settings", "notifications"],
|
|
229
229
|
load: async () => {
|
|
230
|
-
const commands = await import("./settings-
|
|
230
|
+
const commands = await import("./settings-Y5NW74ER.mjs");
|
|
231
231
|
return (p) => {
|
|
232
232
|
commands.registerSettingsCommands(p);
|
|
233
233
|
commands.registerNotificationCommands(p);
|
|
@@ -236,51 +236,51 @@ var COMMAND_GROUPS = [
|
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
names: ["billing"],
|
|
239
|
-
load: async () => (await import("./billing-
|
|
239
|
+
load: async () => (await import("./billing-K7EJAM55.mjs")).registerBillingCommands
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
names: ["monitors"],
|
|
243
|
-
load: async () => (await import("./monitors-
|
|
243
|
+
load: async () => (await import("./monitors-BMGSROH3.mjs")).registerMonitorsCommands
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
names: ["org"],
|
|
247
|
-
load: async () => (await import("./org-
|
|
247
|
+
load: async () => (await import("./org-OO6LQPS6.mjs")).registerOrgCommands
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
names: ["git", "projects", "deployments"],
|
|
251
|
-
load: async () => (await import("./git-
|
|
251
|
+
load: async () => (await import("./git-JE6TFEK4.mjs")).registerGitCommands
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
names: ["csv"],
|
|
255
|
-
load: async () => (await import("./csv-
|
|
255
|
+
load: async () => (await import("./csv-R45YJYUO.mjs")).registerCsvCommands
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
names: ["db"],
|
|
259
|
-
load: async () => (await import("./db-
|
|
259
|
+
load: async () => (await import("./db-XZXNKW7B.mjs")).registerDbCommands
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
names: ["feedback"],
|
|
263
|
-
load: async () => (await import("./feedback-
|
|
263
|
+
load: async () => (await import("./feedback-7RCSKLW4.mjs")).registerFeedbackCommands
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
names: ["enrich", "session", "backend"],
|
|
267
|
-
load: async () => (await import("./legacy-noops-
|
|
267
|
+
load: async () => (await import("./legacy-noops-TL5PBCVQ.mjs")).registerDeprecatedCommands
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
names: ["update"],
|
|
271
|
-
load: async () => (await import("./update-
|
|
271
|
+
load: async () => (await import("./update-535TTARD.mjs")).registerUpdateCommand
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
names: ["skills", "skills-auto-sync"],
|
|
275
|
-
load: async () => (await import("./skills-
|
|
275
|
+
load: async () => (await import("./skills-2QVBD4LD.mjs")).registerSkillsCommand
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
names: ["setup", "doctor"],
|
|
279
|
-
load: async () => (await import("./setup-
|
|
279
|
+
load: async () => (await import("./setup-5RJCLRZI.mjs")).registerSetupCommands
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
names: ["quickstart"],
|
|
283
|
-
load: async () => (await import("./quickstart-
|
|
283
|
+
load: async () => (await import("./quickstart-JBX6BKGZ.mjs")).registerQuickstartCommands
|
|
284
284
|
}
|
|
285
285
|
];
|
|
286
286
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -648,7 +648,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
648
648
|
});
|
|
649
649
|
let exitCode = 1;
|
|
650
650
|
try {
|
|
651
|
-
const { handlePlayRun } = await import("./play-
|
|
651
|
+
const { handlePlayRun } = await import("./play-MZQSOYVV.mjs");
|
|
652
652
|
exitCode = await handlePlayRun([
|
|
653
653
|
file,
|
|
654
654
|
"--input",
|
|
@@ -1123,7 +1123,7 @@ Examples:
|
|
|
1123
1123
|
return;
|
|
1124
1124
|
}
|
|
1125
1125
|
try {
|
|
1126
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-
|
|
1126
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-5DIOQ3MO.mjs");
|
|
1127
1127
|
const baseUrl = resolveBaseUrlOnly();
|
|
1128
1128
|
const [{ status, data }, banner] = await Promise.all([
|
|
1129
1129
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
@@ -1211,13 +1211,13 @@ Examples:
|
|
|
1211
1211
|
const helpArgs = process.argv.slice(2);
|
|
1212
1212
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1213
1213
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1214
|
-
const { authStatusLine } = await import("./auth-
|
|
1214
|
+
const { authStatusLine } = await import("./auth-5DIOQ3MO.mjs");
|
|
1215
1215
|
rootHelpStatus = `Version: ${SDK_VERSION}
|
|
1216
1216
|
${await authStatusLine()}
|
|
1217
1217
|
`;
|
|
1218
1218
|
}
|
|
1219
1219
|
if ((helpArgs.includes("--help") || helpArgs.includes("-h")) && helpPositionals.length >= 2) {
|
|
1220
|
-
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-
|
|
1220
|
+
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-TCB2EKTR.mjs");
|
|
1221
1221
|
if (CONCURRENT_RUNS_HELP_COMMANDS.has(helpPositionals.slice(0, 2).join(" "))) {
|
|
1222
1222
|
await ensureTransport();
|
|
1223
1223
|
concurrentRunsHelpStatus = await read();
|
|
@@ -3,26 +3,30 @@ import {
|
|
|
3
3
|
registerIntegrationBalanceCommand,
|
|
4
4
|
registerIntegrationConnectCommand,
|
|
5
5
|
registerWorkspaceConnectionListCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A4X2O75M.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DeeplineClient
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import
|
|
9
|
+
} from "./chunk-RQKCNQ5Q.mjs";
|
|
10
|
+
import {
|
|
11
|
+
AD_ACCOUNT_DISCOVERY_PROVIDERS,
|
|
12
|
+
planAdAccountDiscovery
|
|
13
|
+
} from "./chunk-F5CZ3Q2I.mjs";
|
|
11
14
|
import "./chunk-FZHMNK6F.mjs";
|
|
12
15
|
import "./chunk-5TYLSS4Q.mjs";
|
|
13
16
|
import "./chunk-PSX3WHIH.mjs";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-G33LSF4T.mjs";
|
|
18
|
+
import "./chunk-CQJMFUMK.mjs";
|
|
19
|
+
import "./chunk-AMUMEL4C.mjs";
|
|
17
20
|
import "./chunk-ASB47RXJ.mjs";
|
|
18
21
|
import "./chunk-DLIRSHV6.mjs";
|
|
19
22
|
import "./chunk-Z3A2S3QM.mjs";
|
|
20
23
|
import "./chunk-2MGZAI54.mjs";
|
|
21
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-XLM7L4UY.mjs";
|
|
22
25
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
26
|
import "./chunk-KRD6H754.mjs";
|
|
24
27
|
|
|
25
28
|
// src/cli/commands/integrations.ts
|
|
29
|
+
import { Argument } from "commander";
|
|
26
30
|
function printChangeResult(result, json) {
|
|
27
31
|
const text = "action" in result ? Object.entries(result).map(([key, value]) => `${key}: ${String(value)}`).join("\n") : "url" in result && result.url ? result.url : `Org authorization ${result.status ?? "updated"}.`;
|
|
28
32
|
printIntegrationResult(result, json, [text]);
|
|
@@ -34,6 +38,35 @@ function registerIntegrationsCommands(program) {
|
|
|
34
38
|
registerWorkspaceConnectionListCommand(integrations, "list");
|
|
35
39
|
registerIntegrationBalanceCommand(integrations);
|
|
36
40
|
registerIntegrationConnectCommand(integrations, true);
|
|
41
|
+
integrations.command("discover-ad-accounts").description("Discover and save Google Ads or LinkedIn ad accounts.").addArgument(
|
|
42
|
+
new Argument("<provider>", "Connected ads provider").choices([
|
|
43
|
+
...AD_ACCOUNT_DISCOVERY_PROVIDERS
|
|
44
|
+
])
|
|
45
|
+
).option("--dry-run", "Print the request without contacting the provider").option("--json", "Print the discovery result as JSON").action(
|
|
46
|
+
async (provider, options) => {
|
|
47
|
+
if (options.dryRun) {
|
|
48
|
+
const request = planAdAccountDiscovery(provider);
|
|
49
|
+
printIntegrationResult(request, options.json, [
|
|
50
|
+
`Would discover and save accounts in the selected workspace using ${request.method} ${request.path}.`
|
|
51
|
+
]);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const result = await new DeeplineClient().integrations.discoverAdAccounts(provider);
|
|
55
|
+
printIntegrationResult(result, options.json, [
|
|
56
|
+
result.accounts.length ? `Ad accounts in the selected workspace (${result.accounts.length})` : "No accessible ad accounts found.",
|
|
57
|
+
...result.accounts.map((account) => {
|
|
58
|
+
const name = "descriptiveName" in account ? account.descriptiveName : account.name;
|
|
59
|
+
return [
|
|
60
|
+
name && name !== account.accountId ? name : void 0,
|
|
61
|
+
account.accountId,
|
|
62
|
+
account.enabled ? "enabled" : "disabled",
|
|
63
|
+
"manager" in account && account.manager ? "manager" : void 0,
|
|
64
|
+
account.accountId === result.default_account_id ? "default" : void 0
|
|
65
|
+
].filter(Boolean).join(" ");
|
|
66
|
+
})
|
|
67
|
+
]);
|
|
68
|
+
}
|
|
69
|
+
);
|
|
37
70
|
integrations.command("get <name>").description("Show a named org authorization, including granted scopes.").option("--provider <provider>", "Disambiguate the provider for this name").option("--json", "Print the authorization record as JSON").action(async (name, options) => {
|
|
38
71
|
const row = await new DeeplineClient().integrations.get(name, options);
|
|
39
72
|
printIntegrationResult(row, options.json, [
|
|
@@ -3,40 +3,73 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkUTPANENLjs = require('./chunk-UTPANENL.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
|
|
9
|
+
var _chunkLMY7CGI7js = require('./chunk-LMY7CGI7.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunk5QMEJPN5js = require('./chunk-5QMEJPN5.js');
|
|
11
14
|
require('./chunk-4WAM6TLD.js');
|
|
12
15
|
require('./chunk-MJTVX4QK.js');
|
|
13
16
|
require('./chunk-PMH4GLMD.js');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-E76MM3SC.js');
|
|
18
|
+
require('./chunk-7ZE6DF6B.js');
|
|
19
|
+
require('./chunk-ZXB2Y3SG.js');
|
|
17
20
|
require('./chunk-6VLFQZK6.js');
|
|
18
21
|
require('./chunk-XNYIZMNQ.js');
|
|
19
22
|
require('./chunk-LFQJW4S2.js');
|
|
20
23
|
require('./chunk-CFJFUVX2.js');
|
|
21
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-Y5CZWGO4.js');
|
|
22
25
|
require('./chunk-OG64RBAC.js');
|
|
23
26
|
require('./chunk-COGTRVWW.js');
|
|
24
27
|
|
|
25
28
|
// src/cli/commands/integrations.ts
|
|
29
|
+
var _commander = require('commander');
|
|
26
30
|
function printChangeResult(result, json) {
|
|
27
31
|
const text = "action" in result ? Object.entries(result).map(([key, value]) => `${key}: ${String(value)}`).join("\n") : "url" in result && result.url ? result.url : `Org authorization ${_nullishCoalesce(result.status, () => ( "updated"))}.`;
|
|
28
|
-
|
|
32
|
+
_chunkUTPANENLjs.printIntegrationResult.call(void 0, result, json, [text]);
|
|
29
33
|
if ("status" in result && result.status === "validation_failed")
|
|
30
34
|
process.exitCode = 7;
|
|
31
35
|
}
|
|
32
36
|
function registerIntegrationsCommands(program) {
|
|
33
37
|
const integrations = program.command("integrations").description("Connect providers and manage named org authorizations.");
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
38
|
+
_chunkUTPANENLjs.registerWorkspaceConnectionListCommand.call(void 0, integrations, "list");
|
|
39
|
+
_chunkUTPANENLjs.registerIntegrationBalanceCommand.call(void 0, integrations);
|
|
40
|
+
_chunkUTPANENLjs.registerIntegrationConnectCommand.call(void 0, integrations, true);
|
|
41
|
+
integrations.command("discover-ad-accounts").description("Discover and save Google Ads or LinkedIn ad accounts.").addArgument(
|
|
42
|
+
new (0, _commander.Argument)("<provider>", "Connected ads provider").choices([
|
|
43
|
+
..._chunk5QMEJPN5js.AD_ACCOUNT_DISCOVERY_PROVIDERS
|
|
44
|
+
])
|
|
45
|
+
).option("--dry-run", "Print the request without contacting the provider").option("--json", "Print the discovery result as JSON").action(
|
|
46
|
+
async (provider, options) => {
|
|
47
|
+
if (options.dryRun) {
|
|
48
|
+
const request = _chunk5QMEJPN5js.planAdAccountDiscovery.call(void 0, provider);
|
|
49
|
+
_chunkUTPANENLjs.printIntegrationResult.call(void 0, request, options.json, [
|
|
50
|
+
`Would discover and save accounts in the selected workspace using ${request.method} ${request.path}.`
|
|
51
|
+
]);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const result = await new (0, _chunkLMY7CGI7js.DeeplineClient)().integrations.discoverAdAccounts(provider);
|
|
55
|
+
_chunkUTPANENLjs.printIntegrationResult.call(void 0, result, options.json, [
|
|
56
|
+
result.accounts.length ? `Ad accounts in the selected workspace (${result.accounts.length})` : "No accessible ad accounts found.",
|
|
57
|
+
...result.accounts.map((account) => {
|
|
58
|
+
const name = "descriptiveName" in account ? account.descriptiveName : account.name;
|
|
59
|
+
return [
|
|
60
|
+
name && name !== account.accountId ? name : void 0,
|
|
61
|
+
account.accountId,
|
|
62
|
+
account.enabled ? "enabled" : "disabled",
|
|
63
|
+
"manager" in account && account.manager ? "manager" : void 0,
|
|
64
|
+
account.accountId === result.default_account_id ? "default" : void 0
|
|
65
|
+
].filter(Boolean).join(" ");
|
|
66
|
+
})
|
|
67
|
+
]);
|
|
68
|
+
}
|
|
69
|
+
);
|
|
37
70
|
integrations.command("get <name>").description("Show a named org authorization, including granted scopes.").option("--provider <provider>", "Disambiguate the provider for this name").option("--json", "Print the authorization record as JSON").action(async (name, options) => {
|
|
38
|
-
const row = await new (0,
|
|
39
|
-
|
|
71
|
+
const row = await new (0, _chunkLMY7CGI7js.DeeplineClient)().integrations.get(name, options);
|
|
72
|
+
_chunkUTPANENLjs.printIntegrationResult.call(void 0, row, options.json, [
|
|
40
73
|
`${row.name} ${row.provider} ${row.status}`,
|
|
41
74
|
row.label,
|
|
42
75
|
...(_nullishCoalesce(row.scopes, () => ( []))).map((scope) => `Scope: ${scope}`)
|
|
@@ -65,7 +98,7 @@ function registerIntegrationsCommands(program) {
|
|
|
65
98
|
if (action === "reconnect")
|
|
66
99
|
command.option("--list-calendars", "Verify calendar listing permission");
|
|
67
100
|
command.action(async (name, options) => {
|
|
68
|
-
const result = await new (0,
|
|
101
|
+
const result = await new (0, _chunkLMY7CGI7js.DeeplineClient)().integrations[action](
|
|
69
102
|
name,
|
|
70
103
|
options
|
|
71
104
|
);
|
|
@@ -83,7 +116,7 @@ function registerIntegrationsCommands(program) {
|
|
|
83
116
|
"Verify Calendar availability and event booking permissions"
|
|
84
117
|
).option("--list-calendars", "Verify calendar listing permission").action(
|
|
85
118
|
async (domain, options) => {
|
|
86
|
-
const result = await new (0,
|
|
119
|
+
const result = await new (0, _chunkLMY7CGI7js.DeeplineClient)().integrations.verify(
|
|
87
120
|
domain,
|
|
88
121
|
options
|
|
89
122
|
);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKP4B3JOTjs = require('./chunk-KP4B3JOT.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-YDWFE7MX.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
10
|
+
var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
|
|
11
|
+
require('./chunk-7ZE6DF6B.js');
|
|
12
|
+
require('./chunk-ZXB2Y3SG.js');
|
|
13
13
|
require('./chunk-6VLFQZK6.js');
|
|
14
14
|
require('./chunk-XNYIZMNQ.js');
|
|
15
15
|
require('./chunk-LFQJW4S2.js');
|
|
16
16
|
require('./chunk-CFJFUVX2.js');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-Y5CZWGO4.js');
|
|
18
18
|
require('./chunk-OG64RBAC.js');
|
|
19
19
|
require('./chunk-COGTRVWW.js');
|
|
20
20
|
|
|
@@ -55,7 +55,7 @@ function deprecatedCommandEnvelope(input) {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
function printDeprecatedCommand(input) {
|
|
58
|
-
|
|
58
|
+
_chunkE76MM3SCjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
|
|
59
59
|
json: input.options.json
|
|
60
60
|
});
|
|
61
61
|
process.exitCode = 2;
|
|
@@ -75,7 +75,7 @@ function registerDeprecatedCommands(program) {
|
|
|
75
75
|
program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
|
|
76
76
|
${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
|
|
77
77
|
`).action((_args, options) => {
|
|
78
|
-
|
|
78
|
+
_chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
|
|
79
79
|
{
|
|
80
80
|
ok: false,
|
|
81
81
|
command: "deepline enrich",
|
|
@@ -118,7 +118,7 @@ Examples:
|
|
|
118
118
|
options
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
|
-
|
|
121
|
+
_chunkKP4B3JOTjs.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
122
122
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
123
123
|
addDeprecatedSubcommand(
|
|
124
124
|
session,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A62A73U6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ENRICH_COMMAND_DEPRECATION_MESSAGE
|
|
6
6
|
} from "./chunk-ITOFSXIU.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-4PBYS3PS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-G33LSF4T.mjs";
|
|
11
|
+
import "./chunk-CQJMFUMK.mjs";
|
|
12
|
+
import "./chunk-AMUMEL4C.mjs";
|
|
13
13
|
import "./chunk-ASB47RXJ.mjs";
|
|
14
14
|
import "./chunk-DLIRSHV6.mjs";
|
|
15
15
|
import "./chunk-Z3A2S3QM.mjs";
|
|
16
16
|
import "./chunk-2MGZAI54.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XLM7L4UY.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
20
20
|
|