deepline 0.3.566 → 0.3.567
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/cli/{auth-HSFDBHVB.mjs → auth-IYYQA4ZO.mjs} +5 -5
- package/dist/cli/auth-KI3KBLRD.js +44 -0
- package/dist/cli/{billing-6T7HH6DE.mjs → billing-B37Z3HQJ.mjs} +8 -8
- package/dist/cli/{billing-NG5W2PDU.js → billing-HSUA42W6.js} +99 -99
- package/dist/cli/{chunk-ILTX6ZAH.js → chunk-35TWSBEO.js} +6 -6
- package/dist/cli/{chunk-5J6VEC75.js → chunk-3E2C6CIE.js} +4 -4
- package/dist/cli/{chunk-SR7IUISM.mjs → chunk-3GRMC25W.mjs} +1 -1
- package/dist/cli/{chunk-LAQNXNVR.mjs → chunk-3TJKNRHY.mjs} +2 -2
- package/dist/cli/{chunk-CSXMBYEW.mjs → chunk-4ACBVZ44.mjs} +1 -1
- package/dist/cli/{chunk-MEBKPVHE.mjs → chunk-4FTTLJVV.mjs} +1 -1
- package/dist/cli/{chunk-YJEBAR3C.js → chunk-4FVLQFCF.js} +5 -5
- package/dist/cli/{chunk-Z5BLACQ3.js → chunk-5D3QECRX.js} +53 -53
- package/dist/cli/{chunk-YFP7YZUU.mjs → chunk-64CQF2JL.mjs} +4 -4
- package/dist/cli/{chunk-KKC7U4UJ.mjs → chunk-6DJHNVGT.mjs} +2 -2
- package/dist/cli/{chunk-KDPGBC5U.mjs → chunk-6TLCP356.mjs} +5 -5
- package/dist/cli/{chunk-H6BQIQEJ.js → chunk-7RNBGBTS.js} +9 -9
- package/dist/cli/{chunk-EIYQIY3C.js → chunk-A5VWMZY4.js} +3 -3
- package/dist/cli/{chunk-FXSDDRVX.js → chunk-AC37TMJX.js} +23 -23
- package/dist/cli/{chunk-L5N4DSH4.mjs → chunk-ASIXRCHD.mjs} +3 -3
- package/dist/cli/{chunk-FPKKYS7V.mjs → chunk-AUXDJJYK.mjs} +5 -5
- package/dist/cli/{chunk-K3DEHKV7.mjs → chunk-C67KGU5G.mjs} +11 -11
- package/dist/cli/{chunk-ZYXQIOWE.js → chunk-CR7U44AW.js} +3 -3
- package/dist/cli/{chunk-P7Q27COZ.mjs → chunk-FRQYUWGF.mjs} +1 -1
- package/dist/cli/{chunk-KCD4LM2D.mjs → chunk-FT7OSIWX.mjs} +3 -3
- package/dist/cli/{chunk-L2P3672R.js → chunk-GFETP5X7.js} +7 -7
- package/dist/cli/{chunk-PLXQIHRM.mjs → chunk-GWKHJ6BN.mjs} +2 -2
- package/dist/cli/{chunk-TYKMBPNE.mjs → chunk-HYYWZFYF.mjs} +2 -2
- package/dist/cli/{chunk-FUTXULX5.mjs → chunk-IPOAJ56O.mjs} +5 -5
- package/dist/cli/{chunk-3PNU3FEI.mjs → chunk-JBXDWAGB.mjs} +4 -4
- package/dist/cli/{chunk-KXGUMGCU.js → chunk-KHZVZOJF.js} +20 -20
- package/dist/cli/{chunk-VHRYJACF.mjs → chunk-KOBUUBOO.mjs} +2 -2
- package/dist/cli/{chunk-CQX5MWHH.js → chunk-L5UB7RF2.js} +5 -5
- package/dist/cli/{chunk-UF5MVM6L.js → chunk-LQRWLQAQ.js} +2 -2
- package/dist/cli/{chunk-TVGGBQFG.js → chunk-LTJQCMEM.js} +20 -20
- package/dist/cli/{chunk-QBX4UJMY.mjs → chunk-LZV3AJAX.mjs} +2 -2
- package/dist/cli/{chunk-OFEARTQO.mjs → chunk-MMWD3ZTQ.mjs} +2 -2
- package/dist/cli/{chunk-T3RKLPPS.js → chunk-NQ6NYC54.js} +13 -13
- package/dist/cli/{chunk-AGDRIXF2.mjs → chunk-OD4LINNE.mjs} +1 -1
- package/dist/cli/{chunk-VRWMQUFO.js → chunk-OOFYQCNU.js} +5 -5
- package/dist/cli/{chunk-7GLVIFDO.js → chunk-OPGDVTAQ.js} +48 -48
- package/dist/cli/{chunk-AHELFBG5.js → chunk-OUKIU4AE.js} +2 -2
- package/dist/cli/{chunk-RUVYG5TT.js → chunk-P4GUUPIV.js} +2 -2
- package/dist/cli/{chunk-JSVNTY47.js → chunk-PFJNZUUK.js} +12 -12
- package/dist/cli/{chunk-BILFWD6F.mjs → chunk-PH4SALNI.mjs} +1 -1
- package/dist/cli/{chunk-6F6DMBEJ.js → chunk-RIR3YNNB.js} +15 -15
- package/dist/cli/{chunk-AIF7ZHCF.mjs → chunk-RSQ6AVH3.mjs} +1 -1
- package/dist/cli/{chunk-E44TMICV.mjs → chunk-S72EZ4R5.mjs} +1 -1
- package/dist/cli/{chunk-OL3WYX7L.js → chunk-SDJ5CTZX.js} +26 -26
- package/dist/cli/{chunk-CXK6ZEOQ.js → chunk-V5YGEK5Q.js} +8 -8
- package/dist/cli/{chunk-GY7MY2IJ.js → chunk-WIKOKQJV.js} +1 -1
- package/dist/cli/{chunk-MIS3V2C3.js → chunk-XG5NEJOK.js} +10 -10
- package/dist/cli/{chunk-ARUXRZR4.mjs → chunk-YDXPAUGF.mjs} +2 -2
- package/dist/cli/{chunk-RIV2AZLY.mjs → chunk-YRRXHWQ2.mjs} +5 -5
- package/dist/cli/{chunk-PRM3WYG7.js → chunk-Z75WS3TZ.js} +100 -100
- package/dist/cli/{chunk-K5QLALHC.js → chunk-ZNXUAZDK.js} +41 -41
- package/dist/cli/{chunk-AD47OWTE.mjs → chunk-ZPD6SPP2.mjs} +1 -1
- package/dist/cli/concurrent-runs-help-7SA3A2K5.js +22 -0
- package/dist/cli/{concurrent-runs-help-TNMN4C74.mjs → concurrent-runs-help-P5TBHSRA.mjs} +6 -6
- package/dist/cli/{csv-77H4JMDW.js → csv-2F5LOZUT.js} +13 -13
- package/dist/cli/{csv-KAZRKSLV.mjs → csv-KPYMOFM2.mjs} +4 -4
- package/dist/cli/{db-MM6R2466.js → db-4H4CJFI2.js} +27 -27
- package/dist/cli/{db-XQQAVLWO.mjs → db-URVQ2LNU.mjs} +6 -6
- package/dist/cli/{describe-P5N56GPA.mjs → describe-KV6RFX2K.mjs} +18 -18
- package/dist/cli/describe-R7QLYW6K.js +50 -0
- package/dist/cli/{executions-EGPCT2OK.js → executions-BAAJY5LB.js} +8 -8
- package/dist/cli/{executions-EGEQZV5V.mjs → executions-NFQCGCBK.mjs} +6 -6
- package/dist/cli/{feedback-IWUJAF6O.mjs → feedback-UF2TRDNI.mjs} +6 -6
- package/dist/cli/{feedback-ALMW7OR5.js → feedback-Y3WJ5VTT.js} +14 -14
- package/dist/cli/{git-4CQQWLZP.mjs → git-EIURJKMS.mjs} +5 -5
- package/dist/cli/git-TIF77U5E.js +26 -0
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-LS73NWU7.mjs → integrations-TPEILZYO.mjs} +7 -7
- package/dist/cli/{integrations-Y7W5L7DW.js → integrations-YVBIIULS.js} +29 -29
- package/dist/cli/{legacy-noops-V45TJGK3.mjs → legacy-noops-EVEQ4T2F.mjs} +6 -6
- package/dist/cli/{legacy-noops-WXGSAZ6O.js → legacy-noops-K5YAE7DD.js} +9 -9
- package/dist/cli/{mcp-4IHB3LCG.mjs → mcp-7UX5HDKR.mjs} +4 -4
- package/dist/cli/{mcp-3QRLMKFF.js → mcp-NADIFFBS.js} +24 -24
- package/dist/cli/{monitors-4I2QDCOV.js → monitors-TOWPB2IO.js} +100 -100
- package/dist/cli/{monitors-K46XW6QH.mjs → monitors-V2XU3WU3.mjs} +7 -7
- package/dist/cli/{org-H3GYWKFC.mjs → org-J2FDLRIR.mjs} +6 -6
- package/dist/cli/{org-CBJY5DO5.js → org-S2UZTR74.js} +121 -121
- package/dist/cli/{outcomes-KHZ3S3SG.js → outcomes-DIU4I6IA.js} +14 -14
- package/dist/cli/{outcomes-AE6ZPY6O.mjs → outcomes-ECG7SORM.mjs} +6 -6
- package/dist/cli/{play-SY2PCUMD.js → play-LW5RPGMR.js} +324 -324
- package/dist/cli/{play-YQS3OI2Q.mjs → play-SIYRTGQF.mjs} +19 -19
- package/dist/cli/{providers-WJBBSM76.mjs → providers-5VIQLQGV.mjs} +6 -6
- package/dist/cli/{providers-IT2YALZM.js → providers-G4FAPJ6K.js} +9 -9
- package/dist/cli/{quickstart-VMLHHXFD.js → quickstart-6NLZQN2K.js} +6 -6
- package/dist/cli/{quickstart-TYMROAQG.mjs → quickstart-IPM5YDLX.mjs} +4 -4
- package/dist/cli/{run-GQOWNUD2.js → run-VGIB7CJB.js} +44 -44
- package/dist/cli/{run-TSOLGWTK.mjs → run-Z3TL5ZOG.mjs} +23 -23
- package/dist/cli/{search-MJAL37NP.mjs → search-2CLGFCVP.mjs} +7 -7
- package/dist/cli/search-BJFP7VHT.js +32 -0
- package/dist/cli/{search-output-AUVP4ZLR.js → search-output-FEB5JLB5.js} +6 -6
- package/dist/cli/{search-output-IKVGU3MZ.mjs → search-output-O6RCBYN6.mjs} +4 -4
- package/dist/cli/{secrets-NO6ZD2OZ.js → secrets-OVVWC2HX.js} +15 -15
- package/dist/cli/{secrets-4KYGVJJJ.mjs → secrets-RBHLBJHA.mjs} +6 -6
- package/dist/cli/sessions-HCKHUILD.js +23 -0
- package/dist/cli/{sessions-S2O24LRW.mjs → sessions-PFA3PFXV.mjs} +6 -6
- package/dist/cli/{settings-NSZNSX67.mjs → settings-N54VKHLV.mjs} +12 -12
- package/dist/cli/{settings-O5BELZRA.js → settings-V5OAQOFP.js} +85 -85
- package/dist/cli/{setup-3VTTPHKI.mjs → setup-2EZ563DR.mjs} +9 -9
- package/dist/cli/{setup-IGJKIVJ7.js → setup-XF3KBJ6Y.js} +49 -49
- package/dist/cli/{skills-JMSX77S3.mjs → skills-7DULCICX.mjs} +7 -7
- package/dist/cli/skills-TZC2JNIZ.js +37 -0
- package/dist/cli/tools-ECUMBLZB.js +57 -0
- package/dist/cli/{tools-MITGT2JM.mjs → tools-NC5IVGAT.mjs} +17 -17
- package/dist/cli/update-4AAEZJ64.js +37 -0
- package/dist/cli/{update-YXASQQWE.mjs → update-4H3GBUVU.mjs} +9 -9
- package/dist/cli/{views-Y5CA3JWP.js → views-CEGJLVO7.js} +21 -21
- package/dist/cli/{views-7ZMS2B55.mjs → views-O2V4FIII.mjs} +6 -6
- package/dist/cli/{workflow-U7KXZLKI.js → workflow-EJNNNQOE.js} +17 -17
- package/dist/cli/{workflow-GBXWHYDL.mjs → workflow-SGWK2I2Z.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +112 -112
- 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.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-RGFZEMFX.js +0 -44
- package/dist/cli/concurrent-runs-help-3QVRXAZG.js +0 -22
- package/dist/cli/describe-H43UIBVP.js +0 -50
- package/dist/cli/git-UYYH53Q6.js +0 -26
- package/dist/cli/search-B23QXBNF.js +0 -32
- package/dist/cli/sessions-DJLG57FC.js +0 -23
- package/dist/cli/skills-76W4VCHP.js +0 -37
- package/dist/cli/tools-OS32SFJD.js +0 -57
- package/dist/cli/update-UGLA7TLH.js +0 -37
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
|
|
|
32
32
|
return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
|
|
33
33
|
}
|
|
34
34
|
async function handleList(options) {
|
|
35
|
-
const { http } =
|
|
35
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
36
36
|
const payload = await http.get(
|
|
37
37
|
`/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
40
40
|
{
|
|
41
41
|
projects: payload.projects,
|
|
42
42
|
count: payload.projects.length,
|
|
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
async function handleStatus(options) {
|
|
76
|
-
const { http } =
|
|
76
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
77
77
|
const payload = await http.get("/api/v2/github/installation");
|
|
78
78
|
const installation = payload.installation;
|
|
79
79
|
const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
|
|
@@ -136,7 +136,7 @@ async function handleStatus(options) {
|
|
|
136
136
|
)
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
140
140
|
{
|
|
141
141
|
installation,
|
|
142
142
|
installations: _nullishCoalesce(payload.installations, () => ( [])),
|
|
@@ -147,10 +147,10 @@ async function handleStatus(options) {
|
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
149
|
async function handleRepos(options) {
|
|
150
|
-
const { http } =
|
|
150
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
151
151
|
const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
|
|
152
152
|
const payload = await http.get(`/api/v2/github/repos${query}`);
|
|
153
|
-
|
|
153
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
154
154
|
{
|
|
155
155
|
installation: payload.installation,
|
|
156
156
|
repositories: payload.repositories,
|
|
@@ -171,7 +171,7 @@ async function handleRepos(options) {
|
|
|
171
171
|
}
|
|
172
172
|
async function resolveRepoId(repo, installation) {
|
|
173
173
|
if (/^\d+$/.test(repo)) return Number(repo);
|
|
174
|
-
const { http } =
|
|
174
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
175
175
|
const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
|
|
176
176
|
const payload = await http.get(
|
|
177
177
|
`/api/v2/github/repos${query}`
|
|
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
|
|
|
188
188
|
}
|
|
189
189
|
async function handleLink(repo, options) {
|
|
190
190
|
const repoId = await resolveRepoId(repo, options.installation);
|
|
191
|
-
const { http } =
|
|
191
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
192
192
|
const payload = await http.post("/api/v2/play-projects", {
|
|
193
193
|
repoId,
|
|
194
194
|
...options.installation !== void 0 ? { installationId: options.installation } : {},
|
|
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
|
|
|
197
197
|
...options.branch !== void 0 ? { productionBranch: options.branch } : {},
|
|
198
198
|
...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
|
|
199
199
|
});
|
|
200
|
-
|
|
200
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
201
201
|
{
|
|
202
202
|
project: payload.project,
|
|
203
203
|
render: {
|
|
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
|
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
222
|
async function handleGet(id, options) {
|
|
223
|
-
const { http } =
|
|
223
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
228
228
|
{
|
|
229
229
|
project: payload.project,
|
|
230
230
|
render: {
|
|
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
async function handleSet(id, options) {
|
|
243
|
-
const { http } =
|
|
243
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
244
244
|
const payload = await http.patch(
|
|
245
245
|
`/api/v2/play-projects/${encodeURIComponent(id)}`,
|
|
246
246
|
{
|
|
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
|
|
|
251
251
|
...options.disabled !== void 0 ? { disabled: options.disabled } : {}
|
|
252
252
|
}
|
|
253
253
|
);
|
|
254
|
-
|
|
254
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
255
255
|
{
|
|
256
256
|
project: payload.project,
|
|
257
257
|
render: {
|
|
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
|
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
async function handleUnlink(id, options) {
|
|
267
|
-
const { http } =
|
|
267
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
270
270
|
{
|
|
271
271
|
ok: true,
|
|
272
272
|
id,
|
|
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
|
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
async function handleConnect(options) {
|
|
289
|
-
const baseUrl =
|
|
289
|
+
const baseUrl = _chunkCR7U44AWjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkLTJQCMEMjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
293
293
|
{
|
|
294
294
|
connectUrl,
|
|
295
295
|
browser: opened,
|
|
@@ -311,7 +311,7 @@ async function handleConnect(options) {
|
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
async function handleDeploymentsList(options) {
|
|
314
|
-
const { http } =
|
|
314
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
315
315
|
const query = new URLSearchParams();
|
|
316
316
|
if (options.repo) query.set("projectId", options.repo);
|
|
317
317
|
if (options.limit) query.set("limit", options.limit);
|
|
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
|
|
|
319
319
|
const payload = await http.get(
|
|
320
320
|
`/api/v2/deployments${suffix}`
|
|
321
321
|
);
|
|
322
|
-
|
|
322
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
323
323
|
{
|
|
324
324
|
deployments: payload.deployments,
|
|
325
325
|
count: payload.deployments.length,
|
|
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
|
|
|
363
363
|
]);
|
|
364
364
|
}
|
|
365
365
|
async function handleDeploymentGet(id, options) {
|
|
366
|
-
const { http } =
|
|
366
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
367
367
|
const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
|
|
368
368
|
const playLines = renderDeploymentPlayLines(payload.deployment.results);
|
|
369
369
|
const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
|
|
370
370
|
const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
|
|
371
|
-
|
|
371
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
372
372
|
{
|
|
373
373
|
deployment: payload.deployment,
|
|
374
374
|
project: payload.project,
|
|
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
|
|
|
387
387
|
);
|
|
388
388
|
}
|
|
389
389
|
async function handleDeploymentCancel(id, options) {
|
|
390
|
-
const { http } =
|
|
390
|
+
const { http } = _chunkLTJQCMEMjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunk3E2C6CIEjs = require('./chunk-3E2C6CIE.js');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
@@ -963,7 +963,7 @@ var ToolCalls = class {
|
|
|
963
963
|
idempotencyKey,
|
|
964
964
|
onResponse: (response2) => {
|
|
965
965
|
lastResponse = null;
|
|
966
|
-
atomicToolsSupported = response2.headers.get(
|
|
966
|
+
atomicToolsSupported = response2.headers.get(_chunk3E2C6CIEjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
967
967
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
968
968
|
if (_optionalChain([options, 'optionalAccess', _38 => _38.onServerTiming])) {
|
|
969
969
|
try {
|
|
@@ -1350,15 +1350,15 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
const receivers = _optionalChain([env, 'access', _63 => _63.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
|
|
1352
1352
|
return {
|
|
1353
|
-
[
|
|
1354
|
-
...receivers ? { [
|
|
1353
|
+
[_chunk3E2C6CIEjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1354
|
+
...receivers ? { [_chunk3E2C6CIEjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1355
1355
|
};
|
|
1356
1356
|
}
|
|
1357
1357
|
function playRunStartHeaders(runtime, env) {
|
|
1358
1358
|
const headers = runtimeSelectionHeaders(runtime, env);
|
|
1359
1359
|
const experimentSwitches = _optionalChain([env, 'access', _66 => _66.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]);
|
|
1360
1360
|
if (!experimentSwitches) return headers;
|
|
1361
|
-
return { ...headers, [
|
|
1361
|
+
return { ...headers, [_chunk3E2C6CIEjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
|
|
1362
1362
|
}
|
|
1363
1363
|
function normalizeTestPolicyOverrides(value, source) {
|
|
1364
1364
|
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
@@ -1428,7 +1428,7 @@ var PlayClient = class {
|
|
|
1428
1428
|
return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
|
|
1429
1429
|
this.http,
|
|
1430
1430
|
resolved.request,
|
|
1431
|
-
_optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1431
|
+
_optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk3E2C6CIEjs.SDK_API_MAJOR) } : headers,
|
|
1432
1432
|
options
|
|
1433
1433
|
);
|
|
1434
1434
|
}
|
|
@@ -3546,7 +3546,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3546
3546
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3547
3547
|
);
|
|
3548
3548
|
}
|
|
3549
|
-
return { [
|
|
3549
|
+
return { [_chunk3E2C6CIEjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3550
3550
|
}
|
|
3551
3551
|
function sleep(ms) {
|
|
3552
3552
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4482,7 +4482,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4482
4482
|
);
|
|
4483
4483
|
const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
|
|
4484
4484
|
...runtimeHeaders,
|
|
4485
|
-
"X-Deepline-API-Major": String(
|
|
4485
|
+
"X-Deepline-API-Major": String(_chunk3E2C6CIEjs.SDK_API_MAJOR)
|
|
4486
4486
|
} : runtimeHeaders;
|
|
4487
4487
|
const http = this.http;
|
|
4488
4488
|
let submitted = false;
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.567",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOOFYQCNUjs = require('./chunk-OOFYQCNU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
var _commander = require('commander');
|
|
@@ -22,7 +22,7 @@ var _fs = require('fs');
|
|
|
22
22
|
var _path = require('path');
|
|
23
23
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
24
24
|
function lastSearchPath() {
|
|
25
|
-
return _path.join.call(void 0,
|
|
25
|
+
return _path.join.call(void 0, _chunkCR7U44AWjs.sdkCliStateDirPath.call(void 0, _chunkCR7U44AWjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
26
26
|
}
|
|
27
27
|
function rememberSearchRef(searchRef) {
|
|
28
28
|
writeSearchRefs({ searchRef });
|
|
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
132
132
|
console.error("--summary-width must be an integer of at least 2.");
|
|
133
133
|
return 1;
|
|
134
134
|
}
|
|
135
|
-
const client = new (0,
|
|
135
|
+
const client = new (0, _chunkOOFYQCNUjs.DeeplineClient)();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-FEB5JLB5.js")));
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
157
157
|
const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
|
|
158
158
|
if (!multiple) {
|
|
159
159
|
if (searchRef) rememberSearchRef(searchRef);
|
|
160
|
-
|
|
160
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0, result, { json, text });
|
|
161
161
|
return 0;
|
|
162
162
|
}
|
|
163
163
|
searches.push({ ...result, query });
|
|
@@ -171,8 +171,8 @@ ${text}`);
|
|
|
171
171
|
}
|
|
172
172
|
} catch (error) {
|
|
173
173
|
if (!multiple) throw error;
|
|
174
|
-
const payload =
|
|
175
|
-
const queryExitCode = _nullishCoalesce(payload.exitCode, () => (
|
|
174
|
+
const payload = _chunkLTJQCMEMjs.errorToJsonPayload.call(void 0, error);
|
|
175
|
+
const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkLTJQCMEMjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
176
176
|
searches.push({ ...payload, query, exitCode: queryExitCode });
|
|
177
177
|
if (!json) {
|
|
178
178
|
console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
|
|
@@ -184,7 +184,7 @@ Search failed.
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
rememberSearchRefsByTool(refs);
|
|
187
|
-
|
|
187
|
+
_chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
|
|
188
188
|
{ searches },
|
|
189
189
|
{
|
|
190
190
|
json,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3TJKNRHY.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZPD6SPP2.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C67KGU5G.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S72EZ4R5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./chunk-BM4GE67C.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GWKHJ6BN.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3TJKNRHY.mjs";
|
|
23
23
|
import {
|
|
24
24
|
autoDetectBaseUrl,
|
|
25
25
|
resolveApiKeyForBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZPD6SPP2.mjs";
|
|
27
27
|
|
|
28
28
|
// src/cli/commands/describe.ts
|
|
29
29
|
import { writeFileSync } from "fs";
|