deepline 0.3.471 → 0.3.472

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 (137) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +9 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +7 -0
  5. package/dist/cli/{auth-MUCIXHJF.mjs → auth-35DAEPHC.mjs} +5 -5
  6. package/dist/cli/auth-Q5TM66UI.js +41 -0
  7. package/dist/cli/{billing-BQQNTCTV.js → billing-5ED5X2IO.js} +79 -79
  8. package/dist/cli/{billing-QGCTDE2N.mjs → billing-CXVBJEC4.mjs} +6 -6
  9. package/dist/cli/{chunk-RUWBAU6V.js → chunk-2DND7LLL.js} +8 -8
  10. package/dist/cli/{chunk-WDXJUZCY.js → chunk-2G4R4APL.js} +2 -2
  11. package/dist/cli/{chunk-ZAF54BQK.mjs → chunk-2S36YV2K.mjs} +1 -1
  12. package/dist/cli/{chunk-NPJY5QRC.js → chunk-3L76SFGN.js} +53 -53
  13. package/dist/cli/{chunk-OYHCMKZM.mjs → chunk-4NFBYW7X.mjs} +2 -2
  14. package/dist/cli/{chunk-FJBGBPYY.mjs → chunk-52VOORHM.mjs} +2 -2
  15. package/dist/cli/{chunk-MLQJVAVS.js → chunk-5FHU67AT.js} +3 -3
  16. package/dist/cli/{chunk-SIQV6UYG.mjs → chunk-6PKONIIP.mjs} +4 -4
  17. package/dist/cli/{chunk-6DTW6JND.js → chunk-6ZTSHKJF.js} +19 -5
  18. package/dist/cli/{chunk-J2NYCUTK.js → chunk-7KAS4QOW.js} +94 -89
  19. package/dist/cli/{chunk-IE5KAVTI.mjs → chunk-C5PY2PP6.mjs} +3 -3
  20. package/dist/cli/{chunk-U5RGCQWJ.mjs → chunk-CFDQZQE2.mjs} +2 -2
  21. package/dist/cli/{chunk-4OAA43RX.mjs → chunk-FHIO7WI2.mjs} +2 -2
  22. package/dist/cli/{chunk-NBPNYD54.js → chunk-GJPRBELO.js} +16 -16
  23. package/dist/cli/{chunk-YRM5TPXL.js → chunk-H7YFUC3J.js} +7 -7
  24. package/dist/cli/{chunk-KSUGLTX3.js → chunk-HBVT4FW5.js} +6 -6
  25. package/dist/cli/{chunk-VGIAOWCD.js → chunk-IIQ6O5F3.js} +5 -5
  26. package/dist/cli/{chunk-ATKFOOVD.mjs → chunk-IPJ27SD2.mjs} +5 -5
  27. package/dist/cli/{chunk-3PT2HJKC.mjs → chunk-JRZW4LWK.mjs} +1 -1
  28. package/dist/cli/{chunk-FVGT5EBA.mjs → chunk-KQJHIVCE.mjs} +1 -1
  29. package/dist/cli/{chunk-DFMFYOML.js → chunk-L3AXQXNT.js} +10 -10
  30. package/dist/cli/{chunk-CR2F3JZN.js → chunk-LQUOZGM6.js} +51 -51
  31. package/dist/cli/{chunk-RWCTGSD7.js → chunk-M475BQ77.js} +3 -3
  32. package/dist/cli/{chunk-K5USD25Z.mjs → chunk-MRZ7AO72.mjs} +10 -10
  33. package/dist/cli/{chunk-IPFUDUSY.mjs → chunk-NZBZFEVA.mjs} +4 -4
  34. package/dist/cli/{chunk-TWRK4NOU.js → chunk-ODAARZSK.js} +36 -36
  35. package/dist/cli/{chunk-ZMJOSD7R.mjs → chunk-OMPW5ELS.mjs} +1 -1
  36. package/dist/cli/{chunk-4PT2WZD2.js → chunk-QLVYYDUI.js} +26 -26
  37. package/dist/cli/{chunk-PVEEGJFN.mjs → chunk-QSCLOPWR.mjs} +1 -1
  38. package/dist/cli/{chunk-VVY3HGFM.mjs → chunk-R6L6JRDR.mjs} +2 -2
  39. package/dist/cli/{chunk-EHVVDHNU.mjs → chunk-R73LE2IM.mjs} +1 -1
  40. package/dist/cli/{chunk-FX3QM6WN.js → chunk-RDOPZK7A.js} +3 -3
  41. package/dist/cli/{chunk-E3WTQ3JI.js → chunk-RMQB72WW.js} +9 -9
  42. package/dist/cli/{chunk-5QWGL2QO.js → chunk-SBPI7AEB.js} +93 -93
  43. package/dist/cli/{chunk-VDRGX2XL.js → chunk-SKVMC6K6.js} +5 -5
  44. package/dist/cli/{chunk-DK5Y5BD3.js → chunk-SYWOSAW7.js} +4 -4
  45. package/dist/cli/{chunk-EYKMITTY.mjs → chunk-T5H7ETIM.mjs} +4 -4
  46. package/dist/cli/{chunk-AMUSZHCE.mjs → chunk-TMMODGPV.mjs} +2 -2
  47. package/dist/cli/{chunk-G6RQXAJ2.js → chunk-UKKCS6Z4.js} +1 -1
  48. package/dist/cli/{chunk-ZHM7VCKH.js → chunk-UPXGN62E.js} +21 -21
  49. package/dist/cli/{chunk-DV4V5IWI.mjs → chunk-UXFUD2MB.mjs} +5 -5
  50. package/dist/cli/{chunk-NLT3CFVJ.js → chunk-VDHDTXCK.js} +2 -2
  51. package/dist/cli/{chunk-GPSVXVDZ.js → chunk-XSSIBO74.js} +8 -8
  52. package/dist/cli/{chunk-MV6HL67R.mjs → chunk-YK64LQPQ.mjs} +6 -1
  53. package/dist/cli/{chunk-RYGJWMWL.mjs → chunk-YMB2CD55.mjs} +1 -1
  54. package/dist/cli/{chunk-E2SHDT7T.mjs → chunk-YNW47NOJ.mjs} +2 -2
  55. package/dist/cli/{chunk-V2WMJXU6.mjs → chunk-YUNPYX5T.mjs} +19 -5
  56. package/dist/cli/{chunk-2KBRY5CA.mjs → chunk-ZZQIS3TH.mjs} +3 -3
  57. package/dist/cli/command-docs.js +2 -2
  58. package/dist/cli/command-docs.mjs +1 -1
  59. package/dist/cli/{csv-Q6BSRCBJ.mjs → csv-OSDYY3QW.mjs} +4 -4
  60. package/dist/cli/{csv-UE7RZDUV.js → csv-SQJQM3B2.js} +13 -13
  61. package/dist/cli/{db-FI6XXB2H.mjs → db-2M6BU6G5.mjs} +6 -6
  62. package/dist/cli/{db-T7A7EE3D.js → db-ATDYXAD5.js} +27 -27
  63. package/dist/cli/describe-37QXXDCF.js +48 -0
  64. package/dist/cli/{describe-4GGU6NU3.mjs → describe-WIAJCWF3.mjs} +17 -17
  65. package/dist/cli/describe-core.d.mts +2 -2
  66. package/dist/cli/describe-core.d.ts +2 -2
  67. package/dist/cli/{executions-S46XI7NX.mjs → executions-2J6CCJL2.mjs} +6 -6
  68. package/dist/cli/{executions-4I6F5RMS.js → executions-Y32LMYH6.js} +8 -8
  69. package/dist/cli/{feedback-3LJ7NZE7.mjs → feedback-L4AVIMGI.mjs} +4 -4
  70. package/dist/cli/{feedback-VEGUNKSP.js → feedback-RXQLS6QU.js} +8 -8
  71. package/dist/cli/git-JGUR335T.js +25 -0
  72. package/dist/cli/{git-W7SFD7AA.mjs → git-V3K77AWH.mjs} +5 -5
  73. package/dist/cli/index.js +139 -139
  74. package/dist/cli/index.mjs +41 -41
  75. package/dist/cli/{legacy-noops-3EMB5SJH.js → legacy-noops-B2KJT4CZ.js} +8 -8
  76. package/dist/cli/{legacy-noops-FIR5PSHG.mjs → legacy-noops-LOGMYOY5.mjs} +5 -5
  77. package/dist/cli/{monitors-4DKW25PV.mjs → monitors-5ETSB7S7.mjs} +7 -7
  78. package/dist/cli/{monitors-53LPJH6R.js → monitors-A5WYUCGD.js} +91 -91
  79. package/dist/cli/{org-CYLJFX4Q.js → org-7EZDWYKK.js} +72 -72
  80. package/dist/cli/{org-6ZV2DBGI.mjs → org-BJOAUSXL.mjs} +6 -6
  81. package/dist/cli/{pages-V3LEXCRL.mjs → pages-3BYGBTVK.mjs} +6 -6
  82. package/dist/cli/{pages-42E3WIMH.js → pages-45VNTEQU.js} +17 -17
  83. package/dist/cli/{play-O3OY556F.js → play-5KER3JFU.js} +334 -306
  84. package/dist/cli/{play-X7REMNNG.mjs → play-R7JQV533.mjs} +47 -19
  85. package/dist/cli/{providers-NZ7TISS3.js → providers-OHMZ6QIF.js} +9 -9
  86. package/dist/cli/{providers-L2DJVAXN.mjs → providers-RMFCE6MM.mjs} +6 -6
  87. package/dist/cli/{quickstart-IKNGAQRO.js → quickstart-GNRE4SAT.js} +6 -6
  88. package/dist/cli/{quickstart-ROWMAUXQ.mjs → quickstart-IHR4VC5K.mjs} +4 -4
  89. package/dist/cli/{run-JG6DLOYR.js → run-77QIMUUV.js} +36 -36
  90. package/dist/cli/{run-PJI577J2.mjs → run-Y4MIRFJY.mjs} +22 -22
  91. package/dist/cli/{search-DOVJ745X.mjs → search-24YKTHMK.mjs} +7 -7
  92. package/dist/cli/search-S3VO2UKV.js +32 -0
  93. package/dist/cli/{secrets-OKDFNCRJ.mjs → secrets-KHX62AWC.mjs} +6 -6
  94. package/dist/cli/{secrets-R5LWXIG6.js → secrets-SSEBT3IS.js} +15 -15
  95. package/dist/cli/{sessions-L3DSAY2T.js → sessions-E6KNWYEH.js} +6 -6
  96. package/dist/cli/{sessions-KX4C2CKS.mjs → sessions-H7T25HGE.mjs} +5 -5
  97. package/dist/cli/{settings-NKTNNTAP.js → settings-GXUYF5G7.js} +78 -78
  98. package/dist/cli/{settings-W3SMDBYS.mjs → settings-XSJG6M32.mjs} +11 -11
  99. package/dist/cli/{setup-7KFKKW2W.mjs → setup-GD7IOD4U.mjs} +9 -9
  100. package/dist/cli/{setup-5WZEXWQR.js → setup-JP5YPIA4.js} +44 -44
  101. package/dist/cli/skills-C4KTW3US.js +31 -0
  102. package/dist/cli/{skills-X5TLATOL.mjs → skills-HLHE3ENN.mjs} +7 -7
  103. package/dist/cli/tools-KS7JMRK6.js +55 -0
  104. package/dist/cli/{tools-27J5EOKO.mjs → tools-Q4XIQX7W.mjs} +16 -16
  105. package/dist/cli/{update-EWL477FJ.mjs → update-3KRMR2QJ.mjs} +9 -9
  106. package/dist/cli/update-GYTQYK2W.js +33 -0
  107. package/dist/cli/{workflow-GFNGGHJE.js → workflow-NMUESL3O.js} +17 -17
  108. package/dist/cli/{workflow-YXR6YMT2.mjs → workflow-NOZ7WFEY.mjs} +7 -7
  109. package/dist/{client-DitOgp8N.d.mts → client-C9bJ0QXu.d.mts} +1 -1
  110. package/dist/{client-DIpVmXcj.d.ts → client-CuNH54w3.d.ts} +1 -1
  111. package/dist/{client-core-k543Fg6D.d.ts → client-core-C8Q6DKga.d.ts} +11 -1
  112. package/dist/{client-core-COZteOww.d.mts → client-core-CSiXbe2n.d.mts} +11 -1
  113. package/dist/index.d.mts +3 -3
  114. package/dist/index.d.ts +3 -3
  115. package/dist/index.js +9 -9
  116. package/dist/index.mjs +6 -6
  117. package/dist/install-integrity.json +102 -102
  118. package/dist/plays/play-description.d.mts +1 -1
  119. package/dist/plays/play-description.d.ts +1 -1
  120. package/dist/plays/run-request.d.mts +1 -1
  121. package/dist/plays/run-request.d.ts +1 -1
  122. package/dist/release.d.mts +1 -1
  123. package/dist/release.d.ts +1 -1
  124. package/dist/release.js +2 -2
  125. package/dist/release.mjs +1 -1
  126. package/dist/server.d.mts +2 -2
  127. package/dist/server.d.ts +2 -2
  128. package/dist/server.js +5 -5
  129. package/dist/server.mjs +3 -3
  130. package/package.json +1 -1
  131. package/dist/cli/auth-2MMOFS3O.js +0 -41
  132. package/dist/cli/describe-UM2VGRY7.js +0 -48
  133. package/dist/cli/git-EVWKNIUA.js +0 -25
  134. package/dist/cli/search-RHKW5GSR.js +0 -32
  135. package/dist/cli/skills-UFAABPCQ.js +0 -31
  136. package/dist/cli/tools-IVU3BCIY.js +0 -55
  137. package/dist/cli/update-G7HFHKPG.js +0 -33
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkJ2NYCUTKjs = require('./chunk-J2NYCUTK.js');
3
+ var _chunk7KAS4QOWjs = require('./chunk-7KAS4QOW.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkMLQJVAVSjs = require('./chunk-MLQJVAVS.js');
7
+ var _chunk5FHU67ATjs = require('./chunk-5FHU67AT.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkJ2NYCUTKjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk7KAS4QOWjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkMLQJVAVSjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkMLQJVAVSjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunk5FHU67ATjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunk5FHU67ATjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkG6RQXAJ2js = require('./chunk-G6RQXAJ2.js');
19
+ var _chunkUKKCS6Z4js = require('./chunk-UKKCS6Z4.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkG6RQXAJ2js.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkG6RQXAJ2js.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkG6RQXAJ2js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkUKKCS6Z4js.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkUKKCS6Z4js.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkUKKCS6Z4js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-EHVVDHNU.mjs";
3
+ } from "./chunk-R73LE2IM.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-FVGT5EBA.mjs";
15
+ } from "./chunk-KQJHIVCE.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-ZMJOSD7R.mjs";
23
+ } from "./chunk-OMPW5ELS.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-3PT2HJKC.mjs";
29
+ } from "./chunk-JRZW4LWK.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-MV6HL67R.mjs";
3
+ } from "./chunk-YK64LQPQ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-FVGT5EBA.mjs";
7
+ } from "./chunk-KQJHIVCE.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -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.471",
52
+ version: "0.3.472",
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."
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkNBPNYD54js = require('./chunk-NBPNYD54.js');
7
+ var _chunkGJPRBELOjs = require('./chunk-GJPRBELO.js');
8
8
 
