deepline 0.3.539 → 0.3.541

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +10 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +8 -4
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-execution-queries.ts +2 -2
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +20 -7
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +30 -11
  7. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -1
  8. package/dist/cli/auth-V76O674K.js +43 -0
  9. package/dist/cli/{auth-QD7QGD3B.mjs → auth-WJXA7XGM.mjs} +5 -5
  10. package/dist/cli/{billing-KOQAF6WS.js → billing-34IV5DSV.js} +105 -94
  11. package/dist/cli/{billing-FIZXMHBW.mjs → billing-SHS4HMWT.mjs} +21 -10
  12. package/dist/cli/{chunk-FSQCB5SJ.js → chunk-2TAGAPLL.js} +2 -2
  13. package/dist/cli/{chunk-Q4HNK7JX.js → chunk-323I5KQ5.js} +8 -8
  14. package/dist/cli/{chunk-GLEGINSP.mjs → chunk-53QZ24DP.mjs} +2 -2
  15. package/dist/cli/chunk-5LNWLEO3.mjs +54 -0
  16. package/dist/cli/{chunk-TZBCJHV6.js → chunk-5N4ENMYE.js} +1 -1
  17. package/dist/cli/{chunk-JHEZQMOM.mjs → chunk-6PJAC3P5.mjs} +1 -1
  18. package/dist/cli/{chunk-K5MZHTK7.js → chunk-6TZEDCN7.js} +3 -3
  19. package/dist/cli/{chunk-G3UFDUYU.mjs → chunk-7AUQSK24.mjs} +1 -1
  20. package/dist/cli/{chunk-6KG4KVTH.mjs → chunk-ABDXKELH.mjs} +5 -5
  21. package/dist/cli/{chunk-FIRV7BXJ.mjs → chunk-AU7ZKXW5.mjs} +1 -1
  22. package/dist/cli/{chunk-APKZGUTU.mjs → chunk-BMNLD63A.mjs} +4 -4
  23. package/dist/cli/{chunk-FH3P3E4S.js → chunk-BUCTWJBM.js} +2 -2
  24. package/dist/cli/{chunk-KQTX545E.js → chunk-C2LYJ3EX.js} +13 -13
  25. package/dist/cli/{chunk-W32KT6LM.js → chunk-CNBPATLI.js} +5 -5
  26. package/dist/cli/{chunk-5QL4GJB2.js → chunk-CY5LW6DW.js} +2 -2
  27. package/dist/cli/{chunk-SDAP5MCO.mjs → chunk-DF7ARQRB.mjs} +2 -2
  28. package/dist/cli/{chunk-ADV2IB2C.mjs → chunk-DHC7EGI7.mjs} +5 -5
  29. package/dist/cli/{chunk-6NZBLFL4.mjs → chunk-ECPCZVDM.mjs} +1 -1
  30. package/dist/cli/{chunk-K22EKW6L.js → chunk-F3TLGM2U.js} +5 -5
  31. package/dist/cli/chunk-FANIRW74.mjs +9 -0
  32. package/dist/cli/{chunk-ISXX5DUD.js → chunk-FOCNY4GV.js} +3 -3
  33. package/dist/cli/{chunk-GLKUC5PO.mjs → chunk-FRPJSFNL.mjs} +2 -2
  34. package/dist/cli/{chunk-RULRGMMM.mjs → chunk-FTKX7OGB.mjs} +5 -5
  35. package/dist/cli/{chunk-EAZS52DL.js → chunk-FVZ5Y5L6.js} +15 -15
  36. package/dist/cli/{chunk-MI53W4DN.js → chunk-FYQWTENQ.js} +53 -53
  37. package/dist/cli/{chunk-Y66ZMOJI.mjs → chunk-GLINYHY7.mjs} +1 -1
  38. package/dist/cli/chunk-GWHA4DAC.js +9 -0
  39. package/dist/cli/{chunk-JBCQFG7G.mjs → chunk-H74CLEMB.mjs} +3 -3
  40. package/dist/cli/{chunk-E7D37PLM.mjs → chunk-IDDKNMFX.mjs} +36 -0
  41. package/dist/cli/{chunk-NR5PLMNG.js → chunk-IZXMX65M.js} +107 -107
  42. package/dist/cli/{chunk-6V3LNYK5.mjs → chunk-JZNKEHXQ.mjs} +2 -2
  43. package/dist/cli/{chunk-5RUB53KG.js → chunk-KIYETQ6K.js} +26 -26
  44. package/dist/cli/{chunk-GEO2EMM7.mjs → chunk-LRPFCB2P.mjs} +1 -1
  45. package/dist/cli/{chunk-V7DEGIYO.js → chunk-M6XIKHBS.js} +4 -4
  46. package/dist/cli/{chunk-KAEVL62Q.js → chunk-MPYM6TUO.js} +44 -44
  47. package/dist/cli/{chunk-LE5KN7CZ.mjs → chunk-NB4AIXEA.mjs} +3 -3
  48. package/dist/cli/{chunk-FTBWFDF3.js → chunk-OK4JMVTM.js} +7 -7
  49. package/dist/cli/chunk-POZPEDW7.js +54 -0
  50. package/dist/cli/{chunk-CQJCLHBE.js → chunk-Q66ADD4O.js} +41 -41
  51. package/dist/cli/{chunk-GNCIMHO2.mjs → chunk-QI76LGE3.mjs} +10 -10
  52. package/dist/cli/{chunk-F43MXIN3.mjs → chunk-RYYGNUNO.mjs} +2 -2
  53. package/dist/cli/{chunk-3YDI2PTN.js → chunk-S6FF7Q5P.js} +10 -10
  54. package/dist/cli/{chunk-YMQFQO3K.js → chunk-S7NKIEHL.js} +16 -16
  55. package/dist/cli/{chunk-DZFVVP3S.mjs → chunk-UC5QFQGC.mjs} +5 -5
  56. package/dist/cli/{chunk-VK5UTS5B.js → chunk-UKO6POLZ.js} +9 -9
  57. package/dist/cli/{chunk-5YF35HAV.js → chunk-UXXFCOE3.js} +6 -6
  58. package/dist/cli/{chunk-XTYHZEJ2.js → chunk-V4EYJKGJ.js} +36 -0
  59. package/dist/cli/{chunk-N3LPGGWD.mjs → chunk-VMIIUMAN.mjs} +1 -1
  60. package/dist/cli/{chunk-XZBXQCRJ.js → chunk-WIV3E6Y7.js} +22 -22
  61. package/dist/cli/{chunk-MKESK3SW.mjs → chunk-WZMG2M65.mjs} +4 -4
  62. package/dist/cli/{chunk-55ITVU2V.mjs → chunk-XO2SGONT.mjs} +2 -2
  63. package/dist/cli/{chunk-2XMFT44N.mjs → chunk-XTR32PMA.mjs} +1 -1
  64. package/dist/cli/{chunk-LEREPTAE.js → chunk-ZD673XAL.js} +19 -19
  65. package/dist/cli/{chunk-E4QHTDPF.mjs → chunk-ZL2DER5D.mjs} +1 -1
  66. package/dist/cli/command-docs.js +3 -2
  67. package/dist/cli/command-docs.mjs +2 -1
  68. package/dist/cli/concurrent-runs-help-MFEPUP6Y.js +21 -0
  69. package/dist/cli/concurrent-runs-help-ZJ77SAEU.mjs +21 -0
  70. package/dist/cli/{csv-BWWJYV2C.js → csv-MJLIZZOR.js} +13 -13
  71. package/dist/cli/{csv-G5RQQ74W.mjs → csv-PX7F5YJN.mjs} +4 -4
  72. package/dist/cli/{db-5KNDLADE.js → db-BNCNAY4G.js} +27 -27
  73. package/dist/cli/{db-AJZHWB3V.mjs → db-KPKGTHPA.mjs} +6 -6
  74. package/dist/cli/{describe-QY5TKWVD.mjs → describe-5OUJA5TH.mjs} +17 -17
  75. package/dist/cli/describe-7MF5AHIU.js +49 -0
  76. package/dist/cli/describe-core.d.mts +3 -3
  77. package/dist/cli/describe-core.d.ts +3 -3
  78. package/dist/cli/{executions-SJPH3MZT.mjs → executions-NMQY4GEY.mjs} +6 -6
  79. package/dist/cli/{executions-BCCW76BI.js → executions-YNOFR7T2.js} +8 -8
  80. package/dist/cli/{feedback-S6SZOFGK.mjs → feedback-LWYEO5LL.mjs} +6 -6
  81. package/dist/cli/{feedback-GF65JKK6.js → feedback-RCP5DPO6.js} +14 -14
  82. package/dist/cli/{git-F5FT5YVB.mjs → git-3O4PFP3Q.mjs} +5 -5
  83. package/dist/cli/git-WLQ3BS6K.js +25 -0
  84. package/dist/cli/index.js +157 -143
  85. package/dist/cli/index.mjs +57 -43
  86. package/dist/cli/{legacy-noops-NOA4P5NE.mjs → legacy-noops-KFP674JT.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-ECR6FS6U.js → legacy-noops-ZPZRG366.js} +9 -9
  88. package/dist/cli/mcp-HCXDW6PL.js +352 -0
  89. package/dist/cli/mcp-OCYUXQ6L.mjs +352 -0
  90. package/dist/cli/{monitors-DEWBSURN.js → monitors-7Q7YT22Y.js} +100 -100
  91. package/dist/cli/{monitors-CTYSAGP4.mjs → monitors-V5KJIJJE.mjs} +7 -7
  92. package/dist/cli/{org-EKSKKT7H.mjs → org-C3QLHX7U.mjs} +6 -6
  93. package/dist/cli/{org-ZM2UUMZZ.js → org-S37K6QYH.js} +86 -86
  94. package/dist/cli/{play-6JQOM6DE.js → play-MLREAYHJ.js} +473 -455
  95. package/dist/cli/{play-R2BH374J.mjs → play-MXQ2DKML.mjs} +35 -17
  96. package/dist/cli/{providers-X7WMIWO4.mjs → providers-FDJ4ZOST.mjs} +6 -6
  97. package/dist/cli/{providers-CMIYHEMN.js → providers-PPDWY7DH.js} +9 -9
  98. package/dist/cli/{quickstart-ZZ7L6VZJ.mjs → quickstart-2Z57AMB7.mjs} +4 -4
  99. package/dist/cli/{quickstart-6HVPAMSW.js → quickstart-BOWQM7S7.js} +6 -6
  100. package/dist/cli/{run-FP32RKBU.mjs → run-5RNJGPQ2.mjs} +22 -22
  101. package/dist/cli/{run-OOHYH3GI.js → run-66HXNJNV.js} +42 -42
  102. package/dist/cli/{search-BDDNC23Z.mjs → search-7G4FYQYO.mjs} +7 -7
  103. package/dist/cli/search-LTUIIV6W.js +32 -0
  104. package/dist/cli/{search-output-QXJ6CV5G.mjs → search-output-6K4FHCVI.mjs} +4 -4
  105. package/dist/cli/{search-output-5VZIQQAM.js → search-output-L6ICQDBL.js} +6 -6
  106. package/dist/cli/{secrets-Z7CQSQGC.mjs → secrets-FTQPCU7O.mjs} +6 -6
  107. package/dist/cli/{secrets-EN2HQCO3.js → secrets-PWFJKF7G.js} +15 -15
  108. package/dist/cli/sessions-2IVFGTPA.js +22 -0
  109. package/dist/cli/{sessions-I2H37OTJ.mjs → sessions-YSSAAQVJ.mjs} +6 -6
  110. package/dist/cli/{settings-CTRAPFNZ.js → settings-CZEMF2WD.js} +85 -85
  111. package/dist/cli/{settings-IYSC5PPQ.mjs → settings-KN7GNZ5J.mjs} +12 -12
  112. package/dist/cli/{setup-PU3HOVI3.mjs → setup-5WLHGH57.mjs} +9 -9
  113. package/dist/cli/{setup-XIN53GEW.js → setup-RW4X6DX4.js} +49 -49
  114. package/dist/cli/{skills-TYBML2ZO.mjs → skills-DLVI7IZK.mjs} +7 -7
  115. package/dist/cli/skills-WT42AZVH.js +36 -0
  116. package/dist/cli/tools-D6STYBQG.js +56 -0
  117. package/dist/cli/{tools-ZVNE6M6J.mjs → tools-JVYQF7P3.mjs} +16 -16
  118. package/dist/cli/{update-54WENBNT.mjs → update-XKLXU7YS.mjs} +9 -9
  119. package/dist/cli/update-XTUKBC3J.js +34 -0
  120. package/dist/cli/{views-EUBB4ONT.mjs → views-QRRCWP6B.mjs} +6 -6
  121. package/dist/cli/{views-7L75EZOJ.js → views-YNUYFS3S.js} +21 -21
  122. package/dist/cli/{workflow-GUKGFJ72.mjs → workflow-KYFMA4LM.mjs} +7 -7
  123. package/dist/cli/{workflow-EZVYCR6Y.js → workflow-YUKADKCJ.js} +17 -17
  124. package/dist/{client-DZTnAv4B.d.ts → client-B1fixtK1.d.ts} +1 -1
  125. package/dist/{client-D0uDBybG.d.mts → client-CE4QBVbp.d.mts} +1 -1
  126. package/dist/{client-core-BhWf8Y1b.d.mts → client-core-2BkNBgrx.d.mts} +3 -1
  127. package/dist/{client-core-og3AP1LL.d.ts → client-core-C-3FVlVq.d.ts} +3 -1
  128. package/dist/{compiler-manifest-Bes3OVA3.d.ts → compiler-manifest-Cys06iYg.d.mts} +14 -0
  129. package/dist/{compiler-manifest-Bes3OVA3.d.mts → compiler-manifest-Cys06iYg.d.ts} +14 -0
  130. package/dist/{errors-Dc5r42ks.d.mts → errors-B6eMjKcr.d.mts} +1 -1
  131. package/dist/{errors-BJm4lLWc.d.ts → errors-rdOUqcU2.d.ts} +1 -1
  132. package/dist/{index-DTkiz_Ur.d.mts → index-CZdYO81A.d.mts} +1 -1
  133. package/dist/{index-BfV7mRPF.d.ts → index-ejWadAL5.d.ts} +1 -1
  134. package/dist/index.d.mts +7 -7
  135. package/dist/index.d.ts +7 -7
  136. package/dist/index.js +9 -9
  137. package/dist/index.mjs +6 -6
  138. package/dist/install-integrity.json +120 -112
  139. package/dist/plays/bundle-play-file.d.mts +3 -3
  140. package/dist/plays/bundle-play-file.d.ts +3 -3
  141. package/dist/plays/bundle-play-file.mjs +1 -1
  142. package/dist/plays/play-description.d.mts +2 -2
  143. package/dist/plays/play-description.d.ts +2 -2
  144. package/dist/plays/run-request.d.mts +2 -2
  145. package/dist/plays/run-request.d.ts +2 -2
  146. package/dist/release.d.mts +1 -1
  147. package/dist/release.d.ts +1 -1
  148. package/dist/release.js +2 -2
  149. package/dist/release.mjs +1 -1
  150. package/dist/server.d.mts +4 -4
  151. package/dist/server.d.ts +4 -4
  152. package/dist/server.js +5 -5
  153. package/dist/server.mjs +3 -3
  154. package/package.json +1 -1
  155. package/dist/cli/auth-O5Y2VYXK.js +0 -43
  156. package/dist/cli/describe-B6CN6CFJ.js +0 -49
  157. package/dist/cli/git-DX6NB7VF.js +0 -25
  158. package/dist/cli/search-34C6LFOJ.js +0 -32
  159. package/dist/cli/sessions-RYQX3NDD.js +0 -22
  160. package/dist/cli/skills-576CX7DK.js +0 -36
  161. package/dist/cli/tools-EXMUWA3Z.js +0 -56
  162. package/dist/cli/update-RAHETNL2.js +0 -34
