zyncat-ui 0.17.0 → 0.19.0
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/dist/cli.js +3 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1861,11 +1861,12 @@ function wireMcp(cwd) {
|
|
|
1861
1861
|
if (!parsed) bail(`.mcp.json exists but is not valid JSON - fix it, then re-run init.`);
|
|
1862
1862
|
config = parsed;
|
|
1863
1863
|
}
|
|
1864
|
-
|
|
1864
|
+
if (JSON.stringify(config.mcpServers?.["zyncat-ui"]) === JSON.stringify(MCP_SERVER_ENTRY))
|
|
1865
|
+
return { line: row("MCP server", ".mcp.json \xB7 kept"), done: true };
|
|
1865
1866
|
config.mcpServers = { ...config.mcpServers, "zyncat-ui": MCP_SERVER_ENTRY };
|
|
1866
1867
|
writeFileSync(path, `${JSON.stringify(config, null, 2)}
|
|
1867
1868
|
`);
|
|
1868
|
-
return { line: row("MCP server",
|
|
1869
|
+
return { line: row("MCP server", `.mcp.json ${arrow} zyncat-ui`), done: true };
|
|
1869
1870
|
}
|
|
1870
1871
|
function shippedDecisionsCss(packageRoot) {
|
|
1871
1872
|
const source = join3(packageRoot, THEME_SOURCE);
|