deepline 0.3.306 → 0.3.307

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 (87) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +10 -5
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +4 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +125 -19
  5. package/dist/cli/{auth-WTC7LCQ6.mjs → auth-AJPTFFC7.mjs} +4 -4
  6. package/dist/cli/auth-TUQTQIH4.js +31 -0
  7. package/dist/cli/{billing-VQM65LVP.mjs → billing-LPDYJLIL.mjs} +4 -4
  8. package/dist/cli/{billing-3DYTHO32.js → billing-SPBWUEOS.js} +70 -70
  9. package/dist/cli/{chunk-2KR56MPF.js → chunk-76MFV3AC.js} +2 -2
  10. package/dist/cli/{chunk-6CRUYVU7.mjs → chunk-7ONALPWY.mjs} +4 -4
  11. package/dist/cli/{chunk-M6HCRRV2.js → chunk-AKE6ZFIJ.js} +4 -4
  12. package/dist/cli/{chunk-5HS5EEFE.mjs → chunk-BDFVIOLY.mjs} +3 -3
  13. package/dist/cli/{chunk-5V56XCQN.mjs → chunk-D55NIPGU.mjs} +1 -1
  14. package/dist/cli/{chunk-U37SW6IK.js → chunk-DF3XJ2V2.js} +48 -48
  15. package/dist/cli/{chunk-FJ3DANI4.mjs → chunk-G4SSYZND.mjs} +1 -1
  16. package/dist/cli/{chunk-SZQPJW2L.js → chunk-GUIQWUCB.js} +6 -6
  17. package/dist/cli/{chunk-RODIZCGU.js → chunk-HWCB5MHF.js} +57 -57
  18. package/dist/cli/{chunk-QDC4XTO3.mjs → chunk-ILOCS73R.mjs} +2 -2
  19. package/dist/cli/{chunk-OF7QP2XX.js → chunk-IVXD2KA2.js} +15 -15
  20. package/dist/cli/{chunk-MMNZ6GBT.js → chunk-JNHXSZPB.js} +6 -6
  21. package/dist/cli/{chunk-FZNO6B4W.js → chunk-K2CQ2RBJ.js} +6 -6
  22. package/dist/cli/{chunk-PHNAFCSB.js → chunk-KCHBE2J3.js} +6 -6
  23. package/dist/cli/{chunk-4PSSDZQB.mjs → chunk-MPVXXDWH.mjs} +1 -1
  24. package/dist/cli/{chunk-OZIFVQRY.js → chunk-MZQP7CIL.js} +1 -1
  25. package/dist/cli/{chunk-WV64SNDV.mjs → chunk-O4OESDIN.mjs} +1 -1
  26. package/dist/cli/{chunk-WWPI4GJI.mjs → chunk-QACDLYNO.mjs} +1 -1
  27. package/dist/cli/{chunk-UT3VLSLM.mjs → chunk-RXYYANYP.mjs} +2 -2
  28. package/dist/cli/{chunk-LLGF6V6I.mjs → chunk-TLTKAJ6S.mjs} +1 -1
  29. package/dist/cli/{chunk-7XORS6WQ.mjs → chunk-ZGICKTW7.mjs} +2 -2
  30. package/dist/cli/{chunk-W7ELTWDM.js → chunk-ZIF6JOOI.js} +26 -26
  31. package/dist/cli/{client-DCEK34D5.mjs → client-7ZL4ROII.mjs} +3 -3
  32. package/dist/cli/client-S3MIFPM2.js +20 -0
  33. package/dist/cli/{csv-H42JDJ6G.js → csv-JUDFG7JV.js} +12 -12
  34. package/dist/cli/{csv-LXBF5UIV.mjs → csv-Y3LYCTGD.mjs} +3 -3
  35. package/dist/cli/{db-DP5GU4MU.js → db-5IXGEXNT.js} +20 -20
  36. package/dist/cli/{db-3O5CFLNP.mjs → db-GCOJD2BD.mjs} +4 -4
  37. package/dist/cli/{executions-QC2UZKIP.mjs → executions-FIICTMSY.mjs} +4 -4
  38. package/dist/cli/{executions-5FFTPHEX.js → executions-LIEQKFT7.js} +6 -6
  39. package/dist/cli/{feedback-JCGE6JFW.mjs → feedback-3OVAA3C7.mjs} +3 -3
  40. package/dist/cli/{feedback-XAU3FI5S.js → feedback-FAADYNAR.js} +6 -6
  41. package/dist/cli/{git-S3Y3E2NL.mjs → git-ESMYCYJO.mjs} +4 -4
  42. package/dist/cli/git-GG6LWE2R.js +23 -0
  43. package/dist/cli/index.js +73 -73
  44. package/dist/cli/index.mjs +30 -30
  45. package/dist/cli/{legacy-noops-FQF2IRVS.mjs → legacy-noops-KP5CPZRK.mjs} +4 -4
  46. package/dist/cli/{legacy-noops-TXOUX4FX.js → legacy-noops-PKI3RFZW.js} +7 -7
  47. package/dist/cli/{monitors-F3PELPSH.mjs → monitors-A6KGGSBO.mjs} +4 -4
  48. package/dist/cli/{monitors-4BQCO6B7.js → monitors-KCFBLAFZ.js} +85 -85
  49. package/dist/cli/{org-ER5J3ATG.mjs → org-DHI24UOK.mjs} +4 -4
  50. package/dist/cli/{org-VQM6OOLK.js → org-WI6DEXZQ.js} +60 -60
  51. package/dist/cli/{play-B5H2RN4N.mjs → play-2YXLQD24.mjs} +6 -6
  52. package/dist/cli/{play-WKZPAOW3.js → play-4EUUN76H.js} +200 -200
  53. package/dist/cli/{providers-6ODEAYC2.mjs → providers-2WZ6KHH2.mjs} +4 -4
  54. package/dist/cli/{providers-5TEA2FJG.js → providers-DWS3XIM6.js} +7 -7
  55. package/dist/cli/{quickstart-GJYCNMFC.js → quickstart-TDTDKM6F.js} +5 -5
  56. package/dist/cli/{quickstart-BCYT7BCY.mjs → quickstart-ZFZVG6UO.mjs} +3 -3
  57. package/dist/cli/{search-RY547KOT.mjs → search-BBE2ZMCI.mjs} +5 -5
  58. package/dist/cli/{search-KKJ535OX.js → search-GMPXRQF4.js} +6 -6
  59. package/dist/cli/{secrets-U42ZEYIU.mjs → secrets-JEJL3KIM.mjs} +4 -4
  60. package/dist/cli/{secrets-RFGDXSEW.js → secrets-SMBX4IE6.js} +13 -13
  61. package/dist/cli/{sessions-YWEFB62D.mjs → sessions-AVU353UT.mjs} +4 -4
  62. package/dist/cli/{sessions-ZRTWHMIH.js → sessions-S6AWG747.js} +5 -5
  63. package/dist/cli/{settings-AS4U6NVP.mjs → settings-GY5CYRLF.mjs} +7 -7
  64. package/dist/cli/{settings-XUWFXIL7.js → settings-KBW4ROHC.js} +74 -74
  65. package/dist/cli/{setup-2GUIV2EW.mjs → setup-4CW3XGGX.mjs} +6 -6
  66. package/dist/cli/{setup-2QPWP2FI.js → setup-WSVIDSEV.js} +41 -41
  67. package/dist/cli/skills-6AU3RRAD.js +28 -0
  68. package/dist/cli/{skills-5QS7ERVF.mjs → skills-U3NXFSFK.mjs} +4 -4
  69. package/dist/cli/{tools-J47LIO2H.js → tools-KZKELW25.js} +50 -50
  70. package/dist/cli/{tools-PVWSGCZD.mjs → tools-XU6KLJZT.mjs} +5 -5
  71. package/dist/cli/update-LVXXQF4A.js +28 -0
  72. package/dist/cli/{update-KS4TRSZI.mjs → update-RZLH46DR.mjs} +6 -6
  73. package/dist/cli/{workflow-HQRUUTTL.js → workflow-GDOGDGTZ.js} +15 -15
  74. package/dist/cli/{workflow-QCLR7GVC.mjs → workflow-ZQUKQI35.mjs} +5 -5
  75. package/dist/index.js +6 -6
  76. package/dist/index.mjs +3 -3
  77. package/dist/install-integrity.json +68 -68
  78. package/dist/release.d.mts +1 -1
  79. package/dist/release.d.ts +1 -1
  80. package/dist/release.js +2 -2
  81. package/dist/release.mjs +1 -1
  82. package/package.json +1 -1
  83. package/dist/cli/auth-ZT3UF33R.js +0 -31
  84. package/dist/cli/client-UQXVU2T6.js +0 -20
  85. package/dist/cli/git-CNO2UFZE.js +0 -23
  86. package/dist/cli/skills-4E5KYW2Y.js +0 -28
  87. package/dist/cli/update-GZKGOMKD.js +0 -28
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DLIRSHV6.mjs";
5
5
  import {
6
6
  SDK_RELEASE
7
- } from "./chunk-WWPI4GJI.mjs";
7
+ } from "./chunk-QACDLYNO.mjs";
8
8
  import {
9
9
  DeeplineError,
10
10
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION,
@@ -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.306",
52
+ version: "0.3.307",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-5V56XCQN.mjs";
4
+ } from "./chunk-D55NIPGU.mjs";
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
  import {
@@ -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.306",
52
+ version: "0.3.307",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-5V56XCQN.mjs";
6
+ } from "./chunk-D55NIPGU.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-4PSSDZQB.mjs";
25
+ } from "./chunk-MPVXXDWH.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -14,7 +14,7 @@ import {
14
14
  RETAINED_PIPELINE_RECEIVERS_HEADER,
