deepline 0.3.487 → 0.3.489

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.
Files changed (123) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +7 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/{auth-GIBZFTUJ.mjs → auth-5RIU6GT7.mjs} +5 -5
  4. package/dist/cli/auth-PSIS3XA6.js +43 -0
  5. package/dist/cli/{billing-T3SN2T4T.mjs → billing-T4TMPRFS.mjs} +6 -6
  6. package/dist/cli/{billing-TZINXSTI.js → billing-T5MAGF25.js} +79 -79
  7. package/dist/cli/{chunk-YVK3WEBE.mjs → chunk-2QUROYZU.mjs} +1 -1
  8. package/dist/cli/{chunk-76EUEG45.mjs → chunk-35N4S2E6.mjs} +1 -1
  9. package/dist/cli/{chunk-LE3BAE4T.mjs → chunk-3S5VBG6Z.mjs} +2 -2
  10. package/dist/cli/{chunk-TY7AFVAC.js → chunk-4EFD6R2V.js} +37 -37
  11. package/dist/cli/{chunk-IAK7OKDC.mjs → chunk-4GWEZPZR.mjs} +6 -1
  12. package/dist/cli/{chunk-XVSMWD6E.js → chunk-5DEJ3TLB.js} +7 -7
  13. package/dist/cli/{chunk-WZQSBYFU.js → chunk-6FMP5XRF.js} +6 -6
  14. package/dist/cli/{chunk-JH2XVGTM.mjs → chunk-6PHHQDM6.mjs} +1 -1
  15. package/dist/cli/{chunk-MQYUH3DR.mjs → chunk-7R243PYK.mjs} +15 -1
  16. package/dist/cli/{chunk-IL5AF6AR.mjs → chunk-A7ZMG2QZ.mjs} +24 -12
  17. package/dist/cli/{chunk-2EQPUMZG.mjs → chunk-C55LNEUF.mjs} +1 -1
  18. package/dist/cli/{chunk-6VW4YVWH.mjs → chunk-DHAJSTSH.mjs} +4 -4
  19. package/dist/cli/{chunk-TDUPHVI2.js → chunk-DY7T6VNT.js} +21 -21
  20. package/dist/cli/{chunk-BWXQIRPZ.js → chunk-F3TDT57M.js} +5 -5
  21. package/dist/cli/{chunk-ZJIFSEJS.js → chunk-FFDWL5N2.js} +16 -16
  22. package/dist/cli/{chunk-NR6ZSXYE.js → chunk-FH7ZABHW.js} +94 -94
  23. package/dist/cli/{chunk-WFMTJFGG.js → chunk-FL7NHJTS.js} +10 -10
  24. package/dist/cli/{chunk-O4LTC7S6.js → chunk-FNKSRKTA.js} +22 -8
  25. package/dist/cli/{chunk-ATEO2Y3W.mjs → chunk-G7POOFBJ.mjs} +2 -2
  26. package/dist/cli/{chunk-DAXLSR65.js → chunk-GW6HV7Z7.js} +3 -3
  27. package/dist/cli/{chunk-HK6RIWDN.mjs → chunk-H66YVVT7.mjs} +1 -1
  28. package/dist/cli/{chunk-JDFYXDDA.js → chunk-I4NWMPT3.js} +53 -53
  29. package/dist/cli/{chunk-BXOHHCXG.js → chunk-K2RUSHZ7.js} +4 -4
  30. package/dist/cli/{chunk-4AZFKKGK.mjs → chunk-L2GMFNAO.mjs} +3 -3
  31. package/dist/cli/{chunk-75LPU4AO.js → chunk-LM5UIDFA.js} +7 -7
  32. package/dist/cli/{chunk-VHXDX7WY.mjs → chunk-LMUOUIBV.mjs} +5 -5
  33. package/dist/cli/{chunk-WOG5SFF2.mjs → chunk-NBHCEVWY.mjs} +4 -4
  34. package/dist/cli/{chunk-OKAZHDYN.js → chunk-O3K22ZC7.js} +24 -12
  35. package/dist/cli/{chunk-6MRJ3SMS.mjs → chunk-OTQ2CO6M.mjs} +2 -2
  36. package/dist/cli/{chunk-CEJFXV7R.mjs → chunk-QJ4FWKUU.mjs} +2 -2
  37. package/dist/cli/{chunk-RXKFJTFH.mjs → chunk-QXWE6PHI.mjs} +2 -2
  38. package/dist/cli/{chunk-JZNSRGDL.js → chunk-R23HZ6AV.js} +2 -2
  39. package/dist/cli/{chunk-DJJ2UYSX.mjs → chunk-RACN23LT.mjs} +4 -4
  40. package/dist/cli/{chunk-WXEAAVBK.js → chunk-RI2PLVD4.js} +7 -7
  41. package/dist/cli/{chunk-QZ4DVKYU.js → chunk-S4F2R2LO.js} +9 -9
  42. package/dist/cli/{chunk-VPSK464I.mjs → chunk-S5PMBDY6.mjs} +10 -10
  43. package/dist/cli/{chunk-6YMPAQEI.js → chunk-SZHNIKTR.js} +26 -26
  44. package/dist/cli/{chunk-YWRMI4WC.mjs → chunk-TMQ3PCSY.mjs} +2 -2
  45. package/dist/cli/{chunk-FMN7S7KB.js → chunk-UI67QLIR.js} +53 -53
  46. package/dist/cli/{chunk-NDUZXNGV.js → chunk-UYZNRLDE.js} +6 -1
  47. package/dist/cli/{chunk-E2CSKE27.js → chunk-UZ7VPOTA.js} +3 -3
  48. package/dist/cli/{chunk-ZOENOU2W.js → chunk-VP65YKOA.js} +5 -5
  49. package/dist/cli/{chunk-YIVYI5XH.js → chunk-WIKIF67Q.js} +8 -8
  50. package/dist/cli/{chunk-JWTTCWZM.mjs → chunk-WRJ6MEY5.mjs} +1 -1
  51. package/dist/cli/{chunk-5BWN4XAO.mjs → chunk-Y3SG26KP.mjs} +4 -4
  52. package/dist/cli/{chunk-4LMPONJM.mjs → chunk-YEX3VNAY.mjs} +2 -2
  53. package/dist/cli/{chunk-HKK3NTTF.js → chunk-YSB44HZB.js} +2 -2
  54. package/dist/cli/{chunk-RFBM4KSE.mjs → chunk-ZICPJKMP.mjs} +5 -5
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-42ZQOY2Y.mjs → csv-WAD54M7T.mjs} +4 -4
  58. package/dist/cli/{csv-IKHCVOV5.js → csv-XTKN255I.js} +13 -13
  59. package/dist/cli/{db-B3RLPXTA.mjs → db-2ELZMJFC.mjs} +6 -6
  60. package/dist/cli/{db-3AWAIV6O.js → db-TTS6Y4FI.js} +27 -27
  61. package/dist/cli/describe-2V7H5LJP.js +49 -0
  62. package/dist/cli/{describe-NEPMNE33.mjs → describe-Z7GWMGKU.mjs} +17 -17
  63. package/dist/cli/{executions-W53OBSB6.mjs → executions-2TQH54AB.mjs} +6 -6
  64. package/dist/cli/{executions-3KJXWIGK.js → executions-WUBVVJXN.js} +8 -8
  65. package/dist/cli/{feedback-3MSNFC6M.js → feedback-6KAY4LE6.js} +8 -8
  66. package/dist/cli/{feedback-GJNATGAP.mjs → feedback-QI75ZVF2.mjs} +4 -4
  67. package/dist/cli/{git-5BWKZFNE.mjs → git-3PI2SXVS.mjs} +5 -5
  68. package/dist/cli/git-DCADFTQ6.js +25 -0
  69. package/dist/cli/index.js +141 -141
  70. package/dist/cli/index.mjs +41 -41
  71. package/dist/cli/{legacy-noops-GSW6TMAJ.js → legacy-noops-BNEVRTQT.js} +8 -8
  72. package/dist/cli/{legacy-noops-A7YMA3NB.mjs → legacy-noops-SIDE3HLT.mjs} +5 -5
  73. package/dist/cli/{monitors-24QFIRCI.mjs → monitors-BYQ5V5MX.mjs} +7 -7
  74. package/dist/cli/{monitors-T5RMXFKT.js → monitors-WRWVVXUZ.js} +91 -91
  75. package/dist/cli/{org-3JJQOXLF.js → org-KWCSSJ3Y.js} +72 -72
  76. package/dist/cli/{org-ZZPKJOQY.mjs → org-OZNDX3G2.mjs} +6 -6
  77. package/dist/cli/{pages-ZFCV37XK.mjs → pages-DXU3TNND.mjs} +6 -6
  78. package/dist/cli/{pages-3GK3SKKB.js → pages-OQVOMVF5.js} +17 -17
  79. package/dist/cli/{play-4MINBQNW.js → play-6D7U66KO.js} +312 -312
  80. package/dist/cli/{play-DX36FVSU.mjs → play-ZFG4HDDX.mjs} +17 -17
  81. package/dist/cli/{providers-Z4EYMZJM.mjs → providers-4RRQIK3Q.mjs} +6 -6
  82. package/dist/cli/{providers-YDQHY35D.js → providers-H7R3Z5HS.js} +9 -9
  83. package/dist/cli/{quickstart-OTZVKVIE.js → quickstart-FQ5E5G6O.js} +6 -6
  84. package/dist/cli/{quickstart-YMI4OECS.mjs → quickstart-TFKRPMCH.mjs} +4 -4
  85. package/dist/cli/{run-OBU3YFOJ.mjs → run-GRCGGUUM.mjs} +30 -134
  86. package/dist/cli/{run-P345MQLC.js → run-QRDJTXKB.js} +44 -148
  87. package/dist/cli/search-2FB7WQUS.js +32 -0
  88. package/dist/cli/{search-5FBWOI2H.mjs → search-OEVSDE3U.mjs} +7 -7
  89. package/dist/cli/{search-output-WOTMZA55.js → search-output-F6KBWKT2.js} +6 -6
  90. package/dist/cli/{search-output-673LGTLF.mjs → search-output-VK5ZDVKL.mjs} +4 -4
  91. package/dist/cli/{secrets-QX45TZJK.mjs → secrets-DCRVVQV2.mjs} +6 -6
  92. package/dist/cli/{secrets-IWYY42YD.js → secrets-KKAAZENS.js} +15 -15
  93. package/dist/cli/{sessions-ZUK654NJ.js → sessions-FDHENJVG.js} +6 -6
  94. package/dist/cli/{sessions-Z2ZB3EZ7.mjs → sessions-XVBIXCXU.mjs} +5 -5
  95. package/dist/cli/{settings-ZXXP7DHM.js → settings-36HMWFAP.js} +78 -78
  96. package/dist/cli/{settings-6VY7HTEE.mjs → settings-OBVR52US.mjs} +11 -11
  97. package/dist/cli/{setup-SD66A4OE.mjs → setup-KFYQZYP3.mjs} +9 -9
  98. package/dist/cli/{setup-RE7T3PAE.js → setup-M6OWOPMB.js} +47 -47
  99. package/dist/cli/{skills-ARPNJ7MN.mjs → skills-AZDPA6IQ.mjs} +7 -7
  100. package/dist/cli/skills-URCPOKZZ.js +33 -0
  101. package/dist/cli/tools-4G5J5NQP.js +56 -0
  102. package/dist/cli/{tools-R3TUCRX3.mjs → tools-F6XEUK7H.mjs} +16 -16
  103. package/dist/cli/{update-2DPZJQK4.mjs → update-QMGJRICE.mjs} +9 -9
  104. package/dist/cli/update-UWVL2OYA.js +33 -0
  105. package/dist/cli/{workflow-2WPRQNRF.mjs → workflow-L5WNCAPB.mjs} +7 -7
  106. package/dist/cli/{workflow-GIWX7OZC.js → workflow-M4YPUASM.js} +17 -17
  107. package/dist/index.js +9 -9
  108. package/dist/index.mjs +6 -6
  109. package/dist/install-integrity.json +100 -100
  110. package/dist/release.d.mts +5 -1
  111. package/dist/release.d.ts +5 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/dist/server.js +5 -5
  115. package/dist/server.mjs +3 -3
  116. package/package.json +1 -1
  117. package/dist/cli/auth-Q4U7IFFV.js +0 -43
  118. package/dist/cli/describe-HLO35E5Y.js +0 -49
  119. package/dist/cli/git-WRFBKH6H.js +0 -25
  120. package/dist/cli/search-IV22OQLS.js +0 -32
  121. package/dist/cli/skills-ZDKFUVNP.js +0 -33
  122. package/dist/cli/tools-AUU42AVE.js +0 -56
  123. package/dist/cli/update-QLF3A6YY.js +0 -33