@@ -1,11 +1,11 @@
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 _chunkFSQCB5SJjs = require('./chunk-FSQCB5SJ.js');
3
+ var _chunk2TAGAPLLjs = require('./chunk-2TAGAPLL.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
8
+ var _chunkMPYM6TUOjs = require('./chunk-MPYM6TUO.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkKAEVL62Qjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkFSQCB5SJjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkMPYM6TUOjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunk2TAGAPLLjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkKAEVL62Qjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkMPYM6TUOjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkKAEVL62Qjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkMPYM6TUOjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,5 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkGWHA4DACjs = require('./chunk-GWHA4DAC.js');
4
+
5
+
3
6
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
4
7
 
5
8
  // src/cli/command-docs.ts
@@ -381,6 +384,7 @@ Output:
381
384
  Your runtime price, allowance used, paid overage, and reset date.
382
385
  Usage is shown in standard sandbox minutes at your current rate and in credits.
383
386
  ${PLAY_RUNTIME_PRICING_NOTE}
387
+ ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
384
388
  Cost:
385
389
  Free to check.
386
390
  [[cli:
@@ -1353,6 +1357,17 @@ Output:
1353
1357
  held rateLimit window starts no run and returns the latest run with
1354
1358
  rateLimited {latestRunId, nextAllowedAt, message}.
1355
1359
  ]]
1360
+ Concurrency:
1361
+ A workspace runs as many Plays at once as its plan allows; each run holds
1362
+ one slot while it executes. A run over the limit is not rejected: it waits
1363
+ and starts when another finishes. While it waits, run.activity.summary
1364
+ starts with "Queued:", run.activity.observation.activityId is
1365
+ "run:sandbox-capacity", and warnings names the plan that runs more.
1366
+ [[cli:
1367
+ deepline billing entitlements shows this workspace's plan and limit and
1368
+ every plan's limit; this help prints them too when you are signed in.
1369
+ ]]
1370
+ ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
1356
1371
  Cost:
1357
1372
  Spends Deepline credits through the play's tool calls. Validation errors
1358
1373
  (missing column, bad input) fail before any spend.
@@ -1593,6 +1608,17 @@ Output:
1593
1608
  sqlQualifiedTableName, actions}, and next.*.command, each naming the MCP call for a follow-up.
1594
1609
  With full: true the package is under package, beside the diagnostics.
1595
1610
  ]]
