deepline 0.3.567 → 0.3.569

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 (155) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +53 -5
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -10
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +21 -0
  5. package/dist/cli/auth-77NOPZ6A.js +44 -0
  6. package/dist/cli/{auth-IYYQA4ZO.mjs → auth-VNJLXDGF.mjs} +5 -5
  7. package/dist/cli/{billing-B37Z3HQJ.mjs → billing-6HD5LEI2.mjs} +9 -9
  8. package/dist/cli/{billing-HSUA42W6.js → billing-OTIIK5ZQ.js} +102 -102
  9. package/dist/cli/{chunk-NQ6NYC54.js → chunk-3WZ3X46C.js} +13 -13
  10. package/dist/cli/{chunk-Z75WS3TZ.js → chunk-44HOKKIN.js} +100 -100
  11. package/dist/cli/{chunk-GWKHJ6BN.mjs → chunk-45OTCUAC.mjs} +2 -2
  12. package/dist/cli/{chunk-OUKIU4AE.js → chunk-4CLEOTG6.js} +2 -2
  13. package/dist/cli/{chunk-KOMEYB7H.mjs → chunk-64MOX3SN.mjs} +16 -3
  14. package/dist/cli/{chunk-3GRMC25W.mjs → chunk-6D4WBX7E.mjs} +33 -5
  15. package/dist/cli/{chunk-LZV3AJAX.mjs → chunk-6HEZRKAO.mjs} +2 -2
  16. package/dist/cli/{chunk-KOBUUBOO.mjs → chunk-6SBGYX25.mjs} +2 -2
  17. package/dist/cli/{chunk-LQRWLQAQ.js → chunk-6Z7B3IOW.js} +2 -2
  18. package/dist/cli/{chunk-AC37TMJX.js → chunk-7MZUSBSI.js} +23 -23
  19. package/dist/cli/{chunk-FT7OSIWX.mjs → chunk-7NP7WZV2.mjs} +3 -3
  20. package/dist/cli/{chunk-HYYWZFYF.mjs → chunk-7QH52S3E.mjs} +145 -10
  21. package/dist/cli/{chunk-4FTTLJVV.mjs → chunk-AKNJDDSM.mjs} +1 -1
  22. package/dist/cli/{chunk-A5VWMZY4.js → chunk-ANXJNE2G.js} +3 -3
  23. package/dist/cli/{chunk-RSQ6AVH3.mjs → chunk-CK6U2NH2.mjs} +1 -1
  24. package/dist/cli/{chunk-ZPD6SPP2.mjs → chunk-D3BJ2KZX.mjs} +1 -1
  25. package/dist/cli/{chunk-YDXPAUGF.mjs → chunk-DG6ILAO7.mjs} +2 -2
  26. package/dist/cli/{chunk-6DJHNVGT.mjs → chunk-EDNWMQZQ.mjs} +2 -2
  27. package/dist/cli/{chunk-JBXDWAGB.mjs → chunk-FPRLFIYT.mjs} +4 -4
  28. package/dist/cli/{chunk-LTJQCMEM.js → chunk-FSAOU4HA.js} +20 -20
  29. package/dist/cli/{chunk-MMWD3ZTQ.mjs → chunk-GSUHJUNZ.mjs} +2 -2
  30. package/dist/cli/{chunk-OPGDVTAQ.js → chunk-H3SQMLHO.js} +48 -48
  31. package/dist/cli/{chunk-3E2C6CIE.js → chunk-H7DRZXYF.js} +4 -4
  32. package/dist/cli/{chunk-5D3QECRX.js → chunk-HLRSNCPM.js} +53 -53
  33. package/dist/cli/{chunk-OD4LINNE.mjs → chunk-IEOIGU5A.mjs} +1 -1
  34. package/dist/cli/{chunk-ZNXUAZDK.js → chunk-IGIUAHTR.js} +41 -41
  35. package/dist/cli/{chunk-V5YGEK5Q.js → chunk-IS4NFIQY.js} +136 -108
  36. package/dist/cli/{chunk-4ACBVZ44.mjs → chunk-JXRWSBJZ.mjs} +1 -1
  37. package/dist/cli/{chunk-GFETP5X7.js → chunk-LOF7H5V3.js} +7 -7
  38. package/dist/cli/{chunk-KHZVZOJF.js → chunk-MIGJHZ3P.js} +20 -20
  39. package/dist/cli/{chunk-XG5NEJOK.js → chunk-N5ZOD3LA.js} +10 -10
  40. package/dist/cli/{chunk-OEVCKW2M.js → chunk-N6KF6X3D.js} +16 -3
  41. package/dist/cli/{chunk-64CQF2JL.mjs → chunk-OFBP336D.mjs} +4 -4
  42. package/dist/cli/{chunk-3TJKNRHY.mjs → chunk-P2LVKWU6.mjs} +2 -2
  43. package/dist/cli/{chunk-PFJNZUUK.js → chunk-PAFSVZCZ.js} +155 -20
  44. package/dist/cli/{chunk-P4GUUPIV.js → chunk-QKPKVLTG.js} +2 -2
  45. package/dist/cli/{chunk-35TWSBEO.js → chunk-QLMMNBJW.js} +6 -6
  46. package/dist/cli/{chunk-7RNBGBTS.js → chunk-S3VGWMFX.js} +9 -9
  47. package/dist/cli/{chunk-OOFYQCNU.js → chunk-S4MDYDCF.js} +5 -5
  48. package/dist/cli/{chunk-RIR3YNNB.js → chunk-SMAXLMM3.js} +15 -15
  49. package/dist/cli/{chunk-IPOAJ56O.mjs → chunk-SRMDDVWK.mjs} +5 -5
  50. package/dist/cli/{chunk-L5UB7RF2.js → chunk-SWREMC6J.js} +5 -5
  51. package/dist/cli/{chunk-FRQYUWGF.mjs → chunk-TALKTQK5.mjs} +1 -1
  52. package/dist/cli/{chunk-4FVLQFCF.js → chunk-TH2GHSF6.js} +5 -5
  53. package/dist/cli/{chunk-S72EZ4R5.mjs → chunk-TRE5X6VQ.mjs} +1 -1
  54. package/dist/cli/{chunk-WIKOKQJV.js → chunk-TZVKEUM6.js} +1 -1
  55. package/dist/cli/{chunk-C67KGU5G.mjs → chunk-UOMMXLDU.mjs} +11 -11
  56. package/dist/cli/{chunk-YRRXHWQ2.mjs → chunk-WPCY5PR3.mjs} +5 -5
  57. package/dist/cli/{chunk-CR7U44AW.js → chunk-WVS2ITKP.js} +3 -3
  58. package/dist/cli/{chunk-ASIXRCHD.mjs → chunk-X4WPW5O3.mjs} +3 -3
  59. package/dist/cli/{chunk-6TLCP356.mjs → chunk-YLZ63U7S.mjs} +5 -5
  60. package/dist/cli/{chunk-PH4SALNI.mjs → chunk-YNSVWNRY.mjs} +1 -1
  61. package/dist/cli/{chunk-SDJ5CTZX.js → chunk-YTOILYBU.js} +26 -26
  62. package/dist/cli/{chunk-AUXDJJYK.mjs → chunk-YTYDKSK7.mjs} +5 -5
  63. package/dist/cli/command-docs.js +2 -2
  64. package/dist/cli/command-docs.mjs +1 -1
  65. package/dist/cli/{concurrent-runs-help-P5TBHSRA.mjs → concurrent-runs-help-BVBGDMNV.mjs} +6 -6
  66. package/dist/cli/concurrent-runs-help-QPUTOBFB.js +22 -0
  67. package/dist/cli/{csv-KPYMOFM2.mjs → csv-BUZIP2TV.mjs} +4 -4
  68. package/dist/cli/{csv-2F5LOZUT.js → csv-G25E43QV.js} +13 -13
  69. package/dist/cli/{db-URVQ2LNU.mjs → db-EUN7RRDX.mjs} +6 -6
  70. package/dist/cli/{db-4H4CJFI2.js → db-KYIDDEEE.js} +27 -27
  71. package/dist/cli/{describe-KV6RFX2K.mjs → describe-CTYSKRQB.mjs} +18 -18
  72. package/dist/cli/describe-PJIQSXJ4.js +50 -0
  73. package/dist/cli/describe-core.d.mts +2 -2
  74. package/dist/cli/describe-core.d.ts +2 -2
  75. package/dist/cli/{executions-NFQCGCBK.mjs → executions-BRSOIIV7.mjs} +6 -6
  76. package/dist/cli/{executions-BAAJY5LB.js → executions-LQA34Z76.js} +8 -8
  77. package/dist/cli/{feedback-UF2TRDNI.mjs → feedback-JYL2FTWI.mjs} +6 -6
  78. package/dist/cli/{feedback-Y3WJ5VTT.js → feedback-RVYWQRSZ.js} +14 -14
  79. package/dist/cli/{git-EIURJKMS.mjs → git-2Z2KYPCV.mjs} +5 -5
  80. package/dist/cli/git-MJRG55H7.js +26 -0
  81. package/dist/cli/index.js +147 -147
  82. package/dist/cli/index.mjs +46 -46
  83. package/dist/cli/{integrations-YVBIIULS.js → integrations-JK3OT5BT.js} +29 -29
  84. package/dist/cli/{integrations-TPEILZYO.mjs → integrations-QFS62VWE.mjs} +7 -7
  85. package/dist/cli/{legacy-noops-EVEQ4T2F.mjs → legacy-noops-NBKBFVDO.mjs} +6 -6
  86. package/dist/cli/{legacy-noops-K5YAE7DD.js → legacy-noops-RYP5LN5D.js} +9 -9
  87. package/dist/cli/{mcp-NADIFFBS.js → mcp-KPY7NZPI.js} +24 -24
  88. package/dist/cli/{mcp-7UX5HDKR.mjs → mcp-KVGJK3SM.mjs} +4 -4
  89. package/dist/cli/{monitors-TOWPB2IO.js → monitors-DE5SX3CP.js} +100 -100
  90. package/dist/cli/{monitors-V2XU3WU3.mjs → monitors-H3UWQMMI.mjs} +7 -7
  91. package/dist/cli/{org-S2UZTR74.js → org-CDCSMG3J.js} +121 -121
  92. package/dist/cli/{org-J2FDLRIR.mjs → org-N6I5K56T.mjs} +6 -6
  93. package/dist/cli/{outcomes-ECG7SORM.mjs → outcomes-EPEMTJVB.mjs} +6 -6
  94. package/dist/cli/{outcomes-DIU4I6IA.js → outcomes-UNAOLWWO.js} +14 -14
  95. package/dist/cli/{play-LW5RPGMR.js → play-7TVJ3DFQ.js} +324 -324
  96. package/dist/cli/{play-SIYRTGQF.mjs → play-VVM5XJFT.mjs} +19 -19
  97. package/dist/cli/{providers-5VIQLQGV.mjs → providers-47CT527B.mjs} +6 -6
  98. package/dist/cli/{providers-G4FAPJ6K.js → providers-ANYRJ56K.js} +9 -9
  99. package/dist/cli/{quickstart-6NLZQN2K.js → quickstart-H4MI6LVO.js} +6 -6
  100. package/dist/cli/{quickstart-IPM5YDLX.mjs → quickstart-QHMC5YCM.mjs} +4 -4
  101. package/dist/cli/{run-Z3TL5ZOG.mjs → run-NXC5W5CW.mjs} +23 -23
  102. package/dist/cli/{run-VGIB7CJB.js → run-V4UAYPAX.js} +44 -44
  103. package/dist/cli/{search-2CLGFCVP.mjs → search-BEU4VBY4.mjs} +7 -7
  104. package/dist/cli/search-TUK2STXB.js +32 -0
  105. package/dist/cli/{search-output-O6RCBYN6.mjs → search-output-DUA3WDB7.mjs} +4 -4
  106. package/dist/cli/{search-output-FEB5JLB5.js → search-output-NUGUU7VJ.js} +6 -6
  107. package/dist/cli/{secrets-OVVWC2HX.js → secrets-PFDBC5KO.js} +15 -15
  108. package/dist/cli/{secrets-RBHLBJHA.mjs → secrets-XQOOWTH2.mjs} +6 -6
  109. package/dist/cli/sessions-5333FFSY.js +23 -0
  110. package/dist/cli/{sessions-PFA3PFXV.mjs → sessions-U2ZS5R42.mjs} +6 -6
  111. package/dist/cli/{settings-V5OAQOFP.js → settings-ATYARYCR.js} +85 -85
  112. package/dist/cli/{settings-N54VKHLV.mjs → settings-GPDE7DL2.mjs} +12 -12
  113. package/dist/cli/{setup-XF3KBJ6Y.js → setup-4AYMU7NK.js} +49 -49
  114. package/dist/cli/{setup-2EZ563DR.mjs → setup-UDO6BY5A.mjs} +9 -9
  115. package/dist/cli/skills-LB56HJOY.js +37 -0
  116. package/dist/cli/{skills-7DULCICX.mjs → skills-RACTA7VV.mjs} +7 -7
  117. package/dist/cli/tools-3Y7KCKZX.js +57 -0
  118. package/dist/cli/{tools-NC5IVGAT.mjs → tools-TXI6XFHE.mjs} +17 -17
  119. package/dist/cli/update-EWOLMH3E.js +37 -0
  120. package/dist/cli/{update-4H3GBUVU.mjs → update-VHTKWNXO.mjs} +9 -9
  121. package/dist/cli/{views-CEGJLVO7.js → views-DVBO3L63.js} +21 -21
  122. package/dist/cli/{views-O2V4FIII.mjs → views-GCNEHB7D.mjs} +6 -6
  123. package/dist/cli/{workflow-SGWK2I2Z.mjs → workflow-R3A6EGB5.mjs} +7 -7
  124. package/dist/cli/{workflow-EJNNNQOE.js → workflow-TFRJ5JKX.js} +17 -17
  125. package/dist/{client-B5cSKEi4.d.mts → client-ClJlqkKt.d.mts} +1 -1
  126. package/dist/{client-vUZGmXT9.d.ts → client-DCnExziW.d.ts} +1 -1
  127. package/dist/{client-core-Deqov12F.d.ts → client-core-BKq5ZNAl.d.ts} +33 -2
  128. package/dist/{client-core-BP19BoBb.d.mts → client-core-DAOPQnGD.d.mts} +33 -2
  129. package/dist/index.d.mts +3 -3
  130. package/dist/index.d.ts +3 -3
  131. package/dist/index.js +9 -9
  132. package/dist/index.mjs +6 -6
  133. package/dist/install-integrity.json +118 -118
  134. package/dist/plays/play-description.d.mts +1 -1
  135. package/dist/plays/play-description.d.ts +1 -1
  136. package/dist/plays/run-request.d.mts +1 -1
  137. package/dist/plays/run-request.d.ts +1 -1
  138. package/dist/release.d.mts +1 -1
  139. package/dist/release.d.ts +1 -1
  140. package/dist/release.js +2 -2
  141. package/dist/release.mjs +1 -1
  142. package/dist/server.d.mts +2 -2
  143. package/dist/server.d.ts +2 -2
  144. package/dist/server.js +5 -5
  145. package/dist/server.mjs +3 -3
  146. package/package.json +1 -1
  147. package/dist/cli/auth-KI3KBLRD.js +0 -44
  148. package/dist/cli/concurrent-runs-help-7SA3A2K5.js +0 -22
  149. package/dist/cli/describe-R7QLYW6K.js +0 -50
  150. package/dist/cli/git-TIF77U5E.js +0 -26
  151. package/dist/cli/search-BJFP7VHT.js +0 -32
  152. package/dist/cli/sessions-HCKHUILD.js +0 -23
  153. package/dist/cli/skills-TZC2JNIZ.js +0 -37
  154. package/dist/cli/tools-ECUMBLZB.js +0 -57
  155. package/dist/cli/update-4AAEZJ64.js +0 -37
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-3TJKNRHY.mjs";
3
+ } from "./chunk-P2LVKWU6.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -9,7 +9,7 @@ var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
12
+ var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -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 _chunkLTJQCMEMjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
+ return _chunkFSAOU4HAjs.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 _chunkLTJQCMEMjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkFSAOU4HAjs.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
- _chunkLTJQCMEMjs.markJsonOutputHandled.call(void 0, );
773
+ _chunkFSAOU4HAjs.markJsonOutputHandled.call(void 0, );
774
774
  } else {
775
775
  printReceipt(receipt, options, {
776
776
  data: hasData ? result.data : void 0,
@@ -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 = _chunkLTJQCMEMjs.formatCliFailureDiagnostic.call(void 0, error);
942
+ const diagnostic = _chunkFSAOU4HAjs.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
- _chunkLTJQCMEMjs.writeRawStderr.call(void 0, text);
1036
- _chunkLTJQCMEMjs.markJsonOutputHandled.call(void 0, );
1035
+ _chunkFSAOU4HAjs.writeRawStderr.call(void 0, text);
1036
+ _chunkFSAOU4HAjs.markJsonOutputHandled.call(void 0, );
1037
1037
  } else {
1038
1038
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1039
1039
  }
@@ -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 _chunkOUKIU4AEjs = require('./chunk-OUKIU4AE.js');
4
+ var _chunk4CLEOTG6js = require('./chunk-4CLEOTG6.js');
5
5
 
6
6
 
7
- var _chunkZNXUAZDKjs = require('./chunk-ZNXUAZDK.js');
7
+ var _chunkIGIUAHTRjs = require('./chunk-IGIUAHTR.js');
8
8
 
9
9
 
10
- var _chunkOPGDVTAQjs = require('./chunk-OPGDVTAQ.js');
10
+ var _chunkH3SQMLHOjs = require('./chunk-H3SQMLHO.js');
11
11
 
12
12
 
13
- var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
13
+ var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
19
 
20
- var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
20
+ var _chunkWVS2ITKPjs = require('./chunk-WVS2ITKP.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 = _chunkOPGDVTAQjs.resolveShellSpawn.call(void 0,
502
+ const plan = _chunkH3SQMLHOjs.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 ? _chunkOUKIU4AEjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
- const npmGlobalInstallFlags = _chunkOUKIU4AEjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
564
+ const npmVersion = options.npmVersion === void 0 ? _chunk4CLEOTG6js.readNpmVersion.call(void 0, env) : options.npmVersion;
565
+ const npmGlobalInstallFlags = _chunk4CLEOTG6js.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()]) || _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, )
575
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkWVS2ITKPjs.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 = _chunkOPGDVTAQjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
824
+ const plan = _chunkH3SQMLHOjs.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(), _chunkCR7U44AWjs.DEFAULT_TIMEOUT);
1172
+ const timeout = setTimeout(() => controller.abort(), _chunkWVS2ITKPjs.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: _chunkCR7U44AWjs.TRANSIENT_HTTP_STATUSES.has(response.status),
1188
+ transient: _chunkWVS2ITKPjs.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, () => ( _chunkCR7U44AWjs.DEFAULT_MAX_RETRIES));
1223
- const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkCR7U44AWjs.defaultRetryBackoffMs));
1222
+ const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkWVS2ITKPjs.DEFAULT_MAX_RETRIES));
1223
+ const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkWVS2ITKPjs.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, () => ( _chunkCR7U44AWjs.autoDetectBaseUrl));
1286
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkWVS2ITKPjs.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 _chunkZNXUAZDKjs.runSkillsCommand.call(void 0, { json: true });
1293
+ const exitCode = await _chunkIGIUAHTRjs.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
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
1366
+ _chunkFSAOU4HAjs.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
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
1378
+ _chunkFSAOU4HAjs.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
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1391
+ _chunkFSAOU4HAjs.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
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
1429
+ _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
1430
1430
  {
1431
1431
  ok: true,
1432
1432
  pinnedVersion,
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkOOFYQCNUjs = require('./chunk-OOFYQCNU.js');
6
+ var _chunkS4MDYDCFjs = require('./chunk-S4MDYDCF.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
11
+ var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
15
+ var _chunkWVS2ITKPjs = require('./chunk-WVS2ITKP.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunkCR7U44AWjs.sdkCliStateDirPath.call(void 0, _chunkCR7U44AWjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkWVS2ITKPjs.sdkCliStateDirPath.call(void 0, _chunkWVS2ITKPjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkOOFYQCNUjs.DeeplineClient)();
135
+ const client = new (0, _chunkS4MDYDCFjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-FEB5JLB5.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-NUGUU7VJ.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkLTJQCMEMjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkLTJQCMEMjs.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkFSAOU4HAjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkFSAOU4HAjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
187
+ _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -1001,6 +1001,13 @@ Input:
1001
1001
  names in the error.
1002
1002
  --oauth prints an authorization URL. Open it in a browser signed into the
1003
1003
  same Deepline org and finish provider consent.
1004
+ Credentials and OAuth write the selected workspace's own connection when a
1005
+ workspace is selected (global --workspace, DEEPLINE_WORKSPACE_ID, or the one
1006
+ saved with deepline org workspace set); other workspaces keep theirs. With
1007
+ no workspace selected they write the org default, which every workspace
1008
+ without its own connection uses. --org-default writes the org default even
1009
+ when a workspace is selected. --managed keys are org-wide, so inside a
1010
+ selected workspace --managed requires --org-default.
1004
1011
  HubSpot: --preset read-crm, update-crm, marketing, sales-sequences, tickets, or all.
1005
1012
  all requests every supported capability, including write and admin access.
1006
1013
  For custom access use comma-separated --scopes and --optional-scopes instead
@@ -1010,9 +1017,12 @@ Input:
1010
1017
  Output:
1011
1018
  Link: dashboard URL, or {provider, connect_url} with --json. Share connect_url
1012
1019
  with the org owner or admin who will finish setup in the browser.
1013
- Credentials: confirmation without secret values.
1014
- OAuth: URL, or {provider, redirect_url} with --json. This does not confirm a
1015
- completed connection. The browser must finish authorization.
1020
+ Credentials: confirmation naming the workspace written, without secret
1021
+ values; {provider, credential_saved, team_id} with --json (team_id null is
1022
+ the org default).
1023
+ OAuth: URL and the workspace it connects, or {provider, redirect_url,
1024
+ team_id} with --json. This does not confirm a completed connection. The
1025
+ browser must finish authorization.
1016
1026
  --dry-run prints the proposed setup without starting OAuth, reading secret
1017
1027
  file contents, or saving credentials.
1018
1028
  Cost:
@@ -1020,7 +1030,10 @@ Cost:
1020
1030
  Examples:
1021
1031
  deepline integrations connect hubspot --link --json
1022
1032
  deepline integrations connect heyreach --credentials-file ./heyreach.json
1033
+ deepline --workspace <workspace-id> integrations connect heyreach --credentials-file ./heyreach.json
1034
+ deepline integrations connect heyreach --credentials-file ./heyreach.json --org-default
1023
1035
  deepline integrations connect hubspot --oauth --preset read-crm
1036
+ deepline integrations connect lusha --managed --accept-terms 2026-05-01 --company-domain acme.com --company-legal-name "Acme Inc." --company-country US
1024
1037
  `
1025
1038
  },
1026
1039
  "tools grep": {
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-GWKHJ6BN.mjs";
6
+ } from "./chunk-45OTCUAC.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-3TJKNRHY.mjs";
11
+ } from "./chunk-P2LVKWU6.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-ZPD6SPP2.mjs";
15
+ } from "./chunk-D3BJ2KZX.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-O6RCBYN6.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-DUA3WDB7.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-ZPD6SPP2.mjs";
7
+ } from "./chunk-D3BJ2KZX.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-OD4LINNE.mjs";
14
+ } from "./chunk-IEOIGU5A.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,