deepline 0.3.512 → 0.3.513
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/cli/{artifacts-YSYWQFQQ.mjs → artifacts-AMM4RZNI.mjs} +6 -6
- package/dist/cli/{artifacts-5IGM3EYP.js → artifacts-SZA52D3P.js} +18 -18
- package/dist/cli/{auth-4MVWCUXS.mjs → auth-3HQ7FXPX.mjs} +5 -5
- package/dist/cli/auth-THCURTEC.js +43 -0
- package/dist/cli/{billing-SZXRENPC.mjs → billing-7AIKDEQQ.mjs} +7 -7
- package/dist/cli/{billing-OYYHWNVS.js → billing-SVFRN4BJ.js} +82 -82
- package/dist/cli/{chunk-MQ5GBB7V.mjs → chunk-3SE4O52N.mjs} +1 -1
- package/dist/cli/{chunk-VZN6D23P.js → chunk-3UKVFI2R.js} +7 -7
- package/dist/cli/{chunk-JDD6OLWN.mjs → chunk-3WHK7WCP.mjs} +3 -3
- package/dist/cli/{chunk-YJN55ZWG.mjs → chunk-46QVEEXR.mjs} +1 -1
- package/dist/cli/{chunk-Q72Q3ZWB.js → chunk-4EGBOZ53.js} +9 -9
- package/dist/cli/{chunk-FF25PDQ2.js → chunk-5IZXMA2L.js} +4 -1
- package/dist/cli/{chunk-AATUAFD2.mjs → chunk-5T4SZPVO.mjs} +2 -2
- package/dist/cli/{chunk-77DPQI6W.mjs → chunk-5UWWZLMX.mjs} +4 -1
- package/dist/cli/{chunk-VGCNLFER.js → chunk-6JNRYX65.js} +2 -2
- package/dist/cli/{chunk-OU6AK63V.js → chunk-6UVAYLQG.js} +2 -2
- package/dist/cli/{chunk-FJPJ6SO3.mjs → chunk-7NIBAJML.mjs} +2 -2
- package/dist/cli/{chunk-TNQ5MF6K.mjs → chunk-7UVKC5G4.mjs} +1 -1
- package/dist/cli/{chunk-V6FQRUPJ.js → chunk-ADB6FD2Q.js} +41 -41
- package/dist/cli/{chunk-32UMZXCZ.mjs → chunk-B4BKATGX.mjs} +5 -5
- package/dist/cli/{chunk-3INAN6EK.mjs → chunk-C5KH6FDN.mjs} +3 -3
- package/dist/cli/{chunk-RXZRZEW7.mjs → chunk-CEWRCUSH.mjs} +5 -5
- package/dist/cli/{chunk-4QR64X2S.js → chunk-D72M5LBQ.js} +10 -10
- package/dist/cli/{chunk-KBM5T6UV.js → chunk-EAQQTYJL.js} +5 -5
- package/dist/cli/{chunk-XKFWY4IK.mjs → chunk-FC6BR2OA.mjs} +10 -10
- package/dist/cli/{chunk-I6OK54YK.mjs → chunk-FLG3VIDQ.mjs} +5 -5
- package/dist/cli/{chunk-ZLHIQU2G.js → chunk-H6WD65CD.js} +96 -96
- package/dist/cli/{chunk-4ZDHGAE6.js → chunk-HDDE4Y4V.js} +2 -2
- package/dist/cli/{chunk-IMC2HQ6V.js → chunk-JA5PBN44.js} +6 -6
- package/dist/cli/{chunk-RR6G6ZCT.js → chunk-JI2LKS5V.js} +11 -11
- package/dist/cli/{chunk-EQAKPIGI.mjs → chunk-JNNQ53BX.mjs} +2 -2
- package/dist/cli/{chunk-LYOWQKGN.mjs → chunk-K3CUVLW7.mjs} +1 -1
- package/dist/cli/{chunk-ZVYMGTZ7.mjs → chunk-KINDIV44.mjs} +4 -4
- package/dist/cli/{chunk-DJ4FD5DR.mjs → chunk-LA66PYB4.mjs} +2 -2
- package/dist/cli/{chunk-BP4XEO6Z.js → chunk-MPOF4Z44.js} +1 -1
- package/dist/cli/{chunk-2R6M62UO.mjs → chunk-OD72PULZ.mjs} +2 -2
- package/dist/cli/{chunk-AVYI522S.js → chunk-ORQVTTTM.js} +5 -5
- package/dist/cli/{chunk-GJMIW4Q6.mjs → chunk-P2EHYH2Q.mjs} +1 -1
- package/dist/cli/{chunk-MTSHUN2R.mjs → chunk-P63SBUEW.mjs} +1 -1
- package/dist/cli/{chunk-7U3WY2F3.js → chunk-P6TG7COR.js} +53 -53
- package/dist/cli/{chunk-HCMFRAYT.js → chunk-PFEFK2FB.js} +26 -26
- package/dist/cli/{chunk-L7CAOWHY.js → chunk-PGHCBL5G.js} +3 -3
- package/dist/cli/{chunk-2BS6BRGH.mjs → chunk-PPQU263U.mjs} +2 -2
- package/dist/cli/{chunk-JU35QU3Z.js → chunk-QDGUDNVR.js} +7 -7
- package/dist/cli/{chunk-P3RYPSOQ.mjs → chunk-ROIFA4H7.mjs} +6 -6
- package/dist/cli/{chunk-JH7JISQ2.mjs → chunk-ROJ55CXM.mjs} +1 -1
- package/dist/cli/{chunk-JKLFRDQ6.js → chunk-SDD75XIU.js} +6 -6
- package/dist/cli/{chunk-W7DAWILZ.js → chunk-TWHJ4WCA.js} +16 -16
- package/dist/cli/{chunk-4DSRBHN6.js → chunk-U5QR527Y.js} +44 -44
- package/dist/cli/{chunk-O24VWLOY.js → chunk-UDVX7HKU.js} +16 -16
- package/dist/cli/{chunk-PJCPFF7J.js → chunk-VMLZQ3VM.js} +14 -14
- package/dist/cli/{chunk-YNMHIJC5.mjs → chunk-WFN6SB2B.mjs} +1 -1
- package/dist/cli/{chunk-5XLU47DG.mjs → chunk-XCP75LSJ.mjs} +1 -1
- package/dist/cli/{chunk-ZZ7SVWKR.js → chunk-Y2SIHXYS.js} +4 -4
- package/dist/cli/{chunk-WDCOUJQ5.js → chunk-YZW4ZLU3.js} +21 -21
- package/dist/cli/{chunk-TKN2TRW5.js → chunk-Z52XVM5I.js} +3 -3
- package/dist/cli/{chunk-T3SUWKUT.mjs → chunk-ZDO67LFA.mjs} +5 -5
- package/dist/cli/{chunk-HA5NSCTH.mjs → chunk-ZKUXTF6X.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-AY4KT3NZ.mjs → csv-56JWAO3Y.mjs} +4 -4
- package/dist/cli/{csv-YR2E5HNM.js → csv-WKF5O6C4.js} +13 -13
- package/dist/cli/{db-IMYD3OCM.mjs → db-SENEFS45.mjs} +6 -6
- package/dist/cli/{db-YKV6564I.js → db-UURETUXZ.js} +27 -27
- package/dist/cli/describe-GIJAGNZM.js +50 -0
- package/dist/cli/{describe-72GI2Q6T.mjs → describe-R3XKAGF5.mjs} +18 -18
- package/dist/cli/{executions-2YO6KIP3.mjs → executions-BAUUWHSW.mjs} +6 -6
- package/dist/cli/{executions-OSNL5CSU.js → executions-WZUS3S2K.js} +8 -8
- package/dist/cli/{feedback-SYDNAT62.mjs → feedback-5SCDE247.mjs} +5 -5
- package/dist/cli/{feedback-WSA7YTKS.js → feedback-Z6A7WMJS.js} +10 -10
- package/dist/cli/{git-WBH7N3EF.mjs → git-246MRTK7.mjs} +5 -5
- package/dist/cli/git-D5UAIEQE.js +25 -0
- package/dist/cli/index.js +145 -145
- package/dist/cli/index.mjs +44 -44
- package/dist/cli/{legacy-noops-BZPLWY5C.js → legacy-noops-AKETAVNI.js} +9 -9
- package/dist/cli/{legacy-noops-USZM4ZXF.mjs → legacy-noops-M242HT67.mjs} +6 -6
- package/dist/cli/{monitors-6HOZMLEV.mjs → monitors-N5T6PLCX.mjs} +7 -7
- package/dist/cli/{monitors-XHXAMMYC.js → monitors-QIHYTSKD.js} +100 -100
- package/dist/cli/{org-BAAOAZF3.js → org-BSCPIN7Y.js} +72 -72
- package/dist/cli/{org-LT3DICB4.mjs → org-YMDLKBVM.mjs} +6 -6
- package/dist/cli/{pages-7NP4PKLA.js → pages-BYSQBWD5.js} +18 -18
- package/dist/cli/{pages-MOCSTZZQ.mjs → pages-FRLPAY6I.mjs} +6 -6
- package/dist/cli/{play-MGJ7B7RL.mjs → play-CMJI6RNI.mjs} +18 -18
- package/dist/cli/{play-CGUL22GL.js → play-OIJAMP5P.js} +317 -317
- package/dist/cli/{providers-5LCUHKX2.js → providers-6Q7H2RYZ.js} +9 -9
- package/dist/cli/{providers-AOWBHJ24.mjs → providers-KWFIH3E7.mjs} +6 -6
- package/dist/cli/{quickstart-7YZUT7GO.js → quickstart-GU35UZPU.js} +6 -6
- package/dist/cli/{quickstart-Z6NA2CCM.mjs → quickstart-UZWAQ7VJ.mjs} +4 -4
- package/dist/cli/{run-7QGBNUKE.mjs → run-AJ24G4CT.mjs} +23 -23
- package/dist/cli/{run-M66ILCWL.js → run-OYOQIVBM.js} +41 -41
- package/dist/cli/{search-Z2T3B4V4.mjs → search-2KNDV3DL.mjs} +8 -8
- package/dist/cli/search-UZM6U4MZ.js +33 -0
- package/dist/cli/{search-output-6OHPSJGK.js → search-output-526FOJQD.js} +6 -6
- package/dist/cli/{search-output-MLHVBRIR.mjs → search-output-X5TMIIA4.mjs} +4 -4
- package/dist/cli/{secrets-T7MW2DMK.js → secrets-QL5SMK62.js} +15 -15
- package/dist/cli/{secrets-VBSILT5H.mjs → secrets-XEOGG6TV.mjs} +6 -6
- package/dist/cli/sessions-T27GUYZX.js +18 -0
- package/dist/cli/{sessions-KNITGDLS.mjs → sessions-Z352OY5B.mjs} +6 -6
- package/dist/cli/{settings-NBZRRKZS.mjs → settings-AET5AKBY.mjs} +13 -13
- package/dist/cli/{settings-OSEBDBKR.js → settings-EKLYIRWJ.js} +86 -86
- package/dist/cli/{setup-7DZPC6FC.js → setup-IJWDEYLG.js} +50 -50
- package/dist/cli/{setup-WTEQPZ5I.mjs → setup-JPGTZYR2.mjs} +10 -10
- package/dist/cli/{skills-JMD2MNJZ.mjs → skills-DGCK6723.mjs} +8 -8
- package/dist/cli/skills-MLMVPHWG.js +37 -0
- package/dist/cli/tools-5WBKZRLQ.js +57 -0
- package/dist/cli/{tools-LK5BM2Z7.mjs → tools-7GEQLQWX.mjs} +17 -17
- package/dist/cli/update-JK4NLT4H.js +35 -0
- package/dist/cli/{update-IVUSIA2E.mjs → update-SAN6LDPT.mjs} +10 -10
- package/dist/cli/{workflow-4QP6G54M.mjs → workflow-C66GOHRB.mjs} +7 -7
- package/dist/cli/{workflow-GY374FMJ.js → workflow-E4NGYGGM.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +106 -106
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-M3AJBJ3O.js +0 -43
- package/dist/cli/describe-UFGHQBM7.js +0 -50
- package/dist/cli/git-YYOW4CYQ.js +0 -25
- package/dist/cli/search-OZQH5VMI.js +0 -33
- package/dist/cli/sessions-XKEIBOTP.js +0 -18
- package/dist/cli/skills-R6RO6MQF.js +0 -37
- package/dist/cli/tools-NBBDUNPR.js +0 -57
- package/dist/cli/update-BI2ABPGX.js +0 -35
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.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 } = _chunk3UKVFI2Rjs.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
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.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
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.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
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.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
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.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
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunk3UKVFI2Rjs.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 = _chunkPGHCBL5Gjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunk3UKVFI2Rjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.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
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.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
|
+
_chunk3UKVFI2Rjs.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 } = _chunk3UKVFI2Rjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -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 _chunkY2SIHXYSjs = require('./chunk-Y2SIHXYS.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
function resolveAutoSyncSkillAgents() {
|
|
714
|
-
switch (
|
|
714
|
+
switch (_chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, )) {
|
|
715
715
|
case "codex":
|
|
716
716
|
return ["codex"];
|
|
717
717
|
case "claude_code":
|
|
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
// src/http.ts
|
|
784
|
-
var HttpClient2 = class extends
|
|
784
|
+
var HttpClient2 = class extends _chunkY2SIHXYSjs.HttpClient {
|
|
785
785
|
constructor(config) {
|
|
786
786
|
super(config, readSdkSkillsLocalVersion);
|
|
787
787
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-F6QV42MC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P63SBUEW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-N4TR6QRI.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5T4SZPVO.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkY2SIHXYSjs = require('./chunk-Y2SIHXYS.js');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -652,7 +652,7 @@ var ToolCalls = class {
|
|
|
652
652
|
idempotencyKey,
|
|
653
653
|
onResponse: (response2) => {
|
|
654
654
|
lastResponse = null;
|
|
655
|
-
atomicToolsSupported = response2.headers.get(
|
|
655
|
+
atomicToolsSupported = response2.headers.get(_chunkY2SIHXYSjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
656
656
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
657
657
|
if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
|
|
658
658
|
try {
|
|
@@ -1107,8 +1107,8 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1107
1107
|
}
|
|
1108
1108
|
const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
|
|
1109
1109
|
return {
|
|
1110
|
-
[
|
|
1111
|
-
...receivers ? { [
|
|
1110
|
+
[_chunkY2SIHXYSjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1111
|
+
...receivers ? { [_chunkY2SIHXYSjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1112
1112
|
};
|
|
1113
1113
|
}
|
|
1114
1114
|
function normalizeTestPolicyOverrides(value, source) {
|
|
@@ -1179,7 +1179,7 @@ var PlayClient = class {
|
|
|
1179
1179
|
return _chunkRNSHCJMEjs.startPlayRun.call(void 0,
|
|
1180
1180
|
this.http,
|
|
1181
1181
|
resolved.request,
|
|
1182
|
-
_optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1182
|
+
_optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkY2SIHXYSjs.SDK_API_MAJOR) } : headers,
|
|
1183
1183
|
options
|
|
1184
1184
|
);
|
|
1185
1185
|
}
|
|
@@ -3260,7 +3260,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3260
3260
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3261
3261
|
);
|
|
3262
3262
|
}
|
|
3263
|
-
return { [
|
|
3263
|
+
return { [_chunkY2SIHXYSjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3264
3264
|
}
|
|
3265
3265
|
function sleep(ms) {
|
|
3266
3266
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4150,7 +4150,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4150
4150
|
);
|
|
4151
4151
|
const headers = _optionalChain([options, 'optionalAccess', _188 => _188.cliAdmission]) ? {
|
|
4152
4152
|
...runtimeHeaders,
|
|
4153
|
-
"X-Deepline-API-Major": String(
|
|
4153
|
+
"X-Deepline-API-Major": String(_chunkY2SIHXYSjs.SDK_API_MAJOR)
|
|
4154
4154
|
} : runtimeHeaders;
|
|
4155
4155
|
const http = this.http;
|
|
4156
4156
|
let submitted = false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FC6BR2OA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P2EHYH2Q.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,18 +14,18 @@ import {
|
|
|
14
14
|
} from "./chunk-ITJ7NB2D.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZKUXTF6X.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OD72PULZ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
printCommandEnvelope
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5T4SZPVO.mjs";
|
|
25
25
|
import {
|
|
26
26
|
autoDetectBaseUrl,
|
|
27
27
|
resolveApiKeyForBaseUrl
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3SE4O52N.mjs";
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/describe.ts
|
|
31
31
|
import { writeFileSync } from "fs";
|
|
@@ -8,7 +8,7 @@ var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
|
|
12
12
|
|
|
13
13
|
// src/cli/describe-options.ts
|
|
14
14
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -249,7 +249,7 @@ function projectRunDatasetCell(value) {
|
|
|
249
249
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
250
250
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
251
251
|
if (typeof logicalValue === "object") {
|
|
252
|
-
return
|
|
252
|
+
return _chunk3UKVFI2Rjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
253
253
|
}
|
|
254
254
|
return logicalValue;
|
|
255
255
|
}
|
|
@@ -641,7 +641,7 @@ function csvText(rows, columns = []) {
|
|
|
641
641
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
642
642
|
columns
|
|
643
643
|
});
|
|
644
|
-
return
|
|
644
|
+
return _chunk3UKVFI2Rjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
645
645
|
}
|
|
646
646
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
647
647
|
let temp;
|
|
@@ -768,7 +768,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
768
768
|
};
|
|
769
769
|
if (options.receiptOut && !skipReceiptFile) {
|
|
770
770
|
persist(options.receiptOut, jsonText(receipt));
|
|
771
|
-
|
|
771
|
+
_chunk3UKVFI2Rjs.markJsonOutputHandled.call(void 0, );
|
|
772
772
|
} else {
|
|
773
773
|
printReceipt(receipt, options, {
|
|
774
774
|
data: hasData ? result.data : void 0,
|
|
@@ -1027,8 +1027,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1027
1027
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1028
1028
|
` : receiptText(receipt, options, extra);
|
|
1029
1029
|
if (options.receiptOut !== void 0) {
|
|
1030
|
-
|
|
1031
|
-
|
|
1030
|
+
_chunk3UKVFI2Rjs.writeRawStderr.call(void 0, text);
|
|
1031
|
+
_chunk3UKVFI2Rjs.markJsonOutputHandled.call(void 0, );
|
|
1032
1032
|
} else {
|
|
1033
1033
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1034
1034
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkH6WD65CDjs = require('./chunk-H6WD65CD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkSDD75XIUjs = require('./chunk-SDD75XIU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -14,18 +14,18 @@ var _chunkTMQUMILMjs = require('./chunk-TMQUMILM.js');
|
|
|
14
14
|
var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkEAQQTYJLjs = require('./chunk-EAQQTYJL.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkVMLZQ3VMjs = require('./chunk-VMLZQ3VM.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/describe.ts
|
|
31
31
|
var _fs = require('fs');
|
|
@@ -34,14 +34,14 @@ var _path = require('path');
|
|
|
34
34
|
// src/cli/doc-read-reporting.ts
|
|
35
35
|
var REPORT_TIMEOUT_MS = 1e3;
|
|
36
36
|
async function reportDocRead(docId) {
|
|
37
|
-
if (
|
|
37
|
+
if (_chunkVMLZQ3VMjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
38
38
|
try {
|
|
39
|
-
const baseUrl =
|
|
40
|
-
const apiKey =
|
|
39
|
+
const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
40
|
+
const apiKey = _chunkPGHCBL5Gjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
41
41
|
if (!apiKey) return;
|
|
42
42
|
await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
|
|
43
43
|
method: "POST",
|
|
44
|
-
headers:
|
|
44
|
+
headers: _chunkVMLZQ3VMjs.failureReportHeaders.call(void 0, apiKey),
|
|
45
45
|
body: JSON.stringify({ doc_id: docId }),
|
|
46
46
|
signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
|
|
47
47
|
});
|
|
@@ -54,16 +54,16 @@ function nothingNamed(name) {
|
|
|
54
54
|
return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
|
|
55
55
|
}
|
|
56
56
|
function findNamed2(name, options) {
|
|
57
|
-
return _chunkTMQUMILMjs.findNamed.call(void 0, name, options, _chunkTMQUMILMjs.describeLookupsFor.call(void 0, new (0,
|
|
57
|
+
return _chunkTMQUMILMjs.findNamed.call(void 0, name, options, _chunkTMQUMILMjs.describeLookupsFor.call(void 0, new (0, _chunkEAQQTYJLjs.DeeplineClient)()));
|
|
58
58
|
}
|
|
59
59
|
async function describeAnything(name, options, onMissing) {
|
|
60
|
-
const client = new (0,
|
|
60
|
+
const client = new (0, _chunkEAQQTYJLjs.DeeplineClient)();
|
|
61
61
|
const lookups = _chunkTMQUMILMjs.describeLookupsFor.call(void 0, client);
|
|
62
62
|
const outcome = await _chunkTMQUMILMjs.describeName.call(void 0, name, options, {
|
|
63
63
|
...lookups,
|
|
64
64
|
// `tools describe` has already fetched the tool for its compatibility check.
|
|
65
65
|
tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
|
|
66
|
-
seedStarterScript:
|
|
66
|
+
seedStarterScript: _chunkH6WD65CDjs.seedToolListScript
|
|
67
67
|
});
|
|
68
68
|
if (outcome.status === "missing") {
|
|
69
69
|
if (onMissing) return onMissing();
|
|
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
|
|
|
89
89
|
` : text;
|
|
90
90
|
_fs.writeFileSync.call(void 0, path, content);
|
|
91
91
|
const bytes = Buffer.byteLength(content);
|
|
92
|
-
|
|
92
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
|
|
93
93
|
{ path, bytes },
|
|
94
94
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
95
95
|
` }
|
|
96
96
|
);
|
|
97
97
|
return 0;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
_chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
100
100
|
return 0;
|
|
101
101
|
}
|
|
102
102
|
function registerDescribeCommand(program) {
|
|
103
|
-
|
|
103
|
+
_chunkSDD75XIUjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
|
|
104
104
|
"Describe anything search returns: a tool, monitor type, or play."
|
|
105
105
|
).addHelpText(
|
|
106
106
|
"after",
|