1611
+ Concurrency:
1612
+ A workspace runs as many Plays at once as its plan allows; each run holds
1613
+ one slot while it executes. A run over the limit is not rejected: it waits
1614
+ and starts when another finishes. While it waits, run.activity.summary
1615
+ starts with "Queued:", run.activity.observation.activityId is
1616
+ "run:sandbox-capacity", and warnings names the plan that runs more.
1617
+ [[cli:
1618
+ deepline billing entitlements shows this workspace's plan and limit and
1619
+ every plan's limit; this help prints them too when you are signed in.
1620
+ ]]
1621
+ ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
1596
1622
  Cost:
1597
1623
  Free.
1598
1624
  Avoid:
@@ -1612,6 +1638,16 @@ Output fields:
1612
1638
  run.status queued, running, completed, failed, or stopped. Only
1613
1639
  the last three are terminal.
1614
1640
  run.activity the current step while running, null when finished.
1641
+ A queued capacity activity means it is waiting for a
1642
+ workspace concurrency slot, even if run.status says
1643
+ running. target.limit is the observed limit;
1644
+ target.limitSource=admission means it was pinned at
1645
+ launch. Plan changes apply to new launches, not that
1646
+ recorded limit. Scheduling retries automatically:
1647
+ watch the same run instead of resubmitting it.
1648
+ Read billing entitlements and billing plans for
1649
+ current limits and available plans. No queue ETA is
1650
+ guaranteed.
1615
1651
  run.retries failure-driven retries since the last resume:
