deepline 0.3.467 → 0.3.469

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +0 -5
  3. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +0 -9
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +2 -31
  5. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-priority-execution.ts +0 -39
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +14 -8
  7. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +2 -1
  8. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +22 -1
  9. package/dist/cli/{auth-7H62VDZD.mjs → auth-HHMOHWIF.mjs} +5 -5
  10. package/dist/cli/auth-LEYK6ZW7.js +41 -0
  11. package/dist/cli/{billing-N5BNGGYN.js → billing-26PU55WM.js} +79 -79
  12. package/dist/cli/{billing-6TM3ZXDR.mjs → billing-KQORGOK4.mjs} +6 -6
  13. package/dist/cli/{chunk-7ZZWOJTM.js → chunk-2BBBUZVW.js} +3 -3
  14. package/dist/cli/{chunk-42AW4SQR.js → chunk-2GMJDL3C.js} +21 -21
  15. package/dist/cli/{chunk-R5ZJICJA.mjs → chunk-2OFJVQ7L.mjs} +1 -1
  16. package/dist/cli/{chunk-SHGBHP6J.js → chunk-3G4MRUY7.js} +3 -3
  17. package/dist/cli/{chunk-TNAXVJEG.mjs → chunk-4CJLSC6I.mjs} +4 -4
  18. package/dist/cli/{chunk-C4GBOGTW.mjs → chunk-5WQM5HAQ.mjs} +2 -2
  19. package/dist/cli/{chunk-FFOAOQ77.js → chunk-6SZNOJSR.js} +6 -6
  20. package/dist/cli/{chunk-FVA6XLRA.js → chunk-7JY5HB23.js} +7 -7
  21. package/dist/cli/{chunk-VOPKDTJT.js → chunk-7S33CZMU.js} +2 -2
  22. package/dist/cli/{chunk-5RXKAXFD.mjs → chunk-CUCH65D3.mjs} +2 -2
  23. package/dist/cli/{chunk-I3LWDZRN.mjs → chunk-D7DUKSFS.mjs} +1 -1
  24. package/dist/cli/{chunk-AUVEQ3JX.mjs → chunk-DI3K3PJE.mjs} +1 -1
  25. package/dist/cli/{chunk-KMYCHMZF.js → chunk-E55WWSW4.js} +26 -26
  26. package/dist/cli/{chunk-MRBDFPJ7.mjs → chunk-E6O62X6Z.mjs} +2 -2
  27. package/dist/cli/{chunk-6UZ4MRWN.mjs → chunk-FA3G556U.mjs} +2 -2
  28. package/dist/cli/{chunk-LKVOV7PX.js → chunk-GFHBE35X.js} +93 -93
  29. package/dist/cli/{chunk-WISHPL5Q.mjs → chunk-GVRTIZJN.mjs} +5 -5
  30. package/dist/cli/{chunk-NU64F53H.mjs → chunk-HB2M7RWZ.mjs} +10 -10
  31. package/dist/cli/{chunk-AU4BWQTT.mjs → chunk-I5ZF67WP.mjs} +5 -5
  32. package/dist/cli/{chunk-SYLR33PS.mjs → chunk-I7TGFUQJ.mjs} +3 -3
  33. package/dist/cli/{chunk-3ZGSR6X7.js → chunk-KOBMP4ZD.js} +1 -1
  34. package/dist/cli/{chunk-H3QDLCRT.js → chunk-KPFO7CQM.js} +53 -53
  35. package/dist/cli/{chunk-C6EGT3LO.js → chunk-L34QVDRW.js} +6 -6
  36. package/dist/cli/{chunk-MGUQGKHE.js → chunk-LBG7M2UO.js} +8 -8
  37. package/dist/cli/{chunk-KUCUHRLC.mjs → chunk-N6QVWV5R.mjs} +2 -2
  38. package/dist/cli/{chunk-FRY76AFK.js → chunk-NWAFIAHT.js} +8 -8
  39. package/dist/cli/{chunk-WTVTCSPY.js → chunk-ODOFLA34.js} +4 -4
  40. package/dist/cli/{chunk-RH6DVPGW.mjs → chunk-PAY27R7P.mjs} +2 -2
  41. package/dist/cli/{chunk-DCDTCG2D.mjs → chunk-PKCDG6W5.mjs} +2 -2
  42. package/dist/cli/{chunk-YIJS7ET7.js → chunk-RC7X6KBQ.js} +51 -51
  43. package/dist/cli/{chunk-4LTQYDZG.mjs → chunk-RXG2KE3N.mjs} +4 -4
  44. package/dist/cli/{chunk-LAMHSZ74.js → chunk-SNAPSOK7.js} +10 -10
  45. package/dist/cli/{chunk-ZTA4JIAB.js → chunk-SXTMM4DA.js} +9 -9
  46. package/dist/cli/{chunk-VGWH3BFC.mjs → chunk-T3OOWRPX.mjs} +1 -1
  47. package/dist/cli/{chunk-7Y53LJLE.js → chunk-TEYQKQAQ.js} +5 -5
  48. package/dist/cli/{chunk-G35HNL6P.mjs → chunk-UI2UC3OD.mjs} +1 -1
  49. package/dist/cli/{chunk-HTXQUA3V.mjs → chunk-URGJLSJX.mjs} +1 -1
  50. package/dist/cli/{chunk-FQIGRZ52.mjs → chunk-VERY76VG.mjs} +1 -1
  51. package/dist/cli/{chunk-FP3DH46P.mjs → chunk-WCKFCSRX.mjs} +4 -4
  52. package/dist/cli/{chunk-OSKGEBE7.mjs → chunk-WFI46NX4.mjs} +1 -1
  53. package/dist/cli/{chunk-AD5BZUAP.js → chunk-X7MME4NT.js} +5 -5
  54. package/dist/cli/{chunk-WS2BY2ST.js → chunk-XXIAG42J.js} +36 -36
  55. package/dist/cli/{chunk-CER3XHT3.mjs → chunk-YCIQYY5F.mjs} +3 -3
  56. package/dist/cli/{chunk-FS55YDCW.js → chunk-YSRQJ4M3.js} +3 -3
  57. package/dist/cli/{chunk-WGMNXDRZ.js → chunk-ZWZKQBJJ.js} +2 -2
  58. package/dist/cli/{chunk-WBYC7AYC.js → chunk-ZZ3WOBZQ.js} +16 -16
  59. package/dist/cli/{csv-435JAJ45.mjs → csv-DVAQAKEI.mjs} +4 -4
  60. package/dist/cli/{csv-BPZ4VLR6.js → csv-RTWPHENL.js} +13 -13
  61. package/dist/cli/{db-EBR2UQK3.js → db-BY4Y6CQ3.js} +27 -27
  62. package/dist/cli/{db-IEUTNOOC.mjs → db-OFAOD5AT.mjs} +6 -6
  63. package/dist/cli/describe-FS5CSJTO.js +48 -0
  64. package/dist/cli/{describe-GM233O75.mjs → describe-QOO27KPQ.mjs} +17 -17
  65. package/dist/cli/describe-core.d.mts +2 -2
  66. package/dist/cli/describe-core.d.ts +2 -2
  67. package/dist/cli/{executions-LDPBVSKZ.mjs → executions-EUHFCB47.mjs} +6 -6
  68. package/dist/cli/{executions-5SWPQTLB.js → executions-QHGGAQOE.js} +8 -8
  69. package/dist/cli/{feedback-JB7BBF64.mjs → feedback-47CCLALE.mjs} +4 -4
  70. package/dist/cli/{feedback-YFW5KT36.js → feedback-5G4CUZFN.js} +8 -8
  71. package/dist/cli/{git-MCGUPO2W.mjs → git-5I2AXG4O.mjs} +5 -5
  72. package/dist/cli/git-IWVY3SXC.js +25 -0
  73. package/dist/cli/index.js +135 -135
  74. package/dist/cli/index.mjs +40 -40
  75. package/dist/cli/{legacy-noops-LMGSIBWM.js → legacy-noops-5OBXYGLC.js} +8 -8
  76. package/dist/cli/{legacy-noops-EHNXHQL7.mjs → legacy-noops-AJYRHCWF.mjs} +5 -5
  77. package/dist/cli/{monitors-VRQ32EAA.js → monitors-5CWZZ7D7.js} +91 -91
  78. package/dist/cli/{monitors-355EWLGN.mjs → monitors-IWFCIY3H.mjs} +7 -7
  79. package/dist/cli/{org-MJ6XMAI4.mjs → org-7EP6FXX6.mjs} +6 -6
  80. package/dist/cli/{org-W3YZN65W.js → org-7HCL5RO7.js} +72 -72
  81. package/dist/cli/{pages-JPK6UVMV.js → pages-GTECAV7A.js} +17 -17
  82. package/dist/cli/{pages-62QNUXV2.mjs → pages-UJWA7YNZ.mjs} +6 -6
  83. package/dist/cli/{play-WPPJQBBS.js → play-MMGWGTTZ.js} +304 -304
  84. package/dist/cli/{play-CKBPES6Q.mjs → play-X3SYW37L.mjs} +17 -17
  85. package/dist/cli/{providers-DH5JJ5HN.js → providers-VQL4X4VL.js} +9 -9
  86. package/dist/cli/{providers-LLPKHVXL.mjs → providers-ZBCQLB5Y.mjs} +6 -6
  87. package/dist/cli/{quickstart-NNEF37EG.js → quickstart-SIFBA4UU.js} +6 -6
  88. package/dist/cli/{quickstart-K5HVPO2L.mjs → quickstart-TIPHHFSA.mjs} +4 -4
  89. package/dist/cli/{run-SKIZFJ5O.mjs → run-4L6ZW53Z.mjs} +22 -22
  90. package/dist/cli/{run-N2KY2VNQ.js → run-XKSIVFEN.js} +36 -36
  91. package/dist/cli/search-2WGVKZ2E.js +32 -0
  92. package/dist/cli/{search-2WXJ3GID.mjs → search-6HLAN32O.mjs} +7 -7
  93. package/dist/cli/{secrets-6GEQ75OU.mjs → secrets-4HTY4MSI.mjs} +6 -6
  94. package/dist/cli/{secrets-5YVX7LK7.js → secrets-KYRIVDA6.js} +15 -15
  95. package/dist/cli/{sessions-H3QES7C2.js → sessions-EVKRTCFM.js} +6 -6
  96. package/dist/cli/{sessions-GOPZ3YRN.mjs → sessions-JEV4COUF.mjs} +5 -5
  97. package/dist/cli/{settings-IP47HYC6.mjs → settings-QSABRUHQ.mjs} +11 -11
  98. package/dist/cli/{settings-62SU5ROV.js → settings-WFZNZVHF.js} +78 -78
  99. package/dist/cli/{setup-YCCU7TU4.js → setup-JFEGYAMU.js} +44 -44
  100. package/dist/cli/{setup-LCKXUSW5.mjs → setup-KG22OTJO.mjs} +9 -9
  101. package/dist/cli/{skills-3QAQI6X7.mjs → skills-5XJM7UBQ.mjs} +7 -7
  102. package/dist/cli/skills-6DY62DEQ.js +31 -0
  103. package/dist/cli/{tools-HKD4G6HA.mjs → tools-2AMQKFP4.mjs} +16 -16
  104. package/dist/cli/tools-ENIGWVGY.js +55 -0
  105. package/dist/cli/{update-2VYSBSDD.mjs → update-KEN737KZ.mjs} +9 -9
  106. package/dist/cli/update-XZBBPRDV.js +33 -0
  107. package/dist/cli/{workflow-EFRGY6JD.mjs → workflow-L6Q5H3OO.mjs} +7 -7
  108. package/dist/cli/{workflow-MMWGUSGY.js → workflow-T622YRL4.js} +17 -17
  109. package/dist/{client-BOEAXwJj.d.ts → client-B3tlWsw7.d.ts} +1 -1
  110. package/dist/{client-DL0koOaP.d.mts → client-CdJR18SJ.d.mts} +1 -1
  111. package/dist/{client-core-CowyuxKu.d.mts → client-core-ByJD7QXj.d.mts} +1 -1
  112. package/dist/{client-core-BX_8khUY.d.ts → client-core-CxHBKfE5.d.ts} +1 -1
  113. package/dist/index.d.mts +3 -3
  114. package/dist/index.d.ts +3 -3
  115. package/dist/index.js +9 -9
  116. package/dist/index.mjs +6 -6
  117. package/dist/install-integrity.json +100 -100
  118. package/dist/plays/play-description.d.mts +1 -1
  119. package/dist/plays/play-description.d.ts +1 -1
  120. package/dist/plays/run-request.d.mts +1 -1
  121. package/dist/plays/run-request.d.ts +1 -1
  122. package/dist/release.d.mts +1 -1
  123. package/dist/release.d.ts +1 -1
  124. package/dist/release.js +2 -2
  125. package/dist/release.mjs +1 -1
  126. package/dist/server.d.mts +2 -2
  127. package/dist/server.d.ts +2 -2
  128. package/dist/server.js +5 -5
  129. package/dist/server.mjs +3 -3
  130. package/package.json +1 -1
  131. package/dist/cli/auth-EXW5E3DI.js +0 -41
  132. package/dist/cli/describe-EPT52IUE.js +0 -48
  133. package/dist/cli/git-7L7LKOKW.js +0 -25
  134. package/dist/cli/search-HO7ARG3H.js +0 -32
  135. package/dist/cli/skills-UVAIKQNC.js +0 -31
  136. package/dist/cli/tools-KAIUUBTD.js +0 -55
  137. package/dist/cli/update-Q3AMECAG.js +0 -33
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-I3LWDZRN.mjs";
3
+ } from "./chunk-D7DUKSFS.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-G35HNL6P.mjs";
15
+ } from "./chunk-UI2UC3OD.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-AUVEQ3JX.mjs";
23
+ } from "./chunk-DI3K3PJE.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-OSKGEBE7.mjs";
29
+ } from "./chunk-WFI46NX4.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.467",
52
+ version: "0.3.469",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -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 _chunkC6EGT3LOjs = require('./chunk-C6EGT3LO.js');
3
+ var _chunkL34QVDRWjs = require('./chunk-L34QVDRW.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
7
+ var _chunk3G4MRUY7js = require('./chunk-3G4MRUY7.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkC6EGT3LOjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkL34QVDRWjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkSHGBHP6Jjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkSHGBHP6Jjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunk3G4MRUY7js.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunk3G4MRUY7js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkH3QDLCRTjs = require('./chunk-H3QDLCRT.js');
14
+ var _chunkKPFO7CQMjs = require('./chunk-KPFO7CQM.js');
15
15
 
16
16
 
17
- var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
17
+ var _chunk7JY5HB23js = require('./chunk-7JY5HB23.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
23
+ var _chunk3G4MRUY7js = require('./chunk-3G4MRUY7.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkWTVTCSPYjs = require('./chunk-WTVTCSPY.js');
27
+ var _chunkODOFLA34js = require('./chunk-ODOFLA34.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -77,7 +77,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
77
77
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
78
78
  }
79
79
  function resolveLocalRoot() {
80
- const target = _chunkSHGBHP6Jjs.resolveProjectPinTarget.call(void 0, );
80
+ const target = _chunk3G4MRUY7js.resolveProjectPinTarget.call(void 0, );
81
81
  if (!target.ok) {
82
82
  throw new Error(
83
83
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -88,7 +88,7 @@ function resolveLocalRoot() {
88
88
  return target.dir;
89
89
  }
90
90
  function detectSkillsAgents(input) {
91
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, )));
91
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkODOFLA34js.detectAgentRuntime.call(void 0, )));
92
92
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
93
93
  if (knownAgent) return [knownAgent];
94
94
  const roots = [
@@ -103,11 +103,11 @@ function detectSkillsAgents(input) {
103
103
  return detected.length > 0 ? detected : ["*"];
104
104
  }
105
105
  function skillsStatePathForScope(baseUrl, scope, root) {
106
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkSHGBHP6Jjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
106
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunk3G4MRUY7js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
107
107
  }
108
108
  function buildSkillsPlan(input) {
109
109
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
110
- const legacyNames = [..._chunkH3QDLCRTjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
110
+ const legacyNames = [..._chunkKPFO7CQMjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
111
111
  (a, b) => a.localeCompare(b)
112
112
  );
113
113
  return {
@@ -121,7 +121,7 @@ function buildSkillsPlan(input) {
121
121
  args: [
122
122
  "exec",
123
123
  "--yes",
124
- `--package=${_chunkH3QDLCRTjs.SKILLS_NPX_PACKAGE}`,
124
+ `--package=${_chunkKPFO7CQMjs.SKILLS_NPX_PACKAGE}`,
125
125
  "--",
126
126
  "skills",
127
127
  "remove",
@@ -137,11 +137,11 @@ function buildSkillsPlan(input) {
137
137
  args: [
138
138
  "exec",
139
139
  "--yes",
140
- `--package=${_chunkH3QDLCRTjs.SKILLS_NPX_PACKAGE}`,
140
+ `--package=${_chunkKPFO7CQMjs.SKILLS_NPX_PACKAGE}`,
141
141
  "--",
142
142
  "skills",
143
143
  "add",
144
- _chunkH3QDLCRTjs.skillsSourceUrl.call(void 0, input.baseUrl),
144
+ _chunkKPFO7CQMjs.skillsSourceUrl.call(void 0, input.baseUrl),
145
145
  "--agent",
146
146
  ...input.agents,
147
147
  ...scopeArgs,
@@ -178,7 +178,7 @@ function readSkillsInstallState(path) {
178
178
  }
179
179
  function runProcess(command, args, cwd) {
180
180
  return new Promise((resolve, reject) => {
181
- const plan = _chunkH3QDLCRTjs.resolveShellSpawn.call(void 0,
181
+ const plan = _chunkKPFO7CQMjs.resolveShellSpawn.call(void 0,
182
182
  command,
183
183
  args,
184
184
  process.platform,
@@ -200,7 +200,7 @@ function runProcess(command, args, cwd) {
200
200
  child.kill("SIGTERM");
201
201
  reject(
202
202
  new Error(
203
- `${_chunkH3QDLCRTjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
203
+ `${_chunkKPFO7CQMjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
204
204
  )
205
205
  );
206
206
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -211,7 +211,7 @@ function runProcess(command, args, cwd) {
211
211
  child.once("close", (code) => {
212
212
  clearTimeout(timeout);
213
213
  if (code && stderr.trim()) {
214
- process.stderr.write(`${_chunkH3QDLCRTjs.SKILLS_NPX_PACKAGE} exited ${code}.
214
+ process.stderr.write(`${_chunkKPFO7CQMjs.SKILLS_NPX_PACKAGE} exited ${code}.
215
215
  `);
216
216
  }
217
217
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -225,7 +225,7 @@ async function runSkillsCommand(options, dependencies = {}) {
225
225
  scope = normalizeScope(options.scope);
226
226
  root = scope === "local" ? resolveLocalRoot() : null;
227
227
  } catch (error) {
228
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
228
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
229
229
  {
230
230
  ok: false,
231
231
  status: "failed",
@@ -237,22 +237,22 @@ async function runSkillsCommand(options, dependencies = {}) {
237
237
  );
238
238
  return 2;
239
239
  }
240
- const baseUrl = _chunkSHGBHP6Jjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
240
+ const baseUrl = _chunk3G4MRUY7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
241
241
  const catalog = {
242
- skillNames: [..._chunkH3QDLCRTjs.DEFAULT_SDK_SKILL_NAMES],
243
- version: _chunkWTVTCSPYjs.SDK_VERSION
242
+ skillNames: [..._chunkKPFO7CQMjs.DEFAULT_SDK_SKILL_NAMES],
243
+ version: _chunkODOFLA34js.SDK_VERSION
244
244
  };
245
245
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
246
246
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
247
247
  if (options.dryRun) {
248
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
248
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
249
249
  { ok: true, status: "planned", dryRun: true, ...plan },
250
250
  { json: options.json }
251
251
  );
252
252
  return 0;
253
253
  }
254
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkH3QDLCRTjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
254
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkKPFO7CQMjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ok: true,
258
258
  status: "current",
@@ -284,10 +284,10 @@ async function runSkillsCommand(options, dependencies = {}) {
284
284
  }
285
285
  if (scope === "local" && root) {
286
286
  const managedNames = [
287
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkH3QDLCRTjs.LEGACY_SKILL_NAMES_TO_REMOVE])
287
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkKPFO7CQMjs.LEGACY_SKILL_NAMES_TO_REMOVE])
288
288
  ];
289
289
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
290
- _chunkSHGBHP6Jjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
290
+ _chunk3G4MRUY7js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
291
291
  ".deepline/",
292
292
  ...agentRoots.flatMap(
293
293
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -296,7 +296,7 @@ async function runSkillsCommand(options, dependencies = {}) {
296
296
  }
297
297
  let lease;
298
298
  try {
299
- lease = scope === "global" ? await _chunkH3QDLCRTjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
299
+ lease = scope === "global" ? await _chunkKPFO7CQMjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
300
300
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
301
301
  onWait: () => process.stderr.write(
302
302
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -304,8 +304,8 @@ async function runSkillsCommand(options, dependencies = {}) {
304
304
  }) : { release: () => {
305
305
  } };
306
306
  } catch (error) {
307
- if (!(error instanceof _chunkH3QDLCRTjs.SkillsStateUnavailableError)) throw error;
308
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
307
+ if (!(error instanceof _chunkKPFO7CQMjs.SkillsStateUnavailableError)) throw error;
308
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
309
309
  {
310
310
  ok: false,
311
311
  status: "failed",
@@ -321,7 +321,7 @@ async function runSkillsCommand(options, dependencies = {}) {
321
321
  return 5;
322
322
  }
323
323
  if (!lease) {
324
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
324
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
325
325
  {
326
326
  ok: false,
327
327
  status: "failed",
@@ -330,7 +330,7 @@ async function runSkillsCommand(options, dependencies = {}) {
330
330
  scope,
331
331
  agents,
332
332
  message: "A background Deepline skills refresh is still running for these agents.",
333
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkH3QDLCRTjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
333
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkKPFO7CQMjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
334
334
  },
335
335
  { json: options.json }
336
336
  );
@@ -367,7 +367,7 @@ async function runSkillsInstallWithLease(input) {
367
367
  throw new Error("Could not install the current Deepline skills.");
368
368
  }
369
369
  } catch (error) {
370
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
370
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  ok: false,
373
373
  status: "failed",
@@ -406,7 +406,7 @@ async function runSkillsInstallWithLease(input) {
406
406
  {
407
407
  schemaVersion: 1,
408
408
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
409
- cliVersion: _chunkWTVTCSPYjs.SDK_VERSION,
409
+ cliVersion: _chunkODOFLA34js.SDK_VERSION,
410
410
  scope,
411
411
  agents,
412
412
  skillsVersion: plan.version,
@@ -419,9 +419,9 @@ async function runSkillsInstallWithLease(input) {
419
419
  "utf8"
420
420
  );
421
421
  if (scope === "global") {
422
- _chunkH3QDLCRTjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
422
+ _chunkKPFO7CQMjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
423
423
  }
424
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
424
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
425
425
  {
426
426
  ok: true,
427
427
  status: "complete",
@@ -452,7 +452,7 @@ function registerSkillsCommand(program) {
452
452
  "after",
453
453
  `
454
454
  Notes:
455
- This command reinstalls current Deepline-managed skills using ${_chunkH3QDLCRTjs.SKILLS_NPX_PACKAGE},
455
+ This command reinstalls current Deepline-managed skills using ${_chunkKPFO7CQMjs.SKILLS_NPX_PACKAGE},
456
456
  then removes legacy Deepline skill names. Local scope writes into the resolved
457
457
  persistent project.
458
458
 
@@ -464,13 +464,13 @@ Examples:
464
464
  ).action(async (options) => {
465
465
  process.exitCode = await runSkillsCommand(options);
466
466
  });
467
- program.command(_chunkH3QDLCRTjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
467
+ program.command(_chunkKPFO7CQMjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
468
468
  "--claim <token>",
469
469
  "Owner token of the leases this child was started for."
470
470
  ).action(async (options) => {
471
471
  const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
472
472
  if (!claim) {
473
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
473
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
474
474
  {
475
475
  ok: false,
476
476
  status: "failed",
@@ -483,7 +483,7 @@ Examples:
483
483
  process.exitCode = 2;
484
484
  return;
485
485
  }
486
- await _chunkH3QDLCRTjs.syncSdkSkillsIfNeeded.call(void 0, _chunkSHGBHP6Jjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
486
+ await _chunkKPFO7CQMjs.syncSdkSkillsIfNeeded.call(void 0, _chunk3G4MRUY7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
487
487
  mode: "inline",
488
488
  notices: "defer",
489
489
  claim
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-RH6DVPGW.mjs";
5
+ } from "./chunk-PAY27R7P.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,12 +22,12 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-G35HNL6P.mjs";
25
+ } from "./chunk-UI2UC3OD.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  detectAgentRuntime
30
- } from "./chunk-AUVEQ3JX.mjs";
30
+ } from "./chunk-DI3K3PJE.mjs";
31
31
 
32
32
  // src/cli/commands/auth.ts
33
33
  import {
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
9
+ var _chunk7JY5HB23js = require('./chunk-7JY5HB23.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunkFVA6XLRAjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunk7JY5HB23js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkFVA6XLRAjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunk7JY5HB23js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkH3QDLCRTjs = require('./chunk-H3QDLCRT.js');
3
+ var _chunkKPFO7CQMjs = require('./chunk-KPFO7CQM.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkH3QDLCRTjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkKPFO7CQMjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,19 +1,19 @@
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 _chunkWGMNXDRZjs = require('./chunk-WGMNXDRZ.js');
4
+ var _chunkZWZKQBJJjs = require('./chunk-ZWZKQBJJ.js');
5
5
 
6
6
 
7
- var _chunkWS2BY2STjs = require('./chunk-WS2BY2ST.js');
7
+ var _chunkXXIAG42Jjs = require('./chunk-XXIAG42J.js');
8
8
 
9
9
 
10
- var _chunkH3QDLCRTjs = require('./chunk-H3QDLCRT.js');
10
+ var _chunkKPFO7CQMjs = require('./chunk-KPFO7CQM.js');
11
11
 
12
12
 
13
- var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
13
+ var _chunk7JY5HB23js = require('./chunk-7JY5HB23.js');
14
14
 
15
15
 
16
- var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
16
+ var _chunk3G4MRUY7js = require('./chunk-3G4MRUY7.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkH3QDLCRTjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkKPFO7CQMjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkWGMNXDRZjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkWGMNXDRZjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkZWZKQBJJjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkZWZKQBJJjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkSHGBHP6Jjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk3G4MRUY7js.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkH3QDLCRTjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkKPFO7CQMjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkSHGBHP6Jjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk3G4MRUY7js.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkWS2BY2STjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkXXIAG42Jjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1284
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
1327
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-RH6DVPGW.mjs";
8
- import "./chunk-G35HNL6P.mjs";
9
- import "./chunk-AUVEQ3JX.mjs";
7
+ } from "./chunk-PAY27R7P.mjs";
8
+ import "./chunk-UI2UC3OD.mjs";
9
+ import "./chunk-DI3K3PJE.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-OSKGEBE7.mjs";
13
+ import "./chunk-WFI46NX4.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 _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
8
- require('./chunk-SHGBHP6J.js');
9
- require('./chunk-WTVTCSPY.js');
7
+ var _chunk7JY5HB23js = require('./chunk-7JY5HB23.js');
8
+ require('./chunk-3G4MRUY7.js');
9
+ require('./chunk-ODOFLA34.js');
10
10
  require('./chunk-ALJJRZNJ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-DIAWYWT5.js');
13
- require('./chunk-3ZGSR6X7.js');
13
+ require('./chunk-KOBMP4ZD.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 : _chunkFVA6XLRAjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunk7JY5HB23js.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 : _chunkFVA6XLRAjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunk7JY5HB23js.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 = _chunkFVA6XLRAjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printJson.call(void 0, {
174
+ _chunk7JY5HB23js.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(_chunkFVA6XLRAjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printJson.call(void 0, {
198
+ _chunk7JY5HB23js.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
- ${_chunkFVA6XLRAjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunk7JY5HB23js.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"));