9
9
 
10
- var _chunkNPJY5QRCjs = require('./chunk-NPJY5QRC.js');
10
+ var _chunk3L76SFGNjs = require('./chunk-3L76SFGN.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkYRM5TPXLjs = require('./chunk-YRM5TPXL.js');
14
+ var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
15
15
 
16
16
 
17
- var _chunkMLQJVAVSjs = require('./chunk-MLQJVAVS.js');
17
+ var _chunk5FHU67ATjs = require('./chunk-5FHU67AT.js');
18
18
 
19
19
 
20
- var _chunkDK5Y5BD3js = require('./chunk-DK5Y5BD3.js');
20
+ var _chunkSYWOSAW7js = require('./chunk-SYWOSAW7.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkMLQJVAVSjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunk5FHU67ATjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkDK5Y5BD3js.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunkSYWOSAW7js.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkDK5Y5BD3js.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkDK5Y5BD3js.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunkSYWOSAW7js.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunkSYWOSAW7js.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkDK5Y5BD3js.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkSYWOSAW7js.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkNBPNYD54js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkNPJY5QRCjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkGJPRBELOjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk3L76SFGNjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkDK5Y5BD3js.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkSYWOSAW7js.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkNBPNYD54js.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkGJPRBELOjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkDK5Y5BD3js.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkSYWOSAW7js.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkNBPNYD54js.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkGJPRBELOjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkNBPNYD54js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkGJPRBELOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunkYRM5TPXLjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkH7YFUC3Jjs.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkYRM5TPXLjs.addJsonNotice.call(void 0, {
171
+ _chunkH7YFUC3Jjs.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkNBPNYD54js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkGJPRBELOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  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";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkNBPNYD54js.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkGJPRBELOjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunkYRM5TPXLjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkH7YFUC3Jjs.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-RYGJWMWL.mjs";
4
+ } from "./chunk-YMB2CD55.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-IPFUDUSY.mjs";
7
+ } from "./chunk-NZBZFEVA.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-EYKMITTY.mjs";
10
+ } from "./chunk-T5H7ETIM.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-OYHCMKZM.mjs";
13
+ } from "./chunk-4NFBYW7X.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-FVGT5EBA.mjs";
16
+ } from "./chunk-KQJHIVCE.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -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 _chunkNPJY5QRCjs = require('./chunk-NPJY5QRC.js');
3
+ var _chunk3L76SFGNjs = require('./chunk-3L76SFGN.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 = _chunkNPJY5QRCjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunk3L76SFGNjs.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,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkYRM5TPXLjs = require('./chunk-YRM5TPXL.js');
4
+ var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
5
5
 
6
6
 
7
- var _chunkDK5Y5BD3js = require('./chunk-DK5Y5BD3.js');
7
+ var _chunkSYWOSAW7js = require('./chunk-SYWOSAW7.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkDK5Y5BD3js.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkSYWOSAW7js.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkYRM5TPXLjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0,
487
+ _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0,
519
+ _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0,
569
+ _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0,
677
+ _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -26,7 +26,7 @@ import {
26
26
  RETAINED_PIPELINE_RECEIVERS_HEADER,
27
27
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
28
28
  SDK_API_MAJOR
29
- } from "./chunk-ZMJOSD7R.mjs";
29
+ } from "./chunk-OMPW5ELS.mjs";
30
30
  import {
31
31
  CustomerDbQueryOutcomeUnknownError
32
32
  } from "./chunk-4QF2K7TM.mjs";
@@ -5195,6 +5195,7 @@ var DeeplineClient = class _DeeplineClient {
5195
5195
  if (paginateInventory && !options?.grep?.trim())
5196
5196
  params.set("inventory_paginated", "1");
5197
5197
  if (options?.origin) params.set("origin", options.origin);
5198
+ if (options?.summaryOnly) params.set("summary_only", "1");
5198
5199
  if (options?.categories) {
5199
5200
  params.set(
5200
5201
  "categories",
@@ -5633,6 +5634,10 @@ var DeeplineClient = class _DeeplineClient {
5633
5634
  async getPlay(name, options) {
5634
5635
  return this.playClient.getPlay(name, options);
5635
5636
  }
5637
+ /** Estimate one Play without reading the rest of the workspace catalog. */
5638
+ async getPlayCostEstimate(name) {
5639
+ return this.http.get(`/api/v2/plays/${encodeURIComponent(name)}/cost`);
5640
+ }
5636
5641
  /** Read one trigger inventory page without loading run histories. */
5637
5642
  async listPlayTriggerInventory(options) {
5638
5643
  const params = new URLSearchParams({ view: "inventory" });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-EYKMITTY.mjs";
3
+ } from "./chunk-T5H7ETIM.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-OYHCMKZM.mjs";
4
+ } from "./chunk-4NFBYW7X.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-ZMJOSD7R.mjs";
7
+ } from "./chunk-OMPW5ELS.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -707,7 +707,7 @@ When:
707
707
  The sequence:
708
708
  search "<input you have -> result you need>" find the play
709
709
  describe <ref> required input, CSV columns, output fields
710
- plays list --show-cost per-row or per-run credit estimate
710
+ plays cost <ref> per-row or per-run credit estimate
711
711
  run <ref> --input '{"csv":"file.csv"}' --csv-out out.csv run it, save rows
712
712
  Writing a play:
713
713
  Start from code that already works, not a blank file.
@@ -848,17 +848,30 @@ Output (JSON):
848
848
  ]]
849
849
  Cost:
850
850
  Free.
851
+ `
852
+ },
853
+ "plays cost": {
854
+ core: `
855
+ Purpose:
856
+ Read the advisory cost estimate for one saved or prebuilt Play.
857
+ Input:
858
+ <play> is a bare name or qualified reference.[[cli: --json prints the exact result.]]
859
+ Output:
860
+ reference, costEstimate, and for prebuilts observedCost. Estimates include
861
+ the output unit, observed or static range, sample size and compute ceiling.
862
+ Cost:
863
+ Read-only. Uses the current workspace's pricing; does not start a run.
851
864
  `
852
865
  },
853
866
  "plays list": {
854
867
  core: `
855
868
  Purpose:
856
- Inventory of saved and prebuilt plays, one bounded page at a time.[[cli: It is
857
- the command that carries cost estimates.]][[mcp: Search returns Play summaries;
869
+ Inventory of saved and prebuilt plays, one bounded page at a time.[[cli:
870
+ Add --show-cost for estimates across the page.]][[mcp: Search returns Play summaries;
858
871
  deepline_describe_play returns input/output schemas and CSV contracts.]]
859
872
  When:
860
873
  [[cli:
861
- To price a play before running it: plays list --show-cost, then read the
874
+ To price a catalog page: plays list --show-cost, then read the
862
875
  cost estimate line for the play, or in JSON observedCost (prebuilts) or
863
876
  costEstimate.
864
877
  ]]
@@ -868,7 +881,8 @@ When:
868
881
  ]]
869
882
  [[cli:
870
883
  Input:
871
- --show-cost adds estimates. --limit and --cursor page. --categories
884
+ --show-cost adds estimates. --summary loads metadata without source or
885
+ revision payloads. --limit and --cursor page. --categories
872
886
  filters by tool category. --json prints JSON.
873
887
  ]]
874
888
  [[cli:
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-OYHCMKZM.mjs";
5
+ } from "./chunk-4NFBYW7X.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,12 +22,12 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-FVGT5EBA.mjs";
25
+ } from "./chunk-KQJHIVCE.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  detectAgentRuntime
30
- } from "./chunk-ZMJOSD7R.mjs";
30
+ } from "./chunk-OMPW5ELS.mjs";
31
31
 
