deepline 0.3.553 → 0.3.554

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 (151) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-I3QAU4RV.mjs → auth-HJUNW7T2.mjs} +5 -5
  3. package/dist/cli/auth-SP6SKZJZ.js +44 -0
  4. package/dist/cli/{billing-YGFFVAIC.js → billing-4TSA5HEC.js} +102 -102
  5. package/dist/cli/{billing-3IC54OQQ.mjs → billing-SJYRJAQ2.mjs} +9 -9
  6. package/dist/cli/{chunk-2B5B5KAW.js → chunk-2HMN5H54.js} +53 -50
  7. package/dist/cli/{chunk-72V4PDH5.mjs → chunk-2ORPFQUA.mjs} +3 -3
  8. package/dist/cli/{chunk-BVDKFS2T.js → chunk-2OVHNHCF.js} +2 -2
  9. package/dist/cli/{chunk-Z7AOIHFE.mjs → chunk-33WRQSQ2.mjs} +4 -0
  10. package/dist/cli/{chunk-HVI55MTK.js → chunk-3IKGZ4CG.js} +20 -10
  11. package/dist/cli/{chunk-INEMTYMT.mjs → chunk-3Z4VFCXO.mjs} +7 -7
  12. package/dist/cli/{chunk-HEBO3XNZ.js → chunk-4DOFGIEJ.js} +12 -12
  13. package/dist/cli/{chunk-LFOERUQY.mjs → chunk-52Q5KETX.mjs} +1 -1
  14. package/dist/cli/{chunk-AGLR6QVN.js → chunk-5CYZHOKI.js} +4 -4
  15. package/dist/cli/{chunk-HSJ6X2AQ.mjs → chunk-62AUAWQV.mjs} +4 -4
  16. package/dist/cli/{chunk-NDNHYONK.mjs → chunk-62HWJXST.mjs} +2 -2
  17. package/dist/cli/{chunk-QI5S5HWB.mjs → chunk-6EXOAT6T.mjs} +2 -2
  18. package/dist/cli/{chunk-Y6SP3JMI.js → chunk-7OWI736E.js} +30 -30
  19. package/dist/cli/{chunk-DZA7RFGL.mjs → chunk-B6HO2XWH.mjs} +13 -13
  20. package/dist/cli/{chunk-A7DLBE5K.mjs → chunk-BOZAP2EM.mjs} +10 -7
  21. package/dist/cli/chunk-BVXIGOBZ.js +32 -0
  22. package/dist/cli/{chunk-QG6JIWUL.mjs → chunk-D6Z6POKE.mjs} +5 -5
  23. package/dist/cli/{chunk-4BFTDNHU.mjs → chunk-DSKSFFK2.mjs} +1 -1
  24. package/dist/cli/{chunk-JLGP5XAJ.js → chunk-DUBXUAAO.js} +5 -5
  25. package/dist/cli/{chunk-IMX7J4DU.js → chunk-E74KGKFZ.js} +5 -5
  26. package/dist/cli/{chunk-YUA6HA6D.js → chunk-ECHKAC7M.js} +2 -2
  27. package/dist/cli/{chunk-IH6GDNKW.js → chunk-EN5NHCCQ.js} +17 -17
  28. package/dist/cli/{chunk-CAEBJOYU.mjs → chunk-F7CMRKSK.mjs} +1 -1
  29. package/dist/cli/{chunk-SBH4CKPN.js → chunk-FBAFX43W.js} +10 -10
  30. package/dist/cli/{chunk-GAVZ4EOD.mjs → chunk-FXQ3JKE3.mjs} +1 -1
  31. package/dist/cli/{chunk-55F6HNOY.mjs → chunk-GA2M3G3Y.mjs} +4 -4
  32. package/dist/cli/{chunk-Q6Z6N3A7.js → chunk-GHT2NDL7.js} +9 -9
  33. package/dist/cli/{chunk-WOCHZCUJ.js → chunk-GRZENGNE.js} +2 -2
  34. package/dist/cli/{chunk-7O6J6A7P.js → chunk-IVZKMJUK.js} +4 -0
  35. package/dist/cli/{chunk-SG3LUONJ.mjs → chunk-KVBQY4ST.mjs} +2 -2
  36. package/dist/cli/{chunk-AGIQDA2T.mjs → chunk-KZHBDMGF.mjs} +2 -2
  37. package/dist/cli/{chunk-TFEXSHPM.js → chunk-LY5MMXFF.js} +28 -14
  38. package/dist/cli/{chunk-RTV4RF7N.js → chunk-M7STM3MZ.js} +26 -26
  39. package/dist/cli/{chunk-7GEMELKI.js → chunk-OPTV7D2V.js} +431 -330
  40. package/dist/cli/{chunk-CACFJODG.js → chunk-OVEYWO4H.js} +8 -8
  41. package/dist/cli/{chunk-4HYNMXXF.mjs → chunk-PC2FTUCP.mjs} +2 -2
  42. package/dist/cli/{chunk-4747TPLV.js → chunk-PQQMPUCZ.js} +3 -3
  43. package/dist/cli/{chunk-45OAVGU6.mjs → chunk-Q7ACILL2.mjs} +2 -2
  44. package/dist/cli/{chunk-RMNOZKRI.mjs → chunk-RBBTCYQB.mjs} +3 -3
  45. package/dist/cli/{chunk-7YRJ5UC4.js → chunk-RTHMGSZX.js} +20 -20
  46. package/dist/cli/{chunk-OTV2UUKW.mjs → chunk-S6W6SJ6E.mjs} +1 -1
  47. package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
  48. package/dist/cli/{chunk-UEVKMZLR.mjs → chunk-TGUQET3O.mjs} +14 -4
  49. package/dist/cli/{chunk-74RES4DS.js → chunk-TJ6HLN56.js} +5 -5
  50. package/dist/cli/{chunk-IUOGII7D.js → chunk-TOO3YM5N.js} +6 -6
  51. package/dist/cli/{chunk-UVQJYV76.mjs → chunk-UBBYHB2B.mjs} +2 -2
  52. package/dist/cli/{chunk-AGICYWGN.mjs → chunk-UC4BDZKI.mjs} +2 -2
  53. package/dist/cli/{chunk-6NE3RRRY.js → chunk-UNNOZKRT.js} +1 -1
  54. package/dist/cli/{chunk-FM7LPUPA.js → chunk-UOT7HPBH.js} +41 -41
  55. package/dist/cli/{chunk-DP2VH7CO.js → chunk-UYCZFQYQ.js} +11 -11
  56. package/dist/cli/{chunk-MLABYI4M.js → chunk-VIUUTEHY.js} +3 -3
  57. package/dist/cli/{chunk-LH5PZKER.mjs → chunk-VLO5NFH2.mjs} +1 -1
  58. package/dist/cli/{chunk-JJGWHITQ.mjs → chunk-VQ75KX7G.mjs} +2 -2
  59. package/dist/cli/{chunk-3NTP2OSG.js → chunk-VV4XGZ24.js} +13 -13
  60. package/dist/cli/{chunk-LRDHPOZW.js → chunk-W6CZDTIR.js} +53 -53
  61. package/dist/cli/{chunk-7SERLBNR.js → chunk-WL7P32PI.js} +20 -20
  62. package/dist/cli/{chunk-4SMCFQ23.mjs → chunk-XD3MFTHA.mjs} +1 -1
  63. package/dist/cli/{chunk-E7WZOX2A.mjs → chunk-XFZX6FNM.mjs} +20 -6
  64. package/dist/cli/{chunk-DP64MD6U.mjs → chunk-XU6QNM4D.mjs} +1 -1
  65. package/dist/cli/{chunk-TN4TY6TT.mjs → chunk-YCOGPOUX.mjs} +2 -2
  66. package/dist/cli/{chunk-XLIHTJVM.js → chunk-YQKCH4R7.js} +20 -20
  67. package/dist/cli/{chunk-Z6XPSHKM.mjs → chunk-YY55NYAH.mjs} +133 -32
  68. package/dist/cli/command-docs.js +2 -2
  69. package/dist/cli/command-docs.mjs +1 -1
  70. package/dist/cli/{concurrent-runs-help-DNV2X5AZ.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +6 -6
  71. package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
  72. package/dist/cli/{csv-SA6ELJY6.js → csv-4ZQ2RATI.js} +13 -13
  73. package/dist/cli/{csv-ZXZGHWOM.mjs → csv-Y3BFPEM6.mjs} +4 -4
  74. package/dist/cli/{db-A54SP6AD.mjs → db-3JYY4JNN.mjs} +7 -7
  75. package/dist/cli/{db-JHFEIQBU.js → db-VEIFS4M7.js} +29 -29
  76. package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
  77. package/dist/cli/describe-FG625QPF.js +50 -0
  78. package/dist/cli/describe-core.js +5 -5
  79. package/dist/cli/describe-core.mjs +4 -4
  80. package/dist/cli/{executions-TLFZRHBJ.js → executions-HPZXOOVX.js} +8 -8
  81. package/dist/cli/{executions-HL2M2DFU.mjs → executions-PCXZKEHM.mjs} +6 -6
  82. package/dist/cli/{feedback-QMBTNXVG.mjs → feedback-Y6VKZNY6.mjs} +6 -6
  83. package/dist/cli/{feedback-5UEX5UZK.js → feedback-ZKFHFVL6.js} +14 -14
  84. package/dist/cli/git-RUBMALLH.js +26 -0
  85. package/dist/cli/{git-LKGXVIVC.mjs → git-UMPR2QYC.mjs} +5 -5
  86. package/dist/cli/index.js +147 -147
  87. package/dist/cli/index.mjs +46 -46
  88. package/dist/cli/{integrations-6RUTLMN7.js → integrations-3GQCTRTF.js} +15 -15
  89. package/dist/cli/{integrations-FGGRVUJ7.mjs → integrations-V3TM6XAB.mjs} +7 -7
  90. package/dist/cli/{legacy-noops-YIPRMVXZ.mjs → legacy-noops-JZBUD7ZE.mjs} +6 -6
  91. package/dist/cli/{legacy-noops-J3Z7QRWZ.js → legacy-noops-VYCO7NGW.js} +9 -9
  92. package/dist/cli/{mcp-6LWFP7RW.js → mcp-4OIWTCE6.js} +24 -24
  93. package/dist/cli/{mcp-CHDYFO7F.mjs → mcp-PH4KZ76P.mjs} +4 -4
  94. package/dist/cli/{monitors-STM6A7OU.js → monitors-E2A6VPBY.js} +100 -100
  95. package/dist/cli/{monitors-UGRY2BXI.mjs → monitors-SSMGIDGX.mjs} +7 -7
  96. package/dist/cli/{org-3SYOUQCX.mjs → org-SFDKSK5D.mjs} +6 -6
  97. package/dist/cli/{org-ZOBSNSIB.js → org-WUDZGWBT.js} +121 -121
  98. package/dist/cli/{outcomes-Z3P2JE67.mjs → outcomes-QT7LQBPK.mjs} +6 -6
  99. package/dist/cli/{outcomes-H4YYAT5X.js → outcomes-Y7SZTLSL.js} +14 -14
  100. package/dist/cli/{play-SN5YWLS7.mjs → play-EK7KSFPL.mjs} +21 -21
  101. package/dist/cli/{play-SM4CW2GS.js → play-GDNHCRRR.js} +372 -372
  102. package/dist/cli/{providers-WZ4YBR5Y.mjs → providers-FVZLRXAU.mjs} +6 -6
  103. package/dist/cli/{providers-WZARYMCF.js → providers-ZKOSECLV.js} +9 -9
  104. package/dist/cli/{quickstart-PS4YHQJ6.js → quickstart-KSDKIXYD.js} +6 -6
  105. package/dist/cli/{quickstart-2575BNKA.mjs → quickstart-UJZ6PIQV.mjs} +4 -4
  106. package/dist/cli/{run-ZUHCZOJS.mjs → run-E7MZ7P35.mjs} +30 -28
  107. package/dist/cli/{run-FLZ6OTM7.js → run-PD2BBG6S.js} +51 -49
  108. package/dist/cli/search-TKSPTPHA.js +32 -0
  109. package/dist/cli/{search-HLPPKQEO.mjs → search-VTFUFTOY.mjs} +7 -7
  110. package/dist/cli/{search-output-RXJLU36B.js → search-output-G2AGDCOY.js} +9 -9
  111. package/dist/cli/{search-output-PDAXNOGP.mjs → search-output-PFVXQCWA.mjs} +6 -6
  112. package/dist/cli/{secrets-CGELYQ3H.mjs → secrets-7CIMEMX7.mjs} +6 -6
  113. package/dist/cli/{secrets-QJNG7G2Y.js → secrets-BCOQ4U7U.js} +15 -15
  114. package/dist/cli/sessions-4CO556VD.js +23 -0
  115. package/dist/cli/{sessions-ELMWVR4M.mjs → sessions-IUCQZEF7.mjs} +6 -6
  116. package/dist/cli/{settings-RR3LZXL7.mjs → settings-KZN62UQK.mjs} +12 -12
  117. package/dist/cli/{settings-44I44P5F.js → settings-REL4736M.js} +85 -85
  118. package/dist/cli/{setup-KGWRWH4B.mjs → setup-2P7OG3OU.mjs} +11 -14
  119. package/dist/cli/{setup-KTEYOCJO.js → setup-2XIVBBCS.js} +51 -54
  120. package/dist/cli/skills-JYT5DEY6.js +37 -0
  121. package/dist/cli/{skills-FPRID2I5.mjs → skills-VIGNDJKI.mjs} +7 -7
  122. package/dist/cli/tools-NTVUQ2TG.js +57 -0
  123. package/dist/cli/{tools-PI4WMDLY.mjs → tools-W3QT5EJY.mjs} +20 -20
  124. package/dist/cli/{update-VJOJAZ7B.mjs → update-GZVBVMY3.mjs} +9 -9
  125. package/dist/cli/update-TWJZPUZM.js +37 -0
  126. package/dist/cli/{views-OVPSINZO.mjs → views-BOGEH424.mjs} +6 -6
  127. package/dist/cli/{views-NTUOLNQU.js → views-TOLJNLSV.js} +21 -21
  128. package/dist/cli/{workflow-2UDYDM6F.js → workflow-ENWFRK5M.js} +17 -17
  129. package/dist/cli/{workflow-7OEFNXZC.mjs → workflow-VDG2FDQV.mjs} +7 -7
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +122 -122
  133. package/dist/release.d.mts +1 -1
  134. package/dist/release.d.ts +1 -1
  135. package/dist/release.js +2 -2
  136. package/dist/release.mjs +1 -1
  137. package/dist/server.js +5 -5
  138. package/dist/server.mjs +3 -3
  139. package/package.json +1 -1
  140. package/dist/cli/auth-MQCN7WGZ.js +0 -44
  141. package/dist/cli/chunk-AID3OYVJ.js +0 -8
  142. package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
  143. package/dist/cli/concurrent-runs-help-CFJH4KXV.js +0 -22
  144. package/dist/cli/describe-PHQ33AGS.mjs +0 -50
  145. package/dist/cli/describe-RHJ4XRFI.js +0 -50
  146. package/dist/cli/git-4JWOOHBG.js +0 -26
  147. package/dist/cli/search-JJWVHR3N.js +0 -32
  148. package/dist/cli/sessions-DHTBT2GN.js +0 -23
  149. package/dist/cli/skills-EPZPEXI2.js +0 -37
  150. package/dist/cli/tools-IGQQ5TML.js +0 -57
  151. package/dist/cli/update-4RNCVYGE.js +0 -37
@@ -1,16 +1,16 @@
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 _chunkJLGP5XAJjs = require('./chunk-JLGP5XAJ.js');
3
+ var _chunkDUBXUAAOjs = require('./chunk-DUBXUAAO.js');
4
4
 
5
5
 
6
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
6
+ var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
7
7
 
8
8
  // src/cli/commands/integration-commands.ts
9
9
  var _commander = require('commander');
10
10
  var _fs = require('fs');
11
11
  var _path = require('path');
12
12
  function printIntegrationResult(value, json, lines, nextCursor) {
13
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
13
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14
14
  {},
15
15
  {
16
16
  json: json || void 0,
@@ -26,7 +26,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
26
26
  return parent.command("balance <provider>", { hidden }).description(
27
27
  "Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
28
28
  ).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
29
- const balance = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getIntegrationBalance(
29
+ const balance = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getIntegrationBalance(
30
30
  provider
31
31
  );
32
32
  printIntegrationResult(balance, options.json, [
@@ -40,7 +40,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
40
40
  "List teammates\u2019 personal connections for this provider"
41
41
  ).option("--cursor <cursor>", "Read the next page of members").action(
42
42
  async (options) => {
43
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
43
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
44
44
  if (name === "list" && options.cursor && !options.members)
45
45
  throw new Error(
46
46
  "Use --cursor with --members to continue a member page."
@@ -82,7 +82,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
82
82
  }
83
83
  function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
84
84
  return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
85
- const page = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().listPersonalHubSpotMembers(
85
+ const page = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().listPersonalHubSpotMembers(
86
86
  options.cursor
87
87
  );
88
88
  const rows = page.members.map((member) => {
@@ -108,7 +108,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
108
108
  );
109
109
  if (options.autoName && (action !== "connect" || options.name !== void 0))
110
110
  throw new Error("Use --auto-name with connect and omit --name.");
111
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
111
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
112
112
  const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
113
113
  const row = connections.find(
114
114
  (connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
@@ -141,7 +141,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
141
141
  "Print the proposed change without contacting Google or saving it"
142
142
  ).option("--json", "Print the result as JSON").action(
143
143
  async (action, options) => {
144
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
144
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
145
145
  if (action === "list") {
146
146
  const inventory = await client.listCalendarAvailabilityConnections();
147
147
  const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
@@ -291,7 +291,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
291
291
  }
292
292
  function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
293
293
  return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
294
- const page = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().listAvailabilityCalendars(
294
+ const page = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().listAvailabilityCalendars(
295
295
  options.cursor
296
296
  );
297
297
  printIntegrationResult(page, options.json, [
@@ -335,7 +335,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
335
335
  printSetupPlan({ provider, action: "connect_link" }, options.json);
336
336
  return;
337
337
  }
338
- const link = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getIntegrationConnectLink(
338
+ const link = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getIntegrationConnectLink(
339
339
  provider
340
340
  );
341
341
  printIntegrationResult(link, options.json, [link.connect_url]);
@@ -362,7 +362,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
362
362
  );
363
363
  return;
364
364
  }
365
- const result2 = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().startIntegrationOAuth(
365
+ const result2 = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().startIntegrationOAuth(
366
366
  provider,
367
367
  {
368
368
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -412,7 +412,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
412
412
  "--credentials-file must contain a nonempty JSON object of string credential values."
413
413
  );
414
414
  }
415
- const result = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().setIntegrationCredentials(
415
+ const result = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().setIntegrationCredentials(
416
416
  provider,
417
417
  credentials,
418
418
  { expectedConnectionId: options.expectedConnectionId }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-OTV2UUKW.mjs";
4
+ } from "./chunk-S6W6SJ6E.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
21
21
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
22
22
 
23
23
 
24
- var _chunk6NE3RRRYjs = require('./chunk-6NE3RRRY.js');
24
+ var _chunkUNNOZKRTjs = require('./chunk-UNNOZKRT.js');
25
25
 
26
26
  // src/version.ts
27
- var SDK_VERSION = _chunk6NE3RRRYjs.SDK_RELEASE.version;
28
- var SDK_API_MAJOR = _chunk6NE3RRRYjs.SDK_RELEASE.contracts.api.currentMajor;
29
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk6NE3RRRYjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
27
+ var SDK_VERSION = _chunkUNNOZKRTjs.SDK_RELEASE.version;
28
+ var SDK_API_MAJOR = _chunkUNNOZKRTjs.SDK_RELEASE.contracts.api.currentMajor;
29
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkUNNOZKRTjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
30
30
 
31
31
  // src/agent-runtime.ts
32
32
  var _fs = require('fs');
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-A7DLBE5K.mjs";
14
+ } from "./chunk-BOZAP2EM.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-AGICYWGN.mjs";
17
+ } from "./chunk-UC4BDZKI.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-LFOERUQY.mjs";
23
+ } from "./chunk-52Q5KETX.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-OTV2UUKW.mjs";
27
+ } from "./chunk-S6W6SJ6E.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-QI5S5HWB.mjs";
3
+ } from "./chunk-6EXOAT6T.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-AGICYWGN.mjs";
6
+ } from "./chunk-UC4BDZKI.mjs";
7
7
 
8
8
  // src/cli/commands/integration-commands.ts
9
9
  import { Option } from "commander";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-LH5PZKER.mjs";
3
+ } from "./chunk-VLO5NFH2.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-LFOERUQY.mjs";
7
+ } from "./chunk-52Q5KETX.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -4,21 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk7SERLBNRjs = require('./chunk-7SERLBNR.js');
7
+ var _chunkWL7P32PIjs = require('./chunk-WL7P32PI.js');
8
8
 
9
9
 
10
10
 
11
- var _chunk2B5B5KAWjs = require('./chunk-2B5B5KAW.js');
12
11
 
12
+ var _chunk2HMN5H54js = require('./chunk-2HMN5H54.js');
13
13
 
14
14
 
15
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
16
15
 
16
+ var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
17
17
 
18
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
19
18
 
19
+ var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
20
20
 
21
- var _chunkAGLR6QVNjs = require('./chunk-AGLR6QVN.js');
21
+
22
+ var _chunk5CYZHOKIjs = require('./chunk-5CYZHOKI.js');
22
23
 
23
24
  // src/cli/compatibility-catalog.ts
24
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -45,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
45
46
  async function reportAutoUpdateEvent(input) {
46
47
  let apiKey = "";
47
48
  try {
48
- apiKey = _chunkMLABYI4Mjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunkVIUUTEHYjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
50
  } catch (e2) {
50
51
  return;
51
52
  }
@@ -61,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
61
62
  headers: {
62
63
  Authorization: `Bearer ${apiKey}`,
63
64
  "Content-Type": "application/json",
64
- "User-Agent": `deepline-ts-sdk/${_chunkAGLR6QVNjs.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunk5CYZHOKIjs.SDK_VERSION}`,
65
66
  "X-Deepline-Client-Family": "sdk",
66
67
  "X-Deepline-CLI-Family": "sdk",
67
- "X-Deepline-CLI-Version": _chunkAGLR6QVNjs.SDK_VERSION,
68
- "X-Deepline-SDK-Version": _chunkAGLR6QVNjs.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunk5CYZHOKIjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunk5CYZHOKIjs.SDK_VERSION
69
70
  },
70
71
  body: JSON.stringify({
71
72
  event: input.event,
72
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkAGLR6QVNjs.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk5CYZHOKIjs.SDK_VERSION,
73
74
  target_version: input.response.latest,
74
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
75
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -88,28 +89,27 @@ function envTruthy(name) {
88
89
  return value === "1" || value === "true" || value === "yes";
89
90
  }
90
91
  function shouldSkipSelfUpdate(policy) {
91
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk7SERLBNRjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk2B5B5KAWjs.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkWL7P32PIjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk2HMN5H54js.isCiEnvironment.call(void 0, );
92
93
  }
93
94
  function isDowngradeAutoUpdateResponse(response) {
94
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
95
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkAGLR6QVNjs.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk5CYZHOKIjs.SDK_VERSION;
96
97
  if (!target) return false;
97
- return _chunk7SERLBNRjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunkWL7P32PIjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
99
  }
99
100
  function relaunchCurrentCommand(plan, runtime = {}) {
100
101
  return new Promise((resolve) => {
101
- const command = plan.kind === "python-sidecar" ? plan.sidecarPath : _nullishCoalesce(runtime.execPath, () => ( process.execPath));
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
- const args = plan.kind === "python-sidecar" ? argv.slice(2) : argv.slice(1);
104
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
105
- const child = _child_process.spawn.call(void 0, command, args, {
104
+ const launch = plan.kind === "python-sidecar" ? _chunk2HMN5H54js.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
+ command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
+ args: argv.slice(1),
107
+ shell: false
108
+ };
109
+ const child = _child_process.spawn.call(void 0, launch.command, launch.args, {
106
110
  windowsHide: true,
107
111
  stdio: "inherit",
108
- // The Node executable is a native binary and must be spawned directly;
109
- // passing `C:\Program Files\...\node.exe` through cmd.exe splits it
110
- // at the first space. The Python-sidecar launcher is a `.cmd` file on
111
- // Windows and still needs the shell dispatch it has always used.
112
- shell: plan.kind === "python-sidecar" && platform === "win32",
112
+ shell: launch.shell,
113
113
  env: {
114
114
  ...process.env,
115
115
  DEEPLINE_NO_AUTO_UPDATE: "1"
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkAGLR6QVNjs.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk5CYZHOKIjs.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunk7SERLBNRjs.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunkWL7P32PIjs.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunk7SERLBNRjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunkWL7P32PIjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunkXLIHTJVMjs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkYQKCH4R7js.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkXLIHTJVMjs.addJsonNotice.call(void 0, {
173
+ _chunkYQKCH4R7js.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunk7SERLBNRjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunkWL7P32PIjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunk7SERLBNRjs.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunkWL7P32PIjs.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunk2B5B5KAWjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunk2HMN5H54js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunkXLIHTJVMjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkYQKCH4R7js.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -4,21 +4,22 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-QG6JIWUL.mjs";
7
+ } from "./chunk-D6Z6POKE.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
+ resolveShellSpawn,
10
11
  syncSdkSkillsIfNeeded
11
- } from "./chunk-A7DLBE5K.mjs";
12
+ } from "./chunk-BOZAP2EM.mjs";
12
13
  import {
13
14
  addJsonNotice,
14
15
  isJsonOutputMode
15
- } from "./chunk-AGICYWGN.mjs";
16
+ } from "./chunk-UC4BDZKI.mjs";
16
17
  import {
17
18
  resolveApiKeyForBaseUrl
18
- } from "./chunk-LFOERUQY.mjs";
19
+ } from "./chunk-52Q5KETX.mjs";
19
20
  import {
20
21
  SDK_VERSION
21
- } from "./chunk-OTV2UUKW.mjs";
22
+ } from "./chunk-S6W6SJ6E.mjs";
22
23
 
23
24
  // src/cli/compatibility-catalog.ts
24
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -98,18 +99,17 @@ function isDowngradeAutoUpdateResponse(response) {
98
99
  }
99
100
  function relaunchCurrentCommand(plan, runtime = {}) {
100
101
  return new Promise((resolve) => {
101
- const command = plan.kind === "python-sidecar" ? plan.sidecarPath : runtime.execPath ?? process.execPath;
102
102
  const argv = runtime.argv ?? process.argv;
103
- const args = plan.kind === "python-sidecar" ? argv.slice(2) : argv.slice(1);
104
103
  const platform = runtime.platform ?? process.platform;
105
- const child = spawn(command, args, {
104
+ const launch = plan.kind === "python-sidecar" ? resolveShellSpawn(plan.sidecarPath, argv.slice(2), platform) : {
105
+ command: runtime.execPath ?? process.execPath,
106
+ args: argv.slice(1),
107
+ shell: false
108
+ };
109
+ const child = spawn(launch.command, launch.args, {
106
110
  windowsHide: true,
107
111
  stdio: "inherit",
108
- // The Node executable is a native binary and must be spawned directly;
109
- // passing `C:\Program Files\...\node.exe` through cmd.exe splits it
110
- // at the first space. The Python-sidecar launcher is a `.cmd` file on
111
- // Windows and still needs the shell dispatch it has always used.
112
- shell: plan.kind === "python-sidecar" && platform === "win32",
112
+ shell: launch.shell,
113
113
  env: {
114
114
  ...process.env,
115
115
  DEEPLINE_NO_AUTO_UPDATE: "1"
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-4BFTDNHU.mjs";
3
+ } from "./chunk-DSKSFFK2.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-AGICYWGN.mjs";
6
+ } from "./chunk-UC4BDZKI.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-LFOERUQY.mjs";
21
+ } from "./chunk-52Q5KETX.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-OTV2UUKW.mjs";
28
+ } from "./chunk-S6W6SJ6E.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-GAVZ4EOD.mjs";
34
+ } from "./chunk-FXQ3JKE3.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";
@@ -524,8 +524,11 @@ function resolveShellSpawn(command, args, platform = process.platform, env = pro
524
524
  return { command: executable, args: [...args], shell: false };
525
525
  }
526
526
  return {
527
- command: escapeCmdCommand(executable),
528
- args: args.map((arg) => escapeCmdArgument(arg)),
527
+ command: [
528
+ escapeCmdCommand(executable),
529
+ ...args.map((arg) => escapeCmdArgument(arg))
530
+ ].join(" "),
531
+ args: [],
529
532
  shell: true
530
533
  };
531
534
  }
@@ -0,0 +1,32 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/cli/shell-quote.ts
2
+ function shellQuote(value) {
3
+ return `'${value.replace(/'/g, `'\\''`)}'`;
4
+ }
5
+ function shellArgument(value, platform = process.platform) {
6
+ if (platform !== "win32") return shellQuote(value);
7
+ if (/^[A-Za-z0-9_+:./\\-][A-Za-z0-9_+=:./\\-]*$/.test(value)) return value;
8
+ if (!/["\u201C\u201D\u201E$`!%\\\r\n]/.test(value)) return `"${value}"`;
9
+ return `'${value.replace(/['\u2018\u2019\u201A\u201B]/g, (quote) => quote + quote)}'`;
10
+ }
11
+ var EXAMPLE_INPUT_FILE = "input.json";
12
+ function exampleJsonInput(json, platform = process.platform) {
13
+ if (platform !== "win32") return { argument: `--input ${shellQuote(json)}` };
14
+ return {
15
+ argument: `--input-file ${EXAMPLE_INPUT_FILE}`,
16
+ file: { path: EXAMPLE_INPUT_FILE, contents: json }
17
+ };
18
+ }
19
+ function examplePlaceholderInput(platform = process.platform) {
20
+ return platform === "win32" ? `--input-file ${EXAMPLE_INPUT_FILE}` : `--input '{...}'`;
21
+ }
22
+ function exampleInputFileLine(file) {
23
+ return `Save this as ${file.path}: ${file.contents}`;
24
+ }
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+ exports.shellQuote = shellQuote; exports.shellArgument = shellArgument; exports.exampleJsonInput = exampleJsonInput; exports.examplePlaceholderInput = examplePlaceholderInput; exports.exampleInputFileLine = exampleInputFileLine;
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-4SMCFQ23.mjs";
4
+ } from "./chunk-XD3MFTHA.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-HSJ6X2AQ.mjs";
7
+ } from "./chunk-62AUAWQV.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-A7DLBE5K.mjs";
10
+ } from "./chunk-BOZAP2EM.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-AGICYWGN.mjs";
13
+ } from "./chunk-UC4BDZKI.mjs";
14
14
  import {
15
15
  DEFAULT_MAX_RETRIES,
16
16
  DEFAULT_TIMEOUT,
17
17
  TRANSIENT_HTTP_STATUSES,
18
18
  autoDetectBaseUrl,
19
19
  defaultRetryBackoffMs
20
- } from "./chunk-LFOERUQY.mjs";
20
+ } from "./chunk-52Q5KETX.mjs";
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-AGICYWGN.mjs";
3
+ } from "./chunk-UC4BDZKI.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -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 _chunkCACFJODGjs = require('./chunk-CACFJODG.js');
3
+ var _chunkOVEYWO4Hjs = require('./chunk-OVEYWO4H.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
7
+ var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkCACFJODGjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkOVEYWO4Hjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkMLABYI4Mjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkMLABYI4Mjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkVIUUTEHYjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkVIUUTEHYjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLRDHPOZWjs = require('./chunk-LRDHPOZW.js');
3
+ var _chunkW6CZDTIRjs = require('./chunk-W6CZDTIR.js');
4
4
 
5
5
 
6
6
  var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
10
+ var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
26
26
  async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
- const baseUrl = _chunkMLABYI4Mjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
- const apiKey = _chunkMLABYI4Mjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
27
+ const baseUrl = _chunkVIUUTEHYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
+ const apiKey = _chunkVIUUTEHYjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
29
29
  if (!apiKey) return "";
30
30
  try {
31
- const { status, data } = await _chunkLRDHPOZWjs.httpJson.call(void 0,
31
+ const { status, data } = await _chunkW6CZDTIRjs.httpJson.call(void 0,
32
32
  "GET",
33
33
  `${baseUrl}/api/v2/billing/entitlements`,
34
34
  apiKey,
@@ -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 _chunk2B5B5KAWjs = require('./chunk-2B5B5KAW.js');
3
+ var _chunk2HMN5H54js = require('./chunk-2HMN5H54.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 = _chunk2B5B5KAWjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunk2HMN5H54js.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
  windowsHide: true,
19
19
  encoding: "utf8",