deepline 0.3.370 → 0.3.371
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/README.md +1 -1
- package/dist/bundling-sources/sdk/src/client.ts +8 -8
- package/dist/bundling-sources/sdk/src/release.ts +1 -7
- package/dist/bundling-sources/sdk/src/runs/overview.ts +7 -7
- package/dist/bundling-sources/sdk/src/tool-output.ts +5 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -2
- package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -5
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +18 -18
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/dataset-lifecycle-log.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +34 -9
- package/dist/cli/auth-DQVK3ZI6.js +33 -0
- package/dist/cli/{auth-RIH4S7NC.mjs → auth-LCSEXQA2.mjs} +4 -4
- package/dist/cli/{billing-Q65H5GJM.js → billing-KISDL67A.js} +148 -148
- package/dist/cli/{billing-ERNGN6WK.mjs → billing-Z7PLJC5C.mjs} +79 -79
- package/dist/cli/{chunk-MX53GIOB.js → chunk-2JRRXXTA.js} +2 -2
- package/dist/cli/{chunk-BKHNCIQD.mjs → chunk-2L6LBJVC.mjs} +193 -187
- package/dist/cli/{chunk-IDBLJSLL.mjs → chunk-3FTYFVYN.mjs} +5 -5
- package/dist/cli/{chunk-Z6B4UPM4.mjs → chunk-3GK3SH3G.mjs} +2 -2
- package/dist/cli/{chunk-4Y5UDYQK.js → chunk-44SHFHA3.js} +17 -17
- package/dist/cli/{chunk-RLXMRC6P.mjs → chunk-46JCJ7FT.mjs} +49 -96
- package/dist/cli/{chunk-XTKVXHGD.js → chunk-5BCVKWLV.js} +17 -17
- package/dist/cli/{chunk-A5RFERJQ.mjs → chunk-5S525TQV.mjs} +2 -2
- package/dist/cli/{chunk-WQZ22EQU.js → chunk-5Z7JFUNX.js} +26 -26
- package/dist/cli/{chunk-T64NZ2A7.mjs → chunk-73NIXYKH.mjs} +46 -47
- package/dist/cli/{chunk-SFI7U6CA.js → chunk-A7X7KFXX.js} +4 -4
- package/dist/cli/{chunk-YQMUTC2H.mjs → chunk-AIZKDTFF.mjs} +11 -11
- package/dist/cli/{chunk-MKFHZDBO.js → chunk-BO3ADIBV.js} +8 -8
- package/dist/cli/{chunk-NHB3UWTZ.js → chunk-C3IPN4E6.js} +17 -17
- package/dist/cli/{chunk-A4OX52RV.js → chunk-C553OZGG.js} +10 -10
- package/dist/cli/{chunk-GGRVNAOH.mjs → chunk-DOXAN2I7.mjs} +3 -3
- package/dist/cli/{chunk-YEEESF2T.js → chunk-DPVBWLBF.js} +419 -413
- package/dist/cli/{chunk-R7AAYFDQ.js → chunk-DQMTJXLK.js} +102 -103
- package/dist/cli/{chunk-NXDRDJ4K.js → chunk-E5UD3JDQ.js} +3 -1
- package/dist/cli/{chunk-LNEBKWXM.mjs → chunk-IWY7T6MR.mjs} +1 -1
- package/dist/cli/{chunk-MIMASXO4.mjs → chunk-JB6ERQUV.mjs} +3 -1
- package/dist/cli/{chunk-CTMA3C3N.js → chunk-JSK6GUY6.js} +49 -96
- package/dist/cli/{chunk-H4IQJRFC.mjs → chunk-KBJO7HIF.mjs} +9 -9
- package/dist/cli/{chunk-HHH4MPFY.mjs → chunk-KGRAQ4OR.mjs} +6 -6
- package/dist/cli/{chunk-LJWOPNJJ.mjs → chunk-KKRRIFR3.mjs} +1 -1
- package/dist/cli/{chunk-DFJDVQMH.js → chunk-N34UX4TW.js} +2 -2
- package/dist/cli/{chunk-666HPUIZ.js → chunk-NMDNUOVI.js} +1 -6
- package/dist/cli/{chunk-5DUTNG37.mjs → chunk-SEDS6ZVR.mjs} +10 -10
- package/dist/cli/{chunk-BGXG3GEI.mjs → chunk-SENW5J4O.mjs} +5 -5
- package/dist/cli/{chunk-Y2B56VN7.js → chunk-TT2YWFYW.js} +53 -53
- package/dist/cli/{chunk-A6DJC2RC.js → chunk-YENBXYUH.js} +68 -68
- package/dist/cli/{chunk-NEY2M4EZ.mjs → chunk-YYFLULK7.mjs} +1 -6
- package/dist/cli/client-JFSRNUVD.js +20 -0
- package/dist/cli/{client-QXOERIFI.mjs → client-Z3Z5EDDJ.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-V7UKQ7AC.mjs → csv-TEVHLGGA.mjs} +3 -3
- package/dist/cli/{csv-ZKIUSDIV.js → csv-XGFXV7JE.js} +12 -12
- package/dist/cli/{db-GWKRVHKS.js → db-LLZJ7UH5.js} +42 -43
- package/dist/cli/{db-QQ4BYMPY.mjs → db-OB7PMWSZ.mjs} +17 -18
- package/dist/cli/{describe-XMWXEFMS.mjs → describe-GZIRANUZ.mjs} +12 -12
- package/dist/cli/{describe-3AJI2BOS.js → describe-NWU7LI3I.js} +28 -28
- package/dist/cli/{executions-2IMCCV34.js → executions-64YZGSOW.js} +6 -6
- package/dist/cli/{executions-QV7UE5YG.mjs → executions-7UZ3ZGJ3.mjs} +4 -4
- package/dist/cli/{feedback-K6WNXZDB.mjs → feedback-2WRQRW3U.mjs} +8 -8
- package/dist/cli/{feedback-7SSJ7VPF.js → feedback-MN5CXULH.js} +12 -12
- package/dist/cli/{git-UOE2K2XQ.mjs → git-BPYVLLTY.mjs} +4 -4
- package/dist/cli/git-TJIPVSAE.js +23 -0
- package/dist/cli/index.js +98 -109
- package/dist/cli/index.mjs +46 -57
- package/dist/cli/{legacy-noops-GC43OSXL.js → legacy-noops-VMXJPLMW.js} +9 -9
- package/dist/cli/{legacy-noops-SOYPIA2X.mjs → legacy-noops-ZRPWEPX6.mjs} +6 -6
- package/dist/cli/{monitors-FLCGMXVH.mjs → monitors-5BRTBL7E.mjs} +59 -59
- package/dist/cli/{monitors-AXANB6WK.js → monitors-OQSI2VOL.js} +140 -140
- package/dist/cli/{org-MXD4BTQI.js → org-F5QS3HG4.js} +88 -87
- package/dist/cli/{org-Q7EDNZMN.mjs → org-SMZ7AGR3.mjs} +28 -27
- package/dist/cli/{play-TZROCF7E.mjs → play-CJZNLQL7.mjs} +10 -8
- package/dist/cli/play-K7HE4LBB.js +155 -0
- package/dist/cli/{providers-JEY4FTWG.mjs → providers-CBWXJRDG.mjs} +7 -7
- package/dist/cli/{providers-LOS4MHAG.js → providers-SH2HYOVR.js} +10 -10
- package/dist/cli/{quickstart-WO5KVVER.mjs → quickstart-342ENF6Q.mjs} +4 -4
- package/dist/cli/{quickstart-27UQGHEH.js → quickstart-B6EL7WDG.js} +6 -6
- package/dist/cli/{search-LZHWXC2C.mjs → search-E7DKH3SI.mjs} +5 -5
- package/dist/cli/search-SEEYCQED.js +26 -0
- package/dist/cli/{secrets-AVJGZABR.mjs → secrets-FSYIPRVS.mjs} +5 -5
- package/dist/cli/{secrets-PE7P4L7N.js → secrets-M2AW5RGE.js} +14 -14
- package/dist/cli/{sessions-I6UDBN7M.js → sessions-AFE4C3FQ.js} +5 -5
- package/dist/cli/{sessions-ZDSZTYZV.mjs → sessions-DJPGWPNA.mjs} +4 -4
- package/dist/cli/{settings-SPWH3FET.mjs → settings-KLN2A3PQ.mjs} +10 -10
- package/dist/cli/{settings-3SLMJHJ2.js → settings-VUWBNATC.js} +77 -77
- package/dist/cli/{setup-Q3CJ4T2Q.mjs → setup-BE6N5YV6.mjs} +15 -15
- package/dist/cli/{setup-R4LUWQE4.js → setup-I5IMTQCX.js} +50 -50
- package/dist/cli/skills-7XH5GMZB.js +28 -0
- package/dist/cli/{skills-FGXH432G.mjs → skills-GSNPQDUG.mjs} +4 -4
- package/dist/cli/tools-JCL4ABAF.js +40 -0
- package/dist/cli/{tools-O7C6PFF2.mjs → tools-ORCGHV4P.mjs} +8 -8
- package/dist/cli/{update-PPCQV3CD.mjs → update-UXEUWVWS.mjs} +6 -6
- package/dist/cli/update-YNZOS77Z.js +28 -0
- package/dist/cli/{workflow-Z2KYQ2JE.mjs → workflow-JBQY7JJN.mjs} +7 -7
- package/dist/cli/{workflow-ALKU4ZFD.js → workflow-R7SDICTU.js} +17 -17
- package/dist/{client-CjHv4K6D.d.mts → client-CZFMQEgO.d.mts} +6 -6
- package/dist/{client-rTuhNN-x.d.ts → client-CgSwpnb-.d.ts} +6 -6
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -15
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +82 -82
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -5
- package/dist/release.d.ts +1 -5
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-DD3PVIRQ.js +0 -33
- package/dist/cli/client-DNAFHKWV.js +0 -20
- package/dist/cli/git-EBSF3254.js +0 -23
- package/dist/cli/play-YWQXVOBT.js +0 -153
- package/dist/cli/search-OQ3OEFUA.js +0 -26
- package/dist/cli/skills-IDXBBOUW.js +0 -28
- package/dist/cli/tools-WHLD4Y4O.js +0 -40
- package/dist/cli/update-K6HE3XKO.js +0 -28
|
@@ -112,7 +112,9 @@ function tryConvertToList(payload, options) {
|
|
|
112
112
|
return emptyMatch;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
const roots = candidateRoots(payload);
|
|
116
|
+
const v2Raw = roots.find((root) => root.path === "toolResponse.raw");
|
|
117
|
+
for (const root of v2Raw ? [v2Raw] : roots) {
|
|
116
118
|
const candidate = findBestArrayCandidate(root.value, _nullishCoalesce(root.path, () => ( "")));
|
|
117
119
|
if (!candidate || candidate.rows.length === 0) continue;
|
|
118
120
|
return {
|
|
@@ -112,7 +112,9 @@ function tryConvertToList(payload, options) {
|
|
|
112
112
|
return emptyMatch;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
const roots = candidateRoots(payload);
|
|
116
|
+
const v2Raw = roots.find((root) => root.path === "toolResponse.raw");
|
|
117
|
+
for (const root of v2Raw ? [v2Raw] : roots) {
|
|
116
118
|
const candidate = findBestArrayCandidate(root.value, root.path ?? "");
|
|
117
119
|
if (!candidate || candidate.rows.length === 0) continue;
|
|
118
120
|
return {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/cli/command-docs.ts
|
|
2
2
|
var CONVENTIONS = `
|
|
3
3
|
Conventions (apply to every command):
|
|
4
|
-
Output mode:
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
Output mode: readable text by default. --json prints JSON. tools execute
|
|
5
|
+
is the exception: it prints JSON; --output-format csv prints a readable
|
|
6
|
+
summary and writes the rows to a CSV file.
|
|
7
7
|
Streams: stdout carries only the command result. Progress, update notices,
|
|
8
8
|
skills-sync notes, and warnings go to stderr.
|
|
9
|
-
Piping JSON:
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Piping JSON: pass --json only when a program parses the output, and parse
|
|
10
|
+
stdout alone. 2>&1 puts stderr text in front of the JSON, so the parse
|
|
11
|
+
fails and the real error is hidden; | head and | tail cut the document.
|
|
12
12
|
JSON envelope: most payloads include render.sections[].lines (the human
|
|
13
13
|
summary as text), next.* (exact follow-up commands; run commands name
|
|
14
14
|
them actions.*Cmd), and command_context.
|
|
@@ -43,7 +43,7 @@ What Deepline is for:
|
|
|
43
43
|
priced per call. Discover with search, inspect with tools
|
|
44
44
|
describe, call with tools execute.
|
|
45
45
|
plays a durable workflow, usually a prebuilt waterfall over a CSV. Discover
|
|
46
|
-
with search, read the contract with
|
|
46
|
+
with search, read the contract with describe, start with
|
|
47
47
|
plays run.
|
|
48
48
|
runs one execution of a play: status, rows, logs, cost, and export.
|
|
49
49
|
Inspect with runs get, download rows with runs export.
|
|
@@ -51,11 +51,11 @@ What Deepline is for:
|
|
|
51
51
|
The agent path for a typical task:
|
|
52
52
|
deepline --help prints the CLI version and the auth state on its first two
|
|
53
53
|
lines, checked live. Do not run version or auth status as well.
|
|
54
|
-
1. deepline
|
|
54
|
+
1. deepline billing balance only when you need the credit balance
|
|
55
55
|
2. deepline search "<input you have -> result you need>"
|
|
56
56
|
one search over prebuilt plays, tools, your
|
|
57
57
|
workspace's plays, and monitor types
|
|
58
|
-
3. deepline
|
|
58
|
+
3. deepline describe <ref> read required input, CSV columns, output
|
|
59
59
|
4. deepline plays run <ref> --input '{"csv":"file.csv"}' waits, prints run id
|
|
60
60
|
5. deepline runs export <run-id> --out result.csv rows as CSV
|
|
61
61
|
6. deepline billing usage --run-id <run-id> what it cost
|
|
@@ -75,7 +75,7 @@ Working rules:
|
|
|
75
75
|
domain, so do not split the file or run a second pass. Phones: a known
|
|
76
76
|
person -> person-to-phone-batch.
|
|
77
77
|
The balance is a ceiling, not a budget to use up. Before each paid call,
|
|
78
|
-
estimate its cost: the price from
|
|
78
|
+
estimate its cost: the price from describe <tool> or
|
|
79
79
|
plays list --show-cost, times the results or rows you will request. Take
|
|
80
80
|
the cheapest route that can answer and test it with the smallest limit.
|
|
81
81
|
If one tool call would cost more than about 5 credits, lower its limit or
|
|
@@ -108,50 +108,7 @@ Auth in non-interactive shells:
|
|
|
108
108
|
Skills:
|
|
109
109
|
The bare skills command reinstalls the Deepline skill files on disk. To see
|
|
110
110
|
which skills are installed without changing anything, run
|
|
111
|
-
skills --dry-run
|
|
112
|
-
`
|
|
113
|
-
},
|
|
114
|
-
preflight: {
|
|
115
|
-
core: `
|
|
116
|
-
Purpose:
|
|
117
|
-
One read-only call that reports server health, whether this shell is
|
|
118
|
-
authenticated, and the workspace's Deepline credit balance.
|
|
119
|
-
When:
|
|
120
|
-
Once at the start of a task, before the first paid call. Its balance is the
|
|
121
|
-
balance for the whole task; do not repeat preflight, auth status, or billing
|
|
122
|
-
balance later unless a command fails with an auth or balance error.
|
|
123
|
-
Input:
|
|
124
|
-
No arguments. --json forces JSON in a terminal (automatic when piped).
|
|
125
|
-
Output (JSON):
|
|
126
|
-
status ("ok" or "error"), cli_version, host, health.status, auth.connected
|
|
127
|
-
(boolean),
|
|
128
|
-
auth.org_name, billing.balance (number of Deepline credits),
|
|
129
|
-
billing.balance_display, billing.balance_status, and render.sections with
|
|
130
|
-
the four-line human summary.
|
|
131
|
-
Cost:
|
|
132
|
-
Free. Makes no provider calls.
|
|
133
|
-
Avoid:
|
|
134
|
-
Do not treat auth.connected false as something to fix with auth register in
|
|
135
|
-
an unattended shell; report it instead.
|
|
136
|
-
`,
|
|
137
|
-
verbose: `
|
|
138
|
-
Output fields:
|
|
139
|
-
health.status "ok" when the API answered; anything else means the host
|
|
140
|
-
is unreachable or degraded and paid work should not start.
|
|
141
|
-
health.version API version string, currently "v2".
|
|
142
|
-
auth.status "claimed" for a working key; auth.connected mirrors it as
|
|
143
|
-
a boolean and is the field to branch on.
|
|
144
|
-
auth.org_id/org_name the workspace every following command will bill.
|
|
145
|
-
auth.rate_limit_tier informational.
|
|
146
|
-
billing.balance Deepline credits available now. Compare it with a play's
|
|
147
|
-
cost estimate (plays list --show-cost) times the row
|
|
148
|
-
count before running a large file.
|
|
149
|
-
billing.rough_usd_balance the same balance in approximate USD.
|
|
150
|
-
billing.balance_status "active" normally; other values mean the workspace
|
|
151
|
-
cannot spend and runs will fail with a balance error.
|
|
152
|
-
Related:
|
|
153
|
-
health (server only), auth status (identity only), billing balance (credits
|
|
154
|
-
only). preflight is the union and is the one to prefer.
|
|
111
|
+
skills --dry-run and read the plan.
|
|
155
112
|
`
|
|
156
113
|
},
|
|
157
114
|
health: {
|
|
@@ -159,7 +116,7 @@ Related:
|
|
|
159
116
|
Purpose:
|
|
160
117
|
Read-only connectivity check that prints the server's raw health payload.
|
|
161
118
|
When:
|
|
162
|
-
Only when
|
|
119
|
+
Only when a command cannot reach the server and you want the raw payload,
|
|
163
120
|
or with --play-runner to prove the whole play execution plane works.
|
|
164
121
|
Input:
|
|
165
122
|
No arguments. --play-runner runs a tiny no-provider play end to end.
|
|
@@ -169,7 +126,8 @@ Output (JSON):
|
|
|
169
126
|
Cost:
|
|
170
127
|
Free. --play-runner uses no providers.
|
|
171
128
|
Avoid:
|
|
172
|
-
Do not use health to check auth or balance;
|
|
129
|
+
Do not use health to check auth or balance; use auth status or billing
|
|
130
|
+
balance.
|
|
173
131
|
`
|
|
174
132
|
},
|
|
175
133
|
"auth status": {
|
|
@@ -179,7 +137,7 @@ Purpose:
|
|
|
179
137
|
as, without changing anything.
|
|
180
138
|
When:
|
|
181
139
|
When you need the workspace name or id, or to confirm auth after a 3 exit
|
|
182
|
-
code.
|
|
140
|
+
code.
|
|
183
141
|
Input:
|
|
184
142
|
No arguments. --auth-scope folder|global reads one auth store only.
|
|
185
143
|
--reveal persists the API key into the local auth file; do not use it.
|
|
@@ -234,9 +192,8 @@ Cost:
|
|
|
234
192
|
Purpose:
|
|
235
193
|
Read the workspace's current Deepline credit balance.
|
|
236
194
|
When:
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
includes this number; do not call both at the start of a task.
|
|
195
|
+
Once at the start of a task, before the first paid call, and after a run
|
|
196
|
+
reports a balance or insufficient-credits error.
|
|
240
197
|
Input:
|
|
241
198
|
No arguments. Prints one line, "Balance: N credits". --verbose adds
|
|
242
199
|
reservations and usage awaiting settlement; --json returns the full record.
|
|
@@ -259,7 +216,7 @@ When:
|
|
|
259
216
|
include cost unless you pass --full.
|
|
260
217
|
Input:
|
|
261
218
|
--run-id <run-id> scopes the spend to one play run. --limit and --cursor
|
|
262
|
-
page the recent-call list. --json
|
|
219
|
+
page the recent-call list. --json prints JSON.
|
|
263
220
|
Output (JSON):
|
|
264
221
|
balance, usage.last_30_days_usage_credits, usage.month_spent_credits, and
|
|
265
222
|
with --run-id: run.spent_credits, run.rough_usd_spent, run.event_count.
|
|
@@ -271,7 +228,7 @@ Avoid:
|
|
|
271
228
|
`,
|
|
272
229
|
verbose: `
|
|
273
230
|
Output fields:
|
|
274
|
-
balance, balance_display, rough_usd_balance
|
|
231
|
+
balance, balance_display, rough_usd_balance credits available now.
|
|
275
232
|
plan.usd_per_credit conversion used for rough USD.
|
|
276
233
|
usage.month_spent_credits spend in the current period.
|
|
277
234
|
usage.last_30_days_usage_credits trailing-30-day spend.
|
|
@@ -308,7 +265,7 @@ Input:
|
|
|
308
265
|
comma-separated list. --categories <a,b> and --search_terms <a,b> filter
|
|
309
266
|
tools and work without a task. --limit (1-50) and --offset page.
|
|
310
267
|
Output:
|
|
311
|
-
A readable ranked list by default
|
|
268
|
+
A readable ranked list by default; read that form. With
|
|
312
269
|
--json: results[] where each item has id, kind (tool, prebuilt_play,
|
|
313
270
|
custom_play, monitor_type), displayName, and description. A tool adds
|
|
314
271
|
provider, categories, inputFields, pricing, connected, and executeCommand;
|
|
@@ -344,15 +301,11 @@ Input:
|
|
|
344
301
|
A play your workspace created is shown instead of a Deepline tool or
|
|
345
302
|
prebuilt play of the same name; --prebuilt shows the Deepline one.
|
|
346
303
|
Output:
|
|
347
|
-
Readable text by default
|
|
304
|
+
Readable text by default; read that form. With --json:
|
|
348
305
|
kind, id, displayName, description, cost, inputs[], outputs[], and
|
|
349
|
-
runExamples {cli, play}, plus the
|
|
350
|
-
returns for that kind.
|
|
306
|
+
runExamples {cli, play}, plus the kind's own fields.
|
|
351
307
|
Cost:
|
|
352
308
|
Free.
|
|
353
|
-
Avoid:
|
|
354
|
-
tools describe and plays describe are this command limited to one kind and
|
|
355
|
-
keep their own flags (--pricing-only, --examples-only, --getters-only).
|
|
356
309
|
`
|
|
357
310
|
},
|
|
358
311
|
tools: {
|
|
@@ -366,11 +319,11 @@ When:
|
|
|
366
319
|
reuse completed rows, and export.
|
|
367
320
|
The sequence:
|
|
368
321
|
search <words> ranked tools and plays for an intent
|
|
369
|
-
|
|
322
|
+
describe <id> required input fields, pricing, output shape
|
|
370
323
|
tools execute <id> --input '{...}' run it
|
|
371
324
|
Cost:
|
|
372
325
|
search, describe, list, and grep are free. execute can spend credits; the
|
|
373
|
-
price is in
|
|
326
|
+
price is in describe <id>.
|
|
374
327
|
`
|
|
375
328
|
},
|
|
376
329
|
"tools grep": {
|
|
@@ -398,7 +351,7 @@ When:
|
|
|
398
351
|
To see what kinds of tools exist (bare tools list) or to enumerate one
|
|
399
352
|
category without ranking (tools list email_finder).
|
|
400
353
|
Input:
|
|
401
|
-
Optional positional category. --json
|
|
354
|
+
Optional positional category. --json prints JSON.
|
|
402
355
|
Output (JSON):
|
|
403
356
|
Bare: one entry per category with its tool count. With a category: one row
|
|
404
357
|
per tool with required inputs and a pricing hint. Never truncated.
|
|
@@ -415,7 +368,7 @@ When:
|
|
|
415
368
|
Always before paying for an unfamiliar tool; the input schema is the only
|
|
416
369
|
reliable source of field names.
|
|
417
370
|
Input:
|
|
418
|
-
The tool id. Prints readable text by default
|
|
371
|
+
The tool id. Prints readable text by default; read that
|
|
419
372
|
form and pass --json only for a program. --pricing-only, --schema-only,
|
|
420
373
|
--examples-only, --getters-only print one section. --byok prints only
|
|
421
374
|
whether you can use your own provider credentials and how to connect them. --out <path> saves the
|
|
@@ -491,17 +444,17 @@ Output (JSON):
|
|
|
491
444
|
listSourcePath}, summary, next, render.sections. Errors return a non-zero
|
|
492
445
|
exit code and an error object, not a completed status.
|
|
493
446
|
Cost:
|
|
494
|
-
Spends Deepline credits per call at the price in
|
|
447
|
+
Spends Deepline credits per call at the price in describe. A search
|
|
495
448
|
with limit N is one call; it is not billed per result.
|
|
496
449
|
Avoid:
|
|
497
450
|
Do not wrap the result in shell parsing to find rows; output_preview
|
|
498
451
|
already lists the row path and the first rows, and --out writes the CSV.
|
|
499
|
-
Do not add 2>&1 when you parse
|
|
452
|
+
Do not add 2>&1 when you parse the JSON: stderr text breaks the parse. A
|
|
500
453
|
failed call prints its error as JSON on stdout.
|
|
501
454
|
`,
|
|
502
455
|
verbose: `
|
|
503
456
|
Input rules:
|
|
504
|
-
The object must match inputSchema.fields from
|
|
457
|
+
The object must match inputSchema.fields from describe. Extra keys
|
|
505
458
|
are rejected by most providers. Nested filter objects (for example
|
|
506
459
|
crustdata_v3_* filters) must be passed as JSON, so use --input, not -p.
|
|
507
460
|
An @path value is read relative to the current directory.
|
|
@@ -514,12 +467,12 @@ Output fields:
|
|
|
514
467
|
toolResponse, for example toolResponse.raw.companies.
|
|
515
468
|
output_preview.preview a bounded sample of rows; the full array is at the
|
|
516
469
|
listSourcePath, and --out writes all of it as CSV.
|
|
517
|
-
next.inspect
|
|
470
|
+
next.inspect a read-only command that inspects the call, for debugging.
|
|
518
471
|
Cases:
|
|
519
472
|
Insufficient credits fail before the provider is called, with an
|
|
520
|
-
insufficient-credits error; check
|
|
473
|
+
insufficient-credits error; check billing balance first.
|
|
521
474
|
A provider that needs a connected account fails with an auth or permission
|
|
522
|
-
error;
|
|
475
|
+
error; describe shows connected false beforehand.
|
|
523
476
|
Free tools (run_javascript, free_* ids) never charge.
|
|
524
477
|
Related:
|
|
525
478
|
To run the same operation over many rows, put the rows in a CSV and use a
|
|
@@ -538,7 +491,7 @@ When:
|
|
|
538
491
|
rows on rerun, so a failed run can be resumed instead of repaid.
|
|
539
492
|
The sequence:
|
|
540
493
|
search "<input you have -> result you need>" find the play
|
|
541
|
-
|
|
494
|
+
describe <ref> required input, CSV columns, output fields
|
|
542
495
|
plays list --show-cost per-row or per-run credit estimate
|
|
543
496
|
plays run <ref> --input '{"csv":"file.csv"}' start and wait
|
|
544
497
|
runs export <run-id> --out out.csv rows
|
|
@@ -552,7 +505,7 @@ Writing a play:
|
|
|
552
505
|
The file is: export default definePlay('name', async (ctx, input) => {...}).
|
|
553
506
|
--help --verbose lists the authoring rules.
|
|
554
507
|
Auditing plays:
|
|
555
|
-
plays list
|
|
508
|
+
plays list every saved play
|
|
556
509
|
plays versions --name <play> its revisions, and which one is live
|
|
557
510
|
plays get <play> --source --out <dir> a revision's source (--live,
|
|
558
511
|
--working, or --revision <n>)
|
|
@@ -582,7 +535,7 @@ Authoring rules:
|
|
|
582
535
|
rows.peek(n), rows.materialize(n), or for await. Array methods on a
|
|
583
536
|
handle fail plays check.
|
|
584
537
|
Tool calls: rowCtx.tools.execute({ id, tool, input, description }). Read
|
|
585
|
-
results through the getters
|
|
538
|
+
results through the getters describe lists:
|
|
586
539
|
result.extractedValues.<name>.get() and
|
|
587
540
|
result.extractedLists.<name>.get(). A field with no getter is under
|
|
588
541
|
result.toolResponse.rawV2 with the provider's nesting kept.
|
|
@@ -622,7 +575,7 @@ Purpose:
|
|
|
622
575
|
When:
|
|
623
576
|
Finding a saved play by a phrase in its source or description.
|
|
624
577
|
Input:
|
|
625
|
-
A query. --json
|
|
578
|
+
A query. --json prints JSON.
|
|
626
579
|
Output (JSON):
|
|
627
580
|
Matching owned plays with the matched fields and terms.
|
|
628
581
|
Cost:
|
|
@@ -639,7 +592,7 @@ When:
|
|
|
639
592
|
cost estimate line for the play, or costEstimate in JSON.
|
|
640
593
|
Input:
|
|
641
594
|
--show-cost adds estimates. --limit and --cursor page. --categories
|
|
642
|
-
filters by tool category. --json
|
|
595
|
+
filters by tool category. --json prints JSON.
|
|
643
596
|
Output (JSON):
|
|
644
597
|
plays[] with playKey, reference, displayName, description, origin,
|
|
645
598
|
runCount, lastRun, and with --show-cost costEstimate {status, unit ("row"
|
|
@@ -650,13 +603,13 @@ Output (JSON):
|
|
|
650
603
|
Cost:
|
|
651
604
|
Free.
|
|
652
605
|
Avoid:
|
|
653
|
-
|
|
606
|
+
describe does not include a cost estimate; this command does.
|
|
654
607
|
`,
|
|
655
608
|
verbose: `
|
|
656
609
|
Pricing a run:
|
|
657
610
|
Multiply lowCredits..highCredits by the row count when unit is "row", or
|
|
658
|
-
use it directly when unit is "run". Compare with billing.
|
|
659
|
-
|
|
611
|
+
use it directly when unit is "run". Compare with the billing balance.
|
|
612
|
+
When the estimate is unavailable, run a two-row slice first and
|
|
660
613
|
read its actual spend with billing usage --run-id <run-id>.
|
|
661
614
|
Output fields:
|
|
662
615
|
costEstimate.source "observed" (from past runs; shown with ~) or
|
|
@@ -676,7 +629,7 @@ When:
|
|
|
676
629
|
reliable source of the input field and column names.
|
|
677
630
|
Input:
|
|
678
631
|
The play reference from search (prebuilt/... or <workspace>/...).
|
|
679
|
-
--compact shortens schemas. --json
|
|
632
|
+
--compact shortens schemas. --json prints JSON.
|
|
680
633
|
Output (JSON):
|
|
681
634
|
name, reference, displayName, description, inputSchema (JSON Schema plus
|
|
682
635
|
fields[] {name, required, type}), outputSchema, csvInput {inputField,
|
|
@@ -739,7 +692,7 @@ When:
|
|
|
739
692
|
Before running a local play file, and after editing one. Free, so run it
|
|
740
693
|
every time.
|
|
741
694
|
Input:
|
|
742
|
-
A local path ending in .play.ts, or a play reference. --json
|
|
695
|
+
A local path ending in .play.ts, or a play reference. --json prints JSON.
|
|
743
696
|
Output (JSON):
|
|
744
697
|
valid (boolean), target, name, reference, inputSchema, outputSchema,
|
|
745
698
|
runtimeLimit, note, and for local files any errors or warnings with the
|
|
@@ -914,7 +867,7 @@ Input:
|
|
|
914
867
|
The run id. --full resolves a full-only result and adds diagnostics with
|
|
915
868
|
billing and timeline (large). --log-failed attaches the failure log window.
|
|
916
869
|
--input prints the original input (may contain customer data). --json
|
|
917
|
-
|
|
870
|
+
prints JSON; --json run.status,datasets.name selects fields.
|
|
918
871
|
Output (JSON):
|
|
919
872
|
kind "run_overview", run {id, playName, status, startedAt, finishedAt,
|
|
920
873
|
durationMs}, steps[] {id, kind, status, label, progress {total, executed,
|
|
@@ -1054,7 +1007,7 @@ When:
|
|
|
1054
1007
|
log. Without a run id it searches events: which runs or steps failed
|
|
1055
1008
|
(--kind run.failed, --kind step.failed), with --payloads for the details.
|
|
1056
1009
|
To read what a tool call in a run returned: runs logs <run-id> --kind
|
|
1057
|
-
receipt.completed --payloads
|
|
1010
|
+
receipt.completed --payloads, then one exact result by its eventId
|
|
1058
1011
|
with --where.
|
|
1059
1012
|
Input:
|
|
1060
1013
|
A run id alone reads text logs; no run id, or any search flag, searches
|
|
@@ -1080,7 +1033,7 @@ Purpose:
|
|
|
1080
1033
|
When:
|
|
1081
1034
|
A row of a run's output records a receipt key and you need what that tool
|
|
1082
1035
|
call returned. Without a key, find the call first with runs logs <run-id>
|
|
1083
|
-
--kind receipt.completed --payloads
|
|
1036
|
+
--kind receipt.completed --payloads.
|
|
1084
1037
|
Input:
|
|
1085
1038
|
The run id, then --key <key> (repeatable) or --keys <file> with one key
|
|
1086
1039
|
per line (--keys - reads stdin). --out <file> writes the JSON to a new
|
|
@@ -1126,7 +1079,7 @@ When:
|
|
|
1126
1079
|
running lists them. Completed work is kept and reused by a later run of the
|
|
1127
1080
|
same play and input.
|
|
1128
1081
|
Input:
|
|
1129
|
-
The run id and --reason "<text>". --json
|
|
1082
|
+
The run id and --reason "<text>". --json prints JSON.
|
|
1130
1083
|
Output (JSON):
|
|
1131
1084
|
The run's new status; cancellation is asynchronous, so poll runs get.
|
|
1132
1085
|
Cost:
|
|
@@ -1310,7 +1263,7 @@ Purpose:
|
|
|
1310
1263
|
from the current release. It writes to disk.
|
|
1311
1264
|
When:
|
|
1312
1265
|
Only when asked to install or update skills. To see what is installed
|
|
1313
|
-
without changing anything, use --dry-run
|
|
1266
|
+
without changing anything, use --dry-run and read the plan.
|
|
1314
1267
|
Input:
|
|
1315
1268
|
--scope global|local, --agent <target>, --dry-run, --json.
|
|
1316
1269
|
Output (JSON):
|
|
@@ -1345,8 +1298,8 @@ Purpose:
|
|
|
1345
1298
|
Read-only diagnosis of the local install: CLI version, skills, auth,
|
|
1346
1299
|
workspace, and API connectivity, with suggested repairs.
|
|
1347
1300
|
When:
|
|
1348
|
-
When something local is wrong (skills missing, auth file odd).
|
|
1349
|
-
|
|
1301
|
+
When something local is wrong (skills missing, auth file odd). Doctor is
|
|
1302
|
+
stricter and exits 7
|
|
1350
1303
|
when any check fails, which is common in sandboxes with no skills on disk.
|
|
1351
1304
|
Input:
|
|
1352
1305
|
--scope global|local. --json.
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
RETAINED_PIPELINE_RECEIVERS_HEADER,
|
|
22
22
|
RUNTIME_ENVIRONMENT_TOKEN_HEADER,
|
|
23
23
|
resolveConfig
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KKRRIFR3.mjs";
|
|
25
25
|
import {
|
|
26
26
|
DeeplineError,
|
|
27
27
|
TOOL_EXECUTION_ERROR_SCHEMA_HEADER,
|
|
@@ -3409,7 +3409,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
3409
3409
|
const cloneEditStarter = this.playCloneEditStarter(play);
|
|
3410
3410
|
return {
|
|
3411
3411
|
name: play.name,
|
|
3412
|
-
// playKey and triggerStatus were projected away here, so `
|
|
3412
|
+
// playKey and triggerStatus were projected away here, so `describe`
|
|
3413
3413
|
// was strictly less informative than `plays list` for the same play — no
|
|
3414
3414
|
// stable key, and no way to see that a cron was armed.
|
|
3415
3415
|
...play.playKey ? { playKey: play.playKey } : {},
|
|
@@ -4313,7 +4313,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4313
4313
|
* This is the SDK equivalent of:
|
|
4314
4314
|
*
|
|
4315
4315
|
* ```bash
|
|
4316
|
-
* deepline runs get <run-id>
|
|
4316
|
+
* deepline runs get <run-id>
|
|
4317
4317
|
* ```
|
|
4318
4318
|
*/
|
|
4319
4319
|
async getRunStatus(runId, options) {
|
|
@@ -4350,7 +4350,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4350
4350
|
});
|
|
4351
4351
|
} catch (error) {
|
|
4352
4352
|
failedLogsLoaded = false;
|
|
4353
|
-
const retryCommand = `deepline runs logs ${runId} --failed
|
|
4353
|
+
const retryCommand = `deepline runs logs ${runId} --failed`;
|
|
4354
4354
|
const reason = error instanceof Error && error.message.trim() ? ` (${error.message.trim().slice(0, 500)})` : "";
|
|
4355
4355
|
failedLogs = {
|
|
4356
4356
|
runId,
|
|
@@ -4417,7 +4417,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4417
4417
|
* This is the SDK equivalent of:
|
|
4418
4418
|
*
|
|
4419
4419
|
* ```bash
|
|
4420
|
-
* deepline runs list --play <play-name> --status failed
|
|
4420
|
+
* deepline runs list --play <play-name> --status failed
|
|
4421
4421
|
* ```
|
|
4422
4422
|
*/
|
|
4423
4423
|
async listRuns(options) {
|
|
@@ -4555,7 +4555,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4555
4555
|
* This is the SDK equivalent of:
|
|
4556
4556
|
*
|
|
4557
4557
|
* ```bash
|
|
4558
|
-
* deepline runs logs <run-id> --limit 200
|
|
4558
|
+
* deepline runs logs <run-id> --limit 200
|
|
4559
4559
|
* ```
|
|
4560
4560
|
*/
|
|
4561
4561
|
async getRunLogs(runId, options) {
|
|
@@ -4847,7 +4847,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4847
4847
|
* This is the SDK equivalent of:
|
|
4848
4848
|
*
|
|
4849
4849
|
* ```bash
|
|
4850
|
-
* deepline runs stop <run-id> --reason "stale lock"
|
|
4850
|
+
* deepline runs stop <run-id> --reason "stale lock"
|
|
4851
4851
|
* ```
|
|
4852
4852
|
*/
|
|
4853
4853
|
async stopRun(runId, options) {
|
|
@@ -4863,8 +4863,8 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4863
4863
|
* This is the SDK equivalent of:
|
|
4864
4864
|
*
|
|
4865
4865
|
* ```bash
|
|
4866
|
-
* deepline runs stop-all --dry-run
|
|
4867
|
-
* deepline runs stop-all --reason "stale lock"
|
|
4866
|
+
* deepline runs stop-all --dry-run
|
|
4867
|
+
* deepline runs stop-all --reason "stale lock"
|
|
4868
4868
|
* ```
|
|
4869
4869
|
*
|
|
4870
4870
|
* Use this when a failed parent run left child or waiting runs active and you
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IWY7T6MR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
resolveShellSpawn,
|
|
7
7
|
runSkillsCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SEDS6ZVR.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DOXAN2I7.mjs";
|
|
12
12
|
import {
|
|
13
13
|
autoDetectBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KKRRIFR3.mjs";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -1199,7 +1199,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1199
1199
|
stderr.write(
|
|
1200
1200
|
`Deepline SDK/CLI update completed, but the optional local agent-skills refresh failed. Your CLI update succeeded; this does not affect authentication, data, billing, or the command result.
|
|
1201
1201
|
Skills refresh detail: ${detail}
|
|
1202
|
-
To retry with full installer output, run: deepline skills
|
|
1202
|
+
To retry with full installer output, run: deepline skills
|
|
1203
1203
|
`
|
|
1204
1204
|
);
|
|
1205
1205
|
}
|
|
@@ -1232,7 +1232,7 @@ Notes:
|
|
|
1232
1232
|
Examples:
|
|
1233
1233
|
deepline update
|
|
1234
1234
|
deepline update --print-command
|
|
1235
|
-
deepline update
|
|
1235
|
+
deepline update
|
|
1236
1236
|
`
|
|
1237
1237
|
).option("--print-command", "Print the update command without running it").option("--json", "Emit the resolved update plan as JSON").action(async (options) => {
|
|
1238
1238
|
process.exitCode = await runUpdateCommand(options);
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkYENBXYUHjs = require('./chunk-YENBXYUH.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/npm-script-policy.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
|
|
|
13
13
|
}
|
|
14
14
|
function readNpmVersion(env) {
|
|
15
15
|
try {
|
|
16
|
-
const plan =
|
|
16
|
+
const plan = _chunkYENBXYUHjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
|
|
17
17
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
18
18
|
encoding: "utf8",
|
|
19
19
|
env,
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.371",
|
|
53
53
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
54
54
|
packageCapabilities: {
|
|
55
55
|
updatePreferences: 1
|
|
@@ -93,11 +93,6 @@ var SDK_RELEASE = {
|
|
|
93
93
|
introducedIn: "0.3.91",
|
|
94
94
|
reason: "deepline search was added in SDK CLI 0.3.91 as the one search across tools, monitors, and plays. On an older version run deepline tools search or deepline plays search, or update."
|
|
95
95
|
},
|
|
96
|
-
{
|
|
97
|
-
command: "describe",
|
|
98
|
-
introducedIn: "0.3.312",
|
|
99
|
-
reason: "deepline describe was added in SDK CLI 0.3.312 as the one describe for tools, monitor types, and plays. On an older version run deepline tools describe or deepline plays describe, or update."
|
|
100
|
-
},
|
|
101
96
|
{
|
|
102
97
|
command: "notifications",
|
|
103
98
|
introducedIn: "0.2.40",
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GAMFK2ZP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DOXAN2I7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_SKILL_AGENTS,
|
|
9
9
|
KNOWN_SKILL_AGENTS,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sdkCliStateDirPath,
|
|
23
23
|
skillsAgentPathSegment,
|
|
24
24
|
writeSdkSkillsLocalVersion
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KKRRIFR3.mjs";
|
|
26
26
|
import {
|
|
27
27
|
DeeplineError
|
|
28
28
|
} from "./chunk-NXGCO4JB.mjs";
|
|
@@ -1012,7 +1012,7 @@ var SkillsStateUnavailableError = class extends Error {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
};
|
|
1014
1014
|
function writeSkillsStateUnavailableNotice(baseUrl, agents, error) {
|
|
1015
|
-
const retry = agents.length === 1 ? `deepline skills --agent ${agents[0]}
|
|
1015
|
+
const retry = agents.length === 1 ? `deepline skills --agent ${agents[0]}` : "deepline skills";
|
|
1016
1016
|
writeSdkSkillsStatusLine(
|
|
1017
1017
|
`Automatic skills update skipped. ${new SkillsStateUnavailableError(baseUrl, error).message}. Your command will continue. Resolve this filesystem error, then run: ${retry}`
|
|
1018
1018
|
);
|
|
@@ -1615,7 +1615,7 @@ async function runSkillsInstall(installs, agents, notice = writeSdkSkillsStatusL
|
|
|
1615
1615
|
${attemptedCommands}
|
|
1616
1616
|
` : "") + (details ? `Installer output:
|
|
1617
1617
|
${details}
|
|
1618
|
-
` : "") + (retryAgent ? `To retry with full installer output: deepline skills --agent ${retryAgent}
|
|
1618
|
+
` : "") + (retryAgent ? `To retry with full installer output: deepline skills --agent ${retryAgent}
|
|
1619
1619
|
` : "") + `To temporarily suppress automatic skills sync: ${temporarySkillsSyncSkipCommand()}`
|
|
1620
1620
|
);
|
|
1621
1621
|
return {
|
|
@@ -2181,7 +2181,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
2181
2181
|
scope,
|
|
2182
2182
|
agents,
|
|
2183
2183
|
message: error.message,
|
|
2184
|
-
next: `Resolve this filesystem error, then run: deepline skills --scope ${scope}
|
|
2184
|
+
next: `Resolve this filesystem error, then run: deepline skills --scope ${scope}`
|
|
2185
2185
|
},
|
|
2186
2186
|
{ json: options.json }
|
|
2187
2187
|
);
|
|
@@ -2197,7 +2197,7 @@ async function runSkillsCommand(options, dependencies = {}) {
|
|
|
2197
2197
|
scope,
|
|
2198
2198
|
agents,
|
|
2199
2199
|
message: "A background Deepline skills refresh is still running for these agents.",
|
|
2200
|
-
next: `Retry in a moment: deepline skills --scope ${scope}
|
|
2200
|
+
next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${skillsInstallLeasePath(baseUrl, agents)}`
|
|
2201
2201
|
},
|
|
2202
2202
|
{ json: options.json }
|
|
2203
2203
|
);
|
|
@@ -2243,7 +2243,7 @@ async function runSkillsInstallWithLease(input) {
|
|
|
2243
2243
|
scope,
|
|
2244
2244
|
agents,
|
|
2245
2245
|
message: error instanceof Error ? error.message : String(error),
|
|
2246
|
-
next: `deepline skills --scope ${scope}
|
|
2246
|
+
next: `deepline skills --scope ${scope}`
|
|
2247
2247
|
},
|
|
2248
2248
|
{ json: options.json }
|
|
2249
2249
|
);
|
|
@@ -2324,9 +2324,9 @@ Notes:
|
|
|
2324
2324
|
persistent project.
|
|
2325
2325
|
|
|
2326
2326
|
Examples:
|
|
2327
|
-
deepline skills
|
|
2328
|
-
deepline skills --scope local
|
|
2329
|
-
deepline skills --agent codex --dry-run
|
|
2327
|
+
deepline skills
|
|
2328
|
+
deepline skills --scope local
|
|
2329
|
+
deepline skills --agent codex --dry-run
|
|
2330
2330
|
`
|
|
2331
2331
|
).action(async (options) => {
|
|
2332
2332
|
process.exitCode = await runSkillsCommand(options);
|