deepline 0.3.482 → 0.3.483

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 (121) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-R5GFDAMI.mjs → auth-2NXF6Q3Q.mjs} +5 -5
  3. package/dist/cli/auth-JHQKM6QY.js +43 -0
  4. package/dist/cli/{billing-DXKVQPTC.js → billing-5PW4L5WD.js} +79 -79
  5. package/dist/cli/{billing-SO5SFQFC.mjs → billing-W2Y4EOZP.mjs} +6 -6
  6. package/dist/cli/{chunk-DYHBKFCW.mjs → chunk-25IGCYJP.mjs} +3 -3
  7. package/dist/cli/{chunk-3EN2BLAS.js → chunk-2JWG2H2N.js} +1 -1
  8. package/dist/cli/{chunk-Y4Y2QUFL.js → chunk-2MKX3HV3.js} +5 -5
  9. package/dist/cli/{chunk-LKFQERA6.js → chunk-2T4OSJEH.js} +21 -21
  10. package/dist/cli/{chunk-JLI7SK55.mjs → chunk-4X23YY2E.mjs} +5 -5
  11. package/dist/cli/chunk-5AEDYVB6.mjs +6 -0
  12. package/dist/cli/{chunk-SFZCKYTD.js → chunk-5ICAG4RE.js} +9 -9
  13. package/dist/cli/{chunk-UVU4OCYO.js → chunk-5JCXS4MP.js} +5 -5
  14. package/dist/cli/{chunk-OVSSKTXG.js → chunk-5LHU7NUS.js} +3 -3
  15. package/dist/cli/{chunk-DZRHML3J.js → chunk-62XGOB2D.js} +26 -26
  16. package/dist/cli/{chunk-NXTZ4UNI.js → chunk-75IIHFN6.js} +4 -4
  17. package/dist/cli/{chunk-LVOEZVDW.mjs → chunk-7APXZ3CX.mjs} +2 -2
  18. package/dist/cli/{chunk-M6B2OZGA.js → chunk-7TKLISLM.js} +3 -3
  19. package/dist/cli/{chunk-RCWBWM5J.mjs → chunk-AWAFYRFV.mjs} +1 -1
  20. package/dist/cli/{chunk-RLYJ4O6Q.js → chunk-B7HQL77V.js} +53 -53
  21. package/dist/cli/{chunk-RLG2MNXH.mjs → chunk-C3LJSOQ6.mjs} +4 -4
  22. package/dist/cli/chunk-D3BCSAN7.js +6 -0
  23. package/dist/cli/{chunk-AEMPAR6L.js → chunk-DS455RPF.js} +3 -3
  24. package/dist/cli/{chunk-G7N2DYQL.mjs → chunk-EDMCD7MX.mjs} +5 -5
  25. package/dist/cli/{chunk-QCIG6V26.mjs → chunk-EGHYGTJM.mjs} +1 -1
  26. package/dist/cli/{chunk-LMLN7R7X.mjs → chunk-FAZTLYJO.mjs} +2 -2
  27. package/dist/cli/{chunk-EC2QPBSZ.mjs → chunk-FGEC5SWP.mjs} +4 -4
  28. package/dist/cli/{chunk-5MHCTVMM.mjs → chunk-FK47YUPC.mjs} +1 -1
  29. package/dist/cli/{chunk-Y6OKWGAM.mjs → chunk-GGJQ4HJW.mjs} +2 -2
  30. package/dist/cli/{chunk-OO6HA5OT.js → chunk-GONUMUBM.js} +7 -7
  31. package/dist/cli/{chunk-BK3XMHPF.mjs → chunk-GRE3ID5E.mjs} +1 -1
  32. package/dist/cli/{chunk-SKBXTN5F.mjs → chunk-IEV5UWPN.mjs} +1 -1
  33. package/dist/cli/chunk-ISP7ZENV.mjs +200 -0
  34. package/dist/cli/{chunk-7SZUHFJ6.mjs → chunk-J7S3DJB4.mjs} +2 -2
  35. package/dist/cli/{chunk-AJT436SK.mjs → chunk-JJSLEMQQ.mjs} +1 -1
  36. package/dist/cli/{chunk-2KC3MJP5.mjs → chunk-JYEZ6BWX.mjs} +2 -2
  37. package/dist/cli/{chunk-BHID34HA.js → chunk-MYB6JVSD.js} +16 -16
  38. package/dist/cli/{chunk-AZRG5NWV.mjs → chunk-NREZRYPU.mjs} +2 -2
  39. package/dist/cli/{chunk-4V34YMLU.js → chunk-PHDEQ6W3.js} +6 -6
  40. package/dist/cli/{chunk-FKGA7VKL.mjs → chunk-PRL7EKJZ.mjs} +4 -4
  41. package/dist/cli/{chunk-YT6GV6RP.js → chunk-QSYA6VE4.js} +2 -2
  42. package/dist/cli/{chunk-FUVJPW7O.js → chunk-R2OR4RHV.js} +8 -8
  43. package/dist/cli/{chunk-DM7APZWK.mjs → chunk-S24CK3CJ.mjs} +2 -2
  44. package/dist/cli/{chunk-KDJZXX7I.mjs → chunk-SCPFOH5Z.mjs} +1 -1
  45. package/dist/cli/{chunk-6NF7S5WY.js → chunk-T5GZZJ7O.js} +6 -6
  46. package/dist/cli/{chunk-HYS35M6H.mjs → chunk-UDF2CY4D.mjs} +10 -10
  47. package/dist/cli/{chunk-ETJSPSOQ.js → chunk-UGBZ6MCR.js} +2 -2
  48. package/dist/cli/{chunk-MFNEJOQG.js → chunk-UY7OXFVU.js} +10 -10
  49. package/dist/cli/{chunk-2ZIUCN5I.js → chunk-VFEW53L5.js} +93 -93
  50. package/dist/cli/{chunk-VU2PUAEH.js → chunk-WI2HNYQX.js} +53 -53
  51. package/dist/cli/{chunk-AZUDSDZX.js → chunk-WKB6Y43W.js} +37 -37
  52. package/dist/cli/chunk-XRIQN6EP.js +200 -0
  53. package/dist/cli/{chunk-FQFAWIRK.mjs → chunk-YL64JIQ7.mjs} +1 -1
  54. package/dist/cli/{csv-IC3XJ4PV.mjs → csv-DIFVIR23.mjs} +4 -4
  55. package/dist/cli/{csv-UWFQLI3K.js → csv-EKEFLUIW.js} +13 -13
  56. package/dist/cli/{db-RIPJQYF3.mjs → db-DOW4EVEU.mjs} +6 -6
  57. package/dist/cli/{db-PT73YDEP.js → db-S7DDRUHX.js} +27 -27
  58. package/dist/cli/{describe-GHI2MTDW.mjs → describe-KSZFOWKV.mjs} +18 -17
  59. package/dist/cli/describe-RXYQCJRR.js +49 -0
  60. package/dist/cli/{executions-QUOWVXCU.js → executions-3DU5IXB6.js} +8 -8
  61. package/dist/cli/{executions-XUJBZF5H.mjs → executions-CAG7YC5K.mjs} +6 -6
  62. package/dist/cli/{feedback-JOZ7QNGH.mjs → feedback-BQMPTE47.mjs} +4 -4
  63. package/dist/cli/{feedback-UDZ7BFB3.js → feedback-I65JMCP2.js} +8 -8
  64. package/dist/cli/git-ADIABNMQ.js +25 -0
  65. package/dist/cli/{git-O67OED4L.mjs → git-UQUCD7XZ.mjs} +5 -5
  66. package/dist/cli/index.js +138 -138
  67. package/dist/cli/index.mjs +42 -42
  68. package/dist/cli/{legacy-noops-T2G2TKO2.mjs → legacy-noops-JXKLHUI3.mjs} +5 -5
  69. package/dist/cli/{legacy-noops-ZFD6Z2ID.js → legacy-noops-OLNT2BG5.js} +8 -8
  70. package/dist/cli/{monitors-WSH4I37O.mjs → monitors-DLTHHAFQ.mjs} +7 -7
  71. package/dist/cli/{monitors-QPWEWJW7.js → monitors-Z5X56AZN.js} +91 -91
  72. package/dist/cli/{org-FVM465Q4.mjs → org-6EZZHD3M.mjs} +6 -6
  73. package/dist/cli/{org-PZOFC4P3.js → org-XBHJLKUG.js} +72 -72
  74. package/dist/cli/{pages-A5SLKL6L.mjs → pages-MYXROSVK.mjs} +6 -6
  75. package/dist/cli/{pages-UMDOU2WF.js → pages-XVJ34SCN.js} +17 -17
  76. package/dist/cli/{play-XKJLIZQE.mjs → play-5PV4LAHE.mjs} +26 -22
  77. package/dist/cli/{play-AFGL5D7B.js → play-ACC4T2XQ.js} +495 -491
  78. package/dist/cli/{providers-A2EIHS3P.mjs → providers-2DLUGIFF.mjs} +6 -6
  79. package/dist/cli/{providers-CQDRM62K.js → providers-JCI3KNE4.js} +9 -9
  80. package/dist/cli/{quickstart-BJ2XCUVV.mjs → quickstart-NSL3C76K.mjs} +4 -4
  81. package/dist/cli/{quickstart-NMJLH7T6.js → quickstart-PDSQEDLD.js} +6 -6
  82. package/dist/cli/{run-S4XTJADQ.js → run-UCFMHOQC.js} +37 -36
  83. package/dist/cli/{run-63I5M3ID.mjs → run-X5MXCM4P.mjs} +26 -25
  84. package/dist/cli/{search-DUIWWZ56.mjs → search-RPEMXV6N.mjs} +8 -8
  85. package/dist/cli/search-YILJZD36.js +32 -0
  86. package/dist/cli/{chunk-EDBQIPMG.mjs → search-output-6UO47B7G.mjs} +14 -194
  87. package/dist/cli/{chunk-UXQZLXHZ.js → search-output-MZH3HLVE.js} +14 -194
  88. package/dist/cli/{secrets-FK4PQJ6U.mjs → secrets-NLEQURD3.mjs} +6 -6
  89. package/dist/cli/{secrets-Q6QEWCAT.js → secrets-UFBASYGY.js} +15 -15
  90. package/dist/cli/{sessions-QJSN6AUL.mjs → sessions-3ALFLWVU.mjs} +5 -5
  91. package/dist/cli/{sessions-KF6JPKFK.js → sessions-JYH4DBEE.js} +6 -6
  92. package/dist/cli/{settings-PIKGA5PF.js → settings-MQYKNAMB.js} +78 -78
  93. package/dist/cli/{settings-UIQP5ERC.mjs → settings-YPRILREA.mjs} +11 -11
  94. package/dist/cli/{setup-ROKA4M5X.js → setup-5IGSHH4E.js} +47 -47
  95. package/dist/cli/{setup-4CALCNAA.mjs → setup-DK4GM227.mjs} +9 -9
  96. package/dist/cli/skills-I4IUZN3U.js +33 -0
  97. package/dist/cli/{skills-SQKRC7W4.mjs → skills-KYBZH3IT.mjs} +7 -7
  98. package/dist/cli/{tools-B6J53QS2.mjs → tools-4B2MHNBN.mjs} +17 -16
  99. package/dist/cli/tools-NLZR7ABS.js +56 -0
  100. package/dist/cli/update-RVDEUJTE.js +33 -0
  101. package/dist/cli/{update-MVKCAJJV.mjs → update-S6VEO7NB.mjs} +9 -9
  102. package/dist/cli/{workflow-VH2H4VS3.js → workflow-FU2XVPUK.js} +17 -17
  103. package/dist/cli/{workflow-3BO5WPZO.mjs → workflow-KXZZYFEF.mjs} +7 -7
  104. package/dist/index.js +10 -10
  105. package/dist/index.mjs +10 -10
  106. package/dist/install-integrity.json +100 -96
  107. package/dist/plays/bundle-play-file.mjs +6 -6
  108. package/dist/release.d.mts +1 -1
  109. package/dist/release.d.ts +1 -1
  110. package/dist/release.js +2 -2
  111. package/dist/release.mjs +1 -1
  112. package/dist/server.js +5 -5
  113. package/dist/server.mjs +3 -3
  114. package/package.json +1 -1
  115. package/dist/cli/auth-Q5VRDGL4.js +0 -43
  116. package/dist/cli/describe-72RFB7RS.js +0 -48
  117. package/dist/cli/git-A6SU7ITW.js +0 -25
  118. package/dist/cli/search-ACCI4VYH.js +0 -32
  119. package/dist/cli/skills-GZQSDPZX.js +0 -33
  120. package/dist/cli/tools-5C7ZVTDG.js +0 -55
  121. package/dist/cli/update-PR4QP7JN.js +0 -33
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
205
205
  // getters keep their established compatibility behavior.