32
32
  // src/cli/commands/auth.ts
33
33
  import {
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunk6DTW6JNDjs = require('./chunk-6DTW6JND.js');
9
+ var _chunk6ZTSHKJFjs = require('./chunk-6ZTSHKJF.js');
10
10
  require('./chunk-COGTRVWW.js');
11
11
 
12
12
 
@@ -16,4 +16,4 @@ require('./chunk-COGTRVWW.js');
16
16
 
17
17
 
18
18
 
19
- exports.CLI_DOC_SURFACE = _chunk6DTW6JNDjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk6DTW6JNDjs.COMMAND_DOCS; exports.commandDocKey = _chunk6DTW6JNDjs.commandDocKey; exports.helpDetailFromArgv = _chunk6DTW6JNDjs.helpDetailFromArgv; exports.renderActionExplanation = _chunk6DTW6JNDjs.renderActionExplanation; exports.renderCommandExplanation = _chunk6DTW6JNDjs.renderCommandExplanation; exports.renderDocText = _chunk6DTW6JNDjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunk6ZTSHKJFjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk6ZTSHKJFjs.COMMAND_DOCS; exports.commandDocKey = _chunk6ZTSHKJFjs.commandDocKey; exports.helpDetailFromArgv = _chunk6ZTSHKJFjs.helpDetailFromArgv; exports.renderActionExplanation = _chunk6ZTSHKJFjs.renderActionExplanation; exports.renderCommandExplanation = _chunk6ZTSHKJFjs.renderCommandExplanation; exports.renderDocText = _chunk6ZTSHKJFjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-V2WMJXU6.mjs";
9
+ } from "./chunk-YUNPYX5T.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-OYHCMKZM.mjs";
8
- import "./chunk-FVGT5EBA.mjs";
9
- import "./chunk-ZMJOSD7R.mjs";
7
+ } from "./chunk-4NFBYW7X.mjs";
8
+ import "./chunk-KQJHIVCE.mjs";
9
+ import "./chunk-OMPW5ELS.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-3PT2HJKC.mjs";
13
+ import "./chunk-JRZW4LWK.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16
 
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkYRM5TPXLjs = require('./chunk-YRM5TPXL.js');
8
- require('./chunk-MLQJVAVS.js');
9
- require('./chunk-DK5Y5BD3.js');
7
+ var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
8
+ require('./chunk-5FHU67AT.js');
9
+ require('./chunk-SYWOSAW7.js');
10
10
  require('./chunk-ALJJRZNJ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-DIAWYWT5.js');
