deepline 0.3.567 → 0.3.568

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 (154) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +33 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +21 -0
  4. package/dist/cli/{auth-IYYQA4ZO.mjs → auth-AV6JJ2Y6.mjs} +5 -5
  5. package/dist/cli/auth-IPONFGG7.js +44 -0
  6. package/dist/cli/{billing-HSUA42W6.js → billing-3RUXM4OW.js} +102 -102
  7. package/dist/cli/{billing-B37Z3HQJ.mjs → billing-3RVJZROW.mjs} +9 -9
  8. package/dist/cli/{chunk-7RNBGBTS.js → chunk-2BWPNLYG.js} +9 -9
  9. package/dist/cli/{chunk-RIR3YNNB.js → chunk-4PAGRUZA.js} +15 -15
  10. package/dist/cli/{chunk-IPOAJ56O.mjs → chunk-4QGZUHDF.mjs} +5 -5
  11. package/dist/cli/{chunk-OOFYQCNU.js → chunk-5KDMJLQX.js} +5 -5
  12. package/dist/cli/{chunk-LTJQCMEM.js → chunk-5KHSPLPO.js} +20 -20
  13. package/dist/cli/{chunk-WIKOKQJV.js → chunk-5NBR7V5U.js} +1 -1
  14. package/dist/cli/{chunk-OD4LINNE.mjs → chunk-5SOJGKQM.mjs} +1 -1
  15. package/dist/cli/{chunk-GFETP5X7.js → chunk-7X34FUYS.js} +7 -7
  16. package/dist/cli/{chunk-3GRMC25W.mjs → chunk-AAXGFMYQ.mjs} +19 -1
  17. package/dist/cli/{chunk-Z75WS3TZ.js → chunk-ANRKUFUG.js} +100 -100
  18. package/dist/cli/{chunk-S72EZ4R5.mjs → chunk-BXNCAZ7G.mjs} +1 -1
  19. package/dist/cli/{chunk-AC37TMJX.js → chunk-D2DYHEH7.js} +23 -23
  20. package/dist/cli/{chunk-L5UB7RF2.js → chunk-DIPM4GTS.js} +5 -5
  21. package/dist/cli/{chunk-A5VWMZY4.js → chunk-F62RQL3X.js} +3 -3
  22. package/dist/cli/{chunk-FRQYUWGF.mjs → chunk-FQIOTHEZ.mjs} +1 -1
  23. package/dist/cli/{chunk-KOMEYB7H.mjs → chunk-G7GN3RGE.mjs} +1 -0
  24. package/dist/cli/{chunk-HYYWZFYF.mjs → chunk-GLTA22I3.mjs} +65 -3
  25. package/dist/cli/{chunk-JBXDWAGB.mjs → chunk-GXSJTCCG.mjs} +4 -4
  26. package/dist/cli/{chunk-V5YGEK5Q.js → chunk-H4BU2RRU.js} +26 -8
  27. package/dist/cli/{chunk-4FTTLJVV.mjs → chunk-HQX2P4NH.mjs} +1 -1
  28. package/dist/cli/{chunk-OUKIU4AE.js → chunk-JIEUKZ7J.js} +2 -2
  29. package/dist/cli/{chunk-35TWSBEO.js → chunk-JJSKWDUI.js} +6 -6
  30. package/dist/cli/{chunk-MMWD3ZTQ.mjs → chunk-JPSKSXNS.mjs} +2 -2
  31. package/dist/cli/{chunk-PFJNZUUK.js → chunk-JRTB75JO.js} +75 -13
  32. package/dist/cli/{chunk-FT7OSIWX.mjs → chunk-JT7S45KT.mjs} +3 -3
  33. package/dist/cli/{chunk-XG5NEJOK.js → chunk-KKIDGS7O.js} +10 -10
  34. package/dist/cli/{chunk-LZV3AJAX.mjs → chunk-KMWH6VY2.mjs} +2 -2
  35. package/dist/cli/{chunk-5D3QECRX.js → chunk-LKXBFVYU.js} +53 -53
  36. package/dist/cli/{chunk-GWKHJ6BN.mjs → chunk-LQTLFFUB.mjs} +2 -2
  37. package/dist/cli/{chunk-4ACBVZ44.mjs → chunk-M3IMARRH.mjs} +1 -1
  38. package/dist/cli/{chunk-ASIXRCHD.mjs → chunk-MOJOAX3X.mjs} +3 -3
  39. package/dist/cli/{chunk-CR7U44AW.js → chunk-O4FCX6BS.js} +3 -3
  40. package/dist/cli/{chunk-4FVLQFCF.js → chunk-OWSTUCIB.js} +5 -5
  41. package/dist/cli/{chunk-P4GUUPIV.js → chunk-PE2XN2VM.js} +2 -2
  42. package/dist/cli/{chunk-OPGDVTAQ.js → chunk-PPQHQ4J2.js} +48 -48
  43. package/dist/cli/{chunk-6DJHNVGT.mjs → chunk-QVERY22Q.mjs} +2 -2
  44. package/dist/cli/{chunk-YDXPAUGF.mjs → chunk-RH3WIX2W.mjs} +2 -2
  45. package/dist/cli/{chunk-KHZVZOJF.js → chunk-RJJNXV36.js} +20 -20
  46. package/dist/cli/{chunk-3E2C6CIE.js → chunk-RUAEON5J.js} +4 -4
  47. package/dist/cli/{chunk-SDJ5CTZX.js → chunk-RZMU7ISG.js} +26 -26
  48. package/dist/cli/{chunk-AUXDJJYK.mjs → chunk-S2HGTJET.mjs} +5 -5
  49. package/dist/cli/{chunk-C67KGU5G.mjs → chunk-SHO6BOXN.mjs} +11 -11
  50. package/dist/cli/{chunk-3TJKNRHY.mjs → chunk-SONHOBIK.mjs} +2 -2
  51. package/dist/cli/{chunk-RSQ6AVH3.mjs → chunk-TM3Z7JXT.mjs} +1 -1
  52. package/dist/cli/{chunk-ZPD6SPP2.mjs → chunk-TSNVG3T5.mjs} +1 -1
  53. package/dist/cli/{chunk-LQRWLQAQ.js → chunk-UPUBCTSS.js} +2 -2
  54. package/dist/cli/{chunk-64CQF2JL.mjs → chunk-V5WFPMUC.mjs} +4 -4
  55. package/dist/cli/{chunk-KOBUUBOO.mjs → chunk-VEPXXRHO.mjs} +2 -2
  56. package/dist/cli/{chunk-6TLCP356.mjs → chunk-VIMSKO7W.mjs} +5 -5
  57. package/dist/cli/{chunk-PH4SALNI.mjs → chunk-VVGHZ7S6.mjs} +1 -1
  58. package/dist/cli/{chunk-YRRXHWQ2.mjs → chunk-VW2EUXY2.mjs} +5 -5
  59. package/dist/cli/{chunk-ZNXUAZDK.js → chunk-WYXXJA5J.js} +41 -41
  60. package/dist/cli/{chunk-NQ6NYC54.js → chunk-Y4Q4LQRX.js} +13 -13
  61. package/dist/cli/{chunk-OEVCKW2M.js → chunk-ZVJ2YNAH.js} +1 -0
  62. package/dist/cli/command-docs.js +2 -2
  63. package/dist/cli/command-docs.mjs +1 -1
  64. package/dist/cli/concurrent-runs-help-66WCD2Y4.js +22 -0
  65. package/dist/cli/{concurrent-runs-help-P5TBHSRA.mjs → concurrent-runs-help-SJ27PPHV.mjs} +6 -6
  66. package/dist/cli/{csv-2F5LOZUT.js → csv-BGXZKS5R.js} +13 -13
  67. package/dist/cli/{csv-KPYMOFM2.mjs → csv-ZN4QI6PJ.mjs} +4 -4
  68. package/dist/cli/{db-4H4CJFI2.js → db-KTAZ5FBG.js} +27 -27
  69. package/dist/cli/{db-URVQ2LNU.mjs → db-SVBVPMWN.mjs} +6 -6
  70. package/dist/cli/{describe-KV6RFX2K.mjs → describe-4CGCRK24.mjs} +18 -18
  71. package/dist/cli/describe-M3MOFAVN.js +50 -0
  72. package/dist/cli/describe-core.d.mts +2 -2
  73. package/dist/cli/describe-core.d.ts +2 -2
  74. package/dist/cli/{executions-BAAJY5LB.js → executions-75DO2GBS.js} +8 -8
  75. package/dist/cli/{executions-NFQCGCBK.mjs → executions-YL5CTGWP.mjs} +6 -6
  76. package/dist/cli/{feedback-Y3WJ5VTT.js → feedback-2SMUBQZR.js} +14 -14
  77. package/dist/cli/{feedback-UF2TRDNI.mjs → feedback-VEA3XJM3.mjs} +6 -6
  78. package/dist/cli/{git-EIURJKMS.mjs → git-BEYEHMCX.mjs} +5 -5
  79. package/dist/cli/git-XDS5BHBG.js +26 -0
  80. package/dist/cli/index.js +147 -147
  81. package/dist/cli/index.mjs +46 -46
  82. package/dist/cli/{integrations-YVBIIULS.js → integrations-PIXZBU2N.js} +29 -29
  83. package/dist/cli/{integrations-TPEILZYO.mjs → integrations-RXWE6WUZ.mjs} +7 -7
  84. package/dist/cli/{legacy-noops-EVEQ4T2F.mjs → legacy-noops-PJHP4GRU.mjs} +6 -6
  85. package/dist/cli/{legacy-noops-K5YAE7DD.js → legacy-noops-XHVEYEJN.js} +9 -9
  86. package/dist/cli/{mcp-NADIFFBS.js → mcp-276ZFIUM.js} +24 -24
  87. package/dist/cli/{mcp-7UX5HDKR.mjs → mcp-SUOIVUOM.mjs} +4 -4
  88. package/dist/cli/{monitors-V2XU3WU3.mjs → monitors-AVGNLV7V.mjs} +7 -7
  89. package/dist/cli/{monitors-TOWPB2IO.js → monitors-DGBB7X4G.js} +100 -100
  90. package/dist/cli/{org-S2UZTR74.js → org-U5275K5D.js} +121 -121
  91. package/dist/cli/{org-J2FDLRIR.mjs → org-WKP2BZJQ.mjs} +6 -6
  92. package/dist/cli/{outcomes-ECG7SORM.mjs → outcomes-H3RAH5ES.mjs} +6 -6
  93. package/dist/cli/{outcomes-DIU4I6IA.js → outcomes-LSCS6QE5.js} +14 -14
  94. package/dist/cli/{play-SIYRTGQF.mjs → play-7MSJU3LP.mjs} +19 -19
  95. package/dist/cli/{play-LW5RPGMR.js → play-GNT7SITC.js} +324 -324
  96. package/dist/cli/{providers-G4FAPJ6K.js → providers-KTEG2ZNS.js} +9 -9
  97. package/dist/cli/{providers-5VIQLQGV.mjs → providers-YDKHHCO4.mjs} +6 -6
  98. package/dist/cli/{quickstart-IPM5YDLX.mjs → quickstart-F6IH43NP.mjs} +4 -4
  99. package/dist/cli/{quickstart-6NLZQN2K.js → quickstart-T2NJMACU.js} +6 -6
  100. package/dist/cli/{run-Z3TL5ZOG.mjs → run-AJB4MQGO.mjs} +23 -23
  101. package/dist/cli/{run-VGIB7CJB.js → run-MIRJIW45.js} +44 -44
  102. package/dist/cli/{search-2CLGFCVP.mjs → search-V6YPFL6J.mjs} +7 -7
  103. package/dist/cli/search-YPZ575MY.js +32 -0
  104. package/dist/cli/{search-output-O6RCBYN6.mjs → search-output-4VDZLO42.mjs} +4 -4
  105. package/dist/cli/{search-output-FEB5JLB5.js → search-output-GGCIICSW.js} +6 -6
  106. package/dist/cli/{secrets-OVVWC2HX.js → secrets-L2VDRZDZ.js} +15 -15
  107. package/dist/cli/{secrets-RBHLBJHA.mjs → secrets-XUENPM5D.mjs} +6 -6
  108. package/dist/cli/sessions-GJLSOVLW.js +23 -0
  109. package/dist/cli/{sessions-PFA3PFXV.mjs → sessions-W7LHEE35.mjs} +6 -6
  110. package/dist/cli/{settings-N54VKHLV.mjs → settings-IVFOUU7V.mjs} +12 -12
  111. package/dist/cli/{settings-V5OAQOFP.js → settings-NB6Y53VR.js} +85 -85
  112. package/dist/cli/{setup-XF3KBJ6Y.js → setup-2F42I4HW.js} +49 -49
  113. package/dist/cli/{setup-2EZ563DR.mjs → setup-QUL7OO6A.mjs} +9 -9
  114. package/dist/cli/skills-2KAEOH2N.js +37 -0
  115. package/dist/cli/{skills-7DULCICX.mjs → skills-SL3DNAH6.mjs} +7 -7
  116. package/dist/cli/{tools-NC5IVGAT.mjs → tools-TD5EJ2UD.mjs} +17 -17
  117. package/dist/cli/tools-W6223Q4W.js +57 -0
  118. package/dist/cli/update-IZBYF422.js +37 -0
  119. package/dist/cli/{update-4H3GBUVU.mjs → update-Z53GM6PX.mjs} +9 -9
  120. package/dist/cli/{views-CEGJLVO7.js → views-VAQGFKXN.js} +21 -21
  121. package/dist/cli/{views-O2V4FIII.mjs → views-ZB6AOING.mjs} +6 -6
  122. package/dist/cli/{workflow-SGWK2I2Z.mjs → workflow-OKDLEK3G.mjs} +7 -7
  123. package/dist/cli/{workflow-EJNNNQOE.js → workflow-PSIQ5HVP.js} +17 -17
  124. package/dist/{client-vUZGmXT9.d.ts → client-B8_eh5F-.d.ts} +1 -1
  125. package/dist/{client-B5cSKEi4.d.mts → client-D5mo-R-t.d.mts} +1 -1
  126. package/dist/{client-core-BP19BoBb.d.mts → client-core-BPu-brbA.d.mts} +19 -0
  127. package/dist/{client-core-Deqov12F.d.ts → client-core-Br12Asu-.d.ts} +19 -0
  128. package/dist/index.d.mts +3 -3
  129. package/dist/index.d.ts +3 -3
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +118 -118
  133. package/dist/plays/play-description.d.mts +1 -1
  134. package/dist/plays/play-description.d.ts +1 -1
  135. package/dist/plays/run-request.d.mts +1 -1
  136. package/dist/plays/run-request.d.ts +1 -1
  137. package/dist/release.d.mts +1 -1
  138. package/dist/release.d.ts +1 -1
  139. package/dist/release.js +2 -2
  140. package/dist/release.mjs +1 -1
  141. package/dist/server.d.mts +2 -2
  142. package/dist/server.d.ts +2 -2
  143. package/dist/server.js +5 -5
  144. package/dist/server.mjs +3 -3
  145. package/package.json +1 -1
  146. package/dist/cli/auth-KI3KBLRD.js +0 -44
  147. package/dist/cli/concurrent-runs-help-7SA3A2K5.js +0 -22
  148. package/dist/cli/describe-R7QLYW6K.js +0 -50
  149. package/dist/cli/git-TIF77U5E.js +0 -26
  150. package/dist/cli/search-BJFP7VHT.js +0 -32
  151. package/dist/cli/sessions-HCKHUILD.js +0 -23
  152. package/dist/cli/skills-TZC2JNIZ.js +0 -37
  153. package/dist/cli/tools-ECUMBLZB.js +0 -57
  154. package/dist/cli/update-4AAEZJ64.js +0 -37
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  concurrentRunsLine
3
- } from "./chunk-6DJHNVGT.mjs";
4
- import "./chunk-ASIXRCHD.mjs";
3
+ } from "./chunk-QVERY22Q.mjs";
4
+ import "./chunk-MOJOAX3X.mjs";
5
5
  import {
6
6
  DeeplineClient
7
- } from "./chunk-GWKHJ6BN.mjs";
7
+ } from "./chunk-LQTLFFUB.mjs";
8
8
  import {
9
9
  PUBLIC_PLAN_SKUS,
10
10
  iterateCursorPages,
11
11
  requireBillingIdempotencyKey
12
- } from "./chunk-3GRMC25W.mjs";
12
+ } from "./chunk-AAXGFMYQ.mjs";
13
13
  import "./chunk-FZHMNK6F.mjs";
