@camunda8/cli 4.7.0-alpha.20 → 4.7.0-alpha.21

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 (83) hide show
  1. package/README.md +0 -3
  2. package/dist/command-dispatch.d.ts.map +1 -1
  3. package/dist/command-dispatch.js +0 -8
  4. package/dist/command-dispatch.js.map +1 -1
  5. package/dist/commands/run.d.ts +0 -5
  6. package/dist/commands/run.d.ts.map +1 -1
  7. package/dist/commands/run.js +1 -9
  8. package/dist/commands/run.js.map +1 -1
  9. package/dist/core/errors.d.ts +17 -0
  10. package/dist/core/errors.d.ts.map +1 -1
  11. package/dist/core/errors.js +32 -0
  12. package/dist/core/errors.js.map +1 -1
  13. package/dist/default-plugins/modeler/README.md +12 -0
  14. package/dist/default-plugins/modeler/c8ctl-plugin.js +3042 -0
  15. package/dist/default-plugins/modeler/package.json +8 -0
  16. package/dist/default-plugins/setup/README.md +36 -0
  17. package/dist/default-plugins/setup/c8ctl-plugin.js +6336 -0
  18. package/dist/default-plugins/setup/package.json +8 -0
  19. package/dist/default-plugins/skills/README.md +18 -0
  20. package/dist/default-plugins/skills/c8ctl-plugin.js +572 -0
  21. package/dist/default-plugins/skills/package.json +8 -0
  22. package/dist/framework/command-registry.d.ts +0 -76
  23. package/dist/framework/command-registry.d.ts.map +1 -1
  24. package/dist/framework/command-registry.js +0 -161
  25. package/dist/framework/command-registry.js.map +1 -1
  26. package/dist/framework/plugins/plugin-loader.d.ts +5 -2
  27. package/dist/framework/plugins/plugin-loader.d.ts.map +1 -1
  28. package/dist/framework/plugins/plugin-loader.js.map +1 -1
  29. package/dist/framework/ui/help.d.ts.map +1 -1
  30. package/dist/framework/ui/help.js +26 -13
  31. package/dist/framework/ui/help.js.map +1 -1
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +7 -2
  34. package/dist/index.js.map +1 -1
  35. package/dist/utils/command-local/mcp-install-helpers.d.ts +17 -0
  36. package/dist/utils/command-local/mcp-install-helpers.d.ts.map +1 -1
  37. package/dist/utils/command-local/mcp-install-helpers.js +23 -9
  38. package/dist/utils/command-local/mcp-install-helpers.js.map +1 -1
  39. package/dist/utils/command-local/process-instance-helpers.d.ts +6 -0
  40. package/dist/utils/command-local/process-instance-helpers.d.ts.map +1 -1
  41. package/dist/utils/command-local/process-instance-helpers.js +9 -0
  42. package/dist/utils/command-local/process-instance-helpers.js.map +1 -1
  43. package/dist/utils/index.d.ts +0 -6
  44. package/dist/utils/index.d.ts.map +1 -1
  45. package/dist/utils/index.js +0 -6
  46. package/dist/utils/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/dist/commands/modeler.d.ts +0 -10
  49. package/dist/commands/modeler.d.ts.map +0 -1
  50. package/dist/commands/modeler.js +0 -604
  51. package/dist/commands/modeler.js.map +0 -1
  52. package/dist/commands/setup.d.ts +0 -39
  53. package/dist/commands/setup.d.ts.map +0 -1
  54. package/dist/commands/setup.js +0 -856
  55. package/dist/commands/setup.js.map +0 -1
  56. package/dist/commands/skills.d.ts +0 -2
  57. package/dist/commands/skills.d.ts.map +0 -1
  58. package/dist/commands/skills.js +0 -38
  59. package/dist/commands/skills.js.map +0 -1
  60. package/dist/utils/command-local/blueprint-scaffold.d.ts +0 -151
  61. package/dist/utils/command-local/blueprint-scaffold.d.ts.map +0 -1
  62. package/dist/utils/command-local/blueprint-scaffold.js +0 -547
  63. package/dist/utils/command-local/blueprint-scaffold.js.map +0 -1
  64. package/dist/utils/command-local/modeler-helpers.d.ts +0 -15
  65. package/dist/utils/command-local/modeler-helpers.d.ts.map +0 -1
  66. package/dist/utils/command-local/modeler-helpers.js +0 -67
  67. package/dist/utils/command-local/modeler-helpers.js.map +0 -1
  68. package/dist/utils/command-local/setup-detectors.d.ts +0 -51
  69. package/dist/utils/command-local/setup-detectors.d.ts.map +0 -1
  70. package/dist/utils/command-local/setup-detectors.js +0 -115
  71. package/dist/utils/command-local/setup-detectors.js.map +0 -1
  72. package/dist/utils/command-local/setup-helpers.d.ts +0 -179
  73. package/dist/utils/command-local/setup-helpers.d.ts.map +0 -1
  74. package/dist/utils/command-local/setup-helpers.js +0 -374
  75. package/dist/utils/command-local/setup-helpers.js.map +0 -1
  76. package/dist/utils/command-local/setup-prerequisites.d.ts +0 -67
  77. package/dist/utils/command-local/setup-prerequisites.d.ts.map +0 -1
  78. package/dist/utils/command-local/setup-prerequisites.js +0 -238
  79. package/dist/utils/command-local/setup-prerequisites.js.map +0 -1
  80. package/dist/utils/command-local/setup-removal.d.ts +0 -37
  81. package/dist/utils/command-local/setup-removal.d.ts.map +0 -1
  82. package/dist/utils/command-local/setup-removal.js +0 -82
  83. package/dist/utils/command-local/setup-removal.js.map +0 -1
