deepline 0.3.389 → 0.3.391

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 (124) hide show
  1. package/dist/bundling-sources/sdk/src/agent-runtime.ts +21 -16
  2. package/dist/bundling-sources/sdk/src/billing-idempotency.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/cli-invocation-id.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/client.ts +75 -52
  5. package/dist/bundling-sources/sdk/src/config.ts +3 -2
  6. package/dist/bundling-sources/sdk/src/db/query.ts +3 -3
  7. package/dist/bundling-sources/sdk/src/deployment-protection.ts +7 -5
  8. package/dist/bundling-sources/sdk/src/http.ts +31 -41
  9. package/dist/bundling-sources/sdk/src/index.ts +26 -26
  10. package/dist/bundling-sources/sdk/src/play.ts +5 -5
  11. package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +1 -1
  12. package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +2 -2
  13. package/dist/bundling-sources/sdk/src/plays/run-request.ts +2 -2
  14. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  15. package/dist/bundling-sources/sdk/src/runs/read-errors.ts +1 -1
  16. package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +1 -1
  17. package/dist/bundling-sources/sdk/src/skills-version.ts +2 -2
  18. package/dist/bundling-sources/sdk/src/tool-calls.ts +3 -3
  19. package/dist/bundling-sources/sdk/src/types.ts +10 -1
  20. package/dist/bundling-sources/sdk/src/version.ts +1 -1
  21. package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +87 -1
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +19 -11
  23. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +1 -1
  24. package/dist/cli/{auth-DEASEYUJ.mjs → auth-6QET7NFP.mjs} +4 -4
  25. package/dist/cli/auth-6ZUH42ZA.js +39 -0
  26. package/dist/cli/{billing-TUTB4H6F.mjs → billing-HAQ2VDQX.mjs} +4 -4
  27. package/dist/cli/{billing-QIWD5GYZ.js → billing-KJAGTCFR.js} +73 -73
  28. package/dist/cli/{chunk-WRLYF4DS.js → chunk-4S6X74A3.js} +2 -2
  29. package/dist/cli/{chunk-HXENYWVS.js → chunk-4TCT77UF.js} +485 -114
  30. package/dist/cli/{chunk-KWGB3RWA.js → chunk-556BMGEB.js} +235 -220
  31. package/dist/cli/{chunk-CCIEPJSX.mjs → chunk-6L4P7Z6C.mjs} +2 -2
  32. package/dist/cli/{chunk-M6BQYSV3.mjs → chunk-DRZFTRZJ.mjs} +46 -31
  33. package/dist/cli/{chunk-7IPMWJNZ.js → chunk-ED42XCOW.js} +226 -226
  34. package/dist/cli/{chunk-B6BQ6EAR.mjs → chunk-H2ER7QWR.mjs} +6 -6
  35. package/dist/cli/{chunk-HHRQYYHK.mjs → chunk-H3DCZOXR.mjs} +5 -5
  36. package/dist/cli/{chunk-63ZXA57X.mjs → chunk-HFTOOZGN.mjs} +3 -3
  37. package/dist/cli/{chunk-PPKNOVMF.mjs → chunk-I3MKXASV.mjs} +2 -2
  38. package/dist/cli/{chunk-CLOICRTK.js → chunk-I7EVBLTW.js} +6 -6
  39. package/dist/cli/{chunk-7WQGDKNO.mjs → chunk-K3ODOHOI.mjs} +34 -26
  40. package/dist/cli/{chunk-MCWGQIDV.js → chunk-KA7X75HC.js} +48 -48
  41. package/dist/cli/{chunk-NBXJJBBT.mjs → chunk-KWF4HJF7.mjs} +1 -1
  42. package/dist/cli/{chunk-CMWDXAQH.js → chunk-ME2DZAHC.js} +26 -26
  43. package/dist/cli/{chunk-Z43SUQUL.js → chunk-MHLCMJ2E.js} +99 -91
  44. package/dist/cli/{chunk-MP7FWY76.mjs → chunk-PFPP4BKS.mjs} +2 -2
  45. package/dist/cli/{chunk-HVDBGPDP.mjs → chunk-PQSA443V.mjs} +485 -114
  46. package/dist/cli/{chunk-RHAP7ZW5.mjs → chunk-QCWIORKR.mjs} +2 -2
  47. package/dist/cli/{chunk-FZXZLFNC.js → chunk-RA2SDTSX.js} +15 -15
  48. package/dist/cli/{chunk-ABLS54ZL.js → chunk-RTH26NF3.js} +61 -61
  49. package/dist/cli/{chunk-Z4ZB2CDV.mjs → chunk-TLHF54VX.mjs} +1 -1
  50. package/dist/cli/{chunk-FZZC3A7J.js → chunk-UOSKJIXE.js} +8 -8
  51. package/dist/cli/{chunk-GB3KEA34.mjs → chunk-VH4B5OYM.mjs} +1 -1
  52. package/dist/cli/{chunk-RPGSXBS3.js → chunk-WLODHQ7S.js} +1 -1
  53. package/dist/cli/{chunk-OWP6SI5W.js → chunk-XBPLTHGB.js} +8 -8
  54. package/dist/cli/{chunk-5VCRXKAU.js → chunk-XEV5LMS2.js} +50 -50
  55. package/dist/cli/{chunk-2L6BBM7Z.mjs → chunk-YBZY3EZF.mjs} +4 -4
  56. package/dist/cli/command-docs.d.mts +24 -1
  57. package/dist/cli/command-docs.d.ts +24 -1
  58. package/dist/cli/command-docs.js +8 -2
  59. package/dist/cli/command-docs.mjs +9 -3
  60. package/dist/cli/{csv-FYI4XWEA.js → csv-2WSF5TEM.js} +12 -12
  61. package/dist/cli/{csv-GQ5K6MDD.mjs → csv-V7UHOBFE.mjs} +3 -3
  62. package/dist/cli/{db-WYSI3J43.js → db-42RL4FZD.js} +29 -29
  63. package/dist/cli/{db-DYXQOAWZ.mjs → db-TD375E4N.mjs} +4 -4
  64. package/dist/cli/{describe-T25AHZEJ.js → describe-7WFCBZUY.js} +18 -18
  65. package/dist/cli/{describe-YIIUMAZF.mjs → describe-GPUKAWOZ.mjs} +8 -8
  66. package/dist/cli/{executions-3D7KAJ2C.js → executions-LGVG3FPH.js} +6 -6
  67. package/dist/cli/{executions-RYFSOPMQ.mjs → executions-M7O63JNA.mjs} +4 -4
  68. package/dist/cli/{feedback-CIZXMDMJ.mjs → feedback-6PBSKVB2.mjs} +3 -3
  69. package/dist/cli/{feedback-I7FWPC7V.js → feedback-PZZA2M4S.js} +7 -7
  70. package/dist/cli/{git-JCURDXPQ.mjs → git-2VIFM5DI.mjs} +4 -4
  71. package/dist/cli/git-ZSJD3BID.js +23 -0
  72. package/dist/cli/index.js +93 -93
  73. package/dist/cli/index.mjs +33 -33
  74. package/dist/cli/{legacy-noops-4BW4EZJG.mjs → legacy-noops-DPUBZI7N.mjs} +4 -4
  75. package/dist/cli/{legacy-noops-G6F5LNUM.js → legacy-noops-IQ6QTZNZ.js} +7 -7
  76. package/dist/cli/{monitors-43UXU5C3.js → monitors-6GWAZFYV.js} +85 -85
  77. package/dist/cli/{monitors-LTKH5IWE.mjs → monitors-KBZVQG2U.mjs} +4 -4
  78. package/dist/cli/{org-I3WHUV67.mjs → org-CP3VSJBX.mjs} +4 -4
  79. package/dist/cli/{org-7MSUEPXL.js → org-JKGTHXOZ.js} +64 -64
  80. package/dist/cli/{play-HRZXSNXV.mjs → play-DD2ME4L4.mjs} +7 -7
  81. package/dist/cli/play-G5GVMIBN.js +157 -0
  82. package/dist/cli/{providers-BY6JPMKP.mjs → providers-JUNOFKI7.mjs} +4 -4
  83. package/dist/cli/{providers-DWLWK5VX.js → providers-P34QYYG6.js} +7 -7
  84. package/dist/cli/{quickstart-E647CKUQ.mjs → quickstart-N6SWOK7E.mjs} +3 -3
  85. package/dist/cli/{quickstart-QO6GCK4U.js → quickstart-UL3DEFA4.js} +5 -5
  86. package/dist/cli/{search-3WUQBHRV.mjs → search-SC7I56HX.mjs} +5 -5
  87. package/dist/cli/search-W4GXWTOM.js +26 -0
  88. package/dist/cli/{secrets-CPNHE5XI.js → secrets-6ZJE7ZPM.js} +13 -13
  89. package/dist/cli/{secrets-WTGMFFP7.mjs → secrets-RTARNYF5.mjs} +4 -4
  90. package/dist/cli/{sessions-UFGGEDZP.js → sessions-6IZ2XHGW.js} +5 -5
  91. package/dist/cli/{sessions-6Q5E7GSY.mjs → sessions-7RKV2T3O.mjs} +4 -4
  92. package/dist/cli/{settings-QMEIKOUI.mjs → settings-V6PXA6HY.mjs} +7 -7
  93. package/dist/cli/{settings-NF5726RU.js → settings-YX3XJDXE.js} +74 -74
  94. package/dist/cli/{setup-J35MMJ7C.js → setup-CQ5VRNNU.js} +41 -41
  95. package/dist/cli/{setup-ZOQOJMJ7.mjs → setup-V2O4UJNT.mjs} +6 -6
  96. package/dist/cli/skills-LBZPJTPI.js +28 -0
  97. package/dist/cli/{skills-UFDKCSYR.mjs → skills-VHJZWEHA.mjs} +4 -4
  98. package/dist/cli/{tools-3SU3EUQT.mjs → tools-OD5WKEWY.mjs} +6 -6
  99. package/dist/cli/tools-TQNM473H.js +40 -0
  100. package/dist/cli/{update-SXYX4PMC.mjs → update-CRMNOMJ3.mjs} +6 -6
  101. package/dist/cli/update-QY6GAK6B.js +28 -0
  102. package/dist/cli/{workflow-2LINUMOP.mjs → workflow-EVDYNCDD.mjs} +5 -5
  103. package/dist/cli/{workflow-XAIEXDUI.js → workflow-XHORSD5T.js} +15 -15
  104. package/dist/{client-DEKvymBI.d.ts → client-BhK9kix9.d.ts} +19 -0
  105. package/dist/{client-0avPvYBP.d.mts → client-DpzZi4fU.d.mts} +19 -0
  106. package/dist/index.d.mts +2 -2
  107. package/dist/index.d.ts +2 -2
  108. package/dist/index.js +6 -6
  109. package/dist/index.mjs +3 -3
  110. package/dist/install-integrity.json +76 -76
  111. package/dist/plays/run-request.d.mts +1 -1
  112. package/dist/plays/run-request.d.ts +1 -1
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/package.json +1 -1
  118. package/dist/cli/auth-AOM2LA73.js +0 -39
  119. package/dist/cli/git-MVMIPHQ6.js +0 -23
  120. package/dist/cli/play-R5TYLP5L.js +0 -157
  121. package/dist/cli/search-34AC6FC7.js +0 -26
  122. package/dist/cli/skills-WGYISRE5.js +0 -28
  123. package/dist/cli/tools-Q642ZZ2M.js +0 -40
  124. package/dist/cli/update-T5MNWAQC.js +0 -28
