deepline 0.3.508 → 0.3.510

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +7 -2
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/db-session-plan.ts +47 -6
  5. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +94 -43
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +111 -27
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/runtime-topology.ts +79 -6
  8. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +80 -6
  9. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-transient-retry.ts +571 -0
  10. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -0
  11. package/dist/cli/auth-S2Z5YMU3.js +43 -0
  12. package/dist/cli/{auth-2URIN52G.mjs → auth-USS2W3UV.mjs} +5 -5
  13. package/dist/cli/{billing-IW23GSR5.mjs → billing-JCUWM5XB.mjs} +7 -7
  14. package/dist/cli/{billing-R2HY2ZVJ.js → billing-LQQHU443.js} +82 -82
  15. package/dist/cli/{chunk-7PELFO3C.js → chunk-2JXEZAJF.js} +21 -21
  16. package/dist/cli/chunk-3LXU22UZ.js +77 -0
  17. package/dist/cli/{chunk-74UO7THC.js → chunk-4NJK6P5T.js} +4 -4
  18. package/dist/cli/{chunk-FXKKFM7J.js → chunk-4ZIIS6KG.js} +9 -9
  19. package/dist/cli/{chunk-63MCLOR2.mjs → chunk-563HM4D2.mjs} +6 -6
  20. package/dist/cli/{chunk-XSOLA2ED.mjs → chunk-5DU7RXDW.mjs} +4 -4
  21. package/dist/cli/{chunk-OWH7SSBO.mjs → chunk-5MYXW6M6.mjs} +2 -2
  22. package/dist/cli/{chunk-3BZ74K27.js → chunk-5N2HFB3G.js} +16 -16
  23. package/dist/cli/{chunk-2YOM5J3G.js → chunk-63DHG7BM.js} +26 -26
  24. package/dist/cli/{chunk-P7GOQTUN.js → chunk-6AL2VF3E.js} +14 -14
  25. package/dist/cli/{chunk-QBZECLNG.mjs → chunk-7BF4R26M.mjs} +3 -3
  26. package/dist/cli/{chunk-JRHMPZJX.js → chunk-7VQKU6MS.js} +7 -7
  27. package/dist/cli/{chunk-3C6VBHNW.mjs → chunk-7VT7RMZ2.mjs} +2 -2
  28. package/dist/cli/{chunk-M37I4A2Z.js → chunk-ASBWPRBN.js} +16 -16
  29. package/dist/cli/{chunk-3ZNPIJX6.js → chunk-B2T7PBS6.js} +41 -41
  30. package/dist/cli/{chunk-NC2FIUPX.mjs → chunk-B2U3LVSO.mjs} +1 -1
  31. package/dist/cli/{chunk-RNZQ7RDW.mjs → chunk-B6Q6BHSY.mjs} +2 -2
  32. package/dist/cli/{chunk-IZZ7FFWP.js → chunk-BPGFNVH2.js} +44 -44
  33. package/dist/cli/{chunk-2PYFXXYA.mjs → chunk-CLV4T5FN.mjs} +2 -2
  34. package/dist/cli/{chunk-JEB6BNIU.mjs → chunk-DEPBCRKG.mjs} +15 -4
  35. package/dist/cli/{chunk-DZ7JCRAL.mjs → chunk-DMF56C6D.mjs} +2 -2
  36. package/dist/cli/{chunk-RWXHMG6F.js → chunk-EEQ2QQOH.js} +21 -10
  37. package/dist/cli/{chunk-UDH3YMBI.mjs → chunk-EJ57CA2L.mjs} +1 -1
  38. package/dist/cli/{chunk-JYNHHO3J.js → chunk-F6IXWFPF.js} +6 -6
  39. package/dist/cli/{chunk-DWV7KM6H.mjs → chunk-FFPLCSTZ.mjs} +10 -10
  40. package/dist/cli/{chunk-VXNL4HLE.mjs → chunk-FND6GZZ4.mjs} +5 -5
  41. package/dist/cli/{chunk-D73YB5NQ.js → chunk-HC27PYJM.js} +2 -2
  42. package/dist/cli/{chunk-FRT5MFLF.mjs → chunk-HOKOJGQW.mjs} +1 -1
  43. package/dist/cli/{chunk-AYNO4VFW.js → chunk-JNECQ5QF.js} +11 -11
  44. package/dist/cli/chunk-JVEU6MXD.mjs +77 -0
  45. package/dist/cli/{chunk-ZLIAUR2E.js → chunk-JY73USD7.js} +2 -2
  46. package/dist/cli/{chunk-K4RME7AV.mjs → chunk-KXSOZYCS.mjs} +1 -1
  47. package/dist/cli/{chunk-ESVK4Z7S.js → chunk-LF3FF2B2.js} +1 -1
  48. package/dist/cli/{chunk-63BGKU3A.js → chunk-N7FV7OM3.js} +96 -96
  49. package/dist/cli/{chunk-Q4I5YKN4.mjs → chunk-OEG6VCK4.mjs} +1 -1
  50. package/dist/cli/{chunk-2LY42EZJ.mjs → chunk-PQ56GE55.mjs} +1 -1
  51. package/dist/cli/{chunk-GRGZKXLL.mjs → chunk-Q5EJO4TE.mjs} +5 -5
  52. package/dist/cli/{chunk-N5HRBS4K.js → chunk-QRQBKLOM.js} +3 -3
  53. package/dist/cli/{chunk-4DAR2GYV.mjs → chunk-RHKFNEV2.mjs} +2 -2
  54. package/dist/cli/{chunk-C6TP4DR3.mjs → chunk-UV524JZ5.mjs} +1 -1
  55. package/dist/cli/{chunk-KSQO32L5.mjs → chunk-V6DLYRSO.mjs} +1 -1
  56. package/dist/cli/{chunk-J3LJ37WD.js → chunk-VPJSQMWQ.js} +3 -3
  57. package/dist/cli/{chunk-3XBI4KZM.mjs → chunk-WAOLTP6R.mjs} +2 -2
  58. package/dist/cli/{chunk-JXYVBF5L.mjs → chunk-WC5754QJ.mjs} +5 -5
  59. package/dist/cli/{chunk-RUD77W2Y.js → chunk-XJZU7KO4.js} +5 -5
  60. package/dist/cli/{chunk-GDHLL5EQ.js → chunk-XK3AJFYQ.js} +35 -10
  61. package/dist/cli/{chunk-JUYW6TSU.js → chunk-XL4FFVWL.js} +7 -7
  62. package/dist/cli/{chunk-ZL2ME3UT.js → chunk-XRLE2FPE.js} +6 -6
  63. package/dist/cli/{chunk-R4S2AK3Q.js → chunk-YDALHHUC.js} +53 -53
  64. package/dist/cli/{chunk-IF242BIJ.mjs → chunk-YYUVOUEH.mjs} +5 -5
  65. package/dist/cli/{chunk-TVADI7K5.js → chunk-ZCYV6MZH.js} +5 -5
  66. package/dist/cli/{chunk-AFSYNOG4.mjs → chunk-ZRACZKEE.mjs} +35 -10
  67. package/dist/cli/command-docs.js +2 -2
  68. package/dist/cli/command-docs.mjs +1 -1
  69. package/dist/cli/{csv-CMJSMC2I.mjs → csv-MTFVEDPU.mjs} +4 -4
  70. package/dist/cli/{csv-DPDO6BU6.js → csv-UXFQZLZM.js} +13 -13
  71. package/dist/cli/{db-SL3EFN6V.mjs → db-3WPUYCCI.mjs} +6 -6
  72. package/dist/cli/{db-PPPKNTT5.js → db-RGWT6B7K.js} +27 -27
  73. package/dist/cli/describe-LNCLA2LA.js +50 -0
  74. package/dist/cli/{describe-XLN33FJX.mjs → describe-XJY5654F.mjs} +18 -18
  75. package/dist/cli/{executions-6YDTV2J6.js → executions-IWTALFNB.js} +8 -8
  76. package/dist/cli/{executions-O6Z5B5NY.mjs → executions-PDE4V5YH.mjs} +6 -6
  77. package/dist/cli/{feedback-DP7LPWAD.mjs → feedback-BMOVTPC4.mjs} +11 -7
  78. package/dist/cli/{feedback-BZ434BN4.js → feedback-I72P4XZS.js} +15 -11
  79. package/dist/cli/{git-MI7E5WGL.mjs → git-QJG3EF4P.mjs} +5 -5
  80. package/dist/cli/git-QWH7SPGF.js +25 -0
  81. package/dist/cli/index.js +173 -156
  82. package/dist/cli/index.mjs +76 -59
  83. package/dist/cli/{legacy-noops-65WNPQVZ.js → legacy-noops-5P75CQC7.js} +9 -8
  84. package/dist/cli/{legacy-noops-6VYXF2MG.mjs → legacy-noops-MZ45GDMK.mjs} +6 -5
  85. package/dist/cli/{monitors-BYUCTVSC.js → monitors-5PHQZDZM.js} +100 -100
  86. package/dist/cli/{monitors-Y7I5ZVCN.mjs → monitors-VIOBUG2X.mjs} +7 -7
  87. package/dist/cli/{org-F2ASWTFY.js → org-B5LDVP2P.js} +72 -72
  88. package/dist/cli/{org-IW3YD6JZ.mjs → org-D5RTFJNY.mjs} +6 -6
  89. package/dist/cli/{pages-X6HLRQNV.js → pages-BUJYG3JL.js} +18 -18
  90. package/dist/cli/{pages-H2CXNIDB.mjs → pages-XWZL3YV2.mjs} +6 -6
  91. package/dist/cli/{play-LLEEDXRX.mjs → play-OSXLGCLZ.mjs} +93 -54
  92. package/dist/cli/{play-H2EM7DTI.js → play-SEC3EE7H.js} +468 -429
  93. package/dist/cli/{providers-BZR5JONN.mjs → providers-ENSURIW6.mjs} +6 -6
  94. package/dist/cli/{providers-6R2SPOEV.js → providers-RQPUASLI.js} +9 -9
  95. package/dist/cli/{quickstart-KVES7R6D.mjs → quickstart-HJTK6XWI.mjs} +4 -4
  96. package/dist/cli/{quickstart-PW7ONQUH.js → quickstart-XDTU4MAT.js} +6 -6
  97. package/dist/cli/{run-HVUQROBE.js → run-GX2SU5AT.js} +41 -41
  98. package/dist/cli/{run-RDI3Q6GO.mjs → run-ZMWSQAR2.mjs} +23 -23
  99. package/dist/cli/search-7WPABWYO.js +33 -0
  100. package/dist/cli/{search-3TJ24CUF.mjs → search-DZHZBHWT.mjs} +8 -8
  101. package/dist/cli/{search-output-JHT553SL.js → search-output-3JVZERNV.js} +6 -6
  102. package/dist/cli/{search-output-Y57OBQXX.mjs → search-output-MNHAR754.mjs} +4 -4
  103. package/dist/cli/{secrets-OZK7GRD5.mjs → secrets-VALVNVXB.mjs} +6 -6
  104. package/dist/cli/{secrets-U5JHWAXU.js → secrets-WO2LMDQ2.js} +15 -15
  105. package/dist/cli/sessions-2IA2DGWO.js +18 -0
  106. package/dist/cli/{sessions-D6DSEQ2T.mjs → sessions-EPYCH3AY.mjs} +6 -5
  107. package/dist/cli/{settings-DLPEHYGS.js → settings-OSF4O5HM.js} +109 -82
  108. package/dist/cli/{settings-ITLSLT2R.mjs → settings-W2ABZUD4.mjs} +39 -12
  109. package/dist/cli/{setup-Y5ZYEC6U.js → setup-DCXNQG6R.js} +50 -50
  110. package/dist/cli/{setup-XTYLF2CF.mjs → setup-XI2ERSMQ.mjs} +10 -10
  111. package/dist/cli/skills-QMD2WARJ.js +37 -0
  112. package/dist/cli/{skills-C4WCAVII.mjs → skills-ZO4AH2YR.mjs} +8 -8
  113. package/dist/cli/tools-53E6GBQU.js +57 -0
  114. package/dist/cli/{tools-ZESAPVOW.mjs → tools-FTECXZYA.mjs} +17 -17
  115. package/dist/cli/update-PPPNR6J5.js +35 -0
  116. package/dist/cli/{update-4PCKVDCS.mjs → update-WPFZO2JE.mjs} +10 -10
  117. package/dist/cli/{workflow-42CL4TVR.mjs → workflow-7X75IP3D.mjs} +7 -7
  118. package/dist/cli/{workflow-XXKXMPTI.js → workflow-PKMU33LV.js} +17 -17
  119. package/dist/index.js +9 -9
  120. package/dist/index.mjs +6 -6
  121. package/dist/install-integrity.json +105 -102
  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.js +5 -5
  127. package/dist/server.mjs +3 -3
  128. package/package.json +1 -1
  129. package/dist/cli/auth-LFU77QDI.js +0 -43
  130. package/dist/cli/describe-JKZ67X3E.js +0 -50
  131. package/dist/cli/git-U5N6CTML.js +0 -25
  132. package/dist/cli/search-NKEEGLY6.js +0 -33
  133. package/dist/cli/sessions-PNMYAJNB.js +0 -17
  134. package/dist/cli/skills-K6FVG3BX.js +0 -37
  135. package/dist/cli/tools-LSALTN7I.js +0 -57
  136. package/dist/cli/update-P5KGNFNL.js +0 -35
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
5
+ var _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
6
6
 
