deepline 0.3.357 → 0.3.359

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 +7 -1
  2. package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +14 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +52 -19
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +35 -18
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +202 -44
  6. package/dist/cli/auth-CN5UHM3M.js +33 -0
  7. package/dist/cli/{auth-5Y2YV5LY.mjs → auth-ZOW4L37H.mjs} +6 -4
  8. package/dist/cli/{billing-UOFR7KDB.mjs → billing-JPMZX77W.mjs} +5 -5
  9. package/dist/cli/{billing-Y6IKDJ6H.js → billing-YZJ5Q4ZC.js} +74 -74
  10. package/dist/cli/{chunk-LJTZVC2T.mjs → chunk-36TKIMVG.mjs} +2 -2
  11. package/dist/cli/{chunk-SXXUOZRS.js → chunk-3EF4OMSE.js} +6 -1
  12. package/dist/cli/{chunk-2NZUC5OS.mjs → chunk-4DCOBHTZ.mjs} +4 -4
  13. package/dist/cli/{chunk-4YXJTQ5X.js → chunk-5ZKZWXVN.js} +5 -5
  14. package/dist/cli/{chunk-NZ6BT4NL.mjs → chunk-72362UER.mjs} +7 -7
  15. package/dist/cli/{chunk-5UNTNKNX.js → chunk-ARNODHMC.js} +6 -6
  16. package/dist/cli/{chunk-N47R7S3E.mjs → chunk-BJYW3XTM.mjs} +6 -1
  17. package/dist/cli/{chunk-SMLKQAEB.mjs → chunk-DZ34Z4DO.mjs} +3 -3
  18. package/dist/cli/{chunk-SCY4UCEZ.js → chunk-EMMXSY6F.js} +75 -50
  19. package/dist/cli/{chunk-VG5WMYSF.mjs → chunk-FCZIE4UQ.mjs} +3 -3
  20. package/dist/cli/{chunk-EWTVIN3O.js → chunk-I7XYIKAK.js} +47 -47
  21. package/dist/cli/{chunk-VXH4225Y.mjs → chunk-JHX6XSLT.mjs} +27 -2
  22. package/dist/cli/{chunk-ZYPSNUDU.js → chunk-LDGO56ZU.js} +231 -231
  23. package/dist/cli/{chunk-WQSV34KV.js → chunk-LXKJTNB3.js} +11 -11
  24. package/dist/cli/{chunk-O7IM72KW.mjs → chunk-M2DOAC65.mjs} +15 -15
  25. package/dist/cli/{chunk-R5P3KFF5.js → chunk-P4CCF5ZV.js} +8 -8
  26. package/dist/cli/{chunk-CPQIVH6G.js → chunk-QDLSDKEK.js} +8 -8
  27. package/dist/cli/chunk-QFBHEQCQ.mjs +1421 -0
  28. package/dist/cli/chunk-QILHWZFP.js +1421 -0
  29. package/dist/cli/{chunk-C2EHMMME.js → chunk-SVAI3Z3Q.js} +64 -60
  30. package/dist/cli/{chunk-2AROJ4EZ.mjs → chunk-U2G2WO43.mjs} +2 -2
  31. package/dist/cli/{chunk-6P235JSN.js → chunk-UC6KM43R.js} +15 -15
  32. package/dist/cli/{chunk-XYD76KJB.mjs → chunk-UKXON54N.mjs} +8 -8
  33. package/dist/cli/{chunk-NEMHJYA4.js → chunk-VGXKDHTJ.js} +2 -2
  34. package/dist/cli/{chunk-J4A4MRBK.js → chunk-WLDT7GTI.js} +26 -26
  35. package/dist/cli/{chunk-IWBFG4XI.mjs → chunk-WNBXT425.mjs} +1 -1
  36. package/dist/cli/{chunk-PJYCAGKK.mjs → chunk-WR7H6MZ6.mjs} +1 -1
  37. package/dist/cli/{chunk-QYCAH7SM.mjs → chunk-ZY6QZZ5K.mjs} +6 -2
  38. package/dist/cli/{client-23QTYYIR.mjs → client-32IMOGBO.mjs} +4 -4
  39. package/dist/cli/client-TNHDPNDK.js +20 -0
  40. package/dist/cli/command-docs.d.mts +50 -0
  41. package/dist/cli/command-docs.d.ts +50 -0
  42. package/dist/cli/command-docs.js +13 -0
  43. package/dist/cli/command-docs.mjs +13 -0
  44. package/dist/cli/{csv-VKEF5C65.mjs → csv-4QWZUAJP.mjs} +3 -3
  45. package/dist/cli/{csv-SQIEBX66.js → csv-BCPDP5UL.js} +12 -12
  46. package/dist/cli/{db-Z33ZRE3N.js → db-OF2SH2BI.js} +30 -30
  47. package/dist/cli/{db-KX7FDHL4.mjs → db-T4CMZPJQ.mjs} +5 -5
  48. package/dist/cli/{describe-K2SJ22B3.mjs → describe-5WQ55FIR.mjs} +16 -16
  49. package/dist/cli/{describe-5ZQ6KIJH.js → describe-LIHZ4U6X.js} +21 -21
  50. package/dist/cli/{executions-KCZZY6SS.js → executions-JSXFOVBH.js} +7 -7
  51. package/dist/cli/{executions-452G2REF.mjs → executions-R7WAC2JA.mjs} +5 -5
  52. package/dist/cli/{feedback-55HU4EQY.mjs → feedback-2V5PBCPX.mjs} +3 -3
  53. package/dist/cli/{feedback-BM7ZNH7Y.js → feedback-Y42C4WP2.js} +7 -7
  54. package/dist/cli/git-D5SJIU36.js +23 -0
  55. package/dist/cli/{git-CAPESVAJ.mjs → git-Y6VXODAK.mjs} +4 -4
  56. package/dist/cli/index.js +183 -83
  57. package/dist/cli/index.mjs +145 -45
  58. package/dist/cli/{legacy-noops-PV5AWTIZ.js → legacy-noops-KDRTNUUC.js} +7 -7
  59. package/dist/cli/{legacy-noops-3B3MG33Y.mjs → legacy-noops-YEEZNYIS.mjs} +4 -4
  60. package/dist/cli/{monitors-43R6CUFK.mjs → monitors-7GHIY5BR.mjs} +5 -5
  61. package/dist/cli/{monitors-DVFEJHQT.js → monitors-RVXH73TC.js} +86 -86
  62. package/dist/cli/{org-BGCB45VI.js → org-OMUUGH6W.js} +61 -61
  63. package/dist/cli/{org-X5WSLJRD.mjs → org-ZGU7BBDD.mjs} +5 -5
  64. package/dist/cli/{play-OFO6XZ5L.mjs → play-PB6LSSNG.mjs} +11 -11
  65. package/dist/cli/play-XKIDMLH7.js +153 -0
  66. package/dist/cli/{providers-L2MPYA3E.mjs → providers-GFR4DPBC.mjs} +5 -5
  67. package/dist/cli/{providers-RJYHQC4J.js → providers-J3OTP5VK.js} +8 -8
  68. package/dist/cli/{quickstart-E6OWYYMT.js → quickstart-ALUTGFAA.js} +7 -7
  69. package/dist/cli/{quickstart-NHFMGZ3B.mjs → quickstart-MXH3LZQ5.mjs} +5 -5
  70. package/dist/cli/{search-IPTZAOUE.mjs → search-OVRR4XOJ.mjs} +6 -6
  71. package/dist/cli/search-X3IZW2TP.js +26 -0
  72. package/dist/cli/{secrets-6LD4CA2X.js → secrets-KT4OFUKB.js} +14 -14
  73. package/dist/cli/{secrets-TCOPPNXR.mjs → secrets-VXXVGDET.mjs} +5 -5
  74. package/dist/cli/{sessions-QV4LUKEP.js → sessions-GXDEX5EM.js} +5 -5
  75. package/dist/cli/{sessions-D4JETMAW.mjs → sessions-JP4XKXEJ.mjs} +4 -4
  76. package/dist/cli/{settings-JOYKXSY7.js → settings-BJT3RAJD.js} +75 -75
  77. package/dist/cli/{settings-IVJPCORG.mjs → settings-MMC5Q5FJ.mjs} +8 -8
  78. package/dist/cli/{setup-WCKQK7FE.mjs → setup-6LWUQ34C.mjs} +8 -8
  79. package/dist/cli/{setup-MIJZTYMH.js → setup-RP4VN7WE.js} +43 -43
  80. package/dist/cli/skills-3S5UET5W.js +28 -0
  81. package/dist/cli/{skills-GYWMUDDF.mjs → skills-VRVG63GO.mjs} +4 -4
  82. package/dist/cli/{tools-ILYNEPGQ.mjs → tools-M4VNLWYB.mjs} +8 -8
  83. package/dist/cli/tools-MTRW5VF6.js +40 -0
  84. package/dist/cli/update-5PPNAWY7.js +28 -0
  85. package/dist/cli/{update-P3VIHMC6.mjs → update-HXQVI37L.mjs} +6 -6
  86. package/dist/cli/{workflow-YWKK3A4X.js → workflow-JTA3DWCM.js} +19 -19
  87. package/dist/cli/{workflow-A6ID4C6N.mjs → workflow-PE2IONVL.mjs} +9 -9
  88. package/dist/index.js +13 -13
  89. package/dist/index.mjs +12 -12
  90. package/dist/install-integrity.json +80 -74
  91. package/dist/release.d.mts +5 -1
  92. package/dist/release.d.ts +5 -1
  93. package/dist/release.js +2 -2
  94. package/dist/release.mjs +1 -1
  95. package/package.json +6 -1
  96. package/dist/cli/auth-AABYKR2S.js +0 -31
  97. package/dist/cli/client-3DYV3HZ4.js +0 -20
  98. package/dist/cli/git-VESXOJ4M.js +0 -23
  99. package/dist/cli/play-ZO4HDGMC.js +0 -153
  100. package/dist/cli/search-2FJA6OH4.js +0 -26
  101. package/dist/cli/skills-JL4J5CII.js +0 -28
  102. package/dist/cli/tools-ZOKG4AX4.js +0 -40
  103. package/dist/cli/update-WUMDEAEE.js +0 -28
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5UNTNKNXjs = require('./chunk-5UNTNKNX.js');
5
+ var _chunkARNODHMCjs = require('./chunk-ARNODHMC.js');
6
6
 
