deepline 0.3.322 → 0.3.324

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 (113) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  3. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +454 -129
  4. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +407 -37
  5. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +18 -4
  6. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +16 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +6 -2
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +1 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +2 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +15 -5
  11. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +7 -2
  13. package/dist/bundling-sources/shared_libs/play-runtime/provider-row-retry-queue.ts +65 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +2 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +34 -5
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-map-row-feed.ts +116 -15
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +59 -6
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +294 -37
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +73 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/suspension.ts +2 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +41 -3
  22. package/dist/cli/{auth-VSXORUWX.mjs → auth-6KWNR6AI.mjs} +4 -4
  23. package/dist/cli/auth-LKSTC3YV.js +31 -0
  24. package/dist/cli/{billing-Q6WO5E2R.js → billing-CLLWHIAT.js} +70 -70
  25. package/dist/cli/{billing-EH74RDBF.mjs → billing-VQ2NUJLB.mjs} +4 -4
  26. package/dist/cli/{chunk-M4TZIO5U.js → chunk-2UQUOUAW.js} +2 -2
  27. package/dist/cli/{chunk-JWEYKLOV.mjs → chunk-3ZKAKQYC.mjs} +1 -1
  28. package/dist/cli/{chunk-6JV2VSQN.mjs → chunk-5CQ554BM.mjs} +1 -1
  29. package/dist/cli/{chunk-Z5TQC2ID.mjs → chunk-5QZFWY7C.mjs} +2 -2
  30. package/dist/cli/{chunk-A3THNBGB.mjs → chunk-AKM5JVPG.mjs} +2 -2
  31. package/dist/cli/{chunk-U6N6MS6N.js → chunk-D5YJHGST.js} +4 -4
  32. package/dist/cli/{chunk-SISYT2DM.mjs → chunk-DO2VA5UP.mjs} +2 -2
  33. package/dist/cli/{chunk-H52C7AHC.mjs → chunk-EHSI2DMO.mjs} +4 -4
  34. package/dist/cli/{chunk-CNO37AI3.js → chunk-EXKRHZRG.js} +220 -220
  35. package/dist/cli/{chunk-JCZX5ZQW.js → chunk-G4F2AIQ5.js} +6 -6
  36. package/dist/cli/{chunk-GAFGAIVW.js → chunk-GMO3NBE2.js} +60 -60
  37. package/dist/cli/{chunk-4F4XU2Z5.js → chunk-GROXVGGW.js} +6 -6
  38. package/dist/cli/{chunk-I7UUOAZN.mjs → chunk-HHZDWBSQ.mjs} +1 -1
  39. package/dist/cli/{chunk-ZHIPP7YD.mjs → chunk-I7RLL7LN.mjs} +1 -1
  40. package/dist/cli/{chunk-PTOQKD2Y.js → chunk-IXYR65PW.js} +1 -1
  41. package/dist/cli/{chunk-LUAF3MIC.mjs → chunk-LHJKYMTS.mjs} +1 -1
  42. package/dist/cli/{chunk-5RPFAX7O.js → chunk-N5E66DP3.js} +6 -6
  43. package/dist/cli/{chunk-CMRWPMZS.js → chunk-NC2ZXG2Y.js} +26 -26
  44. package/dist/cli/{chunk-LUTXK4ON.mjs → chunk-NIOFMRYW.mjs} +5 -5
  45. package/dist/cli/{chunk-PMTJYMDJ.mjs → chunk-NQJQ3CLX.mjs} +3 -3
  46. package/dist/cli/{chunk-KAUABQOG.js → chunk-PAA4FYCF.js} +15 -15
  47. package/dist/cli/{chunk-QXIPQYZZ.js → chunk-QM2Z4FQF.js} +6 -6
  48. package/dist/cli/{chunk-WARD6DBW.mjs → chunk-TJGJTB5T.mjs} +1 -1
  49. package/dist/cli/{chunk-KHRWZU6B.js → chunk-TZZNI2A4.js} +50 -50
  50. package/dist/cli/{chunk-6PE2VHSG.mjs → chunk-U2RPP53P.mjs} +6 -6
  51. package/dist/cli/{chunk-Y3LPZJFE.js → chunk-V5PA6TCT.js} +48 -48
  52. package/dist/cli/{client-XRO4X5XF.mjs → client-VHUKTDAZ.mjs} +3 -3
  53. package/dist/cli/client-WMSTRUGP.js +20 -0
  54. package/dist/cli/{csv-ALZ44QHM.js → csv-5MZY7HU5.js} +12 -12
  55. package/dist/cli/{csv-5B6JDXCN.mjs → csv-7DA4APB6.mjs} +3 -3
  56. package/dist/cli/{db-HJECAUNU.mjs → db-7UPW3N5U.mjs} +4 -4
  57. package/dist/cli/{db-D6UHGVOU.js → db-ICG3FUVE.js} +20 -20
  58. package/dist/cli/{describe-YAN46NBC.js → describe-VDRY2JCE.js} +15 -15
  59. package/dist/cli/{describe-FBAWTMDS.mjs → describe-ZAPGM5ND.mjs} +8 -8
  60. package/dist/cli/{executions-XSV7ZE4N.js → executions-D5GYCY3A.js} +6 -6
  61. package/dist/cli/{executions-LWHMAUHH.mjs → executions-TK3C2FAQ.mjs} +4 -4
  62. package/dist/cli/{feedback-RKT6F6W6.js → feedback-PZAZZUXF.js} +6 -6
  63. package/dist/cli/{feedback-EPXMI55U.mjs → feedback-T4EIP5QR.mjs} +3 -3
  64. package/dist/cli/git-73N6EUZ3.js +23 -0
  65. package/dist/cli/{git-BOXANJBI.mjs → git-WBFWIVO5.mjs} +4 -4
  66. package/dist/cli/index.js +75 -75
  67. package/dist/cli/index.mjs +31 -31
  68. package/dist/cli/{legacy-noops-VV7DRGA7.mjs → legacy-noops-DUCK7OKN.mjs} +4 -4
  69. package/dist/cli/{legacy-noops-7EBEYUQZ.js → legacy-noops-LRBJWXRK.js} +7 -7
  70. package/dist/cli/{monitors-RDRG3E4Y.js → monitors-7S2SL62G.js} +85 -85
  71. package/dist/cli/{monitors-NJPHRFYT.mjs → monitors-WYH5AQIO.mjs} +4 -4
  72. package/dist/cli/{org-ZFWDBQ7R.js → org-EQNGGHPV.js} +60 -60
  73. package/dist/cli/{org-USE3QRY6.mjs → org-XCSMLTUW.mjs} +4 -4
  74. package/dist/cli/{play-3VEIZZJ5.mjs → play-A5ISFBJM.mjs} +7 -7
  75. package/dist/cli/play-CLC2Z5SO.js +152 -0
  76. package/dist/cli/{providers-SXWPIPKO.js → providers-DR2CLD3N.js} +7 -7
  77. package/dist/cli/{providers-PP4L5HLM.mjs → providers-KHTZFQ5I.mjs} +4 -4
  78. package/dist/cli/{quickstart-QCSPS2D5.mjs → quickstart-KT4LKORA.mjs} +3 -3
  79. package/dist/cli/{quickstart-WVLEQQXO.js → quickstart-NIRWI6YU.js} +5 -5
  80. package/dist/cli/search-DM7IQS5F.js +26 -0
  81. package/dist/cli/{search-LTC6R6IS.mjs → search-WCEXPBAT.mjs} +5 -5
  82. package/dist/cli/{secrets-R5FGK6UC.js → secrets-QSFEZGVE.js} +13 -13
  83. package/dist/cli/{secrets-LV4FJNAL.mjs → secrets-TN7DW3QR.mjs} +4 -4
  84. package/dist/cli/{sessions-N6CMP6XZ.js → sessions-LJS6W67T.js} +5 -5
  85. package/dist/cli/{sessions-CFNRSRYX.mjs → sessions-WSE5FN4H.mjs} +4 -4
  86. package/dist/cli/{settings-RNEJQGBL.js → settings-FGS3VYJN.js} +74 -74
  87. package/dist/cli/{settings-ADEYLHV7.mjs → settings-Z3V53A6J.mjs} +7 -7
  88. package/dist/cli/{setup-YLEOL7E7.mjs → setup-GMH4VJS3.mjs} +6 -6
  89. package/dist/cli/{setup-NJCUXN4H.js → setup-ZA234HEY.js} +41 -41
  90. package/dist/cli/skills-6APAQV6W.js +28 -0
  91. package/dist/cli/{skills-WABXOGDA.mjs → skills-7G2RZMYH.mjs} +4 -4
  92. package/dist/cli/{tools-XQCGEX5J.mjs → tools-7EE4BGXO.mjs} +6 -6
  93. package/dist/cli/tools-EPYUFWPB.js +38 -0
  94. package/dist/cli/update-FPVX3XJC.js +28 -0
  95. package/dist/cli/{update-3W2NBTST.mjs → update-O5QEWS7K.mjs} +6 -6
  96. package/dist/cli/{workflow-GKFGFQ4D.mjs → workflow-KE54RUTR.mjs} +5 -5
  97. package/dist/cli/{workflow-NUVM7LQR.js → workflow-M5PAAW3O.js} +15 -15
  98. package/dist/index.js +6 -6
  99. package/dist/index.mjs +3 -3
  100. package/dist/install-integrity.json +75 -74
  101. package/dist/release.d.mts +1 -1
  102. package/dist/release.d.ts +1 -1
  103. package/dist/release.js +2 -2
  104. package/dist/release.mjs +1 -1
  105. package/package.json +1 -1
  106. package/dist/cli/auth-MKFIE6KN.js +0 -31
  107. package/dist/cli/client-NITVYMZK.js +0 -20
  108. package/dist/cli/git-B3L74RFF.js +0 -23
  109. package/dist/cli/play-EONETVYE.js +0 -152
  110. package/dist/cli/search-XK2KJXQG.js +0 -26
  111. package/dist/cli/skills-VNAPDBFA.js +0 -28
  112. package/dist/cli/tools-XF5EQO4O.js +0 -38
  113. package/dist/cli/update-3TQMEJO5.js +0 -28
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunk5RPFAX7Ojs = require('./chunk-5RPFAX7O.js');
4
+ var _chunkN5E66DP3js = require('./chunk-N5E66DP3.js');
5
5
  require('./chunk-LA46MMTL.js');
