deepline 0.3.493 → 0.3.494

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 (155) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +2 -2
  2. package/dist/bundling-sources/sdk/src/types.ts +5 -4
  3. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +15 -0
  4. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +101 -3
  5. package/dist/cli/{auth-3NAY3AST.mjs → auth-6X5YXMFN.mjs} +5 -5
  6. package/dist/cli/auth-RWLCLMDY.js +43 -0
  7. package/dist/cli/{billing-FSB4BBBO.js → billing-5F5PZB77.js} +79 -79
  8. package/dist/cli/{billing-SBWQCC7B.mjs → billing-IN74SDSC.mjs} +6 -6
  9. package/dist/cli/{chunk-3RGWTKK3.mjs → chunk-2GEYN3H4.mjs} +89 -3
  10. package/dist/cli/{chunk-MLEUOTEQ.js → chunk-3KVFOKPR.js} +53 -53
  11. package/dist/cli/{chunk-IOBPR2VO.js → chunk-4A5WXQJK.js} +16 -16
  12. package/dist/cli/{chunk-NALJJTPS.mjs → chunk-4RWH4LRQ.mjs} +5 -5
  13. package/dist/cli/{chunk-UCMY2SO2.js → chunk-4ZKZS43N.js} +3 -3
  14. package/dist/cli/{chunk-IJOHWGPF.js → chunk-5WYH2LAP.js} +6 -6
  15. package/dist/cli/{chunk-2BRTYIAH.mjs → chunk-65NMOP4T.mjs} +3 -3
  16. package/dist/cli/{chunk-VFHIYWMC.mjs → chunk-6DMLWM7L.mjs} +2 -2
  17. package/dist/cli/{chunk-3QGUWB6E.mjs → chunk-6XZR2642.mjs} +8 -7
  18. package/dist/cli/{chunk-XQX476QK.js → chunk-7B7A36XZ.js} +9 -9
  19. package/dist/cli/{chunk-DWJ4RXSA.js → chunk-AARXOBVD.js} +1 -0
  20. package/dist/cli/{chunk-ZVW7EWTC.mjs → chunk-BLHQRETG.mjs} +184 -184
  21. package/dist/cli/{chunk-NPZBE64X.js → chunk-BLMB4N63.js} +89 -3
  22. package/dist/cli/{chunk-LGTZYI5B.js → chunk-BNI653WN.js} +21 -21
  23. package/dist/cli/{chunk-2H4OFVR5.js → chunk-BU5Y7HOD.js} +5 -5
  24. package/dist/cli/{chunk-KGDDQMI7.mjs → chunk-C5R3UH5V.mjs} +28 -1
  25. package/dist/cli/{chunk-NPNAEPY4.js → chunk-CAWOSHEC.js} +26 -26
  26. package/dist/cli/{chunk-HTUSTPP4.js → chunk-CK5MA6S6.js} +7 -7
  27. package/dist/cli/{chunk-EBAS3UT2.mjs → chunk-DKKAJ3U2.mjs} +5 -5
  28. package/dist/cli/{chunk-4IJFQV3O.mjs → chunk-EG3OSUBO.mjs} +1 -1
  29. package/dist/cli/{chunk-TNQOR6XQ.mjs → chunk-FAT6CUZK.mjs} +1 -1
  30. package/dist/cli/{chunk-TIFRRLZT.js → chunk-GBICEYUA.js} +6 -6
  31. package/dist/cli/{chunk-XLE7KXE7.js → chunk-GDNQXLBM.js} +2 -2
  32. package/dist/cli/{chunk-AWMCZAUR.js → chunk-GLDBMKTV.js} +3 -3
  33. package/dist/cli/{chunk-GSC35TPZ.mjs → chunk-GNSGDIA4.mjs} +2 -2
  34. package/dist/cli/{chunk-7HABWOMB.js → chunk-GSCCDGGT.js} +259 -259
  35. package/dist/cli/{chunk-IRDYBMA7.mjs → chunk-H46X7YDU.mjs} +1 -0
  36. package/dist/cli/{chunk-NWIDPT7H.js → chunk-HINVMRGQ.js} +4 -4
  37. package/dist/cli/{chunk-C2MRDPA5.js → chunk-I42EOZKQ.js} +32 -5
  38. package/dist/cli/{chunk-HLM2UFQ5.mjs → chunk-IPWYDANJ.mjs} +1 -1
  39. package/dist/cli/{chunk-5DIZ2G74.mjs → chunk-IZJSX3SZ.mjs} +2 -2
  40. package/dist/cli/{chunk-WTFI7BVH.mjs → chunk-J2HOVZOE.mjs} +1 -1
  41. package/dist/cli/{chunk-IOMEJKGK.js → chunk-J3UHNUWI.js} +2 -2
  42. package/dist/cli/{chunk-4NIGNT7X.mjs → chunk-KR2XEI5T.mjs} +1 -1
  43. package/dist/cli/{chunk-5WOPBX3H.mjs → chunk-KSHAFYYG.mjs} +1 -1
  44. package/dist/cli/{chunk-DYP27IWC.mjs → chunk-KVCQL6SP.mjs} +4 -4
  45. package/dist/cli/{chunk-SXD2EYAH.mjs → chunk-L2P2XRPO.mjs} +37 -5
  46. package/dist/cli/{chunk-67ZG7XZV.mjs → chunk-L4QPBQUX.mjs} +2 -2
  47. package/dist/cli/{chunk-QTPS5RLG.js → chunk-L6KA4ENU.js} +45 -13
  48. package/dist/cli/{chunk-ZQH4TXM2.mjs → chunk-L6L57RSG.mjs} +2 -2
  49. package/dist/cli/{chunk-Y3NN2UAF.mjs → chunk-MWZNMWR2.mjs} +2 -2
  50. package/dist/cli/{chunk-2IHGVAGT.mjs → chunk-ODWTFVE4.mjs} +2 -2
  51. package/dist/cli/{chunk-KKSKYZO4.mjs → chunk-QOEI42IU.mjs} +2 -2
  52. package/dist/cli/{chunk-WCZFCOMZ.js → chunk-QSRWBOPV.js} +11 -10
  53. package/dist/cli/{chunk-E5ILCMKQ.mjs → chunk-RPFNIMUO.mjs} +1 -1
  54. package/dist/cli/{chunk-EFO5GVYS.js → chunk-S3XQH7DW.js} +2 -2
  55. package/dist/cli/{chunk-IJJ6D5WL.mjs → chunk-TLQXN4ZZ.mjs} +11 -11
  56. package/dist/cli/{chunk-KCDZWS2B.js → chunk-USWLB4KV.js} +231 -231
  57. package/dist/cli/{chunk-2NGIBJM2.js → chunk-VMPM2FKT.js} +8 -8
  58. package/dist/cli/{chunk-ZVXB7OU7.mjs → chunk-WCZBIE5L.mjs} +1 -1
  59. package/dist/cli/{chunk-EYG336YV.js → chunk-WP45PUPW.js} +41 -41
  60. package/dist/cli/{chunk-AGTXL6LZ.js → chunk-X6HIIHQO.js} +5 -5
  61. package/dist/cli/{chunk-JO2JZUBR.js → chunk-Y4GRL533.js} +3 -3
  62. package/dist/cli/{chunk-2I7VN65H.js → chunk-ZZD245Z2.js} +7 -7
  63. package/dist/cli/command-docs.js +2 -2
  64. package/dist/cli/command-docs.mjs +1 -1
  65. package/dist/cli/{csv-DKYZE2KM.js → csv-QD7JJGSP.js} +13 -13
  66. package/dist/cli/{csv-XR22YQXT.mjs → csv-UBW4ID5D.mjs} +4 -4
  67. package/dist/cli/{db-RNYRTCMV.js → db-AARR3WYD.js} +27 -27
  68. package/dist/cli/{db-EOKG36YN.mjs → db-QFDXKIVD.mjs} +6 -6
  69. package/dist/cli/{describe-ICFXOQBW.mjs → describe-OBVIAC2H.mjs} +20 -20
  70. package/dist/cli/describe-RYJ6HDYD.js +50 -0
  71. package/dist/cli/describe-core.d.mts +5 -11
  72. package/dist/cli/describe-core.d.ts +5 -11
  73. package/dist/cli/describe-core.js +4 -4
  74. package/dist/cli/describe-core.mjs +3 -3
  75. package/dist/cli/{executions-3RAOACNS.mjs → executions-IZYUDYTZ.mjs} +6 -6
  76. package/dist/cli/{executions-OBWPSWH7.js → executions-KXY7KMZY.js} +8 -8
  77. package/dist/cli/{feedback-6GPEUBLF.js → feedback-3334HBPD.js} +8 -8
  78. package/dist/cli/{feedback-6EQRVBKF.mjs → feedback-IVCVBERN.mjs} +4 -4
  79. package/dist/cli/git-4VLYFHNU.js +25 -0
  80. package/dist/cli/{git-CVQ24DTR.mjs → git-JHNVET5A.mjs} +5 -5
  81. package/dist/cli/index.js +141 -141
  82. package/dist/cli/index.mjs +41 -41
  83. package/dist/cli/{legacy-noops-XPOATG5V.js → legacy-noops-DBA32JCV.js} +8 -8
  84. package/dist/cli/{legacy-noops-QULJZYNH.mjs → legacy-noops-WGVBUOCC.mjs} +5 -5
  85. package/dist/cli/{monitors-OJ4CMREE.js → monitors-GHWZ5AZS.js} +91 -91
  86. package/dist/cli/{monitors-AFT5YJPZ.mjs → monitors-ZGANC7JY.mjs} +7 -7
  87. package/dist/cli/{org-WHKNXANG.mjs → org-CUS42N2T.mjs} +6 -6
  88. package/dist/cli/{org-RKT52CSL.js → org-S7JWP264.js} +72 -72
  89. package/dist/cli/{pages-EEAQFGVD.mjs → pages-IH56T6L6.mjs} +6 -6
  90. package/dist/cli/{pages-SOE3R667.js → pages-QXRZDEJW.js} +17 -17
  91. package/dist/cli/{play-OTJJ4E4T.js → play-4C5PYS62.js} +314 -314
  92. package/dist/cli/{play-LXFWHUBP.mjs → play-Z65ZFOQH.mjs} +17 -17
  93. package/dist/cli/{providers-U3CPKTMM.mjs → providers-FSZSJX4Z.mjs} +6 -6
  94. package/dist/cli/{providers-RU4HIAT3.js → providers-XYQGYF3O.js} +9 -9
  95. package/dist/cli/{quickstart-75AO2AJC.mjs → quickstart-DHWVE32I.mjs} +4 -4
  96. package/dist/cli/{quickstart-N72IVA2Y.js → quickstart-ZA25RJT3.js} +6 -6
  97. package/dist/cli/{run-MMYES3IW.js → run-5MP6LEHM.js} +40 -40
  98. package/dist/cli/{run-IGWFL6WH.mjs → run-WRPPEPLG.mjs} +25 -25
  99. package/dist/cli/search-4SQFVNTB.js +32 -0
  100. package/dist/cli/{search-FIYESBLZ.mjs → search-A6NVJPKX.mjs} +7 -7
  101. package/dist/cli/{search-output-3I5KSW36.mjs → search-output-PAOUMVXY.mjs} +4 -4
  102. package/dist/cli/{search-output-2FXN4ZWD.js → search-output-YA6TXWGO.js} +6 -6
  103. package/dist/cli/{secrets-HCZQ6JNP.js → secrets-AZYOGH3I.js} +15 -15
  104. package/dist/cli/{secrets-O7IUQ3VT.mjs → secrets-ZGF7JOBI.mjs} +6 -6
  105. package/dist/cli/{sessions-5AYTT4IW.js → sessions-GCIN5VXT.js} +6 -6
  106. package/dist/cli/{sessions-KY7A3EZO.mjs → sessions-RNEAXZPV.mjs} +5 -5
  107. package/dist/cli/{settings-P4VFYWJK.js → settings-LMEZNLBB.js} +78 -78
  108. package/dist/cli/{settings-WSMRR2GS.mjs → settings-NO5KXQJF.mjs} +11 -11
  109. package/dist/cli/{setup-YTVKVQC7.mjs → setup-GCYB4IFS.mjs} +9 -9
  110. package/dist/cli/{setup-J7CA3EJL.js → setup-XKTZPYYH.js} +49 -49
  111. package/dist/cli/{skills-W5WY764N.mjs → skills-TY4HHIKH.mjs} +7 -7
  112. package/dist/cli/skills-V4APQA2I.js +36 -0
  113. package/dist/cli/tools-HKQLQ7HT.js +57 -0
  114. package/dist/cli/{tools-YECI6N3N.mjs → tools-RDTHHYJ3.mjs} +18 -18
  115. package/dist/cli/{update-BIFBIEII.mjs → update-BRLLTTCS.mjs} +9 -9
  116. package/dist/cli/update-Z4MUAHWM.js +34 -0
  117. package/dist/cli/{workflow-XZVDNARC.mjs → workflow-F72EVZWM.mjs} +7 -7
  118. package/dist/cli/{workflow-D2TUFFH6.js → workflow-YHA4WE3K.js} +17 -17
  119. package/dist/{client-BDB_VbE4.d.ts → client-97yTcdLl.d.ts} +1 -1
  120. package/dist/{client-CNzJ1LTF.d.mts → client-CFo9qalW.d.mts} +1 -1
  121. package/dist/{client-core-xEa9x3pl.d.ts → client-core-BRZrY13B.d.ts} +5 -5
  122. package/dist/{client-core-CSv3DlPD.d.mts → client-core-Dl6xgfLq.d.mts} +5 -5
  123. package/dist/{compiler-manifest-BFTwq1HI.d.ts → compiler-manifest-CPEF48NM.d.mts} +91 -0
  124. package/dist/{compiler-manifest-BFTwq1HI.d.mts → compiler-manifest-CPEF48NM.d.ts} +91 -0
  125. package/dist/{errors-c3pMsylw.d.ts → errors-B-PJXveg.d.ts} +1 -1
  126. package/dist/{errors-w31ybrQM.d.mts → errors-BWbPzqwo.d.mts} +1 -1
  127. package/dist/{index-DvNtxucX.d.mts → index-BJ8AA1F9.d.mts} +1 -1
  128. package/dist/{index-CQ-15-QL.d.ts → index-CvVxPpE8.d.ts} +1 -1
  129. package/dist/index.d.mts +7 -7
  130. package/dist/index.d.ts +7 -7
  131. package/dist/index.js +26 -18
  132. package/dist/index.mjs +15 -7
  133. package/dist/install-integrity.json +116 -116
  134. package/dist/plays/bundle-play-file.d.mts +3 -3
  135. package/dist/plays/bundle-play-file.d.ts +3 -3
  136. package/dist/plays/play-description.d.mts +2 -2
  137. package/dist/plays/play-description.d.ts +2 -2
  138. package/dist/plays/run-request.d.mts +2 -2
  139. package/dist/plays/run-request.d.ts +2 -2
  140. package/dist/release.d.mts +2 -2
  141. package/dist/release.d.ts +2 -2
  142. package/dist/release.js +2 -2
  143. package/dist/release.mjs +1 -1
  144. package/dist/server.d.mts +4 -4
  145. package/dist/server.d.ts +4 -4
  146. package/dist/server.js +5 -5
  147. package/dist/server.mjs +3 -3
  148. package/package.json +1 -1
  149. package/dist/cli/auth-KYQLDI6V.js +0 -43
  150. package/dist/cli/describe-RS75I33X.js +0 -50
  151. package/dist/cli/git-DEFE4SSB.js +0 -25
  152. package/dist/cli/search-EQURI7SZ.js +0 -32
  153. package/dist/cli/skills-KKPEGLAR.js +0 -36
  154. package/dist/cli/tools-65Y4QTW6.js +0 -57
  155. package/dist/cli/update-WDG7VFOW.js +0 -34
