deepline 0.3.332 → 0.3.334
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/play.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +200 -43
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +8 -2
- 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/runner-app/index.ts +11 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-deadline.ts +14 -14
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +12 -5
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +6 -1
- 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 +13 -5
- package/dist/bundling-sources/shared_libs/play-runtime/suspension.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +87 -3
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +7 -0
- package/dist/cli/{auth-V4IWMXTG.mjs → auth-PAEBUPRS.mjs} +4 -4
- package/dist/cli/auth-WR3XFOHN.js +31 -0
- package/dist/cli/{billing-GYW4BCPG.mjs → billing-QGQJUM5G.mjs} +4 -4
- package/dist/cli/{billing-BW37QW4H.js → billing-V746QMQC.js} +71 -71
- package/dist/cli/{chunk-GOH5BRGN.js → chunk-6466HVYR.js} +26 -26
- package/dist/cli/{chunk-JHF3GWKX.js → chunk-6MVMTDL7.js} +4 -4
- package/dist/cli/{chunk-TTJ7KELW.js → chunk-7XXNMV6G.js} +45 -45
- package/dist/cli/{chunk-WQI642QX.mjs → chunk-A7S4PRK2.mjs} +1 -1
- package/dist/cli/{chunk-HKQMCTEE.mjs → chunk-EJLUQARV.mjs} +4 -4
- package/dist/cli/{chunk-SBPJWA6Y.mjs → chunk-EJVAWHQ7.mjs} +6 -6
- package/dist/cli/{chunk-GDBJYM5N.js → chunk-FLMBKUHB.js} +60 -60
- package/dist/cli/{chunk-U2B5KDNH.js → chunk-GNHI4WZC.js} +15 -15
- package/dist/cli/{chunk-KYQPEIKA.mjs → chunk-GUMAWNWZ.mjs} +5 -5
- package/dist/cli/{chunk-CYLZE6RJ.js → chunk-GX2YGFQV.js} +1 -1
- package/dist/cli/{chunk-X6MY7BC2.js → chunk-HIPRSI5H.js} +225 -225
- package/dist/cli/{chunk-AF6XLGZT.js → chunk-NLHRXDIT.js} +2 -2
- package/dist/cli/{chunk-UMKN2BZK.mjs → chunk-O564PHDU.mjs} +1 -1
- package/dist/cli/{chunk-MXJVBJYC.mjs → chunk-O64RSXDZ.mjs} +2 -2
- package/dist/cli/{chunk-3E7P62NA.mjs → chunk-P3ZX3NSE.mjs} +1 -1
- package/dist/cli/{chunk-ERPCUHOQ.js → chunk-R6O3YVIG.js} +8 -8
- package/dist/cli/{chunk-PK4EE6T3.js → chunk-SABEM6FL.js} +48 -48
- package/dist/cli/{chunk-J5Z5BQGE.mjs → chunk-SBEWKGUA.mjs} +1 -1
- package/dist/cli/{chunk-4RLN2DHZ.mjs → chunk-TT2CLWMK.mjs} +1 -1
- package/dist/cli/{chunk-B6R2V3TH.mjs → chunk-TVIWEQ4V.mjs} +3 -3
- package/dist/cli/{chunk-MSQK2FLJ.mjs → chunk-U724V33M.mjs} +2 -2
- package/dist/cli/{chunk-T5TGWH4J.js → chunk-UUB3FTKZ.js} +6 -6
- package/dist/cli/{chunk-LAJ56FLL.mjs → chunk-VB7TNIUB.mjs} +1 -1
- package/dist/cli/{chunk-ZZWCK6F3.js → chunk-XXZSLV7B.js} +6 -6
- package/dist/cli/{chunk-5FHGKEAD.mjs → chunk-Y2VN54ME.mjs} +2 -2
- package/dist/cli/{chunk-XON4H3CO.js → chunk-Z6VHC643.js} +9 -9
- package/dist/cli/client-6OBIO6GC.js +20 -0
- package/dist/cli/{client-TBCDCJ7T.mjs → client-JIZWAGVW.mjs} +3 -3
- package/dist/cli/{csv-O3NEPSU3.mjs → csv-7DCY7Z6R.mjs} +3 -3
- package/dist/cli/{csv-EFQ7UL3M.js → csv-KAFKXAFU.js} +12 -12
- package/dist/cli/{db-2FQ3T4LT.js → db-5LJPO2VA.js} +29 -29
- package/dist/cli/{db-RUWCFINP.mjs → db-KJBWUFPL.mjs} +4 -4
- package/dist/cli/{describe-4KSVRYPM.mjs → describe-CPF4KDKZ.mjs} +8 -8
- package/dist/cli/{describe-YJFDN54P.js → describe-VJEEVOH6.js} +15 -15
- package/dist/cli/{executions-MG63LYMV.mjs → executions-LJN5QOK7.mjs} +4 -4
- package/dist/cli/{executions-O7IIWVRV.js → executions-LPVCV5SC.js} +6 -6
- package/dist/cli/{feedback-WMYRDK2J.mjs → feedback-3HYS6ECC.mjs} +3 -3
- package/dist/cli/{feedback-SR2X2H4N.js → feedback-K26WP7HJ.js} +6 -6
- package/dist/cli/{git-NIGE3SIJ.mjs → git-U4VBLXSS.mjs} +4 -4
- package/dist/cli/git-VMQTXKJQ.js +23 -0
- package/dist/cli/index.js +79 -79
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-TXSBNOG6.js → legacy-noops-32YL3VF4.js} +7 -7
- package/dist/cli/{legacy-noops-YXYYCDSR.mjs → legacy-noops-ORHX2FMA.mjs} +4 -4
- package/dist/cli/{monitors-QYAGRL6V.mjs → monitors-5JJBEJS7.mjs} +4 -4
- package/dist/cli/{monitors-ZZUQMDUA.js → monitors-NFE4ICED.js} +85 -85
- package/dist/cli/{org-QQSCJJMM.js → org-7CJS35TF.js} +60 -60
- package/dist/cli/{org-6NUUN2P7.mjs → org-RJYSDJ3W.mjs} +4 -4
- package/dist/cli/play-FUZYMPHF.js +153 -0
- package/dist/cli/{play-3G2A53MD.mjs → play-H2QUTJR2.mjs} +7 -7
- package/dist/cli/{providers-IGD3ZYTA.mjs → providers-TEVRE4Q6.mjs} +4 -4
- package/dist/cli/{providers-AASOAAWT.js → providers-VUKRZWZY.js} +7 -7
- package/dist/cli/{quickstart-RRCLOSHQ.mjs → quickstart-2MIHVSZO.mjs} +3 -3
- package/dist/cli/{quickstart-NDUT5BVF.js → quickstart-36OGYQ2P.js} +5 -5
- package/dist/cli/search-DFSHYVZ5.js +26 -0
- package/dist/cli/{search-37MO75IS.mjs → search-IRRQSN6R.mjs} +5 -5
- package/dist/cli/{secrets-3OTOG64E.mjs → secrets-3W6OVDVE.mjs} +4 -4
- package/dist/cli/{secrets-QXY6DCJA.js → secrets-K67ZKZZM.js} +13 -13
- package/dist/cli/{sessions-FML35Y64.mjs → sessions-AOMOV4HG.mjs} +4 -4
- package/dist/cli/{sessions-3P6DOM3H.js → sessions-SLQ2QFLK.js} +5 -5
- package/dist/cli/{settings-SD6MDI67.js → settings-2X7H6O4I.js} +74 -74
- package/dist/cli/{settings-MWFWIGHW.mjs → settings-L4IFYF5D.mjs} +7 -7
- package/dist/cli/{setup-HY35HR26.js → setup-2RY5APQS.js} +41 -41
- package/dist/cli/{setup-HDYPYPFU.mjs → setup-CZYQTZ2K.mjs} +6 -6
- package/dist/cli/{skills-TGEDPYTP.mjs → skills-D2QQH5S7.mjs} +4 -4
- package/dist/cli/skills-RIFYRYWL.js +28 -0
- package/dist/cli/tools-M7LTH6ZT.js +40 -0
- package/dist/cli/{tools-VBARDH32.mjs → tools-TYIEROJJ.mjs} +6 -6
- package/dist/cli/{update-OIDLOWGB.mjs → update-7YCSUWFP.mjs} +6 -6
- package/dist/cli/update-HC62SVSQ.js +28 -0
- package/dist/cli/{workflow-K2SJUC5Z.js → workflow-42IFLYPN.js} +15 -15
- package/dist/cli/{workflow-ACHWLHPT.mjs → workflow-GGRUCLCI.mjs} +5 -5
- package/dist/{client-l-IoLh8Z.d.ts → client-DkoxT4wF.d.ts} +1 -1
- package/dist/{client-D5XOQKsA.d.mts → client-PDAfbylh.d.mts} +1 -1
- package/dist/{compiler-manifest-82q4jtfQ.d.ts → compiler-manifest-CButyeZ8.d.mts} +7 -0
- package/dist/{compiler-manifest-82q4jtfQ.d.mts → compiler-manifest-CButyeZ8.d.ts} +7 -0
- package/dist/{index-BPbW2XHF.d.mts → index-BMsNUoL5.d.mts} +1 -1
- package/dist/{index-k0rquHIm.d.ts → index-LDRzwo09.d.ts} +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +80 -80
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- 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 _chunkUUB3FTKZjs = require('./chunk-UUB3FTKZ.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk6MVMTDL7js = require('./chunk-6MVMTDL7.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 } = _chunkUUB3FTKZjs.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
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.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
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.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
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.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
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.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
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkUUB3FTKZjs.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 = _chunk6MVMTDL7js.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkUUB3FTKZjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.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
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.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
|
+
_chunkUUB3FTKZjs.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 } = _chunkUUB3FTKZjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGX2YGFQVjs = require('./chunk-GX2YGFQV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -743,9 +743,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
|
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
// src/version.ts
|
|
746
|
-
var SDK_VERSION =
|
|
747
|
-
var SDK_API_MAJOR =
|
|
748
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
746
|
+
var SDK_VERSION = _chunkGX2YGFQVjs.SDK_RELEASE.version;
|
|
747
|
+
var SDK_API_MAJOR = _chunkGX2YGFQVjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
748
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkGX2YGFQVjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
749
749
|
|
|
750
750
|
// src/agent-runtime.ts
|
|
751
751
|
|
|
@@ -10,7 +10,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkR6O3YVIGjs = require('./chunk-R6O3YVIG.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -22,7 +22,7 @@ var _chunkNXDRDJ4Kjs = require('./chunk-NXDRDJ4K.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkZ6VHC643js = require('./chunk-Z6VHC643.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -36,11 +36,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkUUB3FTKZjs = require('./chunk-UUB3FTKZ.js');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunk6MVMTDL7js = require('./chunk-6MVMTDL7.js');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
var _chunkFKKNYKDYjs = require('./chunk-FKKNYKDY.js');
|
|
@@ -88,10 +88,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
function pendingToolExecutionPath(input) {
|
|
91
|
-
const config =
|
|
91
|
+
const config = _chunk6MVMTDL7js.resolveConfig.call(void 0, );
|
|
92
92
|
const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkNXDRDJ4Kjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
|
|
93
93
|
return _path.join.call(void 0,
|
|
94
|
-
|
|
94
|
+
_chunk6MVMTDL7js.sdkCliStateDirPath.call(void 0, config.baseUrl),
|
|
95
95
|
`pending-tool-execution-${fingerprint}.json`
|
|
96
96
|
);
|
|
97
97
|
}
|
|
@@ -535,12 +535,12 @@ function categoryEnumerationRender(summaries) {
|
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
537
|
async function listToolCategories(emitJson, compact) {
|
|
538
|
-
const client = new (0,
|
|
538
|
+
const client = new (0, _chunkZ6VHC643js.DeeplineClient)();
|
|
539
539
|
const rawTools = await client.listTools({ compact });
|
|
540
540
|
const items = rawTools.map(toListedTool);
|
|
541
541
|
const summaries = aggregateCategorySummaries(rawTools);
|
|
542
542
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
543
|
-
|
|
543
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
544
544
|
{
|
|
545
545
|
tools: outputItems,
|
|
546
546
|
count: outputItems.length,
|
|
@@ -559,7 +559,7 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
559
559
|
const known = summaries.map((item) => item.name);
|
|
560
560
|
const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
|
|
561
561
|
if (emitJson) {
|
|
562
|
-
|
|
562
|
+
_chunkUUB3FTKZjs.printJson.call(void 0, {
|
|
563
563
|
ok: false,
|
|
564
564
|
exitCode: 4,
|
|
565
565
|
code: "TOOL_CATEGORY_NOT_FOUND",
|
|
@@ -573,13 +573,13 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
573
573
|
const render = categoryEnumerationRender(summaries);
|
|
574
574
|
console.error(message);
|
|
575
575
|
console.error("");
|
|
576
|
-
console.error(
|
|
576
|
+
console.error(_chunkUUB3FTKZjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
|
|
577
577
|
console.error("");
|
|
578
578
|
console.error(`Valid categories: ${known.join(", ")}`);
|
|
579
579
|
return 4;
|
|
580
580
|
}
|
|
581
581
|
async function listToolsInCategory(category, emitJson) {
|
|
582
|
-
const client = new (0,
|
|
582
|
+
const client = new (0, _chunkZ6VHC643js.DeeplineClient)();
|
|
583
583
|
const rawTools = await client.listTools({
|
|
584
584
|
categories: category,
|
|
585
585
|
compact: false
|
|
@@ -616,7 +616,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
616
616
|
}
|
|
617
617
|
]
|
|
618
618
|
};
|
|
619
|
-
|
|
619
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
620
620
|
{
|
|
621
621
|
category,
|
|
622
622
|
total: rows.length,
|
|
@@ -629,7 +629,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
629
629
|
return 0;
|
|
630
630
|
}
|
|
631
631
|
async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
|
|
632
|
-
const client = new (0,
|
|
632
|
+
const client = new (0, _chunkZ6VHC643js.DeeplineClient)();
|
|
633
633
|
const items = (await client.listTools({
|
|
634
634
|
categories: requestedCategories.join(","),
|
|
635
635
|
compact
|
|
@@ -658,7 +658,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
|
|
|
658
658
|
]
|
|
659
659
|
};
|
|
660
660
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
661
|
-
|
|
661
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
662
662
|
{
|
|
663
663
|
tools: outputItems,
|
|
664
664
|
count: outputItems.length,
|
|
@@ -677,13 +677,13 @@ async function listTools(category, options = {}) {
|
|
|
677
677
|
const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]), () => ( ""));
|
|
678
678
|
const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
|
|
679
679
|
const compact = options.compact !== false;
|
|
680
|
-
const emitJson = options.json === true ||
|
|
680
|
+
const emitJson = options.json === true || _chunkUUB3FTKZjs.shouldEmitJson.call(void 0, );
|
|
681
681
|
if (positional && flagCategories.length > 0) {
|
|
682
682
|
const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
|
|
683
683
|
if (!flagIsSameSingle) {
|
|
684
684
|
const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
|
|
685
685
|
if (emitJson) {
|
|
686
|
-
|
|
686
|
+
_chunkUUB3FTKZjs.printJson.call(void 0, {
|
|
687
687
|
ok: false,
|
|
688
688
|
exitCode: 2,
|
|
689
689
|
code: "TOOL_LIST_CATEGORY_CONFLICT",
|
|
@@ -710,7 +710,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
710
710
|
console.error("Usage: deepline tools grep <query> [--json]");
|
|
711
711
|
return 1;
|
|
712
712
|
}
|
|
713
|
-
const client = new (0,
|
|
713
|
+
const client = new (0, _chunkZ6VHC643js.DeeplineClient)();
|
|
714
714
|
const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
|
|
715
715
|
const mode = _nullishCoalesce(options.mode, () => ( "all"));
|
|
716
716
|
const jsonOutput = options.json === true;
|
|
@@ -753,7 +753,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
753
753
|
query,
|
|
754
754
|
mode
|
|
755
755
|
}) : null;
|
|
756
|
-
|
|
756
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
757
757
|
{
|
|
758
758
|
tools: outputTools,
|
|
759
759
|
count: outputTools.length,
|
|
@@ -771,7 +771,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
771
771
|
} : {},
|
|
772
772
|
commandTemplates: TOOL_COMMAND_TEMPLATES
|
|
773
773
|
},
|
|
774
|
-
{ json: options.json ||
|
|
774
|
+
{ json: options.json || _chunkUUB3FTKZjs.shouldEmitJson.call(void 0, ) }
|
|
775
775
|
);
|
|
776
776
|
return 0;
|
|
777
777
|
}
|
|
@@ -927,7 +927,7 @@ Examples:
|
|
|
927
927
|
json: Boolean(options.json)
|
|
928
928
|
});
|
|
929
929
|
});
|
|
930
|
-
|
|
930
|
+
_chunkR6O3YVIGjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
|
|
931
931
|
tools.command("grep <query>").description(
|
|
932
932
|
"Literal grep over tool ids, descriptions, categories, and input fields."
|
|
933
933
|
).addHelpText(
|
|
@@ -1029,7 +1029,7 @@ Examples:
|
|
|
1029
1029
|
process.exitCode = await narrowView();
|
|
1030
1030
|
return;
|
|
1031
1031
|
}
|
|
1032
|
-
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
1032
|
+
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-VJEEVOH6.js")));
|
|
1033
1033
|
process.exitCode = await describeAnything(
|
|
1034
1034
|
toolId,
|
|
1035
1035
|
{ ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
|
|
@@ -1111,7 +1111,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1111
1111
|
console.error("Usage: deepline tools describe <toolId> [--json]");
|
|
1112
1112
|
return 1;
|
|
1113
1113
|
}
|
|
1114
|
-
const client = new (0,
|
|
1114
|
+
const client = new (0, _chunkZ6VHC643js.DeeplineClient)();
|
|
1115
1115
|
let tool;
|
|
1116
1116
|
try {
|
|
1117
1117
|
tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
|
|
@@ -1165,7 +1165,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1165
1165
|
const lines = toolPricingOnlyLines(tool, toolId);
|
|
1166
1166
|
if (inferenceQuote)
|
|
1167
1167
|
lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
|
|
1168
|
-
|
|
1168
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
1169
1169
|
{
|
|
1170
1170
|
toolId: String(tool.toolId || toolId),
|
|
1171
1171
|
cost: Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
@@ -1183,7 +1183,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
|
|
1185
1185
|
const contract = toolContractJsonForDescribe(tool, toolId);
|
|
1186
|
-
|
|
1186
|
+
_chunkUUB3FTKZjs.printCompactJson.call(void 0, {
|
|
1187
1187
|
toolId: contract.toolId,
|
|
1188
1188
|
...options.schemaOnly ? {
|
|
1189
1189
|
inputSchema: contract.inputSchema,
|
|
@@ -1206,7 +1206,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1206
1206
|
return 0;
|
|
1207
1207
|
}
|
|
1208
1208
|
if (options.contractJson) {
|
|
1209
|
-
|
|
1209
|
+
_chunkUUB3FTKZjs.printCompactJson.call(void 0, {
|
|
1210
1210
|
...toolContractJsonForDescribe(tool, toolId),
|
|
1211
1211
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1212
1212
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -1215,7 +1215,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
const emitJson = options.json === true;
|
|
1217
1217
|
if (emitJson) {
|
|
1218
|
-
|
|
1218
|
+
_chunkUUB3FTKZjs.printCompactJson.call(void 0, {
|
|
1219
1219
|
...toolMetadataJsonForDescribe(tool, toolId),
|
|
1220
1220
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1221
1221
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -2626,7 +2626,7 @@ function parseExecuteOptions(toolId, options, output) {
|
|
|
2626
2626
|
outputFormat = normalizeOutputFormat(options.outputFormat);
|
|
2627
2627
|
}
|
|
2628
2628
|
if (options.idempotencyKey !== void 0) {
|
|
2629
|
-
|
|
2629
|
+
_chunkZ6VHC643js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
|
|
2630
2630
|
}
|
|
2631
2631
|
if (options.recoveryTimeoutMs !== void 0) {
|
|
2632
2632
|
const parsed = Number(options.recoveryTimeoutMs);
|
|
@@ -2937,20 +2937,20 @@ function buildToolExecuteRowArtifactEnvelope(input) {
|
|
|
2937
2937
|
}
|
|
2938
2938
|
async function executeTool(toolId, options) {
|
|
2939
2939
|
const output = toolExecuteJsonOption(options.json);
|
|
2940
|
-
const wantsJson =
|
|
2940
|
+
const wantsJson = _chunkUUB3FTKZjs.shouldEmitJson.call(void 0, output.requested);
|
|
2941
2941
|
let parsed;
|
|
2942
2942
|
try {
|
|
2943
2943
|
parsed = parseExecuteOptions(toolId, options, output);
|
|
2944
2944
|
} catch (error) {
|
|
2945
2945
|
if (wantsJson) {
|
|
2946
|
-
|
|
2946
|
+
_chunkUUB3FTKZjs.printJsonError.call(void 0, error);
|
|
2947
2947
|
} else {
|
|
2948
2948
|
console.error(error instanceof Error ? error.message : String(error));
|
|
2949
2949
|
}
|
|
2950
2950
|
return error instanceof _chunk7P5AA3SNjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
|
|
2951
2951
|
}
|
|
2952
2952
|
const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
|
|
2953
|
-
const client = new (0,
|
|
2953
|
+
const client = new (0, _chunkZ6VHC643js.DeeplineClient)();
|
|
2954
2954
|
let metadata;
|
|
2955
2955
|
try {
|
|
2956
2956
|
metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
|
|
@@ -2965,7 +2965,7 @@ async function executeTool(toolId, options) {
|
|
|
2965
2965
|
);
|
|
2966
2966
|
if (play) {
|
|
2967
2967
|
if (wantsJson) {
|
|
2968
|
-
|
|
2968
|
+
_chunkUUB3FTKZjs.printJsonError.call(void 0,
|
|
2969
2969
|
new Error(playAliasToolErrorMessage(parsed.toolId, play))
|
|
2970
2970
|
);
|
|
2971
2971
|
} else {
|
|
@@ -2978,7 +2978,7 @@ async function executeTool(toolId, options) {
|
|
|
2978
2978
|
}
|
|
2979
2979
|
if (isPlayLikeTool(metadata)) {
|
|
2980
2980
|
if (wantsJson) {
|
|
2981
|
-
|
|
2981
|
+
_chunkUUB3FTKZjs.printJsonError.call(void 0,
|
|
2982
2982
|
new Error(
|
|
2983
2983
|
playLikeToolExecuteErrorMessage(
|
|
2984
2984
|
parsed.toolId,
|
|
@@ -3014,7 +3014,7 @@ async function executeTool(toolId, options) {
|
|
|
3014
3014
|
responseIntent,
|
|
3015
3015
|
...idempotencyKey ? { idempotencyKey } : {},
|
|
3016
3016
|
...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
|
|
3017
|
-
searchRef:
|
|
3017
|
+
searchRef: _chunkR6O3YVIGjs.recentSearchRef.call(void 0, ),
|
|
3018
3018
|
cliInvocationId
|
|
3019
3019
|
}).catch((error) => {
|
|
3020
3020
|
const guidanceLines = toolGuidanceLines(metadata.guidance);
|
|
@@ -3053,8 +3053,8 @@ async function executeTool(toolId, options) {
|
|
|
3053
3053
|
);
|
|
3054
3054
|
const executeExitCode = toolExecuteExitCode(baseEnvelope);
|
|
3055
3055
|
const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
|
|
3056
|
-
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" &&
|
|
3057
|
-
|
|
3056
|
+
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunkUUB3FTKZjs.shouldEmitJson.call(void 0, ))) {
|
|
3057
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
|
|
3058
3058
|
return true;
|
|
3059
3059
|
}
|
|
3060
3060
|
if (parsed.outputFormat === "json_file") {
|
|
@@ -3062,7 +3062,7 @@ async function executeTool(toolId, options) {
|
|
|
3062
3062
|
rawResponse,
|
|
3063
3063
|
`payload_${parsed.toolId}`
|
|
3064
3064
|
);
|
|
3065
|
-
|
|
3065
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
3066
3066
|
{
|
|
3067
3067
|
...baseEnvelope,
|
|
3068
3068
|
local: {
|
|
@@ -3084,7 +3084,7 @@ async function executeTool(toolId, options) {
|
|
|
3084
3084
|
`${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
|
|
3085
3085
|
);
|
|
3086
3086
|
if (wantsJson) {
|
|
3087
|
-
|
|
3087
|
+
_chunkUUB3FTKZjs.printJsonError.call(void 0, error);
|
|
3088
3088
|
} else {
|
|
3089
3089
|
console.error(error.message);
|
|
3090
3090
|
}
|
|
@@ -3095,18 +3095,18 @@ async function executeTool(toolId, options) {
|
|
|
3095
3095
|
rawResponse,
|
|
3096
3096
|
`payload_${parsed.toolId}`
|
|
3097
3097
|
);
|
|
3098
|
-
|
|
3098
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
3099
3099
|
{
|
|
3100
3100
|
...baseEnvelope,
|
|
3101
3101
|
local: {
|
|
3102
3102
|
payload_file: jsonPath
|
|
3103
3103
|
}
|
|
3104
3104
|
},
|
|
3105
|
-
{ json: parsed.outputFormat === "csv_file" ||
|
|
3105
|
+
{ json: parsed.outputFormat === "csv_file" || _chunkUUB3FTKZjs.shouldEmitJson.call(void 0, ) }
|
|
3106
3106
|
);
|
|
3107
3107
|
return true;
|
|
3108
3108
|
}
|
|
3109
|
-
|
|
3109
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
|
|
3110
3110
|
return true;
|
|
3111
3111
|
}
|
|
3112
3112
|
const rowOutput = _chunkNXDRDJ4Kjs.projectRowOutput.call(void 0, listConversion);
|
|
@@ -3130,7 +3130,7 @@ async function executeTool(toolId, options) {
|
|
|
3130
3130
|
seededScript
|
|
3131
3131
|
});
|
|
3132
3132
|
if (parsed.outputFormat === "csv_file") {
|
|
3133
|
-
|
|
3133
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
|
|
3134
3134
|
return true;
|
|
3135
3135
|
}
|
|
3136
3136
|
if (parsed.outPath) {
|
|
@@ -3138,7 +3138,7 @@ async function executeTool(toolId, options) {
|
|
|
3138
3138
|
toolId: parsed.toolId,
|
|
3139
3139
|
idempotencyKey
|
|
3140
3140
|
});
|
|
3141
|
-
|
|
3141
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
|
|
3142
3142
|
json: wantsJson,
|
|
3143
3143
|
text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
|
|
3144
3144
|
inspect: ${inspection.inspect}
|
|
@@ -3147,7 +3147,7 @@ inspect: ${inspection.inspect}
|
|
|
3147
3147
|
return true;
|
|
3148
3148
|
}
|
|
3149
3149
|
if (parsed.noPreview) {
|
|
3150
|
-
|
|
3150
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0,
|
|
3151
3151
|
{
|
|
3152
3152
|
...materializedEnvelope,
|
|
3153
3153
|
local: {
|
|
@@ -3155,12 +3155,12 @@ inspect: ${inspection.inspect}
|
|
|
3155
3155
|
output_path: csv.path
|
|
3156
3156
|
}
|
|
3157
3157
|
},
|
|
3158
|
-
{ json:
|
|
3158
|
+
{ json: _chunkUUB3FTKZjs.shouldEmitJson.call(void 0, ), text: `${csv.path}
|
|
3159
3159
|
` }
|
|
3160
3160
|
);
|
|
3161
3161
|
return true;
|
|
3162
3162
|
}
|
|
3163
|
-
|
|
3163
|
+
_chunkUUB3FTKZjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
|
|
3164
3164
|
return true;
|
|
3165
3165
|
});
|
|
3166
3166
|
if (delivered) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-O564PHDU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
resolveShellSpawn,
|
|
7
7
|
runSkillsCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y2VN54ME.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A7S4PRK2.mjs";
|
|
12
12
|
import {
|
|
13
13
|
autoDetectBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VB7TNIUB.mjs";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
} from "./chunk-EDWJY6T4.mjs";
|
|
11
11
|
import {
|
|
12
12
|
registerDeprecatedSearchCommand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TVIWEQ4V.mjs";
|
|
14
14
|
import {
|
|
15
15
|
handleDeploymentGet,
|
|
16
16
|
handleDeploymentsList
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O64RSXDZ.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-TT2CLWMK.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-A7S4PRK2.mjs";
|
|
76
76
|
import {
|
|
77
77
|
fetchWithDeploymentProtection
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-VB7TNIUB.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-CPF4KDKZ.mjs");
|
|
18160
18160
|
process.exitCode = await describeAnything(
|
|
18161
18161
|
name,
|
|
18162
18162
|
{
|