deepline 0.3.450 → 0.3.452
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/play-runtime/runner-app/index.ts +5 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +133 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +49 -11
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +17 -2
- package/dist/cli/auth-36DQP46D.js +40 -0
- package/dist/cli/{auth-CHYW6BU3.mjs → auth-DKZLB6GN.mjs} +4 -4
- package/dist/cli/{billing-NCV2CBLH.js → billing-CN3XSVER.js} +73 -73
- package/dist/cli/{billing-YADYH5P7.mjs → billing-DOFXWAZR.mjs} +4 -4
- package/dist/cli/{chunk-EKVOSR3S.mjs → chunk-2GMAPSJU.mjs} +5 -5
- package/dist/cli/{chunk-B2V2F3KV.mjs → chunk-2SICEJBN.mjs} +1 -1
- package/dist/cli/{chunk-UMA7425N.js → chunk-2VERHTKO.js} +2 -2
- package/dist/cli/{chunk-IGMBTEF7.js → chunk-5DRGDSJL.js} +26 -26
- package/dist/cli/{chunk-IESQOIOE.js → chunk-74BPYDDG.js} +8 -8
- package/dist/cli/{chunk-IYBC6WON.js → chunk-7JSZOUNU.js} +1 -1
- package/dist/cli/{chunk-OZ5ME7BP.js → chunk-7OI33KE5.js} +2 -2
- package/dist/cli/{chunk-QROZFMGC.mjs → chunk-ELULDUX3.mjs} +1 -1
- package/dist/cli/{chunk-6TABNDCB.js → chunk-ETFVH7PO.js} +4 -4
- package/dist/cli/{chunk-ZYORWYLP.mjs → chunk-FIQ2F5LA.mjs} +2 -2
- package/dist/cli/{chunk-2VKDHJU3.js → chunk-G5BMPTZD.js} +81 -81
- package/dist/cli/{chunk-JWZIZH2C.js → chunk-J5O4AXSO.js} +10 -10
- package/dist/cli/{chunk-3JEMYGIR.mjs → chunk-JJOSUZMS.mjs} +1 -1
- package/dist/cli/{chunk-VYMLYV2K.js → chunk-JT4ZSWBK.js} +16 -16
- package/dist/cli/{chunk-N42KCXPD.mjs → chunk-KQUDU3ZE.mjs} +2 -2
- package/dist/cli/{chunk-LTQCEQOZ.js → chunk-L2GATUZK.js} +20 -20
- package/dist/cli/{chunk-XUD5AOQY.js → chunk-L6YCGSL4.js} +35 -35
- package/dist/cli/{chunk-7IUG4STX.js → chunk-M4FFNUF4.js} +50 -50
- package/dist/cli/{chunk-4Z356NPN.mjs → chunk-PBQSX6ES.mjs} +1 -1
- package/dist/cli/{chunk-UJHJXWM4.mjs → chunk-POSAVPQZ.mjs} +2 -2
- package/dist/cli/{chunk-HRRVDDFH.mjs → chunk-QK65KBWN.mjs} +8 -8
- package/dist/cli/{chunk-3SRJO6H4.mjs → chunk-R7YZKHN5.mjs} +3 -3
- package/dist/cli/{chunk-AJUNUE32.mjs → chunk-RFDIXLRX.mjs} +1 -1
- package/dist/cli/{chunk-CA3NM3W4.mjs → chunk-RNM4HG3W.mjs} +3 -3
- package/dist/cli/{chunk-5R7YPB5X.mjs → chunk-SM5RZ5JC.mjs} +1 -1
- package/dist/cli/{chunk-ZEVUPOF6.mjs → chunk-TXN27XQQ.mjs} +2 -2
- package/dist/cli/{chunk-2UNTSLTR.mjs → chunk-UGPGB4C6.mjs} +3 -3
- package/dist/cli/{chunk-2SASGLVN.js → chunk-WW63S4RC.js} +6 -6
- package/dist/cli/{chunk-B4T7EFBZ.mjs → chunk-X4IMX5AO.mjs} +4 -4
- package/dist/cli/{chunk-NSIOVSNZ.js → chunk-YWL4ULLT.js} +52 -52
- package/dist/cli/{chunk-CBM27PDJ.js → chunk-ZH6HFV7Y.js} +8 -8
- package/dist/cli/{chunk-47GRLLV2.js → chunk-ZKGK2JU3.js} +6 -6
- package/dist/cli/{csv-VQLS5D7H.js → csv-N25FMDZQ.js} +12 -12
- package/dist/cli/{csv-7PXCJKYS.mjs → csv-QUNUQZYC.mjs} +3 -3
- package/dist/cli/{db-XDUC3MFP.js → db-2SGG56WR.js} +25 -25
- package/dist/cli/{db-JYLMLQQO.mjs → db-WYWDUYXS.mjs} +4 -4
- package/dist/cli/{describe-LDHY5HTB.mjs → describe-4RBUIHR7.mjs} +12 -12
- package/dist/cli/{describe-G6SRQQHS.js → describe-QQ2XL6PV.js} +16 -16
- package/dist/cli/{executions-M7MDBFHA.mjs → executions-WOBIMQ7H.mjs} +4 -4
- package/dist/cli/{executions-HPI65XBL.js → executions-YLJHAHHX.js} +6 -6
- package/dist/cli/{feedback-Y66JKRPN.js → feedback-D653FAXY.js} +7 -7
- package/dist/cli/{feedback-6V4DDJVD.mjs → feedback-VCGVROTY.mjs} +3 -3
- package/dist/cli/{git-BTKGTTGF.mjs → git-SZ6RSLFN.mjs} +4 -4
- package/dist/cli/git-T6LBJEY6.js +24 -0
- package/dist/cli/index.js +131 -131
- package/dist/cli/index.mjs +36 -36
- package/dist/cli/{legacy-noops-DEVCEE64.js → legacy-noops-TXZ75CWS.js} +7 -7
- package/dist/cli/{legacy-noops-MUBHYOEG.mjs → legacy-noops-UGLTI2ZY.mjs} +4 -4
- package/dist/cli/{monitors-SOGDSYPL.mjs → monitors-HLIW4AIL.mjs} +7 -5
- package/dist/cli/{monitors-2DJFA7XX.js → monitors-VC6YSBYX.js} +87 -85
- package/dist/cli/{org-UWMWVV73.js → org-I3VQDIGZ.js} +66 -66
- package/dist/cli/{org-D6ZFFG4D.mjs → org-X4MVTSKM.mjs} +4 -4
- package/dist/cli/{play-P423OXCU.js → play-7TLGGN66.js} +283 -283
- package/dist/cli/{play-TIR2S6IA.mjs → play-EAYGEAMI.mjs} +10 -10
- package/dist/cli/{providers-6F5F6D4O.js → providers-IZ3YWZ4E.js} +7 -7
- package/dist/cli/{providers-HRDAG3UX.mjs → providers-MBTMUEGX.mjs} +4 -4
- package/dist/cli/{quickstart-SOWZOPAS.js → quickstart-MBDEV4RJ.js} +5 -5
- package/dist/cli/{quickstart-UMZS7HBY.mjs → quickstart-MDW2NMAS.mjs} +3 -3
- package/dist/cli/{search-5FGZVQSP.mjs → search-4PQZYRQO.mjs} +5 -5
- package/dist/cli/search-5B4ZM7VS.js +30 -0
- package/dist/cli/{secrets-7E2TOVYP.js → secrets-3S7KUS2H.js} +13 -13
- package/dist/cli/{secrets-SACNVEWL.mjs → secrets-S55UCYYR.mjs} +4 -4
- package/dist/cli/{sessions-5VCX7MYU.mjs → sessions-T6XVN737.mjs} +4 -4
- package/dist/cli/{sessions-FNON33JD.js → sessions-UEHVIB6W.js} +5 -5
- package/dist/cli/{settings-EJACNJR4.mjs → settings-CGP7XMJZ.mjs} +8 -8
- package/dist/cli/{settings-6MYQGDQX.js → settings-MYAUWNTF.js} +75 -75
- package/dist/cli/{setup-QVEIV4R4.js → setup-5Z5HAWEG.js} +42 -42
- package/dist/cli/{setup-KJ7IADVC.mjs → setup-U66NZQXB.mjs} +7 -7
- package/dist/cli/{skills-SUV3DJEU.mjs → skills-2JS3SNFA.mjs} +5 -5
- package/dist/cli/skills-JXPQFJAJ.js +29 -0
- package/dist/cli/{tools-H4ZL5QDZ.mjs → tools-G3VYZKTO.mjs} +12 -12
- package/dist/cli/tools-RHRJ4SLY.js +44 -0
- package/dist/cli/update-5YBPJ3EQ.js +31 -0
- package/dist/cli/{update-5UGF4334.mjs → update-C7CLWWIW.mjs} +7 -7
- package/dist/cli/{workflow-RABLQNGO.mjs → workflow-EUMRVXU7.mjs} +5 -5
- package/dist/cli/{workflow-THIBJ3VE.js → workflow-TBKVIN4S.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +78 -78
- 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/package.json +1 -1
- package/dist/cli/auth-3LOZKBPO.js +0 -40
- package/dist/cli/git-VVC5BRCG.js +0 -24
- package/dist/cli/search-BDIO4BBH.js +0 -30
- package/dist/cli/skills-YPH2KNH6.js +0 -29
- package/dist/cli/tools-X23MQMNE.js +0 -44
- package/dist/cli/update-GZOPNTGJ.js +0 -31
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZKGK2JU3js = require('./chunk-ZKGK2JU3.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkETFVH7POjs = require('./chunk-ETFVH7PO.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 } = _chunkZKGK2JU3js.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
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.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
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.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
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.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
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.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
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkZKGK2JU3js.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 = _chunkETFVH7POjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkZKGK2JU3js.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.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
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.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
|
+
_chunkZKGK2JU3js.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 } = _chunkZKGK2JU3js.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkZKGK2JU3js.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJ5O4AXSOjs = require('./chunk-J5O4AXSO.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZKGK2JU3js = require('./chunk-ZKGK2JU3.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkETFVH7POjs = require('./chunk-ETFVH7PO.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, _chunkETFVH7POjs.sdkCliStateDirPath.call(void 0, _chunkETFVH7POjs.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 _chunkZKGK2JU3js.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
|
+
${_chunkZKGK2JU3js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5906
5906
|
const notes = rows.flatMap(
|
|
5907
5907
|
(row) => row.notes.map((note) => ` ${row.id}: ${note}`)
|
|
5908
5908
|
);
|
|
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
5987
5987
|
console.error("--summary-width must be an integer of at least 2.");
|
|
5988
5988
|
return 1;
|
|
5989
5989
|
}
|
|
5990
|
-
const { search_ref: searchRef, ...result } = await new (0,
|
|
5990
|
+
const { search_ref: searchRef, ...result } = await new (0, _chunkJ5O4AXSOjs.DeeplineClient)().search({
|
|
5991
5991
|
query,
|
|
5992
5992
|
types,
|
|
5993
5993
|
exclude,
|
|
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
6001
6001
|
});
|
|
6002
6002
|
if (searchRef) rememberSearchRef(searchRef);
|
|
6003
6003
|
pointAtDescribe(result);
|
|
6004
|
-
|
|
6004
|
+
_chunkZKGK2JU3js.printCommandEnvelope.call(void 0, result, {
|
|
6005
6005
|
json: options.json === true,
|
|
6006
6006
|
text: renderSearchResults(result, summaryWidth)
|
|
6007
6007
|
});
|
|
@@ -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.452",
|
|
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 _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYWL4ULLTjs = require('./chunk-YWL4ULLT.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/npm-script-policy.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
|
|
|
13
13
|
}
|
|
14
14
|
function readNpmVersion(env) {
|
|
15
15
|
try {
|
|
16
|
-
const plan =
|
|
16
|
+
const plan = _chunkYWL4ULLTjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
|
|
17
17
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
18
18
|
encoding: "utf8",
|
|
19
19
|
env,
|
|
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
17
17
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk7JSZOUNUjs = require('./chunk-7JSZOUNU.js');
|
|
21
21
|
|
|
22
22
|
// src/config.ts
|
|
23
23
|
|
|
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
// src/version.ts
|
|
652
|
-
var SDK_VERSION =
|
|
653
|
-
var SDK_API_MAJOR =
|
|
654
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
652
|
+
var SDK_VERSION = _chunk7JSZOUNUjs.SDK_RELEASE.version;
|
|
653
|
+
var SDK_API_MAJOR = _chunk7JSZOUNUjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
654
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunk7JSZOUNUjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
655
655
|
|
|
656
656
|
// src/agent-runtime.ts
|
|
657
657
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PBQSX6ES.mjs";
|
|
5
5
|
import {
|
|
6
6
|
agentSessionIdFromEnvironment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SM5RZ5JC.mjs";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
import {
|