@@ -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 _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
4
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
5
5
 
6
6
 
7
- var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
7
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.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 = _chunkNWIDPT7Hjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkHINVMRGQjs.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 } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
487
+ _chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
519
+ _chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
569
+ _chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
677
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-VFHIYWMC.mjs";
3
+ } from "./chunk-6DMLWM7L.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
14
+ var _chunkUSWLB4KVjs = require('./chunk-USWLB4KV.js');
15
15
 
16
16
 
17
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
17
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
23
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
27
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkJO2JZUBRjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkY4GRL533js.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkHINVMRGQjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkJO2JZUBRjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkY4GRL533js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkKCDZWS2Bjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkUSWLB4KVjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkKCDZWS2Bjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkKCDZWS2Bjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkKCDZWS2Bjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkUSWLB4KVjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkKCDZWS2Bjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkUSWLB4KVjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkKCDZWS2Bjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkKCDZWS2Bjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkJO2JZUBRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkY4GRL533js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
303
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
313
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
330
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
353
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkJO2JZUBRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkY4GRL533js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkKCDZWS2Bjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkNWIDPT7Hjs.SDK_VERSION
367
+ skillNames: [..._chunkUSWLB4KVjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkHINVMRGQjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
373
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkKCDZWS2Bjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkUSWLB4KVjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkKCDZWS2Bjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkUSWLB4KVjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkJO2JZUBRjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkY4GRL533js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkKCDZWS2Bjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkUSWLB4KVjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkKCDZWS2Bjs.SkillsStateUnavailableError)) throw error;
433
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkUSWLB4KVjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
449
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkKCDZWS2Bjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkUSWLB4KVjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
507
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
523
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkNWIDPT7Hjs.SDK_VERSION,
563
+ cliVersion: _chunkHINVMRGQjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkKCDZWS2Bjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkUSWLB4KVjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
578
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkKCDZWS2Bjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkKCDZWS2Bjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkUSWLB4KVjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
645
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkKCDZWS2Bjs.syncSdkSkillsIfNeeded.call(void 0, _chunkJO2JZUBRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkUSWLB4KVjs.syncSdkSkillsIfNeeded.call(void 0, _chunkY4GRL533js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -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(); } }
2
2
 