7
7
 
8
8
 
@@ -22,14 +22,14 @@ var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkJ3LJ37WDjs = require('./chunk-J3LJ37WD.js');
25
+ var _chunkVPJSQMWQjs = require('./chunk-VPJSQMWQ.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunk74UO7THCjs = require('./chunk-74UO7THC.js');
32
+ var _chunk4NJK6P5Tjs = require('./chunk-4NJK6P5T.js');
33
33
 
34
34
 
35
35
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -60,7 +60,7 @@ function statusBannerLine(value) {
60
60
  return `Service notice: ${banner.message}`;
61
61
  }
62
62
  function envFilePath(baseUrl) {
63
- return _chunkJ3LJ37WDjs.hostEnvFilePath.call(void 0, baseUrl);
63
+ return _chunkVPJSQMWQjs.hostEnvFilePath.call(void 0, baseUrl);
64
64
  }
65
65
  function normalizeAuthScope(value) {
66
66
  if (!value || value === "global") return "global";
@@ -73,7 +73,7 @@ function parseAuthScope(args) {
73
73
  }
74
74
  function pendingClaimPath(baseUrl, scope) {
75
75
  if (scope === "folder") {
76
- const target = _chunkJ3LJ37WDjs.resolveProjectPinTarget.call(void 0, );
76
+ const target = _chunkVPJSQMWQjs.resolveProjectPinTarget.call(void 0, );
77
77
  if (!target.ok) {
78
78
  throw new Error(
79
79
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -83,10 +83,10 @@ function pendingClaimPath(baseUrl, scope) {
83
83
  }
84
84
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
85
85
  }
86
- return `${_chunkJ3LJ37WDjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
86
+ return `${_chunkVPJSQMWQjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
87
87
  }
88
88
  function legacyPendingClaimTokenPath(baseUrl) {
89
- return `${_chunkJ3LJ37WDjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
89
+ return `${_chunkVPJSQMWQjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
90
90
  }
91
91
  function savePendingClaim(baseUrl, claim) {
92
92
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -190,21 +190,21 @@ function parseRegisterWaitMode(args) {
190
190
  function shouldWaitForRegisterClaim(mode) {
191
191
  if (mode === "yes") return true;
192
192
  if (mode === "no") return false;
193
- return _chunk74UO7THCjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
193
+ return _chunk4NJK6P5Tjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
194
194
  }
195
195
  function saveEnvValues(values, baseUrl, scope) {
196
196
  const filtered = {
197
- ...values[_chunkJ3LJ37WDjs.HOST_URL_ENV] ? { [_chunkJ3LJ37WDjs.HOST_URL_ENV]: values[_chunkJ3LJ37WDjs.HOST_URL_ENV] } : {},
198
- ...values[_chunkJ3LJ37WDjs.API_KEY_ENV] ? { [_chunkJ3LJ37WDjs.API_KEY_ENV]: values[_chunkJ3LJ37WDjs.API_KEY_ENV] } : {},
199
- ...values[_chunkJ3LJ37WDjs.ACTIVE_ORG_ID_ENV] ? { [_chunkJ3LJ37WDjs.ACTIVE_ORG_ID_ENV]: values[_chunkJ3LJ37WDjs.ACTIVE_ORG_ID_ENV] } : {},
200
- ...Object.prototype.hasOwnProperty.call(values, _chunkJ3LJ37WDjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkJ3LJ37WDjs.ACTIVE_ORG_NAME_ENV]: values[_chunkJ3LJ37WDjs.ACTIVE_ORG_NAME_ENV] } : {},
197
+ ...values[_chunkVPJSQMWQjs.HOST_URL_ENV] ? { [_chunkVPJSQMWQjs.HOST_URL_ENV]: values[_chunkVPJSQMWQjs.HOST_URL_ENV] } : {},
198
+ ...values[_chunkVPJSQMWQjs.API_KEY_ENV] ? { [_chunkVPJSQMWQjs.API_KEY_ENV]: values[_chunkVPJSQMWQjs.API_KEY_ENV] } : {},
199
+ ...values[_chunkVPJSQMWQjs.ACTIVE_ORG_ID_ENV] ? { [_chunkVPJSQMWQjs.ACTIVE_ORG_ID_ENV]: values[_chunkVPJSQMWQjs.ACTIVE_ORG_ID_ENV] } : {},
200
+ ...Object.prototype.hasOwnProperty.call(values, _chunkVPJSQMWQjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkVPJSQMWQjs.ACTIVE_ORG_NAME_ENV]: values[_chunkVPJSQMWQjs.ACTIVE_ORG_NAME_ENV] } : {},
201
201
  // An explicit empty list must reach the store: it clears a stale line.
202
- ...Object.prototype.hasOwnProperty.call(values, _chunkJ3LJ37WDjs.FEATURES_ENV) ? { [_chunkJ3LJ37WDjs.FEATURES_ENV]: values[_chunkJ3LJ37WDjs.FEATURES_ENV] } : {}
202
+ ...Object.prototype.hasOwnProperty.call(values, _chunkVPJSQMWQjs.FEATURES_ENV) ? { [_chunkVPJSQMWQjs.FEATURES_ENV]: values[_chunkVPJSQMWQjs.FEATURES_ENV] } : {}
203
203
  };
204
204
  if (scope === "folder") {
205
- _chunkJ3LJ37WDjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
205
+ _chunkVPJSQMWQjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
206
206
  } else {
207
- _chunkJ3LJ37WDjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
207
+ _chunkVPJSQMWQjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
208
208
  }
209
209
  }
210
210
  function activeOrgEnvValues(data) {
@@ -212,21 +212,21 @@ function activeOrgEnvValues(data) {
212
212
  if (!orgId) return {};
213
213
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
214
214
  return {
215
- [_chunkJ3LJ37WDjs.ACTIVE_ORG_ID_ENV]: orgId,
216
- [_chunkJ3LJ37WDjs.ACTIVE_ORG_NAME_ENV]: orgName,
217
- ..._chunkJ3LJ37WDjs.featureEnvValues.call(void 0, data)
215
+ [_chunkVPJSQMWQjs.ACTIVE_ORG_ID_ENV]: orgId,
216
+ [_chunkVPJSQMWQjs.ACTIVE_ORG_NAME_ENV]: orgName,
217
+ ..._chunkVPJSQMWQjs.featureEnvValues.call(void 0, data)
218
218
  };
219
219
  }
220
220
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
221
221
  const headers = {
222
222
  "Content-Type": "application/json",
223
- "User-Agent": `deepline-ts-sdk/${_chunk74UO7THCjs.SDK_VERSION}`,
223
+ "User-Agent": `deepline-ts-sdk/${_chunk4NJK6P5Tjs.SDK_VERSION}`,
224
224
  "X-Deepline-Client-Family": "sdk",
225
225
  "X-Deepline-CLI-Family": "sdk",
226
- "X-Deepline-Agent-Runtime": _chunk74UO7THCjs.detectAgentRuntime.call(void 0, ),
227
- "X-Deepline-CLI-Version": _chunk74UO7THCjs.SDK_VERSION,
228
- "X-Deepline-SDK-Version": _chunk74UO7THCjs.SDK_VERSION,
229
- "X-Deepline-API-Contract": _chunk74UO7THCjs.SDK_API_CONTRACT
226
+ "X-Deepline-Agent-Runtime": _chunk4NJK6P5Tjs.detectAgentRuntime.call(void 0, ),
227
+ "X-Deepline-CLI-Version": _chunk4NJK6P5Tjs.SDK_VERSION,
228
+ "X-Deepline-SDK-Version": _chunk4NJK6P5Tjs.SDK_VERSION,
229
+ "X-Deepline-API-Contract": _chunk4NJK6P5Tjs.SDK_API_CONTRACT
230
230
  };
231
231
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
232
232
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -265,10 +265,10 @@ async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT
265
265
  if (failure.name === "AbortError" || failure.name === "TimeoutError") {
266
266
  throw failure;
267
267
  }
268
- const causeCode = _chunk74UO7THCjs.networkCauseCode.call(void 0, failure);
268
+ const causeCode = _chunk4NJK6P5Tjs.networkCauseCode.call(void 0, failure);
269
269
  throw Object.assign(
270
270
  new (0, _chunkDIAWYWT5js.DeeplineError)(
271
- _chunk74UO7THCjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
271
+ _chunk4NJK6P5Tjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
272
272
  void 0,
273
273
  "NETWORK_ERROR",
274
274
  causeCode ? { causeCode } : void 0
@@ -285,7 +285,7 @@ async function readStatusBanner(baseUrl) {
285
285
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
286
286
  }
287
287
  async function reportSetupCompleted(input) {
288
- const apiKey = input.authScope === "folder" ? _chunkJ3LJ37WDjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkJ3LJ37WDjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
288
+ const apiKey = input.authScope === "folder" ? _chunkVPJSQMWQjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkVPJSQMWQjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
289
289
  if (!apiKey) return;
290
290
  try {
291
291
  await httpJson(
@@ -414,7 +414,7 @@ function endClaimPollOnRefusal(status, data, baseUrl, authScope) {
414
414
  return EXIT_SERVER;
415
415
  }
416
416
  async function handleRegister(args, options) {
417
- const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
417
+ const baseUrl = _chunkVPJSQMWQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
418
418
  let orgName = "";
419
419
  let orgId = "";
420
420
  let agentName = "";
@@ -473,19 +473,19 @@ async function handleRegister(args, options) {
473
473
  savePendingClaim(baseUrl, pendingClaim);
474
474
  saveEnvValues(
475
475
  {
476
- [_chunkJ3LJ37WDjs.HOST_URL_ENV]: baseUrl
476
+ [_chunkVPJSQMWQjs.HOST_URL_ENV]: baseUrl
477
477
  },
478
478
  baseUrl,
479
479
  authScope
480
480
  );
481
481
  }
482
482
  if (claimUrl) {
483
- const shouldOpen = waitMode !== "no" && _chunk74UO7THCjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
483
+ const shouldOpen = waitMode !== "no" && _chunk4NJK6P5Tjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
484
484
  console.log(
485
485
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
486
486
  );
487
487
  console.log(` ${claimUrl}`);
488
- if (shouldOpen) _chunkJUYW6TSUjs.openInBrowser.call(void 0, claimUrl);
488
+ if (shouldOpen) _chunkXL4FFVWLjs.openInBrowser.call(void 0, claimUrl);
489
489
  if (claimToken && pendingClaim.approvalLinkReporting && !_optionalChain([options, 'optionalAccess', _16 => _16.deferApprovalLinkReport])) {
490
490
  await reportApprovalLinkShown(
491
491
  baseUrl,
@@ -534,8 +534,8 @@ async function handleRegister(args, options) {
534
534
  if (apiKey) {
535
535
  saveEnvValues(
536
536
  {
537
- [_chunkJ3LJ37WDjs.HOST_URL_ENV]: baseUrl,
538
- [_chunkJ3LJ37WDjs.API_KEY_ENV]: apiKey,
537
+ [_chunkVPJSQMWQjs.HOST_URL_ENV]: baseUrl,
538
+ [_chunkVPJSQMWQjs.API_KEY_ENV]: apiKey,
539
539
  ...activeOrgEnvValues(statusData)
540
540
  },
541
541
  baseUrl,
@@ -557,7 +557,7 @@ async function handleRegister(args, options) {
557
557
  }
558
558
  }
559
559
  async function handleWait(args) {
560
- const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
560
+ const baseUrl = _chunkVPJSQMWQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
561
  let timeoutSeconds = 300;
562
562
  let requestedScope;
563
563
  if (args.includes("--auth-scope")) {
@@ -581,7 +581,7 @@ async function handleWait(args) {
581
581
  const authScope = resumed.scope;
582
582
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _17 => _17.claimToken]), () => ( ""));
583
583
  if (!pendingClaim) {
584
- const scopedApiKey = authScope === "folder" ? _chunkJ3LJ37WDjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkJ3LJ37WDjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
584
+ const scopedApiKey = authScope === "folder" ? _chunkVPJSQMWQjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkVPJSQMWQjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
585
585
  if (scopedApiKey) {
586
586
  console.log("Already connected.");
587
587
  return EXIT_OK;
@@ -623,8 +623,8 @@ async function handleWait(args) {
623
623
  if (apiKey) {
624
624
  saveEnvValues(
625
625
  {
626
- [_chunkJ3LJ37WDjs.HOST_URL_ENV]: baseUrl,
627
- [_chunkJ3LJ37WDjs.API_KEY_ENV]: apiKey,
626
+ [_chunkVPJSQMWQjs.HOST_URL_ENV]: baseUrl,
627
+ [_chunkVPJSQMWQjs.API_KEY_ENV]: apiKey,
628
628
  ...activeOrgEnvValues(data)
629
629
  },
630
630
  baseUrl,
@@ -648,8 +648,8 @@ async function handleWait(args) {
648
648
  return EXIT_AUTH;
649
649
  }
650
650
  async function authStatusLine(timeoutMs = 3e3) {
651
- const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
- const apiKey = _chunkJ3LJ37WDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
651
+ const baseUrl = _chunkVPJSQMWQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
+ const apiKey = _chunkVPJSQMWQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
653
653
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
654
654
  try {
655
655
  const { status, data } = await httpJson(
@@ -672,9 +672,9 @@ async function authStatusLine(timeoutMs = 3e3) {
672
672
  }
673
673
  }
674
674
  async function handleStatus(args) {
675
- const baseUrl = _chunkJ3LJ37WDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
675
+ const baseUrl = _chunkVPJSQMWQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
676
676
  const reveal = args.includes("--reveal");
677
- const jsonOutput = _chunkJUYW6TSUjs.argsWantJson.call(void 0, args);
677
+ const jsonOutput = _chunkXL4FFVWLjs.argsWantJson.call(void 0, args);
678
678
  const hasExplicitAuthScope = args.includes("--auth-scope");
679
679
  let authScope = null;
680
680
  if (hasExplicitAuthScope) {
@@ -715,14 +715,14 @@ async function handleStatus(args) {
715
715
  };
716
716
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
717
717
  }
718
- const apiKey = authScope === "folder" ? _chunkJ3LJ37WDjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkJ3LJ37WDjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkJ3LJ37WDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
718
+ const apiKey = authScope === "folder" ? _chunkVPJSQMWQjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkVPJSQMWQjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkVPJSQMWQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
719
719
  if (!apiKey) {
720
720
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
721
721
  baseUrl,
722
722
  _nullishCoalesce(authScope, () => ( void 0))
723
723
  );
724
724
  if (pendingClaim) {
725
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
725
+ _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
726
726
  {
727
727
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
728
728
  status: "pending",
@@ -743,7 +743,7 @@ async function handleStatus(args) {
743
743
  );
744
744
  return EXIT_OK;
745
745
  }
746
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
746
+ _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
747
747
  {
748
748
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
749
749
  status: "not connected",
@@ -776,7 +776,7 @@ async function handleStatus(args) {
776
776
  }
777
777
  );
778
778
  if (status === 401 || status === 403) {
779
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
779
+ _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
780
780
  {
781
781
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
782
782
  status: "unauthorized",
@@ -803,7 +803,7 @@ async function handleStatus(args) {
803
803
  console.error(`Auth status error (status ${status}).`);
804
804
  return EXIT_SERVER;
805
805
  }
806
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkJ3LJ37WDjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
806
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkVPJSQMWQjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
807
807
  clearSatisfiedPendingClaim(
808
808
  baseUrl,
809
809
  resolvedAuthScope,
@@ -831,28 +831,28 @@ async function handleStatus(args) {
831
831
  if (apiKeyResp) {
832
832
  saveEnvValues(
833
833
  {
834
- [_chunkJ3LJ37WDjs.HOST_URL_ENV]: baseUrl,
835
- [_chunkJ3LJ37WDjs.API_KEY_ENV]: apiKeyResp,
834
+ [_chunkVPJSQMWQjs.HOST_URL_ENV]: baseUrl,
835
+ [_chunkVPJSQMWQjs.API_KEY_ENV]: apiKeyResp,
836
836
  ...activeOrgEnvValues(data)
837
837
  },
838
838
  baseUrl,
839
839
  resolvedAuthScope
840
840
  );
841
841
  if (resolvedAuthScope === "folder") {
842
- const target = _chunkJ3LJ37WDjs.resolveProjectPinTarget.call(void 0, );
842
+ const target = _chunkVPJSQMWQjs.resolveProjectPinTarget.call(void 0, );
843
843
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
844
844
  } else {
845
845
  savedApiKeyPath = envFilePath(baseUrl);
846
846
  }
847
847
  }
848
- } else if (resolvedAuthScope === "folder" || _chunkJ3LJ37WDjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
- saveEnvValues(_chunkJ3LJ37WDjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
848
+ } else if (resolvedAuthScope === "folder" || _chunkVPJSQMWQjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
+ saveEnvValues(_chunkVPJSQMWQjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
850
850
  }
851
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
851
+ _chunkXL4FFVWLjs.printCommandEnvelope.call(void 0,
852
852
  {
853
853
  ...payload,
854
- ..._chunk74UO7THCjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
- command_context: _chunkJ3LJ37WDjs.resolveCliCommandContext.call(void 0,
854
+ ..._chunk4NJK6P5Tjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
+ command_context: _chunkVPJSQMWQjs.resolveCliCommandContext.call(void 0,
856
856
  { baseUrl, apiKey },
857
857
  resolvedAuthScope
858
858
  )
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-VXNL4HLE.mjs";
7
+ } from "./chunk-FND6GZZ4.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-GRGZKXLL.mjs";
10
+ } from "./chunk-Q5EJO4TE.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-DZ7JCRAL.mjs";
14
+ } from "./chunk-DMF56C6D.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-FRT5MFLF.mjs";
17
+ } from "./chunk-HOKOJGQW.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-2LY42EZJ.mjs";
20
+ } from "./chunk-PQ56GE55.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -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 _chunkJRHMPZJXjs = require('./chunk-JRHMPZJX.js');
3
+ var _chunk7VQKU6MSjs = require('./chunk-7VQKU6MS.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJ3LJ37WDjs = require('./chunk-J3LJ37WD.js');
7
+ var _chunkVPJSQMWQjs = require('./chunk-VPJSQMWQ.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkJRHMPZJXjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk7VQKU6MSjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkJ3LJ37WDjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkJ3LJ37WDjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkVPJSQMWQjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkVPJSQMWQjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1150,6 +1150,9 @@ Input:
1150
1150
  --input @input.json read the object from a file
1151
1151
  --key value any unknown flag becomes input.key
1152
1152
  --columns.<field> <header> maps a CSV header to a required field.
1153
+ A CSV input takes a local path (relative, ./, or absolute such as
1154
+ C:\\data\\leads.csv) or an https:// URL. The CLI uploads a local file before
1155
+ the run starts; an unreadable local path fails and no run is created.
1153
1156
  --no-wait returns the run id immediately instead of waiting.
1154
1157
  --run-id-file <path> writes the run id as soon as the server accepts it.
1155
1158
  --from-run <run-id> starts a new run with that run's retained input and
@@ -1932,10 +1935,11 @@ Purpose:
1932
1935
  Upload an agent session transcript, or a file, to Deepline so the team can
1933
1936
  see how a task went.
1934
1937
  When:
1935
- Only after the user agrees. Ask once, at the end of the task and in its own
1936
- message. After a user-requested feedback report, offer it alongside. When
1937
- the upload succeeds, tell the user: "Session sent to Deepline. Rating:
1938
- <rating>".
1938
+ Send only with the user's approval and pass [[--requested]]. If the feedback
1939
+ setting is off, send only when the user explicitly requests a session upload
1940
+ without being prompted. Otherwise, ask once in its own message at the end
1941
+ of the task or alongside a user-requested feedback report. When the upload
1942
+ succeeds, tell the user: "Session sent to Deepline. Rating: <rating>".
1939
1943
  [[cli:
1940
1944
  Input:
1941
1945
  --current-session (the calling agent's session, else the newest one started
@@ -1946,7 +1950,8 @@ Input:
1946
1950
  user's goal was met without product problems; poor when it was missed, or
1947
1951
  a product failure, bug, or avoidable friction (including a substantial
1948
1952
  workaround) got in the way; neutral when partly met or unclear. A session
1949
- that produced a feedback report is usually poor or neutral. --json.
1953
+ that produced a feedback report is usually poor or neutral. --requested is
1954
+ required when the feedback setting is ask or off. --json.
1950
1955
  ]]
1951
1956
  Output (JSON):
1952
1957
  A confirmation envelope with uploaded and session_ids; the text form names
@@ -1959,6 +1964,21 @@ Avoid:
1959
1964
  ~/mnt/.claude/projects: when no session files are found and that directory
1960
1965
  exists, link it to ~/.claude/projects and retry, or pass the newest
1961
1966
  transcript there with [[--file]].
1967
+ `
1968
+ },
1969
+ "settings feedback": {
1970
+ core: `
1971
+ Purpose:
1972
+ Show the local feedback preference. The default is ask, which requires
1973
+ --requested to send feedback or a session.
1974
+ Input:
1975
+ Run deepline settings feedback ask to require approval,
1976
+ deepline settings feedback on to allow sending without --requested, or
1977
+ deepline settings feedback off to send only when the user explicitly requests
1978
+ it without being prompted. Agents must get user approval before turning
1979
+ feedback on.
1980
+ Cost:
1981
+ Free.
1962
1982
  `
1963
1983
  },
1964
1984
  "feedback send": {
@@ -1967,10 +1987,14 @@ Purpose:
1967
1987
  Send a bug report or product feedback to the Deepline team. The calling
1968
1988
  agent's session id is attached, so a report can be matched to a transcript.
1969
1989
  When:
1970
- The user asks to report something: confirm the text with them first, pass
1971
- [[--requested]], and offer to share the session with [[sessions send]].
1972
- Unasked, when you see friction Deepline could act on, unless the user
1973
- restricts external reporting: a play far slower than its input size,
1990
+ Confirm the report text with the user before sending with [[--requested]].
1991
+ When the feedback setting is off, send only if the user explicitly requests
1992
+ it without being prompted. In ask mode (the default), ask the user if they
1993
+ want to send the report and offer to share the session with [[sessions send]]
1994
+ if they agree.
1995
+ When the setting is on, send unasked only for friction Deepline could act on
1996
+ and only if the user allows external reporting. Examples include
1997
+ a play far slower than its input size,
1974
1998
  earlier comparable runs, or visible progress would suggest, or one that
1975
1999
  looks stuck; or an ordinary result that took avoidable discovery,
1976
2000
  conversion, id extraction, retries, exports, or a manual workaround. Send
@@ -1983,7 +2007,8 @@ Input:
1983
2007
  that reproduced it>" and --payload <json or text> attach a repro.
1984
2008
  --error-outcome terminal when an error stopped the task, continued when
1985
2009
  work went on, including through a workaround; omit it when no error
1986
- occurred. --requested only when the user asked for the report. --json.
2010
+ occurred. Pass --requested when the user requested or approved the report.
2011
+ --json.
1987
2012
  Put the evidence in the text. A slow run: the goal, the play and run id,
1988
2013
  input size, observed duration, status changes or polling count, and what
1989
2014
  you expected. Extra steps: the goal, the command path you took, the
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkGDHLL5EQjs = require('./chunk-GDHLL5EQ.js');
10
+ var _chunkXK3AJFYQjs = require('./chunk-XK3AJFYQ.js');
11
11
  require('./chunk-R7J7CJPZ.js');
12
12
  require('./chunk-YGCKMI5P.js');
13
13
  require('./chunk-COGTRVWW.js');
@@ -20,4 +20,4 @@ require('./chunk-COGTRVWW.js');
20
20
 
21
21
 
22
22
 
23
- exports.CLI_DOC_SURFACE = _chunkGDHLL5EQjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkGDHLL5EQjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkGDHLL5EQjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkGDHLL5EQjs.commandDocKey; exports.helpDetailFromArgv = _chunkGDHLL5EQjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkGDHLL5EQjs.renderActionExplanation; exports.renderCommandExplanation = _chunkGDHLL5EQjs.renderCommandExplanation; exports.renderDocText = _chunkGDHLL5EQjs.renderDocText;
23
+ exports.CLI_DOC_SURFACE = _chunkXK3AJFYQjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkXK3AJFYQjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkXK3AJFYQjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkXK3AJFYQjs.commandDocKey; exports.helpDetailFromArgv = _chunkXK3AJFYQjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkXK3AJFYQjs.renderActionExplanation; exports.renderCommandExplanation = _chunkXK3AJFYQjs.renderCommandExplanation; exports.renderDocText = _chunkXK3AJFYQjs.renderDocText;
@@ -7,7 +7,7 @@ import {
7
7
  renderActionExplanation,
8
8
  renderCommandExplanation,
9
9
  renderDocText
10
- } from "./chunk-AFSYNOG4.mjs";
10
+ } from "./chunk-ZRACZKEE.mjs";
11
11
  import "./chunk-5LUF4LAR.mjs";
12
12
  import "./chunk-7I4B6V2S.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-DZ7JCRAL.mjs";
8
- import "./chunk-FRT5MFLF.mjs";
9
- import "./chunk-2LY42EZJ.mjs";
7
+ } from "./chunk-DMF56C6D.mjs";
8
+ import "./chunk-HOKOJGQW.mjs";
9
+ import "./chunk-PQ56GE55.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-KSQO32L5.mjs";
13
+ import "./chunk-V6DLYRSO.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 _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
8
- require('./chunk-J3LJ37WD.js');
9
- require('./chunk-74UO7THC.js');
7
+ var _chunkXL4FFVWLjs = require('./chunk-XL4FFVWL.js');
8
+ require('./chunk-VPJSQMWQ.js');
9
+ require('./chunk-4NJK6P5T.js');
10
10
  require('./chunk-ALJJRZNJ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-DIAWYWT5.js');
13
- require('./chunk-ESVK4Z7S.js');
13
+ require('./chunk-LF3FF2B2.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 : _chunkJUYW6TSUjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkXL4FFVWLjs.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 : _chunkJUYW6TSUjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkXL4FFVWLjs.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 = _chunkJUYW6TSUjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkXL4FFVWLjs.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
- _chunkJUYW6TSUjs.printJson.call(void 0, {
174
+ _chunkXL4FFVWLjs.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(_chunkJUYW6TSUjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkXL4FFVWLjs.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
- _chunkJUYW6TSUjs.printJson.call(void 0, {
198
+ _chunkXL4FFVWLjs.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
- ${_chunkJUYW6TSUjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkXL4FFVWLjs.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkXL4FFVWLjs.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkXL4FFVWLjs.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-OWH7SSBO.mjs";
6
+ } from "./chunk-5MYXW6M6.mjs";
7
7
  import {
8
8
  planCustomerDbQuery
9
- } from "./chunk-Q4I5YKN4.mjs";
9
+ } from "./chunk-OEG6VCK4.mjs";
10
10
  import "./chunk-L2VKAASU.mjs";
11
11
  import "./chunk-N4TR6QRI.mjs";
12
12
  import "./chunk-S3A4IXBQ.mjs";
@@ -20,9 +20,9 @@ import {
20
20
  printCommandEnvelope,
21
21
  recordRows,
22
22
  shouldEmitJson
23
- } from "./chunk-DZ7JCRAL.mjs";
24
- import "./chunk-FRT5MFLF.mjs";
25
- import "./chunk-2LY42EZJ.mjs";
23
+ } from "./chunk-DMF56C6D.mjs";
24
+ import "./chunk-HOKOJGQW.mjs";
25
+ import "./chunk-PQ56GE55.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-KSQO32L5.mjs";
33
+ import "./chunk-V6DLYRSO.mjs";
34
34
  import "./chunk-WZYKRD7T.mjs";
35
35
  import "./chunk-KRD6H754.mjs";
36
36