uaibuilder 0.1.1 → 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.
- package/index.mjs +9 -0
- package/package.json +11 -3
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,14 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uaibuilder",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "UaiBuilder CLI — connect any AI to your apps via MCP",
|
|
5
5
|
"bin": {
|
|
6
6
|
"uaibuilder": "index.mjs"
|
|
7
7
|
},
|
|
8
|
-
"files": [
|
|
8
|
+
"files": [
|
|
9
|
+
"index.mjs"
|
|
10
|
+
],
|
|
9
11
|
"type": "module",
|
|
10
12
|
"license": "MIT",
|
|
11
|
-
"keywords": [
|
|
13
|
+
"keywords": [
|
|
14
|
+
"uaibuilder",
|
|
15
|
+
"mcp",
|
|
16
|
+
"ai",
|
|
17
|
+
"paas",
|
|
18
|
+
"cloudflare"
|
|
19
|
+
],
|
|
12
20
|
"repository": {
|
|
13
21
|
"type": "git",
|
|
14
22
|
"url": "https://github.com/UaiBuilder/uaibuilder.git"
|