6
6
 
7
7
 
@@ -9,13 +9,13 @@ require('./chunk-LA46MMTL.js');
9
9
 
10
10
 
11
11
 
12
- var _chunk4F4XU2Z5js = require('./chunk-4F4XU2Z5.js');
12
+ var _chunkGROXVGGWjs = require('./chunk-GROXVGGW.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkU6N6MS6Njs = require('./chunk-U6N6MS6N.js');
16
+ var _chunkD5YJHGSTjs = require('./chunk-D5YJHGST.js');
17
17
  require('./chunk-XNYIZMNQ.js');
18
- require('./chunk-PTOQKD2Y.js');
18
+ require('./chunk-IXYR65PW.js');
19
19
  require('./chunk-S6R3OX7B.js');
20
20
 
21
21
 
@@ -34,7 +34,7 @@ var SUBSCRIPTION_CANCEL_PATH = "/api/v2/billing/subscription/cancel";
34
34
  var BILLING_TOP_UP_PATH = "/api/v2/billing/top-up";
35
35
  var DEFAULT_BALANCE_RECOVERY_CREDITS = 100;
36
36
  function billingFailureFromError(error, options) {
37
- if (error instanceof _chunkU6N6MS6Njs.AuthError) {
37
+ if (error instanceof _chunkD5YJHGSTjs.AuthError) {
38
38
  return {
39
39
  exitCode: 3,
40
40
  code: "AUTH_ERROR",
@@ -68,7 +68,7 @@ function reportBillingFailure(failure, options) {
68
68
  if (failure.next) {
69
69
  textLines.push(`Next: ${failure.next}`);
70
70
  }
71
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
71
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
72
72
  {
73
73
  ok: false,
74
74
  exitCode: failure.exitCode,
@@ -130,7 +130,7 @@ function apiErrorCode(error) {
130
130
  return _nullishCoalesce(error.code, () => ( "BILLING_API_ERROR"));
131
131
  }
132
132
  function billingTopUpFailureFromError(error, input) {
133
- if (error instanceof _chunkU6N6MS6Njs.AuthError || error instanceof _chunkU6N6MS6Njs.ConfigError) {
133
+ if (error instanceof _chunkD5YJHGSTjs.AuthError || error instanceof _chunkD5YJHGSTjs.ConfigError) {
134
134
  return {
135
135
  exitCode: 3,
136
136
  code: "AUTH_ERROR",
@@ -299,7 +299,7 @@ function defaultLedgerExportPath() {
299
299
  );
300
300
  }
301
301
  async function handleBalance(options) {
302
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
302
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
303
303
  const payload = await http.get(
304
304
  "/api/v2/billing/balance"
305
305
  );
@@ -361,7 +361,7 @@ async function handleBalance(options) {
361
361
  lines.push(`If the user approves, run: ${recovery.top_up_command}`);
362
362
  lines.push(`If checkout is required, run: ${recovery.checkout_command}`);
363
363
  }
364
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
364
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
365
365
  {
366
366
  ...payload,
367
367
  ...recovery ? { recovery } : {},
@@ -375,7 +375,7 @@ function quoteShellArgument(value) {
375
375
  return `'${value.replace(/'/g, `'\\''`)}'`;
376
376
  }
377
377
  async function handleUsage(options) {
378
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
378
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
379
379
  const params = new URLSearchParams();
380
380
  if (options.requestId !== void 0) {
381
381
  const requestId = options.requestId.trim();
@@ -456,7 +456,7 @@ async function handleUsage(options) {
456
456
  "No continuation is available for this view. Use deepline billing ledger export all --json for the full ledger."
457
457
  ] : []
458
458
  ];
459
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
459
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
460
460
  {
461
461
  ...payload,
462
462
  recent: {
@@ -470,7 +470,7 @@ async function handleUsage(options) {
470
470
  );
471
471
  }
472
472
  async function handleLimit(options) {
473
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
473
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
474
474
  const payload = await http.get(
475
475
  "/api/v2/billing/limit"
476
476
  );
@@ -478,7 +478,7 @@ async function handleLimit(options) {
478
478
  `Monthly usage cap: ${_nullishCoalesce(payload.monthly_credits_limit, () => ( "(unknown)"))}`,
479
479
  "Enforcement: checked before new calls; in-flight work can exceed the cap."
480
480
  ] : ["Monthly usage cap: off"];
481
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
481
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
482
482
  {
483
483
  ...payload,
484
484
  render: { sections: [{ title: "billing limit", lines }] }
@@ -487,12 +487,12 @@ async function handleLimit(options) {
487
487
  );
488
488
  }
489
489
  async function handleSetLimit(credits, options) {
490
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
490
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
491
491
  const payload = await http.request("/api/v2/billing/limit", {
492
492
  method: "PUT",
493
493
  body: { monthly_credits_limit: Number.parseInt(credits, 10) }
494
494
  });
495
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
495
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
496
496
  {
497
497
  ...payload,
498
498
  render: {
@@ -508,11 +508,11 @@ async function handleSetLimit(credits, options) {
508
508
  );
509
509
  }
510
510
  async function handleLimitOff(options) {
511
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
511
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
512
512
  const payload = await http.request("/api/v2/billing/limit", {
513
513
  method: "DELETE"
514
514
  });
515
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
515
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
516
516
  {
517
517
  ...payload,
518
518
  render: {
@@ -532,7 +532,7 @@ async function exportLedger(http, outputPath, options) {
532
532
  let initialized = false;
533
533
  let pageNumber = 0;
534
534
  console.error(`Exporting billing ledger to ${outputPath}`);
535
- for await (const entries of _chunk5RPFAX7Ojs.iterateCursorPages.call(void 0, async (cursor) => {
535
+ for await (const entries of _chunkN5E66DP3js.iterateCursorPages.call(void 0, async (cursor) => {
536
536
  pageNumber += 1;
537
537
  console.error(
538
538
  `Fetching page ${pageNumber}; ${summary.row_count} rows written.`
@@ -571,7 +571,7 @@ async function exportLedger(http, outputPath, options) {
571
571
  return summary;
572
572
  }
573
573
  async function handleHistory(options) {
574
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
574
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
575
575
  const windows = {
576
576
  "1d": 86400,
577
577
  "1w": 604800,
@@ -583,10 +583,10 @@ async function handleHistory(options) {
583
583
  process.cwd(),
584
584
  "deepline",
585
585
  "data",
586
- _chunk4F4XU2Z5js.createTimestampedName.call(void 0, `billing-history-${options.time}`, "csv")
586
+ _chunkGROXVGGWjs.createTimestampedName.call(void 0, `billing-history-${options.time}`, "csv")
587
587
  );
588
588
  const summary = await exportLedger(http, outputPath, { sinceAt });
589
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
589
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
590
590
  {
591
591
  output_path: outputPath,
592
592
  row_count: summary.row_count,
@@ -623,14 +623,14 @@ async function handleLedgerExportAll(options) {
623
623
  );
624
624
  return;
625
625
  }
626
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
626
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
627
627
  const outputPath = options.output ? _path.resolve.call(void 0, String(options.output)) : defaultLedgerExportPath();
628
628
  const summary = await exportLedger(http, outputPath, {
629
629
  sinceAt,
630
630
  runId: options.runId,
631
631
  operation: options.operation
632
632
  });
633
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
633
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
634
634
  {
635
635
  output_path: outputPath,
636
636
  row_count: summary.row_count,
@@ -669,7 +669,7 @@ function targetPlanLine(plan) {
669
669
  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"}`;
670
670
  }
671
671
  async function handlePlans(options) {
672
- const client = new (0, _chunk5RPFAX7Ojs.DeeplineClient)();
672
+ const client = new (0, _chunkN5E66DP3js.DeeplineClient)();
673
673
  const payload = await client.billing.targetPlans();
674
674
  const listedCurrentPlan = payload.plans.find(
675
675
  (plan) => plan.sku === payload.current_plan_sku
@@ -682,8 +682,8 @@ async function handlePlans(options) {
682
682
  ...payload.plans.length === 0 ? ["Plans: none available"] : ["Plans:", ...payload.plans.map(targetPlanLine)],
683
683
  "Change plan: deepline billing change-plan <plan_sku> --json"
684
684
  ];
685
- const legacyPayload = _chunk4F4XU2Z5js.shouldEmitJson.call(void 0, options.json) ? await client.billing.plans() : null;
686
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
685
+ const legacyPayload = _chunkGROXVGGWjs.shouldEmitJson.call(void 0, options.json) ? await client.billing.plans() : null;
686
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
687
687
  {
688
688
  ..._nullishCoalesce(legacyPayload, () => ( payload)),
689
689
  ...legacyPayload ? { target_billing: payload } : {},
@@ -693,7 +693,7 @@ async function handlePlans(options) {
693
693
  );
694
694
  }
695
695
  async function handleSubscribe(planVersionId, options) {
696
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
696
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
697
697
  const payload = await http.request(
698
698
  "/api/v2/billing/subscription/checkout",
699
699
  {
@@ -702,8 +702,8 @@ async function handleSubscribe(planVersionId, options) {
702
702
  }
703
703
  );
704
704
  const url = String(payload.checkout_url || "");
705
- if (!options.json && options.open !== false && url) _chunk4F4XU2Z5js.openInBrowser.call(void 0, url);
706
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
705
+ if (!options.json && options.open !== false && url) _chunkGROXVGGWjs.openInBrowser.call(void 0, url);
706
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
707
707
  {
708
708
  ...payload,
709
709
  render: {
@@ -719,7 +719,7 @@ async function handleSubscribe(planVersionId, options) {
719
719
  );
720
720
  }
721
721
  async function handleSubscriptionStatus(options) {
722
- const client = new (0, _chunk5RPFAX7Ojs.DeeplineClient)();
722
+ const client = new (0, _chunkN5E66DP3js.DeeplineClient)();
723
723
  const payload = await client.billing.subscription.status();
724
724
  const pools = _nullishCoalesce(payload.credit_pools, () => ( []));
725
725
  const lines = [
@@ -739,7 +739,7 @@ async function handleSubscriptionStatus(options) {
739
739
  ],
740
740
  `Assigned by: ${_nullishCoalesce(payload.assigned_by, () => ( "default"))}`
741
741
  ];
742
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
742
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
743
743
  {
744
744
  ...payload,
745
745
  render: { sections: [{ title: "billing subscription", lines }] }
@@ -748,7 +748,7 @@ async function handleSubscriptionStatus(options) {
748
748
  );
749
749
  }
750
750
  async function handleSubscriptionCancel(options) {
751
- const client = new (0, _chunk5RPFAX7Ojs.DeeplineClient)();
751
+ const client = new (0, _chunkN5E66DP3js.DeeplineClient)();
752
752
  const action = options.undo ? "undo_cancel" : "cancel";
753
753
  if (options.dryRun) {
754
754
  const status = await client.billing.subscription.status();
@@ -765,7 +765,7 @@ async function handleSubscriptionCancel(options) {
765
765
  return;
766
766
  }
767
767
  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.";
768
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
768
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
769
769
  {
770
770
  ok: true,
771
771
  dry_run: true,
@@ -820,7 +820,7 @@ async function handleSubscriptionCancel(options) {
820
820
  "Remaining credits are yours to keep \u2014 cancellation never removes credits.",
821
821
  "Undo with: deepline billing subscription cancel --undo"
822
822
  ];
823
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
823
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
824
824
  {
825
825
  ok: true,
826
826
  ...result,
@@ -874,7 +874,7 @@ async function handleInvoices(options) {
874
874
  return;
875
875
  }
876
876
  }
877
- const client = new (0, _chunk5RPFAX7Ojs.DeeplineClient)();
877
+ const client = new (0, _chunkN5E66DP3js.DeeplineClient)();
878
878
  let payload;
879
879
  try {
880
880
  payload = await client.billing.invoices.list(
@@ -903,7 +903,7 @@ async function handleInvoices(options) {
903
903
  url: entry.url
904
904
  }))
905
905
  } : { ...payload, count: entries.length };
906
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
906
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
907
907
  {
908
908
  ...envelope,
909
909
  render: { sections: [{ title: "billing invoices", lines }] }
@@ -912,7 +912,7 @@ async function handleInvoices(options) {
912
912
  );
913
913
  }
914
914
  async function handleCheckout(options) {
915
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
915
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
916
916
  const payload = await http.post(
917
917
  "/api/v2/billing/checkout",
918
918
  {
@@ -922,8 +922,8 @@ async function handleCheckout(options) {
922
922
  }
923
923
  );
924
924
  const url = String(payload.url || payload.checkout_url || "");
925
- if (!options.json && !options.noOpen && url) _chunk4F4XU2Z5js.openInBrowser.call(void 0, url);
926
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
925
+ if (!options.json && !options.noOpen && url) _chunkGROXVGGWjs.openInBrowser.call(void 0, url);
926
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
927
927
  {
928
928
  ...payload,
929
929
  render: {
@@ -954,7 +954,7 @@ async function handleTopUp(creditsRaw, options) {
954
954
  }
955
955
  const idempotencyKey = topUpIdempotencyKey(options.idempotencyKey);
956
956
  if (options.dryRun) {
957
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
957
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
958
958
  {
959
959
  ok: true,
960
960
  dry_run: true,
@@ -983,7 +983,7 @@ async function handleTopUp(creditsRaw, options) {
983
983
  );
984
984
  return;
985
985
  }
986
- const client = new (0, _chunk5RPFAX7Ojs.DeeplineClient)();
986
+ const client = new (0, _chunkN5E66DP3js.DeeplineClient)();
987
987
  let payload;
988
988
  try {
989
989
  payload = await client.billing.topUpWithReceipt({
@@ -1000,7 +1000,7 @@ async function handleTopUp(creditsRaw, options) {
1000
1000
  return;
1001
1001
  }
1002
1002
  if (payload.status === "pending") {
1003
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1003
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1004
1004
  {
1005
1005
  ok: true,
1006
1006
  ...payload,
@@ -1064,17 +1064,17 @@ async function handleTopUp(creditsRaw, options) {
1064
1064
  ]
1065
1065
  }
1066
1066
  };
1067
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0, options.compact ? compactEnvelope : fullEnvelope, {
1067
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0, options.compact ? compactEnvelope : fullEnvelope, {
1068
1068
  json: options.json
1069
1069
  });
1070
1070
  }
1071
1071
  async function handleTargetStatus(options) {
1072
- const client = new (0, _chunk5RPFAX7Ojs.DeeplineClient)();
1072
+ const client = new (0, _chunkN5E66DP3js.DeeplineClient)();
1073
1073
  const payload = await client.billing.targetStatus();
1074
1074
  const balanceCommand = "deepline billing balance --json";
1075
1075
  const recentChargesCommand = "deepline billing usage --limit 5 --json";
1076
1076
  const exactChargeCommand = "deepline billing usage --request-id <job_id> --json";
1077
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1077
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1078
1078
  {
1079
1079
  ok: true,
1080
1080
  ...payload,
@@ -1104,7 +1104,7 @@ async function handleTargetStatus(options) {
1104
1104
  );
1105
1105
  }
1106
1106
  async function handleAutoRechargeStatus(options) {
1107
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.autoRecharge.get();
1107
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.autoRecharge.get();
1108
1108
  const state = payload.available ? payload.enabled ? "on" : "off" : "unavailable";
1109
1109
  const lines = [
1110
1110
  `State: ${state}`,
@@ -1114,7 +1114,7 @@ async function handleAutoRechargeStatus(options) {
1114
1114
  `Automatic credit purchase cap: ${payload.purchase_limit_credits} credits per rolling 30 days`
1115
1115
  ] : []
1116
1116
  ];
1117
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1117
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1118
1118
  {
1119
1119
  ok: true,
1120
1120
  ...payload,
@@ -1163,7 +1163,7 @@ async function handleAutoRechargeSet(options) {
1163
1163
  }
1164
1164
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1165
1165
  if (options.dryRun) {
1166
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1166
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1167
1167
  {
1168
1168
  ok: true,
1169
1169
  dry_run: true,
@@ -1184,7 +1184,7 @@ async function handleAutoRechargeSet(options) {
1184
1184
  );
1185
1185
  return;
1186
1186
  }
1187
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.autoRecharge.update({
1187
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.autoRecharge.update({
1188
1188
  enabled: true,
1189
1189
  thresholdCredits,
1190
1190
  refillToCredits,
@@ -1192,7 +1192,7 @@ async function handleAutoRechargeSet(options) {
1192
1192
  ...rollingLimitCredits !== void 0 ? { purchaseLimitCredits: rollingLimitCredits } : {},
1193
1193
  idempotencyKey
1194
1194
  });
1195
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1195
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1196
1196
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1197
1197
  { json: options.json }
1198
1198
  );
@@ -1200,7 +1200,7 @@ async function handleAutoRechargeSet(options) {
1200
1200
  async function handleAutoRechargeOff(options) {
1201
1201
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1202
1202
  if (options.dryRun) {
1203
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1203
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1204
1204
  {
1205
1205
  ok: true,
1206
1206
  dry_run: true,
@@ -1215,11 +1215,11 @@ async function handleAutoRechargeOff(options) {
1215
1215
  );
1216
1216
  return;
1217
1217
  }
1218
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.autoRecharge.update({
1218
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.autoRecharge.update({
1219
1219
  enabled: false,
1220
1220
  idempotencyKey
1221
1221
  });
1222
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1222
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1223
1223
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1224
1224
  { json: options.json }
1225
1225
  );
@@ -1238,11 +1238,11 @@ async function handleBuyCredits(creditsRaw, options) {
1238
1238
  return;
1239
1239
  }
1240
1240
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1241
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.purchaseCredits({
1241
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.purchaseCredits({
1242
1242
  credits,
1243
1243
  idempotencyKey
1244
1244
  });
1245
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1245
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1246
1246
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1247
1247
  { json: options.json }
1248
1248
  );
@@ -1278,7 +1278,7 @@ async function handleTopUpRecover(creditsRaw, options) {
1278
1278
  return;
1279
1279
  }
1280
1280
  if (options.dryRun) {
1281
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1281
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1282
1282
  {
1283
1283
  ok: true,
1284
1284
  dry_run: true,
@@ -1291,12 +1291,12 @@ async function handleTopUpRecover(creditsRaw, options) {
1291
1291
  );
1292
1292
  return;
1293
1293
  }
1294
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.recoverCreditPurchase({
1294
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.recoverCreditPurchase({
1295
1295
  credits,
1296
1296
  orgId: options.orgId,
1297
1297
  idempotencyKey: options.idempotencyKey
1298
1298
  });
1299
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1299
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1300
1300
  { ok: true, idempotency_key: options.idempotencyKey, ...payload },
1301
1301
  { json: options.json }
1302
1302
  );
@@ -1316,37 +1316,37 @@ async function handleTargetPlan(planSku, options) {
1316
1316
  return;
1317
1317
  }
1318
1318
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1319
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.transitionPlan({
1319
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.transitionPlan({
1320
1320
  action: "start_or_change",
1321
1321
  targetPlanSku: planSku,
1322
1322
  ...options.billingEmail ? { billingEmail: options.billingEmail } : {},
1323
1323
  idempotencyKey
1324
1324
  });
1325
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1325
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1326
1326
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1327
1327
  { json: options.json }
1328
1328
  );
1329
1329
  }
1330
1330
  async function handleTargetPlanCancellation(options) {
1331
1331
  const idempotencyKey = targetBillingIdempotencyKey(options.idempotencyKey);
1332
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.transitionPlan({
1332
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.transitionPlan({
1333
1333
  action: options.undo ? "undo_cancel" : "cancel",
1334
1334
  idempotencyKey
1335
1335
  });
1336
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1336
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1337
1337
  { ok: true, idempotency_key: idempotencyKey, ...payload },
1338
1338
  { json: options.json }
1339
1339
  );
1340
1340
  }
1341
1341
  async function handleTargetPortal(options) {
1342
- const payload = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.portalSession(
1342
+ const payload = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.portalSession(
1343
1343
  options.billingAddress ? { flow: "customer_update" } : void 0
1344
1344
  );
1345
- if (!options.json && !options.noOpen) _chunk4F4XU2Z5js.openInBrowser.call(void 0, payload.url);
1346
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0, { ok: true, ...payload }, { json: options.json });
1345
+ if (!options.json && !options.noOpen) _chunkGROXVGGWjs.openInBrowser.call(void 0, payload.url);
1346
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0, { ok: true, ...payload }, { json: options.json });
1347
1347
  }
1348
1348
  async function handleRedeemCode(code, options) {
1349
- const { http } = _chunk4F4XU2Z5js.getAuthedHttpClient.call(void 0, );
1349
+ const { http } = _chunkGROXVGGWjs.getAuthedHttpClient.call(void 0, );
1350
1350
  const payload = await http.post(
1351
1351
  "/api/v2/billing/checkout",
1352
1352
  {
@@ -1354,8 +1354,8 @@ async function handleRedeemCode(code, options) {
1354
1354
  }
1355
1355
  );
1356
1356
  const url = String(payload.url || payload.checkout_url || "");
1357
- if (!options.json && !options.noOpen && url) _chunk4F4XU2Z5js.openInBrowser.call(void 0, url);
1358
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0,
1357
+ if (!options.json && !options.noOpen && url) _chunkGROXVGGWjs.openInBrowser.call(void 0, url);
1358
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0,
1359
1359
  {
1360
1360
  ...payload,
1361
1361
  render: {
@@ -1616,8 +1616,8 @@ Examples:
1616
1616
  new (0, _commander.Command)("trigger").description(
1617
1617
  "Evaluate capped automatic recharge and resume any pending purchase."
1618
1618
  ).option("--json", "Emit JSON output").action(async (options) => {
1619
- const result = await new (0, _chunk5RPFAX7Ojs.DeeplineClient)().billing.autoRecharge.trigger();
1620
- _chunk4F4XU2Z5js.printCommandEnvelope.call(void 0, { ok: true, ...result }, { json: options.json });
1619
+ const result = await new (0, _chunkN5E66DP3js.DeeplineClient)().billing.autoRecharge.trigger();
1620
+ _chunkGROXVGGWjs.printCommandEnvelope.call(void 0, { ok: true, ...result }, { json: options.json });
1621
1621
  })
1622
1622
  );
1623
1623
  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,7 +1,7 @@
1
1
  import {
2
2
  DeeplineClient,
3
3
  iterateCursorPages
4
- } from "./chunk-JWEYKLOV.mjs";
4
+ } from "./chunk-3ZKAKQYC.mjs";
5
5
  import "./chunk-CBVIJSHF.mjs";
6
6
  import {
7
7
  createTimestampedName,
@@ -9,13 +9,13 @@ import {
9
9
  openInBrowser,
10
10
  printCommandEnvelope,
11
11
  shouldEmitJson
12
- } from "./chunk-ZHIPP7YD.mjs";
12
+ } from "./chunk-I7RLL7LN.mjs";
13
13
  import {
14
14
  AuthError,
15
15
  ConfigError
16
- } from "./chunk-WARD6DBW.mjs";
16
+ } from "./chunk-TJGJTB5T.mjs";
17
17
  import "./chunk-DLIRSHV6.mjs";
18
- import "./chunk-I7UUOAZN.mjs";
18
+ import "./chunk-HHZDWBSQ.mjs";
19
19
  import "./chunk-6IKARAYD.mjs";
20
20
  import {
21
21
  DeeplineError
@@ -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 _chunkGAFGAIVWjs = require('./chunk-GAFGAIVW.js');
3
+ var _chunkGMO3NBE2js = require('./chunk-GMO3NBE2.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 = _chunkGAFGAIVWjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkGMO3NBE2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -14,7 +14,7 @@ import {
14
14
  RETAINED_PIPELINE_RECEIVERS_HEADER,
15
15
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
16
16
  resolveConfig
17
- } from "./chunk-WARD6DBW.mjs";
17
+ } from "./chunk-TJGJTB5T.mjs";
18
18
  import {
19
19
  PLAY_RUNTIME_BACKENDS,
20
20
  RAW_V2_TOOL_RESPONSE_CONTRACT,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-A3THNBGB.mjs";
3
+ } from "./chunk-AKM5JVPG.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-ZHIPP7YD.mjs";
5
+ } from "./chunk-I7RLL7LN.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-WARD6DBW.mjs";
28
+ } from "./chunk-TJGJTB5T.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-ZHIPP7YD.mjs";
6
+ } from "./chunk-I7RLL7LN.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-WARD6DBW.mjs";
25
+ } from "./chunk-TJGJTB5T.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
5
5
 
6
6
 
7
- var _chunkPTOQKD2Yjs = require('./chunk-PTOQKD2Y.js');
7
+ var _chunkIXYR65PWjs = require('./chunk-IXYR65PW.js');
8
8
 
9
9
 
10
10
 
@@ -721,9 +721,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
721
721
  }
722
722
 
723
723
  // src/version.ts
724
- var SDK_VERSION = _chunkPTOQKD2Yjs.SDK_RELEASE.version;
725
- var SDK_API_MAJOR = _chunkPTOQKD2Yjs.SDK_RELEASE.contracts.api.currentMajor;
726
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkPTOQKD2Yjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
724
+ var SDK_VERSION = _chunkIXYR65PWjs.SDK_RELEASE.version;
725
+ var SDK_API_MAJOR = _chunkIXYR65PWjs.SDK_RELEASE.contracts.api.currentMajor;
726
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkIXYR65PWjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
727
727
 
728
728
  // src/agent-runtime.ts
729
729
 
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-ZHIPP7YD.mjs";
5
+ } from "./chunk-I7RLL7LN.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-WARD6DBW.mjs";
8
+ } from "./chunk-TJGJTB5T.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {