deepline 0.3.433 → 0.3.435

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 (103) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +32 -3
  3. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +7 -0
  4. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +9 -119
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +155 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +8 -19
  8. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +32 -3
  9. package/dist/bundling-sources/shared_libs/product-notifications/slack-transport.ts +2 -0
  10. package/dist/cli/{auth-5LF5G3Z2.mjs → auth-EQ3MPGNF.mjs} +4 -4
  11. package/dist/cli/auth-N3273IA5.js +40 -0
  12. package/dist/cli/{billing-M34SJBAB.js → billing-23HTLBTU.js} +73 -73
  13. package/dist/cli/{billing-I7ZADV7D.mjs → billing-AZXP6FQ6.mjs} +4 -4
  14. package/dist/cli/{chunk-CXGNMAFV.js → chunk-26X3B5SV.js} +16 -16
  15. package/dist/cli/{chunk-I5CB3UUX.js → chunk-2CM22MQI.js} +50 -50
  16. package/dist/cli/{chunk-BSQH4V3Y.mjs → chunk-5WJ4K7ZJ.mjs} +1 -1
  17. package/dist/cli/{chunk-B3XEZMYS.mjs → chunk-6R6BUVOX.mjs} +8 -8
  18. package/dist/cli/{chunk-2TNGO4DZ.mjs → chunk-7JZD5E5E.mjs} +3 -3
  19. package/dist/cli/{chunk-WVCAELST.js → chunk-B6ZCP3Z5.js} +6 -6
  20. package/dist/cli/{chunk-XSEQLAHE.mjs → chunk-BFYSJUB7.mjs} +2 -2
  21. package/dist/cli/{chunk-JNX4Y37G.js → chunk-CF4T46L6.js} +1 -1
  22. package/dist/cli/{chunk-ZMRP5UXN.js → chunk-CTDN4FZR.js} +2 -2
  23. package/dist/cli/{chunk-T77HG3R7.js → chunk-DCSRQRUL.js} +2 -2
  24. package/dist/cli/{chunk-3ET2ZKZS.mjs → chunk-DOWK7NOY.mjs} +1 -1
  25. package/dist/cli/{chunk-VMCJGLJL.mjs → chunk-EW5TD772.mjs} +2 -2
  26. package/dist/cli/{chunk-UAUHERWW.mjs → chunk-HBZWT2US.mjs} +2 -2
  27. package/dist/cli/{chunk-HAC6SRO5.mjs → chunk-HHJYD3PC.mjs} +1 -1
  28. package/dist/cli/{chunk-KQ5VO34X.js → chunk-HN6WJC4Y.js} +10 -10
  29. package/dist/cli/{chunk-GZS6ZB55.mjs → chunk-HR7TOTM7.mjs} +1 -1
  30. package/dist/cli/{chunk-YBSOJ6D4.mjs → chunk-IIW7JOKQ.mjs} +4 -4
  31. package/dist/cli/{chunk-O7X44YGX.js → chunk-KDTYSHTE.js} +8 -8
  32. package/dist/cli/{chunk-JUZW32YP.js → chunk-KSXYGT6J.js} +8 -8
  33. package/dist/cli/{chunk-G4P74R2F.mjs → chunk-LQTNFYOL.mjs} +2 -2
  34. package/dist/cli/{chunk-PM3DL6YP.mjs → chunk-PBK2HVL5.mjs} +3 -3
  35. package/dist/cli/{chunk-PKOCM6JB.js → chunk-PKHERMMF.js} +52 -52
  36. package/dist/cli/{chunk-DAEODAWB.js → chunk-PSOCBKRK.js} +35 -35
  37. package/dist/cli/{chunk-6R6SQQGQ.js → chunk-R2DKLSIE.js} +4 -4
  38. package/dist/cli/{chunk-42JTV4IM.mjs → chunk-R4KGIU4P.mjs} +1 -1
  39. package/dist/cli/{chunk-PRA2CG4B.mjs → chunk-TXG7K6OK.mjs} +1 -1
  40. package/dist/cli/{chunk-UDJXL4SM.js → chunk-UDWRO43L.js} +79 -79
  41. package/dist/cli/{chunk-3CZEDR4K.mjs → chunk-UFXJB5VM.mjs} +5 -5
  42. package/dist/cli/{chunk-KAWPJNUO.js → chunk-V5S5JGXE.js} +20 -20
  43. package/dist/cli/{chunk-FYDPU4QV.js → chunk-VZOIX2SU.js} +26 -26
  44. package/dist/cli/{chunk-N5VOE6KZ.js → chunk-X3GM2FO2.js} +6 -6
  45. package/dist/cli/{chunk-3C25DYSE.mjs → chunk-X7L2ICG7.mjs} +3 -3
  46. package/dist/cli/{csv-R5I5ZWSC.js → csv-CHD4AORD.js} +12 -12
  47. package/dist/cli/{csv-3TCORDI3.mjs → csv-RBYDE2VF.mjs} +3 -3
  48. package/dist/cli/{db-BXEK3WX2.js → db-G66I35IX.js} +25 -25
  49. package/dist/cli/{db-D7NC4XAM.mjs → db-PEAA46HL.mjs} +4 -4
  50. package/dist/cli/{describe-LSOFG74H.js → describe-N3WGB4RU.js} +16 -16
  51. package/dist/cli/{describe-SXYZTJQ5.mjs → describe-YAAQ22BK.mjs} +12 -12
  52. package/dist/cli/{executions-ULXJPGV4.mjs → executions-NFYYKOQ4.mjs} +4 -4
  53. package/dist/cli/{executions-BF5YRFHH.js → executions-XL3VMVUS.js} +6 -6
  54. package/dist/cli/{feedback-VJM56OFG.js → feedback-KZ6SBLG6.js} +7 -7
  55. package/dist/cli/{feedback-6FJOHQJB.mjs → feedback-PUTCVMTD.mjs} +3 -3
  56. package/dist/cli/git-QTHF7KRA.js +24 -0
  57. package/dist/cli/{git-WGZMHPW3.mjs → git-UU3XVCT4.mjs} +4 -4
  58. package/dist/cli/index.js +131 -131
  59. package/dist/cli/index.mjs +36 -36
  60. package/dist/cli/{legacy-noops-EVFQBQ6H.mjs → legacy-noops-BOGHHXVF.mjs} +4 -4
  61. package/dist/cli/{legacy-noops-ZRDESRRJ.js → legacy-noops-FZSGPSPI.js} +7 -7
  62. package/dist/cli/{monitors-FR4OSX77.js → monitors-BDUIUKJJ.js} +84 -84
  63. package/dist/cli/{monitors-4PMVB7RD.mjs → monitors-XUSIJAQS.mjs} +4 -4
  64. package/dist/cli/{org-HSY6TVRI.js → org-4M4LF366.js} +64 -64
  65. package/dist/cli/{org-QBENPGXU.mjs → org-YKDMSVRT.mjs} +4 -4
  66. package/dist/cli/{play-7O7GXOWT.mjs → play-CLGVNXQW.mjs} +10 -10
  67. package/dist/cli/{play-JSY4OSLN.js → play-XYAA5UC5.js} +283 -283
  68. package/dist/cli/{providers-RLLSVNR6.js → providers-HS2JM5MQ.js} +7 -7
  69. package/dist/cli/{providers-76OM5TQ7.mjs → providers-MFI6MK72.mjs} +4 -4
  70. package/dist/cli/{quickstart-MZZDW6VC.js → quickstart-BHNM5TQN.js} +5 -5
  71. package/dist/cli/{quickstart-UHB5GNJV.mjs → quickstart-CWUBSTJ2.mjs} +3 -3
  72. package/dist/cli/search-MN7DAPYR.js +30 -0
  73. package/dist/cli/{search-X5P34RAU.mjs → search-VK6EN3BR.mjs} +5 -5
  74. package/dist/cli/{secrets-L43HK4A6.mjs → secrets-GPRZ4XF5.mjs} +4 -4
  75. package/dist/cli/{secrets-EKVWSDQT.js → secrets-HJ3HW5TQ.js} +13 -13
  76. package/dist/cli/{sessions-QPK5NPXO.mjs → sessions-NN4AJLGF.mjs} +4 -4
  77. package/dist/cli/{sessions-IPV23HXJ.js → sessions-XJYXZKFA.js} +5 -5
  78. package/dist/cli/{settings-5CJ6SMAN.js → settings-3Y4FZRE6.js} +75 -75
  79. package/dist/cli/{settings-NF4VMLGN.mjs → settings-ADLQGWTJ.mjs} +8 -8
  80. package/dist/cli/{setup-FHK6S4JC.js → setup-DR2F5EHD.js} +42 -42
  81. package/dist/cli/{setup-3JVUB4V6.mjs → setup-PJUA2JPA.mjs} +7 -7
  82. package/dist/cli/skills-AF3OYN25.js +29 -0
  83. package/dist/cli/{skills-HZLL2C7G.mjs → skills-YYLZ6ZCQ.mjs} +5 -5
  84. package/dist/cli/tools-3XW4TJBV.js +44 -0
  85. package/dist/cli/{tools-TG5SDGNS.mjs → tools-GIVNDAF4.mjs} +12 -12
  86. package/dist/cli/update-2WLAPOXT.js +31 -0
  87. package/dist/cli/{update-4UZ6PUZK.mjs → update-IZO6EDLX.mjs} +7 -7
  88. package/dist/cli/{workflow-FAJY6TR4.mjs → workflow-FO67TXGC.mjs} +5 -5
  89. package/dist/cli/{workflow-UTPL4KIF.js → workflow-O4TG6Q3C.js} +15 -15
  90. package/dist/index.js +6 -6
  91. package/dist/index.mjs +3 -3
  92. package/dist/install-integrity.json +79 -78
  93. package/dist/release.d.mts +1 -1
  94. package/dist/release.d.ts +1 -1
  95. package/dist/release.js +2 -2
  96. package/dist/release.mjs +1 -1
  97. package/package.json +1 -1
  98. package/dist/cli/auth-FGHYE2JG.js +0 -40
  99. package/dist/cli/git-TSBBSAK3.js +0 -24
  100. package/dist/cli/search-GCMZS6IK.js +0 -30
  101. package/dist/cli/skills-U2R75N5D.js +0 -29
  102. package/dist/cli/tools-N57LENEU.js +0 -44
  103. package/dist/cli/update-WYEO75YZ.js +0 -31
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkCXGNMAFVjs = require('./chunk-CXGNMAFV.js');
7
+ var _chunk26X3B5SVjs = require('./chunk-26X3B5SV.js');
8
8
 
9
9
 
10
- var _chunkPKOCM6JBjs = require('./chunk-PKOCM6JB.js');
10
+ var _chunkPKHERMMFjs = require('./chunk-PKHERMMF.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
14
+ var _chunkX3GM2FO2js = require('./chunk-X3GM2FO2.js');
15
15
 
16
16
 
17
17
 
18
- var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
18
+ var _chunkR2DKLSIEjs = require('./chunk-R2DKLSIE.js');
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
42
42
  async function reportAutoUpdateEvent(input) {
43
43
  let apiKey = "";
44
44
  try {
45
- apiKey = _chunk6R6SQQGQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkR2DKLSIEjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
46
46
  } catch (e2) {
47
47
  return;
48
48
  }
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`,
60
60
  "Content-Type": "application/json",
61
- "User-Agent": `deepline-ts-sdk/${_chunk6R6SQQGQjs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkR2DKLSIEjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunk6R6SQQGQjs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunk6R6SQQGQjs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkR2DKLSIEjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkR2DKLSIEjs.SDK_VERSION
66
66
  },
67
67
  body: JSON.stringify({
68
68
  event: input.event,
69
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk6R6SQQGQjs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkR2DKLSIEjs.SDK_VERSION,
70
70
  target_version: input.response.latest,
71
71
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
72
72
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -85,13 +85,13 @@ function envTruthy(name) {
85
85
  return value === "1" || value === "true" || value === "yes";
86
86
  }
87
87
  function shouldSkipSelfUpdate(policy) {
88
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkCXGNMAFVjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkPKOCM6JBjs.isCiEnvironment.call(void 0, );
88
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk26X3B5SVjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkPKHERMMFjs.isCiEnvironment.call(void 0, );
89
89
  }
90
90
  function isDowngradeAutoUpdateResponse(response) {
91
91
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
92
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk6R6SQQGQjs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkR2DKLSIEjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkCXGNMAFVjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunk26X3B5SVjs.compareUpdateVersions.call(void 0, target, current) < 0;
95
95
  }
96
96
  function relaunchCurrentCommand(plan, runtime = {}) {
97
97
  return new Promise((resolve) => {
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
144
144
  }
145
145
  if (isDowngradeAutoUpdateResponse(response)) {
146
146
  const target = response.latest;
147
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk6R6SQQGQjs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkR2DKLSIEjs.SDK_VERSION;
148
148
  process.stderr.write(
149
149
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
150
150
  `
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
152
152
  return false;
153
153
  }
154
154
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
155
- const plan = _chunkCXGNMAFVjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunk26X3B5SVjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkCXGNMAFVjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunk26X3B5SVjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
161
161
  return false;
162
162
  }
163
163
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
164
164
  deferredAutoUpdate = async () => {
165
165
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
166
166
  };
167
- if (_chunkN5VOE6KZjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunkX3GM2FO2js.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkN5VOE6KZjs.addJsonNotice.call(void 0, {
169
+ _chunkX3GM2FO2js.addJsonNotice.call(void 0, {
170
170
  code: "sdk_update_queued",
171
171
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
172
172
  });
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
179
179
  return true;
180
180
  }
181
181
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
182
- if (!_chunkCXGNMAFVjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunk26X3B5SVjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
183
183
  const autoUpdate = response.auto_update;
184
184
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
185
185
  process.stderr.write(
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
192
192
  event: "started",
193
193
  installKind: plan.kind
194
194
  });
195
- const updateResult = await _chunkCXGNMAFVjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunk26X3B5SVjs.runAutomaticUpdatePlan.call(void 0, plan);
196
196
  if (updateResult.status === "skipped_previous_failure") {
197
197
  void reportAutoUpdateEvent({
198
198
  baseUrl,
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
243
243
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
244
244
  var activeToolExecuteCommand = null;
245
245
  function progressLine(line) {
246
- if (!_chunkN5VOE6KZjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunkX3GM2FO2js.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
5
+ var _chunkX3GM2FO2js = require('./chunk-X3GM2FO2.js');
6
6
 
7
7
 
8
- var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
8
+ var _chunkR2DKLSIEjs = require('./chunk-R2DKLSIE.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
39
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
139
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
153
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
200
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
227
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
254
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
269
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunk6R6SQQGQjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkR2DKLSIEjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkN5VOE6KZjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkX3GM2FO2js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
322
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
371
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkX3GM2FO2js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
392
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
6
+ var _chunkR2DKLSIEjs = require('./chunk-R2DKLSIE.js');
7
7
 
8
8
 
9
9
 
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunk6R6SQQGQjs.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunk6R6SQQGQjs.HttpClient)(config) };
291
+ const config = _chunkR2DKLSIEjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunkR2DKLSIEjs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunkR2DKLSIEjs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunkR2DKLSIEjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunk6R6SQQGQjs.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunkR2DKLSIEjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-HAC6SRO5.mjs";
3
+ } from "./chunk-HHJYD3PC.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -17,13 +17,13 @@ import {
17
17
  sdkCliStateDirPath,
18
18
  skillsAgentPathSegment,
19
19
  writeSdkSkillsLocalVersion
20
- } from "./chunk-3ET2ZKZS.mjs";
20
+ } from "./chunk-DOWK7NOY.mjs";
21
21
  import {
22
22
  DeeplineError
23
23
  } from "./chunk-E4IXDAZI.mjs";
24
24
  import {
25
25
  SDK_RELEASE
26
- } from "./chunk-42JTV4IM.mjs";
26
+ } from "./chunk-R4KGIU4P.mjs";
27
27
 
28
28
  // src/compat.ts
29
29
  import { randomUUID } from "crypto";
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
8
- require('./chunk-6R6SQQGQ.js');
7
+ var _chunkX3GM2FO2js = require('./chunk-X3GM2FO2.js');
8
+ require('./chunk-R2DKLSIE.js');
9
9
  require('./chunk-NPBJI7RE.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-PPDBRJRW.js');
12
- require('./chunk-JNX4Y37G.js');
12
+ require('./chunk-CF4T46L6.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
15
15
 
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
127
127
  column.length,
128
128
  ...rows.map((row) => {
129
129
  const value = _nullishCoalesce(row[column], () => ( ""));
130
- return (verbose ? value : _chunkN5VOE6KZjs.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunkX3GM2FO2js.clip.call(void 0, value, 42)).length;
131
131
  })
132
132
  )
133
133
  ])
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
137
137
  const body = rows.map(
138
138
  (row) => columns.map((column) => {
139
139
  const raw = _nullishCoalesce(row[column], () => ( ""));
140
- const display = verbose ? raw : _chunkN5VOE6KZjs.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunkX3GM2FO2js.clip.call(void 0, raw, 42);
141
141
  return display.padEnd(widths[column]);
142
142
  }).join(" | ")
143
143
  );
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
157
157
  { exitCode: 2 }
158
158
  );
159
159
  }
160
- const allRows = _chunkN5VOE6KZjs.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunkX3GM2FO2js.readCsvRows.call(void 0, csvPath);
161
161
  const [rowStart, rowEnd] = parseRowRange(options.rows);
162
162
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
163
163
  const { rows: selected, columns } = selectColumns(
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
170
170
  if (options.summary) {
171
171
  const summaries = summarizeColumns(selected, columns);
172
172
  if (format === "json") {
173
- _chunkN5VOE6KZjs.printJson.call(void 0, {
173
+ _chunkX3GM2FO2js.printJson.call(void 0, {
174
174
  rows: summaries,
175
175
  total_rows: selected.length,
176
176
  source_total_rows: allRows.length
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
179
179
  }
180
180
  const displayRows = summaryDisplayRows(summaries);
181
181
  if (format === "csv") {
182
- process.stdout.write(_chunkN5VOE6KZjs.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunkX3GM2FO2js.csvStringFromRows.call(void 0, displayRows));
183
183
  return;
184
184
  }
185
185
  process.stdout.write(
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
194
194
  return;
195
195
  }
196
196
  if (format === "json") {
197
- _chunkN5VOE6KZjs.printJson.call(void 0, {
197
+ _chunkX3GM2FO2js.printJson.call(void 0, {
198
198
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
199
199
  });
200
200
  return;
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
437
437
  if (log) {
438
438
  detail = `
439
439
  CSV render log:
440
- ${_chunkN5VOE6KZjs.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunkX3GM2FO2js.clip.call(void 0, log, 2e3)}`;
441
441
  }
442
442
  } catch (e7) {
443
443
  }
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
488
488
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
489
489
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
490
490
  lines.push(`Render Health: ${payload.health_status}`);
491
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0, payload, {
491
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0, payload, {
492
492
  json: options.json,
493
493
  text: `${lines.join("\n")}
494
494
  `
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
524
524
  };
525
525
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
526
526
  ` : "No running CSV render process found.\n";
527
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
528
  }
529
529
  async function handleCsvRender(action, options) {
530
530
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,12 +4,12 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-HAC6SRO5.mjs";
8
- import "./chunk-3ET2ZKZS.mjs";
7
+ } from "./chunk-HHJYD3PC.mjs";
8
+ import "./chunk-DOWK7NOY.mjs";
9
9
  import "./chunk-MAMVGOSC.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-E4IXDAZI.mjs";
12
- import "./chunk-42JTV4IM.mjs";
12
+ import "./chunk-R4KGIU4P.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
 
@@ -4,7 +4,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkKQ5VO34Xjs = require('./chunk-KQ5VO34X.js');
7
+ var _chunkHN6WJC4Yjs = require('./chunk-HN6WJC4Y.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-2H4EY7KH.js');
10
10
  require('./chunk-KXMNM4AQ.js');
@@ -18,8 +18,8 @@ require('./chunk-XDVT3GOM.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
22
- require('./chunk-6R6SQQGQ.js');
21
+ var _chunkX3GM2FO2js = require('./chunk-X3GM2FO2.js');
22
+ require('./chunk-R2DKLSIE.js');
23
23
 
24
24
 
25
25
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
@@ -27,7 +27,7 @@ require('./chunk-XNYIZMNQ.js');
27
27
 
28
28
 
29
29
  var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
30
- require('./chunk-JNX4Y37G.js');
30
+ require('./chunk-CF4T46L6.js');
31
31
  require('./chunk-OG64RBAC.js');
32
32
  require('./chunk-COGTRVWW.js');
33
33
 
@@ -50,8 +50,8 @@ function formatCell(value) {
50
50
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
51
51
  }
52
52
  function tableLines(result) {
53
- const rows = _chunkN5VOE6KZjs.dataExportRows.call(void 0, customerDbRows(result));
54
- const responseColumns = _chunkN5VOE6KZjs.dataExportColumns.call(void 0,
53
+ const rows = _chunkX3GM2FO2js.dataExportRows.call(void 0, customerDbRows(result));
54
+ const responseColumns = _chunkX3GM2FO2js.dataExportColumns.call(void 0,
55
55
  rows,
56
56
  customerDbColumnNames(result)
57
57
  );
@@ -97,7 +97,7 @@ function tableLines(result) {
97
97
  return lines;
98
98
  }
99
99
  function customerDbRows(result) {
100
- return _chunkN5VOE6KZjs.recordRows.call(void 0, result.rows);
100
+ return _chunkX3GM2FO2js.recordRows.call(void 0, result.rows);
101
101
  }
102
102
  function customerDbColumnNames(result) {
103
103
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -150,7 +150,7 @@ function writeCustomerDbCsv(result, outPath) {
150
150
  const resolved = _path.resolve.call(void 0, outPath);
151
151
  _fs.writeFileSync.call(void 0,
152
152
  resolved,
153
- _chunkN5VOE6KZjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
153
+ _chunkX3GM2FO2js.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
154
154
  "utf-8"
155
155
  );
156
156
  return resolved;
@@ -191,7 +191,7 @@ function dbQueryExportEnvelope(input) {
191
191
  function renderDbQueryResult(result, query, options) {
192
192
  const { sql, maxRows, operationKey } = query;
193
193
  const { format, out: outPath, json: explicitJsonOutput = false } = options;
194
- const jsonOutput = explicitJsonOutput || _chunkN5VOE6KZjs.shouldEmitJson.call(void 0, );
194
+ const jsonOutput = explicitJsonOutput || _chunkX3GM2FO2js.shouldEmitJson.call(void 0, );
195
195
  const toolPayload = JSON.stringify({
196
196
  sql,
197
197
  result_mode: "rows",
@@ -202,7 +202,7 @@ function renderDbQueryResult(result, query, options) {
202
202
  if (format === "csv") {
203
203
  if (outPath) {
204
204
  const exportedPath = writeCustomerDbCsv(result, outPath);
205
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
205
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
206
206
  dbQueryExportEnvelope({
207
207
  result,
208
208
  format,
@@ -218,7 +218,7 @@ function renderDbQueryResult(result, query, options) {
218
218
  );
219
219
  return;
220
220
  }
221
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
221
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
222
222
  dbQueryExportEnvelope({
223
223
  result,
224
224
  format,
@@ -228,7 +228,7 @@ function renderDbQueryResult(result, query, options) {
228
228
  }),
229
229
  {
230
230
  json: explicitJsonOutput,
231
- text: _chunkN5VOE6KZjs.dataExportCsvString.call(void 0,
231
+ text: _chunkX3GM2FO2js.dataExportCsvString.call(void 0,
232
232
  customerDbRows(result),
233
233
  customerDbColumnNames(result)
234
234
  )
@@ -237,14 +237,14 @@ function renderDbQueryResult(result, query, options) {
237
237
  return;
238
238
  }
239
239
  if (format === "markdown") {
240
- const content = _chunkN5VOE6KZjs.markdownTableFromRows.call(void 0,
240
+ const content = _chunkX3GM2FO2js.markdownTableFromRows.call(void 0,
241
241
  customerDbRows(result),
242
242
  customerDbColumnNames(result)
243
243
  );
244
244
  if (outPath) {
245
245
  const exportedPath = _path.resolve.call(void 0, outPath);
246
246
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
247
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
247
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
248
248
  dbQueryExportEnvelope({
249
249
  result,
250
250
  format,
@@ -260,7 +260,7 @@ function renderDbQueryResult(result, query, options) {
260
260
  );
261
261
  return;
262
262
  }
263
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
263
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
264
264
  dbQueryExportEnvelope({
265
265
  result,
266
266
  format,
@@ -275,7 +275,7 @@ function renderDbQueryResult(result, query, options) {
275
275
  );
276
276
  return;
277
277
  }
278
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
278
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
279
279
  {
280
280
  ...result,
281
281
  next: {
@@ -349,9 +349,9 @@ async function runDbQueryCommand(options) {
349
349
  ...maxRows === void 0 ? {} : { maxRows },
350
350
  ...operationKey === void 0 ? {} : { operationKey }
351
351
  };
352
- const plan = _chunkKQ5VO34Xjs.planCustomerDbQuery.call(void 0, query);
352
+ const plan = _chunkHN6WJC4Yjs.planCustomerDbQuery.call(void 0, query);
353
353
  if (options.dryRun) {
354
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
354
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  dryRun: true,
357
357
  ...plan,
@@ -364,11 +364,11 @@ async function runDbQueryCommand(options) {
364
364
  ...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
365
365
  }
366
366
  },
367
- { json: options.json || _chunkN5VOE6KZjs.shouldEmitJson.call(void 0, ) }
367
+ { json: options.json || _chunkX3GM2FO2js.shouldEmitJson.call(void 0, ) }
368
368
  );
369
369
  return 0;
370
370
  }
371
- const client = new (0, _chunkKQ5VO34Xjs.DeeplineClient)();
371
+ const client = new (0, _chunkHN6WJC4Yjs.DeeplineClient)();
372
372
  const result = await client.db.query(query);
373
373
  renderDbQueryResult(result, query, {
374
374
  format,
@@ -377,8 +377,8 @@ async function runDbQueryCommand(options) {
377
377
  });
378
378
  return 0;
379
379
  } catch (error) {
380
- if (error instanceof _chunkNPBJI7REjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkN5VOE6KZjs.shouldEmitJson.call(void 0, ))) {
381
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
380
+ if (error instanceof _chunkNPBJI7REjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkX3GM2FO2js.shouldEmitJson.call(void 0, ))) {
381
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: false,
384
384
  error: {
@@ -426,8 +426,8 @@ function dbRepairPlainText(result) {
426
426
  async function handleDbRepair(args) {
427
427
  const providerIndex = args.indexOf("--provider");
428
428
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
429
- const jsonOutput = _chunkN5VOE6KZjs.argsWantJson.call(void 0, args);
430
- const client = new (0, _chunkKQ5VO34Xjs.DeeplineClient)();
429
+ const jsonOutput = _chunkX3GM2FO2js.argsWantJson.call(void 0, args);
430
+ const client = new (0, _chunkHN6WJC4Yjs.DeeplineClient)();
431
431
  let result;
432
432
  try {
433
433
  result = await client.repairIngestionStorage(
@@ -443,7 +443,7 @@ async function handleDbRepair(args) {
443
443
  console.error(errorMessage2(error));
444
444
  return 1;
445
445
  }
446
- _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
446
+ _chunkX3GM2FO2js.printCommandEnvelope.call(void 0,
447
447
  {
448
448
  command: "db repair",
449
449
  status: result.status,