@@ -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 _chunkXVSMWD6Ejs = require('./chunk-XVSMWD6E.js');
3
+ var _chunk5DEJ3TLBjs = require('./chunk-5DEJ3TLB.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
7
+ var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkXVSMWD6Ejs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk5DEJ3TLBjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkE2CSKE27js.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkE2CSKE27js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkUZ7VPOTAjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -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 _chunkJZNSRGDLjs = require('./chunk-JZNSRGDL.js');
4
+ var _chunkR23HZ6AVjs = require('./chunk-R23HZ6AV.js');
5
5
 
6
6
 
7
- var _chunkTY7AFVACjs = require('./chunk-TY7AFVAC.js');
7
+ var _chunk4EFD6R2Vjs = require('./chunk-4EFD6R2V.js');
8
8
 
9
9
 
10
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
10
+ var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
11
11
 
12
12
 
13
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
13
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
14
14
 
15
15
 
16
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
16
+ var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.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 = _chunkFMN7S7KBjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkUI67QLIRjs.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 ? _chunkJZNSRGDLjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkJZNSRGDLjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkR23HZ6AVjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkR23HZ6AVjs.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()]) || _chunkE2CSKE27js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkUZ7VPOTAjs.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 = _chunkFMN7S7KBjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkUI67QLIRjs.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, () => ( _chunkE2CSKE27js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkUZ7VPOTAjs.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 _chunkTY7AFVACjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunk4EFD6R2Vjs.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
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
1284
+ _chunkRI2PLVD4js.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
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkRI2PLVD4js.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
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
1327
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion