@zivis/cli 0.1.0-alpha.37 → 0.1.0-alpha.39
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.
|
@@ -50,12 +50,12 @@ export function registerMcpCommands(program) {
|
|
|
50
50
|
.command("install")
|
|
51
51
|
.description("write MCP config for a supported IDE client (run from your project root)")
|
|
52
52
|
.option("--client <name>", `target client (${KNOWN_CLIENTS.join(" | ")})`)
|
|
53
|
-
.option("--package <name>", "which ZIVIS MCP package to register: '
|
|
53
|
+
.option("--package <name>", "which ZIVIS MCP package to register: 'builder' (default, @zivis/mcp-builder, citizen-dev surface) or 'appsec' (@zivis/mcp, DevSecOps surface)", "builder")
|
|
54
54
|
.option("--with-guidance", "also write IDE guidance files so the AI knows when to suggest security checks (no prompt). Only applies to the appsec package; builder ships its own cadence block via zivis_setup.")
|
|
55
55
|
.option("--no-guidance", "skip writing IDE guidance files (no prompt)")
|
|
56
56
|
.action(async (opts) => {
|
|
57
57
|
const client = opts.client?.toLowerCase();
|
|
58
|
-
const pkgArg = opts.package?.toLowerCase() ?? "
|
|
58
|
+
const pkgArg = opts.package?.toLowerCase() ?? "builder";
|
|
59
59
|
if (!client) {
|
|
60
60
|
console.error("Specify a client with --client <name>:");
|
|
61
61
|
for (const c of KNOWN_CLIENTS)
|
|
@@ -266,7 +266,7 @@ export function detectIdesInRepo(cwd) {
|
|
|
266
266
|
}
|
|
267
267
|
function buildServerConfig(pkg, workspacePath, extra) {
|
|
268
268
|
if (pkg === "builder") {
|
|
269
|
-
const args = ["-y", "@zivis/mcp-builder", "serve"];
|
|
269
|
+
const args = ["-y", "@zivis/mcp-builder@alpha", "serve"];
|
|
270
270
|
if (workspacePath) {
|
|
271
271
|
args.push("--workspace", workspacePath);
|
|
272
272
|
}
|
package/package.json
CHANGED