deepline 0.3.332 → 0.3.333
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/context.ts +26 -23
- package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +30 -9
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +95 -24
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +132 -37
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +6 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +87 -3
- package/dist/cli/auth-26GA3RM6.js +31 -0
- package/dist/cli/{auth-V4IWMXTG.mjs → auth-OQ356CEE.mjs} +4 -4
- package/dist/cli/{billing-BW37QW4H.js → billing-3APFTHNY.js} +71 -71
- package/dist/cli/{billing-GYW4BCPG.mjs → billing-7YVHLDMO.mjs} +4 -4
- package/dist/cli/{chunk-3E7P62NA.mjs → chunk-2CLENWOQ.mjs} +1 -1
- package/dist/cli/{chunk-GDBJYM5N.js → chunk-3WQJWQ5T.js} +60 -60
- package/dist/cli/{chunk-MXJVBJYC.mjs → chunk-4DUEB2WO.mjs} +2 -2
- package/dist/cli/{chunk-PK4EE6T3.js → chunk-5A44CWQE.js} +48 -48
- package/dist/cli/{chunk-LAJ56FLL.mjs → chunk-5UN6KLD2.mjs} +1 -1
- package/dist/cli/{chunk-ERPCUHOQ.js → chunk-64CZWDWT.js} +8 -8
- package/dist/cli/{chunk-5FHGKEAD.mjs → chunk-6JPZJ5W7.mjs} +2 -2
- package/dist/cli/{chunk-J5Z5BQGE.mjs → chunk-ABVOFJAE.mjs} +1 -1
- package/dist/cli/{chunk-U2B5KDNH.js → chunk-AFVETOG3.js} +15 -15
- package/dist/cli/{chunk-UMKN2BZK.mjs → chunk-AGGDEQDF.mjs} +1 -1
- package/dist/cli/{chunk-CYLZE6RJ.js → chunk-DROPDYOD.js} +1 -1
- package/dist/cli/{chunk-XON4H3CO.js → chunk-F2QKAGST.js} +9 -9
- package/dist/cli/{chunk-HKQMCTEE.mjs → chunk-F2XAQHQC.mjs} +4 -4
- package/dist/cli/{chunk-MSQK2FLJ.mjs → chunk-H5SORD7Q.mjs} +2 -2
- package/dist/cli/{chunk-WQI642QX.mjs → chunk-HNX3RC6V.mjs} +1 -1
- package/dist/cli/{chunk-AF6XLGZT.js → chunk-IDEK4DND.js} +2 -2
- package/dist/cli/{chunk-X6MY7BC2.js → chunk-IYFKFNEB.js} +225 -225
- package/dist/cli/{chunk-GOH5BRGN.js → chunk-KBXHB5P3.js} +26 -26
- package/dist/cli/{chunk-SBPJWA6Y.mjs → chunk-KREEYWVL.mjs} +6 -6
- package/dist/cli/{chunk-B6R2V3TH.mjs → chunk-N5KGBQPG.mjs} +3 -3
- package/dist/cli/{chunk-KYQPEIKA.mjs → chunk-NI4FJRFJ.mjs} +5 -5
- package/dist/cli/{chunk-T5TGWH4J.js → chunk-PRZ4S4NU.js} +6 -6
- package/dist/cli/{chunk-ZZWCK6F3.js → chunk-STVJ7ZPD.js} +6 -6
- package/dist/cli/{chunk-4RLN2DHZ.mjs → chunk-SXX4ST3D.mjs} +1 -1
- package/dist/cli/{chunk-TTJ7KELW.js → chunk-UHHTRBJF.js} +45 -45
- package/dist/cli/{chunk-JHF3GWKX.js → chunk-V77J5ISS.js} +4 -4
- package/dist/cli/client-IZRTEBU4.js +20 -0
- package/dist/cli/{client-TBCDCJ7T.mjs → client-WKS7HQRP.mjs} +3 -3
- package/dist/cli/{csv-EFQ7UL3M.js → csv-MMW6EKKD.js} +12 -12
- package/dist/cli/{csv-O3NEPSU3.mjs → csv-ZFY2LD2K.mjs} +3 -3
- package/dist/cli/{db-2FQ3T4LT.js → db-FMOQU6QW.js} +29 -29
- package/dist/cli/{db-RUWCFINP.mjs → db-Q2NJVILC.mjs} +4 -4
- package/dist/cli/{describe-YJFDN54P.js → describe-4KG2JAQV.js} +15 -15
- package/dist/cli/{describe-4KSVRYPM.mjs → describe-EWP7DMNU.mjs} +8 -8
- package/dist/cli/{executions-MG63LYMV.mjs → executions-UOD7FWEE.mjs} +4 -4
- package/dist/cli/{executions-O7IIWVRV.js → executions-Y4XSGKN6.js} +6 -6
- package/dist/cli/{feedback-WMYRDK2J.mjs → feedback-3F3EURZC.mjs} +3 -3
- package/dist/cli/{feedback-SR2X2H4N.js → feedback-TEJJUXDI.js} +6 -6
- package/dist/cli/{git-NIGE3SIJ.mjs → git-5YM22RGA.mjs} +4 -4
- package/dist/cli/git-GNEZSTVF.js +23 -0
- package/dist/cli/index.js +79 -79
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-YXYYCDSR.mjs → legacy-noops-D5XBVUHS.mjs} +4 -4
- package/dist/cli/{legacy-noops-TXSBNOG6.js → legacy-noops-T5OUSXMR.js} +7 -7
- package/dist/cli/{monitors-QYAGRL6V.mjs → monitors-LPZNYNQW.mjs} +4 -4
- package/dist/cli/{monitors-ZZUQMDUA.js → monitors-VI7VBQRP.js} +85 -85
- package/dist/cli/{org-6NUUN2P7.mjs → org-BYIDOMJB.mjs} +4 -4
- package/dist/cli/{org-QQSCJJMM.js → org-OBGIV5QE.js} +60 -60
- package/dist/cli/play-5JYRSXAL.js +153 -0
- package/dist/cli/{play-3G2A53MD.mjs → play-Y5PQQRBO.mjs} +7 -7
- package/dist/cli/{providers-IGD3ZYTA.mjs → providers-GEGIGKOL.mjs} +4 -4
- package/dist/cli/{providers-AASOAAWT.js → providers-VH6J7FFY.js} +7 -7
- package/dist/cli/{quickstart-RRCLOSHQ.mjs → quickstart-GHITFT27.mjs} +3 -3
- package/dist/cli/{quickstart-NDUT5BVF.js → quickstart-ZQX5XNHG.js} +5 -5
- package/dist/cli/{search-37MO75IS.mjs → search-AFX3DYAC.mjs} +5 -5
- package/dist/cli/search-YIXGQFXA.js +26 -0
- package/dist/cli/{secrets-3OTOG64E.mjs → secrets-4EOVXQJM.mjs} +4 -4
- package/dist/cli/{secrets-QXY6DCJA.js → secrets-F37M7D7R.js} +13 -13
- package/dist/cli/{sessions-FML35Y64.mjs → sessions-RX5SFHDI.mjs} +4 -4
- package/dist/cli/{sessions-3P6DOM3H.js → sessions-T57Q72GD.js} +5 -5
- package/dist/cli/{settings-SD6MDI67.js → settings-3FVWW7GL.js} +74 -74
- package/dist/cli/{settings-MWFWIGHW.mjs → settings-764O5ZEH.mjs} +7 -7
- package/dist/cli/{setup-HY35HR26.js → setup-FQVRVTR6.js} +41 -41
- package/dist/cli/{setup-HDYPYPFU.mjs → setup-X7OAHFTO.mjs} +6 -6
- package/dist/cli/skills-DPGB67XX.js +28 -0
- package/dist/cli/{skills-TGEDPYTP.mjs → skills-O6ILHPV5.mjs} +4 -4
- package/dist/cli/{tools-VBARDH32.mjs → tools-HL4SQG35.mjs} +6 -6
- package/dist/cli/tools-WZCXSXER.js +40 -0
- package/dist/cli/update-63MANY7U.js +28 -0
- package/dist/cli/{update-OIDLOWGB.mjs → update-A3P2RSIB.mjs} +6 -6
- package/dist/cli/{workflow-ACHWLHPT.mjs → workflow-44424AVE.mjs} +5 -5
- package/dist/cli/{workflow-K2SJUC5Z.js → workflow-62AGKI6T.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-6SVPO5HS.js +0 -31
- package/dist/cli/client-BPQKKACG.js +0 -20
- package/dist/cli/git-ZZU4LXWX.js +0 -23
- package/dist/cli/play-LLC44DQW.js +0 -153
- package/dist/cli/search-JWUKJSNY.js +0 -26
- package/dist/cli/skills-T3F4A4BQ.js +0 -28
- package/dist/cli/tools-PXC5VIRU.js +0 -40
- package/dist/cli/update-PIT4RK74.js +0 -28
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPRZ4S4NUjs = require('./chunk-PRZ4S4NU.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkV77J5ISSjs = require('./chunk-V77J5ISS.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 } = _chunkPRZ4S4NUjs.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
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.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
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.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
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.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
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.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
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkPRZ4S4NUjs.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 = _chunkV77J5ISSjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkPRZ4S4NUjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.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
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.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
|
+
_chunkPRZ4S4NUjs.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 } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
} from "./chunk-EDWJY6T4.mjs";
|
|
11
11
|
import {
|
|
12
12
|
registerDeprecatedSearchCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N5KGBQPG.mjs";
|
|
14
14
|
import {
|
|
15
15
|
handleDeploymentGet,
|
|
16
16
|
handleDeploymentsList
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4DUEB2WO.mjs";
|
|
18
18
|
import {
|
|
19
19
|
PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY,
|
|
20
20
|
PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
normalizeRunEventOperationRequest,
|
|
40
40
|
parseLogLevel,
|
|
41
41
|
playInputExampleArgs
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-SXX4ST3D.mjs";
|
|
43
43
|
import {
|
|
44
44
|
CSV_DATA_INPUT_KEY,
|
|
45
45
|
buildNamedPlayRunRequest,
|
|
@@ -72,10 +72,10 @@ import {
|
|
|
72
72
|
printJsonError,
|
|
73
73
|
renderCommandEnvelopeText,
|
|
74
74
|
shouldEmitJson
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-HNX3RC6V.mjs";
|
|
76
76
|
import {
|
|
77
77
|
fetchWithDeploymentProtection
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-5UN6KLD2.mjs";
|
|
79
79
|
import {
|
|
80
80
|
PLAY_DEFAULT_EXPORT,
|
|
81
81
|
extractDefinedPlayName,
|
|
@@ -18156,7 +18156,7 @@ Examples:
|
|
|
18156
18156
|
process.exitCode = await ownView();
|
|
18157
18157
|
return;
|
|
18158
18158
|
}
|
|
18159
|
-
const { describeAnything } = await import("./describe-
|
|
18159
|
+
const { describeAnything } = await import("./describe-EWP7DMNU.mjs");
|
|
18160
18160
|
process.exitCode = await describeAnything(
|
|
18161
18161
|
name,
|
|
18162
18162
|
{
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SXX4ST3D.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope,
|
|
6
6
|
renderCommandEnvelopeText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HNX3RC6V.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveConfig,
|
|
10
10
|
sdkCliStateDirPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5UN6KLD2.mjs";
|
|
12
12
|
|
|
13
13
|
// src/cli/search-ref.ts
|
|
14
14
|
import { mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
recentSearchRef,
|
|
12
12
|
registerDeprecatedSearchCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N5KGBQPG.mjs";
|
|
14
14
|
import {
|
|
15
15
|
extractSummaryFields,
|
|
16
16
|
projectRowOutput,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
DeeplineClient,
|
|
24
24
|
validateExecutionIdempotencyKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SXX4ST3D.mjs";
|
|
26
26
|
import {
|
|
27
27
|
beginToolExecuteCommand,
|
|
28
28
|
getToolExecuteInvocationId,
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
printJsonError,
|
|
37
37
|
renderCommandEnvelopeText,
|
|
38
38
|
shouldEmitJson
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HNX3RC6V.mjs";
|
|
40
40
|
import {
|
|
41
41
|
resolveConfig,
|
|
42
42
|
sdkCliStateDirPath
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-5UN6KLD2.mjs";
|
|
44
44
|
import {
|
|
45
45
|
playToolListGetterMode
|
|
46
46
|
} from "./chunk-NTVTZAVZ.mjs";
|
|
@@ -1029,7 +1029,7 @@ Examples:
|
|
|
1029
1029
|
process.exitCode = await narrowView();
|
|
1030
1030
|
return;
|
|
1031
1031
|
}
|
|
1032
|
-
const { describeAnything } = await import("./describe-
|
|
1032
|
+
const { describeAnything } = await import("./describe-EWP7DMNU.mjs");
|
|
1033
1033
|
process.exitCode = await describeAnything(
|
|
1034
1034
|
toolId,
|
|
1035
1035
|
{ ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkV77J5ISSjs = require('./chunk-V77J5ISS.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 = _chunkV77J5ISSjs.resolveConfig.call(void 0, );
|
|
140
|
+
return { config, http: new (0, _chunkV77J5ISSjs.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: _chunkV77J5ISSjs.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 _chunkV77J5ISSjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
729
729
|
...valueRecord,
|
|
730
|
-
command_context:
|
|
730
|
+
command_context: _chunkV77J5ISSjs.resolveCliCommandContext.call(void 0, )
|
|
731
731
|
} : value;
|
|
732
732
|
}
|
|
733
733
|
function printJson(value, fields) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkPRZ4S4NUjs = require('./chunk-PRZ4S4NU.js');
|
|
5
5
|
|
|
6
6
|
// src/cli/commands/sessions.ts
|
|
7
7
|
|
|
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
|
|
|
420
420
|
return { encodedContent: encoded, needsChunking: true };
|
|
421
421
|
}
|
|
422
422
|
async function uploadPayload(path, payload) {
|
|
423
|
-
const { http } =
|
|
423
|
+
const { http } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
|
|
424
424
|
return await http.post(path, payload);
|
|
425
425
|
}
|
|
426
426
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
|
|
|
452
452
|
environments: sessions.map(() => detectShellContext()),
|
|
453
453
|
...options.rating ? { rating: options.rating } : {}
|
|
454
454
|
});
|
|
455
|
-
|
|
455
|
+
_chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
|
|
456
456
|
{
|
|
457
457
|
...response,
|
|
458
458
|
ok: true,
|
|
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
|
|
|
481
481
|
filename: _path.basename.call(void 0, filePath),
|
|
482
482
|
...rating ? { rating } : {}
|
|
483
483
|
});
|
|
484
|
-
|
|
484
|
+
_chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
|
|
485
485
|
{
|
|
486
486
|
...response2,
|
|
487
487
|
ok: true,
|
|
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
|
|
|
530
530
|
environment: detectShellContext(),
|
|
531
531
|
...rating ? { rating } : {}
|
|
532
532
|
});
|
|
533
|
-
|
|
533
|
+
_chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
|
|
534
534
|
{
|
|
535
535
|
...response,
|
|
536
536
|
ok: true,
|
|
@@ -635,7 +635,7 @@ ${refreshMeta}
|
|
|
635
635
|
</body>
|
|
636
636
|
</html>`;
|
|
637
637
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
638
|
-
|
|
638
|
+
_chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
|
|
639
639
|
{
|
|
640
640
|
ok: true,
|
|
641
641
|
file: outputPath,
|