7
7
 
8
- var _chunk4YXJTQ5Xjs = require('./chunk-4YXJTQ5X.js');
8
+ var _chunk5ZKZWXVNjs = require('./chunk-5ZKZWXVN.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
39
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
139
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
153
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
200
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
227
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
254
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
269
+ _chunkARNODHMCjs.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 = _chunk4YXJTQ5Xjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunk5ZKZWXVNjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunk5UNTNKNXjs.openInBrowser.call(void 0, connectUrl);
292
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkARNODHMCjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
322
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
371
+ _chunkARNODHMCjs.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 } = _chunk5UNTNKNXjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0,
392
+ _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-QYCAH7SM.mjs";
3
+ } from "./chunk-ZY6QZZ5K.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-VG5WMYSF.mjs";
6
+ } from "./chunk-FCZIE4UQ.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-PJYCAGKK.mjs";
6
+ } from "./chunk-WR7H6MZ6.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-VG5WMYSF.mjs";
25
+ } from "./chunk-FCZIE4UQ.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -81,6 +81,10 @@ var DEFAULT_V1_SKILL_NAMES = [
81
81
  "clay-to-deepline",
82
82
  "deepline-analytics",
83
83
  "deepline-engine",
84
+ // Retired: its guidance lives in `feedback send --help` and `sessions send
85
+ // --help`. Kept as a stub because installed CLIs list it and refuse to
86
+ // sync any skill when the published index lacks a listed name. Move to
87
+ // LEGACY_SKILL_NAMES_TO_REMOVE once those CLIs are out of the field.
84
88
  "deepline-feedback",
