bluekiwi 0.3.10 → 0.3.11

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.
@@ -36,13 +36,13 @@ export class CodexAdapter {
36
36
  const existing = existsSync(MCP_CONFIG)
37
37
  ? readFileSync(MCP_CONFIG, "utf8")
38
38
  : "";
39
- const stripped = existing.replace(/\n?\[mcp_servers\.bluekiwi\][\s\S]*?(?=\n\[|$)/g, "");
39
+ const stripped = existing.replace(/\n?\[mcp_servers\.bluekiwi[\s\S]*?(?=\n\[(?!mcp_servers\.bluekiwi)|$)/g, "");
40
40
  writeFileSync(MCP_CONFIG, stripped + snippet);
41
41
  }
42
42
  uninstall() {
43
43
  if (existsSync(MCP_CONFIG)) {
44
44
  const existing = readFileSync(MCP_CONFIG, "utf8");
45
- writeFileSync(MCP_CONFIG, existing.replace(/\n?\[mcp_servers\.bluekiwi\][\s\S]*?(?=\n\[|$)/g, ""));
45
+ writeFileSync(MCP_CONFIG, existing.replace(/\n?\[mcp_servers\.bluekiwi[\s\S]*?(?=\n\[(?!mcp_servers\.bluekiwi)|$)/g, ""));
46
46
  }
47
47
  if (existsSync(SKILLS_DIR)) {
48
48
  for (const entry of readdirSync(SKILLS_DIR)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluekiwi",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "BlueKiwi CLI — install MCP client and skills into your agent runtime",
5
5
  "license": "MIT",
6
6
  "repository": {