@@ -1,14 +1,14 @@
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 _chunkKWGB3RWAjs = require('./chunk-KWGB3RWA.js');
3
+ var _chunk556BMGEBjs = require('./chunk-556BMGEB.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkCLOICRTKjs = require('./chunk-CLOICRTK.js');
7
+ var _chunkI7EVBLTWjs = require('./chunk-I7EVBLTW.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkZ43SUQULjs = require('./chunk-Z43SUQUL.js');
11
+ var _chunkMHLCMJ2Ejs = require('./chunk-MHLCMJ2E.js');
12
12
 
13
13
  // src/cli/commands/search.ts
14
14
  var _commander = require('commander');
@@ -18,7 +18,7 @@ var _fs = require('fs');
18
18
  var _path = require('path');
19
19
  var SEARCH_REF_TTL_MS = 15 * 6e4;
20
20
  function lastSearchPath() {
21
- return _path.join.call(void 0, _chunkZ43SUQULjs.sdkCliStateDirPath.call(void 0, _chunkZ43SUQULjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
21
+ return _path.join.call(void 0, _chunkMHLCMJ2Ejs.sdkCliStateDirPath.call(void 0, _chunkMHLCMJ2Ejs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
22
22
  }
23
23
  function rememberSearchRef(searchRef) {
24
24
  try {
@@ -259,7 +259,7 @@ function searchRow(item) {
259
259
  }
260
260
  function renderSearchResults(result) {
261
261
  if (result.results.length === 0)
262
- return _chunkCLOICRTKjs.renderCommandEnvelopeText.call(void 0, result);
262
+ return _chunkI7EVBLTWjs.renderCommandEnvelopeText.call(void 0, result);
263
263
  const rows = result.results.map(searchRow);
264
264
  const kinds = new Set(rows.map((row) => row.kind));
265
265
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -283,7 +283,7 @@ function renderSearchResults(result) {
283
283
  actions: _optionalChain([render, 'optionalAccess', _11 => _11.actions])
284
284
  };
285
285
  const followUps = _optionalChain([remaining, 'access', _12 => _12.sections, 'optionalAccess', _13 => _13.length]) || _optionalChain([remaining, 'access', _14 => _14.actions, 'optionalAccess', _15 => _15.length]) ? `
286
- ${_chunkCLOICRTKjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
286
+ ${_chunkI7EVBLTWjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
287
287
  const notes = rows.flatMap(
288
288
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
289
289
  );
@@ -360,7 +360,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
360
360
  console.error(USAGE);
361
361
  return 1;
362
362
  }
363
- const { search_ref: searchRef, ...result } = await new (0, _chunkKWGB3RWAjs.DeeplineClient)().search({
363
+ const { search_ref: searchRef, ...result } = await new (0, _chunk556BMGEBjs.DeeplineClient)().search({
364
364
  query,
365
365
  types,
366
366
  exclude,
@@ -374,7 +374,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
374
374
  });
375
375
  if (searchRef) rememberSearchRef(searchRef);
376
376
  pointAtDescribe(result);
377
- _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, result, {
377
+ _chunkI7EVBLTWjs.printCommandEnvelope.call(void 0, result, {
378
378
  json: options.json === true,
379
379
  text: renderSearchResults(result)
380
380
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkCLOICRTKjs = require('./chunk-CLOICRTK.js');
5
+ var _chunkI7EVBLTWjs = require('./chunk-I7EVBLTW.js');
6
6
 
7
7
 
8
8
 
@@ -25,7 +25,7 @@ var _chunkCLOICRTKjs = require('./chunk-CLOICRTK.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkZ43SUQULjs = require('./chunk-Z43SUQUL.js');
28
+ var _chunkMHLCMJ2Ejs = require('./chunk-MHLCMJ2E.js');
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
 
@@ -52,7 +52,7 @@ function statusBannerLine(value) {
52
52
  return `Service notice: ${banner.message}`;
53
53
  }
54
54
  function envFilePath(baseUrl) {
55
- return _chunkZ43SUQULjs.hostEnvFilePath.call(void 0, baseUrl);
55
+ return _chunkMHLCMJ2Ejs.hostEnvFilePath.call(void 0, baseUrl);
56
56
  }
57
57
  function normalizeAuthScope(value) {
58
58
  if (!value || value === "global") return "global";
@@ -65,7 +65,7 @@ function parseAuthScope(args) {
65
65
  }
66
66
  function pendingClaimPath(baseUrl, scope) {
67
67
  if (scope === "folder") {
68
- const target = _chunkZ43SUQULjs.resolveProjectPinTarget.call(void 0, );
68
+ const target = _chunkMHLCMJ2Ejs.resolveProjectPinTarget.call(void 0, );
69
69
  if (!target.ok) {
70
70
  throw new Error(
71
71
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -75,10 +75,10 @@ function pendingClaimPath(baseUrl, scope) {
75
75
  }
76
76
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
77
77
  }
78
- return `${_chunkZ43SUQULjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
78
+ return `${_chunkMHLCMJ2Ejs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
79
79
  }
80
80
  function legacyPendingClaimTokenPath(baseUrl) {
81
- return `${_chunkZ43SUQULjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
81
+ return `${_chunkMHLCMJ2Ejs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
82
82
  }
83
83
  function savePendingClaim(baseUrl, claim) {
84
84
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -180,21 +180,21 @@ function parseRegisterWaitMode(args) {
180
180
  function shouldWaitForRegisterClaim(mode) {
181
181
  if (mode === "yes") return true;
182
182
  if (mode === "no") return false;
183
- return _chunkZ43SUQULjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
183
+ return _chunkMHLCMJ2Ejs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
184
184
  }
185
185
  function saveEnvValues(values, baseUrl, scope) {
186
186
  const filtered = {
187
- ...values[_chunkZ43SUQULjs.HOST_URL_ENV] ? { [_chunkZ43SUQULjs.HOST_URL_ENV]: values[_chunkZ43SUQULjs.HOST_URL_ENV] } : {},
188
- ...values[_chunkZ43SUQULjs.API_KEY_ENV] ? { [_chunkZ43SUQULjs.API_KEY_ENV]: values[_chunkZ43SUQULjs.API_KEY_ENV] } : {},
189
- ...values[_chunkZ43SUQULjs.ACTIVE_ORG_ID_ENV] ? { [_chunkZ43SUQULjs.ACTIVE_ORG_ID_ENV]: values[_chunkZ43SUQULjs.ACTIVE_ORG_ID_ENV] } : {},
190
- ...Object.prototype.hasOwnProperty.call(values, _chunkZ43SUQULjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkZ43SUQULjs.ACTIVE_ORG_NAME_ENV]: values[_chunkZ43SUQULjs.ACTIVE_ORG_NAME_ENV] } : {},
187
+ ...values[_chunkMHLCMJ2Ejs.HOST_URL_ENV] ? { [_chunkMHLCMJ2Ejs.HOST_URL_ENV]: values[_chunkMHLCMJ2Ejs.HOST_URL_ENV] } : {},
188
+ ...values[_chunkMHLCMJ2Ejs.API_KEY_ENV] ? { [_chunkMHLCMJ2Ejs.API_KEY_ENV]: values[_chunkMHLCMJ2Ejs.API_KEY_ENV] } : {},
189
+ ...values[_chunkMHLCMJ2Ejs.ACTIVE_ORG_ID_ENV] ? { [_chunkMHLCMJ2Ejs.ACTIVE_ORG_ID_ENV]: values[_chunkMHLCMJ2Ejs.ACTIVE_ORG_ID_ENV] } : {},
190
+ ...Object.prototype.hasOwnProperty.call(values, _chunkMHLCMJ2Ejs.ACTIVE_ORG_NAME_ENV) ? { [_chunkMHLCMJ2Ejs.ACTIVE_ORG_NAME_ENV]: values[_chunkMHLCMJ2Ejs.ACTIVE_ORG_NAME_ENV] } : {},
191
191
  // An explicit empty list must reach the store: it clears a stale line.
192
- ...Object.prototype.hasOwnProperty.call(values, _chunkZ43SUQULjs.FEATURES_ENV) ? { [_chunkZ43SUQULjs.FEATURES_ENV]: values[_chunkZ43SUQULjs.FEATURES_ENV] } : {}
192
+ ...Object.prototype.hasOwnProperty.call(values, _chunkMHLCMJ2Ejs.FEATURES_ENV) ? { [_chunkMHLCMJ2Ejs.FEATURES_ENV]: values[_chunkMHLCMJ2Ejs.FEATURES_ENV] } : {}
193
193
  };
194
194
  if (scope === "folder") {
195
- _chunkZ43SUQULjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
195
+ _chunkMHLCMJ2Ejs.saveProjectDeeplineEnvValues.call(void 0, filtered);
196
196
  } else {
197
- _chunkZ43SUQULjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
197
+ _chunkMHLCMJ2Ejs.saveHostEnvValues.call(void 0, baseUrl, filtered);
198
198
  }
199
199
  }
200
200
  function activeOrgEnvValues(data) {
@@ -202,21 +202,21 @@ function activeOrgEnvValues(data) {
202
202
  if (!orgId) return {};
203
203
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
204
204
  return {
205
- [_chunkZ43SUQULjs.ACTIVE_ORG_ID_ENV]: orgId,
206
- [_chunkZ43SUQULjs.ACTIVE_ORG_NAME_ENV]: orgName,
207
- ..._chunkZ43SUQULjs.featureEnvValues.call(void 0, data)
205
+ [_chunkMHLCMJ2Ejs.ACTIVE_ORG_ID_ENV]: orgId,
206
+ [_chunkMHLCMJ2Ejs.ACTIVE_ORG_NAME_ENV]: orgName,
207
+ ..._chunkMHLCMJ2Ejs.featureEnvValues.call(void 0, data)
208
208
  };
209
209
  }
210
210
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
211
211
  const headers = {
212
212
  "Content-Type": "application/json",
213
- "User-Agent": `deepline-ts-sdk/${_chunkZ43SUQULjs.SDK_VERSION}`,
213
+ "User-Agent": `deepline-ts-sdk/${_chunkMHLCMJ2Ejs.SDK_VERSION}`,
214
214
  "X-Deepline-Client-Family": "sdk",
215
215
  "X-Deepline-CLI-Family": "sdk",
216
- "X-Deepline-Agent-Runtime": _chunkZ43SUQULjs.detectAgentRuntime.call(void 0, ),
217
- "X-Deepline-CLI-Version": _chunkZ43SUQULjs.SDK_VERSION,
218
- "X-Deepline-SDK-Version": _chunkZ43SUQULjs.SDK_VERSION,
219
- "X-Deepline-API-Contract": _chunkZ43SUQULjs.SDK_API_CONTRACT
216
+ "X-Deepline-Agent-Runtime": _chunkMHLCMJ2Ejs.detectAgentRuntime.call(void 0, ),
217
+ "X-Deepline-CLI-Version": _chunkMHLCMJ2Ejs.SDK_VERSION,
218
+ "X-Deepline-SDK-Version": _chunkMHLCMJ2Ejs.SDK_VERSION,
219
+ "X-Deepline-API-Contract": _chunkMHLCMJ2Ejs.SDK_API_CONTRACT
220
220
  };
221
221
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
222
222
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -262,7 +262,7 @@ async function readStatusBanner(baseUrl) {
262
262
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
263
263
  }
264
264
  async function reportSetupCompleted(input) {
265
- const apiKey = input.authScope === "folder" ? _chunkZ43SUQULjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkZ43SUQULjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
265
+ const apiKey = input.authScope === "folder" ? _chunkMHLCMJ2Ejs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkMHLCMJ2Ejs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
266
266
  if (!apiKey) return;
267
267
  try {
268
268
  await httpJson(
@@ -359,7 +359,7 @@ async function printClaimSuccessBanner(baseUrl, apiKey, statusData) {
359
359
  }
360
360
  }
361
361
  async function handleRegister(args) {
362
- const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
362
+ const baseUrl = _chunkMHLCMJ2Ejs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
363
363
  let orgName = "";
364
364
  let orgId = "";
365
365
  let agentName = "";
@@ -414,19 +414,19 @@ async function handleRegister(args) {
414
414
  });
415
415
  saveEnvValues(
416
416
  {
417
- [_chunkZ43SUQULjs.HOST_URL_ENV]: baseUrl
417
+ [_chunkMHLCMJ2Ejs.HOST_URL_ENV]: baseUrl
418
418
  },
419
419
  baseUrl,
420
420
  authScope
421
421
  );
422
422
  }
423
423
  if (claimUrl) {
424
- const shouldOpen = waitMode !== "no" && _chunkZ43SUQULjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
424
+ const shouldOpen = waitMode !== "no" && _chunkMHLCMJ2Ejs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
425
425
  console.log(
426
426
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
427
427
  );
428
428
  console.log(` ${claimUrl}`);
429
- if (shouldOpen) _chunkCLOICRTKjs.openInBrowser.call(void 0, claimUrl);
429
+ if (shouldOpen) _chunkI7EVBLTWjs.openInBrowser.call(void 0, claimUrl);
430
430
  }
431
431
  if (data.cli_message) {
432
432
  console.log(String(data.cli_message));
@@ -469,8 +469,8 @@ async function handleRegister(args) {
469
469
  if (apiKey) {
470
470
  saveEnvValues(
471
471
  {
472
- [_chunkZ43SUQULjs.HOST_URL_ENV]: baseUrl,
473
- [_chunkZ43SUQULjs.API_KEY_ENV]: apiKey,
472
+ [_chunkMHLCMJ2Ejs.HOST_URL_ENV]: baseUrl,
473
+ [_chunkMHLCMJ2Ejs.API_KEY_ENV]: apiKey,
474
474
  ...activeOrgEnvValues(statusData)
475
475
  },
476
476
  baseUrl,
@@ -492,7 +492,7 @@ async function handleRegister(args) {
492
492
  }
493
493
  }
494
494
  async function handleWait(args) {
495
- const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
495
+ const baseUrl = _chunkMHLCMJ2Ejs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
496
496
  let timeoutSeconds = 300;
497
497
  let requestedScope;
498
498
  if (args.includes("--auth-scope")) {
@@ -516,7 +516,7 @@ async function handleWait(args) {
516
516
  const authScope = resumed.scope;
517
517
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _12 => _12.claimToken]), () => ( ""));
518
518
  if (!pendingClaim) {
519
- const scopedApiKey = authScope === "folder" ? _chunkZ43SUQULjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkZ43SUQULjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
519
+ const scopedApiKey = authScope === "folder" ? _chunkMHLCMJ2Ejs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkMHLCMJ2Ejs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
520
520
  if (scopedApiKey) {
521
521
  console.log("Already connected.");
522
522
  return EXIT_OK;
@@ -559,8 +559,8 @@ async function handleWait(args) {
559
559
  if (apiKey) {
560
560
  saveEnvValues(
561
561
  {
562
- [_chunkZ43SUQULjs.HOST_URL_ENV]: baseUrl,
563
- [_chunkZ43SUQULjs.API_KEY_ENV]: apiKey,
562
+ [_chunkMHLCMJ2Ejs.HOST_URL_ENV]: baseUrl,
563
+ [_chunkMHLCMJ2Ejs.API_KEY_ENV]: apiKey,
564
564
  ...activeOrgEnvValues(data)
565
565
  },
566
566
  baseUrl,
@@ -584,8 +584,8 @@ async function handleWait(args) {
584
584
  return EXIT_AUTH;
585
585
  }
586
586
  async function authStatusLine(timeoutMs = 3e3) {
587
- const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
588
- const apiKey = _chunkZ43SUQULjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
587
+ const baseUrl = _chunkMHLCMJ2Ejs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
588
+ const apiKey = _chunkMHLCMJ2Ejs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
589
589
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
590
590
  try {
591
591
  const { status, data } = await httpJson(
@@ -608,9 +608,9 @@ async function authStatusLine(timeoutMs = 3e3) {
608
608
  }
609
609
  }
610
610
  async function handleStatus(args) {
611
- const baseUrl = _chunkZ43SUQULjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
611
+ const baseUrl = _chunkMHLCMJ2Ejs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
612
612
  const reveal = args.includes("--reveal");
613
- const jsonOutput = _chunkCLOICRTKjs.argsWantJson.call(void 0, args);
613
+ const jsonOutput = _chunkI7EVBLTWjs.argsWantJson.call(void 0, args);
614
614
  const hasExplicitAuthScope = args.includes("--auth-scope");
615
615
  let authScope = null;
616
616
  if (hasExplicitAuthScope) {
@@ -651,14 +651,14 @@ async function handleStatus(args) {
651
651
  };
652
652
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
653
653
  }
654
- const apiKey = authScope === "folder" ? _chunkZ43SUQULjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkZ43SUQULjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkZ43SUQULjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
654
+ const apiKey = authScope === "folder" ? _chunkMHLCMJ2Ejs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkMHLCMJ2Ejs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkMHLCMJ2Ejs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
655
655
  if (!apiKey) {
656
656
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
657
657
  baseUrl,
658
658
  _nullishCoalesce(authScope, () => ( void 0))
659
659
  );
660
660
  if (pendingClaim) {
661
- _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
661
+ _chunkI7EVBLTWjs.printCommandEnvelope.call(void 0,
662
662
  {
663
663
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
664
664
  status: "pending",
@@ -679,7 +679,7 @@ async function handleStatus(args) {
679
679
  );
680
680
  return EXIT_OK;
681
681
  }
682
- _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
682
+ _chunkI7EVBLTWjs.printCommandEnvelope.call(void 0,
683
683
  {
684
684
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
685
685
  status: "not connected",
@@ -712,7 +712,7 @@ async function handleStatus(args) {
712
712
  }
713
713
  );
714
714
  if (status === 401 || status === 403) {
715
- _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
715
+ _chunkI7EVBLTWjs.printCommandEnvelope.call(void 0,
716
716
  {
717
717
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
718
718
  status: "unauthorized",
@@ -739,7 +739,7 @@ async function handleStatus(args) {
739
739
  console.error(`Auth status error (status ${status}).`);
740
740
  return EXIT_SERVER;
741
741
  }
742
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkZ43SUQULjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
742
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkMHLCMJ2Ejs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
743
743
  clearSatisfiedPendingClaim(
744
744
  baseUrl,
745
745
  resolvedAuthScope,
@@ -767,28 +767,28 @@ async function handleStatus(args) {
767
767
  if (apiKeyResp) {
768
768
  saveEnvValues(
769
769
  {
770
- [_chunkZ43SUQULjs.HOST_URL_ENV]: baseUrl,
771
- [_chunkZ43SUQULjs.API_KEY_ENV]: apiKeyResp,
770
+ [_chunkMHLCMJ2Ejs.HOST_URL_ENV]: baseUrl,
771
+ [_chunkMHLCMJ2Ejs.API_KEY_ENV]: apiKeyResp,
772
772
  ...activeOrgEnvValues(data)
773
773
  },
774
774
  baseUrl,
775
775
  resolvedAuthScope
776
776
  );
777
777
  if (resolvedAuthScope === "folder") {
778
- const target = _chunkZ43SUQULjs.resolveProjectPinTarget.call(void 0, );
778
+ const target = _chunkMHLCMJ2Ejs.resolveProjectPinTarget.call(void 0, );
779
779
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
780
780
  } else {
781
781
  savedApiKeyPath = envFilePath(baseUrl);
782
782
  }
783
783
  }
784
- } else if (resolvedAuthScope === "folder" || _chunkZ43SUQULjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
785
- saveEnvValues(_chunkZ43SUQULjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
784
+ } else if (resolvedAuthScope === "folder" || _chunkMHLCMJ2Ejs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
785
+ saveEnvValues(_chunkMHLCMJ2Ejs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
786
786
  }
787
- _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
787
+ _chunkI7EVBLTWjs.printCommandEnvelope.call(void 0,
788
788
  {
789
789
  ...payload,
790
- ..._chunkZ43SUQULjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
791
- command_context: _chunkZ43SUQULjs.resolveCliCommandContext.call(void 0,
790
+ ..._chunkMHLCMJ2Ejs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
791
+ command_context: _chunkMHLCMJ2Ejs.resolveCliCommandContext.call(void 0,
792
792
  { baseUrl, apiKey },
793
793
  resolvedAuthScope
794
794
  )
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-Z4ZB2CDV.mjs";
4
+ } from "./chunk-TLHF54VX.mjs";
5
5
  import {
6
6
  resolveShellSpawn,
7
7
  runSkillsCommand
8
- } from "./chunk-CCIEPJSX.mjs";
8
+ } from "./chunk-6L4P7Z6C.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-GB3KEA34.mjs";
11
+ } from "./chunk-VH4B5OYM.mjs";
12
12
  import {
13
13
  autoDetectBaseUrl
14
- } from "./chunk-7WQGDKNO.mjs";
14
+ } from "./chunk-K3ODOHOI.mjs";
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  import { spawn, spawnSync } from "child_process";
@@ -46,5 +46,28 @@ declare function renderCommandExplanation(key: string, detail: HelpDetail, optio
46
46
  pointer?: boolean;
47
47
  firstRead?: boolean;
48
48
  }): string;
49
+ /**
50
+ * Help text is written once for every surface that offers the actions. Two
51
+ * markers say where a surface differs:
52
+ *
53
+ * [[runs get <run-id> --full]] a reference to a command and its arguments,
54
+ * as the CLI writes it; each surface renders it
55
+ * [[cli:text]], [[mcp:text]] text that exists on that surface only, such
56
+ * as how the CLI takes flags or prints output.
57
+ * On lines of its own, the marker spans whole
58
+ * lines: "[[cli:" opens and "]]" closes them.
59
+ *
60
+ * The CLI renders a reference as written, so its help reads exactly as the
61
+ * text without markers.
62
+ */
63
+ type DocSurface = {
64
+ name: 'cli' | 'mcp';
65
+ reference: (reference: string) => string;
66
+ };
67
+ declare const CLI_DOC_SURFACE: DocSurface;
68
+ /** Doc text as one surface reads it. */
69
+ declare function renderDocText(text: string, surface: DocSurface): string;
70
+ /** One command's explanation for one surface; '' when it has no entry. */
71
+ declare function renderActionExplanation(key: string, detail: Exclude<HelpDetail, 'quiet'>, surface: DocSurface): string;
49
72
 
50
- export { COMMAND_DOCS, type CommandDoc, type HelpDetail, commandDocKey, helpDetailFromArgv, renderCommandExplanation };
73
+ export { CLI_DOC_SURFACE, COMMAND_DOCS, type CommandDoc, type DocSurface, type HelpDetail, commandDocKey, helpDetailFromArgv, renderActionExplanation, renderCommandExplanation, renderDocText };
@@ -46,5 +46,28 @@ declare function renderCommandExplanation(key: string, detail: HelpDetail, optio
46
46
  pointer?: boolean;
47
47
  firstRead?: boolean;
48
48
  }): string;
49
+ /**
50
+ * Help text is written once for every surface that offers the actions. Two
51
+ * markers say where a surface differs:
52
+ *
53
+ * [[runs get <run-id> --full]] a reference to a command and its arguments,
54
+ * as the CLI writes it; each surface renders it
55
+ * [[cli:text]], [[mcp:text]] text that exists on that surface only, such
56
+ * as how the CLI takes flags or prints output.
57
+ * On lines of its own, the marker spans whole
58
+ * lines: "[[cli:" opens and "]]" closes them.
59
+ *
60
+ * The CLI renders a reference as written, so its help reads exactly as the
61
+ * text without markers.
62
+ */
63
+ type DocSurface = {
64
+ name: 'cli' | 'mcp';
65
+ reference: (reference: string) => string;
66
+ };
67
+ declare const CLI_DOC_SURFACE: DocSurface;
68
+ /** Doc text as one surface reads it. */
69
+ declare function renderDocText(text: string, surface: DocSurface): string;
70
+ /** One command's explanation for one surface; '' when it has no entry. */
71
+ declare function renderActionExplanation(key: string, detail: Exclude<HelpDetail, 'quiet'>, surface: DocSurface): string;
49
72
 
50
- export { COMMAND_DOCS, type CommandDoc, type HelpDetail, commandDocKey, helpDetailFromArgv, renderCommandExplanation };
73
+ export { CLI_DOC_SURFACE, COMMAND_DOCS, type CommandDoc, type DocSurface, type HelpDetail, commandDocKey, helpDetailFromArgv, renderActionExplanation, renderCommandExplanation, renderDocText };
@@ -3,11 +3,17 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkHXENYWVSjs = require('./chunk-HXENYWVS.js');
6
+
7
+
8
+
9
+ var _chunk4TCT77UFjs = require('./chunk-4TCT77UF.js');
7
10
  require('./chunk-COGTRVWW.js');
8
11
 
9
12
 
10
13
 
11
14
 
12
15
 
13
- exports.COMMAND_DOCS = _chunkHXENYWVSjs.COMMAND_DOCS; exports.commandDocKey = _chunkHXENYWVSjs.commandDocKey; exports.helpDetailFromArgv = _chunkHXENYWVSjs.helpDetailFromArgv; exports.renderCommandExplanation = _chunkHXENYWVSjs.renderCommandExplanation;
16
+
17
+
18
+
19
+ exports.CLI_DOC_SURFACE = _chunk4TCT77UFjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk4TCT77UFjs.COMMAND_DOCS; exports.commandDocKey = _chunk4TCT77UFjs.commandDocKey; exports.helpDetailFromArgv = _chunk4TCT77UFjs.helpDetailFromArgv; exports.renderActionExplanation = _chunk4TCT77UFjs.renderActionExplanation; exports.renderCommandExplanation = _chunk4TCT77UFjs.renderCommandExplanation; exports.renderDocText = _chunk4TCT77UFjs.renderDocText;
@@ -1,13 +1,19 @@
1
1
  import {
2
+ CLI_DOC_SURFACE,
2
3
  COMMAND_DOCS,
3
4
  commandDocKey,
4
5
  helpDetailFromArgv,
5
- renderCommandExplanation
6
- } from "./chunk-HVDBGPDP.mjs";
6
+ renderActionExplanation,
7
+ renderCommandExplanation,
8
+ renderDocText
9
+ } from "./chunk-PQSA443V.mjs";
7
10
  import "./chunk-KRD6H754.mjs";
8
11
  export {
12
+ CLI_DOC_SURFACE,
9
13
  COMMAND_DOCS,
10
14
  commandDocKey,
11
15
  helpDetailFromArgv,
12
- renderCommandExplanation
16
+ renderActionExplanation,
17
+ renderCommandExplanation,
18
+ renderDocText
13
19
  };
@@ -4,11 +4,11 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkCLOICRTKjs = require('./chunk-CLOICRTK.js');
8
- require('./chunk-Z43SUQUL.js');
7
+ var _chunkI7EVBLTWjs = require('./chunk-I7EVBLTW.js');
8
+ require('./chunk-MHLCMJ2E.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
10
  require('./chunk-7P5AA3SN.js');
11
- require('./chunk-RPGSXBS3.js');
11
+ require('./chunk-WLODHQ7S.js');
12
12
  require('./chunk-OG64RBAC.js');
13
13
  require('./chunk-COGTRVWW.js');
14
14
 
@@ -126,7 +126,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
126
126
  column.length,
127
127
  ...rows.map((row) => {
128
128
  const value = _nullishCoalesce(row[column], () => ( ""));
129
- return (verbose ? value : _chunkCLOICRTKjs.clip.call(void 0, value, 42)).length;
129
+ return (verbose ? value : _chunkI7EVBLTWjs.clip.call(void 0, value, 42)).length;
130
130
  })
131
131
  )
132
132
  ])
@@ -136,7 +136,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
136
136
  const body = rows.map(
137
137
  (row) => columns.map((column) => {
138
138
  const raw = _nullishCoalesce(row[column], () => ( ""));
139
- const display = verbose ? raw : _chunkCLOICRTKjs.clip.call(void 0, raw, 42);
139
+ const display = verbose ? raw : _chunkI7EVBLTWjs.clip.call(void 0, raw, 42);
140
140
  return display.padEnd(widths[column]);
141
141
  }).join(" | ")
142
142
  );
@@ -156,7 +156,7 @@ async function handleCsvShow(path, options, command) {
156
156
  { exitCode: 2 }
157
157
  );
158
158
  }
159
- const allRows = _chunkCLOICRTKjs.readCsvRows.call(void 0, csvPath);
159
+ const allRows = _chunkI7EVBLTWjs.readCsvRows.call(void 0, csvPath);
160
160
  const [rowStart, rowEnd] = parseRowRange(options.rows);
161
161
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
162
162
  const { rows: selected, columns } = selectColumns(
@@ -169,7 +169,7 @@ async function handleCsvShow(path, options, command) {
169
169
  if (options.summary) {
170
170
  const summaries = summarizeColumns(selected, columns);
171
171
  if (format === "json") {
172
- _chunkCLOICRTKjs.printJson.call(void 0, {
172
+ _chunkI7EVBLTWjs.printJson.call(void 0, {
173
173
  rows: summaries,
174
174
  total_rows: selected.length,
175
175
  source_total_rows: allRows.length
@@ -178,7 +178,7 @@ async function handleCsvShow(path, options, command) {
178
178
  }
179
179
  const displayRows = summaryDisplayRows(summaries);
180
180
  if (format === "csv") {
181
- process.stdout.write(_chunkCLOICRTKjs.csvStringFromRows.call(void 0, displayRows));
181
+ process.stdout.write(_chunkI7EVBLTWjs.csvStringFromRows.call(void 0, displayRows));
182
182
  return;
183
183
  }
184
184
  process.stdout.write(
@@ -193,7 +193,7 @@ async function handleCsvShow(path, options, command) {
193
193
  return;
194
194
  }
195
195
  if (format === "json") {
196
- _chunkCLOICRTKjs.printJson.call(void 0, {
196
+ _chunkI7EVBLTWjs.printJson.call(void 0, {
197
197
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
198
198
  });
199
199
  return;
@@ -436,7 +436,7 @@ async function handleCsvRenderStart(options) {
436
436
  if (log) {
437
437
  detail = `
438
438
  CSV render log:
439
- ${_chunkCLOICRTKjs.clip.call(void 0, log, 2e3)}`;
439
+ ${_chunkI7EVBLTWjs.clip.call(void 0, log, 2e3)}`;
440
440
  }
441
441
  } catch (e7) {
442
442
  }
@@ -487,7 +487,7 @@ async function handleCsvRenderStatus(options) {
487
487
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
488
488
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
489
489
  lines.push(`Render Health: ${payload.health_status}`);
490
- _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, payload, {
490
+ _chunkI7EVBLTWjs.printCommandEnvelope.call(void 0, payload, {
491
491
  json: options.json,
492
492
  text: `${lines.join("\n")}
493
493
  `
@@ -523,7 +523,7 @@ async function handleCsvRenderStop(options) {
523
523
  };
524
524
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
525
525
  ` : "No running CSV render process found.\n";
526
- _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
526
+ _chunkI7EVBLTWjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
527
  }
528
528
  async function handleCsvRender(action, options) {
529
529
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,11 +4,11 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-GB3KEA34.mjs";
8
- import "./chunk-7WQGDKNO.mjs";
7
+ } from "./chunk-VH4B5OYM.mjs";
8
+ import "./chunk-K3ODOHOI.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
10
  import "./chunk-NXGCO4JB.mjs";
11
- import "./chunk-NBXJJBBT.mjs";
11
+ import "./chunk-KWF4HJF7.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
14
14