85
89
  "deepline-gtm",
86
90
  "deepline-plays",
@@ -3,13 +3,13 @@ import {
3
3
  MONITOR_JOB_PHASES,
4
4
  MONITOR_JOB_RECONCILIATION_STATES,
5
5
  MONITOR_JOB_STATES
6
- } from "./chunk-NZ6BT4NL.mjs";
6
+ } from "./chunk-72362UER.mjs";
7
+ import "./chunk-6IKARAYD.mjs";
7
8
  import "./chunk-CBVIJSHF.mjs";
8
- import "./chunk-VG5WMYSF.mjs";
9
+ import "./chunk-FCZIE4UQ.mjs";
9
10
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-N47R7S3E.mjs";
11
- import "./chunk-6IKARAYD.mjs";
12
11
  import "./chunk-NXGCO4JB.mjs";
12
+ import "./chunk-BJYW3XTM.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
  export {
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkLXKJTNB3js = require('./chunk-LXKJTNB3.js');
7
+ require('./chunk-S6R3OX7B.js');
8
+ require('./chunk-LA46MMTL.js');
9
+ require('./chunk-5ZKZWXVN.js');
10
+ require('./chunk-XNYIZMNQ.js');
11
+ require('./chunk-7P5AA3SN.js');
12
+ require('./chunk-3EF4OMSE.js');
13
+ require('./chunk-OG64RBAC.js');
14
+ require('./chunk-COGTRVWW.js');
15
+
16
+
17
+
18
+
19
+
20
+ exports.DeeplineClient = _chunkLXKJTNB3js.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkLXKJTNB3js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkLXKJTNB3js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkLXKJTNB3js.MONITOR_JOB_STATES;
@@ -0,0 +1,50 @@
1
+ /// <reference path="./text-imports.d.ts" />
2
+ /**
3
+ * The command explanations, and the only place they are written down.
4
+ *
5
+ * `deepline <command> --help` appends the `core` text after commander's own
6
+ * help output, or `core` and then `verbose` the first time that command's help
7
+ * is read in an agent session (see help-seen.ts); `--help --verbose` always
8
+ * appends both; `--help --quiet` appends nothing. The MCP server serves the
9
+ * same text through the `deepline_help` tool, so a restricted client reads the
10
+ * identical explanation an agent with a shell would see.
11
+ *
12
+ * Every entry answers, in this order: what the command is for, when to reach
13
+ * for it, exactly what input it accepts, exactly what it prints, whether it
14
+ * spends credits, and what not to do with it. Agents guess input and output
15
+ * formats when a help page leaves them out, and then write parsing code for
16
+ * cases that do not exist; keep those two sections literal.
17
+ *
18
+ * Keys are the command path without the `deepline` prefix. The
19
+ * `command-docs.test.ts` suite fails when a key names a command that does not
20
+ * exist and when a golden-path command has no entry, so a rename or removal
21
+ * cannot leave stale text behind.
22
+ */
23
+ type CommandDoc = {
24
+ /** Shown by default at the end of `--help`. */
25
+ core: string;
26
+ /** Shown after `core` with `--help --verbose`. */
27
+ verbose?: string;
28
+ };
29
+ type HelpDetail = 'quiet' | 'core' | 'verbose';
30
+ declare const COMMAND_DOCS: Record<string, CommandDoc>;
31
+ /** The command path (without the program name) for a commander command. */
32
+ declare function commandDocKey(command: {
33
+ name(): string;
34
+ parent: {
35
+ name(): string;
36
+ parent: unknown;
37
+ } | null;
38
+ }): string;
39
+ declare function helpDetailFromArgv(argv: readonly string[]): HelpDetail;
40
+ /**
41
+ * The explanation text for one command at one detail level, or '' when the
42
+ * level is quiet or the command has no entry. The returned text is complete:
43
+ * it ends with the pointer to the other detail level.
44
+ */
45
+ declare function renderCommandExplanation(key: string, detail: HelpDetail, options?: {
46
+ pointer?: boolean;
47
+ firstRead?: boolean;
48
+ }): string;
49
+
50
+ export { COMMAND_DOCS, type CommandDoc, type HelpDetail, commandDocKey, helpDetailFromArgv, renderCommandExplanation };
@@ -0,0 +1,50 @@
1
+ /// <reference path="./text-imports.d.ts" />
2
+ /**
3
+ * The command explanations, and the only place they are written down.
4
+ *
5
+ * `deepline <command> --help` appends the `core` text after commander's own
6
+ * help output, or `core` and then `verbose` the first time that command's help
7
+ * is read in an agent session (see help-seen.ts); `--help --verbose` always
8
+ * appends both; `--help --quiet` appends nothing. The MCP server serves the
9
+ * same text through the `deepline_help` tool, so a restricted client reads the
10
+ * identical explanation an agent with a shell would see.
11
+ *
12
+ * Every entry answers, in this order: what the command is for, when to reach
13
+ * for it, exactly what input it accepts, exactly what it prints, whether it
14
+ * spends credits, and what not to do with it. Agents guess input and output
15
+ * formats when a help page leaves them out, and then write parsing code for
16
+ * cases that do not exist; keep those two sections literal.
17
+ *
18
+ * Keys are the command path without the `deepline` prefix. The
19
+ * `command-docs.test.ts` suite fails when a key names a command that does not
20
+ * exist and when a golden-path command has no entry, so a rename or removal
21
+ * cannot leave stale text behind.
22
+ */
23
+ type CommandDoc = {
24
+ /** Shown by default at the end of `--help`. */
25
+ core: string;
26
+ /** Shown after `core` with `--help --verbose`. */
27
+ verbose?: string;
28
+ };
29
+ type HelpDetail = 'quiet' | 'core' | 'verbose';
30
+ declare const COMMAND_DOCS: Record<string, CommandDoc>;
31
+ /** The command path (without the program name) for a commander command. */
32
+ declare function commandDocKey(command: {
33
+ name(): string;
34
+ parent: {
35
+ name(): string;
36
+ parent: unknown;
37
+ } | null;
38
+ }): string;
39
+ declare function helpDetailFromArgv(argv: readonly string[]): HelpDetail;
40
+ /**
41
+ * The explanation text for one command at one detail level, or '' when the
42
+ * level is quiet or the command has no entry. The returned text is complete:
43
+ * it ends with the pointer to the other detail level.
44
+ */
45
+ declare function renderCommandExplanation(key: string, detail: HelpDetail, options?: {
46
+ pointer?: boolean;
47
+ firstRead?: boolean;
48
+ }): string;
49
+
50
+ export { COMMAND_DOCS, type CommandDoc, type HelpDetail, commandDocKey, helpDetailFromArgv, renderCommandExplanation };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkQILHWZFPjs = require('./chunk-QILHWZFP.js');
7
+ require('./chunk-COGTRVWW.js');
8
+
9
+
10
+
11
+
12
+
13
+ exports.COMMAND_DOCS = _chunkQILHWZFPjs.COMMAND_DOCS; exports.commandDocKey = _chunkQILHWZFPjs.commandDocKey; exports.helpDetailFromArgv = _chunkQILHWZFPjs.helpDetailFromArgv; exports.renderCommandExplanation = _chunkQILHWZFPjs.renderCommandExplanation;
@@ -0,0 +1,13 @@
1
+ import {
2
+ COMMAND_DOCS,
3
+ commandDocKey,
4
+ helpDetailFromArgv,
5
+ renderCommandExplanation
6
+ } from "./chunk-QFBHEQCQ.mjs";
7
+ import "./chunk-KRD6H754.mjs";
8
+ export {
9
+ COMMAND_DOCS,
10
+ commandDocKey,
11
+ helpDetailFromArgv,
12
+ renderCommandExplanation
13
+ };
@@ -4,11 +4,11 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-PJYCAGKK.mjs";
8
- import "./chunk-VG5WMYSF.mjs";
7
+ } from "./chunk-WR7H6MZ6.mjs";
8
+ import "./chunk-FCZIE4UQ.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
- import "./chunk-N47R7S3E.mjs";
11
10
  import "./chunk-NXGCO4JB.mjs";
