@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 +0,0 @@
1
- {"version":3,"file":"modeler-helpers.js","sourceRoot":"","sources":["../../../src/utils/command-local/modeler-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEzC,MAAM,CAAC,MAAM,mBAAmB,GAC/B,0DAA0D,CAAC;AAE5D,MAAM,UAAU,0BAA0B,CAAC,SAAiB;IAC3D,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAC1B,SAAS,CAAC,QAAQ,CAAC,2BAA2B,CAAC,EAC/C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CACnB,CAAC,MAAM,CAAC,CAAC,OAAO,EAAqB,EAAE,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC;IAChE,MAAM,MAAM,GAAG,QAAQ;SACrB,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE;QACnB,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAC9B,OAAO,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,CAAC;IAC1D,CAAC,CAAC;SACD,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAE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AAG,CAAC,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,CAAC;IAC5C,MAAM,GAAG,GAAG,KAAK;QAChB,CAAC,CAAC,aAAa,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,GAAG,CAAC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,WAAW;QACnF,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,EAAE,CAAC;IACxD,OAAO,GAAG,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC"}
@@ -1,51 +0,0 @@
1
- /**
2
- * Done-checks for `c8ctl setup`: whether Camunda 8 Run is installed and
3
- * whether the local cluster is healthy. Setup re-checks these on every run
4
- * instead of trusting a record of earlier runs.
5
- *
6
- * Built-in code cannot import the cluster plugin, so the install checks
7
- * follow its rules (cache location, install layout, binary name). Tests
8
- * compare them with the plugin's own functions.
9
- */
10
- type Env = Readonly<Record<string, string | undefined>>;
11
- /** Where the cluster plugin keeps Camunda 8 Run installs. */
12
- export declare function c8runCacheDir({ env, platform, home, }?: {
13
- env?: Env;
14
- platform?: string;
15
- home?: string;
16
- }): string;
17
- /**
18
- * Whether `version`'s Camunda 8 Run binary is present: in a
19
- * `c8run-<version>*` subdirectory of `c8run-<version>`, or directly in it.
20
- */
21
- export declare function isCamunda8RunInstalled({ version, cacheDir, platform, }: {
22
- version: string;
23
- cacheDir?: string;
24
- platform?: string;
25
- }): boolean;
26
- /** Installed versions whose binary is present, in version order. */
27
- export declare function installedCamunda8RunVersions({ cacheDir, platform, }?: {
28
- cacheDir?: string;
29
- platform?: string;
30
- }): string[];
31
- /** The endpoint the cluster plugin polls to decide a started cluster is ready. */
32
- export declare const LOCAL_CLUSTER_HEALTH_URL = "http://localhost:9600/actuator/health";
33
- /** The `fetch` subset the health check uses. */
34
- export type HealthFetch = (url: string, init: {
35
- signal: AbortSignal;
36
- }) => Promise<Response>;
37
- export interface ClusterHealth {
38
- readonly healthy: boolean;
39
- /** e.g. "status UP", "HTTP 503", "not reachable (ECONNREFUSED)". */
40
- readonly detail: string;
41
- }
42
- /**
43
- * Whether a local cluster is running and healthy: its health endpoint
44
- * reports `UP`. One request, no retries.
45
- */
46
- export declare function checkLocalClusterHealth({ fetch, timeoutMs, }?: {
47
- fetch?: HealthFetch;
48
- timeoutMs?: number;
49
- }): Promise<ClusterHealth>;
50
- export {};
51
- //# sourceMappingURL=setup-detectors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-detectors.d.ts","sourceRoot":"","sources":["../../../src/utils/command-local/setup-detectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,KAAK,GAAG,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;AAIxD,6DAA6D;AAC7D,wBAAgB,aAAa,CAAC,EAC7B,GAAiB,EACjB,QAA2B,EAC3B,IAAgB,GAChB,GAAE;IACF,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACT,GAAG,MAAM,CAcd;AAKD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACtC,OAAO,EACP,QAA0B,EAC1B,QAA2B,GAC3B,EAAE;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAWV;AAED,oEAAoE;AACpE,wBAAgB,4BAA4B,CAAC,EAC5C,QAA0B,EAC1B,QAA2B,GAC3B,GAAE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACb,GAAG,MAAM,EAAE,CAShB;AAID,kFAAkF;AAClF,eAAO,MAAM,wBAAwB,0CAA0C,CAAC;AAGhF,gDAAgD;AAChD,MAAM,MAAM,WAAW,GAAG,CACzB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,MAAM,EAAE,WAAW,CAAA;CAAE,KACzB,OAAO,CAAC,QAAQ,CAAC,CAAC;AAEvB,MAAM,WAAW,aAAa;IAC7B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,oEAAoE;IACpE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACxB;AAaD;;;GAGG;AACH,wBAAsB,uBAAuB,CAAC,EAC7C,KAAwB,EACxB,SAAqC,GACrC,GAAE;IACF,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACd,GAAG,OAAO,CAAC,aAAa,CAAC,CAwC9B"}
@@ -1,115 +0,0 @@
1
- /**
2
- * Done-checks for `c8ctl setup`: whether Camunda 8 Run is installed and
3
- * whether the local cluster is healthy. Setup re-checks these on every run
4
- * instead of trusting a record of earlier runs.
5
- *
6
- * Built-in code cannot import the cluster plugin, so the install checks
7
- * follow its rules (cache location, install layout, binary name). Tests
8
- * compare them with the plugin's own functions.
9
- */
10
- import { existsSync, readdirSync } from "node:fs";
11
- import { homedir } from "node:os";
12
- import { join } from "node:path";
13
- // ── Camunda 8 Run installation ─────────────────────────────────────
14
- /** Where the cluster plugin keeps Camunda 8 Run installs. */
15
- export function c8runCacheDir({ env = process.env, platform = process.platform, home = homedir(), } = {}) {
16
- if (env.C8RUN_CACHE_DIR)
17
- return env.C8RUN_CACHE_DIR;
18
- switch (platform) {
19
- case "darwin":
20
- return join(home, "Library", "Caches", "c8run");
21
- case "win32":
22
- return join(env.LOCALAPPDATA || join(home, "AppData", "Local"), "c8run", "cache");
23
- default:
24
- return join(env.XDG_CACHE_HOME || join(home, ".cache"), "c8run");
25
- }
26
- }
27
- const binaryName = (platform) => platform === "win32" ? "c8run.exe" : "c8run";
28
- /**
29
- * Whether `version`'s Camunda 8 Run binary is present: in a
30
- * `c8run-<version>*` subdirectory of `c8run-<version>`, or directly in it.
31
- */
32
- export function isCamunda8RunInstalled({ version, cacheDir = c8runCacheDir(), platform = process.platform, }) {
33
- const installDir = join(cacheDir, `c8run-${version}`);
34
- if (!existsSync(installDir))
35
- return false;
36
- const binary = binaryName(platform);
37
- const nested = readdirSync(installDir, { withFileTypes: true }).some((entry) => entry.isDirectory() &&
38
- entry.name.startsWith(`c8run-${version}`) &&
39
- existsSync(join(installDir, entry.name, binary)));
40
- return nested || existsSync(join(installDir, binary));
41
- }
42
- /** Installed versions whose binary is present, in version order. */
43
- export function installedCamunda8RunVersions({ cacheDir = c8runCacheDir(), platform = process.platform, } = {}) {
44
- if (!existsSync(cacheDir))
45
- return [];
46
- return readdirSync(cacheDir, { withFileTypes: true })
47
- .filter((entry) => entry.isDirectory() && entry.name.startsWith("c8run-"))
48
- .map((entry) => entry.name.slice("c8run-".length))
49
- .filter((version) => isCamunda8RunInstalled({ version, cacheDir, platform }))
50
- .sort((a, b) => a.localeCompare(b, undefined, { numeric: true }));
51
- }
52
- // ── Local cluster health ───────────────────────────────────────────
53
- /** The endpoint the cluster plugin polls to decide a started cluster is ready. */
54
- export const LOCAL_CLUSTER_HEALTH_URL = "http://localhost:9600/actuator/health";
55
- const DEFAULT_HEALTH_TIMEOUT_MS = 3_000;
56
- function causeCode(error) {
57
- for (let current = error, depth = 0; current && depth < 5; depth++) {
58
- if (typeof current !== "object")
59
- return undefined;
60
- if ("code" in current && typeof current.code === "string") {
61
- return current.code;
62
- }
63
- current = "cause" in current ? current.cause : undefined;
64
- }
65
- return undefined;
66
- }
67
- /**
68
- * Whether a local cluster is running and healthy: its health endpoint
69
- * reports `UP`. One request, no retries.
70
- */
71
- export async function checkLocalClusterHealth({ fetch = globalThis.fetch, timeoutMs = DEFAULT_HEALTH_TIMEOUT_MS, } = {}) {
72
- // A referenced timer, unlike AbortSignal.timeout(), so the timeout fires
73
- // even when nothing else keeps the event loop alive.
74
- const controller = new AbortController();
75
- let timedOut = false;
76
- const timer = setTimeout(() => {
77
- timedOut = true;
78
- controller.abort();
79
- }, timeoutMs);
80
- try {
81
- const response = await fetch(LOCAL_CLUSTER_HEALTH_URL, {
82
- signal: controller.signal,
83
- });
84
- if (!response.ok) {
85
- return { healthy: false, detail: `HTTP ${response.status}` };
86
- }
87
- let body;
88
- try {
89
- body = await response.json();
90
- }
91
- catch (error) {
92
- // A body that stalls past the timeout is a timeout, not bad data.
93
- if (timedOut)
94
- throw error;
95
- return { healthy: false, detail: "unexpected response" };
96
- }
97
- const status = body && typeof body === "object" && "status" in body
98
- ? String(body.status)
99
- : "unknown";
100
- return { healthy: status === "UP", detail: `status ${status}` };
101
- }
102
- catch (error) {
103
- const reason = timedOut
104
- ? `timed out after ${timeoutMs / 1000}s`
105
- : (causeCode(error) ?? "connection failed");
106
- return { healthy: false, detail: `not reachable (${reason})` };
107
- }
108
- finally {
109
- clearTimeout(timer);
110
- // Release a response whose body was not read (e.g. a 503), so an open
111
- // connection cannot keep the process alive.
112
- controller.abort();
113
- }
114
- }
115
- //# sourceMappingURL=setup-detectors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-detectors.js","sourceRoot":"","sources":["../../../src/utils/command-local/setup-detectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAIjC,sEAAsE;AAEtE,6DAA6D;AAC7D,MAAM,UAAU,aAAa,CAAC,EAC7B,GAAG,GAAG,OAAO,CAAC,GAAG,EACjB,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAC3B,IAAI,G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AC;YAC1B,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,CAAC;QAC1D,CAAC;QACD,MAAM,MAAM,GACX,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,QAAQ,IAAI,IAAI;YACnD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;YACrB,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,EAAE,MAAM,EAAE,UAAU,MAAM,EAAE,EAAE,CAAC;IACjE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,MAAM,GAAG,QAAQ;YACtB,CAAC,CAAC,mBAAmB,SAAS,GAAG,IAAI,GAAG;YACxC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,mBAAmB,CAAC,CAAC;QAC7C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,kBAAkB,MAAM,GAAG,EAAE,CAAC;IAChE,CAAC;YAAS,CAAC;QACV,YAAY,CAAC,KAAK,CAAC,CAAC;QACpB,sEAAsE;QACtE,4CAA4C;QAC5C,UAAU,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;AACF,CAAC"}
@@ -1,179 +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
- export interface BannerStyle {
13
- readonly brand: string;
14
- readonly bold: string;
15
- readonly dim: string;
16
- readonly reset: string;
17
- }
18
- export declare function bannerStyle({ color }: {
19
- color: boolean;
20
- }): BannerStyle;
21
- export type SetupComponentId = "cluster" | "modeler" | "blueprint" | "skills" | "cluster-mcp" | "docs-mcp";
22
- export interface SetupComponent {
23
- readonly id: SetupComponentId;
24
- /** Short name shown in the checkbox list. */
25
- readonly label: string;
26
- /** Why it is worth installing — shown dimmed next to the label. */
27
- readonly why: string;
28
- /** Section of the wizard's checkbox list this component sits under. */
29
- readonly group: SetupComponentGroup;
30
- /** Pre-checked state, also the non-interactive and --yes default. */
31
- readonly defaultSelected: boolean;
32
- /**
33
- * Components this one cannot work without: while any of them is
34
- * deselected, this option is greyed out with the reason and forced
35
- * off.
36
- */
37
- readonly requires?: readonly {
38
- id: SetupComponentId;
39
- reason: string;
40
- }[];
41
- }
42
- /** Wizard sections, in display order. */
43
- export type SetupComponentGroup = "Essentials" | "AI-assisted development";
44
- /**
45
- * Everything the setup wizard offers, grouped by what it is for: the
46
- * Essentials get a local Camunda 8 running with something to look at,
47
- * AI-assisted development wires the AI tooling into it. The docs MCP
48
- * server stays opt-in: the onboarding decision is to add it only on
49
- * request.
50
- */
51
- export declare const SETUP_COMPONENTS: readonly SetupComponent[];
52
- /**
53
- * Drop components whose requirements are not selected. Each pass only
54
- * ever removes, so this settles quickly even for chains. Applied after
55
- * flag overrides too, so a flag cannot resurrect a disabled component.
56
- */
57
- export declare function enforceComponentDependencies(selected: ReadonlySet<SetupComponentId>): Set<SetupComponentId>;
58
- /** Selected component ids when the wizard cannot ask (non-TTY, --yes). */
59
- export declare function defaultSelection(): ReadonlySet<SetupComponentId>;
60
- export type SetupStepId = "prerequisites" | "start-cluster" | "install-modeler" | "scaffold-blueprint" | "deploy-blueprint" | "install-skills" | "cluster-mcp" | "docs-mcp";
61
- export interface SetupStep {
62
- readonly id: SetupStepId;
63
- readonly title: string;
64
- readonly detail: string;
65
- /** The component this step belongs to; null = always runs. */
66
- readonly component: SetupComponentId | null;
67
- /**
68
- * Steps that must have succeeded for this step to run; otherwise it
69
- * is reported as skipped with the unmet steps named.
70
- */
71
- readonly dependsOn?: readonly SetupStepId[];
72
- /**
73
- * When true, the step runs only if every earlier step succeeded —
74
- * for the finale that must not run on a partially broken setup.
75
- */
76
- readonly requiresCleanRun?: boolean;
77
- }
78
- /**
79
- * What `c8ctl setup` does, in order. Steps whose component was not
80
- * selected are reported as skipped instead of running.
81
- */
82
- export declare const SETUP_STEPS: readonly SetupStep[];
83
- export type SetupStepStatus = "success" | "error" | "skipped";
84
- /**
85
- * The tail of a finished step's line: a dot leader and the status tag.
86
- * `width` is the longest title in the plan, so the tags line up. With
87
- * `color`, the tag is green on success, red on error and dim when
88
- * skipped.
89
- */
90
- export declare function formatStepStatusSuffix(title: string, status: SetupStepStatus, width: number, { color }: {
91
- color: boolean;
92
- }): string;
93
- /**
94
- * One finished step, aligned for a wizard report: the title followed by
95
- * the status suffix (`formatStepStatusSuffix`).
96
- */
97
- export declare function formatStepResult(title: string, status: SetupStepStatus, width: number, { color }: {
98
- color: boolean;
99
- }): string;
100
- export interface StepSpinner {
101
- /** Stop ticking. Idempotent; the caller redraws or closes the line. */
102
- readonly stop: () => void;
103
- }
104
- /**
105
- * Animate a spinner on a step's open title line: the first frame is
106
- * written immediately (the indicator appears with the step, not one
107
- * interval later — and a caller can observe it without waiting), then
108
- * every interval the line is redrawn as `\r ${title} ${frame}`, so the
109
- * glyph spins in place and the eventual status tag overwrites it.
110
- * Terminal-only — the caller starts one only when stdout is a TTY, so
111
- * piped and --quiet output never see a frame. The interval is unref'd:
112
- * a stuck step can never keep the process alive through the spinner
113
- * alone.
114
- */
115
- export declare function startStepSpinner({ title, write, intervalMs, }: {
116
- title: string;
117
- write: (text: string) => void;
118
- intervalMs?: number;
119
- }): StepSpinner;
120
- /**
121
- * The boxed welcome screen: brand-colored wordmark, a one-line promise,
122
- * and the ground rule that nothing runs without confirmation.
123
- */
124
- export declare function renderWelcomeBanner({ color }: {
125
- color: boolean;
126
- }): string;
127
- /**
128
- * The boxed completion block after the step report: the takeaway of the
129
- * whole run, visually set apart from the status lines so it cannot
130
- * blend in. The box is as wide as its longest line. The heading reads
131
- * white on a brand-blue band (boxed) or highlight (unboxed) — fixed
132
- * colors on both sides, so it stays readable on dark and light terminal
133
- * backgrounds alike; plain brand-blue text was near-invisible on dark
134
- * themes. When the content would exceed the terminal's width
135
- * (`maxWidth`), the borders would wrap — the block degrades to an
136
- * unboxed, indented list that keeps long paths and URLs intact.
137
- */
138
- export declare function renderNextSteps(lines: readonly string[], { color, maxWidth }: {
139
- color: boolean;
140
- maxWidth?: number;
141
- }): string;
142
- /**
143
- * The cluster plugin reports download progress as `//> 42% (…) at …`
144
- * lines. Setup streams the child's output live, minus this noise — the
145
- * step's own status line is the progress signal.
146
- */
147
- export declare function isClusterProgressLine(line: string): boolean;
148
- /**
149
- * Incremental line forwarder over child-process chunks: buffers partial
150
- * lines across pushes, drops lines `skip` rejects, and passes the rest
151
- * to `write`. `flush` emits a trailing unterminated line.
152
- */
153
- export declare function createLineForwarder({ write, skip, }: {
154
- write: (line: string) => void;
155
- skip: (line: string) => boolean;
156
- }): {
157
- push: (chunk: string) => void;
158
- flush: () => void;
159
- };
160
- /** Structured plan for JSON output mode and --dry-run. */
161
- export declare function setupPlanPayload(selected: ReadonlySet<SetupComponentId>, { blueprint }?: {
162
- blueprint?: string;
163
- }): {
164
- command: string;
165
- preview: true;
166
- blueprint: string | null;
167
- components: readonly {
168
- id: string;
169
- label: string;
170
- group: SetupComponentGroup;
171
- selected: boolean;
172
- }[];
173
- steps: readonly {
174
- title: string;
175
- detail: string;
176
- status: "planned" | "skipped";
177
- }[];
178
- };
179
- //# sourceMappingURL=setup-helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/command-local/setup-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAgBH,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;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