206
206
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
207
207
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
208
- version: '0.3.482',
208
+ version: '0.3.483',
209
209
  updateSummary: {
210
210
  introducedIn: '0.3.90',
211
211
  summary:
@@ -14,14 +14,14 @@ import {
14
14
  reportSetupCompleted,
15
15
  resolvePendingAuthClaimForResume,
16
16
  statusBannerLine
17
- } from "./chunk-DYHBKFCW.mjs";
18
- import "./chunk-AZRG5NWV.mjs";
19
- import "./chunk-5MHCTVMM.mjs";
20
- import "./chunk-BK3XMHPF.mjs";
17
+ } from "./chunk-25IGCYJP.mjs";
18
+ import "./chunk-NREZRYPU.mjs";
19
+ import "./chunk-FK47YUPC.mjs";
20
+ import "./chunk-GRE3ID5E.mjs";
21
21
  import "./chunk-4QF2K7TM.mjs";
22
22
  import "./chunk-DLIRSHV6.mjs";
23
23
  import "./chunk-HBL4PM5Q.mjs";
24
- import "./chunk-KDJZXX7I.mjs";
24
+ import "./chunk-SCPFOH5Z.mjs";
25
25
  import "./chunk-WZYKRD7T.mjs";
26
26
  import "./chunk-KRD6H754.mjs";
