deepline 0.3.373 → 0.3.375
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +1 -53
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +15 -23
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +65 -3
- package/dist/cli/auth-B7CLYD7R.js +35 -0
- package/dist/cli/{auth-7BMCDCRH.mjs → auth-U3Y7DTIG.mjs} +6 -4
- package/dist/cli/{billing-GKI7B4JF.js → billing-P2DNRAND.js} +73 -73
- package/dist/cli/{billing-RZEHHMPU.mjs → billing-TKARGBO3.mjs} +4 -4
- package/dist/cli/{chunk-IUYKSTWB.mjs → chunk-4GP56LRE.mjs} +12 -12
- package/dist/cli/{chunk-JSK6GUY6.js → chunk-4WINCNNH.js} +13 -9
- package/dist/cli/{chunk-CLEB5KUZ.js → chunk-ADSZGPYZ.js} +1 -1
- package/dist/cli/{chunk-E6BZWURC.mjs → chunk-B2LFDTXZ.mjs} +15 -6
- package/dist/cli/{chunk-JP2YA3AV.mjs → chunk-B3TQIJ6L.mjs} +1 -1
- package/dist/cli/{chunk-NVZAZGHA.js → chunk-CUIBDSSS.js} +8 -8
- package/dist/cli/{chunk-E7MGPPM5.js → chunk-DAG4ZBTJ.js} +1495 -1495
- package/dist/cli/{chunk-YPVTQRUM.js → chunk-DHTG5CCI.js} +15 -6
- package/dist/cli/{chunk-EYXSAB7O.js → chunk-F5CU5ALX.js} +26 -26
- package/dist/cli/{chunk-46JCJ7FT.mjs → chunk-FWF24ULX.mjs} +13 -9
- package/dist/cli/{chunk-JHUMUIU6.js → chunk-GN5QM2BB.js} +6 -6
- package/dist/cli/{chunk-BM47AKUZ.js → chunk-HEF6UDGA.js} +235 -235
- package/dist/cli/{chunk-ORBVXCTL.js → chunk-HP4BE43N.js} +52 -51
- package/dist/cli/{chunk-YHHY2YHK.mjs → chunk-HSIVHAZA.mjs} +3 -3
- package/dist/cli/{chunk-P5JPGZNI.mjs → chunk-IG3GOO4T.mjs} +1 -1
- package/dist/cli/{chunk-ND4BVWWZ.js → chunk-IQTHRG6E.js} +15 -15
- package/dist/cli/{chunk-S5OTS6H5.js → chunk-KK4XPUVA.js} +8 -8
- package/dist/cli/{chunk-IHQQNWU4.js → chunk-LZUWGLM4.js} +2 -2
- package/dist/cli/{chunk-W3H422KP.js → chunk-M2HVNJ47.js} +60 -60
- package/dist/cli/{chunk-HNLXC5BP.mjs → chunk-M5QDOHLG.mjs} +1 -1
- package/dist/cli/{chunk-XMME4SCK.mjs → chunk-MKS7C3YR.mjs} +3 -2
- package/dist/cli/{chunk-ECA6NQYL.mjs → chunk-MPQSBHMA.mjs} +4 -4
- package/dist/cli/{chunk-D2CZ4Y5G.js → chunk-MTBQEND4.js} +15 -15
- package/dist/cli/{chunk-XJYUQBHY.js → chunk-NVXMPGM4.js} +65 -84
- package/dist/cli/{chunk-6JCVL7CE.mjs → chunk-QEEIEHGV.mjs} +2 -2
- package/dist/cli/{chunk-TB73PXE3.mjs → chunk-SJVJZOPT.mjs} +2 -2
- package/dist/cli/{chunk-QSV76EMO.mjs → chunk-STYH5U6W.mjs} +7 -7
- package/dist/cli/{chunk-R6TPSZLN.mjs → chunk-Z4ARN4X3.mjs} +2 -2
- package/dist/cli/{chunk-PZ26EKNC.mjs → chunk-ZFWU5V2A.mjs} +13 -32
- package/dist/cli/{chunk-Y32GUTEN.mjs → chunk-ZHXPNJQI.mjs} +1467 -1467
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-3FNCVMWA.mjs → csv-3FTYTEJ3.mjs} +3 -3
- package/dist/cli/{csv-NFQYQWWO.js → csv-WAEVGKHF.js} +12 -12
- package/dist/cli/{db-VA7HULGR.mjs → db-HUGGFIVS.mjs} +4 -4
- package/dist/cli/{db-CTLGRV3X.js → db-UDMDGNKO.js} +29 -29
- package/dist/cli/{describe-GXGRMP2M.mjs → describe-EOBOGTB5.mjs} +130 -20
- package/dist/cli/{describe-IUHOEPKY.js → describe-SIAKZYRK.js} +144 -34
- package/dist/cli/{executions-DSK3HRPU.js → executions-HYYP27MG.js} +6 -6
- package/dist/cli/{executions-OZQDZQIK.mjs → executions-O6Z2HSLK.mjs} +4 -4
- package/dist/cli/{feedback-KTMLMWKV.js → feedback-3DWSBHKS.js} +7 -7
- package/dist/cli/{feedback-ZOY7R4JD.mjs → feedback-RRAMGMQV.mjs} +3 -3
- package/dist/cli/{git-FIOI4IA2.mjs → git-KVAK7VOL.mjs} +4 -4
- package/dist/cli/git-M36KWCCG.js +23 -0
- package/dist/cli/index.js +106 -91
- package/dist/cli/index.mjs +63 -48
- package/dist/cli/{legacy-noops-KQZWSABN.mjs → legacy-noops-MQNCDMY7.mjs} +4 -4
- package/dist/cli/{legacy-noops-WXAYRQMQ.js → legacy-noops-V5GQXXUR.js} +7 -7
- package/dist/cli/{monitors-VHNWIF4V.mjs → monitors-6FB63TDM.mjs} +4 -4
- package/dist/cli/{monitors-LPUCHRNJ.js → monitors-RFGQILPW.js} +85 -85
- package/dist/cli/{org-GWHWBCMD.js → org-L33EPH2E.js} +64 -64
- package/dist/cli/{org-UW7NPGEY.mjs → org-TZPQDDVX.mjs} +4 -4
- package/dist/cli/{play-FNM2E66T.mjs → play-PU23OETO.mjs} +8 -8
- package/dist/cli/play-YR2XQARF.js +155 -0
- package/dist/cli/{providers-6D6R3PWX.js → providers-2RHIKO22.js} +7 -7
- package/dist/cli/{providers-XAZMYDWS.mjs → providers-QGQR6ZZF.mjs} +4 -4
- package/dist/cli/{quickstart-OK65PGZL.mjs → quickstart-24DQYBW7.mjs} +3 -3
- package/dist/cli/{quickstart-HBUWBVH6.js → quickstart-BGQVPI7W.js} +5 -5
- package/dist/cli/{search-XY6JOTS2.mjs → search-EUN7YFMX.mjs} +5 -5
- package/dist/cli/search-OHELMK6E.js +26 -0
- package/dist/cli/{secrets-W2LDLU2W.mjs → secrets-OOHN6LNJ.mjs} +4 -4
- package/dist/cli/{secrets-6CYCPK7T.js → secrets-XL7GUTQA.js} +13 -13
- package/dist/cli/{sessions-GOYEKNTJ.js → sessions-FD5XB7M2.js} +5 -5
- package/dist/cli/{sessions-JAX7PGXU.mjs → sessions-SDN4C3YS.mjs} +4 -4
- package/dist/cli/{settings-OACUQOCM.mjs → settings-3MXRXYXI.mjs} +7 -7
- package/dist/cli/{settings-QMFYFCT7.js → settings-6ZEKVAYL.js} +74 -74
- package/dist/cli/{setup-2KA5TZBZ.mjs → setup-DWTR6HNT.mjs} +6 -6
- package/dist/cli/{setup-36VOOGVA.js → setup-VKQ5EJZR.js} +41 -41
- package/dist/cli/skills-6GFW4GCW.js +28 -0
- package/dist/cli/{skills-QY4BX5ZX.mjs → skills-ISG5UUZW.mjs} +4 -4
- package/dist/cli/{tools-UCB2QRVC.mjs → tools-JTC3DR6M.mjs} +7 -7
- package/dist/cli/tools-LK4L6VCK.js +40 -0
- package/dist/cli/{update-327MHUO4.mjs → update-GMTVIHCG.mjs} +6 -6
- package/dist/cli/update-PSJLAW4Q.js +28 -0
- package/dist/cli/{workflow-G7BU54KW.js → workflow-2765Y3Y5.js} +15 -15
- package/dist/cli/{workflow-HJN4GA5A.mjs → workflow-3POT3VFY.mjs} +5 -5
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/install-integrity.json +76 -78
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-BWCNRUG3.js +0 -33
- package/dist/cli/client-FO6LMHT4.mjs +0 -20
- package/dist/cli/client-KAWK7FJR.js +0 -20
- package/dist/cli/git-5P5FLEUC.js +0 -23
- package/dist/cli/play-EVBIC7Z5.js +0 -155
- package/dist/cli/search-6ZY2XWP2.js +0 -26
- package/dist/cli/skills-6GPIEPTP.js +0 -28
- package/dist/cli/tools-RTECP4WT.js +0 -40
- package/dist/cli/update-WR65EHBN.js +0 -28
|
@@ -4,6 +4,16 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
|
4
4
|
|
|
5
5
|
// src/cli/described.ts
|
|
6
6
|
var SHAPE = "{}";
|
|
7
|
+
function featureLines(id, features) {
|
|
8
|
+
if (!features.length) return [];
|
|
9
|
+
const width = Math.max(...features.map(({ name }) => name.length));
|
|
10
|
+
return [
|
|
11
|
+
`Features (deepline describe ${id} --feature <name>[=<value>]):`,
|
|
12
|
+
...features.map(
|
|
13
|
+
({ name, summary, defaultValue }) => ` ${name.padEnd(width)} ${summary}${defaultValue ? ` Default: ${defaultValue}.` : ""}`
|
|
14
|
+
)
|
|
15
|
+
];
|
|
16
|
+
}
|
|
7
17
|
function byokLines(byok) {
|
|
8
18
|
if (typeof byok.supported !== "boolean") {
|
|
9
19
|
return ["BYOK: unknown (this server does not report it)"];
|
|
@@ -423,6 +433,7 @@ function describedLines(described, view) {
|
|
|
423
433
|
...described.guidance.map((line) => `Guidance: ${line}`),
|
|
424
434
|
...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
|
|
425
435
|
...described.byok ? byokLines(described.byok) : [],
|
|
436
|
+
...featureLines(described.id, _nullishCoalesce(described.features, () => ( []))),
|
|
426
437
|
...schemaLines(described, {
|
|
427
438
|
full: view.fullSchema,
|
|
428
439
|
secondary: view.verbose,
|
|
@@ -528,6 +539,7 @@ function describedJson(described, view) {
|
|
|
528
539
|
...described.cost ? { cost: described.cost } : {},
|
|
529
540
|
...described.rateLimit ? { rateLimit: described.rateLimit } : {},
|
|
530
541
|
...described.byok ? { byok: described.byok } : {},
|
|
542
|
+
..._optionalChain([described, 'access', _8 => _8.features, 'optionalAccess', _9 => _9.length]) ? { features: described.features } : {},
|
|
531
543
|
...described.guidance.length ? { guidance: described.guidance } : {},
|
|
532
544
|
...blocks,
|
|
533
545
|
...used.size ? { types } : {},
|
|
@@ -595,6 +607,9 @@ function addDescribeOptions(command, options = {}) {
|
|
|
595
607
|
).option(
|
|
596
608
|
"--fields <names>",
|
|
597
609
|
"Show only these fields, comma-separated, plus every required input"
|
|
610
|
+
).option(
|
|
611
|
+
"--feature <name[=value]>",
|
|
612
|
+
"Describe one feature of a tool, such as a model: --feature model=openai/gpt-5.6-luna. A tool lists its features."
|
|
598
613
|
).option(
|
|
599
614
|
"-o, --out <path>",
|
|
600
615
|
"Save the output to this file instead of printing it"
|
|
@@ -605,12 +620,6 @@ function addDescribeOptions(command, options = {}) {
|
|
|
605
620
|
"Print only the schema, with every field, and nothing else"
|
|
606
621
|
);
|
|
607
622
|
}
|
|
608
|
-
if (options.byok !== false) {
|
|
609
|
-
command.option(
|
|
610
|
-
"--byok",
|
|
611
|
-
"For a tool, also show whether it can run on your own provider credentials, and how to connect them (always shown when it must)"
|
|
612
|
-
);
|
|
613
|
-
}
|
|
614
623
|
if (options.json !== false) {
|
|
615
624
|
command.option(
|
|
616
625
|
"--json",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkGN5QM2BBjs = require('./chunk-GN5QM2BB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkIQTHRG6Ejs = require('./chunk-IQTHRG6E.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 } = _chunkGN5QM2BBjs.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
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.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
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.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
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.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
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.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
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkGN5QM2BBjs.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 = _chunkIQTHRG6Ejs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkGN5QM2BBjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.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
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.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
|
+
_chunkGN5QM2BBjs.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 } = _chunkGN5QM2BBjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkGN5QM2BBjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -114,15 +114,18 @@ Skills:
|
|
|
114
114
|
health: {
|
|
115
115
|
core: `
|
|
116
116
|
Purpose:
|
|
117
|
-
Read-only
|
|
117
|
+
Read-only check that the configured Deepline host answers. Needs no API
|
|
118
|
+
key; --play-runner does.
|
|
118
119
|
When:
|
|
119
|
-
Only when a command cannot reach the server
|
|
120
|
-
|
|
120
|
+
Only when a command cannot reach the server, or with --play-runner to prove
|
|
121
|
+
the whole play execution plane works.
|
|
121
122
|
Input:
|
|
122
123
|
No arguments. --play-runner runs a tiny no-provider play end to end.
|
|
123
|
-
Output
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
Output:
|
|
125
|
+
Text: "<host>: <status>". --json: the server health object (status,
|
|
126
|
+
version). With --play-runner,
|
|
127
|
+
{status, playRunner: {status, check}}. A failure exits nonzero with
|
|
128
|
+
"Cannot reach Deepline API: <reason>".
|
|
126
129
|
Cost:
|
|
127
130
|
Free. --play-runner uses no providers.
|
|
128
131
|
Avoid:
|
|
@@ -298,6 +301,8 @@ Input:
|
|
|
298
301
|
every output in the examples; --cli-example and --play-example print one
|
|
299
302
|
example; --schema-only prints only the schema; --full-schema unfolds a
|
|
300
303
|
schema over 100 lines; --out <path> saves the output; --json prints JSON.
|
|
304
|
+
A tool lists its features, such as the model an AI tool runs;
|
|
305
|
+
--feature <name>[=<value>] describes one.
|
|
301
306
|
A play your workspace created is shown instead of a Deepline tool or
|
|
302
307
|
prebuilt play of the same name; --prebuilt shows the Deepline one.
|
|
303
308
|
Output:
|
|
@@ -370,8 +375,7 @@ When:
|
|
|
370
375
|
Input:
|
|
371
376
|
The tool id. Prints readable text by default; read that
|
|
372
377
|
form and pass --json only for a program. --pricing-only, --schema-only,
|
|
373
|
-
--examples-only, --getters-only print one section. --
|
|
374
|
-
whether you can use your own provider credentials and how to connect them. --out <path> saves the
|
|
378
|
+
--examples-only, --getters-only print one section. --out <path> saves the
|
|
375
379
|
output to a file. get is an alias of describe, and deepline describe <id>
|
|
376
380
|
is the same read for a tool, a play, or a monitor type.
|
|
377
381
|
Output (JSON):
|
|
@@ -410,7 +414,7 @@ Output fields:
|
|
|
410
414
|
connected false means the provider needs a connected account or
|
|
411
415
|
key in this workspace; execute will fail with 3.
|
|
412
416
|
credentialStatus detail for connected false.
|
|
413
|
-
byok only
|
|
417
|
+
byok only when required. supported: you can connect your
|
|
414
418
|
own provider credentials; required: the tool runs
|
|
415
419
|
only on them. setup and setupUrl say where to
|
|
416
420
|
connect them. With byok optional and nothing
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIQTHRG6Ejs = require('./chunk-IQTHRG6E.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
@@ -225,8 +225,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
225
225
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
226
226
|
var defaultBrowserCommandRunner = childProcess;
|
|
227
227
|
function getAuthedHttpClient() {
|
|
228
|
-
const config =
|
|
229
|
-
return { config, http: new (0,
|
|
228
|
+
const config = _chunkIQTHRG6Ejs.resolveConfig.call(void 0, );
|
|
229
|
+
return { config, http: new (0, _chunkIQTHRG6Ejs.HttpClient)(config) };
|
|
230
230
|
}
|
|
231
231
|
function stableOsUserId() {
|
|
232
232
|
try {
|
|
@@ -566,7 +566,7 @@ function collectLocalEnvInfo() {
|
|
|
566
566
|
os: `${process.platform} ${process.arch}`,
|
|
567
567
|
node_version: process.version,
|
|
568
568
|
home_dir: homeDir,
|
|
569
|
-
agent_runtime:
|
|
569
|
+
agent_runtime: _chunkIQTHRG6Ejs.detectAgentRuntime.call(void 0, )
|
|
570
570
|
};
|
|
571
571
|
const env = process.env;
|
|
572
572
|
const optional = {
|
|
@@ -813,9 +813,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
813
813
|
}
|
|
814
814
|
function withAgentCommandContext(value) {
|
|
815
815
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
816
|
-
return
|
|
816
|
+
return _chunkIQTHRG6Ejs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
817
817
|
...valueRecord,
|
|
818
|
-
command_context:
|
|
818
|
+
command_context: _chunkIQTHRG6Ejs.resolveCliCommandContext.call(void 0, )
|
|
819
819
|
} : value;
|
|
820
820
|
}
|
|
821
821
|
function printJson(value, fields) {
|