@@ -1,374 +0,0 @@
1
- /**
2
- * Content and renderers for `c8ctl setup`: the welcome banner, the list
3
- * of components the wizard can set up, and the ordered step plan.
4
- *
5
- * Pure string builders — the command handler owns all I/O. Renderers
6
- * take a `color` flag: colored output uses true-color ANSI escapes and
7
- * belongs on an interactive terminal; piped output gets plain text.
8
- *
9
- * Colors follow the Camunda brand guide (camunda.com/brand): Royal Blue
10
- * is the primary brand color.
11
- */
12
- // ── Brand styling ──────────────────────────────────────────────────
13
- const ESC = "\x1b[";
14
- const RESET = `${ESC}0m`;
15
- const BOLD = `${ESC}1m`;
16
- const DIM = `${ESC}2m`;
17
- /** Camunda Royal Blue (#4F39F6), the primary brand color. */
18
- const BRAND_BLUE = `${ESC}38;2;79;57;246m`;
19
- /** Royal Blue as a background, with white text: fixed colors on both
20
- * sides, so the pair reads the same on dark and light terminals. */
21
- const BRAND_BLUE_BG = `${ESC}48;2;79;57;246m`;
22
- const WHITE = `${ESC}38;2;255;255;255m`;
23
- export function bannerStyle({ color }) {
24
- return color
25
- ? { brand: BRAND_BLUE, bold: BOLD, dim: DIM, reset: RESET }
26
- : { brand: "", bold: "", dim: "", reset: "" };
27
- }
28
- /**
29
- * Everything the setup wizard offers, grouped by what it is for: the
30
- * Essentials get a local Camunda 8 running with something to look at,
31
- * AI-assisted development wires the AI tooling into it. The docs MCP
32
- * server stays opt-in: the onboarding decision is to add it only on
33
- * request.
34
- */
35
- export const SETUP_COMPONENTS = [
36
- {
37
- id: "cluster",
38
- label: "Local cluster",
39
- why: "Run Camunda 8 on this machine — no Docker, no cloud account",
40
- group: "Essentials",
41
- defaultSelected: true,
42
- },
43
- {
44
- id: "modeler",
45
- label: "Desktop Modeler",
46
- why: "Draw BPMN diagrams and forms visually, deploy from the canvas",
47
- group: "Essentials",
48
- defaultSelected: true,
49
- },
50
- {
51
- id: "blueprint",
52
- label: "Starter blueprint",
53
- why: "A working example project, deployed and started for you",
54
- group: "Essentials",
55
- defaultSelected: true,
56
- requires: [{ id: "cluster", reason: "requires the local cluster" }],
57
- },
58
- {
59
- id: "skills",
60
- label: "AI assistant skills",
61
- why: "Teach Claude Code / Copilot / Cursor how to build on Camunda 8",
62
- group: "AI-assisted development",
63
- defaultSelected: true,
64
- },
65
- {
66
- id: "docs-mcp",
67
- label: "Docs MCP server",
68
- why: "Always-current Camunda 8 docs in your AI assistant (browser sign-in on first use)",
69
- group: "AI-assisted development",
70
- defaultSelected: false,
71
- },
72
- {
73
- id: "cluster-mcp",
74
- label: "Cluster MCP server",
75
- why: "Let your AI assistant inspect and operate your cluster",
76
- group: "AI-assisted development",
77
- defaultSelected: true,
78
- requires: [{ id: "cluster", reason: "requires the local cluster" }],
79
- },
80
- ];
81
- /**
82
- * Drop components whose requirements are not selected. Each pass only
83
- * ever removes, so this settles quickly even for chains. Applied after
84
- * flag overrides too, so a flag cannot resurrect a disabled component.
85
- */
86
- export function enforceComponentDependencies(selected) {
87
- const next = new Set(selected);
88
- for (let changed = true; changed;) {
89
- changed = false;
90
- for (const c of SETUP_COMPONENTS) {
91
- if (next.has(c.id) && c.requires?.some((r) => !next.has(r.id))) {
92
- next.delete(c.id);
93
- changed = true;
94
- }
95
- }
96
- }
97
- return next;
98
- }
99
- /** Selected component ids when the wizard cannot ask (non-TTY, --yes). */
100
- export function defaultSelection() {
101
- return enforceComponentDependencies(new Set(SETUP_COMPONENTS.filter((c) => c.defaultSelected).map((c) => c.id)));
102
- }
103
- /**
104
- * What `c8ctl setup` does, in order. Steps whose component was not
105
- * selected are reported as skipped instead of running.
106
- */
107
- export const SETUP_STEPS = [
108
- {
109
- id: "prerequisites",
110
- title: "Check prerequisites",
111
- detail: "Node.js ≥ 22.18, supported OS, network access",
112
- component: null,
113
- },
114
- {
115
- id: "start-cluster",
116
- title: "Start the local cluster",
117
- detail: "downloads Camunda 8 Run on first run, waits until healthy",
118
- component: "cluster",
119
- },
120
- {
121
- id: "install-modeler",
122
- title: "Install Desktop Modeler",
123
- detail: "the visual BPMN editor",
124
- component: "modeler",
125
- },
126
- {
127
- id: "scaffold-blueprint",
128
- title: "Create the blueprint project",
129
- detail: "Rocket Launch or Service worker",
130
- component: "blueprint",
131
- },
132
- {
133
- id: "install-skills",
134
- title: "Install AI assistant skills",
135
- detail: "for the AI coding tools found on this machine",
136
- component: "skills",
137
- },
138
- {
139
- id: "cluster-mcp",
140
- title: "Configure the cluster MCP server",
141
- detail: "connect your AI assistant to the cluster",
142
- component: "cluster-mcp",
143
- dependsOn: ["start-cluster"],
144
- },
145
- {
146
- id: "docs-mcp",
147
- title: "Configure the docs MCP server",
148
- detail: "Camunda 8 docs in your AI assistant — browser sign-in on first use",
149
- component: "docs-mcp",
150
- },
151
- {
152
- // The finale: runs last, and only when every earlier step
153
- // succeeded — no first process on a partially broken setup.
154
- id: "deploy-blueprint",
155
- title: "Deploy and start the process",
156
- detail: "your first running process instance",
157
- component: "blueprint",
158
- dependsOn: ["scaffold-blueprint", "start-cluster"],
159
- requiresCleanRun: true,
160
- },
161
- ];
162
- const STATUS_TAGS = {
163
- success: "[SUCCESS]",
164
- error: "[ERROR]",
165
- skipped: "[SKIPPED]",
166
- };
167
- const GREEN = `${ESC}32m`;
168
- const RED = `${ESC}31m`;
169
- const STATUS_COLORS = {
170
- success: GREEN,
171
- error: RED,
172
- skipped: DIM,
173
- };
174
- /**
175
- * The tail of a finished step's line: a dot leader and the status tag.
176
- * `width` is the longest title in the plan, so the tags line up. With
177
- * `color`, the tag is green on success, red on error and dim when
178
- * skipped.
179
- */
180
- export function formatStepStatusSuffix(title, status, width, { color }) {
181
- const dots = ".".repeat(Math.max(2, width - title.length + 2));
182
- const tag = STATUS_TAGS[status];
183
- const styled = color ? `${STATUS_COLORS[status]}${tag}${RESET}` : tag;
184
- return ` ${dots} ${styled}`;
185
- }
186
- /**
187
- * One finished step, aligned for a wizard report: the title followed by
188
- * the status suffix (`formatStepStatusSuffix`).
189
- */
190
- export function formatStepResult(title, status, width, { color }) {
191
- return ` ${title}${formatStepStatusSuffix(title, status, width, { color })}`;
192
- }
193
- // ── Step activity spinner ──────────────────────────────────────────
194
- /**
195
- * Braille frames cycled while a step runs. Ten frames at 80 ms give a
196
- * smooth, quiet tick that reads as "working" without scrolling output.
197
- */
198
- const SPINNER_FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
199
- const SPINNER_INTERVAL_MS = 80;
200
- /**
201
- * Animate a spinner on a step's open title line: the first frame is
202
- * written immediately (the indicator appears with the step, not one
203
- * interval later — and a caller can observe it without waiting), then
204
- * every interval the line is redrawn as `\r ${title} ${frame}`, so the
205
- * glyph spins in place and the eventual status tag overwrites it.
206
- * Terminal-only — the caller starts one only when stdout is a TTY, so
207
- * piped and --quiet output never see a frame. The interval is unref'd:
208
- * a stuck step can never keep the process alive through the spinner
209
- * alone.
210
- */
211
- export function startStepSpinner({ title, write, intervalMs = SPINNER_INTERVAL_MS, }) {
212
- let frame = 0;
213
- const tick = () => {
214
- write(`\r ${title} ${SPINNER_FRAMES[frame % SPINNER_FRAMES.length]}`);
215
- frame += 1;
216
- };
217
- tick();
218
- const timer = setInterval(tick, intervalMs);
219
- timer.unref();
220
- let stopped = false;
221
- return {
222
- stop() {
223
- if (stopped)
224
- return;
225
- stopped = true;
226
- clearInterval(timer);
227
- },
228
- };
229
- }
230
- // ── Welcome banner ─────────────────────────────────────────────────
231
- /** Block-letter c8ctl wordmark, 6 rows. */
232
- const LOGO = [
233
- " ██████╗ █████╗ ██████╗ ████████╗ ██╗ ",
234
- "██╔════╝ ██╔══██╗ ██╔════╝ ╚══██╔══╝ ██║ ",
235
- "██║ ╚█████╔╝ ██║ ██║ ██║ ",
236
- "██║ ██╔══██╗ ██║ ██║ ██║ ",
237
- "╚██████╗ ██████╔╝ ╚██████╗ ██║ ███████╗",
238
- " ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚══════╝",
239
- ];
240
- const BANNER_WIDTH = 68;
241
- /**
242
- * The boxed welcome screen: brand-colored wordmark, a one-line promise,
243
- * and the ground rule that nothing runs without confirmation.
244
- */
245
- export function renderWelcomeBanner({ color }) {
246
- const s = bannerStyle({ color });
247
- const top = ` ╭${"─".repeat(BANNER_WIDTH)}╮`;
248
- const bottom = ` ╰${"─".repeat(BANNER_WIDTH)}╯`;
249
- const empty = ` │${" ".repeat(BANNER_WIDTH)}│`;
250
- const pad = (text, visibleLength) => ` │${text}${" ".repeat(Math.max(0, BANNER_WIDTH - visibleLength))}│`;
251
- const logoPad = " ";
252
- const textPad = " ";
253
- return [
254
- top,
255
- empty,
256
- ...LOGO.map((line) => pad(`${logoPad}${s.brand}${line}${s.reset}`, logoPad.length + line.length)),
257
- empty,
258
- pad(`${textPad}${s.bold}Welcome to Camunda 8!${s.reset} Let's get you from zero to a`, textPad.length +
259
- "Welcome to Camunda 8! Let's get you from zero to a".length),
260
- pad(`${textPad}running local process — in a couple of minutes.`, textPad.length + "running local process — in a couple of minutes.".length),
261
- empty,
262
- pad(`${textPad}${s.dim}Pick what to set up. Nothing runs without your say.${s.reset}`, textPad.length +
263
- "Pick what to set up. Nothing runs without your say.".length),
264
- empty,
265
- bottom,
266
- ].join("\n");
267
- }
268
- // ── Next steps ─────────────────────────────────────────────────────
269
- /**
270
- * The boxed completion block after the step report: the takeaway of the
271
- * whole run, visually set apart from the status lines so it cannot
272
- * blend in. The box is as wide as its longest line. The heading reads
273
- * white on a brand-blue band (boxed) or highlight (unboxed) — fixed
274
- * colors on both sides, so it stays readable on dark and light terminal
275
- * backgrounds alike; plain brand-blue text was near-invisible on dark
276
- * themes. When the content would exceed the terminal's width
277
- * (`maxWidth`), the borders would wrap — the block degrades to an
278
- * unboxed, indented list that keeps long paths and URLs intact.
279
- */
280
- export function renderNextSteps(lines, { color, maxWidth }) {
281
- const s = bannerStyle({ color });
282
- const heading = "What's next";
283
- const headingStyle = color ? `${BRAND_BLUE_BG}${WHITE}${BOLD}` : "";
284
- const width = Math.max(heading.length, ...lines.map((line) => line.length));
285
- // `.length` counts UTF-16 code units, not terminal columns — non-ASCII
286
- // content (CJK paths, emoji) would misalign the borders. Box only
287
- // printable-ASCII lines; anything wider gets the unboxed fallback.
288
- const printableAscii = lines.every((line) => [...line].every((char) => {
289
- const code = char.codePointAt(0) ?? 0;
290
- return code >= 0x20 && code <= 0x7e;
291
- }));
292
- if (!printableAscii || (maxWidth !== undefined && width + 6 > maxWidth)) {
293
- return [
294
- color ? `${headingStyle}${heading}${s.reset}` : heading,
295
- ...lines.map((line) => ` ${line}`),
296
- ].join("\n");
297
- }
298
- const top = `╭${"─".repeat(width + 4)}╮`;
299
- const bottom = `╰${"─".repeat(width + 4)}╯`;
300
- const row = (text, visibleLength) => `│ ${text}${" ".repeat(width - visibleLength)} │`;
301
- // The heading row's whole inner width carries the band — only the
302
- // borders stay in the terminal's default color.
303
- const band = color
304
- ? `│${headingStyle} ${heading}${" ".repeat(width - heading.length)} ${s.reset}│`
305
- : row(heading, heading.length);
306
- return [
307
- top,
308
- band,
309
- row("", 0),
310
- ...lines.map((line) => row(line, line.length)),
311
- bottom,
312
- ].join("\n");
313
- }
314
- // ── Cluster child-process output ─────────────────────────────────
315
- /**
316
- * The cluster plugin reports download progress as `//> 42% (…) at …`
317
- * lines. Setup streams the child's output live, minus this noise — the
318
- * step's own status line is the progress signal.
319
- */
320
- export function isClusterProgressLine(line) {
321
- return line.trimStart().startsWith("//>");
322
- }
323
- /**
324
- * Incremental line forwarder over child-process chunks: buffers partial
325
- * lines across pushes, drops lines `skip` rejects, and passes the rest
326
- * to `write`. `flush` emits a trailing unterminated line.
327
- */
328
- export function createLineForwarder({ write, skip, }) {
329
- let pending = "";
330
- const emit = (line) => {
331
- if (!skip(line))
332
- write(line);
333
- };
334
- return {
335
- push(chunk) {
336
- pending += chunk;
337
- let newline = pending.indexOf("\n");
338
- while (newline !== -1) {
339
- emit(pending.slice(0, newline));
340
- pending = pending.slice(newline + 1);
341
- newline = pending.indexOf("\n");
342
- }
343
- },
344
- flush() {
345
- if (pending.length > 0) {
346
- emit(pending);
347
- pending = "";
348
- }
349
- },
350
- };
351
- }
352
- // ── Plan rendering ─────────────────────────────────────────────────
353
- /** Structured plan for JSON output mode and --dry-run. */
354
- export function setupPlanPayload(selected, { blueprint } = {}) {
355
- return {
356
- command: "setup",
357
- preview: true,
358
- blueprint: blueprint ?? null,
359
- components: SETUP_COMPONENTS.map((c) => ({
360
- id: c.id,
361
- label: c.label,
362
- group: c.group,
363
- selected: selected.has(c.id),
364
- })),
365
- steps: SETUP_STEPS.map((step) => ({
366
- title: step.title,
367
- detail: step.detail,
368
- status: step.component === null || selected.has(step.component)
369
- ? "planned"
370
- : "skipped",
371
- })),
372
- };
373
- }
374
- //# sourceMappingURL=setup-helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-helpers.js","sourceRoot":"","sources":["../../../src/utils/command-local/setup-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,sEAAsE;AAEtE,MAAM,GAAG,GAAG,OAAO,CAAC;AACpB,MAAM,KAAK,GAAG,GAAG,GAAG,IAAI,CAAC;AACzB,MAAM,IAAI,GAAG,GAAG,GAAG,IAAI,CAAC;AACxB,MAAM,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAEvB,6DAA6D;AAC7D,MAAM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CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACjC,CAAC;QACF,CAAC;QACD,KAAK;YACJ,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACxB,IAAI,CAAC,OAAO,CAAC,CAAC;gBACd,OAAO,GAAG,EAAE,CAAC;YACd,CAAC;QACF,CAAC;KACD,CAAC;AACH,CAAC;AAED,sEAAsE;AAEtE,0DAA0D;AAC1D,MAAM,UAAU,gBAAgB,CAC/B,QAAuC,EACvC,EAAE,SAAS,KAA6B,EAAE;IAiB1C,OAAO;QACN,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,SAAS,IAAI,IAAI;QAC5B,UAAU,EAAE,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACxC,EAAE,EAAE,CAAC,CAAC,EAAE;YACR,KAAK,EAAE,CAAC,CAAC,KAAK;YACd,KAAK,EAAE,CAAC,CAAC,KAAK;YACd,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;SAC5B,CAAC,CAAC;QACH,KAAK,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACjC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EACL,IAAI,CAAC,SAAS,KAAK,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;gBACtD,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,SAAS;SACb,CAAC,CAAC;KACH,CAAC;AACH,CAAC"}
@@ -1,67 +0,0 @@
1
- /**
2
- * Prerequisite checks for `c8ctl setup`: Node.js version, operating
3
- * system and architecture, and network access to the Camunda 8 Run
4
- * download host.
5
- *
6
- * Inputs (versions, platform, fetch, environment) are parameters with
7
- * the real runtime as the default, so every outcome is testable.
8
- */
9
- export type PrerequisiteId = "node" | "platform" | "network";
10
- export interface PrerequisiteResult {
11
- readonly id: PrerequisiteId;
12
- readonly title: string;
13
- readonly ok: boolean;
14
- /** What was found, e.g. "Node.js 22.17.1 is installed; c8ctl needs >=22.18.0." */
15
- readonly detail: string;
16
- /** How to fix a failed check. */
17
- readonly hint?: string;
18
- }
19
- /** The `fetch` subset the network check uses. */
20
- export type PrerequisiteFetch = (url: string, init: {
21
- method: string;
22
- redirect: "manual";
23
- signal: AbortSignal;
24
- }) => Promise<unknown>;
25
- type Env = Readonly<Record<string, string | undefined>>;
26
- /**
27
- * Pages for setting Camunda up by hand, for anyone who cannot meet a
28
- * prerequisite. Unversioned docs.camunda.io URLs resolve to the current
29
- * release.
30
- */
31
- export declare const MANUAL_SETUP_LINKS: readonly {
32
- readonly label: string;
33
- readonly url: string;
34
- }[];
35
- /** The Node.js range from c8ctl's `engines.node`, the one npm enforces. */
36
- export declare const REQUIRED_NODE_RANGE: string | undefined;
37
- export declare function checkNodeVersion({ version, range, }?: {
38
- version?: string;
39
- range?: string;
40
- }): PrerequisiteResult;
41
- export declare function checkPlatform({ platform, arch, }?: {
42
- platform?: string;
43
- arch?: string;
44
- }): PrerequisiteResult;
45
- /**
46
- * Check that the Camunda 8 Run download host answers. Any HTTP response,
47
- * including a redirect, counts as reachable; a connection failure, a
48
- * timeout, or a download URL that cannot work fails.
49
- */
50
- export declare function checkNetwork({ fetch, env, timeoutMs, }?: {
51
- fetch?: PrerequisiteFetch;
52
- env?: Env;
53
- timeoutMs?: number;
54
- }): Promise<PrerequisiteResult>;
55
- export declare function checkPrerequisites(options?: {
56
- version?: string;
57
- range?: string;
58
- platform?: string;
59
- arch?: string;
60
- fetch?: PrerequisiteFetch;
61
- env?: Env;
62
- timeoutMs?: number;
63
- }): Promise<PrerequisiteResult[]>;
64
- /** Explain the failed checks and point at the manual setup instead. */
65
- export declare function formatPrerequisiteFailures(results: readonly PrerequisiteResult[]): string;
66
- export {};
67
- //# sourceMappingURL=setup-prerequisites.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-prerequisites.d.ts","sourceRoot":"","sources":["../../../src/utils/command-local/setup-prerequisites.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAE7D,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,EAAE,EAAE,cAAc,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IACrB,kFAAkF;IAClF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,iCAAiC;IACjC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,iDAAiD;AACjD,MAAM,MAAM,iBAAiB,GAAG,CAC/B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAE,KAC7D,OAAO,CAAC,OAAO,CAAC,CAAC;AAEtB,KAAK,GAAG,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS;IACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACrB,EAaA,CAAC;AA4BF,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,oBAA0B,CAAC;AAE3D,wBAAgB,gBAAgB,CAAC,EAChC,OAA+B,EAC/B,KAA2B,GAC3B,GAAE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CACV,GAAG,kBAAkB,CAe1B;AAiBD,wBAAgB,aAAa,CAAC,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