15
15
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
16
16
  resolveConfig
17
- } from "./chunk-4PSSDZQB.mjs";
17
+ } from "./chunk-MPVXXDWH.mjs";
18
18
  import {
19
19
  PLAY_RUNTIME_BACKENDS,
20
20
  RAW_V2_TOOL_RESPONSE_CONTRACT,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-5V56XCQN.mjs";
5
+ } from "./chunk-D55NIPGU.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-4PSSDZQB.mjs";
28
+ } from "./chunk-MPVXXDWH.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
5
+ var _chunkJNHXSZPBjs = require('./chunk-JNHXSZPB.js');
6
6
 
7
7
 
8
- var _chunkM6HCRRV2js = require('./chunk-M6HCRRV2.js');
8
+ var _chunkAKE6ZFIJjs = require('./chunk-AKE6ZFIJ.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkJNHXSZPBjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
39
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkJNHXSZPBjs.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
139
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkJNHXSZPBjs.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
153
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkJNHXSZPBjs.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
200
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkJNHXSZPBjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
227
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkJNHXSZPBjs.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
254
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkJNHXSZPBjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
269
+ _chunkJNHXSZPBjs.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 = _chunkM6HCRRV2js.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkAKE6ZFIJjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkMMNZ6GBTjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkJNHXSZPBjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkJNHXSZPBjs.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
322
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkJNHXSZPBjs.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
371
+ _chunkJNHXSZPBjs.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkJNHXSZPBjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
392
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,11 +3,11 @@ import {
3
3
  MONITOR_JOB_PHASES,
4
4
  MONITOR_JOB_RECONCILIATION_STATES,
5
5
  MONITOR_JOB_STATES
6
- } from "./chunk-LLGF6V6I.mjs";
6
+ } from "./chunk-TLTKAJ6S.mjs";
7
7
  import "./chunk-CBVIJSHF.mjs";
