deepline 0.3.464 → 0.3.466
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 +2 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +130 -57
- package/dist/cli/{auth-GMSI6QWR.mjs → auth-HYIPYSKK.mjs} +5 -5
- package/dist/cli/auth-Y3UTWD3W.js +41 -0
- package/dist/cli/{billing-6G2RFLM7.mjs → billing-5S6SGBUP.mjs} +6 -6
- package/dist/cli/{billing-MGH36CNP.js → billing-NG62QGPT.js} +77 -77
- package/dist/cli/{chunk-ZQERHPZA.js → chunk-22BKA2QL.js} +26 -26
- package/dist/cli/{chunk-BMUDQMYE.js → chunk-3DVJ2IPG.js} +7 -7
- package/dist/cli/{chunk-MQNBOSQP.mjs → chunk-46YQQOTC.mjs} +5 -5
- package/dist/cli/{chunk-WLIFUH6W.js → chunk-4QJ63YHC.js} +8 -8
- package/dist/cli/{chunk-K3BARC72.js → chunk-5BEKJUOK.js} +2 -2
- package/dist/cli/{chunk-HGUHBLX5.mjs → chunk-5EUJKY3G.mjs} +3 -3
- package/dist/cli/{chunk-6A7OH2PV.mjs → chunk-6CYRIFZ3.mjs} +2 -2
- package/dist/cli/{chunk-6KDOO7IM.mjs → chunk-6R36QIG4.mjs} +4 -4
- package/dist/cli/{chunk-FEWZT4RV.js → chunk-7IWYO475.js} +21 -21
- package/dist/cli/{chunk-OA7IIOLW.mjs → chunk-7QITO7XO.mjs} +4 -4
- package/dist/cli/{chunk-4XNXFHG6.js → chunk-A7MWUG5H.js} +1 -1
- package/dist/cli/{chunk-ACZLDP7L.js → chunk-B7BNWOG6.js} +3 -3
- package/dist/cli/{chunk-VZX4P5FT.js → chunk-CMXFOZVG.js} +93 -93
- package/dist/cli/{chunk-ZIMCLWEW.js → chunk-EOKUL6XS.js} +5 -5
- package/dist/cli/{chunk-44BEFU62.mjs → chunk-F6H74EFB.mjs} +2 -2
- package/dist/cli/{chunk-RFOQRCMW.mjs → chunk-FWHRCZET.mjs} +4 -4
- package/dist/cli/{chunk-VYDOPASG.mjs → chunk-H5MYPDO2.mjs} +1 -1
- package/dist/cli/{chunk-O4ZMADW4.js → chunk-HOFXQYRF.js} +7 -7
- package/dist/cli/{chunk-MP3O4ISC.mjs → chunk-IEQPOBTK.mjs} +1 -1
- package/dist/cli/{chunk-O4AOYLZE.mjs → chunk-JLE5UYZV.mjs} +2 -2
- package/dist/cli/{chunk-TU3M7UXJ.js → chunk-LDEJ4NUP.js} +10 -10
- package/dist/cli/{chunk-EQNJUG3N.js → chunk-MTH7WIE3.js} +53 -53
- package/dist/cli/{chunk-XMDBN2K7.mjs → chunk-NJ6KQLMO.mjs} +10 -10
- package/dist/cli/{chunk-GVJVBBGV.js → chunk-NQH7E3F2.js} +3 -3
- package/dist/cli/{chunk-E4QJKJH6.js → chunk-NYNNNOJW.js} +51 -51
- package/dist/cli/{chunk-FVAB2JRO.js → chunk-OB5NON4G.js} +8 -8
- package/dist/cli/{chunk-NI3QFUK7.js → chunk-PEUWKPY4.js} +4 -4
- package/dist/cli/{chunk-TMVBBGSK.mjs → chunk-QMHBWFU5.mjs} +1 -1
- package/dist/cli/{chunk-DO3FSI4C.mjs → chunk-QTTYIPFY.mjs} +1 -1
- package/dist/cli/{chunk-UM363DQF.mjs → chunk-QWMXP2IP.mjs} +2 -2
- package/dist/cli/{chunk-3AIMFE3Z.js → chunk-QZKSG7XZ.js} +36 -36
- package/dist/cli/{chunk-5XIGEYYK.js → chunk-R2SQN2CD.js} +6 -6
- package/dist/cli/{chunk-PPQL5F4P.mjs → chunk-RCMT6AZ5.mjs} +1 -1
- package/dist/cli/{chunk-2RFTOESC.js → chunk-RGRSUMN6.js} +5 -5
- package/dist/cli/{chunk-X3XJ6ZSJ.js → chunk-RRCVAVM7.js} +2 -2
- package/dist/cli/{chunk-5CKIO7KA.mjs → chunk-RSXOGXGX.mjs} +1 -1
- package/dist/cli/{chunk-6E2KNNTD.mjs → chunk-SQFBLBYC.mjs} +2 -2
- package/dist/cli/{chunk-UOAHDEAI.js → chunk-SWUSDFG2.js} +9 -9
- package/dist/cli/{chunk-VQHEMZ33.mjs → chunk-UHAKSLL2.mjs} +2 -2
- package/dist/cli/{chunk-J327QVQV.mjs → chunk-V27TVT7P.mjs} +1 -1
- package/dist/cli/{chunk-6COF5LIE.mjs → chunk-VSEKVRAP.mjs} +2 -2
- package/dist/cli/{chunk-ZAB6KCZW.js → chunk-VVCMP45C.js} +3 -3
- package/dist/cli/{chunk-CUZVOPPY.mjs → chunk-W4XWGNW4.mjs} +3 -3
- package/dist/cli/{chunk-M4QVY6RW.mjs → chunk-WKOWXTDR.mjs} +2 -2
- package/dist/cli/{chunk-3MKRAI6R.mjs → chunk-YHPUJI7G.mjs} +5 -5
- package/dist/cli/{chunk-K4DVRQTY.js → chunk-ZBWKWMSH.js} +16 -16
- package/dist/cli/{csv-W2JPV57R.js → csv-AD2DLLLL.js} +13 -13
- package/dist/cli/{csv-4ZVMBOCK.mjs → csv-ZGZX2IIP.mjs} +4 -4
- package/dist/cli/{db-TVK6BLRB.mjs → db-LUFEKPEK.mjs} +6 -6
- package/dist/cli/{db-6YNFDHEW.js → db-NBY4LHAY.js} +27 -27
- package/dist/cli/{describe-JFN4ECPO.mjs → describe-MLXMC47U.mjs} +17 -17
- package/dist/cli/describe-Z66CQESH.js +48 -0
- package/dist/cli/{executions-J4CAN7RB.js → executions-HDJMKNBR.js} +8 -8
- package/dist/cli/{executions-2FK4FFKE.mjs → executions-JKVWM3P4.mjs} +6 -6
- package/dist/cli/{feedback-EYRRLA2P.mjs → feedback-7E5Z4ZO5.mjs} +4 -4
- package/dist/cli/{feedback-NOO4OM4U.js → feedback-VXMP7HDF.js} +8 -8
- package/dist/cli/git-NNSJKW3V.js +25 -0
- package/dist/cli/{git-D3Q4JKBC.mjs → git-UFMRAGMY.mjs} +5 -5
- package/dist/cli/index.js +135 -135
- package/dist/cli/index.mjs +40 -40
- package/dist/cli/{legacy-noops-5ZGRKSN3.js → legacy-noops-4QKREY4K.js} +8 -8
- package/dist/cli/{legacy-noops-SUFJWBLZ.mjs → legacy-noops-BDULCVGD.mjs} +5 -5
- package/dist/cli/{monitors-3QFJZA6Z.js → monitors-LNNSTELC.js} +91 -91
- package/dist/cli/{monitors-IRDIIR6J.mjs → monitors-S6TDJYCK.mjs} +7 -7
- package/dist/cli/{org-2VA2FSMG.mjs → org-EEEMWKQ2.mjs} +6 -6
- package/dist/cli/{org-275OJJ7W.js → org-OWM3IGOK.js} +68 -68
- package/dist/cli/{pages-SPRBOZRA.js → pages-7JF6AKDI.js} +17 -17
- package/dist/cli/{pages-WCUEBFYU.mjs → pages-ZYYMQUDX.mjs} +6 -6
- package/dist/cli/{play-7UL5H6QU.mjs → play-5Z3E7KL6.mjs} +17 -17
- package/dist/cli/{play-NMHUWBET.js → play-WLAFXAHR.js} +304 -304
- package/dist/cli/{providers-WSCKV557.mjs → providers-JUT7IYD3.mjs} +6 -6
- package/dist/cli/{providers-72LUJEAT.js → providers-TTDFQQU2.js} +9 -9
- package/dist/cli/{quickstart-XSUUAE2Y.js → quickstart-OZYEGICI.js} +6 -6
- package/dist/cli/{quickstart-K4LAKJKJ.mjs → quickstart-P4TL4NWJ.mjs} +4 -4
- package/dist/cli/{run-MLV2CLW7.js → run-BYGE4LUB.js} +36 -36
- package/dist/cli/{run-R2MOXXHH.mjs → run-CM6OZUBR.mjs} +22 -22
- package/dist/cli/search-RIG4LTCS.js +32 -0
- package/dist/cli/{search-WHJZNWKE.mjs → search-RZRJ73YL.mjs} +7 -7
- package/dist/cli/{secrets-YGVOFLI5.mjs → secrets-DHI6ZMKE.mjs} +6 -6
- package/dist/cli/{secrets-7PXFBOFY.js → secrets-XLTN3SCL.js} +15 -15
- package/dist/cli/{sessions-ASXXZI42.js → sessions-6NCQQXVK.js} +6 -6
- package/dist/cli/{sessions-G7I54W4L.mjs → sessions-MZD5WZBT.mjs} +5 -5
- package/dist/cli/{settings-RTEBMDPC.js → settings-JJH72W5V.js} +78 -78
- package/dist/cli/{settings-4GFO6JYO.mjs → settings-S6GQ4XFZ.mjs} +11 -11
- package/dist/cli/{setup-A6V2MJK7.js → setup-3BIOG6N2.js} +44 -44
- package/dist/cli/{setup-4RJGKSDC.mjs → setup-ZJ4G54XN.mjs} +9 -9
- package/dist/cli/{skills-432W6EGS.mjs → skills-FBH4REPB.mjs} +7 -7
- package/dist/cli/skills-ODISCL7S.js +31 -0
- package/dist/cli/tools-IHBHDI4P.js +55 -0
- package/dist/cli/{tools-SABREK3C.mjs → tools-J6YGZTD5.mjs} +16 -16
- package/dist/cli/update-5O3HDR5O.js +33 -0
- package/dist/cli/{update-F7NO5RDW.mjs → update-6CSRALIQ.mjs} +9 -9
- package/dist/cli/{workflow-TF6YDWTM.js → workflow-2ETKYSJV.js} +17 -17
- package/dist/cli/{workflow-F4N7CFUX.mjs → workflow-3ATSB7HQ.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +96 -96
- 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-P4E7M3AV.js +0 -41
- package/dist/cli/describe-APW5TWBT.js +0 -48
- package/dist/cli/git-FPF6DT43.js +0 -25
- package/dist/cli/search-AYFUV6YV.js +0 -32
- package/dist/cli/skills-GOQECD7H.js +0 -31
- package/dist/cli/tools-JXYN7WOE.js +0 -55
- package/dist/cli/update-BSB4TJER.js +0 -33
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNQH7E3F2js = require('./chunk-NQH7E3F2.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 } = _chunkHOFXQYRFjs.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
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.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
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.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
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.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
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.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
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkHOFXQYRFjs.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 = _chunkNQH7E3F2js.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkHOFXQYRFjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.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
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.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
|
+
_chunkHOFXQYRFjs.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 } = _chunkHOFXQYRFjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -26,7 +26,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkPEUWKPY4js = require('./chunk-PEUWKPY4.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -647,7 +647,7 @@ var ToolCalls = class {
|
|
|
647
647
|
idempotencyKey,
|
|
648
648
|
onResponse: (response2) => {
|
|
649
649
|
lastResponse = null;
|
|
650
|
-
atomicToolsSupported = response2.headers.get(
|
|
650
|
+
atomicToolsSupported = response2.headers.get(_chunkPEUWKPY4js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
651
651
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
652
652
|
if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
|
|
653
653
|
try {
|
|
@@ -1026,8 +1026,8 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
|
|
1028
1028
|
return {
|
|
1029
|
-
[
|
|
1030
|
-
...receivers ? { [
|
|
1029
|
+
[_chunkPEUWKPY4js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1030
|
+
...receivers ? { [_chunkPEUWKPY4js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
function normalizeTestPolicyOverrides(value, source) {
|
|
@@ -1098,7 +1098,7 @@ var PlayClient = class {
|
|
|
1098
1098
|
return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
|
|
1099
1099
|
this.http,
|
|
1100
1100
|
resolved.request,
|
|
1101
|
-
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1101
|
+
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkPEUWKPY4js.SDK_API_MAJOR) } : headers,
|
|
1102
1102
|
options
|
|
1103
1103
|
);
|
|
1104
1104
|
}
|
|
@@ -3175,7 +3175,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3175
3175
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3176
3176
|
);
|
|
3177
3177
|
}
|
|
3178
|
-
return { [
|
|
3178
|
+
return { [_chunkPEUWKPY4js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3179
3179
|
}
|
|
3180
3180
|
function sleep(ms) {
|
|
3181
3181
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4853,7 +4853,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4853
4853
|
const probe = await fetchPage(0, 1);
|
|
4854
4854
|
const lastStoredSeq = probe.lastStoredSeq;
|
|
4855
4855
|
const oldestStoredSeq = _nullishCoalesce(_optionalChain([probe, 'access', _250 => _250.entries, 'access', _251 => _251[0], 'optionalAccess', _252 => _252.seq]), () => ( null));
|
|
4856
|
-
const upperSeq = beforeSequence === null ?
|
|
4856
|
+
const upperSeq = beforeSequence === null ? lastStoredSeq : Math.min(beforeSequence - 1, lastStoredSeq);
|
|
4857
4857
|
const windowEndSeq = Math.min(upperSeq, lastStoredSeq);
|
|
4858
4858
|
let afterSeq = _optionalChain([options, 'optionalAccess', _253 => _253.all]) ? 0 : Math.max(0, windowEndSeq - limit);
|
|
4859
4859
|
const entries = [];
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H5MYPDO2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7QITO7XO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6R36QIG4.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6CYRIFZ3.mjs";
|
|
14
14
|
import {
|
|
15
15
|
autoDetectBaseUrl
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RSXOGXGX.mjs";
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/update.ts
|
|
19
19
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEOKUL6XSjs = require('./chunk-EOKUL6XS.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkNQH7E3F2js = require('./chunk-NQH7E3F2.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
|
|
|
5713
5713
|
var _path = require('path');
|
|
5714
5714
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
5715
5715
|
function lastSearchPath() {
|
|
5716
|
-
return _path.join.call(void 0,
|
|
5716
|
+
return _path.join.call(void 0, _chunkNQH7E3F2js.sdkCliStateDirPath.call(void 0, _chunkNQH7E3F2js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
5717
5717
|
}
|
|
5718
5718
|
function rememberSearchRef(searchRef) {
|
|
5719
5719
|
try {
|
|
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
5877
5877
|
];
|
|
5878
5878
|
function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
|
|
5879
5879
|
if (result.results.length === 0)
|
|
5880
|
-
return
|
|
5880
|
+
return _chunkHOFXQYRFjs.renderCommandEnvelopeText.call(void 0, result);
|
|
5881
5881
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
5882
5882
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
5883
5883
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
|
|
|
5902
5902
|
actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
|
|
5903
5903
|
};
|
|
5904
5904
|
const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
|
|
5905
|
-
${
|
|
5905
|
+
${_chunkHOFXQYRFjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5906
5906
|
const notes = rows.flatMap(
|
|
5907
5907
|
(row) => row.notes.map((note) => ` ${row.id}: ${note}`)
|
|
5908
5908
|
);
|
|
@@ -5997,7 +5997,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
5997
5997
|
console.error("--summary-width must be an integer of at least 2.");
|
|
5998
5998
|
return 1;
|
|
5999
5999
|
}
|
|
6000
|
-
const { search_ref: searchRef, ...result } = await new (0,
|
|
6000
|
+
const { search_ref: searchRef, ...result } = await new (0, _chunkEOKUL6XSjs.DeeplineClient)().search({
|
|
6001
6001
|
query,
|
|
6002
6002
|
types,
|
|
6003
6003
|
exclude,
|
|
@@ -6011,7 +6011,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
6011
6011
|
});
|
|
6012
6012
|
if (searchRef) rememberSearchRef(searchRef);
|
|
6013
6013
|
pointAtDescribe(result);
|
|
6014
|
-
|
|
6014
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0, result, {
|
|
6015
6015
|
json: options.json === true,
|
|
6016
6016
|
text: renderSearchResults(result, summaryWidth)
|
|
6017
6017
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunkHOFXQYRFjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-LJ5747UC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F6H74EFB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope,
|
|
9
9
|
renderCommandEnvelopeText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6CYRIFZ3.mjs";
|
|
11
11
|
import {
|
|
12
12
|
resolveConfig,
|
|
13
13
|
sdkCliStateDirPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RSXOGXGX.mjs";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__toESM
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
HttpClient,
|
|
3
3
|
resolveCliCommandContext,
|
|
4
4
|
resolveConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RSXOGXGX.mjs";
|
|
6
6
|
import {
|
|
7
7
|
detectAgentRuntime
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IEQPOBTK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
DeeplineError,
|
|
11
11
|
serializeToolExecutionFailure
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QTTYIPFY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SKILL_AGENTS,
|
|
6
6
|
KNOWN_SKILL_AGENTS,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
sdkCliStateDirPath,
|
|
13
13
|
skillsAgentPathSegment,
|
|
14
14
|
writeSdkSkillsLocalVersion
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RSXOGXGX.mjs";
|
|
16
16
|
import {
|
|
17
17
|
SDK_API_CONTRACT,
|
|
18
18
|
SDK_API_MAJOR,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
agentSessionIdFromEnvironment,
|
|
21
21
|
deploymentProtectionHeaders,
|
|
22
22
|
detectAgentRuntime
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IEQPOBTK.mjs";
|
|
24
24
|
import {
|
|
25
25
|
DeeplineError
|
|
26
26
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
27
27
|
import {
|
|
28
28
|
SDK_RELEASE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-V27TVT7P.mjs";
|
|
30
30
|
|
|
31
31
|
// src/compat.ts
|
|
32
32
|
import { randomUUID } from "crypto";
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZBWKWMSHjs = require('./chunk-ZBWKWMSH.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkMTH7WIE3js = require('./chunk-MTH7WIE3.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkNQH7E3F2js = require('./chunk-NQH7E3F2.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkPEUWKPY4js = require('./chunk-PEUWKPY4.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/compatibility-catalog.ts
|
|
23
23
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
|
|
|
44
44
|
async function reportAutoUpdateEvent(input) {
|
|
45
45
|
let apiKey = "";
|
|
46
46
|
try {
|
|
47
|
-
apiKey =
|
|
47
|
+
apiKey = _chunkNQH7E3F2js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
48
48
|
} catch (e2) {
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
|
|
|
60
60
|
headers: {
|
|
61
61
|
Authorization: `Bearer ${apiKey}`,
|
|
62
62
|
"Content-Type": "application/json",
|
|
63
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
63
|
+
"User-Agent": `deepline-ts-sdk/${_chunkPEUWKPY4js.SDK_VERSION}`,
|
|
64
64
|
"X-Deepline-Client-Family": "sdk",
|
|
65
65
|
"X-Deepline-CLI-Family": "sdk",
|
|
66
|
-
"X-Deepline-CLI-Version":
|
|
67
|
-
"X-Deepline-SDK-Version":
|
|
66
|
+
"X-Deepline-CLI-Version": _chunkPEUWKPY4js.SDK_VERSION,
|
|
67
|
+
"X-Deepline-SDK-Version": _chunkPEUWKPY4js.SDK_VERSION
|
|
68
68
|
},
|
|
69
69
|
body: JSON.stringify({
|
|
70
70
|
event: input.event,
|
|
71
|
-
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ||
|
|
71
|
+
current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkPEUWKPY4js.SDK_VERSION,
|
|
72
72
|
target_version: input.response.latest,
|
|
73
73
|
reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
|
|
74
74
|
command: _nullishCoalesce(input.response.command, () => ( null)),
|
|
@@ -87,13 +87,13 @@ function envTruthy(name) {
|
|
|
87
87
|
return value === "1" || value === "true" || value === "yes";
|
|
88
88
|
}
|
|
89
89
|
function shouldSkipSelfUpdate(policy) {
|
|
90
|
-
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !
|
|
90
|
+
return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkZBWKWMSHjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkMTH7WIE3js.isCiEnvironment.call(void 0, );
|
|
91
91
|
}
|
|
92
92
|
function isDowngradeAutoUpdateResponse(response) {
|
|
93
93
|
const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
|
|
94
|
-
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) ||
|
|
94
|
+
const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkPEUWKPY4js.SDK_VERSION;
|
|
95
95
|
if (!target) return false;
|
|
96
|
-
return
|
|
96
|
+
return _chunkZBWKWMSHjs.compareUpdateVersions.call(void 0, target, current) < 0;
|
|
97
97
|
}
|
|
98
98
|
function relaunchCurrentCommand(plan, runtime = {}) {
|
|
99
99
|
return new Promise((resolve) => {
|
|
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
146
146
|
}
|
|
147
147
|
if (isDowngradeAutoUpdateResponse(response)) {
|
|
148
148
|
const target = response.latest;
|
|
149
|
-
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) ||
|
|
149
|
+
const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkPEUWKPY4js.SDK_VERSION;
|
|
150
150
|
process.stderr.write(
|
|
151
151
|
`Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
|
|
152
152
|
`
|
|
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
154
154
|
return false;
|
|
155
155
|
}
|
|
156
156
|
const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
|
|
157
|
-
const plan =
|
|
157
|
+
const plan = _chunkZBWKWMSHjs.resolveUpdatePlan.call(void 0, {
|
|
158
158
|
packageSpec,
|
|
159
159
|
requireVerifiedNpmOwnership: true,
|
|
160
160
|
npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
|
|
161
161
|
});
|
|
162
|
-
if (!
|
|
162
|
+
if (!_chunkZBWKWMSHjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
|
|
163
163
|
return false;
|
|
164
164
|
}
|
|
165
165
|
if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
166
166
|
deferredAutoUpdate = async () => {
|
|
167
167
|
await applyAutoUpdate(response, baseUrl, plan, "next_command");
|
|
168
168
|
};
|
|
169
|
-
if (
|
|
169
|
+
if (_chunkHOFXQYRFjs.isJsonOutputMode.call(void 0, )) {
|
|
170
170
|
const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
|
|
171
|
-
|
|
171
|
+
_chunkHOFXQYRFjs.addJsonNotice.call(void 0, {
|
|
172
172
|
code: "sdk_update_queued",
|
|
173
173
|
message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
|
|
174
174
|
});
|
|
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
|
|
|
181
181
|
return true;
|
|
182
182
|
}
|
|
183
183
|
async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
184
|
-
if (!
|
|
184
|
+
if (!_chunkZBWKWMSHjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
|
|
185
185
|
const autoUpdate = response.auto_update;
|
|
186
186
|
const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
|
|
187
187
|
process.stderr.write(
|
|
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
|
|
|
194
194
|
event: "started",
|
|
195
195
|
installKind: plan.kind
|
|
196
196
|
});
|
|
197
|
-
const updateResult = await
|
|
197
|
+
const updateResult = await _chunkZBWKWMSHjs.runAutomaticUpdatePlan.call(void 0, plan);
|
|
198
198
|
if (updateResult.status === "skipped_previous_failure") {
|
|
199
199
|
void reportAutoUpdateEvent({
|
|
200
200
|
baseUrl,
|
|
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
|
|
|
245
245
|
var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
|
|
246
246
|
var activeToolExecuteCommand = null;
|
|
247
247
|
function progressLine(line) {
|
|
248
|
-
if (!
|
|
248
|
+
if (!_chunkHOFXQYRFjs.isJsonOutputMode.call(void 0, )) console.error(line);
|
|
249
249
|
}
|
|
250
250
|
function beginToolExecuteCommand() {
|
|
251
251
|
if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6R36QIG4.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6CYRIFZ3.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RSXOGXGX.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IEQPOBTK.mjs";
|
|
28
28
|
|
|
29
29
|
// src/cli/commands/skills.ts
|
|
30
30
|
import { spawn } from "child_process";
|
|
@@ -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.466",
|
|
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."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -17,7 +17,7 @@ var CliProgress = (_class = class {
|
|
|
17
17
|
|
|
18
18
|
// --json output is one JSON document: progress never renders under it.
|
|
19
19
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);
|
|
20
|
-
this.enabled = enabled && !
|
|
20
|
+
this.enabled = enabled && !_chunkHOFXQYRFjs.isJsonOutputMode.call(void 0, );
|
|
21
21
|
}
|
|
22
22
|
setLogWriter(writer) {
|
|
23
23
|
this.logWriter = writer;
|
|
@@ -49,7 +49,7 @@ var CliProgress = (_class = class {
|
|
|
49
49
|
this.logWriter(line);
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
-
if (
|
|
52
|
+
if (_chunkHOFXQYRFjs.isJsonOutputMode.call(void 0, )) return;
|
|
53
53
|
if (!this.enabled) {
|
|
54
54
|
process.stderr.write(`${line}
|
|
55
55
|
`);
|