uaibuilder 0.1.0 → 0.1.2

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 (2) hide show
  1. package/index.mjs +9 -0
  2. package/package.json +13 -4
package/index.mjs CHANGED
@@ -101,6 +101,15 @@ function setup(flags) {
101
101
  // Ensure mcpServers exists
102
102
  if (!config.mcpServers) config.mcpServers = {};
103
103
 
104
+ // Don't overwrite existing stdio config (dev setup)
105
+ const existing = config.mcpServers.uaibuilder;
106
+ if (existing?.command) {
107
+ console.log(`\n UaiBuilder is already configured as a local (stdio) MCP server.`);
108
+ console.log(` This is a dev setup — skipping to avoid overwriting.\n`);
109
+ console.log(` To force HTTP setup, run with --force\n`);
110
+ if (!flags.force) return;
111
+ }
112
+
104
113
  // Add/update UaiBuilder entry
105
114
  config.mcpServers.uaibuilder = buildMcpEntry(token);
106
115
 
package/package.json CHANGED
@@ -1,15 +1,24 @@
1
1
  {
2
2
  "name": "uaibuilder",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "UaiBuilder CLI — connect any AI to your apps via MCP",
5
5
  "bin": {
6
- "uaibuilder": "./index.mjs"
6
+ "uaibuilder": "index.mjs"
7
7
  },
8
+ "files": [
9
+ "index.mjs"
10
+ ],
8
11
  "type": "module",
9
12
  "license": "MIT",
10
- "keywords": ["uaibuilder", "mcp", "ai", "paas", "cloudflare"],
13
+ "keywords": [
14
+ "uaibuilder",
15
+ "mcp",
16
+ "ai",
17
+ "paas",
18
+ "cloudflare"
19
+ ],
11
20
  "repository": {
12
21
  "type": "git",
13
- "url": "https://github.com/UaiBuilder/uaibuilder"
22
+ "url": "https://github.com/UaiBuilder/uaibuilder.git"
14
23
  }
15
24
  }