3
- var _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
3
+ var _chunkCK5MA6S6js = require('./chunk-CK5MA6S6.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
7
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkHTUSTPP4js.PlayClient)(
142
- new (0, _chunkJO2JZUBRjs.HttpClient)(config),
140
+ const config = _chunkY4GRL533js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkCK5MA6S6js.PlayClient)(
142
+ new (0, _chunkY4GRL533js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
4
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkHINVMRGQjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkNWIDPT7Hjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkHINVMRGQjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
5
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
6
6
 
7
7
 
8
- var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
8
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
9
9
 
10
10
 
11
11
 
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkJO2JZUBRjs.HttpClient)(config) };
293
+ const config = _chunkY4GRL533js.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkY4GRL533js.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkHINVMRGQjs.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkHINVMRGQjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkJO2JZUBRjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkY4GRL533js.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkDWJ4RXSAjs = require('./chunk-DWJ4RXSA.js');
9
+ var _chunkAARXOBVDjs = require('./chunk-AARXOBVD.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 = _chunkDWJ4RXSAjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkDWJ4RXSAjs.COMMAND_DOCS; exports.commandDocKey = _chunkDWJ4RXSAjs.commandDocKey; exports.helpDetailFromArgv = _chunkDWJ4RXSAjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkDWJ4RXSAjs.renderActionExplanation; exports.renderCommandExplanation = _chunkDWJ4RXSAjs.renderCommandExplanation; exports.renderDocText = _chunkDWJ4RXSAjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunkAARXOBVDjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkAARXOBVDjs.COMMAND_DOCS; exports.commandDocKey = _chunkAARXOBVDjs.commandDocKey; exports.helpDetailFromArgv = _chunkAARXOBVDjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkAARXOBVDjs.renderActionExplanation; exports.renderCommandExplanation = _chunkAARXOBVDjs.renderCommandExplanation; exports.renderDocText = _chunkAARXOBVDjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-IRDYBMA7.mjs";
9
+ } from "./chunk-H46X7YDU.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
8
- require('./chunk-JO2JZUBR.js');
9
- require('./chunk-NWIDPT7H.js');
7
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
8
+ require('./chunk-Y4GRL533.js');
9
+ require('./chunk-HINVMRGQ.js');
10
10
  require('./chunk-ALJJRZNJ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-DIAWYWT5.js');
13
- require('./chunk-EFO5GVYS.js');
13
+ require('./chunk-S3XQH7DW.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 : _chunk2I7VN65Hjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkZZD245Z2js.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 : _chunk2I7VN65Hjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkZZD245Z2js.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 = _chunk2I7VN65Hjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printJson.call(void 0, {
174
+ _chunkZZD245Z2js.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(_chunk2I7VN65Hjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printJson.call(void 0, {
198
+ _chunkZZD245Z2js.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
- ${_chunk2I7VN65Hjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkZZD245Z2js.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
529
529
  }
530
530
  async function handleCsvRender(action, options) {
531
531
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-VFHIYWMC.mjs";
8
- import "./chunk-4NIGNT7X.mjs";
9
- import "./chunk-TNQOR6XQ.mjs";
7
+ } from "./chunk-6DMLWM7L.mjs";
8
+ import "./chunk-KR2XEI5T.mjs";
9
+ import "./chunk-FAT6CUZK.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-KKSKYZO4.mjs";
13
+ import "./chunk-QOEI42IU.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16