13
- require('./chunk-G6RQXAJ2.js');
13
+ require('./chunk-UKKCS6Z4.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 : _chunkYRM5TPXLjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkH7YFUC3Jjs.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 : _chunkYRM5TPXLjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkH7YFUC3Jjs.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 = _chunkYRM5TPXLjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkH7YFUC3Jjs.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
- _chunkYRM5TPXLjs.printJson.call(void 0, {
174
+ _chunkH7YFUC3Jjs.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(_chunkYRM5TPXLjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkH7YFUC3Jjs.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
- _chunkYRM5TPXLjs.printJson.call(void 0, {
198
+ _chunkH7YFUC3Jjs.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
- ${_chunkYRM5TPXLjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkH7YFUC3Jjs.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
- _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkH7YFUC3Jjs.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
- _chunkYRM5TPXLjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkH7YFUC3Jjs.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"));
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-OVDNJAJN.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-U5RGCQWJ.mjs";
6
+ } from "./chunk-CFDQZQE2.mjs";
7
7
  import {
8
8
  planCustomerDbQuery
9
- } from "./chunk-MV6HL67R.mjs";
9
+ } from "./chunk-YK64LQPQ.mjs";
10
10
  import "./chunk-L2VKAASU.mjs";
11
11
  import "./chunk-NELMCOWK.mjs";
12
12
  import "./chunk-S3A4IXBQ.mjs";
@@ -20,9 +20,9 @@ import {
20
20
  printCommandEnvelope,
21
21
  recordRows,
22
22
  shouldEmitJson
23
- } from "./chunk-OYHCMKZM.mjs";
24
- import "./chunk-FVGT5EBA.mjs";
25
- import "./chunk-ZMJOSD7R.mjs";
23
+ } from "./chunk-4NFBYW7X.mjs";
24
+ import "./chunk-KQJHIVCE.mjs";
25
+ import "./chunk-OMPW5ELS.mjs";
26
26
  import {
27
27
  CustomerDbQueryOutcomeUnknownError
28
28
  } from "./chunk-4QF2K7TM.mjs";
@@ -30,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
30
30
  import {
31
31
  DeeplineError
32
32
  } from "./chunk-HBL4PM5Q.mjs";
33
- import "./chunk-3PT2HJKC.mjs";
33
+ import "./chunk-JRZW4LWK.mjs";
34
34
  import "./chunk-WZYKRD7T.mjs";
35
35
  import "./chunk-KRD6H754.mjs";
36
36