deepline 0.3.503 → 0.3.505
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/sdk/src/types.ts +5 -0
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +35 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-public-aliases.ts +13 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +144 -7
- 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-IC4WLSE3.mjs → auth-AHE2EDQA.mjs} +5 -5
- package/dist/cli/auth-SEPKNRHV.js +43 -0
- package/dist/cli/{billing-2VOV64SD.mjs → billing-7CPWTGGI.mjs} +19 -12
- package/dist/cli/{billing-LWQOII22.js → billing-JOIZPHON.js} +92 -85
- package/dist/cli/{chunk-33JUK73X.js → chunk-3YEOOXD4.js} +96 -37
- package/dist/cli/{chunk-FVDTERO2.js → chunk-45XYW477.js} +21 -21
- package/dist/cli/{chunk-5GI6NKOE.mjs → chunk-4OFSAZN6.mjs} +1 -1
- package/dist/cli/{chunk-D27HP3HS.mjs → chunk-52FPW2RD.mjs} +2 -2
- package/dist/cli/chunk-5LUF4LAR.mjs +209 -0
- package/dist/cli/{chunk-VC5B462T.mjs → chunk-5XT4DZQL.mjs} +2 -2
- package/dist/cli/{chunk-26RSSTCF.js → chunk-6FEN6VWZ.js} +26 -26
- package/dist/cli/{chunk-7HEDCIR3.mjs → chunk-6U3AGJWI.mjs} +1 -1
- package/dist/cli/{chunk-KPBBT6OS.mjs → chunk-7AD565DO.mjs} +1 -1
- package/dist/cli/{chunk-FZHOWPSN.js → chunk-7DDACLMX.js} +16 -16
- package/dist/cli/{chunk-ZEQPCEV4.mjs → chunk-7DDKLFOY.mjs} +3 -3
- package/dist/cli/{chunk-WHP3FJ7T.js → chunk-7QLK2GHL.js} +5 -5
- package/dist/cli/{chunk-BI2Q45SY.mjs → chunk-ACI6CUDX.mjs} +11 -401
- package/dist/cli/{chunk-C5RQTTLP.js → chunk-BWAYMJ23.js} +7 -7
- package/dist/cli/{chunk-YXGPMTAK.js → chunk-CA3SYXCS.js} +2 -2
- package/dist/cli/{chunk-J6RBOLK7.mjs → chunk-CSLLQWAB.mjs} +1 -1
- package/dist/cli/{chunk-F73PD2XD.js → chunk-EMUFF6EU.js} +7 -7
- package/dist/cli/chunk-FIQ5UEIF.mjs +405 -0
- package/dist/cli/{chunk-2626LTU3.js → chunk-GAUNJCXQ.js} +96 -96
- package/dist/cli/{chunk-A2C6ONWA.js → chunk-GXMNOUHP.js} +6 -6
- package/dist/cli/{chunk-MJQOG4TZ.js → chunk-HASFFOSU.js} +16 -16
- package/dist/cli/{chunk-TCQYWZFS.js → chunk-IDAE5VDH.js} +5 -5
- package/dist/cli/{chunk-JJVN7OIX.mjs → chunk-IZYOYXG7.mjs} +4 -4
- package/dist/cli/{chunk-FHJ54BHH.mjs → chunk-JA7YBRP4.mjs} +1 -1
- package/dist/cli/{chunk-HRTDCXHI.js → chunk-JSTKLYYD.js} +2 -2
- package/dist/cli/{chunk-5M5WSFRZ.mjs → chunk-JVKEZT7L.mjs} +48 -8
- package/dist/cli/{chunk-4IIYSBEP.js → chunk-K26YOPDO.js} +50 -10
- package/dist/cli/{chunk-2K2QBLYO.js → chunk-LC4FG34E.js} +53 -53
- package/dist/cli/{chunk-XYZZZLN6.mjs → chunk-MAFZ64RN.mjs} +2 -2
- package/dist/cli/{chunk-B3X4YWQ6.js → chunk-MHZAG2ZQ.js} +80 -470
- package/dist/cli/{chunk-DPI5OYVU.mjs → chunk-NARJWXBR.mjs} +2 -2
- package/dist/cli/{chunk-GLZBFBJS.mjs → chunk-OA6U5NVB.mjs} +5 -5
- package/dist/cli/{chunk-URZNSJE2.mjs → chunk-OMEDQ77C.mjs} +93 -34
- package/dist/cli/{chunk-QIEYEY6Z.js → chunk-OORPAQVC.js} +8 -8
- package/dist/cli/{chunk-WS274KID.mjs → chunk-PDLOPF5L.mjs} +1 -1
- package/dist/cli/{chunk-KGLVATEB.mjs → chunk-PZN24YQQ.mjs} +2 -2
- package/dist/cli/{chunk-GIHNEYBG.mjs → chunk-QGNNAZ5M.mjs} +1 -1
- package/dist/cli/chunk-QYGYVCRI.js +405 -0
- package/dist/cli/chunk-R7J7CJPZ.js +209 -0
- package/dist/cli/{chunk-6XTE6C3W.mjs → chunk-RT3HJBIH.mjs} +12 -12
- package/dist/cli/{chunk-L3TZV625.mjs → chunk-SHKRL7CW.mjs} +1 -1
- package/dist/cli/{chunk-FIUTDSJX.js → chunk-SPN7U3MV.js} +4 -4
- package/dist/cli/{chunk-EQ3WMKFY.mjs → chunk-UZ24SF7N.mjs} +5 -5
- package/dist/cli/{chunk-AARF4SOW.js → chunk-VXKWF3AD.js} +9 -9
- package/dist/cli/{chunk-JPDD4Y53.mjs → chunk-W6I4N4JN.mjs} +6 -6
- package/dist/cli/{chunk-PVA3MWCO.js → chunk-WPCF7C6B.js} +3 -3
- package/dist/cli/{chunk-3CXHK4TW.js → chunk-WTQLUULB.js} +6 -6
- package/dist/cli/{chunk-EDMV4JT5.mjs → chunk-WTUC5VKB.mjs} +2 -2
- package/dist/cli/{chunk-IIP46RVC.js → chunk-XHPB6RGY.js} +1 -1
- package/dist/cli/{chunk-RVOBFO7C.js → chunk-Y52XY56V.js} +41 -41
- package/dist/cli/{chunk-K7NFFQFU.mjs → chunk-YBIVVAL7.mjs} +2 -2
- package/dist/cli/{chunk-HS63YBT5.js → chunk-ZLN2B5YA.js} +3 -3
- package/dist/cli/command-docs.d.mts +2 -1
- package/dist/cli/command-docs.d.ts +2 -1
- package/dist/cli/command-docs.js +6 -2
- package/dist/cli/command-docs.mjs +5 -1
- package/dist/cli/{csv-NEWCNOSZ.js → csv-DZHVIW3G.js} +13 -13
- package/dist/cli/{csv-2TXOI3UE.mjs → csv-WTPI6ZON.mjs} +4 -4
- package/dist/cli/{db-J3IJS4OG.js → db-D7LPPNCC.js} +27 -27
- package/dist/cli/{db-PX7EQEIG.mjs → db-NR4PJ6AF.mjs} +6 -6
- package/dist/cli/describe-HVQBTKFM.js +50 -0
- package/dist/cli/{describe-GQHGTZSL.mjs → describe-NCKAJPUG.mjs} +18 -17
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-FFKK24RY.mjs → executions-RQVJ4LAB.mjs} +6 -6
- package/dist/cli/{executions-RO3TJUXL.js → executions-UQG6LWEN.js} +8 -8
- package/dist/cli/{feedback-ZTO56SRL.mjs → feedback-RD4Y3YQR.mjs} +4 -4
- package/dist/cli/{feedback-XRR4HIS6.js → feedback-TCHA67IA.js} +8 -8
- package/dist/cli/git-TUB2ZUEH.js +25 -0
- package/dist/cli/{git-FIPBVFYZ.mjs → git-Z7434B7Y.mjs} +5 -5
- package/dist/cli/index.js +145 -141
- package/dist/cli/index.mjs +51 -47
- package/dist/cli/{legacy-noops-MTBBGM27.js → legacy-noops-23WRA7DH.js} +8 -8
- package/dist/cli/{legacy-noops-AMD2NWHF.mjs → legacy-noops-LQJU4UIV.mjs} +5 -5
- package/dist/cli/{monitors-42PIGLBF.js → monitors-KOWN7M3V.js} +95 -95
- package/dist/cli/{monitors-24LDKDJX.mjs → monitors-Z6VYUZ2W.mjs} +7 -7
- package/dist/cli/{org-GQMCA3MN.js → org-2T5K2VP5.js} +72 -72
- package/dist/cli/{org-4B7SCFRL.mjs → org-UBNRO5XO.mjs} +6 -6
- package/dist/cli/{pages-PD5EGL2R.mjs → pages-GHPJBVV3.mjs} +6 -6
- package/dist/cli/{pages-RL2M62GJ.js → pages-SRXTU7XO.js} +18 -18
- package/dist/cli/{play-FST6ZAHW.js → play-2HMZ57EZ.js} +324 -517
- package/dist/cli/{play-5V54VTUR.mjs → play-HRQKGTXA.mjs} +24 -217
- package/dist/cli/{providers-N5YVCKPL.mjs → providers-JWJRFRR5.mjs} +6 -6
- package/dist/cli/{providers-HBUUPN7J.js → providers-P5O676MZ.js} +9 -9
- package/dist/cli/{quickstart-NJDDVTQR.mjs → quickstart-S7NZUQRO.mjs} +4 -4
- package/dist/cli/{quickstart-4QIQNSHG.js → quickstart-YCY72TAO.js} +6 -6
- package/dist/cli/{run-FGOKCG4J.js → run-MHLLGF4G.js} +41 -40
- package/dist/cli/{run-JHI5MTHD.mjs → run-QWMRIUIU.mjs} +23 -22
- package/dist/cli/{search-EWIZBIY2.mjs → search-4BFTQUEP.mjs} +8 -7
- package/dist/cli/search-QPUHOEIL.js +33 -0
- package/dist/cli/{search-output-TMQTRC2W.js → search-output-62LBVZHN.js} +6 -6
- package/dist/cli/{search-output-NAK3MWBH.mjs → search-output-LIYHDTBP.mjs} +4 -4
- package/dist/cli/{secrets-ONQVW5SR.mjs → secrets-GW27V77E.mjs} +6 -6
- package/dist/cli/{secrets-5TSUEOJB.js → secrets-KKKHVSOO.js} +15 -15
- package/dist/cli/{sessions-BSGE5EET.js → sessions-R3OEINAR.js} +6 -6
- package/dist/cli/{sessions-B7F5O3ZR.mjs → sessions-R75LBGIL.mjs} +5 -5
- package/dist/cli/{settings-SGGFQV5R.mjs → settings-I3AQZSYG.mjs} +12 -11
- package/dist/cli/{settings-47LARBRU.js → settings-MQIHAEZN.js} +79 -78
- package/dist/cli/{setup-ATGNXQUK.mjs → setup-2YA5MYMS.mjs} +10 -9
- package/dist/cli/{setup-BNFZFXO6.js → setup-X3QRJERP.js} +50 -49
- package/dist/cli/{skills-CIMBRM5R.mjs → skills-7252FOOI.mjs} +8 -7
- package/dist/cli/skills-BPZWMZSL.js +37 -0
- package/dist/cli/tools-F7RVQ3IK.js +57 -0
- package/dist/cli/{tools-DTDXAULX.mjs → tools-SKQTSVGE.mjs} +17 -16
- package/dist/cli/{update-EOIJBJCO.mjs → update-GNBBSKTB.mjs} +10 -9
- package/dist/cli/update-TLSY6LC2.js +35 -0
- package/dist/cli/{workflow-IWXUJPWY.mjs → workflow-OJSAL5FO.mjs} +7 -7
- package/dist/cli/{workflow-V5VKPICQ.js → workflow-QB7YYWPP.js} +17 -17
- package/dist/{client-CIwenMFS.d.ts → client-B3GSaSFn.d.ts} +1 -1
- package/dist/{client-DYAfJpaN.d.mts → client-DEJg0CZn.d.mts} +1 -1
- package/dist/{client-core-DlzP8vEs.d.mts → client-core-C404E33V.d.mts} +5 -0
- package/dist/{client-core-CRjtyMAI.d.ts → client-core-GQmy3N8y.d.ts} +5 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +109 -104
- package/dist/plays/bundle-play-file.mjs +4 -4
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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 +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-ZCMSXZO4.js +0 -43
- package/dist/cli/describe-LE7EZCL4.js +0 -49
- package/dist/cli/git-26AH4XIO.js +0 -25
- package/dist/cli/search-CTKSEVSO.js +0 -32
- package/dist/cli/skills-6RD25MVM.js +0 -36
- package/dist/cli/tools-TDZH4XHS.js +0 -56
- package/dist/cli/update-Y32VT4VL.js +0 -34
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkCA3SYXCSjs = require('./chunk-CA3SYXCS.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
|
|
|
18
18
|
}
|
|
19
19
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
|
|
20
20
|
_optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
|
|
21
|
-
if (maintenancePolicy !== "off")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunkMHZAG2ZQjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkCA3SYXCSjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkMHZAG2ZQjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
|
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
32
|
if (compatibility.error) throw compatibility.error;
|
|
33
|
-
|
|
33
|
+
_chunkMHZAG2ZQjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
34
34
|
quietAdvisory: true
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJSTKLYYDjs = require('./chunk-JSTKLYYD.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkY52XY56Vjs = require('./chunk-Y52XY56V.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/update.ts
|
|
19
19
|
var _child_process = require('child_process');
|
|
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
|
|
|
495
495
|
}
|
|
496
496
|
function resolveNpmGlobalPrefix(env) {
|
|
497
497
|
try {
|
|
498
|
-
const plan =
|
|
498
|
+
const plan = _chunkMHZAG2ZQjs.resolveShellSpawn.call(void 0,
|
|
499
499
|
"npm",
|
|
500
500
|
["prefix", "-g"],
|
|
501
501
|
process.platform,
|
|
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
|
|
|
556
556
|
const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
|
|
557
557
|
const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
|
|
558
558
|
const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
|
|
559
|
-
const npmVersion = options.npmVersion === void 0 ?
|
|
560
|
-
const npmGlobalInstallFlags =
|
|
559
|
+
const npmVersion = options.npmVersion === void 0 ? _chunkJSTKLYYDjs.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
560
|
+
const npmGlobalInstallFlags = _chunkJSTKLYYDjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
|
|
561
561
|
const args = installPrefix ? [
|
|
562
562
|
"install",
|
|
563
563
|
"-g",
|
|
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
|
|
|
567
567
|
packageSpec
|
|
568
568
|
] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
|
|
569
569
|
const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
|
|
570
|
-
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) ||
|
|
570
|
+
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, )
|
|
571
571
|
);
|
|
572
572
|
return {
|
|
573
573
|
kind: "npm-global",
|
|
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
|
|
|
816
816
|
function runCommand(command, args, env = process.env) {
|
|
817
817
|
return new Promise((resolveResult) => {
|
|
818
818
|
let output = "";
|
|
819
|
-
const plan =
|
|
819
|
+
const plan = _chunkMHZAG2ZQjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
|
|
820
820
|
const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
|
|
821
821
|
stdio: ["inherit", "pipe", "pipe"],
|
|
822
822
|
shell: plan.shell,
|
|
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
|
|
|
1199
1199
|
throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
|
|
1200
1200
|
}
|
|
1201
1201
|
async function runUpdateCommand(options, dependencies = {}) {
|
|
1202
|
-
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => (
|
|
1202
|
+
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkZLN2B5YAjs.autoDetectBaseUrl));
|
|
1203
1203
|
const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
|
|
1204
1204
|
const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
|
|
1205
1205
|
const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
|
|
1206
1206
|
const originalWrite = process.stdout.write.bind(process.stdout);
|
|
1207
1207
|
process.stdout.write = (() => true);
|
|
1208
1208
|
try {
|
|
1209
|
-
const exitCode = await
|
|
1209
|
+
const exitCode = await _chunkY52XY56Vjs.runSkillsCommand.call(void 0, { json: true });
|
|
1210
1210
|
if (exitCode !== 0) {
|
|
1211
1211
|
throw new Error(
|
|
1212
1212
|
`Deepline skills update failed with exit ${exitCode}.`
|
|
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1277
1277
|
]
|
|
1278
1278
|
};
|
|
1279
1279
|
if (options.json && !options.executeWithJson) {
|
|
1280
|
-
|
|
1280
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
|
|
1281
1281
|
return 0;
|
|
1282
1282
|
}
|
|
1283
1283
|
if (options.printCommand) {
|
|
1284
|
-
|
|
1284
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
|
|
1285
1285
|
{
|
|
1286
1286
|
...plan,
|
|
1287
1287
|
render: {
|
|
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1294
1294
|
return 0;
|
|
1295
1295
|
}
|
|
1296
1296
|
if (plan.kind === "source" || plan.kind === "homebrew") {
|
|
1297
|
-
|
|
1297
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
|
|
1298
1298
|
return 0;
|
|
1299
1299
|
}
|
|
1300
1300
|
stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
|
|
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
|
|
|
1324
1324
|
);
|
|
1325
1325
|
}
|
|
1326
1326
|
if (options.executeWithJson && options.json) {
|
|
1327
|
-
|
|
1327
|
+
_chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
|
|
1328
1328
|
{
|
|
1329
1329
|
ok: true,
|
|
1330
1330
|
pinnedVersion
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkBWAYMJ23js = require('./chunk-BWAYMJ23.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkBWAYMJ23js.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunkZLN2B5YAjs.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunkZLN2B5YAjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ACI6CUDX.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PZN24YQQ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SHKRL7CW.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7AD565DO.mjs";
|
|
28
28
|
import {
|
|
29
29
|
DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
|
|
30
30
|
} from "./chunk-5JPKRDFC.mjs";
|
|
@@ -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 _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.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 = _chunkMHZAG2ZQjs.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,
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS
|
|
3
|
+
} from "./chunk-5LUF4LAR.mjs";
|
|
4
|
+
|
|
1
5
|
// src/cli/command-docs.ts
|
|
6
|
+
var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
|
|
2
7
|
var CONVENTIONS = `
|
|
3
8
|
[[cli:
|
|
4
9
|
Conventions (apply to every command):
|
|
@@ -311,6 +316,23 @@ Output:
|
|
|
311
316
|
]]
|
|
312
317
|
Cost:
|
|
313
318
|
Free.
|
|
319
|
+
`
|
|
320
|
+
},
|
|
321
|
+
"billing compute": {
|
|
322
|
+
core: `
|
|
323
|
+
Purpose:
|
|
324
|
+
Show Play runtime pricing, included compute, and usage.
|
|
325
|
+
Output:
|
|
326
|
+
The workspace pricing status, included compute, and runtime used.
|
|
327
|
+
${PLAY_RUNTIME_PRICING_NOTE}
|
|
328
|
+
Cost:
|
|
329
|
+
Free to check.
|
|
330
|
+
[[cli:
|
|
331
|
+
--enable switches the workspace to included compute pricing.
|
|
332
|
+
Examples:
|
|
333
|
+
deepline billing compute --json
|
|
334
|
+
deepline billing quote --sandbox-timeout 30m --sandbox-size xlarge
|
|
335
|
+
]]
|
|
314
336
|
`
|
|
315
337
|
},
|
|
316
338
|
"billing usage": {
|
|
@@ -380,26 +402,40 @@ Purpose:
|
|
|
380
402
|
When:
|
|
381
403
|
First, whenever you do not already know what to run.
|
|
382
404
|
Input:
|
|
383
|
-
|
|
384
|
-
|
|
405
|
+
Search for one capability at a time.
|
|
406
|
+
Include the input fields, the result you need, and requirements.
|
|
407
|
+
Leave out customer data like names and domains, and export details like filenames.
|
|
408
|
+
For a workflow with distinct steps, search for each step separately.
|
|
409
|
+
[[cli:
|
|
410
|
+
To run multiple searches in one command, quote each query separately.
|
|
411
|
+
Each argument is ranked independently and gets its own results section.
|
|
412
|
+
Filters, --limit, and --offset apply to each query.
|
|
413
|
+
]]
|
|
385
414
|
Examples:
|
|
386
415
|
[[cli:
|
|
416
|
+
deepline search "business address -> company domain" "name and company domain -> work email"
|
|
387
417
|
deepline search "first name, last name and company domain -> verified work email"
|
|
388
|
-
deepline search "
|
|
389
|
-
deepline search "company domain ->
|
|
418
|
+
deepline search "company domains -> shop management software they use"
|
|
419
|
+
deepline search "company domain -> employees by job title and office location" --type plays
|
|
390
420
|
deepline search "upload a contact list as a Meta ads audience"
|
|
391
421
|
deepline search "how do webhooks trigger a play" --type docs
|
|
392
422
|
]]
|
|
393
423
|
[[mcp:
|
|
394
424
|
query "first name, last name and company domain -> verified work email"
|
|
395
|
-
query "
|
|
396
|
-
query "company domain ->
|
|
425
|
+
query "company domains -> shop management software they use"
|
|
426
|
+
query "company domain -> employees by job title and office location"
|
|
397
427
|
query "upload a contact list as a Meta ads audience"
|
|
398
428
|
]]
|
|
399
429
|
Output:
|
|
400
430
|
A ranked list. Each result has an id, its kind, what it does, and its price.
|
|
401
431
|
Tools that need a provider connection are flagged. Describe the tool to
|
|
402
432
|
see how to connect it.
|
|
433
|
+
When search suggests a rewrite, retry with the core task in a shorter query.
|
|
434
|
+
[[cli:
|
|
435
|
+
Multiple queries print one section per query in argument order. With --json,
|
|
436
|
+
read searches[] for each query's results or error. A failed query returns
|
|
437
|
+
a nonzero exit code and successful queries still appear.
|
|
438
|
+
]]
|
|
403
439
|
Cost:
|
|
404
440
|
Free.
|
|
405
441
|
Next:
|
|
@@ -769,6 +805,8 @@ Writing a play:
|
|
|
769
805
|
result.
|
|
770
806
|
An optional export const config = { name, description, cron, webhook,
|
|
771
807
|
runtime }; at the top of the file sets the name, triggers and runtime.
|
|
808
|
+
Set runtime.size to 'standard' (1gb, default), 'large' (4gb), or 'xlarge'
|
|
809
|
+
(8gb). See deepline billing compute --help for runtime pricing.
|
|
772
810
|
--help --verbose lists the authoring rules.
|
|
773
811
|
Auditing plays:
|
|
774
812
|
plays list every saved play
|
|
@@ -862,8 +900,9 @@ Authoring rules:
|
|
|
862
900
|
Set runtime.size to 'standard' or '1gb' (1 GiB / 1 CPU), 'large' or '4gb'
|
|
863
901
|
(4 GiB / 2 CPU), or 'xlarge' or '8gb' (8 GiB / 4 CPU).
|
|
864
902
|
Each alias selects the same profile and price as its named size.
|
|
865
|
-
|
|
866
|
-
[[cli:Use deepline billing quote
|
|
903
|
+
${PLAY_RUNTIME_PRICING_NOTE}
|
|
904
|
+
[[cli:Use deepline billing quote --sandbox-timeout 30m --sandbox-size large
|
|
905
|
+
for the workspace's session ceiling.]]
|
|
867
906
|
Set runtime.timeout to extend a run up to 4h.
|
|
868
907
|
For large datasets, keep working sets bounded and checkpoint progress;
|
|
869
908
|
inline ctx.runPlay shares parent memory, while ctx.runPlayAsync starts an
|
|
@@ -2121,6 +2160,7 @@ function indent(text) {
|
|
|
2121
2160
|
}
|
|
2122
2161
|
|
|
2123
2162
|
export {
|
|
2163
|
+
PLAY_RUNTIME_PRICING_NOTE,
|
|
2124
2164
|
COMMAND_DOCS,
|
|
2125
2165
|
commandDocKey,
|
|
2126
2166
|
helpDetailFromArgv,
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
|
|
4
|
+
|
|
5
|
+
// src/cli/command-docs.ts
|
|
6
|
+
var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${_chunkR7J7CJPZjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${_chunkR7J7CJPZjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
|
|
2
7
|
var CONVENTIONS = `
|
|
3
8
|
[[cli:
|
|
4
9
|
Conventions (apply to every command):
|
|
@@ -311,6 +316,23 @@ Output:
|
|
|
311
316
|
]]
|
|
312
317
|
Cost:
|
|
313
318
|
Free.
|
|
319
|
+
`
|
|
320
|
+
},
|
|
321
|
+
"billing compute": {
|
|
322
|
+
core: `
|
|
323
|
+
Purpose:
|
|
324
|
+
Show Play runtime pricing, included compute, and usage.
|
|
325
|
+
Output:
|
|
326
|
+
The workspace pricing status, included compute, and runtime used.
|
|
327
|
+
${PLAY_RUNTIME_PRICING_NOTE}
|
|
328
|
+
Cost:
|
|
329
|
+
Free to check.
|
|
330
|
+
[[cli:
|
|
331
|
+
--enable switches the workspace to included compute pricing.
|
|
332
|
+
Examples:
|
|
333
|
+
deepline billing compute --json
|
|
334
|
+
deepline billing quote --sandbox-timeout 30m --sandbox-size xlarge
|
|
335
|
+
]]
|
|
314
336
|
`
|
|
315
337
|
},
|
|
316
338
|
"billing usage": {
|
|
@@ -380,26 +402,40 @@ Purpose:
|
|
|
380
402
|
When:
|
|
381
403
|
First, whenever you do not already know what to run.
|
|
382
404
|
Input:
|
|
383
|
-
|
|
384
|
-
|
|
405
|
+
Search for one capability at a time.
|
|
406
|
+
Include the input fields, the result you need, and requirements.
|
|
407
|
+
Leave out customer data like names and domains, and export details like filenames.
|
|
408
|
+
For a workflow with distinct steps, search for each step separately.
|
|
409
|
+
[[cli:
|
|
410
|
+
To run multiple searches in one command, quote each query separately.
|
|
411
|
+
Each argument is ranked independently and gets its own results section.
|
|
412
|
+
Filters, --limit, and --offset apply to each query.
|
|
413
|
+
]]
|
|
385
414
|
Examples:
|
|
386
415
|
[[cli:
|
|
416
|
+
deepline search "business address -> company domain" "name and company domain -> work email"
|
|
387
417
|
deepline search "first name, last name and company domain -> verified work email"
|
|
388
|
-
deepline search "
|
|
389
|
-
deepline search "company domain ->
|
|
418
|
+
deepline search "company domains -> shop management software they use"
|
|
419
|
+
deepline search "company domain -> employees by job title and office location" --type plays
|
|
390
420
|
deepline search "upload a contact list as a Meta ads audience"
|
|
391
421
|
deepline search "how do webhooks trigger a play" --type docs
|
|
392
422
|
]]
|
|
393
423
|
[[mcp:
|
|
394
424
|
query "first name, last name and company domain -> verified work email"
|
|
395
|
-
query "
|
|
396
|
-
query "company domain ->
|
|
425
|
+
query "company domains -> shop management software they use"
|
|
426
|
+
query "company domain -> employees by job title and office location"
|
|
397
427
|
query "upload a contact list as a Meta ads audience"
|
|
398
428
|
]]
|
|
399
429
|
Output:
|
|
400
430
|
A ranked list. Each result has an id, its kind, what it does, and its price.
|
|
401
431
|
Tools that need a provider connection are flagged. Describe the tool to
|
|
402
432
|
see how to connect it.
|
|
433
|
+
When search suggests a rewrite, retry with the core task in a shorter query.
|
|
434
|
+
[[cli:
|
|
435
|
+
Multiple queries print one section per query in argument order. With --json,
|
|
436
|
+
read searches[] for each query's results or error. A failed query returns
|
|
437
|
+
a nonzero exit code and successful queries still appear.
|
|
438
|
+
]]
|
|
403
439
|
Cost:
|
|
404
440
|
Free.
|
|
405
441
|
Next:
|
|
@@ -769,6 +805,8 @@ Writing a play:
|
|
|
769
805
|
result.
|
|
770
806
|
An optional export const config = { name, description, cron, webhook,
|
|
771
807
|
runtime }; at the top of the file sets the name, triggers and runtime.
|
|
808
|
+
Set runtime.size to 'standard' (1gb, default), 'large' (4gb), or 'xlarge'
|
|
809
|
+
(8gb). See deepline billing compute --help for runtime pricing.
|
|
772
810
|
--help --verbose lists the authoring rules.
|
|
773
811
|
Auditing plays:
|
|
774
812
|
plays list every saved play
|
|
@@ -862,8 +900,9 @@ Authoring rules:
|
|
|
862
900
|
Set runtime.size to 'standard' or '1gb' (1 GiB / 1 CPU), 'large' or '4gb'
|
|
863
901
|
(4 GiB / 2 CPU), or 'xlarge' or '8gb' (8 GiB / 4 CPU).
|
|
864
902
|
Each alias selects the same profile and price as its named size.
|
|
865
|
-
|
|
866
|
-
[[cli:Use deepline billing quote
|
|
903
|
+
${PLAY_RUNTIME_PRICING_NOTE}
|
|
904
|
+
[[cli:Use deepline billing quote --sandbox-timeout 30m --sandbox-size large
|
|
905
|
+
for the workspace's session ceiling.]]
|
|
867
906
|
Set runtime.timeout to extend a run up to 4h.
|
|
868
907
|
For large datasets, keep working sets bounded and checkpoint progress;
|
|
869
908
|
inline ctx.runPlay shares parent memory, while ctx.runPlayAsync starts an
|
|
@@ -2128,4 +2167,5 @@ function indent(text) {
|
|
|
2128
2167
|
|
|
2129
2168
|
|
|
2130
2169
|
|
|
2131
|
-
|
|
2170
|
+
|
|
2171
|
+
exports.PLAY_RUNTIME_PRICING_NOTE = PLAY_RUNTIME_PRICING_NOTE; exports.COMMAND_DOCS = COMMAND_DOCS; exports.commandDocKey = commandDocKey; exports.helpDetailFromArgv = helpDetailFromArgv; exports.renderCommandExplanation = renderCommandExplanation; exports.CLI_DOC_SURFACE = CLI_DOC_SURFACE; exports.renderDocText = renderDocText; exports.renderActionExplanation = renderActionExplanation;
|