deepline 0.3.318 → 0.3.319
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/execute-server-timing.ts +7 -11
- package/dist/cli/{auth-S3C6DGZK.mjs → auth-DAXPANFX.mjs} +4 -4
- package/dist/cli/auth-KRKIND3M.js +31 -0
- package/dist/cli/{billing-5RIRFKFK.js → billing-EEPRLMGV.js} +70 -70
- package/dist/cli/{billing-2YFLKRPB.mjs → billing-R3MPWLJT.mjs} +4 -4
- package/dist/cli/{chunk-YNIUFZ5B.mjs → chunk-3KALOZ6K.mjs} +1 -1
- package/dist/cli/{chunk-GP5PLKPM.js → chunk-6Q3N7AMW.js} +2 -2
- package/dist/cli/{chunk-PBW4AMCS.mjs → chunk-A37XFZMW.mjs} +2 -2
- package/dist/cli/{chunk-OUWH3UQI.mjs → chunk-B6AIO62Y.mjs} +3 -3
- package/dist/cli/{chunk-5KVYDOH3.js → chunk-B7JKUSDG.js} +6 -6
- package/dist/cli/{chunk-B3K7KANZ.js → chunk-BF4RMLQD.js} +48 -48
- package/dist/cli/{chunk-UVEB46UN.js → chunk-CWKGUF7W.js} +220 -220
- package/dist/cli/{chunk-TXWPV43B.js → chunk-EPDVATKK.js} +26 -26
- package/dist/cli/{chunk-WCR65D2N.js → chunk-FVJIHKHA.js} +15 -15
- package/dist/cli/{chunk-QIDESZOK.js → chunk-G4PESSZS.js} +1 -1
- package/dist/cli/{chunk-H5JENUSW.js → chunk-GNEIU5HS.js} +4 -4
- package/dist/cli/{chunk-A4RINW7O.js → chunk-HARNQFSB.js} +6 -6
- package/dist/cli/{chunk-HFYYLEXX.mjs → chunk-JZOCKNSF.mjs} +4 -4
- package/dist/cli/{chunk-GSGCLSB5.mjs → chunk-LDIBDH67.mjs} +5 -5
- package/dist/cli/{chunk-UIYTVYVJ.mjs → chunk-NW4C5QZY.mjs} +6 -6
- package/dist/cli/{chunk-T4D5DSN2.js → chunk-O7RGAVX3.js} +60 -60
- package/dist/cli/{chunk-7SMAPT4Q.mjs → chunk-PUWF6FLJ.mjs} +2 -2
- package/dist/cli/{chunk-SPPR7IUB.js → chunk-QAZ6GRKW.js} +6 -6
- package/dist/cli/{chunk-XXNE65K5.mjs → chunk-QSLX346S.mjs} +2 -2
- package/dist/cli/{chunk-6BA2TLYP.js → chunk-R4HA6Q7R.js} +6 -6
- package/dist/cli/{chunk-HNGEUEUZ.mjs → chunk-REBQVNAE.mjs} +1 -1
- package/dist/cli/{chunk-OQOCU7N2.mjs → chunk-TZ4TLTXI.mjs} +1 -1
- package/dist/cli/{chunk-HDXBDRID.mjs → chunk-VQ4CSOCL.mjs} +1 -1
- package/dist/cli/{chunk-N6SHI2NI.mjs → chunk-XJCZCXMB.mjs} +1 -1
- package/dist/cli/{chunk-43B4IQDT.mjs → chunk-XR4IGFZS.mjs} +1 -1
- package/dist/cli/{chunk-VQFYTD3E.js → chunk-YBZ77S4N.js} +50 -50
- package/dist/cli/client-CEGEJIFN.js +20 -0
- package/dist/cli/{client-BMLSQMUI.mjs → client-ZF6KUU5J.mjs} +3 -3
- package/dist/cli/{csv-YQXSHIVH.js → csv-3F6L56U4.js} +12 -12
- package/dist/cli/{csv-RNUTR7LO.mjs → csv-QUQHUPBG.mjs} +3 -3
- package/dist/cli/{db-ABWJP4XY.js → db-DJZT2A4C.js} +20 -20
- package/dist/cli/{db-DOZJ35SZ.mjs → db-UXCGG6SL.mjs} +4 -4
- package/dist/cli/{describe-JMUJC7S6.mjs → describe-5BHD6L6K.mjs} +8 -8
- package/dist/cli/{describe-JRWDWFIN.js → describe-FLFD7PSD.js} +15 -15
- package/dist/cli/{executions-KF7WZKF4.mjs → executions-OEXULKBB.mjs} +4 -4
- package/dist/cli/{executions-WOQ3HYRQ.js → executions-VRYP6EM6.js} +6 -6
- package/dist/cli/{feedback-6ZPHQNTY.js → feedback-O5GD3QSA.js} +6 -6
- package/dist/cli/{feedback-KLO5S6CV.mjs → feedback-X7GEE3JW.mjs} +3 -3
- package/dist/cli/git-6AFGD2F5.js +23 -0
- package/dist/cli/{git-4AQH6JOC.mjs → git-CMAG4XFC.mjs} +4 -4
- package/dist/cli/index.js +75 -75
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-PFCAMJ5O.js → legacy-noops-NYO4KJPN.js} +7 -7
- package/dist/cli/{legacy-noops-WJL3CCKD.mjs → legacy-noops-QOCRK2ZT.mjs} +4 -4
- package/dist/cli/{monitors-RYTEFDAX.mjs → monitors-QJYHRBJX.mjs} +4 -4
- package/dist/cli/{monitors-RYZ6RQWJ.js → monitors-VJ64XLPE.js} +85 -85
- package/dist/cli/{org-TUITFKO6.mjs → org-TAK5OFAJ.mjs} +4 -4
- package/dist/cli/{org-PZNEI4Z2.js → org-Y2YRV66G.js} +60 -60
- package/dist/cli/{play-STV34EKC.mjs → play-KWFMK3A5.mjs} +7 -7
- package/dist/cli/play-PD4QODBD.js +152 -0
- package/dist/cli/{providers-G374UPE3.mjs → providers-R52D4WC2.mjs} +4 -4
- package/dist/cli/{providers-K2TDVWWY.js → providers-XJWA7Y3S.js} +7 -7
- package/dist/cli/{quickstart-RBKEB32U.mjs → quickstart-2PSABJCL.mjs} +3 -3
- package/dist/cli/{quickstart-QI6Z5VU2.js → quickstart-KTVMCJVD.js} +5 -5
- package/dist/cli/search-F7LZMQRK.js +26 -0
- package/dist/cli/{search-VIVNNMFH.mjs → search-KNI4NANW.mjs} +5 -5
- package/dist/cli/{secrets-GXFMHRUN.js → secrets-FZRHJ6MM.js} +13 -13
- package/dist/cli/{secrets-FPD6A32B.mjs → secrets-IFV4FAN7.mjs} +4 -4
- package/dist/cli/{sessions-HQLIG25E.js → sessions-JQCMJ6XX.js} +5 -5
- package/dist/cli/{sessions-7XXZRPIR.mjs → sessions-SIOU2FAG.mjs} +4 -4
- package/dist/cli/{settings-J72DQVQO.js → settings-73MDOLSF.js} +74 -74
- package/dist/cli/{settings-C24HFGVP.mjs → settings-V7W6E55G.mjs} +7 -7
- package/dist/cli/{setup-Z76VRJ3C.mjs → setup-AXRRMTPA.mjs} +6 -6
- package/dist/cli/{setup-AM4MIXQJ.js → setup-ZAKWB3JW.js} +41 -41
- package/dist/cli/skills-3GTM6L22.js +28 -0
- package/dist/cli/{skills-2MNX5O4X.mjs → skills-5BR2I6AT.mjs} +4 -4
- package/dist/cli/tools-ILAARRZ4.js +38 -0
- package/dist/cli/{tools-GZIJWL36.mjs → tools-OZ2ROO42.mjs} +6 -6
- package/dist/cli/update-JFKRFOIL.js +28 -0
- package/dist/cli/{update-DDJS3QNN.mjs → update-P6CBGYFP.mjs} +6 -6
- package/dist/cli/{workflow-DYC6Q4BG.mjs → workflow-5CELCAYU.mjs} +5 -5
- package/dist/cli/{workflow-2WDLLVYG.js → workflow-OYQYIL55.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +74 -74
- 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-SPCCVKWR.js +0 -31
- package/dist/cli/client-LSNRA76T.js +0 -20
- package/dist/cli/git-2VCXV5SK.js +0 -23
- package/dist/cli/play-PQ2PS5WY.js +0 -152
- package/dist/cli/search-3FQ6SCDN.js +0 -26
- package/dist/cli/skills-6Z2V3HBJ.js +0 -28
- package/dist/cli/tools-XC2O6EHT.js +0 -38
- package/dist/cli/update-D4NV3VSL.js +0 -28
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkHARNQFSBjs = require('./chunk-HARNQFSB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkGNEIU5HSjs = require('./chunk-GNEIU5HS.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 } = _chunkHARNQFSBjs.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
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.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
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.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
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.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
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.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
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkHARNQFSBjs.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 = _chunkGNEIU5HSjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkHARNQFSBjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.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
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.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
|
+
_chunkHARNQFSBjs.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 } = _chunkHARNQFSBjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -1,17 +1,17 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk6Q3N7AMWjs = require('./chunk-6Q3N7AMW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkO7RGAVX3js = require('./chunk-O7RGAVX3.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkHARNQFSBjs = require('./chunk-HARNQFSB.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkGNEIU5HSjs = require('./chunk-GNEIU5HS.js');
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
var _child_process = require('child_process');
|
|
@@ -504,7 +504,7 @@ function normalizedNpmPrefix(value) {
|
|
|
504
504
|
}
|
|
505
505
|
function resolveNpmGlobalPrefix(env) {
|
|
506
506
|
try {
|
|
507
|
-
const plan =
|
|
507
|
+
const plan = _chunkO7RGAVX3js.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
|
|
508
508
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
509
509
|
encoding: "utf8",
|
|
510
510
|
env,
|
|
@@ -560,8 +560,8 @@ function resolveUpdatePlan(options = {}) {
|
|
|
560
560
|
const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
|
|
561
561
|
const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
|
|
562
562
|
const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
|
|
563
|
-
const npmVersion = options.npmVersion === void 0 ?
|
|
564
|
-
const npmGlobalInstallFlags =
|
|
563
|
+
const npmVersion = options.npmVersion === void 0 ? _chunk6Q3N7AMWjs.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
564
|
+
const npmGlobalInstallFlags = _chunk6Q3N7AMWjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
|
|
565
565
|
const args = installPrefix ? [
|
|
566
566
|
"install",
|
|
567
567
|
"-g",
|
|
@@ -571,7 +571,7 @@ function resolveUpdatePlan(options = {}) {
|
|
|
571
571
|
packageSpec
|
|
572
572
|
] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
|
|
573
573
|
const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
|
|
574
|
-
_optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) ||
|
|
574
|
+
_optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkGNEIU5HSjs.autoDetectBaseUrl.call(void 0, )
|
|
575
575
|
);
|
|
576
576
|
return {
|
|
577
577
|
kind: "npm-global",
|
|
@@ -718,7 +718,7 @@ function sidecarInstallFailure(versionDir) {
|
|
|
718
718
|
function runCommand(command, args, env = process.env) {
|
|
719
719
|
return new Promise((resolveResult) => {
|
|
720
720
|
let output = "";
|
|
721
|
-
const plan =
|
|
721
|
+
const plan = _chunkO7RGAVX3js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
|
|
722
722
|
const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
|
|
723
723
|
stdio: ["inherit", "pipe", "pipe"],
|
|
724
724
|
shell: plan.shell,
|
|
@@ -1094,14 +1094,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
|
|
|
1094
1094
|
throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
|
|
1095
1095
|
}
|
|
1096
1096
|
async function runUpdateCommand(options, dependencies = {}) {
|
|
1097
|
-
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => (
|
|
1097
|
+
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkGNEIU5HSjs.autoDetectBaseUrl));
|
|
1098
1098
|
const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
|
|
1099
1099
|
const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
|
|
1100
1100
|
const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
|
|
1101
1101
|
const originalWrite = process.stdout.write.bind(process.stdout);
|
|
1102
1102
|
process.stdout.write = (() => true);
|
|
1103
1103
|
try {
|
|
1104
|
-
const exitCode = await
|
|
1104
|
+
const exitCode = await _chunkO7RGAVX3js.runSkillsCommand.call(void 0, { json: true });
|
|
1105
1105
|
if (exitCode !== 0) {
|
|
1106
1106
|
throw new Error(
|
|
1107
1107
|
`Deepline skills update failed with exit ${exitCode}.`
|
|
@@ -1172,11 +1172,11 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1172
1172
|
]
|
|
1173
1173
|
};
|
|
1174
1174
|
if (options.json && !options.executeWithJson) {
|
|
1175
|
-
|
|
1175
|
+
_chunkHARNQFSBjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
|
|
1176
1176
|
return 0;
|
|
1177
1177
|
}
|
|
1178
1178
|
if (options.printCommand) {
|
|
1179
|
-
|
|
1179
|
+
_chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
|
|
1180
1180
|
{
|
|
1181
1181
|
...plan,
|
|
1182
1182
|
render: {
|
|
@@ -1189,7 +1189,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1189
1189
|
return 0;
|
|
1190
1190
|
}
|
|
1191
1191
|
if (plan.kind === "source" || plan.kind === "homebrew") {
|
|
1192
|
-
|
|
1192
|
+
_chunkHARNQFSBjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
|
|
1193
1193
|
return 0;
|
|
1194
1194
|
}
|
|
1195
1195
|
stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
|
|
@@ -1219,7 +1219,7 @@ To retry with full installer output, run: deepline skills --json
|
|
|
1219
1219
|
);
|
|
1220
1220
|
}
|
|
1221
1221
|
if (options.executeWithJson && options.json) {
|
|
1222
|
-
|
|
1222
|
+
_chunkHARNQFSBjs.printCommandEnvelope.call(void 0,
|
|
1223
1223
|
{
|
|
1224
1224
|
ok: true,
|
|
1225
1225
|
pinnedVersion
|
|
@@ -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.319",
|
|
53
53
|
updateSummary: "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.",
|
|
54
54
|
packageCapabilities: {
|
|
55
55
|
updatePreferences: 1
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkG4PESSZSjs = require('./chunk-G4PESSZS.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -721,9 +721,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
|
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
// src/version.ts
|
|
724
|
-
var SDK_VERSION =
|
|
725
|
-
var SDK_API_MAJOR =
|
|
726
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
724
|
+
var SDK_VERSION = _chunkG4PESSZSjs.SDK_RELEASE.version;
|
|
725
|
+
var SDK_API_MAJOR = _chunkG4PESSZSjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
726
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkG4PESSZSjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
727
727
|
|
|
728
728
|
// src/agent-runtime.ts
|
|
729
729
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkGNEIU5HSjs = require('./chunk-GNEIU5HS.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
@@ -136,8 +136,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
136
136
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
137
137
|
var defaultBrowserCommandRunner = childProcess;
|
|
138
138
|
function getAuthedHttpClient() {
|
|
139
|
-
const config =
|
|
140
|
-
return { config, http: new (0,
|
|
139
|
+
const config = _chunkGNEIU5HSjs.resolveConfig.call(void 0, );
|
|
140
|
+
return { config, http: new (0, _chunkGNEIU5HSjs.HttpClient)(config) };
|
|
141
141
|
}
|
|
142
142
|
function stableOsUserId() {
|
|
143
143
|
try {
|
|
@@ -477,7 +477,7 @@ function collectLocalEnvInfo() {
|
|
|
477
477
|
os: `${process.platform} ${process.arch}`,
|
|
478
478
|
node_version: process.version,
|
|
479
479
|
home_dir: homeDir,
|
|
480
|
-
agent_runtime:
|
|
480
|
+
agent_runtime: _chunkGNEIU5HSjs.detectAgentRuntime.call(void 0, )
|
|
481
481
|
};
|
|
482
482
|
const env = process.env;
|
|
483
483
|
const optional = {
|
|
@@ -725,9 +725,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
725
725
|
}
|
|
726
726
|
function withAgentCommandContext(value) {
|
|
727
727
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
728
|
-
return
|
|
728
|
+
return _chunkGNEIU5HSjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
729
729
|
...valueRecord,
|
|
730
|
-
command_context:
|
|
730
|
+
command_context: _chunkGNEIU5HSjs.resolveCliCommandContext.call(void 0, )
|
|
731
731
|
} : value;
|
|
732
732
|
}
|
|
733
733
|
function printJson(value, fields) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VQ4CSOCL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
resolveShellSpawn,
|
|
7
7
|
runSkillsCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A37XFZMW.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XR4IGFZS.mjs";
|
|
12
12
|
import {
|
|
13
13
|
autoDetectBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-REBQVNAE.mjs";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
recentSearchRef,
|
|
9
9
|
registerDeprecatedSearchCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B6AIO62Y.mjs";
|
|
11
11
|
import {
|
|
12
12
|
extractSummaryFields,
|
|
13
13
|
projectRowOutput,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-MIMASXO4.mjs";
|
|
19
19
|
import {
|
|
20
20
|
DeeplineClient
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XJCZCXMB.mjs";
|
|
22
22
|
import {
|
|
23
23
|
beginToolExecuteCommand,
|
|
24
24
|
getToolExecuteInvocationId,
|
|
@@ -33,11 +33,11 @@ import {
|
|
|
33
33
|
printJsonError,
|
|
34
34
|
renderCommandEnvelopeText,
|
|
35
35
|
shouldEmitJson
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XR4IGFZS.mjs";
|
|
37
37
|
import {
|
|
38
38
|
resolveConfig,
|
|
39
39
|
sdkCliStateDirPath
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-REBQVNAE.mjs";
|
|
41
41
|
import {
|
|
42
42
|
DeeplineError
|
|
43
43
|
} from "./chunk-NXGCO4JB.mjs";
|
|
@@ -1010,7 +1010,7 @@ Examples:
|
|
|
1010
1010
|
process.exitCode = await narrowView();
|
|
1011
1011
|
return;
|
|
1012
1012
|
}
|
|
1013
|
-
const { describeAnything } = await import("./describe-
|
|
1013
|
+
const { describeAnything } = await import("./describe-5BHD6L6K.mjs");
|
|
1014
1014
|
process.exitCode = await describeAnything(
|
|
1015
1015
|
toolId,
|
|
1016
1016
|
{ ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
} from "./chunk-EDWJY6T4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
registerDeprecatedSearchCommand
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B6AIO62Y.mjs";
|
|
11
11
|
import {
|
|
12
12
|
handleDeploymentGet,
|
|
13
13
|
handleDeploymentsList
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QSLX346S.mjs";
|
|
15
15
|
import {
|
|
16
16
|
PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY,
|
|
17
17
|
PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
normalizeRunEventOperationRequest,
|
|
35
35
|
parseLogLevel,
|
|
36
36
|
playInputExampleArgs
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XJCZCXMB.mjs";
|
|
38
38
|
import {
|
|
39
39
|
CSV_DATA_INPUT_KEY,
|
|
40
40
|
buildNamedPlayRunRequest,
|
|
@@ -66,10 +66,10 @@ import {
|
|
|
66
66
|
printJson,
|
|
67
67
|
printJsonError,
|
|
68
68
|
renderCommandEnvelopeText
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-XR4IGFZS.mjs";
|
|
70
70
|
import {
|
|
71
71
|
fetchWithDeploymentProtection
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-REBQVNAE.mjs";
|
|
73
73
|
import {
|
|
74
74
|
PLAY_DEFAULT_EXPORT,
|
|
75
75
|
extractDefinedPlayName,
|
|
@@ -17948,7 +17948,7 @@ Examples:
|
|
|
17948
17948
|
process.exitCode = await ownView();
|
|
17949
17949
|
return;
|
|
17950
17950
|
}
|
|
17951
|
-
const { describeAnything } = await import("./describe-
|
|
17951
|
+
const { describeAnything } = await import("./describe-5BHD6L6K.mjs");
|
|
17952
17952
|
process.exitCode = await describeAnything(
|
|
17953
17953
|
name,
|
|
17954
17954
|
{
|