deepline 0.3.505 → 0.3.506

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 (162) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +121 -5
  2. package/dist/bundling-sources/sdk/src/index.ts +3 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +176 -0
  6. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -0
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/overview.ts +118 -0
  8. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +29 -1
  9. package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +29 -10
  10. package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +8 -8
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +52 -5
  13. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +48 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +13 -40
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +36 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +55 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +66 -0
  18. package/dist/cli/auth-MMHG2OFE.js +43 -0
  19. package/dist/cli/{auth-AHE2EDQA.mjs → auth-ZHFONT2D.mjs} +5 -5
  20. package/dist/cli/{billing-JOIZPHON.js → billing-3Z7N4WTL.js} +101 -91
  21. package/dist/cli/{billing-7CPWTGGI.mjs → billing-B2YEMNHE.mjs} +27 -17
  22. package/dist/cli/{chunk-CA3SYXCS.js → chunk-26DJ4BDY.js} +2 -2
  23. package/dist/cli/{chunk-PZN24YQQ.mjs → chunk-2CFTDVEP.mjs} +2 -2
  24. package/dist/cli/{chunk-OMEDQ77C.mjs → chunk-2IXXB7OA.mjs} +5 -5
  25. package/dist/cli/{chunk-XHPB6RGY.js → chunk-2OY5DXTC.js} +1 -1
  26. package/dist/cli/{chunk-CSLLQWAB.mjs → chunk-3BFZEHBH.mjs} +1 -1
  27. package/dist/cli/{chunk-3YEOOXD4.js → chunk-3F676QXJ.js} +11 -11
  28. package/dist/cli/{chunk-WTQLUULB.js → chunk-5ARG7J7A.js} +6 -6
  29. package/dist/cli/{chunk-NARJWXBR.mjs → chunk-6RYVIZRP.mjs} +2 -2
  30. package/dist/cli/{chunk-EMUFF6EU.js → chunk-75NAFY36.js} +7 -7
  31. package/dist/cli/{chunk-BWAYMJ23.js → chunk-AD2WJUZA.js} +91 -48
  32. package/dist/cli/{chunk-JVKEZT7L.mjs → chunk-AFSYNOG4.mjs} +22 -1
  33. package/dist/cli/{chunk-OA6U5NVB.mjs → chunk-BJ5OX62J.mjs} +5 -5
  34. package/dist/cli/{chunk-7DDKLFOY.mjs → chunk-BQBPVUFJ.mjs} +3 -3
  35. package/dist/cli/{chunk-UZ24SF7N.mjs → chunk-CHGRURBN.mjs} +5 -5
  36. package/dist/cli/{chunk-JA7YBRP4.mjs → chunk-D7OCORZ7.mjs} +1 -1
  37. package/dist/cli/{chunk-IDAE5VDH.js → chunk-DB54ROPH.js} +5 -5
  38. package/dist/cli/{chunk-GAUNJCXQ.js → chunk-E554XCJI.js} +96 -96
  39. package/dist/cli/{chunk-IZYOYXG7.mjs → chunk-EN7GXLFX.mjs} +4 -4
  40. package/dist/cli/{chunk-7QLK2GHL.js → chunk-F53SGS3C.js} +5 -5
  41. package/dist/cli/{chunk-JSTKLYYD.js → chunk-F7IQQYKV.js} +2 -2
  42. package/dist/cli/{chunk-FIQ5UEIF.mjs → chunk-FFGQR5J3.mjs} +2 -2
  43. package/dist/cli/{chunk-SPN7U3MV.js → chunk-FWSEGIT6.js} +4 -4
  44. package/dist/cli/{chunk-K26YOPDO.js → chunk-GDHLL5EQ.js} +22 -1
  45. package/dist/cli/{chunk-ACI6CUDX.mjs → chunk-GJNIC2CO.mjs} +78 -45
  46. package/dist/cli/{chunk-QYGYVCRI.js → chunk-GRESJ3H3.js} +14 -14
  47. package/dist/cli/{chunk-MHZAG2ZQ.js → chunk-HINTYT5H.js} +93 -60
  48. package/dist/cli/{chunk-HASFFOSU.js → chunk-LRSRJJPD.js} +16 -16
  49. package/dist/cli/{chunk-ZLN2B5YA.js → chunk-MHRR47VQ.js} +3 -3
  50. package/dist/cli/{chunk-6FEN6VWZ.js → chunk-N7G36GXB.js} +26 -26
  51. package/dist/cli/{chunk-MAFZ64RN.mjs → chunk-ND4WPLTE.mjs} +2 -2
  52. package/dist/cli/{chunk-5XT4DZQL.mjs → chunk-O4DZG4VA.mjs} +2 -2
  53. package/dist/cli/{chunk-OORPAQVC.js → chunk-OD6TASBP.js} +8 -8
  54. package/dist/cli/{chunk-Y52XY56V.js → chunk-OHNMJ5XQ.js} +41 -41
  55. package/dist/cli/{chunk-4OFSAZN6.mjs → chunk-ONBXTEFQ.mjs} +46 -3
  56. package/dist/cli/{chunk-6U3AGJWI.mjs → chunk-OPBXKB57.mjs} +1 -1
  57. package/dist/cli/{chunk-W6I4N4JN.mjs → chunk-OUGJUM5X.mjs} +6 -6
  58. package/dist/cli/{chunk-VXKWF3AD.js → chunk-PRIHD5XS.js} +9 -9
  59. package/dist/cli/{chunk-RT3HJBIH.mjs → chunk-QAY5AS2H.mjs} +10 -10
  60. package/dist/cli/{chunk-GXMNOUHP.js → chunk-QP333GFE.js} +7 -7
  61. package/dist/cli/{chunk-7DDACLMX.js → chunk-SUJIVF6L.js} +16 -16
  62. package/dist/cli/{chunk-QGNNAZ5M.mjs → chunk-TEMORCEE.mjs} +1 -1
  63. package/dist/cli/{chunk-7AD565DO.mjs → chunk-TS4KFQKS.mjs} +1 -1
  64. package/dist/cli/{chunk-YBIVVAL7.mjs → chunk-XUY7WQ2R.mjs} +3 -3
  65. package/dist/cli/{chunk-PDLOPF5L.mjs → chunk-YEX6RPUO.mjs} +1 -1
  66. package/dist/cli/{chunk-WPCF7C6B.js → chunk-YJKKOSXS.js} +3 -3
  67. package/dist/cli/{chunk-SHKRL7CW.mjs → chunk-YVOS5KSG.mjs} +1 -1
  68. package/dist/cli/{chunk-52FPW2RD.mjs → chunk-YWZEBPXK.mjs} +2 -2
  69. package/dist/cli/{chunk-WTUC5VKB.mjs → chunk-Z7EHY2MF.mjs} +2 -2
  70. package/dist/cli/{chunk-LC4FG34E.js → chunk-ZM5BJ5MP.js} +53 -53
  71. package/dist/cli/{chunk-45XYW477.js → chunk-ZZDTWVCQ.js} +21 -21
  72. package/dist/cli/command-docs.js +2 -2
  73. package/dist/cli/command-docs.mjs +1 -1
  74. package/dist/cli/{csv-DZHVIW3G.js → csv-7K7LK63Y.js} +13 -13
  75. package/dist/cli/{csv-WTPI6ZON.mjs → csv-ARHQ54HA.mjs} +4 -4
  76. package/dist/cli/{db-NR4PJ6AF.mjs → db-JBX24NJY.mjs} +6 -6
  77. package/dist/cli/{db-D7LPPNCC.js → db-V4Z2I6DY.js} +27 -27
  78. package/dist/cli/describe-AYXVS6DZ.js +50 -0
  79. package/dist/cli/{describe-NCKAJPUG.mjs → describe-RBDSGSZ7.mjs} +18 -18
  80. package/dist/cli/describe-core.d.mts +3 -3
  81. package/dist/cli/describe-core.d.ts +3 -3
  82. package/dist/cli/{executions-RQVJ4LAB.mjs → executions-BAZEU63W.mjs} +6 -6
  83. package/dist/cli/{executions-UQG6LWEN.js → executions-XEZKV5QU.js} +8 -8
  84. package/dist/cli/{feedback-TCHA67IA.js → feedback-LOERESRU.js} +8 -8
  85. package/dist/cli/{feedback-RD4Y3YQR.mjs → feedback-YDSWBHCO.mjs} +4 -4
  86. package/dist/cli/{git-Z7434B7Y.mjs → git-4Z3W2CQU.mjs} +5 -5
  87. package/dist/cli/git-T6WKO7EA.js +25 -0
  88. package/dist/cli/index.js +145 -149
  89. package/dist/cli/index.mjs +46 -50
  90. package/dist/cli/{legacy-noops-23WRA7DH.js → legacy-noops-4QIQPVE5.js} +8 -8
  91. package/dist/cli/{legacy-noops-LQJU4UIV.mjs → legacy-noops-E4HH7S5O.mjs} +5 -5
  92. package/dist/cli/{monitors-Z6VYUZ2W.mjs → monitors-FPDW5DDM.mjs} +305 -8
  93. package/dist/cli/{monitors-KOWN7M3V.js → monitors-QBHDSDA7.js} +423 -126
  94. package/dist/cli/{org-2T5K2VP5.js → org-JO4GGSAH.js} +72 -72
  95. package/dist/cli/{org-UBNRO5XO.mjs → org-UCDHIHAD.mjs} +6 -6
  96. package/dist/cli/{pages-GHPJBVV3.mjs → pages-6V52IZXY.mjs} +6 -6
  97. package/dist/cli/{pages-SRXTU7XO.js → pages-FJAAXAWO.js} +18 -18
  98. package/dist/cli/{play-2HMZ57EZ.js → play-F3AENS6W.js} +317 -317
  99. package/dist/cli/{play-HRQKGTXA.mjs → play-MF4DWROJ.mjs} +18 -18
  100. package/dist/cli/{providers-JWJRFRR5.mjs → providers-NJJLTECA.mjs} +6 -6
  101. package/dist/cli/{providers-P5O676MZ.js → providers-XXOQLPX7.js} +9 -9
  102. package/dist/cli/{quickstart-YCY72TAO.js → quickstart-JCE3XGQG.js} +6 -6
  103. package/dist/cli/{quickstart-S7NZUQRO.mjs → quickstart-Z5MSMI7S.mjs} +4 -4
  104. package/dist/cli/{run-QWMRIUIU.mjs → run-56UGPIRL.mjs} +23 -23
  105. package/dist/cli/{run-MHLLGF4G.js → run-X2DNIW3F.js} +41 -41
  106. package/dist/cli/search-B753RTKC.js +33 -0
  107. package/dist/cli/{search-4BFTQUEP.mjs → search-SZYI4NBB.mjs} +8 -8
  108. package/dist/cli/{search-output-62LBVZHN.js → search-output-7UNT6EMP.js} +6 -6
  109. package/dist/cli/{search-output-LIYHDTBP.mjs → search-output-T35QNZUF.mjs} +4 -4
  110. package/dist/cli/{secrets-KKKHVSOO.js → secrets-JMUAVIVC.js} +15 -15
  111. package/dist/cli/{secrets-GW27V77E.mjs → secrets-Q36VC35L.mjs} +6 -6
  112. package/dist/cli/{sessions-R75LBGIL.mjs → sessions-HG6I3HMY.mjs} +5 -5
  113. package/dist/cli/{sessions-R3OEINAR.js → sessions-SUXU7OM7.js} +6 -6
  114. package/dist/cli/{settings-MQIHAEZN.js → settings-UIELQ5CV.js} +106 -79
  115. package/dist/cli/{settings-I3AQZSYG.mjs → settings-Z76XW4KF.mjs} +39 -12
  116. package/dist/cli/{setup-X3QRJERP.js → setup-2L7H5P2O.js} +50 -50
  117. package/dist/cli/{setup-2YA5MYMS.mjs → setup-OXNYAOQ4.mjs} +10 -10
  118. package/dist/cli/skills-DEVXYGYH.js +37 -0
  119. package/dist/cli/{skills-7252FOOI.mjs → skills-XSNLXJGI.mjs} +8 -8
  120. package/dist/cli/tools-SCGHABDL.js +57 -0
  121. package/dist/cli/{tools-SKQTSVGE.mjs → tools-SUSFAYFH.mjs} +17 -17
  122. package/dist/cli/update-BSIILGO3.js +35 -0
  123. package/dist/cli/{update-GNBBSKTB.mjs → update-ENSTG3QO.mjs} +10 -10
  124. package/dist/cli/{workflow-QB7YYWPP.js → workflow-FMBZNY4F.js} +17 -17
  125. package/dist/cli/{workflow-OJSAL5FO.mjs → workflow-Z33QE6VT.mjs} +7 -7
  126. package/dist/{client-DEJg0CZn.d.mts → client-BDbouy3Y.d.mts} +1 -1
  127. package/dist/{client-B3GSaSFn.d.ts → client-Cx0420fs.d.ts} +1 -1
  128. package/dist/{client-core-GQmy3N8y.d.ts → client-core-B4hq0-m2.d.ts} +51 -4
  129. package/dist/{client-core-C404E33V.d.mts → client-core-CwiVaMZ5.d.mts} +51 -4
  130. package/dist/{compiler-manifest-DaJrA2KV.d.mts → compiler-manifest-BeURaD5Y.d.mts} +2 -0
  131. package/dist/{compiler-manifest-DaJrA2KV.d.ts → compiler-manifest-BeURaD5Y.d.ts} +2 -0
  132. package/dist/{errors-KLga4bLr.d.ts → errors-BoPXPrSy.d.ts} +1 -1
  133. package/dist/{errors-BKnSYueU.d.mts → errors-kBuT4kGK.d.mts} +1 -1
  134. package/dist/{index-C5nAZ-VS.d.ts → index-D0crdGM1.d.ts} +1 -1
  135. package/dist/{index-C-8AFpWy.d.mts → index-DC7oRAAC.d.mts} +1 -1
  136. package/dist/index.d.mts +7 -7
  137. package/dist/index.d.ts +7 -7
  138. package/dist/index.js +9 -9
  139. package/dist/index.mjs +6 -6
  140. package/dist/install-integrity.json +115 -112
  141. package/dist/plays/bundle-play-file.d.mts +3 -3
  142. package/dist/plays/bundle-play-file.d.ts +3 -3
  143. package/dist/plays/play-description.d.mts +2 -2
  144. package/dist/plays/play-description.d.ts +2 -2
  145. package/dist/plays/run-request.d.mts +2 -2
  146. package/dist/plays/run-request.d.ts +2 -2
  147. package/dist/release.d.mts +1 -1
  148. package/dist/release.d.ts +1 -1
  149. package/dist/release.js +2 -2
  150. package/dist/release.mjs +1 -1
  151. package/dist/server.d.mts +4 -4
  152. package/dist/server.d.ts +4 -4
  153. package/dist/server.js +5 -5
  154. package/dist/server.mjs +3 -3
  155. package/package.json +1 -1
  156. package/dist/cli/auth-SEPKNRHV.js +0 -43
  157. package/dist/cli/describe-HVQBTKFM.js +0 -50
  158. package/dist/cli/git-TUB2ZUEH.js +0 -25
  159. package/dist/cli/search-QPUHOEIL.js +0 -33
  160. package/dist/cli/skills-BPZWMZSL.js +0 -37
  161. package/dist/cli/tools-F7RVQ3IK.js +0 -57
  162. package/dist/cli/update-TLSY6LC2.js +0 -35
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-ACI6CUDX.mjs";
14
+ } from "./chunk-GJNIC2CO.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-PZN24YQQ.mjs";
17
+ } from "./chunk-2CFTDVEP.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-SHKRL7CW.mjs";
23
+ } from "./chunk-YVOS5KSG.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-7AD565DO.mjs";
27
+ } from "./chunk-TS4KFQKS.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -1,10 +1,10 @@
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 _chunkBWAYMJ23js = require('./chunk-BWAYMJ23.js');
3
+ var _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
7
+ var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkZLN2B5YAjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkBWAYMJ23js.PlayClient)(
142
- new (0, _chunkZLN2B5YAjs.HttpClient)(config),
140
+ const config = _chunkMHRR47VQjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkAD2WJUZAjs.PlayClient)(
142
+ new (0, _chunkMHRR47VQjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
3
+ var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkMHZAG2ZQjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkHINTYT5Hjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoDetectBaseUrl,
3
3
  resolveApiKeyForBaseUrl
4
- } from "./chunk-SHKRL7CW.mjs";
4
+ } from "./chunk-YVOS5KSG.mjs";
5
5
  import {
6
6
  SDK_VERSION,
7
7
  agentSessionIdFromEnvironment,
8
8
  deploymentProtectionHeaders,
9
9
  detectAgentRuntime
10
- } from "./chunk-7AD565DO.mjs";
10
+ } from "./chunk-TS4KFQKS.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-HBL4PM5Q.mjs";
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkXHPB6RGYjs = require('./chunk-XHPB6RGY.js');
19
+ var _chunk2OY5DXTCjs = require('./chunk-2OY5DXTC.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkXHPB6RGYjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkXHPB6RGYjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkXHPB6RGYjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunk2OY5DXTCjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunk2OY5DXTCjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunk2OY5DXTCjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -323,7 +323,8 @@ Cost:
323
323
  Purpose:
324
324
  Show Play runtime pricing, included compute, and usage.
325
325
  Output:
326
- The workspace pricing status, included compute, and runtime used.
326
+ Your runtime price, allowance used, paid overage, and reset date.
327
+ Usage is shown in standard sandbox minutes at your current rate and in credits.
327
328
  ${PLAY_RUNTIME_PRICING_NOTE}
328
329
  Cost:
329
330
  Free to check.
@@ -2035,6 +2036,26 @@ Cost:
2035
2036
  Avoid:
2036
2037
  Without --dry-run it replaces skill files; in a sandbox or a task that said
2037
2038
  not to change skills, use [[--dry-run]].
2039
+ `
2040
+ },
2041
+ "settings skills-sync": {
2042
+ core: `
2043
+ Purpose:
2044
+ Show or change this machine's saved automatic skill sync setting.
2045
+ Input:
2046
+ Omit the mode to check it. Pass off to disable syncing or on to enable it.
2047
+ --dry-run shows the requested setting without saving it.
2048
+ Examples:
2049
+ deepline settings skills-sync
2050
+ deepline settings skills-sync off
2051
+ deepline settings skills-sync on
2052
+ Output (JSON with --json):
2053
+ autoSkillsSyncEnabled is the saved or requested value. Dry runs include dryRun.
2054
+ Cost:
2055
+ Free. Changes write a local preference.
2056
+ Notes:
2057
+ DEEPLINE_SKIP_SKILLS_SYNC and --maintenance off still skip automatic sync.
2058
+ Explicit deepline skills install remains available.
2038
2059
  `
2039
2060
  },
2040
2061
  update: {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-QGNNAZ5M.mjs";
3
+ } from "./chunk-TEMORCEE.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-FIQ5UEIF.mjs";
6
+ } from "./chunk-FFGQR5J3.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-SHKRL7CW.mjs";
17
+ } from "./chunk-YVOS5KSG.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-7AD565DO.mjs";
24
+ } from "./chunk-TS4KFQKS.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-6U3AGJWI.mjs";
27
+ } from "./chunk-OPBXKB57.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -467,23 +467,49 @@ function resolveWindowsExecutable(command, env, cwd) {
467
467
  return void 0;
468
468
  }
469
469
 
470
+ // src/cli/skills-sync-preferences.ts
471
+ import { existsSync as existsSync2, mkdirSync as mkdirSync2, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "fs";
472
+ import { homedir as homedir2 } from "os";
473
+ import { dirname as dirname2, join as join2 } from "path";
474
+ function skillsSyncDisabledPath() {
475
+ return join2(
476
+ process.env.HOME?.trim() || homedir2(),
477
+ ".local",
478
+ "deepline",
479
+ "sdk-cli",
480
+ "skills-sync-disabled"
481
+ );
482
+ }
483
+ function isCliSkillsSyncEnabled() {
484
+ return !existsSync2(skillsSyncDisabledPath());
485
+ }
486
+ function setCliSkillsSyncEnabled(enabled) {
487
+ const path = skillsSyncDisabledPath();
488
+ if (enabled) {
489
+ rmSync2(path, { force: true });
490
+ return;
491
+ }
492
+ mkdirSync2(dirname2(path), { recursive: true });
493
+ writeFileSync2(path, "", { flag: "a", mode: 384 });
494
+ }
495
+
470
496
  // src/cli/skills-sync.ts
471
497
  import { spawn, spawnSync } from "child_process";
472
498
  import { createHash, randomUUID as randomUUID2 } from "crypto";
473
- import { homedir as homedir2 } from "os";
499
+ import { homedir as homedir3 } from "os";
474
500
  import { gunzipSync } from "zlib";
475
501
  import {
476
502
  appendFileSync,
477
- existsSync as existsSync2,
478
- mkdirSync as mkdirSync2,
503
+ existsSync as existsSync3,
504
+ mkdirSync as mkdirSync3,
479
505
  readdirSync,
480
506
  readFileSync as readFileSync2,
481
507
  renameSync as renameSync2,
482
- rmSync as rmSync2,
508
+ rmSync as rmSync3,
483
509
  unlinkSync,
484
- writeFileSync as writeFileSync2
510
+ writeFileSync as writeFileSync3
485
511
  } from "fs";
486
- import { dirname as dirname2, join as join2 } from "path";
512
+ import { dirname as dirname3, join as join3 } from "path";
487
513
  var CHECK_TIMEOUT_MS2 = 3e3;
488
514
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
489
515
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
@@ -492,10 +518,10 @@ function shouldSkipSkillsSync() {
492
518
  return true;
493
519
  }
494
520
  const value = process.env.DEEPLINE_SKIP_SKILLS_SYNC?.trim().toLowerCase();
495
- return value === "1" || value === "true" || value === "yes" || value === "on";
521
+ return value === "1" || value === "true" || value === "yes" || value === "on" || !isCliSkillsSyncEnabled();
496
522
  }
497
523
  function unavailableSkillsNoticePath(baseUrl) {
498
- return join2(sdkCliStateDirPath(baseUrl), "skills-sync-unavailable-version");
524
+ return join3(sdkCliStateDirPath(baseUrl), "skills-sync-unavailable-version");
499
525
  }
500
526
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
501
527
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
@@ -505,21 +531,21 @@ function sortedLeaseAgents(agents) {
505
531
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
506
532
  }
507
533
  function inProgressSkillsSyncPath(baseUrl, agent) {
508
- return join2(
534
+ return join3(
509
535
  sdkCliStateDirPath(baseUrl),
510
536
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
511
537
  );
512
538
  }
513
539
  function readInProgressSkillsSyncLeaseFromDir(dir) {
514
- const claim = readMarkedSkillsSyncVersion(join2(dir, "claim"));
540
+ const claim = readMarkedSkillsSyncVersion(join3(dir, "claim"));
515
541
  const [version = "", startedAt = ""] = claim.split(" ");
516
- const pidRaw = readMarkedSkillsSyncVersion(join2(dir, "pid"));
542
+ const pidRaw = readMarkedSkillsSyncVersion(join3(dir, "pid"));
517
543
  return {
518
544
  claimToken: version && startedAt ? `${version} ${startedAt}` : "",
519
545
  version,
520
546
  startedAt: Number(startedAt),
521
547
  pid: /^\d+$/.test(pidRaw) ? Number(pidRaw) : null,
522
- owner: readMarkedSkillsSyncVersion(join2(dir, "owner"))
548
+ owner: readMarkedSkillsSyncVersion(join3(dir, "owner"))
523
549
  };
524
550
  }
525
551
  function readInProgressSkillsSyncLease(baseUrl, agent) {
@@ -576,15 +602,15 @@ function claimOneInProgressSkillsSync(baseUrl, remoteVersion, agent, owner) {
576
602
  const create = () => {
577
603
  const claimToken = `${remoteVersion} ${Date.now()}`;
578
604
  const staging = `${dir}.staging-${process.pid}-${Date.now()}`;
579
- mkdirSync2(staging);
580
- writeFileSync2(join2(staging, "claim"), `${claimToken}
605
+ mkdirSync3(staging);
606
+ writeFileSync3(join3(staging, "claim"), `${claimToken}
581
607
  `, "utf-8");
582
- writeFileSync2(join2(staging, "owner"), `${owner}
608
+ writeFileSync3(join3(staging, "owner"), `${owner}
583
609
  `, "utf-8");
584
610
  try {
585
611
  renameSync2(staging, dir);
586
612
  } catch (error) {
587
- rmSync2(staging, { recursive: true, force: true });
613
+ rmSync3(staging, { recursive: true, force: true });
588
614
  const code = errorCode(error);
589
615
  const err = new Error("lease directory already exists");
590
616
  err.code = code === "EEXIST" || code === "ENOTEMPTY" ? "EEXIST" : String(code ?? "");
@@ -593,7 +619,7 @@ function claimOneInProgressSkillsSync(baseUrl, remoteVersion, agent, owner) {
593
619
  return { state: "claimed", claimToken };
594
620
  };
595
621
  try {
596
- mkdirSync2(dirname2(dir), { recursive: true });
622
+ mkdirSync3(dirname3(dir), { recursive: true });
597
623
  } catch (error) {
598
624
  return { state: "unavailable", error };
599
625
  }
@@ -609,7 +635,7 @@ function claimOneInProgressSkillsSync(baseUrl, remoteVersion, agent, owner) {
609
635
  if (!tombstone) {
610
636
  return { state: "held" };
611
637
  }
612
- rmSync2(tombstone, { recursive: true, force: true });
638
+ rmSync3(tombstone, { recursive: true, force: true });
613
639
  try {
614
640
  return create();
615
641
  } catch (error) {
@@ -680,8 +706,8 @@ function recordOwnPidOnInProgressSkillsSync(baseUrl, leases) {
680
706
  for (const [agent, lease] of leases) {
681
707
  if (!lease.claimToken) continue;
682
708
  try {
683
- writeFileSync2(
684
- join2(inProgressSkillsSyncPath(baseUrl, agent), "pid"),
709
+ writeFileSync3(
710
+ join3(inProgressSkillsSyncPath(baseUrl, agent), "pid"),
685
711
  `${process.pid}
686
712
  `,
687
713
  "utf-8"
@@ -695,7 +721,7 @@ function releaseInProgressSkillsSync(baseUrl, claimTokens) {
695
721
  const dir = inProgressSkillsSyncPath(baseUrl, agent);
696
722
  if (!claimToken) {
697
723
  try {
698
- rmSync2(dir, { recursive: true, force: true });
724
+ rmSync3(dir, { recursive: true, force: true });
699
725
  } catch {
700
726
  }
701
727
  continue;
@@ -709,7 +735,7 @@ function releaseInProgressSkillsSync(baseUrl, claimTokens) {
709
735
  }
710
736
  } catch {
711
737
  }
712
- rmSync2(tombstone, { recursive: true, force: true });
738
+ rmSync3(tombstone, { recursive: true, force: true });
713
739
  }
714
740
  }
715
741
  function claimTokensOf(leases) {
@@ -749,7 +775,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
749
775
  return sortedLeaseAgents(agents).map((agent) => inProgressSkillsSyncPath(baseUrl, agent)).join(", ");
750
776
  }
751
777
  function deferredSkillsNoticePath(baseUrl, agents) {
752
- return join2(
778
+ return join3(
753
779
  sdkCliStateDirPath(baseUrl),
754
780
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
755
781
  );
@@ -758,7 +784,7 @@ function deferSkillsNotice(baseUrl, agents) {
758
784
  const path = deferredSkillsNoticePath(baseUrl, agents);
759
785
  return (text) => {
760
786
  try {
761
- mkdirSync2(dirname2(path), { recursive: true });
787
+ mkdirSync3(dirname3(path), { recursive: true });
762
788
  appendFileSync(path, `${text.trimEnd()}
763
789
  `, "utf-8");
764
790
  } catch {
@@ -767,7 +793,7 @@ function deferSkillsNotice(baseUrl, agents) {
767
793
  }
768
794
  function flushDeferredSkillsNotices(baseUrl, agents) {
769
795
  const path = deferredSkillsNoticePath(baseUrl, agents);
770
- if (!existsSync2(path)) return;
796
+ if (!existsSync3(path)) return;
771
797
  const tombstone = quarantine(path, "consuming");
772
798
  if (!tombstone) return;
773
799
  let text = "";
@@ -800,7 +826,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
800
826
  child.unref();
801
827
  }
802
828
  function failedSkillsSyncPath(baseUrl, agents) {
803
- return join2(
829
+ return join3(
804
830
  sdkCliStateDirPath(baseUrl),
805
831
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
806
832
  );
@@ -810,15 +836,15 @@ function hasMarkedSkillsSyncVersion(path, version) {
810
836
  }
811
837
  function readMarkedSkillsSyncVersion(path) {
812
838
  try {
813
- return existsSync2(path) ? readFileSync2(path, "utf-8").trim() : "";
839
+ return existsSync3(path) ? readFileSync2(path, "utf-8").trim() : "";
814
840
  } catch {
815
841
  return "";
816
842
  }
817
843
  }
818
844
  function writeMarkedSkillsSyncVersion(path, version) {
819
845
  try {
820
- mkdirSync2(dirname2(path), { recursive: true });
821
- writeFileSync2(path, `${version}
846
+ mkdirSync3(dirname3(path), { recursive: true });
847
+ writeFileSync3(path, `${version}
822
848
  `, "utf-8");
823
849
  return true;
824
850
  } catch {
@@ -857,7 +883,7 @@ function hasFailedSkillsSync(baseUrl, remoteVersion, agents) {
857
883
  }
858
884
  }
859
885
  function hasFailedAutomaticSkillsSync(baseUrl, agents) {
860
- return existsSync2(failedSkillsSyncPath(baseUrl, agents));
886
+ return existsSync3(failedSkillsSyncPath(baseUrl, agents));
861
887
  }
862
888
  function markFailedSkillsSync(baseUrl, remoteVersion, agents) {
863
889
  return writeMarkedSkillsSyncVersion(
@@ -928,7 +954,7 @@ function safeSkillFilePath(value) {
928
954
  }
929
955
  function installedSkillFiles(root, prefix = "") {
930
956
  const files = [];
931
- for (const entry of readdirSync(join2(root, prefix), {
957
+ for (const entry of readdirSync(join3(root, prefix), {
932
958
  withFileTypes: true
933
959
  })) {
934
960
  const relativePath = prefix ? `${prefix}/${entry.name}` : entry.name;
@@ -1047,12 +1073,12 @@ async function verifyDefaultAgentSkillsInstall(baseUrl, remoteVersion, skillName
1047
1073
  clearTimeout(timeout);
1048
1074
  controller.abort();
1049
1075
  }
1050
- const home = homedir2();
1051
- const claudeConfigDir = process.env.CLAUDE_CONFIG_DIR?.trim() || join2(home, ".claude");
1076
+ const home = homedir3();
1077
+ const claudeConfigDir = process.env.CLAUDE_CONFIG_DIR?.trim() || join3(home, ".claude");
1052
1078
  for (const [name, { files }] of published) {
1053
1079
  for (const root of [
1054
- join2(home, ".agents", "skills", name),
1055
- join2(claudeConfigDir, "skills", name)
1080
+ join3(home, ".agents", "skills", name),
1081
+ join3(claudeConfigDir, "skills", name)
1056
1082
  ]) {
1057
1083
  const installed = installedSkillFiles(root);
1058
1084
  if (installed.length !== files.length || installed.some((file, index2) => file !== files[index2])) {
@@ -1060,7 +1086,7 @@ async function verifyDefaultAgentSkillsInstall(baseUrl, remoteVersion, skillName
1060
1086
  }
1061
1087
  for (const file of files) {
1062
1088
  const publishedContent = expected.get(`${name}/${file}`);
1063
- if (!publishedContent || !readFileSync2(join2(root, file)).equals(publishedContent)) {
1089
+ if (!publishedContent || !readFileSync2(join3(root, file)).equals(publishedContent)) {
1064
1090
  throw new Error(`installed content differs for ${name}/${file}`);
1065
1091
  }
1066
1092
  }
@@ -1116,7 +1142,7 @@ function probeInstallers(timeoutMs) {
1116
1142
  };
1117
1143
  }
1118
1144
  function noInstallerProbePath(baseUrl) {
1119
- return join2(
1145
+ return join3(
1120
1146
  sdkCliStateDirPath(baseUrl),
1121
1147
  "skills-sync-no-installer-unknown.json"
1122
1148
  );
@@ -1138,8 +1164,8 @@ function rememberUnavailableInstallerProbes(baseUrl, remoteVersion, probes, prob
1138
1164
  if (probes.bunx !== "available" && probes.npx !== "available") {
1139
1165
  const path = noInstallerProbePath(baseUrl);
1140
1166
  try {
1141
- mkdirSync2(dirname2(path), { recursive: true });
1142
- writeFileSync2(
1167
+ mkdirSync3(dirname3(path), { recursive: true });
1168
+ writeFileSync3(
1143
1169
  path,
1144
1170
  JSON.stringify({
1145
1171
  version: remoteVersion,
@@ -1347,7 +1373,8 @@ function writeSdkSkillsStatusLine(line) {
1347
1373
  `);
1348
1374
  }
1349
1375
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1350
- if (shouldSkipSkillsSync()) return;
1376
+ const skip = shouldSkipSkillsSync();
1377
+ if (skip && !options.claim) return;
1351
1378
  const usingPluginSkills = hasActivePluginSkills();
1352
1379
  if (usingPluginSkills) {
1353
1380
  return;
@@ -1364,6 +1391,10 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1364
1391
  if (leases && [...leases.values()].some((lease) => lease.owner !== options.claim)) {
1365
1392
  return;
1366
1393
  }
1394
+ if (skip) {
1395
+ if (leases) releaseInProgressSkillsSync(baseUrl, claimTokensOf(leases));
1396
+ return;
1397
+ }
1367
1398
  if (leases) recordOwnPidOnInProgressSkillsSync(baseUrl, leases);
1368
1399
  const claimedVersion = leases ? claimedSkillsVersion(leases) : "";
1369
1400
  if (options.mode === "detached" && agents.length > 0 && options.update === void 0 && !claimedVersion) {
@@ -1571,6 +1602,8 @@ export {
1571
1602
  LEGACY_SKILL_NAMES_TO_REMOVE,
1572
1603
  skillsSourceUrl,
1573
1604
  resolveShellSpawn,
1605
+ isCliSkillsSyncEnabled,
1606
+ setCliSkillsSyncEnabled,
1574
1607
  SkillsStateUnavailableError,
1575
1608
  acquireSkillsInstallLease,
1576
1609
  skillsInstallLeasePath,
@@ -1,13 +1,13 @@
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 _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
4
+ var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkSPN7U3MVjs = require('./chunk-SPN7U3MV.js');
10
+ var _chunkFWSEGIT6js = require('./chunk-FWSEGIT6.js');
11
11
 
12
12
 
13
13
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
150
150
  node_version: process.version,
151
151
  runtime: "Node.js",
152
152
  hostname: _os.hostname.call(void 0, ),
153
- agent_runtime: _chunkSPN7U3MVjs.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunkFWSEGIT6js.detectAgentRuntime.call(void 0, )
154
154
  };
155
155
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
156
156
  const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
171
171
  return context;
172
172
  }
173
173
  function failureReportHeaders(apiKey) {
174
- const agentSessionId = _chunkSPN7U3MVjs.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunkFWSEGIT6js.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkSPN7U3MVjs.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunkFWSEGIT6js.deploymentProtectionHeaders.call(void 0, ),
177
177
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
178
178
  Authorization: `Bearer ${apiKey}`,
179
179
  "Content-Type": "application/json",
180
- "User-Agent": `deepline-ts-sdk/${_chunkSPN7U3MVjs.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunkFWSEGIT6js.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkSPN7U3MVjs.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkSPN7U3MVjs.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkSPN7U3MVjs.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunkFWSEGIT6js.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunkFWSEGIT6js.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunkFWSEGIT6js.SDK_VERSION
186
186
  };
187
187
  }
188
188
  async function postFailureReport(input) {
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
210
210
  if (isFailureReportingDisabled()) return false;
211
211
  let apiKey = "";
212
212
  try {
213
- apiKey = _chunkZLN2B5YAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkMHRR47VQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
214
214
  } catch (e2) {
215
215
  return false;
216
216
  }
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
237
237
  failure_code: failureCode2,
238
238
  failure_stage: failureStage,
239
239
  error_body: "Automatic Deepline skills installation failed.",
240
- cli_version: _chunkSPN7U3MVjs.SDK_VERSION,
240
+ cli_version: _chunkFWSEGIT6js.SDK_VERSION,
241
241
  context: {
242
242
  environment: buildEnvironmentContext(),
243
243
  skills_sync: {
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
357
357
  failure_kind: failureKind,
358
358
  failure_code: code,
359
359
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
360
- cli_version: _chunkSPN7U3MVjs.SDK_VERSION,
360
+ cli_version: _chunkFWSEGIT6js.SDK_VERSION,
361
361
  context: {
362
362
  base_url: redactFailureText(input.baseUrl, 400),
363
363
  command_summary: sanitizeCommand(input.argv),
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
377
377
  if (isServerLoggedPlayRunStartFailure(input)) return false;
378
378
  const exitCode = resolvedExitCode(input);
379
379
  if (!shouldReport({ exitCode, error: input.error })) return false;
380
- const baseUrl = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunkZLN2B5YAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkMHRR47VQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkMHRR47VQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,