8
- import "./chunk-4PSSDZQB.mjs";
8
+ import "./chunk-MPVXXDWH.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-WWPI4GJI.mjs";
10
+ import "./chunk-QACDLYNO.mjs";
11
11
  import "./chunk-6IKARAYD.mjs";
12
12
  import "./chunk-NXGCO4JB.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkKCHBE2J3js = require('./chunk-KCHBE2J3.js');
7
+ require('./chunk-LA46MMTL.js');
8
+ require('./chunk-AKE6ZFIJ.js');
9
+ require('./chunk-XNYIZMNQ.js');
10
+ require('./chunk-MZQP7CIL.js');
11
+ require('./chunk-S6R3OX7B.js');
12
+ require('./chunk-7P5AA3SN.js');
13
+ require('./chunk-OG64RBAC.js');
14
+ require('./chunk-COGTRVWW.js');
15
+
16
+
17
+
18
+
19
+
20
+ exports.DeeplineClient = _chunkKCHBE2J3js.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkKCHBE2J3js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkKCHBE2J3js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkKCHBE2J3js.MONITOR_JOB_STATES;
@@ -4,10 +4,10 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
8
- require('./chunk-M6HCRRV2.js');
7
+ var _chunkJNHXSZPBjs = require('./chunk-JNHXSZPB.js');
8
+ require('./chunk-AKE6ZFIJ.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
- require('./chunk-OZIFVQRY.js');
10
+ require('./chunk-MZQP7CIL.js');
11
11
  require('./chunk-7P5AA3SN.js');
12
12
  require('./chunk-OG64RBAC.js');
13
13
  require('./chunk-COGTRVWW.js');
@@ -126,7 +126,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
126
126
  column.length,
127
127
  ...rows.map((row) => {
128
128
  const value = _nullishCoalesce(row[column], () => ( ""));
129
- return (verbose ? value : _chunkMMNZ6GBTjs.clip.call(void 0, value, 42)).length;
129
+ return (verbose ? value : _chunkJNHXSZPBjs.clip.call(void 0, value, 42)).length;
130
130
  })
131
131
  )
