deepline 0.3.557 → 0.3.558
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/cli/{auth-SGWFS2DS.mjs → auth-JJXTMFWH.mjs} +5 -5
- package/dist/cli/auth-TWSGYOWI.js +44 -0
- package/dist/cli/{billing-XJZX3JSG.mjs → billing-RBFJMAI5.mjs} +8 -8
- package/dist/cli/{billing-G6C2LUSN.js → billing-V3TJKUHY.js} +99 -99
- package/dist/cli/{chunk-CDLTF6M2.mjs → chunk-2FFZ5SEU.mjs} +2 -2
- package/dist/cli/{chunk-L5JD66EF.js → chunk-4CTBC6Q7.js} +3 -3
- package/dist/cli/{chunk-2TTAHHSJ.mjs → chunk-4SVFZCCI.mjs} +2 -2
- package/dist/cli/{chunk-DTMUYIUO.js → chunk-5V45LY6Y.js} +9 -9
- package/dist/cli/{chunk-B2V6NKX7.js → chunk-67J4K4G2.js} +20 -20
- package/dist/cli/{chunk-CPDXS2UK.js → chunk-6ASDTHEN.js} +17 -17
- package/dist/cli/{chunk-NWQZIBPY.js → chunk-6BDLYZYL.js} +26 -26
- package/dist/cli/{chunk-YUB7OX65.mjs → chunk-6GBQNS6L.mjs} +1 -1
- package/dist/cli/{chunk-ZAR6JSI6.js → chunk-6LFPPAMD.js} +3 -3
- package/dist/cli/{chunk-TPRMS2D7.mjs → chunk-6PIQC2XE.mjs} +3 -3
- package/dist/cli/{chunk-6ZBAXLOR.js → chunk-7Q3EXOLC.js} +12 -12
- package/dist/cli/{chunk-NW6NYTYM.mjs → chunk-7Q5I4KEG.mjs} +4 -4
- package/dist/cli/{chunk-A6FYP3KU.js → chunk-A5MRMCMW.js} +5 -5
- package/dist/cli/{chunk-ARYKF2YT.mjs → chunk-AL4QQKUK.mjs} +2 -2
- package/dist/cli/{chunk-5RVSMMQV.mjs → chunk-ARGJDP77.mjs} +2 -2
- package/dist/cli/{chunk-ODBQY6MD.js → chunk-BFM2RCC3.js} +2 -2
- package/dist/cli/{chunk-JX4X4KAZ.mjs → chunk-BHHCQGUY.mjs} +7 -7
- package/dist/cli/{chunk-VLXLKNR4.mjs → chunk-BM4GE67C.mjs} +2 -1
- package/dist/cli/{chunk-QUAPOFCA.mjs → chunk-BWWLLK56.mjs} +5 -5
- package/dist/cli/{chunk-5H7BLMNH.js → chunk-C7BQBKRZ.js} +4 -4
- package/dist/cli/{chunk-ZKLUGMPE.mjs → chunk-CB5DIX5K.mjs} +2 -2
- package/dist/cli/{chunk-24PL5QN5.mjs → chunk-CEEUL7ER.mjs} +1 -1
- package/dist/cli/{chunk-VVGGQBAV.mjs → chunk-CG3R4ZFS.mjs} +2 -2
- package/dist/cli/{chunk-GENZXMNR.mjs → chunk-D4GCU735.mjs} +1 -1
- package/dist/cli/{chunk-NHGQHMV7.js → chunk-DDI4LNVC.js} +41 -41
- package/dist/cli/{chunk-C6M5TIPZ.mjs → chunk-DJAP2M5M.mjs} +1 -1
- package/dist/cli/{chunk-4AE3A4SL.mjs → chunk-ENHQBPR5.mjs} +1 -1
- package/dist/cli/{chunk-MZSUMGWN.js → chunk-FCG42RQZ.js} +20 -20
- package/dist/cli/{chunk-WZKWSIZS.mjs → chunk-FF3BWNLL.mjs} +1 -1
- package/dist/cli/{chunk-JMDLLVIR.js → chunk-FH55SB63.js} +11 -11
- package/dist/cli/{chunk-U7LDRRRB.mjs → chunk-GAQ6VSRS.mjs} +1 -1
- package/dist/cli/{chunk-NXYBZSRL.mjs → chunk-HUJMFETO.mjs} +2 -2
- package/dist/cli/{chunk-K35ZLTN2.js → chunk-I3PX6NGG.js} +5 -5
- package/dist/cli/{chunk-XJUHHIH4.mjs → chunk-I57JNBKA.mjs} +5 -5
- package/dist/cli/{chunk-UP2CQTGX.js → chunk-IS67LBNV.js} +2 -2
- package/dist/cli/{chunk-TW7HFIQG.mjs → chunk-KMNLER7F.mjs} +13 -13
- package/dist/cli/{chunk-2YT2TFNX.js → chunk-LHPYCJNL.js} +2 -1
- package/dist/cli/{chunk-PITVKXY3.mjs → chunk-LIS6UJSC.mjs} +1 -1
- package/dist/cli/{chunk-JY2EJQL5.js → chunk-M4CJGF53.js} +5 -5
- package/dist/cli/{chunk-OOCGLW46.mjs → chunk-MAN4IEO4.mjs} +4 -4
- package/dist/cli/{chunk-5S2G32ZX.js → chunk-NADXF2C5.js} +53 -53
- package/dist/cli/{chunk-C46GRCHZ.js → chunk-NAJAAIEE.js} +48 -48
- package/dist/cli/{chunk-JWPJXCD2.js → chunk-OWOUDGHO.js} +23 -23
- package/dist/cli/{chunk-JORWYP5P.mjs → chunk-P2MVPTFJ.mjs} +1 -1
- package/dist/cli/{chunk-DUXL7U7U.mjs → chunk-P3SLGOGA.mjs} +2 -2
- package/dist/cli/{chunk-25SOYGAX.js → chunk-PAJLUB37.js} +274 -274
- package/dist/cli/{chunk-L7DGWNF7.js → chunk-QGDU23YW.js} +8 -8
- package/dist/cli/{chunk-7AMUXIZ5.js → chunk-QGJ4DYGE.js} +1 -1
- package/dist/cli/{chunk-T26CM5LC.js → chunk-RIQYBKHK.js} +2 -2
- package/dist/cli/{chunk-OBW2YFHR.mjs → chunk-T6W7SKE7.mjs} +2 -2
- package/dist/cli/{chunk-PK6MYC5E.js → chunk-TBLP7HDL.js} +7 -7
- package/dist/cli/{chunk-EZNYE6GZ.js → chunk-VPJ663PV.js} +10 -10
- package/dist/cli/{chunk-GC4HHDE4.mjs → chunk-WJ7RY3PJ.mjs} +3 -3
- package/dist/cli/{chunk-4YNKJTCP.mjs → chunk-XPSSXKBT.mjs} +2 -2
- package/dist/cli/{chunk-6C3E6ZZ3.js → chunk-XV4DHKZ2.js} +13 -13
- package/dist/cli/{chunk-YQDBHVYJ.mjs → chunk-YBJSDL34.mjs} +5 -5
- package/dist/cli/{chunk-WSX76BQX.js → chunk-YJ46MJMT.js} +6 -6
- package/dist/cli/{chunk-UVFR7FW4.js → chunk-YVWINBZL.js} +20 -20
- package/dist/cli/concurrent-runs-help-4VRUNL3T.js +22 -0
- package/dist/cli/{concurrent-runs-help-HSBXPVDN.mjs → concurrent-runs-help-ZWWMHCK4.mjs} +6 -6
- package/dist/cli/{csv-OQGWJ4HU.mjs → csv-D76CXYOL.mjs} +4 -4
- package/dist/cli/{csv-JEOU3DOF.js → csv-V2FR4SO2.js} +13 -13
- package/dist/cli/{db-YHCKYQJI.mjs → db-2D7PD7A3.mjs} +6 -6
- package/dist/cli/{db-75WPSR3C.js → db-B23O6Q4O.js} +27 -27
- package/dist/cli/{describe-TSW245QQ.mjs → describe-3LG6VO3D.mjs} +21 -21
- package/dist/cli/describe-QE4ITFPG.js +50 -0
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-PNSETDOA.js → executions-4P4UBPMX.js} +8 -8
- package/dist/cli/{executions-NW3SQULX.mjs → executions-ORWO4SR4.mjs} +6 -6
- package/dist/cli/{feedback-R2Y4APBY.mjs → feedback-AY47IRDD.mjs} +6 -6
- package/dist/cli/{feedback-LXTVGS4E.js → feedback-LPHCSOJT.js} +14 -14
- package/dist/cli/{git-S7DESBSB.mjs → git-LQGZNBZM.mjs} +5 -5
- package/dist/cli/git-XXVGEPEM.js +26 -0
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-CQWODJ23.mjs → integrations-NEUZIBQT.mjs} +7 -7
- package/dist/cli/{integrations-ZLMM2CMG.js → integrations-QEOUALDR.js} +15 -15
- package/dist/cli/{legacy-noops-EGD7QOML.mjs → legacy-noops-4G3DXN57.mjs} +6 -6
- package/dist/cli/{legacy-noops-4UDVSN5R.js → legacy-noops-PUO5VKHN.js} +9 -9
- package/dist/cli/{mcp-5W4HWAMB.js → mcp-EWAZKABW.js} +24 -24
- package/dist/cli/{mcp-Q3SKD3A2.mjs → mcp-USM2QUKK.mjs} +4 -4
- package/dist/cli/{monitors-NA6QQRUK.js → monitors-2BI5J46A.js} +100 -100
- package/dist/cli/{monitors-ZXHOLBOO.mjs → monitors-T6FJSZCP.mjs} +7 -7
- package/dist/cli/{org-O3NSKVA7.mjs → org-BT45O64S.mjs} +6 -6
- package/dist/cli/{org-25E7SBZP.js → org-V6V3E7F7.js} +121 -121
- package/dist/cli/{outcomes-TEXVO2EV.mjs → outcomes-2T6W554M.mjs} +6 -6
- package/dist/cli/{outcomes-O5DS5XSH.js → outcomes-B6RPHM6M.js} +14 -14
- package/dist/cli/{play-UFAJEDX4.mjs → play-CBBGJPRI.mjs} +20 -20
- package/dist/cli/{play-2FVIRT7Z.js → play-YCFVGEWK.js} +337 -337
- package/dist/cli/{providers-4C4TJ5N3.js → providers-AGRUGBIY.js} +9 -9
- package/dist/cli/{providers-LCJA4VQ7.mjs → providers-RHBUQFFO.mjs} +6 -6
- package/dist/cli/{quickstart-2OAKQFLT.js → quickstart-6N2KPWII.js} +6 -6
- package/dist/cli/{quickstart-QOJLPGFW.mjs → quickstart-OPR5NLIQ.mjs} +4 -4
- package/dist/cli/{run-SNAFQJWR.mjs → run-HAU2STMQ.mjs} +26 -26
- package/dist/cli/{run-SV3EPJGU.js → run-MMANMS4E.js} +48 -48
- package/dist/cli/search-7LMUBMDC.js +32 -0
- package/dist/cli/{search-KIJZGURG.mjs → search-TGWQMQ2C.mjs} +7 -7
- package/dist/cli/{search-output-OESDMVBG.mjs → search-output-DZBYNJEO.mjs} +5 -5
- package/dist/cli/{search-output-WRHLYDZX.js → search-output-VVM3DO2H.js} +8 -8
- package/dist/cli/{secrets-GH6KF5VR.js → secrets-V5WD552F.js} +15 -15
- package/dist/cli/{secrets-5WCCHFM5.mjs → secrets-Z6NEKNWM.mjs} +6 -6
- package/dist/cli/{sessions-52MAEUFQ.mjs → sessions-C5GNXSPB.mjs} +6 -6
- package/dist/cli/sessions-VYIPZBSR.js +23 -0
- package/dist/cli/{settings-5RSARPXF.js → settings-EZPZXJDG.js} +85 -85
- package/dist/cli/{settings-HDOBMJ5A.mjs → settings-QUDVUIOJ.mjs} +12 -12
- package/dist/cli/{setup-UY3TSZZV.mjs → setup-BCJBVQTI.mjs} +9 -9
- package/dist/cli/{setup-4DTCFBOX.js → setup-QY5VVGWQ.js} +49 -49
- package/dist/cli/{skills-QUWJHOEZ.mjs → skills-LY2WZ22U.mjs} +7 -7
- package/dist/cli/skills-PKNTNDYL.js +37 -0
- package/dist/cli/tools-D6CKFZL3.js +57 -0
- package/dist/cli/{tools-U2LH642W.mjs → tools-FNCTTFWA.mjs} +19 -19
- package/dist/cli/update-E2H2DWH4.js +37 -0
- package/dist/cli/{update-3H4E5YJ7.mjs → update-YKQAC4AQ.mjs} +9 -9
- package/dist/cli/{views-7WOYBLLQ.mjs → views-5R5NVYHL.mjs} +6 -6
- package/dist/cli/{views-2LUZ3ATR.js → views-NBTOBB67.js} +21 -21
- package/dist/cli/{workflow-55OASFLG.mjs → workflow-HBDW43GT.mjs} +7 -7
- package/dist/cli/{workflow-YME2SGMA.js → workflow-VNPT5VQS.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +118 -118
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-F7QPLPTB.js +0 -44
- package/dist/cli/concurrent-runs-help-3KEUX2GA.js +0 -22
- package/dist/cli/describe-ZUATHN4Z.js +0 -50
- package/dist/cli/git-GAXMETIP.js +0 -26
- package/dist/cli/search-DCHBSXPZ.js +0 -32
- package/dist/cli/sessions-MYG6BH6T.js +0 -23
- package/dist/cli/skills-EOC2MSQK.js +0 -37
- package/dist/cli/tools-AGOX64LC.js +0 -57
- package/dist/cli/update-OLLOIH4U.js +0 -37
|
@@ -1,23 +1,23 @@
|
|
|
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 _chunkRIQYBKHKjs = require('./chunk-RIQYBKHK.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkDDI4LNVCjs = require('./chunk-DDI4LNVC.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkNAJAAIEEjs = require('./chunk-NAJAAIEE.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/update.ts
|
|
23
23
|
var _child_process = require('child_process');
|
|
@@ -499,7 +499,7 @@ function normalizedNpmPrefix(value) {
|
|
|
499
499
|
}
|
|
500
500
|
function resolveNpmGlobalPrefix(env) {
|
|
501
501
|
try {
|
|
502
|
-
const plan =
|
|
502
|
+
const plan = _chunkNAJAAIEEjs.resolveShellSpawn.call(void 0,
|
|
503
503
|
"npm",
|
|
504
504
|
["prefix", "-g"],
|
|
505
505
|
process.platform,
|
|
@@ -561,8 +561,8 @@ function resolveUpdatePlan(options = {}) {
|
|
|
561
561
|
const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
|
|
562
562
|
const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
|
|
563
563
|
const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
|
|
564
|
-
const npmVersion = options.npmVersion === void 0 ?
|
|
565
|
-
const npmGlobalInstallFlags =
|
|
564
|
+
const npmVersion = options.npmVersion === void 0 ? _chunkRIQYBKHKjs.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
565
|
+
const npmGlobalInstallFlags = _chunkRIQYBKHKjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
|
|
566
566
|
const args = installPrefix ? [
|
|
567
567
|
"install",
|
|
568
568
|
"-g",
|
|
@@ -572,7 +572,7 @@ function resolveUpdatePlan(options = {}) {
|
|
|
572
572
|
packageSpec
|
|
573
573
|
] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
|
|
574
574
|
const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
|
|
575
|
-
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) ||
|
|
575
|
+
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk4CTBC6Q7js.autoDetectBaseUrl.call(void 0, )
|
|
576
576
|
);
|
|
577
577
|
return {
|
|
578
578
|
kind: "npm-global",
|
|
@@ -821,7 +821,7 @@ function sidecarInstallFailure(versionDir) {
|
|
|
821
821
|
function runCommand(command, args, env = process.env) {
|
|
822
822
|
return new Promise((resolveResult) => {
|
|
823
823
|
let output = "";
|
|
824
|
-
const plan =
|
|
824
|
+
const plan = _chunkNAJAAIEEjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
|
|
825
825
|
const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
|
|
826
826
|
windowsHide: true,
|
|
827
827
|
stdio: ["inherit", "pipe", "pipe"],
|
|
@@ -1169,7 +1169,7 @@ function normalizePinnedVersion(value) {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
async function readPinMetadata(registryUrl, version) {
|
|
1171
1171
|
const controller = new AbortController();
|
|
1172
|
-
const timeout = setTimeout(() => controller.abort(),
|
|
1172
|
+
const timeout = setTimeout(() => controller.abort(), _chunk4CTBC6Q7js.DEFAULT_TIMEOUT);
|
|
1173
1173
|
try {
|
|
1174
1174
|
const response = await fetch(
|
|
1175
1175
|
new URL(
|
|
@@ -1185,7 +1185,7 @@ async function readPinMetadata(registryUrl, version) {
|
|
|
1185
1185
|
if (!response.ok) {
|
|
1186
1186
|
return {
|
|
1187
1187
|
kind: "miss",
|
|
1188
|
-
transient:
|
|
1188
|
+
transient: _chunk4CTBC6Q7js.TRANSIENT_HTTP_STATUSES.has(response.status),
|
|
1189
1189
|
error: new Error(`${registryUrl} returned HTTP ${response.status}`)
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
@@ -1219,8 +1219,8 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl, retry =
|
|
|
1219
1219
|
"https://registry.npmjs.org/",
|
|
1220
1220
|
...fallbackRegistryUrl ? [fallbackRegistryUrl] : []
|
|
1221
1221
|
];
|
|
1222
|
-
const maxRetries = _nullishCoalesce(retry.maxRetries, () => (
|
|
1223
|
-
const backoffMs = _nullishCoalesce(retry.backoffMs, () => (
|
|
1222
|
+
const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunk4CTBC6Q7js.DEFAULT_MAX_RETRIES));
|
|
1223
|
+
const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunk4CTBC6Q7js.defaultRetryBackoffMs));
|
|
1224
1224
|
let lastError = null;
|
|
1225
1225
|
for (let round = 1; ; round += 1) {
|
|
1226
1226
|
let transientOnly = true;
|
|
@@ -1283,14 +1283,14 @@ async function resolveInstalledVersionIfLatest(plan) {
|
|
|
1283
1283
|
return null;
|
|
1284
1284
|
}
|
|
1285
1285
|
async function runUpdateCommand(options, dependencies = {}) {
|
|
1286
|
-
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => (
|
|
1286
|
+
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk4CTBC6Q7js.autoDetectBaseUrl));
|
|
1287
1287
|
const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
|
|
1288
1288
|
const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
|
|
1289
1289
|
const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
|
|
1290
1290
|
const originalWrite = process.stdout.write.bind(process.stdout);
|
|
1291
1291
|
process.stdout.write = (() => true);
|
|
1292
1292
|
try {
|
|
1293
|
-
const exitCode = await
|
|
1293
|
+
const exitCode = await _chunkDDI4LNVCjs.runSkillsCommand.call(void 0, { json: true });
|
|
1294
1294
|
if (exitCode !== 0) {
|
|
1295
1295
|
throw new Error(
|
|
1296
1296
|
`Deepline skills update failed with exit ${exitCode}.`
|
|
@@ -1363,7 +1363,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
if (options.json && !options.executeWithJson) {
|
|
1365
1365
|
const upToDateVersion2 = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
|
|
1366
|
-
|
|
1366
|
+
_chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
|
|
1367
1367
|
{
|
|
1368
1368
|
...plan,
|
|
1369
1369
|
updated: false,
|
|
@@ -1375,7 +1375,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1375
1375
|
return 0;
|
|
1376
1376
|
}
|
|
1377
1377
|
if (options.printCommand) {
|
|
1378
|
-
|
|
1378
|
+
_chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
|
|
1379
1379
|
{
|
|
1380
1380
|
...plan,
|
|
1381
1381
|
render: {
|
|
@@ -1388,7 +1388,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1388
1388
|
return 0;
|
|
1389
1389
|
}
|
|
1390
1390
|
if (plan.kind === "source" || plan.kind === "homebrew") {
|
|
1391
|
-
|
|
1391
|
+
_chunkYVWINBZLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
|
|
1392
1392
|
return 0;
|
|
1393
1393
|
}
|
|
1394
1394
|
const upToDateVersion = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
|
|
@@ -1426,7 +1426,7 @@ To retry with full installer output, run: deepline skills install
|
|
|
1426
1426
|
);
|
|
1427
1427
|
}
|
|
1428
1428
|
if (options.executeWithJson && options.json) {
|
|
1429
|
-
|
|
1429
|
+
_chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
|
|
1430
1430
|
{
|
|
1431
1431
|
ok: true,
|
|
1432
1432
|
pinnedVersion,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -27,7 +27,7 @@ function addDescribeOptions(command, options = {}) {
|
|
|
27
27
|
"Show only the in-play example, and explain how it takes inputs and returns outputs"
|
|
28
28
|
).option("--no-example", "Hide the run examples").option(
|
|
29
29
|
"--full-schema",
|
|
30
|
-
`Print every field: a long schema unfolded (over ${
|
|
30
|
+
`Print every field: a long schema unfolded (over ${_chunkLHPYCJNLjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
|
|
31
31
|
).option(
|
|
32
32
|
"--fields <names>",
|
|
33
33
|
"Show only these fields, comma-separated, plus every required input"
|
|
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
|
|
|
250
250
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
251
251
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
252
252
|
if (typeof logicalValue === "object") {
|
|
253
|
-
return
|
|
253
|
+
return _chunkYVWINBZLjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
254
254
|
}
|
|
255
255
|
return logicalValue;
|
|
256
256
|
}
|
|
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
|
|
|
642
642
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
643
643
|
columns
|
|
644
644
|
});
|
|
645
|
-
return
|
|
645
|
+
return _chunkYVWINBZLjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
646
646
|
}
|
|
647
647
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
648
648
|
let temp;
|
|
@@ -770,7 +770,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
770
770
|
};
|
|
771
771
|
if (options.receiptOut && !skipReceiptFile) {
|
|
772
772
|
persist(options.receiptOut, jsonText(receipt));
|
|
773
|
-
|
|
773
|
+
_chunkYVWINBZLjs.markJsonOutputHandled.call(void 0, );
|
|
774
774
|
} else {
|
|
775
775
|
printReceipt(receipt, options, {
|
|
776
776
|
data: hasData ? result.data : void 0,
|
|
@@ -874,9 +874,9 @@ function annotated(schema, values) {
|
|
|
874
874
|
function shapeLines(title, data) {
|
|
875
875
|
const schema = annotated(observedSchema(data), [data]);
|
|
876
876
|
const block = (heading, fieldSchema) => {
|
|
877
|
-
const { lines, folded } =
|
|
877
|
+
const { lines, folded } = _chunkLHPYCJNLjs.fieldBlockLines.call(void 0,
|
|
878
878
|
heading,
|
|
879
|
-
|
|
879
|
+
_chunkLHPYCJNLjs.schemaFields.call(void 0, fieldSchema)
|
|
880
880
|
);
|
|
881
881
|
return [
|
|
882
882
|
...lines,
|
|
@@ -939,7 +939,7 @@ function receiptText(receipt, options, extra) {
|
|
|
939
939
|
problems.push(
|
|
940
940
|
`Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
|
|
941
941
|
);
|
|
942
|
-
const diagnostic =
|
|
942
|
+
const diagnostic = _chunkYVWINBZLjs.formatCliFailureDiagnostic.call(void 0, error);
|
|
943
943
|
if (diagnostic) problems.push(...diagnostic.split("\n"));
|
|
944
944
|
if (record(error) && typeof error.recoveryFile === "string") {
|
|
945
945
|
problems.push(
|
|
@@ -1032,8 +1032,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1032
1032
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1033
1033
|
` : receiptText(receipt, options, extra);
|
|
1034
1034
|
if (options.receiptOut !== void 0) {
|
|
1035
|
-
|
|
1036
|
-
|
|
1035
|
+
_chunkYVWINBZLjs.writeRawStderr.call(void 0, text);
|
|
1036
|
+
_chunkYVWINBZLjs.markJsonOutputHandled.call(void 0, );
|
|
1037
1037
|
} else {
|
|
1038
1038
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1039
1039
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatModelDescription,
|
|
4
4
|
publicToolSchemas,
|
|
5
5
|
toolMetadataJsonForDescribe
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ENHQBPR5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
buildPlayDashboardUrl,
|
|
9
9
|
byokLines,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
examples,
|
|
14
14
|
schemaLines,
|
|
15
15
|
topLevelField
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BM4GE67C.mjs";
|
|
17
17
|
import {
|
|
18
18
|
DeeplineError
|
|
19
19
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkNADXF2C5js = require('./chunk-NADXF2C5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
|
|
|
24
24
|
return plans ? `${here} Plan limits: ${plans}.` : here;
|
|
25
25
|
}
|
|
26
26
|
async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
|
|
27
|
-
const baseUrl =
|
|
28
|
-
const apiKey =
|
|
27
|
+
const baseUrl = _chunk4CTBC6Q7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
28
|
+
const apiKey = _chunk4CTBC6Q7js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
29
29
|
if (!apiKey) return "";
|
|
30
30
|
try {
|
|
31
|
-
const { status, data } = await
|
|
31
|
+
const { status, data } = await _chunkNADXF2C5js.httpJson.call(void 0,
|
|
32
32
|
"GET",
|
|
33
33
|
`${baseUrl}/api/v2/billing/entitlements`,
|
|
34
34
|
apiKey,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DJAP2M5M.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_MAX_RETRIES,
|
|
9
9
|
DEFAULT_SKILL_AGENTS,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
sdkCliStateDirPath,
|
|
19
19
|
skillsAgentPathSegment,
|
|
20
20
|
writeSdkSkillsLocalVersion
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SDK_API_CONTRACT,
|
|
24
24
|
SDK_API_MAJOR,
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
deploymentProtectionHeaders,
|
|
27
27
|
detectAgentRuntime
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GAQ6VSRS.mjs";
|
|
29
29
|
import {
|
|
30
30
|
DeeplineError
|
|
31
31
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
32
32
|
import {
|
|
33
33
|
SDK_RELEASE
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-D4GCU735.mjs";
|
|
35
35
|
|
|
36
36
|
// src/compat.ts
|
|
37
37
|
import { randomUUID } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/feedback-preferences.ts
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
|
|
|
57
57
|
const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
|
|
58
58
|
const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
|
|
59
59
|
if (options.json) {
|
|
60
|
-
|
|
60
|
+
_chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CG3R4ZFS.mjs";
|
|
6
6
|
import {
|
|
7
7
|
registerIntegrationBalanceCommand,
|
|
8
8
|
registerIntegrationConnectCommand,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
registerLegacyHubSpotMembersCommand,
|
|
12
12
|
registerLegacyWorkspaceConnectionCommand,
|
|
13
13
|
registerWorkspaceConnectionListCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XPSSXKBT.mjs";
|
|
15
15
|
import {
|
|
16
16
|
recentSearchRef,
|
|
17
17
|
registerDeprecatedSearchCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7Q5I4KEG.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Capability,
|
|
21
21
|
arrayField,
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
toolInputFieldsForDisplay,
|
|
38
38
|
toolMetadataJsonForDescribe,
|
|
39
39
|
toolOutputFieldsForDisplay
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ENHQBPR5.mjs";
|
|
41
41
|
import {
|
|
42
42
|
rateLimitQualifier
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BM4GE67C.mjs";
|
|
44
44
|
import {
|
|
45
45
|
shellArgument,
|
|
46
46
|
shellQuote
|
|
@@ -57,29 +57,29 @@ import {
|
|
|
57
57
|
} from "./chunk-FIVKWNMT.mjs";
|
|
58
58
|
import {
|
|
59
59
|
DeeplineClient
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-T6W7SKE7.mjs";
|
|
61
61
|
import {
|
|
62
62
|
validateExecutionIdempotencyKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-FF3BWNLL.mjs";
|
|
64
64
|
import {
|
|
65
65
|
beginToolExecuteCommand,
|
|
66
66
|
getToolExecuteInvocationId,
|
|
67
67
|
maybeAutoUpdateAndRelaunch,
|
|
68
68
|
registerCompatibilityCatalog,
|
|
69
69
|
runToolExecuteStage
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-YBJSDL34.mjs";
|
|
71
71
|
import {
|
|
72
72
|
isCliTraceEnabled,
|
|
73
73
|
recordCliTrace,
|
|
74
74
|
resolveCliMaintenancePolicy
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-LIS6UJSC.mjs";
|
|
76
76
|
import {
|
|
77
77
|
checkSdkCompatibility,
|
|
78
78
|
enforceSdkCompatibilityResponse,
|
|
79
79
|
flushDeferredSkillsSyncNotices,
|
|
80
80
|
requireSdkCompatibility,
|
|
81
81
|
syncSdkSkillsIfNeeded
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-I57JNBKA.mjs";
|
|
83
83
|
import {
|
|
84
84
|
errorToJsonPayload,
|
|
85
85
|
printCommandEnvelope,
|
|
@@ -88,12 +88,12 @@ import {
|
|
|
88
88
|
printJsonError,
|
|
89
89
|
renderCommandEnvelopeText,
|
|
90
90
|
shouldEmitJson
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
92
92
|
import {
|
|
93
93
|
readSdkSkillsLocalVersion,
|
|
94
94
|
resolveConfig,
|
|
95
95
|
sdkCliStateDirPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
97
97
|
import {
|
|
98
98
|
DeeplineError
|
|
99
99
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -1052,7 +1052,7 @@ Examples:
|
|
|
1052
1052
|
process.exitCode = await narrowView();
|
|
1053
1053
|
return;
|
|
1054
1054
|
}
|
|
1055
|
-
const { describeAnything } = await import("./describe-
|
|
1055
|
+
const { describeAnything } = await import("./describe-3LG6VO3D.mjs");
|
|
1056
1056
|
process.exitCode = await describeAnything(
|
|
1057
1057
|
toolId,
|
|
1058
1058
|
{
|
|
@@ -107,7 +107,8 @@ function pageSizeNote(schema) {
|
|
|
107
107
|
const notes = [
|
|
108
108
|
`page size${range}`,
|
|
109
109
|
typeof maximum === "number" ? `more runs at ${maximum}` : void 0,
|
|
110
|
-
typeof declaration.next === "string" ? `next page: ${declaration.next}` : typeof declaration.nextHint === "string" ? declaration.nextHint : void 0
|
|
110
|
+
typeof declaration.next === "string" ? `next page: ${declaration.next}` : typeof declaration.nextHint === "string" ? declaration.nextHint : void 0,
|
|
111
|
+
typeof declaration.count === "string" ? `to count: ${declaration.count}` : declaration.count === false ? "no count mode" : void 0
|
|
111
112
|
];
|
|
112
113
|
return notes.filter(Boolean).join("; ");
|
|
113
114
|
}
|
|
@@ -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 _chunkQGDU23YWjs = require('./chunk-QGDU23YW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkQGDU23YWjs.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunk4CTBC6Q7js.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-I57JNBKA.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GAQ6VSRS.mjs";
|
|
28
28
|
import {
|
|
29
29
|
DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
|
|
30
30
|
} from "./chunk-5JPKRDFC.mjs";
|