@camunda8/cli 4.7.0-alpha.11 → 4.7.0-alpha.13
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.
- package/README.md +1 -0
- package/dist/command-dispatch.d.ts.map +1 -1
- package/dist/command-dispatch.js +2 -0
- package/dist/command-dispatch.js.map +1 -1
- package/dist/commands/setup.d.ts +13 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +71 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/framework/command-registry.d.ts +15 -0
- package/dist/framework/command-registry.d.ts.map +1 -1
- package/dist/framework/command-registry.js +30 -0
- package/dist/framework/command-registry.js.map +1 -1
- package/dist/framework/ui/prompt.d.ts +59 -0
- package/dist/framework/ui/prompt.d.ts.map +1 -1
- package/dist/framework/ui/prompt.js +154 -0
- package/dist/framework/ui/prompt.js.map +1 -1
- package/dist/utils/command-local/blueprint-scaffold.d.ts +97 -0
- package/dist/utils/command-local/blueprint-scaffold.d.ts.map +1 -0
- package/dist/utils/command-local/blueprint-scaffold.js +260 -0
- package/dist/utils/command-local/blueprint-scaffold.js.map +1 -0
- package/dist/utils/command-local/setup-helpers.d.ts +79 -0
- package/dist/utils/command-local/setup-helpers.d.ts.map +1 -0
- package/dist/utils/command-local/setup-helpers.js +214 -0
- package/dist/utils/command-local/setup-helpers.js.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +2 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
/** Pre-checked state, also the non-interactive and --yes default. */
|
|
29
|
+
readonly defaultSelected: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Everything the setup wizard offers. The docs MCP server stays opt-in:
|
|
33
|
+
* the onboarding decision is to add it only on request.
|
|
34
|
+
*/
|
|
35
|
+
export declare const SETUP_COMPONENTS: readonly SetupComponent[];
|
|
36
|
+
/** Selected component ids when the wizard cannot ask (non-TTY, --yes). */
|
|
37
|
+
export declare function defaultSelection(): ReadonlySet<SetupComponentId>;
|
|
38
|
+
export interface SetupStep {
|
|
39
|
+
readonly title: string;
|
|
40
|
+
readonly detail: string;
|
|
41
|
+
/** The component this step belongs to; null = always runs. */
|
|
42
|
+
readonly component: SetupComponentId | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* What `c8ctl setup` does, in order. Steps whose component was not
|
|
46
|
+
* selected are reported as skipped instead of running.
|
|
47
|
+
*/
|
|
48
|
+
export declare const SETUP_STEPS: readonly SetupStep[];
|
|
49
|
+
/**
|
|
50
|
+
* The boxed welcome screen: brand-colored wordmark, a one-line promise,
|
|
51
|
+
* and the ground rule that nothing runs without confirmation.
|
|
52
|
+
*/
|
|
53
|
+
export declare function renderWelcomeBanner({ color }: {
|
|
54
|
+
color: boolean;
|
|
55
|
+
}): string;
|
|
56
|
+
/**
|
|
57
|
+
* The tailored step plan for a selection: chosen steps numbered with
|
|
58
|
+
* their detail, unchosen steps dimmed and marked as skipped. Ends with
|
|
59
|
+
* the skeleton honesty note — nothing has been installed yet.
|
|
60
|
+
*/
|
|
61
|
+
export declare function renderSetupPlan(selected: ReadonlySet<SetupComponentId>, { color }: {
|
|
62
|
+
color: boolean;
|
|
63
|
+
}): string;
|
|
64
|
+
/** Structured plan for JSON output mode and --dry-run. */
|
|
65
|
+
export declare function setupPlanPayload(selected: ReadonlySet<SetupComponentId>): {
|
|
66
|
+
command: string;
|
|
67
|
+
preview: true;
|
|
68
|
+
components: readonly {
|
|
69
|
+
id: string;
|
|
70
|
+
label: string;
|
|
71
|
+
selected: boolean;
|
|
72
|
+
}[];
|
|
73
|
+
steps: readonly {
|
|
74
|
+
title: string;
|
|
75
|
+
detail: string;
|
|
76
|
+
status: "planned" | "skipped";
|
|
77
|
+
}[];
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=setup-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-helpers.d.ts","sourceRoot":"","sources":["../../../src/utils/command-local/setup-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAYH,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG,W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S;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IACxE,KAAK,EAAE,SAAS;QACf,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC;KAC9B,EAAE,CAAC;CACJ,CAkBA"}
|
|
@@ -0,0 +1,214 @@
|
|
|
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
|
+
export function bannerStyle({ color }) {
|
|
20
|
+
return color
|
|
21
|
+
? { brand: BRAND_BLUE, bold: BOLD, dim: DIM, reset: RESET }
|
|
22
|
+
: { brand: "", bold: "", dim: "", reset: "" };
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Everything the setup wizard offers. The docs MCP server stays opt-in:
|
|
26
|
+
* the onboarding decision is to add it only on request.
|
|
27
|
+
*/
|
|
28
|
+
export const SETUP_COMPONENTS = [
|
|
29
|
+
{
|
|
30
|
+
id: "cluster",
|
|
31
|
+
label: "Local cluster",
|
|
32
|
+
why: "Run Camunda 8 on this machine — no Docker, no cloud account",
|
|
33
|
+
defaultSelected: true,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
id: "modeler",
|
|
37
|
+
label: "Desktop Modeler",
|
|
38
|
+
why: "Draw BPMN diagrams and forms visually, deploy from the canvas",
|
|
39
|
+
defaultSelected: true,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: "blueprint",
|
|
43
|
+
label: "Starter blueprint",
|
|
44
|
+
why: "A working example project, deployed and started for you",
|
|
45
|
+
defaultSelected: true,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "skills",
|
|
49
|
+
label: "AI assistant skills",
|
|
50
|
+
why: "Teach Claude Code / Copilot / Cursor how to build on Camunda 8",
|
|
51
|
+
defaultSelected: true,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: "cluster-mcp",
|
|
55
|
+
label: "Cluster MCP server",
|
|
56
|
+
why: "Let your AI assistant inspect and operate your cluster",
|
|
57
|
+
defaultSelected: true,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: "docs-mcp",
|
|
61
|
+
label: "Docs MCP server",
|
|
62
|
+
why: "Always-current Camunda 8 docs inside your AI assistant",
|
|
63
|
+
defaultSelected: false,
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
/** Selected component ids when the wizard cannot ask (non-TTY, --yes). */
|
|
67
|
+
export function defaultSelection() {
|
|
68
|
+
return new Set(SETUP_COMPONENTS.filter((c) => c.defaultSelected).map((c) => c.id));
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* What `c8ctl setup` does, in order. Steps whose component was not
|
|
72
|
+
* selected are reported as skipped instead of running.
|
|
73
|
+
*/
|
|
74
|
+
export const SETUP_STEPS = [
|
|
75
|
+
{
|
|
76
|
+
title: "Check prerequisites",
|
|
77
|
+
detail: "Node.js ≥ 22.18, supported OS, network access",
|
|
78
|
+
component: null,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
title: "Install Camunda 8 Run",
|
|
82
|
+
detail: "download the latest release",
|
|
83
|
+
component: "cluster",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
title: "Start the local cluster",
|
|
87
|
+
detail: "wait until it reports healthy",
|
|
88
|
+
component: "cluster",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
title: "Install Desktop Modeler",
|
|
92
|
+
detail: "the visual BPMN editor",
|
|
93
|
+
component: "modeler",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
title: "Pick a blueprint, create the project",
|
|
97
|
+
detail: "Rocket Launch, Service worker, or AI agent",
|
|
98
|
+
component: "blueprint",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
title: "Deploy and start the process",
|
|
102
|
+
detail: "your first running process instance",
|
|
103
|
+
component: "blueprint",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
title: "Install AI assistant skills",
|
|
107
|
+
detail: "for the AI coding tools found on this machine",
|
|
108
|
+
component: "skills",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
title: "Configure the cluster MCP server",
|
|
112
|
+
detail: "connect your AI assistant to the cluster",
|
|
113
|
+
component: "cluster-mcp",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
title: "Configure the docs MCP server",
|
|
117
|
+
detail: "Camunda 8 documentation in your AI assistant",
|
|
118
|
+
component: "docs-mcp",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
title: "Open Operate",
|
|
122
|
+
detail: "http://localhost:8080/operate — log in with demo/demo",
|
|
123
|
+
component: "cluster",
|
|
124
|
+
},
|
|
125
|
+
];
|
|
126
|
+
// ── Welcome banner ─────────────────────────────────────────────────
|
|
127
|
+
/** Block-letter c8ctl wordmark, 6 rows. */
|
|
128
|
+
const LOGO = [
|
|
129
|
+
" ██████╗ █████╗ ██████╗ ████████╗ ██╗ ",
|
|
130
|
+
"██╔════╝ ██╔══██╗ ██╔════╝ ╚══██╔══╝ ██║ ",
|
|
131
|
+
"██║ ╚█████╔╝ ██║ ██║ ██║ ",
|
|
132
|
+
"██║ ██╔══██╗ ██║ ██║ ██║ ",
|
|
133
|
+
"╚██████╗ ██████╔╝ ╚██████╗ ██║ ███████╗",
|
|
134
|
+
" ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚══════╝",
|
|
135
|
+
];
|
|
136
|
+
const BANNER_WIDTH = 68;
|
|
137
|
+
/**
|
|
138
|
+
* The boxed welcome screen: brand-colored wordmark, a one-line promise,
|
|
139
|
+
* and the ground rule that nothing runs without confirmation.
|
|
140
|
+
*/
|
|
141
|
+
export function renderWelcomeBanner({ color }) {
|
|
142
|
+
const s = bannerStyle({ color });
|
|
143
|
+
const top = ` ╭${"─".repeat(BANNER_WIDTH)}╮`;
|
|
144
|
+
const bottom = ` ╰${"─".repeat(BANNER_WIDTH)}╯`;
|
|
145
|
+
const empty = ` │${" ".repeat(BANNER_WIDTH)}│`;
|
|
146
|
+
const pad = (text, visibleLength) => ` │${text}${" ".repeat(Math.max(0, BANNER_WIDTH - visibleLength))}│`;
|
|
147
|
+
const logoPad = " ";
|
|
148
|
+
const textPad = " ";
|
|
149
|
+
return [
|
|
150
|
+
top,
|
|
151
|
+
empty,
|
|
152
|
+
...LOGO.map((line) => pad(`${logoPad}${s.brand}${line}${s.reset}`, logoPad.length + line.length)),
|
|
153
|
+
empty,
|
|
154
|
+
pad(`${textPad}${s.bold}Welcome to Camunda 8!${s.reset} Let's get you from zero to a`, textPad.length +
|
|
155
|
+
"Welcome to Camunda 8! Let's get you from zero to a".length),
|
|
156
|
+
pad(`${textPad}running local process — in a couple of minutes.`, textPad.length + "running local process — in a couple of minutes.".length),
|
|
157
|
+
empty,
|
|
158
|
+
pad(`${textPad}${s.dim}Pick what to set up. Nothing runs without your say.${s.reset}`, textPad.length +
|
|
159
|
+
"Pick what to set up. Nothing runs without your say.".length),
|
|
160
|
+
empty,
|
|
161
|
+
bottom,
|
|
162
|
+
].join("\n");
|
|
163
|
+
}
|
|
164
|
+
// ── Plan rendering ─────────────────────────────────────────────────
|
|
165
|
+
/**
|
|
166
|
+
* The tailored step plan for a selection: chosen steps numbered with
|
|
167
|
+
* their detail, unchosen steps dimmed and marked as skipped. Ends with
|
|
168
|
+
* the skeleton honesty note — nothing has been installed yet.
|
|
169
|
+
*/
|
|
170
|
+
export function renderSetupPlan(selected, { color }) {
|
|
171
|
+
const s = bannerStyle({ color });
|
|
172
|
+
const lines = [
|
|
173
|
+
"",
|
|
174
|
+
` ${s.bold}Here's what c8ctl setup will do:${s.reset}`,
|
|
175
|
+
"",
|
|
176
|
+
];
|
|
177
|
+
let n = 0;
|
|
178
|
+
for (const step of SETUP_STEPS) {
|
|
179
|
+
const included = step.component === null || selected.has(step.component);
|
|
180
|
+
if (included) {
|
|
181
|
+
n += 1;
|
|
182
|
+
lines.push(` ${s.brand}${String(n).padStart(2, "0")}.${s.reset} ${s.bold}${step.title}${s.reset}`);
|
|
183
|
+
lines.push(` ${s.dim}${step.detail}${s.reset}`);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
lines.push(` ${s.dim} - ${step.title} — skipped${s.reset}`);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
lines.push("");
|
|
190
|
+
lines.push(` ${s.brand}✨${s.reset} Nothing was installed — this preview prints the plan only.`);
|
|
191
|
+
lines.push(` ${s.dim}Real execution lands with the next setup steps.${s.reset}`);
|
|
192
|
+
lines.push("");
|
|
193
|
+
return lines.join("\n");
|
|
194
|
+
}
|
|
195
|
+
/** Structured plan for JSON output mode and --dry-run. */
|
|
196
|
+
export function setupPlanPayload(selected) {
|
|
197
|
+
return {
|
|
198
|
+
command: "setup",
|
|
199
|
+
preview: true,
|
|
200
|
+
components: SETUP_COMPONENTS.map((c) => ({
|
|
201
|
+
id: c.id,
|
|
202
|
+
label: c.label,
|
|
203
|
+
selected: selected.has(c.id),
|
|
204
|
+
})),
|
|
205
|
+
steps: SETUP_STEPS.map((step) => ({
|
|
206
|
+
title: step.title,
|
|
207
|
+
detail: step.detail,
|
|
208
|
+
status: step.component === null || selected.has(step.component)
|
|
209
|
+
? "planned"
|
|
210
|
+
: "skipped",
|
|
211
|
+
})),
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=setup-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,UAAU,GAAG,GAAG,GAAG,iBAAiB,CAAC;AAS3C,MAAM,UAAU,WAAW,CAAC,EAAE,KAAK,EAAsB;IACxD,OAAO,KAAK;QACX,CAAC,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE;QAC3D,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAChD,CAAC;AAsBD;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA8B;IAC1D;QACC,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,eAAe;QACtB,GAAG,EAAE,6DAA6D;QAClE,eAAe,EAAE,IAAI;KACrB;IACD;QACC,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,iBAAiB;QACxB,GAAG,EAAE,+DAA+D;QACp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AAC,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"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./command-local/blueprint-scaffold.ts";
|
|
1
2
|
export * from "./command-local/deploy-version.ts";
|
|
2
3
|
export * from "./command-local/mcp-install-helpers.ts";
|
|
3
4
|
export * from "./command-local/mcp-proxy-helpers.ts";
|
|
@@ -6,6 +7,7 @@ export * from "./command-local/open-helpers.ts";
|
|
|
6
7
|
export * from "./command-local/process-instance-helpers.ts";
|
|
7
8
|
export * from "./command-local/search-helpers.ts";
|
|
8
9
|
export * from "./command-local/setup-detectors.ts";
|
|
10
|
+
export * from "./command-local/setup-helpers.ts";
|
|
9
11
|
export * from "./command-local/setup-prerequisites.ts";
|
|
10
12
|
export * from "./command-local/skills-install-helpers.ts";
|
|
11
13
|
export * from "./command-local/watch-constants.ts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAMA,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAMA,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
|
package/dist/utils/index.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
// barrel (`../utils/index.ts`), never from deep utils files. Intra-utils imports
|
|
5
5
|
// use direct sibling paths. Enforced by
|
|
6
6
|
// tests/unit/layering-import-boundary.test.ts (Rules A and B).
|
|
7
|
+
export * from "./command-local/blueprint-scaffold.js";
|
|
7
8
|
export * from "./command-local/deploy-version.js";
|
|
8
9
|
export * from "./command-local/mcp-install-helpers.js";
|
|
9
10
|
export * from "./command-local/mcp-proxy-helpers.js";
|
|
@@ -12,6 +13,7 @@ export * from "./command-local/open-helpers.js";
|
|
|
12
13
|
export * from "./command-local/process-instance-helpers.js";
|
|
13
14
|
export * from "./command-local/search-helpers.js";
|
|
14
15
|
export * from "./command-local/setup-detectors.js";
|
|
16
|
+
export * from "./command-local/setup-helpers.js";
|
|
15
17
|
export * from "./command-local/setup-prerequisites.js";
|
|
16
18
|
export * from "./command-local/skills-install-helpers.js";
|
|
17
19
|
export * from "./command-local/watch-constants.js";
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,EAAE;AACF,+EAA+E;AAC/E,iFAAiF;AACjF,wCAAwC;AACxC,+DAA+D;AAC/D,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,EAAE;AACF,+EAA+E;AAC/E,iFAAiF;AACjF,wCAAwC;AACxC,+DAA+D;AAC/D,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CA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