27
27
  export {
@@ -0,0 +1,43 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunkWI2HNYQXjs = require('./chunk-WI2HNYQX.js');
18
+ require('./chunk-GONUMUBM.js');
19
+ require('./chunk-5LHU7NUS.js');
20
+ require('./chunk-75IIHFN6.js');
21
+ require('./chunk-ALJJRZNJ.js');
22
+ require('./chunk-XNYIZMNQ.js');
23
+ require('./chunk-DIAWYWT5.js');
24
+ require('./chunk-2JWG2H2N.js');
25
+ require('./chunk-OG64RBAC.js');
26
+ require('./chunk-COGTRVWW.js');
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ exports.EXIT_WORKSPACE_MISMATCH = _chunkWI2HNYQXjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkWI2HNYQXjs.authStatusLine; exports.clearPendingClaim = _chunkWI2HNYQXjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkWI2HNYQXjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkWI2HNYQXjs.handleRegister; exports.handleStatus = _chunkWI2HNYQXjs.handleStatus; exports.handleWait = _chunkWI2HNYQXjs.handleWait; exports.httpJson = _chunkWI2HNYQXjs.httpJson; exports.readPendingAuthClaim = _chunkWI2HNYQXjs.readPendingAuthClaim; exports.readStatusBanner = _chunkWI2HNYQXjs.readStatusBanner; exports.registerAuthCommands = _chunkWI2HNYQXjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunkWI2HNYQXjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkWI2HNYQXjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkWI2HNYQXjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkWI2HNYQXjs.statusBannerLine;
@@ -3,11 +3,11 @@
3
3
  var _chunkYGCKMI5Pjs = require('./chunk-YGCKMI5P.js');
4
4
 
5
5
 
6
- var _chunkY4Y2QUFLjs = require('./chunk-Y4Y2QUFL.js');
6
+ var _chunk2MKX3HV3js = require('./chunk-2MKX3HV3.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk6NF7S5WYjs = require('./chunk-6NF7S5WY.js');
10
+ var _chunkT5GZZJ7Ojs = require('./chunk-T5GZZJ7O.js');
11
11
  require('./chunk-E4CABWXL.js');
12
12
  require('./chunk-GVAENVIG.js');
13
13
  require('./chunk-NMU3VR5U.js');
@@ -18,9 +18,9 @@ require('./chunk-XDVT3GOM.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkOO6HA5OTjs = require('./chunk-OO6HA5OT.js');
22
- require('./chunk-OVSSKTXG.js');
23
- require('./chunk-NXTZ4UNI.js');
21
+ var _chunkGONUMUBMjs = require('./chunk-GONUMUBM.js');
22
+ require('./chunk-5LHU7NUS.js');
23
+ require('./chunk-75IIHFN6.js');
24
24
 
25
25
 
26
26
 
@@ -29,7 +29,7 @@ require('./chunk-XNYIZMNQ.js');
29
29
 
30
30
 
31
31
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
32
- require('./chunk-3EN2BLAS.js');
32
+ require('./chunk-2JWG2H2N.js');
33
33
  require('./chunk-OG64RBAC.js');
34
34
  require('./chunk-COGTRVWW.js');
35
35
 
@@ -78,7 +78,7 @@ function reportBillingFailure(failure, options) {
78
78
  if (failure.next) {
79
79
  textLines.push(`Next: ${failure.next}`);
80
80
  }
81
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
81
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
82
82
  {
83
83
  ok: false,
84
84
  exitCode: failure.exitCode,
@@ -99,7 +99,7 @@ function parseTopUpCredits(raw) {
99
99
  return parsed;
100
100
  }
101
101
  function topUpIdempotencyKey(raw) {
102
- return raw === void 0 ? `cli_topup:${Date.now()}:${_crypto.randomUUID.call(void 0, )}` : _chunk6NF7S5WYjs.requireBillingIdempotencyKey.call(void 0, raw);
102
+ return raw === void 0 ? `cli_topup:${Date.now()}:${_crypto.randomUUID.call(void 0, )}` : _chunkT5GZZJ7Ojs.requireBillingIdempotencyKey.call(void 0, raw);
103
103
  }
104
104
  function targetBillingIdempotencyKey(raw) {
105
105
  return typeof raw === "string" ? raw : `cli_target_billing:${Date.now()}:${_crypto.randomUUID.call(void 0, )}`;
@@ -318,7 +318,7 @@ function defaultLedgerExportPath() {
318
318
  );
319
319
  }
320
320
  async function handleBalance(options) {
321
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
321
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
322
322
  const payload = await http.get(
323
323
  "/api/v2/billing/balance"
324
324
  );
@@ -402,7 +402,7 @@ async function handleBalance(options) {
402
402
  ...options.verbose ? detail : [],
403
403
  ...lines.slice(1)
404
404
  ];
405
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
405
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
406
406
  {
407
407
  ...payload,
408
408
  ...recovery ? { recovery } : {},
@@ -438,7 +438,7 @@ async function handleUsageEvents(options) {
438
438
  );
439
439
  return;
440
440
  }
441
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
441
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
442
442
  let payload;
443
443
  try {
444
444
  payload = await client.billing.usageEvents({
@@ -469,7 +469,7 @@ async function handleUsageEvents(options) {
469
469
  ),
470
470
  ...nextPage ? [`Next page: ${nextPage}`] : []
471
471
  ];
472
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
472
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
473
473
  {
474
474
  ...payload,
475
475
  next: { page: nextPage },
@@ -491,7 +491,7 @@ async function handleUsage(options) {
491
491
  return;
492
492
  }
493
493
  if (options.events) return handleUsageEvents(options);
494
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
494
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
495
495
  const params = new URLSearchParams();
496
496
  if (options.requestId !== void 0) {
497
497
  const requestId = options.requestId.trim();
@@ -575,7 +575,7 @@ async function handleUsage(options) {
575
575
  "No continuation is available for this view. Use deepline billing ledger export all for the full ledger."
576
576
  ] : []
577
577
  ];
578
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
578
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ...payload,
581
581
  recent: {
@@ -589,7 +589,7 @@ async function handleUsage(options) {
589
589
  );
590
590
  }
591
591
  async function handleLimit(options) {
592
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
592
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
593
593
  const payload = await http.get(
594
594
  "/api/v2/billing/limit"
595
595
  );
@@ -597,7 +597,7 @@ async function handleLimit(options) {
597
597
  `Monthly usage cap: ${_nullishCoalesce(payload.monthly_credits_limit, () => ( "(unknown)"))}`,
598
598
  "Enforcement: checked before new calls; in-flight work can exceed the cap."
599
599
  ] : ["Monthly usage cap: off"];
600
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
600
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
601
601
  {
602
602
  ...payload,
603
603
  render: { sections: [{ title: "billing limit", lines }] }
@@ -606,12 +606,12 @@ async function handleLimit(options) {
606
606
  );
607
607
  }
608
608
  async function handleSetLimit(credits, options) {
609
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
609
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
610
610
  const payload = await http.request("/api/v2/billing/limit", {
611
611
  method: "PUT",
612
612
  body: { monthly_credits_limit: Number.parseInt(credits, 10) }
613
613
  });
614
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
614
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
615
615
  {
616
616
  ...payload,
617
617
  render: {
@@ -627,11 +627,11 @@ async function handleSetLimit(credits, options) {
627
627
  );
628
628
  }
629
629
  async function handleLimitOff(options) {
630
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
630
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
631
631
  const payload = await http.request("/api/v2/billing/limit", {
632
632
  method: "DELETE"
633
633
  });
634
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
634
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
635
635
  {
636
636
  ...payload,
637
637
  render: {
@@ -651,7 +651,7 @@ async function exportLedger(http, outputPath, options) {
651
651
  let initialized = false;
652
652
  let pageNumber = 0;
653
653
  console.error(`Exporting billing ledger to ${outputPath}`);
654
- for await (const entries of _chunk6NF7S5WYjs.iterateCursorPages.call(void 0, async (cursor) => {
654
+ for await (const entries of _chunkT5GZZJ7Ojs.iterateCursorPages.call(void 0, async (cursor) => {
655
655
  pageNumber += 1;
656
656
  console.error(
657
657
  `Fetching page ${pageNumber}; ${summary.row_count} rows written.`
@@ -690,7 +690,7 @@ async function exportLedger(http, outputPath, options) {
690
690
  return summary;
691
691
  }
692
692
  async function handleHistory(options) {
693
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
693
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
694
694
  const windows = {
695
695
  "1d": 86400,
696
696
  "1w": 604800,
@@ -702,10 +702,10 @@ async function handleHistory(options) {
702
702
  process.cwd(),
703
703
  "deepline",
704
704
  "data",
705
- _chunkOO6HA5OTjs.createTimestampedName.call(void 0, `billing-history-${options.time}`, "csv")
705
+ _chunkGONUMUBMjs.createTimestampedName.call(void 0, `billing-history-${options.time}`, "csv")
706
706
  );
707
707
  const summary = await exportLedger(http, outputPath, { sinceAt });
708
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
708
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
709
709
  {
710
710
  output_path: outputPath,
711
711
  row_count: summary.row_count,
@@ -742,14 +742,14 @@ async function handleLedgerExportAll(options) {
742
742
  );
743
743
  return;
744
744
  }
745
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
745
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
746
746
  const outputPath = options.output ? _path.resolve.call(void 0, String(options.output)) : defaultLedgerExportPath();
747
747
  const summary = await exportLedger(http, outputPath, {
748
748
  sinceAt,
749
749
  runId: options.runId,
750
750
  operation: options.operation
751
751
  });
752
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
752
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
753
753
  {
754
754
  output_path: outputPath,
755
755
  row_count: summary.row_count,
@@ -789,7 +789,7 @@ function targetPlanLine(plan) {
789
789
  return `${plan.name} (${plan.sku}) | ${planPriceText(plan.recurring_price_usd, plan.interval)}${firstMonth} | ${plan.included_credits} included credits/month | $${plan.purchased_credit_price_usd}/purchased credit | ${plan.acquisition_enabled ? "available" : "unavailable"}`;
790
790
  }
791
791
  async function handlePlans(options) {
792
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
792
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
793
793
  const payload = await client.billing.targetPlans();
794
794
  const listedCurrentPlan = payload.plans.find(
795
795
  (plan) => plan.sku === payload.current_plan_sku
@@ -802,8 +802,8 @@ async function handlePlans(options) {
802
802
  ...payload.plans.length === 0 ? ["Plans: none available"] : ["Plans:", ...payload.plans.map(targetPlanLine)],
803
803
  "Change plan: deepline billing change-plan <plan_sku>"
804
804
  ];
805
- const legacyPayload = _chunkOO6HA5OTjs.shouldEmitJson.call(void 0, options.json) ? await client.billing.plans() : null;
806
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
805
+ const legacyPayload = _chunkGONUMUBMjs.shouldEmitJson.call(void 0, options.json) ? await client.billing.plans() : null;
806
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
807
807
  {
808
808
  ..._nullishCoalesce(legacyPayload, () => ( payload)),
809
809
  ...legacyPayload ? { target_billing: payload } : {},
@@ -813,7 +813,7 @@ async function handlePlans(options) {
813
813
  );
814
814
  }
815
815
  async function handleSubscribe(planVersionId, options) {
816
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
816
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
817
817
  const payload = await http.request(
818
818
  "/api/v2/billing/subscription/checkout",
819
819
  {
@@ -822,8 +822,8 @@ async function handleSubscribe(planVersionId, options) {
822
822
  }
823
823
  );
824
824
  const url = String(payload.checkout_url || "");
825
- if (!options.json && options.open !== false && url) _chunkOO6HA5OTjs.openInBrowser.call(void 0, url);
826
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
825
+ if (!options.json && options.open !== false && url) _chunkGONUMUBMjs.openInBrowser.call(void 0, url);
826
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
827
827
  {
828
828
  ...payload,
829
829
  render: {
@@ -839,7 +839,7 @@ async function handleSubscribe(planVersionId, options) {
839
839
  );
840
840
  }
841
841
  async function handleSubscriptionStatus(options) {
842
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
842
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
843
843
  const payload = await client.billing.subscription.status();
844
844
  const pools = _nullishCoalesce(payload.credit_pools, () => ( []));
845
845
  const lines = [
@@ -859,7 +859,7 @@ async function handleSubscriptionStatus(options) {
859
859
  ],
860
860
  `Assigned by: ${_nullishCoalesce(payload.assigned_by, () => ( "default"))}`
861
861
  ];
862
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
862
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
863
863
  {
864
864
  ...payload,
865
865
  render: { sections: [{ title: "billing subscription", lines }] }
@@ -868,7 +868,7 @@ async function handleSubscriptionStatus(options) {
868
868
  );
869
869
  }
870
870
  async function handleSubscriptionCancel(options) {
871
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
871
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
872
872
  const action = options.undo ? "undo_cancel" : "cancel";
873
873
  if (options.dryRun) {
874
874
  const status = await client.billing.subscription.status();
@@ -885,7 +885,7 @@ async function handleSubscriptionCancel(options) {
885
885
  return;
886
886
  }
887
887
  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.";
888
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
888
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
889
889
  {
890
890
  ok: true,
891
891
  dry_run: true,
@@ -940,7 +940,7 @@ async function handleSubscriptionCancel(options) {
940
940
  "Remaining credits are yours to keep \u2014 cancellation never removes credits.",
941
941
  "Undo with: deepline billing subscription cancel --undo"
942
942
  ];
943
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
943
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
944
944
  {
945
945
  ok: true,
946
946
  ...result,
@@ -994,7 +994,7 @@ async function handleInvoices(options) {
994
994
  return;
995
995
  }
996
996
  }
997
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
997
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
998
998
  let payload;
999
999
  try {
1000
1000
  payload = await client.billing.invoices.list(
@@ -1023,7 +1023,7 @@ async function handleInvoices(options) {
1023
1023
  url: entry.url
1024
1024
  }))
1025
1025
  } : { ...payload, count: entries.length };
1026
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1026
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1027
1027
  {
1028
1028
  ...envelope,
1029
1029
  render: { sections: [{ title: "billing invoices", lines }] }
@@ -1032,7 +1032,7 @@ async function handleInvoices(options) {
1032
1032
  );
1033
1033
  }
1034
1034
  async function handleCheckout(options) {
1035
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
1035
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
1036
1036
  const payload = await http.post(
1037
1037
  "/api/v2/billing/checkout",
1038
1038
  {
@@ -1042,8 +1042,8 @@ async function handleCheckout(options) {
1042
1042
  }
1043
1043
  );
1044
1044
  const url = String(payload.url || payload.checkout_url || "");
1045
- if (!options.json && !options.noOpen && url) _chunkOO6HA5OTjs.openInBrowser.call(void 0, url);
1046
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1045
+ if (!options.json && !options.noOpen && url) _chunkGONUMUBMjs.openInBrowser.call(void 0, url);
1046
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1047
1047
  {
1048
1048
  ...payload,
1049
1049
  render: {
@@ -1088,7 +1088,7 @@ async function handleTopUp(creditsRaw, options) {
1088
1088
  return;
1089
1089
  }
1090
1090
  if (options.dryRun) {
1091
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1091
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1092
1092
  {
1093
1093
  ok: true,
1094
1094
  dry_run: true,
@@ -1118,7 +1118,7 @@ async function handleTopUp(creditsRaw, options) {
1118
1118
  );
1119
1119
  return;
1120
1120
  }
1121
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
1121
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
1122
1122
  let payload;
1123
1123
  try {
1124
1124
  payload = await client.billing.topUpWithReceipt({
@@ -1135,7 +1135,7 @@ async function handleTopUp(creditsRaw, options) {
1135
1135
  return;
1136
1136
  }
1137
1137
  if (payload.status === "pending") {
1138
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1138
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1139
1139
  {
1140
1140
  ok: true,
1141
1141
  ...payload,
@@ -1199,17 +1199,17 @@ async function handleTopUp(creditsRaw, options) {
1199
1199
  ]
1200
1200
  }
1201
1201
  };
1202
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0, options.compact ? compactEnvelope : fullEnvelope, {
1202
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, options.compact ? compactEnvelope : fullEnvelope, {
1203
1203
  json: options.json
1204
1204
  });
1205
1205
  }
1206
1206
  async function handleTargetStatus(options) {
1207
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
1207
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
1208
1208
  const payload = await client.billing.targetStatus();
1209
1209
  const balanceCommand = "deepline billing balance";
1210
1210
  const recentChargesCommand = "deepline billing usage --limit 5";
1211
1211
  const exactChargeCommand = "deepline billing usage --request-id <job_id>";
1212
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1212
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1213
1213
  {
1214
1214
  ok: true,
1215
1215
  ...payload,
@@ -1245,10 +1245,10 @@ function formatComputeMinutes(minutes) {
1245
1245
  return minutes < 120 ? `${Number(minutes.toFixed(1)).toLocaleString("en-US")} minutes` : `${Number((minutes / 60).toFixed(1)).toLocaleString("en-US")} hours`;
1246
1246
  }
1247
1247
  async function handleIncludedCompute(options) {
1248
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
1248
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
1249
1249
  const payload = options.enable ? await client.billing.enableIncludedCompute() : await client.billing.includedCompute();
1250
1250
  const plan = `${formatComputeMinutes(payload.plan.included_minutes)} standard-equivalent compute included per month, then ${Math.round(payload.plan.credits_per_minute * 60)} credits/standard hour`;
1251
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1251
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1252
1252
  {
1253
1253
  ok: true,
1254
1254
  ...payload,
@@ -1274,8 +1274,8 @@ async function handleIncludedCompute(options) {
1274
1274
  );
1275
1275
  }
1276
1276
  async function handleEntitlements(options) {
1277
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.entitlements();
1278
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1277
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.entitlements();
1278
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1279
1279
  {
1280
1280
  ok: true,
1281
1281
  ...payload,
@@ -1308,7 +1308,7 @@ async function handleEntitlements(options) {
1308
1308
  );
1309
1309
  }
1310
1310
  async function handleAutoRechargeStatus(options) {
1311
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.autoRecharge.get();
1311
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.autoRecharge.get();
1312
1312
  const state = payload.available ? payload.enabled ? "on" : "off" : "unavailable";
1313
1313
  const lines = [
1314
1314
  `State: ${state}`,
@@ -1318,7 +1318,7 @@ async function handleAutoRechargeStatus(options) {
1318
1318
  `Automatic credit purchase cap: ${payload.purchase_limit_credits} credits per rolling 30 days`
1319
1319
  ] : []
1320
1320
  ];
1321
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1321
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1322
1322
  {
1323
1323
  ok: true,
1324
1324
  ...payload,
@@ -1367,7 +1367,7 @@ async function handleAutoRechargeSet(options) {
1367
1367
  }
1368
1368
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1369
1369
  if (options.dryRun) {
1370
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1370
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1371
1371
  {
1372
1372
  ok: true,
1373
1373
  dry_run: true,
@@ -1388,7 +1388,7 @@ async function handleAutoRechargeSet(options) {
1388
1388
  );
1389
1389
  return;
1390
1390
  }
1391
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.autoRecharge.update({
1391
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.autoRecharge.update({
1392
1392
  enabled: true,
1393
1393
  thresholdCredits,
1394
1394
  refillToCredits,
@@ -1396,7 +1396,7 @@ async function handleAutoRechargeSet(options) {
1396
1396
  ...rollingLimitCredits !== void 0 ? { purchaseLimitCredits: rollingLimitCredits } : {},
1397
1397
  idempotencyKey
1398
1398
  });
1399
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1399
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1400
1400
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1401
1401
  { json: options.json }
1402
1402
  );
@@ -1404,7 +1404,7 @@ async function handleAutoRechargeSet(options) {
1404
1404
  async function handleAutoRechargeOff(options) {
1405
1405
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1406
1406
  if (options.dryRun) {
1407
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1407
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1408
1408
  {
1409
1409
  ok: true,
1410
1410
  dry_run: true,
@@ -1419,11 +1419,11 @@ async function handleAutoRechargeOff(options) {
1419
1419
  );
1420
1420
  return;
1421
1421
  }
1422
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.autoRecharge.update({
1422
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.autoRecharge.update({
1423
1423
  enabled: false,
1424
1424
  idempotencyKey
1425
1425
  });
1426
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1426
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1427
1427
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1428
1428
  { json: options.json }
1429
1429
  );
@@ -1442,11 +1442,11 @@ async function handleBuyCredits(creditsRaw, options) {
1442
1442
  return;
1443
1443
  }
1444
1444
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1445
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.purchaseCredits({
1445
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.purchaseCredits({
1446
1446
  credits,
1447
1447
  idempotencyKey
1448
1448
  });
1449
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1449
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1450
1450
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1451
1451
  { json: options.json }
1452
1452
  );
@@ -1482,7 +1482,7 @@ async function handleTopUpRecover(creditsRaw, options) {
1482
1482
  return;
1483
1483
  }
1484
1484
  if (options.dryRun) {
1485
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1485
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1486
1486
  {
1487
1487
  ok: true,
1488
1488
  dry_run: true,
@@ -1495,12 +1495,12 @@ async function handleTopUpRecover(creditsRaw, options) {
1495
1495
  );
1496
1496
  return;
1497
1497
  }
1498
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.recoverCreditPurchase({
1498
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.recoverCreditPurchase({
1499
1499
  credits,
1500
1500
  orgId: options.orgId,
1501
1501
  idempotencyKey: options.idempotencyKey
1502
1502
  });
1503
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1503
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1504
1504
  { ok: true, idempotency_key: options.idempotencyKey, ...payload },
1505
1505
  { json: options.json }
1506
1506
  );
@@ -1520,37 +1520,37 @@ async function handleTargetPlan(planSku, options) {
1520
1520
  return;
1521
1521
  }
1522
1522
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1523
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.transitionPlan({
1523
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.transitionPlan({
1524
1524
  action: "start_or_change",
1525
1525
  targetPlanSku: planSku,
1526
1526
  ...options.billingEmail ? { billingEmail: options.billingEmail } : {},
1527
1527
  idempotencyKey
1528
1528
  });
1529
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1529
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1530
1530
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1531
1531
  { json: options.json }
1532
1532
  );
1533
1533
  }
1534
1534
  async function handleTargetPlanCancellation(options) {
1535
1535
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1536
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.transitionPlan({
1536
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.transitionPlan({
1537
1537
  action: options.undo ? "undo_cancel" : "cancel",
1538
1538
  idempotencyKey
1539
1539
  });
1540
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1540
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1541
1541
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1542
1542
  { json: options.json }
1543
1543
  );
1544
1544
  }
1545
1545
  async function handleTargetPortal(options) {
1546
- const payload = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.portalSession(
1546
+ const payload = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.portalSession(
1547
1547
  options.billingAddress ? { flow: "customer_update" } : void 0
1548
1548
  );
1549
- if (!options.json && !options.noOpen) _chunkOO6HA5OTjs.openInBrowser.call(void 0, payload.url);
1550
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0, { ok: true, ...payload }, { json: options.json });
1549
+ if (!options.json && !options.noOpen) _chunkGONUMUBMjs.openInBrowser.call(void 0, payload.url);
1550
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, { ok: true, ...payload }, { json: options.json });
1551
1551
  }
1552
1552
  async function handleRedeemCode(code, options) {
1553
- const { http } = _chunkOO6HA5OTjs.getAuthedHttpClient.call(void 0, );
1553
+ const { http } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
1554
1554
  const payload = await http.post(
1555
1555
  "/api/v2/billing/checkout",
1556
1556
  {
@@ -1558,8 +1558,8 @@ async function handleRedeemCode(code, options) {
1558
1558
  }
1559
1559
  );
1560
1560
  const url = String(payload.url || payload.checkout_url || "");
1561
- if (!options.json && !options.noOpen && url) _chunkOO6HA5OTjs.openInBrowser.call(void 0, url);
1562
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1561
+ if (!options.json && !options.noOpen && url) _chunkGONUMUBMjs.openInBrowser.call(void 0, url);
1562
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1563
1563
  {
1564
1564
  ...payload,
1565
1565
  render: {
@@ -1619,14 +1619,14 @@ Examples:
1619
1619
  if (!Number.isSafeInteger(quantity) || quantity <= 0) {
1620
1620
  throw new Error("--quantity must be a positive safe integer.");
1621
1621
  }
1622
- const quote = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.quote({
1622
+ const quote = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.quote({
1623
1623
  quantity,
1624
1624
  sandbox_runtime: {
1625
1625
  timeout: options.sandboxTimeout,
1626
1626
  size: options.sandboxSize
1627
1627
  }
1628
1628
  });
1629
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0, quote, {
1629
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, quote, {
1630
1630
  json: options.json,
1631
1631
  text: `Sandbox session ceiling: ${quote.maximum_credits} Deepline credits (${quote.quantity} session${quote.quantity === 1 ? "" : "s"}).
1632
1632
  ${quote.explanation}
@@ -1874,8 +1874,8 @@ Examples:
1874
1874
  new (0, _commander.Command)("trigger").description(
1875
1875
  "Evaluate capped automatic recharge and resume any pending purchase."
1876
1876
  ).option("--json", "Emit JSON output").action(async (options) => {
1877
- const result = await new (0, _chunkY4Y2QUFLjs.DeeplineClient)().billing.autoRecharge.trigger();
1878
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0, { ok: true, ...result }, { json: options.json });
1877
+ const result = await new (0, _chunk2MKX3HV3js.DeeplineClient)().billing.autoRecharge.trigger();
1878
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, { ok: true, ...result }, { json: options.json });
1879
1879
  })
1880
1880
  );
1881
1881
  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(