132
132
  ])
@@ -136,7 +136,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
136
136
  const body = rows.map(
137
137
  (row) => columns.map((column) => {
138
138
  const raw = _nullishCoalesce(row[column], () => ( ""));
139
- const display = verbose ? raw : _chunkMMNZ6GBTjs.clip.call(void 0, raw, 42);
139
+ const display = verbose ? raw : _chunkJNHXSZPBjs.clip.call(void 0, raw, 42);
140
140
  return display.padEnd(widths[column]);
141
141
  }).join(" | ")
142
142
  );
@@ -156,7 +156,7 @@ async function handleCsvShow(path, options, command) {
156
156
  { exitCode: 2 }
157
157
  );
158
158
  }
159
- const allRows = _chunkMMNZ6GBTjs.readCsvRows.call(void 0, csvPath);
159
+ const allRows = _chunkJNHXSZPBjs.readCsvRows.call(void 0, csvPath);
160
160
  const [rowStart, rowEnd] = parseRowRange(options.rows);
161
161
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
162
162
  const { rows: selected, columns } = selectColumns(
@@ -169,7 +169,7 @@ async function handleCsvShow(path, options, command) {
169
169
  if (options.summary) {
170
170
  const summaries = summarizeColumns(selected, columns);
171
171
  if (format === "json") {
172
- _chunkMMNZ6GBTjs.printJson.call(void 0, {
172
+ _chunkJNHXSZPBjs.printJson.call(void 0, {
173
173
  rows: summaries,
174
174
  total_rows: selected.length,
175
175
  source_total_rows: allRows.length
@@ -178,7 +178,7 @@ async function handleCsvShow(path, options, command) {
178
178
  }
179
179
  const displayRows = summaryDisplayRows(summaries);
180
180
  if (format === "csv") {
181
- process.stdout.write(_chunkMMNZ6GBTjs.csvStringFromRows.call(void 0, displayRows));
181
+ process.stdout.write(_chunkJNHXSZPBjs.csvStringFromRows.call(void 0, displayRows));
182
182
  return;
183
183
  }
184
184
  process.stdout.write(
@@ -193,7 +193,7 @@ async function handleCsvShow(path, options, command) {
193
193
  return;
194
194
  }
195
195
  if (format === "json") {
196
- _chunkMMNZ6GBTjs.printJson.call(void 0, {
196
+ _chunkJNHXSZPBjs.printJson.call(void 0, {
197
197
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
198
198
  });
199
199
  return;
@@ -436,7 +436,7 @@ async function handleCsvRenderStart(options) {
436
436
  if (log) {
437
437
  detail = `
438
438
  CSV render log:
439
- ${_chunkMMNZ6GBTjs.clip.call(void 0, log, 2e3)}`;
439
+ ${_chunkJNHXSZPBjs.clip.call(void 0, log, 2e3)}`;
440
440
  }
441
441
  } catch (e7) {
442
442
  }
@@ -487,7 +487,7 @@ async function handleCsvRenderStatus(options) {
487
487
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
488
488
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
489
489
  lines.push(`Render Health: ${payload.health_status}`);
490
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0, payload, {
490
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0, payload, {
491
491
  json: options.json,
492
492
  text: `${lines.join("\n")}
493
493
  `
@@ -523,7 +523,7 @@ async function handleCsvRenderStop(options) {
523
523
  };
524
524
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
525
525
  ` : "No running CSV render process found.\n";
526
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
526
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
527
  }
528
528
  async function handleCsvRender(action, options) {
529
529
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,10 +4,10 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-5V56XCQN.mjs";
8
- import "./chunk-4PSSDZQB.mjs";
7
+ } from "./chunk-D55NIPGU.mjs";
8
+ import "./chunk-MPVXXDWH.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-WWPI4GJI.mjs";
10
+ import "./chunk-QACDLYNO.mjs";
11
11
  import "./chunk-NXGCO4JB.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
@@ -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 _chunkPHNAFCSBjs = require('./chunk-PHNAFCSB.js');
3
+ var _chunkKCHBE2J3js = require('./chunk-KCHBE2J3.js');
4
4
  require('./chunk-LA46MMTL.js');
5
5
 
6
6
 
@@ -10,10 +10,10 @@ require('./chunk-LA46MMTL.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
14
- require('./chunk-M6HCRRV2.js');
13
+ var _chunkJNHXSZPBjs = require('./chunk-JNHXSZPB.js');
14
+ require('./chunk-AKE6ZFIJ.js');
15
15
  require('./chunk-XNYIZMNQ.js');
16
- require('./chunk-OZIFVQRY.js');
16
+ require('./chunk-MZQP7CIL.js');
17
17
  require('./chunk-S6R3OX7B.js');
18
18
 
19
19
 
@@ -48,8 +48,8 @@ function formatCell(value) {
48
48
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
49
49
  }
50
50
  function tableLines(result) {
51
- const rows = _chunkMMNZ6GBTjs.dataExportRows.call(void 0, customerDbRows(result));
52
- const responseColumns = _chunkMMNZ6GBTjs.dataExportColumns.call(void 0,
51
+ const rows = _chunkJNHXSZPBjs.dataExportRows.call(void 0, customerDbRows(result));
52
+ const responseColumns = _chunkJNHXSZPBjs.dataExportColumns.call(void 0,
53
53
  rows,
54
54
  customerDbColumnNames(result)
55
55
  );
@@ -95,7 +95,7 @@ function tableLines(result) {
95
95
  return lines;
96
96
  }
97
97
  function customerDbRows(result) {
98
- return _chunkMMNZ6GBTjs.recordRows.call(void 0, result.rows);
98
+ return _chunkJNHXSZPBjs.recordRows.call(void 0, result.rows);
99
99
  }
100
100
  function customerDbColumnNames(result) {
101
101
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -180,7 +180,7 @@ function writeCustomerDbCsv(result, outPath) {
180
180
  const resolved = _path.resolve.call(void 0, outPath);
181
181
  _fs.writeFileSync.call(void 0,
182
182
  resolved,
183
- _chunkMMNZ6GBTjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
183
+ _chunkJNHXSZPBjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
184
184
  "utf-8"
185
185
  );
186
186
  return resolved;
@@ -244,9 +244,9 @@ async function handleDbQuery(args) {
244
244
  console.error("--out requires a path.");
245
245
  return 1;
246
246
  }
247
- const jsonOutput = _chunkMMNZ6GBTjs.argsWantJson.call(void 0, args);
247
+ const jsonOutput = _chunkJNHXSZPBjs.argsWantJson.call(void 0, args);
248
248
  const explicitJsonOutput = args.includes("--json");
249
- const client = new (0, _chunkPHNAFCSBjs.DeeplineClient)();
249
+ const client = new (0, _chunkKCHBE2J3js.DeeplineClient)();
250
250
  let result;
251
251
  try {
252
252
  result = await client.db.query({ sql, maxRows });
@@ -263,7 +263,7 @@ async function handleDbQuery(args) {
263
263
  if (format === "csv") {
264
264
  if (outPath) {
265
265
  const exportedPath = writeCustomerDbCsv(result, outPath);
266
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
266
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0,
267
267
  dbQueryExportEnvelope({
268
268
  result,
269
269
  format,
@@ -278,7 +278,7 @@ async function handleDbQuery(args) {
278
278
  );
279
279
  return 0;
280
280
  }
281
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
281
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0,
282
282
  dbQueryExportEnvelope({
283
283
  result,
284
284
  format,
@@ -287,7 +287,7 @@ async function handleDbQuery(args) {
287
287
  }),
288
288
  {
289
289
  json: explicitJsonOutput,
290
- text: _chunkMMNZ6GBTjs.dataExportCsvString.call(void 0,
290
+ text: _chunkJNHXSZPBjs.dataExportCsvString.call(void 0,
291
291
  customerDbRows(result),
292
292
  customerDbColumnNames(result)
293
293
  )
@@ -296,14 +296,14 @@ async function handleDbQuery(args) {
296
296
  return 0;
297
297
  }
298
298
  if (format === "markdown") {
299
- const content = _chunkMMNZ6GBTjs.markdownTableFromRows.call(void 0,
299
+ const content = _chunkJNHXSZPBjs.markdownTableFromRows.call(void 0,
300
300
  customerDbRows(result),
301
301
  customerDbColumnNames(result)
302
302
  );
303
303
  if (outPath) {
304
304
  const exportedPath = _path.resolve.call(void 0, outPath);
305
305
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
306
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
306
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0,
307
307
  dbQueryExportEnvelope({
308
308
  result,
309
309
  format,
@@ -318,7 +318,7 @@ async function handleDbQuery(args) {
318
318
  );
319
319
  return 0;
320
320
  }
321
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
321
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0,
322
322
  dbQueryExportEnvelope({
323
323
  result,
324
324
  format,
@@ -332,7 +332,7 @@ async function handleDbQuery(args) {
332
332
  );
333
333
  return 0;
334
334
  }
335
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
335
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0,
336
336
  {
337
337
  ...result,
338
338
  next: { toolEquivalent: toolCommand },
@@ -350,8 +350,8 @@ async function handleDbQuery(args) {
350
350
  async function handleDbRepair(args) {
351
351
  const providerIndex = args.indexOf("--provider");
352
352
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _12 => _12[providerIndex + 1], 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) : void 0;
353
- const jsonOutput = _chunkMMNZ6GBTjs.argsWantJson.call(void 0, args);
354
- const client = new (0, _chunkPHNAFCSBjs.DeeplineClient)();
353
+ const jsonOutput = _chunkJNHXSZPBjs.argsWantJson.call(void 0, args);
354
+ const client = new (0, _chunkKCHBE2J3js.DeeplineClient)();
355
355
  let result;
356
356
  try {
357
357
  result = await client.repairIngestionStorage(
@@ -367,7 +367,7 @@ async function handleDbRepair(args) {
367
367
  console.error(errorMessage(error));
368
368
  return 1;
369
369
  }
370
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
370
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  command: "db repair",
373
373
  status: result.status,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-LLGF6V6I.mjs";
3
+ } from "./chunk-TLTKAJ6S.mjs";
4
4
  import "./chunk-CBVIJSHF.mjs";
5
5
  import {
6
6
  argsWantJson,
@@ -10,10 +10,10 @@ import {
10
10
  markdownTableFromRows,
11
11
  printCommandEnvelope,
12
12
  recordRows
13
- } from "./chunk-5V56XCQN.mjs";
14
- import "./chunk-4PSSDZQB.mjs";
13
+ } from "./chunk-D55NIPGU.mjs";
14
+ import "./chunk-MPVXXDWH.mjs";
15
15
  import "./chunk-DLIRSHV6.mjs";
16
- import "./chunk-WWPI4GJI.mjs";
16
+ import "./chunk-QACDLYNO.mjs";
17
17
  import "./chunk-6IKARAYD.mjs";
18
18
  import {
19
19
  DeeplineError
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-LLGF6V6I.mjs";
3
+ } from "./chunk-TLTKAJ6S.mjs";
4
4
  import "./chunk-CBVIJSHF.mjs";
5
5
  import {
6
6
  printCommandEnvelope
7
- } from "./chunk-5V56XCQN.mjs";
8
- import "./chunk-4PSSDZQB.mjs";
7
+ } from "./chunk-D55NIPGU.mjs";
8
+ import "./chunk-MPVXXDWH.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-WWPI4GJI.mjs";
10
+ import "./chunk-QACDLYNO.mjs";
11
11
  import "./chunk-6IKARAYD.mjs";
12
12
  import "./chunk-NXGCO4JB.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkPHNAFCSBjs = require('./chunk-PHNAFCSB.js');
3
+ var _chunkKCHBE2J3js = require('./chunk-KCHBE2J3.js');
4
4
  require('./chunk-LA46MMTL.js');
5
5
 
6
6
 
7
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
8
- require('./chunk-M6HCRRV2.js');
7
+ var _chunkJNHXSZPBjs = require('./chunk-JNHXSZPB.js');
8
+ require('./chunk-AKE6ZFIJ.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
- require('./chunk-OZIFVQRY.js');
10
+ require('./chunk-MZQP7CIL.js');
11
11
  require('./chunk-S6R3OX7B.js');
12
12
  require('./chunk-7P5AA3SN.js');
13
13
  require('./chunk-OG64RBAC.js');
@@ -17,10 +17,10 @@ require('./chunk-COGTRVWW.js');
17
17
  function registerExecutionsCommands(program) {
18
18
  const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
19
19
  executions.command("get").description("Retrieve a tool execution by its idempotency key.").requiredOption("--idempotency-key <key>", "Stable execution recovery key").option("--json", "Emit the stable JSON response").action(async (options) => {
20
- const result = await new (0, _chunkPHNAFCSBjs.DeeplineClient)().executions.getByKey(
20
+ const result = await new (0, _chunkKCHBE2J3js.DeeplineClient)().executions.getByKey(
21
21
  options.idempotencyKey
22
22
  );
23
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0, result, { json: true });
23
+ _chunkJNHXSZPBjs.printCommandEnvelope.call(void 0, result, { json: true });
24
24
  });
25
25
  }
26
26
 
@@ -2,10 +2,10 @@ import {
2
2
  collectLocalEnvInfo,
3
3
  getAuthedHttpClient,
4
4
  printCommandEnvelope
5
- } from "./chunk-5V56XCQN.mjs";
6
- import "./chunk-4PSSDZQB.mjs";
5
+ } from "./chunk-D55NIPGU.mjs";
6
+ import "./chunk-MPVXXDWH.mjs";
7
7
  import "./chunk-DLIRSHV6.mjs";
8
- import "./chunk-WWPI4GJI.mjs";
8
+ import "./chunk-QACDLYNO.mjs";
9
9
  import "./chunk-NXGCO4JB.mjs";
10
10
  import "./chunk-WZYKRD7T.mjs";
11
11
  import "./chunk-KRD6H754.mjs";