14
14
  import "./chunk-5TYLSS4Q.mjs";
15
15
  import "./chunk-PSX3WHIH.mjs";
16
16
  import {
17
17
  PLAY_RUNTIME_PRICING_NOTE
18
- } from "./chunk-KOMEYB7H.mjs";
18
+ } from "./chunk-G7GN3RGE.mjs";
19
19
  import {
20
20
  PRICING_PAGE_NOTE
21
21
  } from "./chunk-2RIKOPIM.mjs";
@@ -32,9 +32,9 @@ import {
32
32
  openInBrowser,
33
33
  printCommandEnvelope,
34
34
  shouldEmitJson
35
- } from "./chunk-3TJKNRHY.mjs";
36
- import "./chunk-ZPD6SPP2.mjs";
37
- import "./chunk-OD4LINNE.mjs";
35
+ } from "./chunk-SONHOBIK.mjs";
36
+ import "./chunk-TSNVG3T5.mjs";
37
+ import "./chunk-5SOJGKQM.mjs";
38
38
  import {
39
39
  AuthError,
40
40
  ConfigError
@@ -44,7 +44,7 @@ import {
44
44
  DeeplineError
45
45
  } from "./chunk-Z3A2S3QM.mjs";
46
46
  import "./chunk-2MGZAI54.mjs";
47
- import "./chunk-FRQYUWGF.mjs";
47
+ import "./chunk-FQIOTHEZ.mjs";
48
48
  import "./chunk-WZYKRD7T.mjs";
49
49
  import "./chunk-KRD6H754.mjs";
50
50
 
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkV5YGEK5Qjs = require('./chunk-V5YGEK5Q.js');
6
+ var _chunkH4BU2RRUjs = require('./chunk-H4BU2RRU.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
14
+ var _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkLTJQCMEMjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunk5KHSPLPOjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkLTJQCMEMjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkLTJQCMEMjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunk5KHSPLPOjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk5KHSPLPOjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunkV5YGEK5Qjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkH4BU2RRUjs.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkV5YGEK5Qjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkH4BU2RRUjs.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkLTJQCMEMjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkLTJQCMEMjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk5KHSPLPOjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunk5KHSPLPOjs.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkLTJQCMEMjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk5KHSPLPOjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkZ75WS3TZjs = require('./chunk-Z75WS3TZ.js');
3
+ var _chunkANRKUFUGjs = require('./chunk-ANRKUFUG.js');
4
4
 
5
5
 
6
- var _chunkGFETP5X7js = require('./chunk-GFETP5X7.js');
6
+ var _chunk7X34FUYSjs = require('./chunk-7X34FUYS.js');
7
7
 
8
8
 
9
9
 
@@ -14,16 +14,16 @@ var _chunk6ASDTHENjs = require('./chunk-6ASDTHEN.js');
14
14
  var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
15
15
 
16
16
 
17
- var _chunkOOFYQCNUjs = require('./chunk-OOFYQCNU.js');
17
+ var _chunk5KDMJLQXjs = require('./chunk-5KDMJLQX.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
22
+ var _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
26
+ var _chunkO4FCX6BSjs = require('./chunk-O4FCX6BS.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkLTJQCMEMjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunk5KHSPLPOjs.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkCR7U44AWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkO4FCX6BSjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkO4FCX6BSjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkLTJQCMEMjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunk5KHSPLPOjs.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunk6ASDTHENjs.findNamed.call(void 0, name, options, _chunk6ASDTHENjs.describeLookupsFor.call(void 0, new (0, _chunkOOFYQCNUjs.DeeplineClient)()));
55
+ return _chunk6ASDTHENjs.findNamed.call(void 0, name, options, _chunk6ASDTHENjs.describeLookupsFor.call(void 0, new (0, _chunk5KDMJLQXjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkOOFYQCNUjs.DeeplineClient)();
58
+ const client = new (0, _chunk5KDMJLQXjs.DeeplineClient)();
59
59
  const lookups = _chunk6ASDTHENjs.describeLookupsFor.call(void 0, client);
60
60
  const outcome = await _chunk6ASDTHENjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkZ75WS3TZjs.seedToolListScript
64
+ seedStarterScript: _chunkANRKUFUGjs.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -90,18 +90,18 @@ function deliver(envelope, lines, { json, out }) {
90
90
  ` : text;
91
91
  _fs.writeFileSync.call(void 0, path, content);
92
92
  const bytes = Buffer.byteLength(content);
93
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
93
+ _chunk5KHSPLPOjs.printCommandEnvelope.call(void 0,
94
94
  { path, bytes },
95
95
  { json, text: `Wrote ${path} (${bytes} bytes)
96
96
  ` }
97
97
  );
98
98
  return 0;
99
99
  }
100
- _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
+ _chunk5KHSPLPOjs.printCommandEnvelope.call(void 0, envelope, { json, text });
101
101
  return 0;
102
102
  }
103
103
  function registerDescribeCommand(program) {
104
- _chunkGFETP5X7js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
+ _chunk7X34FUYSjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
105
105
  "Describe anything search returns: a tool, monitor type, or play."
106
106
  ).addHelpText(
107
107
  "after",
@@ -4,22 +4,22 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-6TLCP356.mjs";
7
+ } from "./chunk-VIMSKO7W.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  resolveShellSpawn,
11
11
  syncSdkSkillsIfNeeded
12
- } from "./chunk-AUXDJJYK.mjs";
12
+ } from "./chunk-S2HGTJET.mjs";
13
13
  import {
14
14
  addJsonNotice,
15
15
  isJsonOutputMode
16
- } from "./chunk-3TJKNRHY.mjs";
16
+ } from "./chunk-SONHOBIK.mjs";
17
17
  import {
18
18
  resolveApiKeyForBaseUrl
19
- } from "./chunk-ZPD6SPP2.mjs";
19
+ } from "./chunk-TSNVG3T5.mjs";
20
20
  import {
21
21
  SDK_VERSION
22
- } from "./chunk-OD4LINNE.mjs";
22
+ } from "./chunk-5SOJGKQM.mjs";
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -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 _chunkV5YGEK5Qjs = require('./chunk-V5YGEK5Q.js');
3
+ var _chunkH4BU2RRUjs = require('./chunk-H4BU2RRU.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
7
+ var _chunkO4FCX6BSjs = require('./chunk-O4FCX6BS.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkV5YGEK5Qjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkH4BU2RRUjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkCR7U44AWjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkCR7U44AWjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkO4FCX6BSjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkO4FCX6BSjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
7
+ var _chunkO4FCX6BSjs = require('./chunk-O4FCX6BS.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunk3E2C6CIEjs = require('./chunk-3E2C6CIE.js');
14
+ var _chunkRUAEON5Jjs = require('./chunk-RUAEON5J.js');
15
15
 
16
16
 
17
17
 
@@ -331,7 +331,7 @@ function buildEnvironmentContext() {
331
331
  node_version: process.version,
332
332
  runtime: "Node.js",
333
333
  hostname: _os.hostname.call(void 0, ),
334
- agent_runtime: _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, )
334
+ agent_runtime: _chunkRUAEON5Jjs.detectAgentRuntime.call(void 0, )
335
335
  };
336
336
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
337
337
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -352,18 +352,18 @@ function buildEnvironmentContext() {
352
352
  return context;
353
353
  }
354
354
  function failureReportHeaders(apiKey) {
355
- const agentSessionId = _chunk3E2C6CIEjs.agentSessionIdFromEnvironment.call(void 0, );
355
+ const agentSessionId = _chunkRUAEON5Jjs.agentSessionIdFromEnvironment.call(void 0, );
356
356
  return {
357
- ..._chunk3E2C6CIEjs.deploymentProtectionHeaders.call(void 0, ),
357
+ ..._chunkRUAEON5Jjs.deploymentProtectionHeaders.call(void 0, ),
358
358
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
359
359
  Authorization: `Bearer ${apiKey}`,
360
360
  "Content-Type": "application/json",
361
- "User-Agent": `deepline-ts-sdk/${_chunk3E2C6CIEjs.SDK_VERSION}`,
361
+ "User-Agent": `deepline-ts-sdk/${_chunkRUAEON5Jjs.SDK_VERSION}`,
362
362
  "X-Deepline-Client-Family": "sdk",
363
363
  "X-Deepline-CLI-Family": "sdk",
364
- "X-Deepline-Agent-Runtime": _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, ),
365
- "X-Deepline-CLI-Version": _chunk3E2C6CIEjs.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunk3E2C6CIEjs.SDK_VERSION
364
+ "X-Deepline-Agent-Runtime": _chunkRUAEON5Jjs.detectAgentRuntime.call(void 0, ),
365
+ "X-Deepline-CLI-Version": _chunkRUAEON5Jjs.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunkRUAEON5Jjs.SDK_VERSION
367
367
  };
368
368
  }
369
369
  async function postFailureReport(input) {
@@ -391,7 +391,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
391
391
  if (isFailureReportingDisabled()) return false;
392
392
  let apiKey = "";
393
393
  try {
394
- apiKey = _chunkCR7U44AWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
+ apiKey = _chunkO4FCX6BSjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
395
395
  } catch (e2) {
396
396
  return false;
397
397
  }
@@ -418,7 +418,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
418
418
  failure_code: failureCode2,
419
419
  failure_stage: failureStage,
420
420
  error_body: "Automatic Deepline skills installation failed.",
421
- cli_version: _chunk3E2C6CIEjs.SDK_VERSION,
421
+ cli_version: _chunkRUAEON5Jjs.SDK_VERSION,
422
422
  context: {
423
423
  environment: buildEnvironmentContext(),
424
424
  skills_sync: {
@@ -538,7 +538,7 @@ function buildFailureReport(input) {
538
538
  failure_kind: failureKind,
539
539
  failure_code: code,
540
540
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
541
- cli_version: _chunk3E2C6CIEjs.SDK_VERSION,
541
+ cli_version: _chunkRUAEON5Jjs.SDK_VERSION,
542
542
  context: {
543
543
  base_url: redactFailureText(input.baseUrl, 400),
544
544
  command_summary: sanitizeCommand(input.argv),
@@ -558,8 +558,8 @@ async function maybeReportSdkCliFailure(input) {
558
558
  if (isServerLoggedPlayRunStartFailure(input)) return false;
559
559
  const exitCode = resolvedExitCode(input);
560
560
  if (!shouldReport({ exitCode, error: input.error })) return false;
561
- const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
- const apiKey = _chunkCR7U44AWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
561
+ const baseUrl = _chunkO4FCX6BSjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
+ const apiKey = _chunkO4FCX6BSjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
563
563
  if (!apiKey) return false;
564
564
  return postFailureReport({
565
565
  baseUrl,
@@ -914,8 +914,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
914
914
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
915
915
  var defaultBrowserCommandRunner = childProcess;
916
916
  function getAuthedHttpClient() {
917
- const config = _chunkCR7U44AWjs.resolveConfig.call(void 0, );
918
- return { config, http: new (0, _chunkCR7U44AWjs.HttpClient)(config) };
917
+ const config = _chunkO4FCX6BSjs.resolveConfig.call(void 0, );
918
+ return { config, http: new (0, _chunkO4FCX6BSjs.HttpClient)(config) };
919
919
  }
920
920
  function stableOsUserId() {
921
921
  try {
@@ -1256,7 +1256,7 @@ function collectLocalEnvInfo() {
1256
1256
  os: `${process.platform} ${process.arch}`,
1257
1257
  node_version: process.version,
1258
1258
  home_dir: homeDir,
1259
- agent_runtime: _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, )
1259
+ agent_runtime: _chunkRUAEON5Jjs.detectAgentRuntime.call(void 0, )
1260
1260
  };
1261
1261
  const env = process.env;
1262
1262
  const optional = {
@@ -1503,9 +1503,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1503
1503
  }
1504
1504
  function withAgentCommandContext(value) {
1505
1505
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1506
- return _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1506
+ return _chunkRUAEON5Jjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1507
1507
  ...valueRecord,
1508
- command_context: _chunkCR7U44AWjs.resolveCliCommandContext.call(void 0, )
1508
+ command_context: _chunkO4FCX6BSjs.resolveCliCommandContext.call(void 0, )
1509
1509
  } : value;
1510
1510
  }
1511
1511
  function printJson(value, fields, options = {}) {
@@ -1677,7 +1677,7 @@ function errorToJsonPayload(error) {
1677
1677
  ...upstreamResponse ? { upstreamResponse } : {},
1678
1678
  ...Object.keys(details).length > 0 ? { details } : {}
1679
1679
  };
1680
- const retry = cliRetryGuidance(payloadError, _chunk3E2C6CIEjs.readToolFailureHint.call(void 0, error));
1680
+ const retry = cliRetryGuidance(payloadError, _chunkRUAEON5Jjs.readToolFailureHint.call(void 0, error));
1681
1681
  return {
1682
1682
  ok: false,
1683
1683
  status: "failed",
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.567",
52
+ version: "0.3.568",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-2MGZAI54.mjs";
22
22
  import {
23
23
  SDK_RELEASE
24
- } from "./chunk-FRQYUWGF.mjs";
24
+ } from "./chunk-FQIOTHEZ.mjs";
25
25
 
26
26
  // src/version.ts
27
27
  var SDK_VERSION = SDK_RELEASE.version;
@@ -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 _chunk5KHSPLPOjs = require('./chunk-5KHSPLPO.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 _chunk5KHSPLPOjs.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 _chunk5KHSPLPOjs.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
+ _chunk5KHSPLPOjs.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 = _chunk5KHSPLPOjs.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
+ _chunk5KHSPLPOjs.writeRawStderr.call(void 0, text);
1036
+ _chunk5KHSPLPOjs.markJsonOutputHandled.call(void 0, );
1037
1037
  } else {
1038
1038
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1039
1039
  }
@@ -37,7 +37,7 @@ import {
37
37
  RETAINED_PIPELINE_RECEIVERS_HEADER,
38
38
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
39
39
  SDK_API_MAJOR
40
- } from "./chunk-OD4LINNE.mjs";
40
+ } from "./chunk-5SOJGKQM.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -6013,6 +6013,24 @@ var DeeplineClient = class _DeeplineClient {
6013
6013
  ...options?.expectedConnectionId ? { expected_connection_id: options.expectedConnectionId } : {}
6014
6014
  });
6015
6015
  }
6016
+ /**
6017
+ * Connect a provider with a Deepline-managed key (Lusha). Deepline creates
6018
+ * the key and bills usage through Deepline credits; the key is never
6019
+ * returned. `termsVersion` records which provider terms the caller accepted.
6020
+ */
6021
+ async connectManagedIntegration(provider, input) {
6022
+ return this.http.post("/api/v2/integrations/connect", {
6023
+ provider,
6024
+ credential_mode: "partner_managed",
6025
+ accept_terms: input.termsVersion !== void 0,
6026
+ ...input.termsVersion !== void 0 ? { terms_version: input.termsVersion } : {},
6027
+ company: {
6028
+ domain: input.company.domain,
6029
+ legal_name: input.company.legalName,
6030
+ country: input.company.country
6031
+ }
6032
+ });
6033
+ }
6016
6034
  /** Calendar discovery compatibility method. The managed pilot requires calendar IDs in tool and Play inputs. */
6017
6035
  async listAvailabilityCalendars(cursor) {
6018
6036
  const params = new URLSearchParams();