deepline 0.3.467 → 0.3.468

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 (132) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +2 -1
  3. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +22 -1
  4. package/dist/cli/{auth-7H62VDZD.mjs → auth-CXQRTOBC.mjs} +5 -5
  5. package/dist/cli/auth-MDWIVGZQ.js +41 -0
  6. package/dist/cli/{billing-6TM3ZXDR.mjs → billing-HDKO5VQI.mjs} +6 -6
  7. package/dist/cli/{billing-N5BNGGYN.js → billing-JSIPTXM6.js} +79 -79
  8. package/dist/cli/{chunk-AD5BZUAP.js → chunk-2NE3LCEA.js} +5 -5
  9. package/dist/cli/{chunk-KMYCHMZF.js → chunk-37Z2W7OS.js} +26 -26
  10. package/dist/cli/{chunk-LAMHSZ74.js → chunk-54CKAYKK.js} +10 -10
  11. package/dist/cli/{chunk-7Y53LJLE.js → chunk-54SVGPMK.js} +5 -5
  12. package/dist/cli/{chunk-7ZZWOJTM.js → chunk-5RXVB6UK.js} +3 -3
  13. package/dist/cli/{chunk-VGWH3BFC.mjs → chunk-6PN2RUXL.mjs} +1 -1
  14. package/dist/cli/{chunk-H3QDLCRT.js → chunk-747ZYPXB.js} +53 -53
  15. package/dist/cli/{chunk-HTXQUA3V.mjs → chunk-7PBIHKB4.mjs} +1 -1
  16. package/dist/cli/{chunk-FFOAOQ77.js → chunk-AXTZID4V.js} +6 -6
  17. package/dist/cli/{chunk-AUVEQ3JX.mjs → chunk-CHD7NMZD.mjs} +1 -1
  18. package/dist/cli/{chunk-OSKGEBE7.mjs → chunk-CXYMJSRQ.mjs} +1 -1
  19. package/dist/cli/{chunk-NU64F53H.mjs → chunk-DDUCF63F.mjs} +10 -10
  20. package/dist/cli/{chunk-LKVOV7PX.js → chunk-DQHMXKDT.js} +93 -93
  21. package/dist/cli/{chunk-WBYC7AYC.js → chunk-ECY6QP3M.js} +16 -16
  22. package/dist/cli/{chunk-R5ZJICJA.mjs → chunk-EOWMLNCV.mjs} +1 -1
  23. package/dist/cli/{chunk-AU4BWQTT.mjs → chunk-ERQJLYIS.mjs} +5 -5
  24. package/dist/cli/{chunk-3ZGSR6X7.js → chunk-EXXXRDCC.js} +1 -1
  25. package/dist/cli/{chunk-SYLR33PS.mjs → chunk-F3YSH2CY.mjs} +3 -3
  26. package/dist/cli/{chunk-42AW4SQR.js → chunk-F52TY2QC.js} +21 -21
  27. package/dist/cli/{chunk-WS2BY2ST.js → chunk-FLH4D33O.js} +36 -36
  28. package/dist/cli/{chunk-C4GBOGTW.mjs → chunk-FPFBYOR6.mjs} +2 -2
  29. package/dist/cli/{chunk-KUCUHRLC.mjs → chunk-GCHTTVC7.mjs} +2 -2
  30. package/dist/cli/{chunk-WTVTCSPY.js → chunk-LQ2KVMOD.js} +4 -4
  31. package/dist/cli/{chunk-RH6DVPGW.mjs → chunk-NOQRM7LV.mjs} +2 -2
  32. package/dist/cli/{chunk-DCDTCG2D.mjs → chunk-NZQPALPW.mjs} +2 -2
  33. package/dist/cli/{chunk-YIJS7ET7.js → chunk-OAF5U6SN.js} +51 -51
  34. package/dist/cli/{chunk-WISHPL5Q.mjs → chunk-PZZNEIE3.mjs} +5 -5
  35. package/dist/cli/{chunk-FP3DH46P.mjs → chunk-Q7NNU6KB.mjs} +4 -4
  36. package/dist/cli/{chunk-FS55YDCW.js → chunk-QI2LOENC.js} +3 -3
  37. package/dist/cli/{chunk-FQIGRZ52.mjs → chunk-QKGHYF7A.mjs} +1 -1
  38. package/dist/cli/{chunk-MGUQGKHE.js → chunk-QWJ3V3GI.js} +8 -8
  39. package/dist/cli/{chunk-FRY76AFK.js → chunk-RSMFUWCP.js} +8 -8
  40. package/dist/cli/{chunk-6UZ4MRWN.mjs → chunk-SFWU7IJJ.mjs} +2 -2
  41. package/dist/cli/{chunk-MRBDFPJ7.mjs → chunk-TNOTKGZC.mjs} +2 -2
  42. package/dist/cli/{chunk-G35HNL6P.mjs → chunk-TVDBGEVP.mjs} +1 -1
  43. package/dist/cli/{chunk-ZTA4JIAB.js → chunk-U37BWQZH.js} +9 -9
  44. package/dist/cli/{chunk-4LTQYDZG.mjs → chunk-UA42Q7R3.mjs} +4 -4
  45. package/dist/cli/{chunk-I3LWDZRN.mjs → chunk-UNLLMHY7.mjs} +1 -1
  46. package/dist/cli/{chunk-TNAXVJEG.mjs → chunk-UU4GMU7A.mjs} +4 -4
  47. package/dist/cli/{chunk-WGMNXDRZ.js → chunk-VPCS5KOF.js} +2 -2
  48. package/dist/cli/{chunk-5RXKAXFD.mjs → chunk-WNS5YEZN.mjs} +2 -2
  49. package/dist/cli/{chunk-CER3XHT3.mjs → chunk-X4U763KU.mjs} +3 -3
  50. package/dist/cli/{chunk-FVA6XLRA.js → chunk-YD2KV7RT.js} +7 -7
  51. package/dist/cli/{chunk-SHGBHP6J.js → chunk-YI6TIURR.js} +3 -3
  52. package/dist/cli/{chunk-VOPKDTJT.js → chunk-ZA6UUGOZ.js} +2 -2
  53. package/dist/cli/{chunk-C6EGT3LO.js → chunk-ZJRHPVJU.js} +6 -6
  54. package/dist/cli/{csv-BPZ4VLR6.js → csv-EIXI4D7F.js} +13 -13
  55. package/dist/cli/{csv-435JAJ45.mjs → csv-H2656YID.mjs} +4 -4
  56. package/dist/cli/{db-EBR2UQK3.js → db-7AQJE7CP.js} +27 -27
  57. package/dist/cli/{db-IEUTNOOC.mjs → db-CABNKWAS.mjs} +6 -6
  58. package/dist/cli/{describe-GM233O75.mjs → describe-5RUFO5ZR.mjs} +17 -17
  59. package/dist/cli/describe-ODBO2AMO.js +48 -0
  60. package/dist/cli/describe-core.d.mts +2 -2
  61. package/dist/cli/describe-core.d.ts +2 -2
  62. package/dist/cli/{executions-LDPBVSKZ.mjs → executions-4GUJEBEC.mjs} +6 -6
  63. package/dist/cli/{executions-5SWPQTLB.js → executions-OHOBXCPD.js} +8 -8
  64. package/dist/cli/{feedback-YFW5KT36.js → feedback-JIJWTK2H.js} +8 -8
  65. package/dist/cli/{feedback-JB7BBF64.mjs → feedback-N3CSL3OV.mjs} +4 -4
  66. package/dist/cli/git-TWNEROIX.js +25 -0
  67. package/dist/cli/{git-MCGUPO2W.mjs → git-Z5DTMOAQ.mjs} +5 -5
  68. package/dist/cli/index.js +135 -135
  69. package/dist/cli/index.mjs +40 -40
  70. package/dist/cli/{legacy-noops-EHNXHQL7.mjs → legacy-noops-XTLI64KX.mjs} +5 -5
  71. package/dist/cli/{legacy-noops-LMGSIBWM.js → legacy-noops-ZEJRXMTS.js} +8 -8
  72. package/dist/cli/{monitors-355EWLGN.mjs → monitors-3MDJEWZB.mjs} +7 -7
  73. package/dist/cli/{monitors-VRQ32EAA.js → monitors-E3TTJB3S.js} +91 -91
  74. package/dist/cli/{org-W3YZN65W.js → org-722NMZ4T.js} +72 -72
  75. package/dist/cli/{org-MJ6XMAI4.mjs → org-AJUXWQ6P.mjs} +6 -6
  76. package/dist/cli/{pages-JPK6UVMV.js → pages-CPCWTTPD.js} +17 -17
  77. package/dist/cli/{pages-62QNUXV2.mjs → pages-Y6AC7PBJ.mjs} +6 -6
  78. package/dist/cli/{play-WPPJQBBS.js → play-ACQ54HNN.js} +304 -304
  79. package/dist/cli/{play-CKBPES6Q.mjs → play-TYHP7UNL.mjs} +17 -17
  80. package/dist/cli/{providers-LLPKHVXL.mjs → providers-BSXILLKJ.mjs} +6 -6
  81. package/dist/cli/{providers-DH5JJ5HN.js → providers-UDG7V7WU.js} +9 -9
  82. package/dist/cli/{quickstart-K5HVPO2L.mjs → quickstart-66MNFG2G.mjs} +4 -4
  83. package/dist/cli/{quickstart-NNEF37EG.js → quickstart-ZW7VOPFN.js} +6 -6
  84. package/dist/cli/{run-SKIZFJ5O.mjs → run-JSAI5PRF.mjs} +22 -22
  85. package/dist/cli/{run-N2KY2VNQ.js → run-KPS3O2VA.js} +36 -36
  86. package/dist/cli/{search-2WXJ3GID.mjs → search-GQGB3JIE.mjs} +7 -7
  87. package/dist/cli/search-JUXEQ5HQ.js +32 -0
  88. package/dist/cli/{secrets-6GEQ75OU.mjs → secrets-LGGKGT3A.mjs} +6 -6
  89. package/dist/cli/{secrets-5YVX7LK7.js → secrets-UVQKUCBM.js} +15 -15
  90. package/dist/cli/{sessions-GOPZ3YRN.mjs → sessions-JYPDKPVA.mjs} +5 -5
  91. package/dist/cli/{sessions-H3QES7C2.js → sessions-MPZ42HUS.js} +6 -6
  92. package/dist/cli/{settings-IP47HYC6.mjs → settings-5UVSGJ72.mjs} +11 -11
  93. package/dist/cli/{settings-62SU5ROV.js → settings-E7VTIIRT.js} +78 -78
  94. package/dist/cli/{setup-LCKXUSW5.mjs → setup-FM6VKRER.mjs} +9 -9
  95. package/dist/cli/{setup-YCCU7TU4.js → setup-NQ5BQ3ZY.js} +44 -44
  96. package/dist/cli/skills-OLIMNV35.js +31 -0
  97. package/dist/cli/{skills-3QAQI6X7.mjs → skills-WOCXEASX.mjs} +7 -7
  98. package/dist/cli/tools-IZNJT6RU.js +55 -0
  99. package/dist/cli/{tools-HKD4G6HA.mjs → tools-QZRDZS45.mjs} +16 -16
  100. package/dist/cli/update-4JVVAYI4.js +33 -0
  101. package/dist/cli/{update-2VYSBSDD.mjs → update-OW2FEGGG.mjs} +9 -9
  102. package/dist/cli/{workflow-MMWGUSGY.js → workflow-QJM2ELOS.js} +17 -17
  103. package/dist/cli/{workflow-EFRGY6JD.mjs → workflow-QRGUHBKL.mjs} +7 -7
  104. package/dist/{client-BOEAXwJj.d.ts → client-B3tlWsw7.d.ts} +1 -1
  105. package/dist/{client-DL0koOaP.d.mts → client-CdJR18SJ.d.mts} +1 -1
  106. package/dist/{client-core-CowyuxKu.d.mts → client-core-ByJD7QXj.d.mts} +1 -1
  107. package/dist/{client-core-BX_8khUY.d.ts → client-core-CxHBKfE5.d.ts} +1 -1
  108. package/dist/index.d.mts +3 -3
  109. package/dist/index.d.ts +3 -3
  110. package/dist/index.js +9 -9
  111. package/dist/index.mjs +6 -6
  112. package/dist/install-integrity.json +100 -100
  113. package/dist/plays/play-description.d.mts +1 -1
  114. package/dist/plays/play-description.d.ts +1 -1
  115. package/dist/plays/run-request.d.mts +1 -1
  116. package/dist/plays/run-request.d.ts +1 -1
  117. package/dist/release.d.mts +1 -1
  118. package/dist/release.d.ts +1 -1
  119. package/dist/release.js +2 -2
  120. package/dist/release.mjs +1 -1
  121. package/dist/server.d.mts +2 -2
  122. package/dist/server.d.ts +2 -2
  123. package/dist/server.js +5 -5
  124. package/dist/server.mjs +3 -3
  125. package/package.json +1 -1
  126. package/dist/cli/auth-EXW5E3DI.js +0 -41
  127. package/dist/cli/describe-EPT52IUE.js +0 -48
  128. package/dist/cli/git-7L7LKOKW.js +0 -25
  129. package/dist/cli/search-HO7ARG3H.js +0 -32
  130. package/dist/cli/skills-UVAIKQNC.js +0 -31
  131. package/dist/cli/tools-KAIUUBTD.js +0 -55
  132. package/dist/cli/update-Q3AMECAG.js +0 -33
