deepline 0.3.504 → 0.3.506
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/client-core.ts +121 -5
- package/dist/bundling-sources/sdk/src/index.ts +3 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +5 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +176 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/overview.ts +118 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +29 -1
- package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +29 -10
- package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +9 -9
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +52 -5
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +48 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +157 -47
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +36 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +55 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +66 -0
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +18 -0
- package/dist/bundling-sources/shared_libs/product-notifications/onboarding-unsubscribe.ts +23 -0
- package/dist/cli/auth-MMHG2OFE.js +43 -0
- package/dist/cli/{auth-3L5AA5AX.mjs → auth-ZHFONT2D.mjs} +5 -5
- package/dist/cli/{billing-HOGXVE2V.js → billing-3Z7N4WTL.js} +101 -91
- package/dist/cli/{billing-E7EASVPO.mjs → billing-B2YEMNHE.mjs} +27 -17
- package/dist/cli/{chunk-UXQQPMYO.js → chunk-26DJ4BDY.js} +2 -2
- package/dist/cli/{chunk-3MLFFWDM.mjs → chunk-2CFTDVEP.mjs} +2 -2
- package/dist/cli/{chunk-QOLX2O2S.mjs → chunk-2IXXB7OA.mjs} +93 -34
- package/dist/cli/{chunk-6JNBMTCZ.js → chunk-2OY5DXTC.js} +1 -1
- package/dist/cli/{chunk-SVFTZTCI.mjs → chunk-3BFZEHBH.mjs} +1 -1
- package/dist/cli/{chunk-67OI26OE.js → chunk-3F676QXJ.js} +96 -37
- package/dist/cli/{chunk-KCKAFTPY.js → chunk-5ARG7J7A.js} +6 -6
- package/dist/cli/{chunk-5CHBIJIM.mjs → chunk-6RYVIZRP.mjs} +2 -2
- package/dist/cli/{chunk-QKKU2FH4.js → chunk-75NAFY36.js} +7 -7
- package/dist/cli/{chunk-7P2QVMBP.js → chunk-AD2WJUZA.js} +91 -48
- package/dist/cli/{chunk-UFYJTRSF.mjs → chunk-AFSYNOG4.mjs} +42 -7
- package/dist/cli/{chunk-VJVJWZ6I.mjs → chunk-BJ5OX62J.mjs} +5 -5
- package/dist/cli/{chunk-HUX5DZO6.mjs → chunk-BQBPVUFJ.mjs} +3 -3
- package/dist/cli/{chunk-MLMWM5DV.mjs → chunk-CHGRURBN.mjs} +5 -5
- package/dist/cli/{chunk-22OCKCYS.mjs → chunk-D7OCORZ7.mjs} +1 -1
- package/dist/cli/{chunk-SMSQVRHE.js → chunk-DB54ROPH.js} +5 -5
- package/dist/cli/{chunk-KGUGNEKL.js → chunk-E554XCJI.js} +96 -96
- package/dist/cli/{chunk-GGBXNQCR.mjs → chunk-EN7GXLFX.mjs} +4 -4
- package/dist/cli/{chunk-2W77YCKH.js → chunk-F53SGS3C.js} +5 -5
- package/dist/cli/{chunk-6SMR7LU7.js → chunk-F7IQQYKV.js} +2 -2
- package/dist/cli/chunk-FFGQR5J3.mjs +405 -0
- package/dist/cli/{chunk-UJMBG5JU.js → chunk-FWSEGIT6.js} +4 -4
- package/dist/cli/{chunk-GJ2DA35C.js → chunk-GDHLL5EQ.js} +42 -7
- package/dist/cli/{chunk-XHZSPMNC.mjs → chunk-GJNIC2CO.mjs} +84 -441
- package/dist/cli/chunk-GRESJ3H3.js +405 -0
- package/dist/cli/{chunk-WZSFIJMG.js → chunk-HINTYT5H.js} +113 -470
- package/dist/cli/{chunk-A6LA42JY.js → chunk-LRSRJJPD.js} +16 -16
- package/dist/cli/{chunk-WBIDPDKJ.js → chunk-MHRR47VQ.js} +3 -3
- package/dist/cli/{chunk-FTRVCIGC.js → chunk-N7G36GXB.js} +26 -26
- package/dist/cli/{chunk-BTWUNKKX.mjs → chunk-ND4WPLTE.mjs} +2 -2
- package/dist/cli/{chunk-NZ7Z7WNM.mjs → chunk-O4DZG4VA.mjs} +2 -2
- package/dist/cli/{chunk-LHXYCZYO.js → chunk-OD6TASBP.js} +8 -8
- package/dist/cli/{chunk-GRAGUYIE.js → chunk-OHNMJ5XQ.js} +41 -41
- package/dist/cli/{chunk-OX2D6BG4.mjs → chunk-ONBXTEFQ.mjs} +46 -3
- package/dist/cli/{chunk-7F4OEHQK.mjs → chunk-OPBXKB57.mjs} +1 -1
- package/dist/cli/{chunk-Y7VEHKID.mjs → chunk-OUGJUM5X.mjs} +6 -6
- package/dist/cli/{chunk-USTJEEND.js → chunk-PRIHD5XS.js} +9 -9
- package/dist/cli/{chunk-IGNQKOWT.mjs → chunk-QAY5AS2H.mjs} +12 -12
- package/dist/cli/{chunk-5Z6EULD5.js → chunk-QP333GFE.js} +7 -7
- package/dist/cli/{chunk-JPR2546F.js → chunk-SUJIVF6L.js} +16 -16
- package/dist/cli/{chunk-DEAJVQEG.mjs → chunk-TEMORCEE.mjs} +1 -1
- package/dist/cli/{chunk-YOQ2NNDO.mjs → chunk-TS4KFQKS.mjs} +1 -1
- package/dist/cli/{chunk-4CC67XH5.mjs → chunk-XUY7WQ2R.mjs} +3 -3
- package/dist/cli/{chunk-Z6FXUDIL.mjs → chunk-YEX6RPUO.mjs} +1 -1
- package/dist/cli/{chunk-MJTK6Q3G.js → chunk-YJKKOSXS.js} +3 -3
- package/dist/cli/{chunk-Y6XKCEPK.mjs → chunk-YVOS5KSG.mjs} +1 -1
- package/dist/cli/{chunk-2ABRDH3B.mjs → chunk-YWZEBPXK.mjs} +2 -2
- package/dist/cli/{chunk-BX45XMXZ.mjs → chunk-Z7EHY2MF.mjs} +2 -2
- package/dist/cli/{chunk-FISP4LCK.js → chunk-ZM5BJ5MP.js} +53 -53
- package/dist/cli/{chunk-IPAMOMGP.js → chunk-ZZDTWVCQ.js} +21 -21
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-2XWGPITO.js → csv-7K7LK63Y.js} +13 -13
- package/dist/cli/{csv-433JEHLQ.mjs → csv-ARHQ54HA.mjs} +4 -4
- package/dist/cli/{db-K747DH43.mjs → db-JBX24NJY.mjs} +6 -6
- package/dist/cli/{db-PJJMD4VH.js → db-V4Z2I6DY.js} +27 -27
- package/dist/cli/describe-AYXVS6DZ.js +50 -0
- package/dist/cli/{describe-VEDDYW4P.mjs → describe-RBDSGSZ7.mjs} +18 -17
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-JWRX3XCT.mjs → executions-BAZEU63W.mjs} +6 -6
- package/dist/cli/{executions-HM5T72H6.js → executions-XEZKV5QU.js} +8 -8
- package/dist/cli/{feedback-34UG4BO3.js → feedback-LOERESRU.js} +8 -8
- package/dist/cli/{feedback-MNSIA63Y.mjs → feedback-YDSWBHCO.mjs} +4 -4
- package/dist/cli/{git-ZKEOXV3A.mjs → git-4Z3W2CQU.mjs} +5 -5
- package/dist/cli/git-T6WKO7EA.js +25 -0
- package/dist/cli/index.js +146 -148
- package/dist/cli/index.mjs +53 -55
- package/dist/cli/{legacy-noops-YXSI4FVU.js → legacy-noops-4QIQPVE5.js} +8 -8
- package/dist/cli/{legacy-noops-5M4T4ZVT.mjs → legacy-noops-E4HH7S5O.mjs} +5 -5
- package/dist/cli/{monitors-C65OC4AW.mjs → monitors-FPDW5DDM.mjs} +305 -8
- package/dist/cli/{monitors-O25GDOYE.js → monitors-QBHDSDA7.js} +423 -126
- package/dist/cli/{org-2GSPLY2A.js → org-JO4GGSAH.js} +72 -72
- package/dist/cli/{org-ZRMG5NS2.mjs → org-UCDHIHAD.mjs} +6 -6
- package/dist/cli/{pages-TZZUFBRO.mjs → pages-6V52IZXY.mjs} +6 -6
- package/dist/cli/{pages-45DPADK6.js → pages-FJAAXAWO.js} +18 -18
- package/dist/cli/{play-RCGMND6X.js → play-F3AENS6W.js} +317 -316
- package/dist/cli/{play-3D7HH273.mjs → play-MF4DWROJ.mjs} +18 -17
- package/dist/cli/{providers-PSAKV6CJ.mjs → providers-NJJLTECA.mjs} +6 -6
- package/dist/cli/{providers-3N3ECMTY.js → providers-XXOQLPX7.js} +9 -9
- package/dist/cli/{quickstart-6R6AIXM6.js → quickstart-JCE3XGQG.js} +6 -6
- package/dist/cli/{quickstart-2A35SMGC.mjs → quickstart-Z5MSMI7S.mjs} +4 -4
- package/dist/cli/{run-F3TLDGUO.mjs → run-56UGPIRL.mjs} +23 -22
- package/dist/cli/{run-F6ZXTASZ.js → run-X2DNIW3F.js} +41 -40
- package/dist/cli/search-B753RTKC.js +33 -0
- package/dist/cli/{search-CZLCY3D2.mjs → search-SZYI4NBB.mjs} +8 -7
- package/dist/cli/{search-output-R5XDNILW.js → search-output-7UNT6EMP.js} +6 -6
- package/dist/cli/{search-output-MQTSTLN5.mjs → search-output-T35QNZUF.mjs} +4 -4
- package/dist/cli/{secrets-DCJYHDSY.js → secrets-JMUAVIVC.js} +15 -15
- package/dist/cli/{secrets-D3GF4B2Z.mjs → secrets-Q36VC35L.mjs} +6 -6
- package/dist/cli/{sessions-QGEQ2UYZ.mjs → sessions-HG6I3HMY.mjs} +5 -5
- package/dist/cli/{sessions-Z4JYJSDP.js → sessions-SUXU7OM7.js} +6 -6
- package/dist/cli/{settings-UVXXAT4A.js → settings-UIELQ5CV.js} +106 -78
- package/dist/cli/{settings-G7QEXA4N.mjs → settings-Z76XW4KF.mjs} +39 -11
- package/dist/cli/{setup-5I42W7D4.js → setup-2L7H5P2O.js} +50 -49
- package/dist/cli/{setup-QHJU3DUI.mjs → setup-OXNYAOQ4.mjs} +10 -9
- package/dist/cli/skills-DEVXYGYH.js +37 -0
- package/dist/cli/{skills-5LRF4UKX.mjs → skills-XSNLXJGI.mjs} +8 -7
- package/dist/cli/tools-SCGHABDL.js +57 -0
- package/dist/cli/{tools-PUT6STVG.mjs → tools-SUSFAYFH.mjs} +17 -16
- package/dist/cli/update-BSIILGO3.js +35 -0
- package/dist/cli/{update-CJ2GA64X.mjs → update-ENSTG3QO.mjs} +10 -9
- package/dist/cli/{workflow-O67MEBCP.js → workflow-FMBZNY4F.js} +17 -17
- package/dist/cli/{workflow-HVEWRTXD.mjs → workflow-Z33QE6VT.mjs} +7 -7
- package/dist/{client-DYAfJpaN.d.mts → client-BDbouy3Y.d.mts} +1 -1
- package/dist/{client-CIwenMFS.d.ts → client-Cx0420fs.d.ts} +1 -1
- package/dist/{client-core-CRjtyMAI.d.ts → client-core-B4hq0-m2.d.ts} +56 -4
- package/dist/{client-core-DlzP8vEs.d.mts → client-core-CwiVaMZ5.d.mts} +56 -4
- package/dist/{compiler-manifest-DaJrA2KV.d.mts → compiler-manifest-BeURaD5Y.d.mts} +2 -0
- package/dist/{compiler-manifest-DaJrA2KV.d.ts → compiler-manifest-BeURaD5Y.d.ts} +2 -0
- package/dist/{errors-KLga4bLr.d.ts → errors-BoPXPrSy.d.ts} +1 -1
- package/dist/{errors-BKnSYueU.d.mts → errors-kBuT4kGK.d.mts} +1 -1
- package/dist/{index-C5nAZ-VS.d.ts → index-D0crdGM1.d.ts} +1 -1
- package/dist/{index-C-8AFpWy.d.mts → index-DC7oRAAC.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +116 -110
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-UPK4IIIN.js +0 -43
- package/dist/cli/describe-OYS7LZJD.js +0 -49
- package/dist/cli/git-5YQJSJFR.js +0 -25
- package/dist/cli/search-R5VEWJO2.js +0 -32
- package/dist/cli/skills-FB6TV52O.js +0 -36
- package/dist/cli/tools-L2364RPA.js +0 -56
- package/dist/cli/update-ESYJGYVZ.js +0 -34
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GJNIC2CO.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2CFTDVEP.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YVOS5KSG.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TS4KFQKS.mjs";
|
|
28
28
|
import {
|
|
29
29
|
DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
|
|
30
30
|
} from "./chunk-5JPKRDFC.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunkMHRR47VQjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkAD2WJUZAjs.PlayClient)(
|
|
142
|
+
new (0, _chunkMHRR47VQjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -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 _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.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 = _chunkHINTYT5Hjs.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,
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import {
|
|
2
|
+
autoDetectBaseUrl,
|
|
3
|
+
resolveApiKeyForBaseUrl
|
|
4
|
+
} from "./chunk-YVOS5KSG.mjs";
|
|
5
|
+
import {
|
|
6
|
+
SDK_VERSION,
|
|
7
|
+
agentSessionIdFromEnvironment,
|
|
8
|
+
deploymentProtectionHeaders,
|
|
9
|
+
detectAgentRuntime
|
|
10
|
+
} from "./chunk-TS4KFQKS.mjs";
|
|
11
|
+
import {
|
|
12
|
+
DeeplineError
|
|
13
|
+
} from "./chunk-HBL4PM5Q.mjs";
|
|
14
|
+
|
|
15
|
+
// src/cli/failure-reporting.ts
|
|
16
|
+
import { hostname, platform, release } from "os";
|
|
17
|
+
var FAILURE_REPORT_DISABLE_ENV = "DEEPLINE_DISABLE_FAILURE_REPORTING";
|
|
18
|
+
var REPORT_FAILURE_TIMEOUT_MS = 1e4;
|
|
19
|
+
var BACKGROUND_REPORT_FAILURE_TIMEOUT_MS = 2e3;
|
|
20
|
+
var MAX_FAILURE_TEXT_CHARS = 4e3;
|
|
21
|
+
var MAX_COMMAND_TOKENS = 3;
|
|
22
|
+
var REPORTABLE_EXIT_CODES = /* @__PURE__ */ new Set([4, 5]);
|
|
23
|
+
var EMAIL_RE = /\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/gi;
|
|
24
|
+
var UNIX_PATH_RE = /(?:\/Users\/|\/home\/|\/var\/folders\/|\/tmp\/|\/sessions\/)[^"'\n\r`]+/g;
|
|
25
|
+
var WINDOWS_PATH_RE = /[A-Za-z]:(?:\\{1,2})(?:Users|Temp|tmp)(?:\\{1,2})[^"'\n\r`]+/g;
|
|
26
|
+
var ASSIGNMENT_SECRET_RE = /\b(access[_-]?token|api[_-]?key|apikey|auth(?:orization)?|bearer|password|secret|session)\b(\s*[:=]\s*)(?!Bearer\s+\[redacted-secret\])([^\s,;]+)/gi;
|
|
27
|
+
var BEARER_SECRET_RE = /\b(bearer)\s+([A-Za-z0-9._-]+)/gi;
|
|
28
|
+
var GENERIC_TOKEN_RE = /\b(?:dlp|sk|ghp|xox[baprs])[-_A-Za-z0-9]{8,}\b/g;
|
|
29
|
+
var SECRET_OPTION_RE = /^--?(?:access[-_]?token|api[-_]?key|apikey|auth(?:orization)?|bearer|password|secret|session|token)$/i;
|
|
30
|
+
function truthyEnv(name) {
|
|
31
|
+
return ["1", "true", "yes", "on"].includes(
|
|
32
|
+
String(process.env[name] ?? "").trim().toLowerCase()
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
function isFailureReportingDisabled() {
|
|
36
|
+
return truthyEnv(FAILURE_REPORT_DISABLE_ENV);
|
|
37
|
+
}
|
|
38
|
+
function redactFailureText(value, maxChars = MAX_FAILURE_TEXT_CHARS) {
|
|
39
|
+
const home = process.env.HOME?.trim();
|
|
40
|
+
let text = String(value ?? "");
|
|
41
|
+
if (!text) return "";
|
|
42
|
+
if (home && home !== "/") {
|
|
43
|
+
text = text.split(home).join("~");
|
|
44
|
+
}
|
|
45
|
+
return text.replace(EMAIL_RE, "[redacted-email]").replace(UNIX_PATH_RE, "[redacted-path]").replace(WINDOWS_PATH_RE, "[redacted-path]").replace(BEARER_SECRET_RE, "$1 [redacted-secret]").replace(ASSIGNMENT_SECRET_RE, "$1$2[redacted-secret]").replace(GENERIC_TOKEN_RE, "[redacted-secret]").slice(0, maxChars);
|
|
46
|
+
}
|
|
47
|
+
function sanitizeCommand(argv, prefix = "deepline") {
|
|
48
|
+
const tokens = [];
|
|
49
|
+
for (let index = 0; index < argv.length; index += 1) {
|
|
50
|
+
const arg = argv[index];
|
|
51
|
+
const value = String(arg ?? "").trim();
|
|
52
|
+
if (!value) continue;
|
|
53
|
+
if (value.startsWith("-")) {
|
|
54
|
+
if (!value.includes("=") && SECRET_OPTION_RE.test(value)) {
|
|
55
|
+
index += 1;
|
|
56
|
+
}
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
tokens.push(redactFailureText(value, 200));
|
|
60
|
+
if (tokens.length >= MAX_COMMAND_TOKENS) break;
|
|
61
|
+
}
|
|
62
|
+
return tokens.length > 0 ? [prefix, ...tokens].join(" ") : prefix;
|
|
63
|
+
}
|
|
64
|
+
function errorMessage(error) {
|
|
65
|
+
if (error instanceof Error) return `${error.name}: ${error.message}`;
|
|
66
|
+
return String(error ?? "");
|
|
67
|
+
}
|
|
68
|
+
function errorStack(error) {
|
|
69
|
+
if (error instanceof Error && error.stack) {
|
|
70
|
+
return redactFailureText(error.stack);
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
function classifyNetworkFailure(error) {
|
|
75
|
+
const seen = /* @__PURE__ */ new Set();
|
|
76
|
+
let current = error;
|
|
77
|
+
while (current && !seen.has(current)) {
|
|
78
|
+
seen.add(current);
|
|
79
|
+
const record = typeof current === "object" && current !== null ? current : {};
|
|
80
|
+
const code = String(record.code ?? "").toLowerCase();
|
|
81
|
+
const name = current instanceof Error ? current.name.toLowerCase() : "";
|
|
82
|
+
const text = String(
|
|
83
|
+
current instanceof Error ? current.message : current
|
|
84
|
+
).toLowerCase();
|
|
85
|
+
const combined = `${code} ${name} ${text}`;
|
|
86
|
+
if (combined.includes("aborterror") || combined.includes("timeout") || combined.includes("timed out") || combined.includes("etimedout")) {
|
|
87
|
+
return "network_timeout";
|
|
88
|
+
}
|
|
89
|
+
if (combined.includes("enotfound") || combined.includes("eai_again") || combined.includes("getaddrinfo") || combined.includes("name or service not known") || combined.includes("temporary failure in name resolution")) {
|
|
90
|
+
return "network_dns_resolution_failed";
|
|
91
|
+
}
|
|
92
|
+
if (combined.includes("econnrefused") || combined.includes("connection refused")) {
|
|
93
|
+
return "network_connection_refused";
|
|
94
|
+
}
|
|
95
|
+
if (combined.includes("econnreset") || combined.includes("connection reset")) {
|
|
96
|
+
return "network_connection_reset";
|
|
97
|
+
}
|
|
98
|
+
if (combined.includes("incompleteread") || combined.includes("incomplete read")) {
|
|
99
|
+
return "network_incomplete_read";
|
|
100
|
+
}
|
|
101
|
+
if (combined.includes("remotedisconnected") || combined.includes("remote end closed connection") || combined.includes("other side closed") || combined.includes("socket hang up")) {
|
|
102
|
+
return "network_remote_disconnected";
|
|
103
|
+
}
|
|
104
|
+
if (
|
|
105
|
+
// Local filenames and retry commands may contain "ssl" or "tls".
|
|
106
|
+
// Require a transport identifier or protocol failure text instead.
|
|
107
|
+
code.includes("ssl") || code.includes("tls") || name.includes("ssl") || name.includes("tls") || /(?:^|[\s[(:])(?:ssl|tls)[\s:_-]+(?:error|handshake|certificate|routines|connection|failed|failure)(?:$|[\s:_-])/.test(
|
|
108
|
+
text
|
|
109
|
+
) || combined.includes("unexpected_eof_while_reading")
|
|
110
|
+
) {
|
|
111
|
+
return "network_ssl_error";
|
|
112
|
+
}
|
|
113
|
+
current = record.cause ?? record.context;
|
|
114
|
+
}
|
|
115
|
+
return "network_error";
|
|
116
|
+
}
|
|
117
|
+
function classifyNetworkCauseCategory(error) {
|
|
118
|
+
const seen = /* @__PURE__ */ new Set();
|
|
119
|
+
let cause = error;
|
|
120
|
+
while (cause && typeof cause === "object" && !seen.has(cause)) {
|
|
121
|
+
seen.add(cause);
|
|
122
|
+
const record = cause;
|
|
123
|
+
if (record.code === "UND_ERR_CONNECT_TIMEOUT") return "connect_timeout";
|
|
124
|
+
cause = record.cause;
|
|
125
|
+
}
|
|
126
|
+
switch (classifyNetworkFailure(error)) {
|
|
127
|
+
case "network_dns_resolution_failed":
|
|
128
|
+
return "dns";
|
|
129
|
+
case "network_ssl_error":
|
|
130
|
+
return "tls";
|
|
131
|
+
case "network_connection_reset":
|
|
132
|
+
return "reset";
|
|
133
|
+
case "network_timeout":
|
|
134
|
+
return "timeout";
|
|
135
|
+
default:
|
|
136
|
+
return "unknown";
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
function isNetworkFailure(error) {
|
|
140
|
+
if (!(error instanceof Error)) return false;
|
|
141
|
+
if (error instanceof DeeplineError && error.statusCode) return false;
|
|
142
|
+
const code = classifyNetworkFailure(error);
|
|
143
|
+
return code !== "network_error" || /unable to connect|unable to stream/i.test(error.message);
|
|
144
|
+
}
|
|
145
|
+
function buildEnvironmentContext() {
|
|
146
|
+
const context = {
|
|
147
|
+
os: platform(),
|
|
148
|
+
os_release: release(),
|
|
149
|
+
platform: `${platform()}-${release()}-${process.arch}`,
|
|
150
|
+
node_version: process.version,
|
|
151
|
+
runtime: "Node.js",
|
|
152
|
+
hostname: hostname(),
|
|
153
|
+
agent_runtime: detectAgentRuntime()
|
|
154
|
+
};
|
|
155
|
+
for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
|
|
156
|
+
const normalized = process.env[key]?.trim();
|
|
157
|
+
if (normalized) context[key.toLowerCase()] = normalized;
|
|
158
|
+
}
|
|
159
|
+
if (process.env.CLAUDE_PROJECT_DIR?.trim()) {
|
|
160
|
+
context.claude_project_dir_present = "true";
|
|
161
|
+
}
|
|
162
|
+
if (process.env.DEEPLINE_PLUGIN_ROOT?.trim()) {
|
|
163
|
+
context.deepline_plugin_root_present = "true";
|
|
164
|
+
}
|
|
165
|
+
if (process.env.DEEPLINE_PLUGIN_SKILLS_DIR?.trim()) {
|
|
166
|
+
context.deepline_plugin_skills_dir_present = "true";
|
|
167
|
+
}
|
|
168
|
+
if (process.env.HOME?.trim().startsWith("/sessions/")) {
|
|
169
|
+
context.home_scope = "sessions";
|
|
170
|
+
}
|
|
171
|
+
return context;
|
|
172
|
+
}
|
|
173
|
+
function failureReportHeaders(apiKey) {
|
|
174
|
+
const agentSessionId = agentSessionIdFromEnvironment();
|
|
175
|
+
return {
|
|
176
|
+
...deploymentProtectionHeaders(),
|
|
177
|
+
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
|
|
178
|
+
Authorization: `Bearer ${apiKey}`,
|
|
179
|
+
"Content-Type": "application/json",
|
|
180
|
+
"User-Agent": `deepline-ts-sdk/${SDK_VERSION}`,
|
|
181
|
+
"X-Deepline-Client-Family": "sdk",
|
|
182
|
+
"X-Deepline-CLI-Family": "sdk",
|
|
183
|
+
"X-Deepline-Agent-Runtime": detectAgentRuntime(),
|
|
184
|
+
"X-Deepline-CLI-Version": SDK_VERSION,
|
|
185
|
+
"X-Deepline-SDK-Version": SDK_VERSION
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
async function postFailureReport(input) {
|
|
189
|
+
const controller = new AbortController();
|
|
190
|
+
const timeout = setTimeout(() => controller.abort(), input.timeoutMs);
|
|
191
|
+
if (input.background) timeout.unref();
|
|
192
|
+
try {
|
|
193
|
+
await fetch(new URL("/api/v2/cli/report-failure", input.baseUrl), {
|
|
194
|
+
method: "POST",
|
|
195
|
+
headers: failureReportHeaders(input.apiKey),
|
|
196
|
+
body: JSON.stringify(input.body),
|
|
197
|
+
signal: controller.signal
|
|
198
|
+
});
|
|
199
|
+
return true;
|
|
200
|
+
} catch {
|
|
201
|
+
return false;
|
|
202
|
+
} finally {
|
|
203
|
+
clearTimeout(timeout);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
function boundedTelemetryString(value, maxChars) {
|
|
207
|
+
return redactFailureText(value.trim(), maxChars);
|
|
208
|
+
}
|
|
209
|
+
async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
210
|
+
if (isFailureReportingDisabled()) return false;
|
|
211
|
+
let apiKey = "";
|
|
212
|
+
try {
|
|
213
|
+
apiKey = resolveApiKeyForBaseUrl(input.baseUrl);
|
|
214
|
+
} catch {
|
|
215
|
+
return false;
|
|
216
|
+
}
|
|
217
|
+
if (!apiKey) return false;
|
|
218
|
+
const attempts = input.attempts.slice(0, 2).map((attempt) => ({
|
|
219
|
+
installer: attempt.installer,
|
|
220
|
+
outcome: attempt.outcome,
|
|
221
|
+
exit_code: typeof attempt.exitCode === "number" && Number.isFinite(attempt.exitCode) ? Math.trunc(attempt.exitCode) : null
|
|
222
|
+
}));
|
|
223
|
+
const agents = input.agents.slice(0, 8).map((agent) => boundedTelemetryString(agent, 100)).filter(Boolean);
|
|
224
|
+
const baseUrl = input.baseUrl.replace(/\/$/, "");
|
|
225
|
+
const failureKind = "background_warning";
|
|
226
|
+
const failureCode2 = "SKILLS_AUTO_SYNC_FAILED";
|
|
227
|
+
const failureStage = "skills_install";
|
|
228
|
+
return postFailureReport({
|
|
229
|
+
baseUrl,
|
|
230
|
+
apiKey,
|
|
231
|
+
timeoutMs: BACKGROUND_REPORT_FAILURE_TIMEOUT_MS,
|
|
232
|
+
background: true,
|
|
233
|
+
body: {
|
|
234
|
+
command: "deepline skills",
|
|
235
|
+
subcommand: "skills",
|
|
236
|
+
failure_kind: failureKind,
|
|
237
|
+
failure_code: failureCode2,
|
|
238
|
+
failure_stage: failureStage,
|
|
239
|
+
error_body: "Automatic Deepline skills installation failed.",
|
|
240
|
+
cli_version: SDK_VERSION,
|
|
241
|
+
context: {
|
|
242
|
+
environment: buildEnvironmentContext(),
|
|
243
|
+
skills_sync: {
|
|
244
|
+
skills_package: boundedTelemetryString(input.skillsPackage, 100),
|
|
245
|
+
remote_skills_version: boundedTelemetryString(
|
|
246
|
+
input.remoteSkillsVersion,
|
|
247
|
+
200
|
|
248
|
+
),
|
|
249
|
+
agents,
|
|
250
|
+
target_skill_count: Math.max(
|
|
251
|
+
0,
|
|
252
|
+
Math.trunc(
|
|
253
|
+
Number.isFinite(input.targetSkillCount) ? input.targetSkillCount : 0
|
|
254
|
+
)
|
|
255
|
+
),
|
|
256
|
+
marker_written: input.markerWritten,
|
|
257
|
+
attempts
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
function subcommandFromArgv(argv) {
|
|
264
|
+
return argv.find((arg) => arg && !arg.startsWith("-")) ?? null;
|
|
265
|
+
}
|
|
266
|
+
function commandTokens(argv) {
|
|
267
|
+
return argv.map((arg) => String(arg ?? "").trim()).filter((arg) => arg && !arg.startsWith("-"));
|
|
268
|
+
}
|
|
269
|
+
function isServerLoggedPlayRunStartFailure(input) {
|
|
270
|
+
const [subcommand, command] = commandTokens(input.argv);
|
|
271
|
+
return subcommand === "plays" && command === "run" && input.error instanceof DeeplineError && typeof input.error.statusCode === "number";
|
|
272
|
+
}
|
|
273
|
+
function shouldReport(input) {
|
|
274
|
+
if (input.error !== void 0) return true;
|
|
275
|
+
return input.exitCode !== null && REPORTABLE_EXIT_CODES.has(input.exitCode);
|
|
276
|
+
}
|
|
277
|
+
function failureCode(input) {
|
|
278
|
+
if (input.error !== void 0) {
|
|
279
|
+
if (isNetworkFailure(input.error))
|
|
280
|
+
return classifyNetworkFailure(input.error);
|
|
281
|
+
if (input.error instanceof DeeplineError && input.error.code) {
|
|
282
|
+
return input.error.code;
|
|
283
|
+
}
|
|
284
|
+
if (input.error instanceof Error && input.error.name)
|
|
285
|
+
return input.error.name;
|
|
286
|
+
return "CLI_FAILURE";
|
|
287
|
+
}
|
|
288
|
+
return input.exitCode === 4 ? "network_error" : "command_exit";
|
|
289
|
+
}
|
|
290
|
+
function resolvedExitCode(input) {
|
|
291
|
+
if (typeof input.exitCode === "number" && Number.isFinite(input.exitCode)) {
|
|
292
|
+
return Math.trunc(input.exitCode);
|
|
293
|
+
}
|
|
294
|
+
if (input.error === void 0) return null;
|
|
295
|
+
return isNetworkFailure(input.error) ? 4 : 5;
|
|
296
|
+
}
|
|
297
|
+
function resolveSdkCliFailureExitCode(error) {
|
|
298
|
+
return isNetworkFailure(error) ? 4 : 1;
|
|
299
|
+
}
|
|
300
|
+
function resolvedFailureKind(input) {
|
|
301
|
+
return input.error === void 0 ? "command_exit" : "uncaught_exception";
|
|
302
|
+
}
|
|
303
|
+
function safeRequestDiagnostics(error) {
|
|
304
|
+
if (!(error instanceof DeeplineError)) return null;
|
|
305
|
+
const request = error.details?.request;
|
|
306
|
+
if (!request || typeof request !== "object" || Array.isArray(request))
|
|
307
|
+
return null;
|
|
308
|
+
const value = request;
|
|
309
|
+
const result = {};
|
|
310
|
+
if (typeof value.phase === "string" && [
|
|
311
|
+
"before_request",
|
|
312
|
+
"retry_wait",
|
|
313
|
+
"awaiting_headers",
|
|
314
|
+
"reading_body"
|
|
315
|
+
].includes(value.phase))
|
|
316
|
+
result.phase = value.phase;
|
|
317
|
+
if (typeof value.method === "string" && /^(GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS)$/.test(value.method))
|
|
318
|
+
result.method = value.method;
|
|
319
|
+
if (typeof value.url === "string") {
|
|
320
|
+
try {
|
|
321
|
+
const url = new URL(value.url);
|
|
322
|
+
if (url.protocol === "https:" || url.protocol === "http:") {
|
|
323
|
+
result.url = redactFailureText(`${url.origin}${url.pathname}`, 1e3);
|
|
324
|
+
}
|
|
325
|
+
} catch {
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
if (typeof value.failedAtUtc === "string" && Number.isFinite(Date.parse(value.failedAtUtc))) {
|
|
329
|
+
result.failedAtUtc = new Date(value.failedAtUtc).toISOString();
|
|
330
|
+
}
|
|
331
|
+
for (const key of ["elapsedMs", "attempts"]) {
|
|
332
|
+
const number = value[key];
|
|
333
|
+
if (typeof number === "number" && Number.isSafeInteger(number) && number >= 0)
|
|
334
|
+
result[key] = number;
|
|
335
|
+
}
|
|
336
|
+
return Object.keys(result).length > 0 ? result : null;
|
|
337
|
+
}
|
|
338
|
+
function buildFailureReport(input) {
|
|
339
|
+
const durationMs = Math.max(0, Date.now() - input.startedAtMs);
|
|
340
|
+
const request = safeRequestDiagnostics(input.error);
|
|
341
|
+
const failureKind = resolvedFailureKind({
|
|
342
|
+
exitCode: input.exitCode,
|
|
343
|
+
error: input.error
|
|
344
|
+
});
|
|
345
|
+
const code = failureCode({ exitCode: input.exitCode, error: input.error });
|
|
346
|
+
const errorBody = input.error === void 0 ? `SDK CLI command exited ${input.exitCode ?? "unknown"}` : errorMessage(input.error);
|
|
347
|
+
const networkCauseCategory = input.error !== void 0 && isNetworkFailure(input.error) ? classifyNetworkCauseCategory(input.error) : null;
|
|
348
|
+
return {
|
|
349
|
+
command: sanitizeCommand(input.argv),
|
|
350
|
+
subcommand: subcommandFromArgv(input.argv),
|
|
351
|
+
error_status: input.exitCode,
|
|
352
|
+
error_body: redactFailureText(errorBody),
|
|
353
|
+
exit_code: input.exitCode,
|
|
354
|
+
duration_ms: durationMs,
|
|
355
|
+
error_class: input.error instanceof Error ? input.error.name : null,
|
|
356
|
+
stack_trace: errorStack(input.error),
|
|
357
|
+
failure_kind: failureKind,
|
|
358
|
+
failure_code: code,
|
|
359
|
+
failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
|
|
360
|
+
cli_version: SDK_VERSION,
|
|
361
|
+
context: {
|
|
362
|
+
base_url: redactFailureText(input.baseUrl, 400),
|
|
363
|
+
command_summary: sanitizeCommand(input.argv),
|
|
364
|
+
environment: buildEnvironmentContext(),
|
|
365
|
+
...request ? { request } : {},
|
|
366
|
+
failure_kind: failureKind,
|
|
367
|
+
failure_code: code,
|
|
368
|
+
failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
|
|
369
|
+
duration_ms: durationMs,
|
|
370
|
+
...input.exitCode !== null ? { exit_code: input.exitCode } : {},
|
|
371
|
+
...networkCauseCategory ? { network_cause_category: networkCauseCategory } : {}
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
async function maybeReportSdkCliFailure(input) {
|
|
376
|
+
if (isFailureReportingDisabled()) return false;
|
|
377
|
+
if (isServerLoggedPlayRunStartFailure(input)) return false;
|
|
378
|
+
const exitCode = resolvedExitCode(input);
|
|
379
|
+
if (!shouldReport({ exitCode, error: input.error })) return false;
|
|
380
|
+
const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
|
|
381
|
+
const apiKey = resolveApiKeyForBaseUrl(baseUrl);
|
|
382
|
+
if (!apiKey) return false;
|
|
383
|
+
return postFailureReport({
|
|
384
|
+
baseUrl,
|
|
385
|
+
apiKey,
|
|
386
|
+
timeoutMs: REPORT_FAILURE_TIMEOUT_MS,
|
|
387
|
+
body: buildFailureReport({
|
|
388
|
+
argv: input.argv,
|
|
389
|
+
startedAtMs: input.startedAtMs,
|
|
390
|
+
error: input.error,
|
|
391
|
+
exitCode,
|
|
392
|
+
baseUrl
|
|
393
|
+
})
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export {
|
|
398
|
+
isFailureReportingDisabled,
|
|
399
|
+
redactFailureText,
|
|
400
|
+
sanitizeCommand,
|
|
401
|
+
failureReportHeaders,
|
|
402
|
+
maybeReportAutomaticSkillsSyncFailure,
|
|
403
|
+
resolveSdkCliFailureExitCode,
|
|
404
|
+
maybeReportSdkCliFailure
|
|
405
|
+
};
|
|
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
16
16
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk2OY5DXTCjs = require('./chunk-2OY5DXTC.js');
|
|
20
20
|
|
|
21
21
|
// src/version.ts
|
|
22
|
-
var SDK_VERSION =
|
|
23
|
-
var SDK_API_MAJOR =
|
|
24
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
22
|
+
var SDK_VERSION = _chunk2OY5DXTCjs.SDK_RELEASE.version;
|
|
23
|
+
var SDK_API_MAJOR = _chunk2OY5DXTCjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
24
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunk2OY5DXTCjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
25
25
|
|
|
26
26
|
// src/agent-runtime.ts
|
|
27
27
|
var _os = require('os');
|
|
@@ -323,7 +323,8 @@ Cost:
|
|
|
323
323
|
Purpose:
|
|
324
324
|
Show Play runtime pricing, included compute, and usage.
|
|
325
325
|
Output:
|
|
326
|
-
|
|
326
|
+
Your runtime price, allowance used, paid overage, and reset date.
|
|
327
|
+
Usage is shown in standard sandbox minutes at your current rate and in credits.
|
|
327
328
|
${PLAY_RUNTIME_PRICING_NOTE}
|
|
328
329
|
Cost:
|
|
329
330
|
Free to check.
|
|
@@ -402,26 +403,40 @@ Purpose:
|
|
|
402
403
|
When:
|
|
403
404
|
First, whenever you do not already know what to run.
|
|
404
405
|
Input:
|
|
405
|
-
|
|
406
|
-
|
|
406
|
+
Search for one capability at a time.
|
|
407
|
+
Include the input fields, the result you need, and requirements.
|
|
408
|
+
Leave out customer data like names and domains, and export details like filenames.
|
|
409
|
+
For a workflow with distinct steps, search for each step separately.
|
|
410
|
+
[[cli:
|
|
411
|
+
To run multiple searches in one command, quote each query separately.
|
|
412
|
+
Each argument is ranked independently and gets its own results section.
|
|
413
|
+
Filters, --limit, and --offset apply to each query.
|
|
414
|
+
]]
|
|
407
415
|
Examples:
|
|
408
416
|
[[cli:
|
|
417
|
+
deepline search "business address -> company domain" "name and company domain -> work email"
|
|
409
418
|
deepline search "first name, last name and company domain -> verified work email"
|
|
410
|
-
deepline search "
|
|
411
|
-
deepline search "company domain ->
|
|
419
|
+
deepline search "company domains -> shop management software they use"
|
|
420
|
+
deepline search "company domain -> employees by job title and office location" --type plays
|
|
412
421
|
deepline search "upload a contact list as a Meta ads audience"
|
|
413
422
|
deepline search "how do webhooks trigger a play" --type docs
|
|
414
423
|
]]
|
|
415
424
|
[[mcp:
|
|
416
425
|
query "first name, last name and company domain -> verified work email"
|
|
417
|
-
query "
|
|
418
|
-
query "company domain ->
|
|
426
|
+
query "company domains -> shop management software they use"
|
|
427
|
+
query "company domain -> employees by job title and office location"
|
|
419
428
|
query "upload a contact list as a Meta ads audience"
|
|
420
429
|
]]
|
|
421
430
|
Output:
|
|
422
431
|
A ranked list. Each result has an id, its kind, what it does, and its price.
|
|
423
432
|
Tools that need a provider connection are flagged. Describe the tool to
|
|
424
433
|
see how to connect it.
|
|
434
|
+
When search suggests a rewrite, retry with the core task in a shorter query.
|
|
435
|
+
[[cli:
|
|
436
|
+
Multiple queries print one section per query in argument order. With --json,
|
|
437
|
+
read searches[] for each query's results or error. A failed query returns
|
|
438
|
+
a nonzero exit code and successful queries still appear.
|
|
439
|
+
]]
|
|
425
440
|
Cost:
|
|
426
441
|
Free.
|
|
427
442
|
Next:
|
|
@@ -2021,6 +2036,26 @@ Cost:
|
|
|
2021
2036
|
Avoid:
|
|
2022
2037
|
Without --dry-run it replaces skill files; in a sandbox or a task that said
|
|
2023
2038
|
not to change skills, use [[--dry-run]].
|
|
2039
|
+
`
|
|
2040
|
+
},
|
|
2041
|
+
"settings skills-sync": {
|
|
2042
|
+
core: `
|
|
2043
|
+
Purpose:
|
|
2044
|
+
Show or change this machine's saved automatic skill sync setting.
|
|
2045
|
+
Input:
|
|
2046
|
+
Omit the mode to check it. Pass off to disable syncing or on to enable it.
|
|
2047
|
+
--dry-run shows the requested setting without saving it.
|
|
2048
|
+
Examples:
|
|
2049
|
+
deepline settings skills-sync
|
|
2050
|
+
deepline settings skills-sync off
|
|
2051
|
+
deepline settings skills-sync on
|
|
2052
|
+
Output (JSON with --json):
|
|
2053
|
+
autoSkillsSyncEnabled is the saved or requested value. Dry runs include dryRun.
|
|
2054
|
+
Cost:
|
|
2055
|
+
Free. Changes write a local preference.
|
|
2056
|
+
Notes:
|
|
2057
|
+
DEEPLINE_SKIP_SKILLS_SYNC and --maintenance off still skip automatic sync.
|
|
2058
|
+
Explicit deepline skills install remains available.
|
|
2024
2059
|
`
|
|
2025
2060
|
},
|
|
2026
2061
|
update: {
|