11
+ import "./chunk-BJYW3XTM.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
14
14
 
@@ -4,11 +4,11 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk5UNTNKNXjs = require('./chunk-5UNTNKNX.js');
8
- require('./chunk-4YXJTQ5X.js');
7
+ var _chunkARNODHMCjs = require('./chunk-ARNODHMC.js');
8
+ require('./chunk-5ZKZWXVN.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
- require('./chunk-SXXUOZRS.js');
11
10
  require('./chunk-7P5AA3SN.js');
11
+ require('./chunk-3EF4OMSE.js');
12
12
  require('./chunk-OG64RBAC.js');
13
13
  require('./chunk-COGTRVWW.js');
14
14
 
@@ -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 : _chunk5UNTNKNXjs.clip.call(void 0, value, 42)).length;
129
+ return (verbose ? value : _chunkARNODHMCjs.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 : _chunk5UNTNKNXjs.clip.call(void 0, raw, 42);
139
+ const display = verbose ? raw : _chunkARNODHMCjs.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 = _chunk5UNTNKNXjs.readCsvRows.call(void 0, csvPath);
159
+ const allRows = _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printJson.call(void 0, {
172
+ _chunkARNODHMCjs.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(_chunk5UNTNKNXjs.csvStringFromRows.call(void 0, displayRows));
181
+ process.stdout.write(_chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printJson.call(void 0, {
196
+ _chunkARNODHMCjs.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
- ${_chunk5UNTNKNXjs.clip.call(void 0, log, 2e3)}`;
439
+ ${_chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0, payload, {
490
+ _chunkARNODHMCjs.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
- _chunk5UNTNKNXjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
526
+ _chunkARNODHMCjs.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"));