@@ -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(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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 _chunkAD5BZUAPjs = require('./chunk-AD5BZUAP.js');
3
+ var _chunk2NE3LCEAjs = require('./chunk-2NE3LCEA.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkC6EGT3LOjs = require('./chunk-C6EGT3LO.js');
7
+ var _chunkZJRHPVJUjs = require('./chunk-ZJRHPVJU.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-JKVRBCZL.js');
10
10
  require('./chunk-NMU3VR5U.js');
@@ -15,9 +15,9 @@ require('./chunk-XDVT3GOM.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
19
- require('./chunk-SHGBHP6J.js');
20
- require('./chunk-WTVTCSPY.js');
18
+ var _chunkYD2KV7RTjs = require('./chunk-YD2KV7RT.js');
19
+ require('./chunk-YI6TIURR.js');
20
+ require('./chunk-LQ2KVMOD.js');
21
21
 
22
22
 
23
23
 
@@ -26,7 +26,7 @@ require('./chunk-XNYIZMNQ.js');
26
26
 
27
27
 
28
28
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
29
- require('./chunk-3ZGSR6X7.js');
29
+ require('./chunk-EXXXRDCC.js');
30
30
  require('./chunk-OG64RBAC.js');
31
31
  require('./chunk-COGTRVWW.js');
32
32
 
@@ -75,7 +75,7 @@ function reportBillingFailure(failure, options) {
75
75
  if (failure.next) {
76
76
  textLines.push(`Next: ${failure.next}`);
77
77
  }
78
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
78
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
79
79
  {
80
80
  ok: false,
81
81
  exitCode: failure.exitCode,
@@ -96,7 +96,7 @@ function parseTopUpCredits(raw) {
96
96
  return parsed;
97
97
  }
98
98
  function topUpIdempotencyKey(raw) {
99
- return raw === void 0 ? `cli_topup:${Date.now()}:${_crypto.randomUUID.call(void 0, )}` : _chunkC6EGT3LOjs.requireBillingIdempotencyKey.call(void 0, raw);
99
+ return raw === void 0 ? `cli_topup:${Date.now()}:${_crypto.randomUUID.call(void 0, )}` : _chunkZJRHPVJUjs.requireBillingIdempotencyKey.call(void 0, raw);
100
100
  }
101
101
  function targetBillingIdempotencyKey(raw) {
102
102
  return typeof raw === "string" ? raw : `cli_target_billing:${Date.now()}:${_crypto.randomUUID.call(void 0, )}`;
@@ -315,7 +315,7 @@ function defaultLedgerExportPath() {
315
315
  );
316
316
  }
317
317
  async function handleBalance(options) {
318
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
318
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
319
319
  const payload = await http.get(
320
320
  "/api/v2/billing/balance"
321
321
  );
@@ -399,7 +399,7 @@ async function handleBalance(options) {
399
399
  ...options.verbose ? detail : [],
400
400
  ...lines.slice(1)
401
401
  ];
402
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
402
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
403
403
  {
404
404
  ...payload,
405
405
  ...recovery ? { recovery } : {},
@@ -435,7 +435,7 @@ async function handleUsageEvents(options) {
435
435
  );
436
436
  return;
437
437
  }
438
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
438
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
439
439
  let payload;
440
440
  try {
441
441
  payload = await client.billing.usageEvents({
@@ -466,7 +466,7 @@ async function handleUsageEvents(options) {
466
466
  ),
467
467
  ...nextPage ? [`Next page: ${nextPage}`] : []
468
468
  ];
469
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
469
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
470
470
  {
471
471
  ...payload,
472
472
  next: { page: nextPage },
@@ -477,7 +477,7 @@ async function handleUsageEvents(options) {
477
477
  }
478
478
  async function handleUsage(options) {
479
479
  if (options.events) return handleUsageEvents(options);
480
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
480
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
481
481
  const params = new URLSearchParams();
482
482
  if (options.requestId !== void 0) {
483
483
  const requestId = options.requestId.trim();
@@ -558,7 +558,7 @@ async function handleUsage(options) {
558
558
  "No continuation is available for this view. Use deepline billing ledger export all for the full ledger."
559
559
  ] : []
560
560
  ];
561
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
561
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
562
562
  {
563
563
  ...payload,
564
564
  recent: {
@@ -572,7 +572,7 @@ async function handleUsage(options) {
572
572
  );
573
573
  }
574
574
  async function handleLimit(options) {
575
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
575
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
576
576
  const payload = await http.get(
577
577
  "/api/v2/billing/limit"
578
578
  );
@@ -580,7 +580,7 @@ async function handleLimit(options) {
580
580
  `Monthly usage cap: ${_nullishCoalesce(payload.monthly_credits_limit, () => ( "(unknown)"))}`,
581
581
  "Enforcement: checked before new calls; in-flight work can exceed the cap."
582
582
  ] : ["Monthly usage cap: off"];
583
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
583
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
584
584
  {
585
585
  ...payload,
586
586
  render: { sections: [{ title: "billing limit", lines }] }
@@ -589,12 +589,12 @@ async function handleLimit(options) {
589
589
  );
590
590
  }
591
591
  async function handleSetLimit(credits, options) {
592
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
592
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
593
593
  const payload = await http.request("/api/v2/billing/limit", {
594
594
  method: "PUT",
595
595
  body: { monthly_credits_limit: Number.parseInt(credits, 10) }
596
596
  });
597
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
597
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...payload,
600
600
  render: {
@@ -610,11 +610,11 @@ async function handleSetLimit(credits, options) {
610
610
  );
611
611
  }
612
612
  async function handleLimitOff(options) {
613
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
613
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
614
614
  const payload = await http.request("/api/v2/billing/limit", {
615
615
  method: "DELETE"
616
616
  });
617
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
617
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
618
618
  {
619
619
  ...payload,
620
620
  render: {
@@ -634,7 +634,7 @@ async function exportLedger(http, outputPath, options) {
634
634
  let initialized = false;
635
635
  let pageNumber = 0;
636
636
  console.error(`Exporting billing ledger to ${outputPath}`);
637
- for await (const entries of _chunkC6EGT3LOjs.iterateCursorPages.call(void 0, async (cursor) => {
637
+ for await (const entries of _chunkZJRHPVJUjs.iterateCursorPages.call(void 0, async (cursor) => {
638
638
  pageNumber += 1;
639
639
  console.error(
640
640
  `Fetching page ${pageNumber}; ${summary.row_count} rows written.`
@@ -673,7 +673,7 @@ async function exportLedger(http, outputPath, options) {
673
673
  return summary;
674
674
  }
675
675
  async function handleHistory(options) {
676
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
676
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
677
677
  const windows = {
678
678
  "1d": 86400,
679
679
  "1w": 604800,
@@ -685,10 +685,10 @@ async function handleHistory(options) {
685
685
  process.cwd(),
686
686
  "deepline",
687
687
  "data",
688
- _chunkFVA6XLRAjs.createTimestampedName.call(void 0, `billing-history-${options.time}`, "csv")
688
+ _chunkYD2KV7RTjs.createTimestampedName.call(void 0, `billing-history-${options.time}`, "csv")
689
689
  );
690
690
  const summary = await exportLedger(http, outputPath, { sinceAt });
691
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
691
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
692
692
  {
693
693
  output_path: outputPath,
694
694
  row_count: summary.row_count,
@@ -725,14 +725,14 @@ async function handleLedgerExportAll(options) {
725
725
  );
726
726
  return;
727
727
  }
728
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
728
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
729
729
  const outputPath = options.output ? _path.resolve.call(void 0, String(options.output)) : defaultLedgerExportPath();
730
730
  const summary = await exportLedger(http, outputPath, {
731
731
  sinceAt,
732
732
  runId: options.runId,
733
733
  operation: options.operation
734
734
  });
735
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
735
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
736
736
  {
737
737
  output_path: outputPath,
738
738
  row_count: summary.row_count,
@@ -771,7 +771,7 @@ function targetPlanLine(plan) {
771
771
  return `${plan.name} (${plan.sku}) | ${planPriceText(plan.recurring_price_usd, plan.interval)} | ${plan.included_credits} included credits/month | $${plan.purchased_credit_price_usd}/purchased credit | ${plan.acquisition_enabled ? "available" : "unavailable"}`;
772
772
  }
773
773
  async function handlePlans(options) {
774
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
774
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
775
775
  const payload = await client.billing.targetPlans();
776
776
  const listedCurrentPlan = payload.plans.find(
777
777
  (plan) => plan.sku === payload.current_plan_sku
@@ -784,8 +784,8 @@ async function handlePlans(options) {
784
784
  ...payload.plans.length === 0 ? ["Plans: none available"] : ["Plans:", ...payload.plans.map(targetPlanLine)],
785
785
  "Change plan: deepline billing change-plan <plan_sku>"
786
786
  ];
787
- const legacyPayload = _chunkFVA6XLRAjs.shouldEmitJson.call(void 0, options.json) ? await client.billing.plans() : null;
788
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
787
+ const legacyPayload = _chunkYD2KV7RTjs.shouldEmitJson.call(void 0, options.json) ? await client.billing.plans() : null;
788
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
789
789
  {
790
790
  ..._nullishCoalesce(legacyPayload, () => ( payload)),
791
791
  ...legacyPayload ? { target_billing: payload } : {},
@@ -795,7 +795,7 @@ async function handlePlans(options) {
795
795
  );
796
796
  }
797
797
  async function handleSubscribe(planVersionId, options) {
798
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
798
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
799
799
  const payload = await http.request(
800
800
  "/api/v2/billing/subscription/checkout",
801
801
  {
@@ -804,8 +804,8 @@ async function handleSubscribe(planVersionId, options) {
804
804
  }
805
805
  );
806
806
  const url = String(payload.checkout_url || "");
807
- if (!options.json && options.open !== false && url) _chunkFVA6XLRAjs.openInBrowser.call(void 0, url);
808
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
807
+ if (!options.json && options.open !== false && url) _chunkYD2KV7RTjs.openInBrowser.call(void 0, url);
808
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
809
809
  {
810
810
  ...payload,
811
811
  render: {
@@ -821,7 +821,7 @@ async function handleSubscribe(planVersionId, options) {
821
821
  );
822
822
  }
823
823
  async function handleSubscriptionStatus(options) {
824
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
824
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
825
825
  const payload = await client.billing.subscription.status();
826
826
  const pools = _nullishCoalesce(payload.credit_pools, () => ( []));
827
827
  const lines = [
@@ -841,7 +841,7 @@ async function handleSubscriptionStatus(options) {
841
841
  ],
842
842
  `Assigned by: ${_nullishCoalesce(payload.assigned_by, () => ( "default"))}`
843
843
  ];
844
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
844
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
845
845
  {
846
846
  ...payload,
847
847
  render: { sections: [{ title: "billing subscription", lines }] }
@@ -850,7 +850,7 @@ async function handleSubscriptionStatus(options) {
850
850
  );
851
851
  }
852
852
  async function handleSubscriptionCancel(options) {
853
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
853
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
854
854
  const action = options.undo ? "undo_cancel" : "cancel";
855
855
  if (options.dryRun) {
856
856
  const status = await client.billing.subscription.status();
@@ -867,7 +867,7 @@ async function handleSubscriptionCancel(options) {
867
867
  return;
868
868
  }
869
869
  const consequence = action === "cancel" ? `Would schedule cancellation at period end${status.current_period_end ? ` (${status.current_period_end})` : ""}. The subscription stays active until then and remaining credits are kept.` : "Would reverse the pending cancellation; the subscription would renew normally.";
870
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
870
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
871
871
  {
872
872
  ok: true,
873
873
  dry_run: true,
@@ -922,7 +922,7 @@ async function handleSubscriptionCancel(options) {
922
922
  "Remaining credits are yours to keep \u2014 cancellation never removes credits.",
923
923
  "Undo with: deepline billing subscription cancel --undo"
924
924
  ];
925
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
925
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
926
926
  {
927
927
  ok: true,
928
928
  ...result,
@@ -976,7 +976,7 @@ async function handleInvoices(options) {
976
976
  return;
977
977
  }
978
978
  }
979
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
979
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
980
980
  let payload;
981
981
  try {
982
982
  payload = await client.billing.invoices.list(
@@ -1005,7 +1005,7 @@ async function handleInvoices(options) {
1005
1005
  url: entry.url
1006
1006
  }))
1007
1007
  } : { ...payload, count: entries.length };
1008
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1008
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1009
1009
  {
1010
1010
  ...envelope,
1011
1011
  render: { sections: [{ title: "billing invoices", lines }] }
@@ -1014,7 +1014,7 @@ async function handleInvoices(options) {
1014
1014
  );
1015
1015
  }
1016
1016
  async function handleCheckout(options) {
1017
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
1017
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
1018
1018
  const payload = await http.post(
1019
1019
  "/api/v2/billing/checkout",
1020
1020
  {
@@ -1024,8 +1024,8 @@ async function handleCheckout(options) {
1024
1024
  }
1025
1025
  );
1026
1026
  const url = String(payload.url || payload.checkout_url || "");
1027
- if (!options.json && !options.noOpen && url) _chunkFVA6XLRAjs.openInBrowser.call(void 0, url);
1028
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1027
+ if (!options.json && !options.noOpen && url) _chunkYD2KV7RTjs.openInBrowser.call(void 0, url);
1028
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1029
1029
  {
1030
1030
  ...payload,
1031
1031
  render: {
@@ -1070,7 +1070,7 @@ async function handleTopUp(creditsRaw, options) {
1070
1070
  return;
1071
1071
  }
1072
1072
  if (options.dryRun) {
1073
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1073
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1074
1074
  {
1075
1075
  ok: true,
1076
1076
  dry_run: true,
@@ -1100,7 +1100,7 @@ async function handleTopUp(creditsRaw, options) {
1100
1100
  );
1101
1101
  return;
1102
1102
  }
1103
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
1103
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
1104
1104
  let payload;
1105
1105
  try {
1106
1106
  payload = await client.billing.topUpWithReceipt({
@@ -1117,7 +1117,7 @@ async function handleTopUp(creditsRaw, options) {
1117
1117
  return;
1118
1118
  }
1119
1119
  if (payload.status === "pending") {
1120
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1120
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1121
1121
  {
1122
1122
  ok: true,
1123
1123
  ...payload,
@@ -1181,17 +1181,17 @@ async function handleTopUp(creditsRaw, options) {
1181
1181
  ]
1182
1182
  }
1183
1183
  };
1184
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, options.compact ? compactEnvelope : fullEnvelope, {
1184
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0, options.compact ? compactEnvelope : fullEnvelope, {
1185
1185
  json: options.json
1186
1186
  });
1187
1187
  }
1188
1188
  async function handleTargetStatus(options) {
1189
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
1189
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
1190
1190
  const payload = await client.billing.targetStatus();
1191
1191
  const balanceCommand = "deepline billing balance";
1192
1192
  const recentChargesCommand = "deepline billing usage --limit 5";
1193
1193
  const exactChargeCommand = "deepline billing usage --request-id <job_id>";
1194
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1194
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1195
1195
  {
1196
1196
  ok: true,
1197
1197
  ...payload,
@@ -1227,10 +1227,10 @@ function formatComputeMinutes(minutes) {
1227
1227
  return minutes < 120 ? `${Number(minutes.toFixed(1)).toLocaleString("en-US")} minutes` : `${Number((minutes / 60).toFixed(1)).toLocaleString("en-US")} hours`;
1228
1228
  }
1229
1229
  async function handleIncludedCompute(options) {
1230
- const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
1230
+ const client = new (0, _chunk2NE3LCEAjs.DeeplineClient)();
1231
1231
  const payload = options.enable ? await client.billing.enableIncludedCompute() : await client.billing.includedCompute();
1232
1232
  const plan = `${formatComputeMinutes(payload.plan.included_minutes)} included per month, then ${Math.round(payload.plan.credits_per_minute * 60)} credits/hour`;
1233
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1233
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1234
1234
  {
1235
1235
  ok: true,
1236
1236
  ...payload,
@@ -1256,8 +1256,8 @@ async function handleIncludedCompute(options) {
1256
1256
  );
1257
1257
  }
1258
1258
  async function handleEntitlements(options) {
1259
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.entitlements();
1260
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1259
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.entitlements();
1260
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1261
1261
  {
1262
1262
  ok: true,
1263
1263
  ...payload,
@@ -1290,7 +1290,7 @@ async function handleEntitlements(options) {
1290
1290
  );
1291
1291
  }
1292
1292
  async function handleAutoRechargeStatus(options) {
1293
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.autoRecharge.get();
1293
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.autoRecharge.get();
1294
1294
  const state = payload.available ? payload.enabled ? "on" : "off" : "unavailable";
1295
1295
  const lines = [
1296
1296
  `State: ${state}`,
@@ -1300,7 +1300,7 @@ async function handleAutoRechargeStatus(options) {
1300
1300
  `Automatic credit purchase cap: ${payload.purchase_limit_credits} credits per rolling 30 days`
1301
1301
  ] : []
1302
1302
  ];
1303
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1303
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1304
1304
  {
1305
1305
  ok: true,
1306
1306
  ...payload,
@@ -1349,7 +1349,7 @@ async function handleAutoRechargeSet(options) {
1349
1349
  }
1350
1350
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1351
1351
  if (options.dryRun) {
1352
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1352
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1353
1353
  {
1354
1354
  ok: true,
1355
1355
  dry_run: true,
@@ -1370,7 +1370,7 @@ async function handleAutoRechargeSet(options) {
1370
1370
  );
1371
1371
  return;
1372
1372
  }
1373
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.autoRecharge.update({
1373
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.autoRecharge.update({
1374
1374
  enabled: true,
1375
1375
  thresholdCredits,
1376
1376
  refillToCredits,
@@ -1378,7 +1378,7 @@ async function handleAutoRechargeSet(options) {
1378
1378
  ...rollingLimitCredits !== void 0 ? { purchaseLimitCredits: rollingLimitCredits } : {},
1379
1379
  idempotencyKey
1380
1380
  });
1381
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1381
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1382
1382
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1383
1383
  { json: options.json }
1384
1384
  );
@@ -1386,7 +1386,7 @@ async function handleAutoRechargeSet(options) {
1386
1386
  async function handleAutoRechargeOff(options) {
1387
1387
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1388
1388
  if (options.dryRun) {
1389
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1389
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1390
1390
  {
1391
1391
  ok: true,
1392
1392
  dry_run: true,
@@ -1401,11 +1401,11 @@ async function handleAutoRechargeOff(options) {
1401
1401
  );
1402
1402
  return;
1403
1403
  }
1404
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.autoRecharge.update({
1404
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.autoRecharge.update({
1405
1405
  enabled: false,
1406
1406
  idempotencyKey
1407
1407
  });
1408
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1408
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1409
1409
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1410
1410
  { json: options.json }
1411
1411
  );
@@ -1424,11 +1424,11 @@ async function handleBuyCredits(creditsRaw, options) {
1424
1424
  return;
1425
1425
  }
1426
1426
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1427
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.purchaseCredits({
1427
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.purchaseCredits({
1428
1428
  credits,
1429
1429
  idempotencyKey
1430
1430
  });
1431
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1431
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1432
1432
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1433
1433
  { json: options.json }
1434
1434
  );
@@ -1464,7 +1464,7 @@ async function handleTopUpRecover(creditsRaw, options) {
1464
1464
  return;
1465
1465
  }
1466
1466
  if (options.dryRun) {
1467
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1467
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1468
1468
  {
1469
1469
  ok: true,
1470
1470
  dry_run: true,
@@ -1477,12 +1477,12 @@ async function handleTopUpRecover(creditsRaw, options) {
1477
1477
  );
1478
1478
  return;
1479
1479
  }
1480
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.recoverCreditPurchase({
1480
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.recoverCreditPurchase({
1481
1481
  credits,
1482
1482
  orgId: options.orgId,
1483
1483
  idempotencyKey: options.idempotencyKey
1484
1484
  });
1485
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1485
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1486
1486
  { ok: true, idempotency_key: options.idempotencyKey, ...payload },
1487
1487
  { json: options.json }
1488
1488
  );
@@ -1502,37 +1502,37 @@ async function handleTargetPlan(planSku, options) {
1502
1502
  return;
1503
1503
  }
1504
1504
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1505
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.transitionPlan({
1505
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.transitionPlan({
1506
1506
  action: "start_or_change",
1507
1507
  targetPlanSku: planSku,
1508
1508
  ...options.billingEmail ? { billingEmail: options.billingEmail } : {},
1509
1509
  idempotencyKey
1510
1510
  });
1511
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1511
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1512
1512
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1513
1513
  { json: options.json }
1514
1514
  );
1515
1515
  }
1516
1516
  async function handleTargetPlanCancellation(options) {
1517
1517
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1518
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.transitionPlan({
1518
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.transitionPlan({
1519
1519
  action: options.undo ? "undo_cancel" : "cancel",
1520
1520
  idempotencyKey
1521
1521
  });
1522
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1522
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1523
1523
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1524
1524
  { json: options.json }
1525
1525
  );
1526
1526
  }
1527
1527
  async function handleTargetPortal(options) {
1528
- const payload = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.portalSession(
1528
+ const payload = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.portalSession(
1529
1529
  options.billingAddress ? { flow: "customer_update" } : void 0
1530
1530
  );
1531
- if (!options.json && !options.noOpen) _chunkFVA6XLRAjs.openInBrowser.call(void 0, payload.url);
1532
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, { ok: true, ...payload }, { json: options.json });
1531
+ if (!options.json && !options.noOpen) _chunkYD2KV7RTjs.openInBrowser.call(void 0, payload.url);
1532
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0, { ok: true, ...payload }, { json: options.json });
1533
1533
  }
1534
1534
  async function handleRedeemCode(code, options) {
1535
- const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
1535
+ const { http } = _chunkYD2KV7RTjs.getAuthedHttpClient.call(void 0, );
1536
1536
  const payload = await http.post(
1537
1537
  "/api/v2/billing/checkout",
1538
1538
  {
@@ -1540,8 +1540,8 @@ async function handleRedeemCode(code, options) {
1540
1540
  }
1541
1541
  );
1542
1542
  const url = String(payload.url || payload.checkout_url || "");
1543
- if (!options.json && !options.noOpen && url) _chunkFVA6XLRAjs.openInBrowser.call(void 0, url);
1544
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1543
+ if (!options.json && !options.noOpen && url) _chunkYD2KV7RTjs.openInBrowser.call(void 0, url);
1544
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0,
1545
1545
  {
1546
1546
  ...payload,
1547
1547
  render: {
@@ -1599,14 +1599,14 @@ Examples:
1599
1599
  if (!Number.isSafeInteger(quantity) || quantity <= 0) {
1600
1600
  throw new Error("--quantity must be a positive safe integer.");
1601
1601
  }
1602
- const quote = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.quote({
1602
+ const quote = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.quote({
1603
1603
  quantity,
1604
1604
  sandbox_runtime: {
1605
1605
  timeout: options.sandboxTimeout,
1606
1606
  size: "standard"
1607
1607
  }
1608
1608
  });
1609
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, quote, {
1609
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0, quote, {
1610
1610
  json: options.json,
1611
1611
  text: `Sandbox session ceiling: ${quote.maximum_credits} Deepline credits (${quote.quantity} session${quote.quantity === 1 ? "" : "s"}).
1612
1612
  ${quote.explanation}
@@ -1851,8 +1851,8 @@ Examples:
1851
1851
  new (0, _commander.Command)("trigger").description(
1852
1852
  "Evaluate capped automatic recharge and resume any pending purchase."
1853
1853
  ).option("--json", "Emit JSON output").action(async (options) => {
1854
- const result = await new (0, _chunkAD5BZUAPjs.DeeplineClient)().billing.autoRecharge.trigger();
1855
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, { ok: true, ...result }, { json: options.json });
1854
+ const result = await new (0, _chunk2NE3LCEAjs.DeeplineClient)().billing.autoRecharge.trigger();
1855
+ _chunkYD2KV7RTjs.printCommandEnvelope.call(void 0, { ok: true, ...result }, { json: options.json });
1856
1856
  })
1857
1857
  );
1858
1858
  billing.command("change-plan").description("Start or change the target billing plan.").argument("<plan_sku>", "payg-v1, builder-v1, growth-v1, or team-v1").option(
@@ -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 _chunkC6EGT3LOjs = require('./chunk-C6EGT3LO.js');
3
+ var _chunkZJRHPVJUjs = require('./chunk-ZJRHPVJU.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
7
+ var _chunkYI6TIURRjs = require('./chunk-YI6TIURR.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkC6EGT3LOjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkZJRHPVJUjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkSHGBHP6Jjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkSHGBHP6Jjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkYI6TIURRjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkYI6TIURRjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16