1616
1652
  platformRecoveries {preCode, postCode} and
1617
1653
  recoveryOutcome (none, recovering, recovered,
@@ -9,7 +9,7 @@ import {
9
9
  formatCliFailureDiagnostic,
10
10
  markJsonOutputHandled,
11
11
  writeRawStderr
12
- } from "./chunk-GLKUC5PO.mjs";
12
+ } from "./chunk-FRPJSFNL.mjs";
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -4,21 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkYMQFQO3Kjs = require('./chunk-YMQFQO3K.js');
7
+ var _chunkS7NKIEHLjs = require('./chunk-S7NKIEHL.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
11
+ var _chunkMPYM6TUOjs = require('./chunk-MPYM6TUO.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
15
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
16
16
 
17
17
 
18
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
18
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.js');
19
19
 
20
20
 
21
- var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
21
+ var _chunkM6XIKHBSjs = require('./chunk-M6XIKHBS.js');
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -45,7 +45,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
45
45
  async function reportAutoUpdateEvent(input) {
46
46
  let apiKey = "";
47
47
  try {
48
- apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
+ apiKey = _chunkFOCNY4GVjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
49
  } catch (e2) {
50
50
  return;
51
51
  }
@@ -61,15 +61,15 @@ async function reportAutoUpdateEvent(input) {
61
61
  headers: {
62
62
  Authorization: `Bearer ${apiKey}`,
63
63
  "Content-Type": "application/json",
64
- "User-Agent": `deepline-ts-sdk/${_chunkV7DEGIYOjs.SDK_VERSION}`,
64
+ "User-Agent": `deepline-ts-sdk/${_chunkM6XIKHBSjs.SDK_VERSION}`,
65
65
  "X-Deepline-Client-Family": "sdk",
66
66
  "X-Deepline-CLI-Family": "sdk",
67
- "X-Deepline-CLI-Version": _chunkV7DEGIYOjs.SDK_VERSION,
68
- "X-Deepline-SDK-Version": _chunkV7DEGIYOjs.SDK_VERSION
67
+ "X-Deepline-CLI-Version": _chunkM6XIKHBSjs.SDK_VERSION,
68
+ "X-Deepline-SDK-Version": _chunkM6XIKHBSjs.SDK_VERSION
69
69
  },
70
70
  body: JSON.stringify({
71
71
  event: input.event,
72
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkV7DEGIYOjs.SDK_VERSION,
72
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkM6XIKHBSjs.SDK_VERSION,
73
73
  target_version: input.response.latest,
74
74
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
75
75
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -88,13 +88,13 @@ function envTruthy(name) {
88
88
  return value === "1" || value === "true" || value === "yes";
89
89
  }
90
90
  function shouldSkipSelfUpdate(policy) {
91
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkYMQFQO3Kjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkKAEVL62Qjs.isCiEnvironment.call(void 0, );
91
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkS7NKIEHLjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkMPYM6TUOjs.isCiEnvironment.call(void 0, );
92
92
  }
93
93
  function isDowngradeAutoUpdateResponse(response) {
94
94
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
95
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkV7DEGIYOjs.SDK_VERSION;
95
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkM6XIKHBSjs.SDK_VERSION;
96
96
  if (!target) return false;
97
- return _chunkYMQFQO3Kjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
+ return _chunkS7NKIEHLjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
98
  }
99
99
  function relaunchCurrentCommand(plan, runtime = {}) {
100
100
  return new Promise((resolve) => {
@@ -147,7 +147,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
147
147
  }
148
148
  if (isDowngradeAutoUpdateResponse(response)) {
149
149
  const target = response.latest;
150
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkV7DEGIYOjs.SDK_VERSION;
150
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkM6XIKHBSjs.SDK_VERSION;
151
151
  process.stderr.write(
152
152
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
153
153
  `
@@ -155,21 +155,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
155
155
  return false;
156
156
  }
157
157
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
158
- const plan = _chunkYMQFQO3Kjs.resolveUpdatePlan.call(void 0, {
158
+ const plan = _chunkS7NKIEHLjs.resolveUpdatePlan.call(void 0, {
159
159
  packageSpec,
160
160
  requireVerifiedNpmOwnership: true,
161
161
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
162
162
  });
163
- if (!_chunkYMQFQO3Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
+ if (!_chunkS7NKIEHLjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
164
  return false;
165
165
  }
166
166
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
167
167
  deferredAutoUpdate = async () => {
168
168
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
169
169
  };
170
- if (_chunkLEREPTAEjs.isJsonOutputMode.call(void 0, )) {
170
+ if (_chunkZD673XALjs.isJsonOutputMode.call(void 0, )) {
171
171
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
172
- _chunkLEREPTAEjs.addJsonNotice.call(void 0, {
172
+ _chunkZD673XALjs.addJsonNotice.call(void 0, {
173
173
  code: "sdk_update_queued",
174
174
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
175
175
  });
@@ -182,7 +182,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
182
182
  return true;
183
183
  }
184
184
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
185
- if (!_chunkYMQFQO3Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
+ if (!_chunkS7NKIEHLjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
186
  const autoUpdate = response.auto_update;
187
187
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
188
188
  process.stderr.write(
@@ -195,7 +195,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
195
195
  event: "started",
196
196
  installKind: plan.kind
197
197
  });
198
- const updateResult = await _chunkYMQFQO3Kjs.runAutomaticUpdatePlan.call(void 0, plan);
198
+ const updateResult = await _chunkS7NKIEHLjs.runAutomaticUpdatePlan.call(void 0, plan);
199
199
  if (updateResult.status === "skipped_previous_failure") {
200
200
  void reportAutoUpdateEvent({
201
201
  baseUrl,
@@ -233,7 +233,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
233
233
  exitCode: 0
234
234
  });
235
235
  try {
236
- await _chunkKAEVL62Qjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
236
+ await _chunkMPYM6TUOjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
237
  mode: "detached",
238
238
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
239
239
  afterCliUpdate: {
@@ -260,7 +260,7 @@ var _crypto = require('crypto');
260
260
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
261
261
  var activeToolExecuteCommand = null;
262
262
  function progressLine(line) {
263
- if (!_chunkLEREPTAEjs.isJsonOutputMode.call(void 0, )) console.error(line);
263
+ if (!_chunkZD673XALjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
264
  }
265
265
  function beginToolExecuteCommand() {
266
266
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-ADV2IB2C.mjs";
14
+ } from "./chunk-DHC7EGI7.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-GLKUC5PO.mjs";
17
+ } from "./chunk-FRPJSFNL.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-FIRV7BXJ.mjs";
23
+ } from "./chunk-AU7ZKXW5.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-G3UFDUYU.mjs";
27
+ } from "./chunk-7AUQSK24.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-GEO2EMM7.mjs";
3
+ } from "./chunk-LRPFCB2P.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-FIRV7BXJ.mjs";
7
+ } from "./chunk-AU7ZKXW5.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-GLKUC5PO.mjs";
3
+ } from "./chunk-FRPJSFNL.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
7
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
13
+ var _chunkM6XIKHBSjs = require('./chunk-M6XIKHBS.js');
14
14
 
15
15
 
16
16
 
@@ -330,7 +330,7 @@ function buildEnvironmentContext() {
330
330
  node_version: process.version,
331
331
  runtime: "Node.js",
332
332
  hostname: _os.hostname.call(void 0, ),
333
- agent_runtime: _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, )
333
+ agent_runtime: _chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, )
334
334
  };
335
335
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
336
336
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -351,18 +351,18 @@ function buildEnvironmentContext() {
351
351
  return context;
352
352
  }
353
353
  function failureReportHeaders(apiKey) {
354
- const agentSessionId = _chunkV7DEGIYOjs.agentSessionIdFromEnvironment.call(void 0, );
354
+ const agentSessionId = _chunkM6XIKHBSjs.agentSessionIdFromEnvironment.call(void 0, );
355
355
  return {
356
- ..._chunkV7DEGIYOjs.deploymentProtectionHeaders.call(void 0, ),
356
+ ..._chunkM6XIKHBSjs.deploymentProtectionHeaders.call(void 0, ),
357
357
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
358
358
  Authorization: `Bearer ${apiKey}`,
359
359
  "Content-Type": "application/json",
360
- "User-Agent": `deepline-ts-sdk/${_chunkV7DEGIYOjs.SDK_VERSION}`,
360
+ "User-Agent": `deepline-ts-sdk/${_chunkM6XIKHBSjs.SDK_VERSION}`,
361
361
  "X-Deepline-Client-Family": "sdk",
362
362
  "X-Deepline-CLI-Family": "sdk",
363
- "X-Deepline-Agent-Runtime": _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ),
364
- "X-Deepline-CLI-Version": _chunkV7DEGIYOjs.SDK_VERSION,
365
- "X-Deepline-SDK-Version": _chunkV7DEGIYOjs.SDK_VERSION
363
+ "X-Deepline-Agent-Runtime": _chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, ),
364
+ "X-Deepline-CLI-Version": _chunkM6XIKHBSjs.SDK_VERSION,
365
+ "X-Deepline-SDK-Version": _chunkM6XIKHBSjs.SDK_VERSION
366
366
  };
367
367
  }
368
368
  async function postFailureReport(input) {
@@ -390,7 +390,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
390
390
  if (isFailureReportingDisabled()) return false;
391
391
  let apiKey = "";
392
392
  try {
393
- apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
393
+ apiKey = _chunkFOCNY4GVjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
394
  } catch (e2) {
395
395
  return false;
396
396
  }
@@ -417,7 +417,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
417
417
  failure_code: failureCode2,
418
418
  failure_stage: failureStage,
419
419
  error_body: "Automatic Deepline skills installation failed.",
420
- cli_version: _chunkV7DEGIYOjs.SDK_VERSION,
420
+ cli_version: _chunkM6XIKHBSjs.SDK_VERSION,
421
421
  context: {
422
422
  environment: buildEnvironmentContext(),
423
423
  skills_sync: {
@@ -537,7 +537,7 @@ function buildFailureReport(input) {
537
537
  failure_kind: failureKind,
538
538
  failure_code: code,
539
539
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
540
- cli_version: _chunkV7DEGIYOjs.SDK_VERSION,
540
+ cli_version: _chunkM6XIKHBSjs.SDK_VERSION,
541
541
  context: {
542
542
  base_url: redactFailureText(input.baseUrl, 400),
543
543
  command_summary: sanitizeCommand(input.argv),
@@ -557,8 +557,8 @@ async function maybeReportSdkCliFailure(input) {
557
557
  if (isServerLoggedPlayRunStartFailure(input)) return false;
558
558
  const exitCode = resolvedExitCode(input);
559
559
  if (!shouldReport({ exitCode, error: input.error })) return false;
560
- const baseUrl = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
- const apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
560
+ const baseUrl = _chunkFOCNY4GVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
+ const apiKey = _chunkFOCNY4GVjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
562
562
  if (!apiKey) return false;
563
563
  return postFailureReport({
564
564
  baseUrl,
@@ -682,8 +682,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
682
682
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
683
683
  var defaultBrowserCommandRunner = childProcess;
684
684
  function getAuthedHttpClient() {
685
- const config = _chunkISXX5DUDjs.resolveConfig.call(void 0, );
686
- return { config, http: new (0, _chunkISXX5DUDjs.HttpClient)(config) };
685
+ const config = _chunkFOCNY4GVjs.resolveConfig.call(void 0, );
686
+ return { config, http: new (0, _chunkFOCNY4GVjs.HttpClient)(config) };
687
687
  }
688
688
  function stableOsUserId() {
689
689
  try {
@@ -1023,7 +1023,7 @@ function collectLocalEnvInfo() {
1023
1023
  os: `${process.platform} ${process.arch}`,
1024
1024
  node_version: process.version,
1025
1025
  home_dir: homeDir,
1026
- agent_runtime: _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, )
1026
+ agent_runtime: _chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, )
1027
1027
  };
1028
1028
  const env = process.env;
1029
1029
  const optional = {
@@ -1270,9 +1270,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1270
1270
  }
1271
1271
  function withAgentCommandContext(value) {
1272
1272
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1273
- return _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1273
+ return _chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1274
1274
  ...valueRecord,
1275
- command_context: _chunkISXX5DUDjs.resolveCliCommandContext.call(void 0, )
1275
+ command_context: _chunkFOCNY4GVjs.resolveCliCommandContext.call(void 0, )
1276
1276
  } : value;
1277
1277
  }
1278
1278
  function printJson(value, fields) {
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.539",
52
+ version: "0.3.541",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -7,7 +7,8 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkXTYHZEJ2js = require('./chunk-XTYHZEJ2.js');
10
+ var _chunkV4EYJKGJjs = require('./chunk-V4EYJKGJ.js');
11
+ require('./chunk-GWHA4DAC.js');
11
12
  require('./chunk-R7J7CJPZ.js');
12
13
  require('./chunk-YGCKMI5P.js');
13
14
  require('./chunk-COGTRVWW.js');
@@ -20,4 +21,4 @@ require('./chunk-COGTRVWW.js');
20
21
 
21
22
 
22
23
 
23
- exports.CLI_DOC_SURFACE = _chunkXTYHZEJ2js.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkXTYHZEJ2js.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkXTYHZEJ2js.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkXTYHZEJ2js.commandDocKey; exports.helpDetailFromArgv = _chunkXTYHZEJ2js.helpDetailFromArgv; exports.renderActionExplanation = _chunkXTYHZEJ2js.renderActionExplanation; exports.renderCommandExplanation = _chunkXTYHZEJ2js.renderCommandExplanation; exports.renderDocText = _chunkXTYHZEJ2js.renderDocText;
24
+ exports.CLI_DOC_SURFACE = _chunkV4EYJKGJjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkV4EYJKGJjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkV4EYJKGJjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkV4EYJKGJjs.commandDocKey; exports.helpDetailFromArgv = _chunkV4EYJKGJjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkV4EYJKGJjs.renderActionExplanation; exports.renderCommandExplanation = _chunkV4EYJKGJjs.renderCommandExplanation; exports.renderDocText = _chunkV4EYJKGJjs.renderDocText;
@@ -7,7 +7,8 @@ import {
7
7
  renderActionExplanation,
8
8
  renderCommandExplanation,
9
9
  renderDocText
10
- } from "./chunk-E7D37PLM.mjs";
10
+ } from "./chunk-IDDKNMFX.mjs";
11
+ import "./chunk-FANIRW74.mjs";
11
12
  import "./chunk-5LUF4LAR.mjs";
12
13
  import "./chunk-7I4B6V2S.mjs";
13
14
  import "./chunk-KRD6H754.mjs";
@@ -0,0 +1,21 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkPOZPEDW7js = require('./chunk-POZPEDW7.js');
6
+ require('./chunk-FYQWTENQ.js');
7
+ require('./chunk-GWHA4DAC.js');
8
+ require('./chunk-ZD673XAL.js');
9
+ require('./chunk-FOCNY4GV.js');
10
+ require('./chunk-M6XIKHBS.js');
11
+ require('./chunk-2GJZLIKW.js');
12
+ require('./chunk-XNYIZMNQ.js');
13
+ require('./chunk-BBTKAASQ.js');
14
+ require('./chunk-5N4ENMYE.js');
15
+ require('./chunk-OG64RBAC.js');
16
+ require('./chunk-COGTRVWW.js');
17
+
18
+
19
+
20
+
21
+ exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunkPOZPEDW7js.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunkPOZPEDW7js.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunkPOZPEDW7js.concurrentRunsLine;
@@ -0,0 +1,21 @@
1
+ import {
2
+ CONCURRENT_RUNS_HELP_COMMANDS,
3
+ concurrentRunsHelpStatus,
4
+ concurrentRunsLine
5
+ } from "./chunk-5LNWLEO3.mjs";
6
+ import "./chunk-NB4AIXEA.mjs";
7
+ import "./chunk-FANIRW74.mjs";
8
+ import "./chunk-FRPJSFNL.mjs";
9
+ import "./chunk-AU7ZKXW5.mjs";
10
+ import "./chunk-7AUQSK24.mjs";
11
+ import "./chunk-CQBIO6HW.mjs";
12
+ import "./chunk-DLIRSHV6.mjs";
13
+ import "./chunk-JL2OTMSG.mjs";
14
+ import "./chunk-ZL2DER5D.mjs";
15
+ import "./chunk-WZYKRD7T.mjs";
16
+ import "./chunk-KRD6H754.mjs";
17
+ export {
18
+ CONCURRENT_RUNS_HELP_COMMANDS,
19
+ concurrentRunsHelpStatus,
20
+ concurrentRunsLine
21
+ };
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
8
- require('./chunk-ISXX5DUD.js');
9
- require('./chunk-V7DEGIYO.js');
7
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
8
+ require('./chunk-FOCNY4GV.js');
9
+ require('./chunk-M6XIKHBS.js');
10
10
  require('./chunk-2GJZLIKW.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-BBTKAASQ.js');
13
- require('./chunk-TZBCJHV6.js');
13
+ require('./chunk-5N4ENMYE.js');
14
14
  require('./chunk-OG64RBAC.js');
15
15
  require('./chunk-COGTRVWW.js');
16
16
 
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
128
128
  column.length,
129
129
  ...rows.map((row) => {
130
130
  const value = _nullishCoalesce(row[column], () => ( ""));
131
- return (verbose ? value : _chunkLEREPTAEjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkZD673XALjs.clip.call(void 0, value, 42)).length;
132
132
  })
133
133
  )
134
134
  ])
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
138
138
  const body = rows.map(
139
139
  (row) => columns.map((column) => {
140
140
  const raw = _nullishCoalesce(row[column], () => ( ""));
141
- const display = verbose ? raw : _chunkLEREPTAEjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkZD673XALjs.clip.call(void 0, raw, 42);
142
142
  return display.padEnd(widths[column]);
143
143
  }).join(" | ")
144
144
  );
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
158
158
  { exitCode: 2 }
159
159
  );
160
160
  }
161
- const allRows = _chunkLEREPTAEjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkZD673XALjs.readCsvRows.call(void 0, csvPath);
162
162
  const [rowStart, rowEnd] = parseRowRange(options.rows);
163
163
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
164
164
  const { rows: selected, columns } = selectColumns(
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
171
171
  if (options.summary) {
172
172
  const summaries = summarizeColumns(selected, columns);
173
173
  if (format === "json") {
174
- _chunkLEREPTAEjs.printJson.call(void 0, {
174
+ _chunkZD673XALjs.printJson.call(void 0, {
175
175
  rows: summaries,
176
176
  total_rows: selected.length,
177
177
  source_total_rows: allRows.length
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
180
180
  }
181
181
  const displayRows = summaryDisplayRows(summaries);
182
182
  if (format === "csv") {
183
- process.stdout.write(_chunkLEREPTAEjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkZD673XALjs.csvStringFromRows.call(void 0, displayRows));
184
184
  return;
185
185
  }
186
186
  process.stdout.write(
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
195
195
  return;
196
196
  }
197
197
  if (format === "json") {
198
- _chunkLEREPTAEjs.printJson.call(void 0, {
198
+ _chunkZD673XALjs.printJson.call(void 0, {
199
199
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
200
200
  });
201
201
  return;
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
438
438
  if (log) {
439
439
  detail = `
440
440
  CSV render log:
441
- ${_chunkLEREPTAEjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkZD673XALjs.clip.call(void 0, log, 2e3)}`;
442
442
  }
443
443
  } catch (e7) {
444
444
  }
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
489
489
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
490
490
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
491
491
  lines.push(`Render Health: ${payload.health_status}`);
492
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0, payload, {
493
493
  json: options.json,
494
494
  text: `${lines.join("\n")}
495
495
  `
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
525
525
  };
526
526
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
527
527
  ` : "No running CSV render process found.\n";
528
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
529
529
  }
530
530
  async function handleCsvRender(action, options) {
531
531
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-GLKUC5PO.mjs";
8
- import "./chunk-FIRV7BXJ.mjs";
9
- import "./chunk-G3UFDUYU.mjs";
7
+ } from "./chunk-FRPJSFNL.mjs";
8
+ import "./chunk-AU7ZKXW5.mjs";
9
+ import "./chunk-7AUQSK24.mjs";
10
10
  import "./chunk-CQBIO6HW.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-JL2OTMSG.mjs";
13
- import "./chunk-E4QHTDPF.mjs";
13
+ import "./chunk-ZL2DER5D.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16