@uniformdev/cli 20.49.2 → 20.49.3

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/dist/index.mjs +6 -10
  2. package/package.json +9 -9
package/dist/index.mjs CHANGED
@@ -1124,7 +1124,7 @@ import { PostHog } from "posthog-node";
1124
1124
  // package.json
1125
1125
  var package_default = {
1126
1126
  name: "@uniformdev/cli",
1127
- version: "20.49.2",
1127
+ version: "20.49.3",
1128
1128
  description: "Uniform command line interface tool",
1129
1129
  license: "SEE LICENSE IN LICENSE.txt",
1130
1130
  main: "./cli.js",
@@ -1343,16 +1343,12 @@ function getMcpDirectory(agentType, customDir) {
1343
1343
  // src/commands/ai/lib/mcp.ts
1344
1344
  import { yellow as yellow2 } from "colorette";
1345
1345
  import { existsSync as existsSync3, readFileSync } from "fs";
1346
- function createUniformMcpServerConfig(apiKey, projectId, aiApiHost, apiHost) {
1346
+ function createUniformMcpServerConfig(apiKey, projectId, aiApiHost, _apiHost) {
1347
1347
  return {
1348
- type: "stdio",
1349
- command: "npx",
1350
- args: ["-y", "@uniformdev/uniform-mcp"],
1351
- env: {
1352
- UNIFORM_API_KEY: apiKey,
1353
- UNIFORM_PROJECT_ID: projectId,
1354
- UNIFORM_AI_API_HOST: aiApiHost,
1355
- UNIFORM_API_HOST: apiHost
1348
+ type: "streamable-http",
1349
+ url: `${aiApiHost}/projects/${projectId}/mcp`,
1350
+ headers: {
1351
+ "x-api-key": apiKey
1356
1352
  }
1357
1353
  };
1358
1354
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "20.49.2",
3
+ "version": "20.49.3",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -28,13 +28,13 @@
28
28
  "dependencies": {
29
29
  "@inquirer/prompts": "^7.10.1",
30
30
  "@thi.ng/mime": "^2.2.23",
31
- "@uniformdev/assets": "20.49.2",
32
- "@uniformdev/canvas": "20.49.2",
33
- "@uniformdev/context": "20.49.2",
34
- "@uniformdev/files": "20.49.2",
35
- "@uniformdev/project-map": "20.49.2",
36
- "@uniformdev/redirect": "20.49.2",
37
- "@uniformdev/richtext": "20.49.2",
31
+ "@uniformdev/assets": "20.49.3",
32
+ "@uniformdev/canvas": "20.49.3",
33
+ "@uniformdev/context": "20.49.3",
34
+ "@uniformdev/files": "20.49.3",
35
+ "@uniformdev/project-map": "20.49.3",
36
+ "@uniformdev/redirect": "20.49.3",
37
+ "@uniformdev/richtext": "20.49.3",
38
38
  "call-bind": "^1.0.2",
39
39
  "colorette": "2.0.20",
40
40
  "cosmiconfig": "9.0.0",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "6236dd13bff34cc8ec526d2e93e344428c1c9541"
84
+ "gitHead": "a6424635c7b318f5039e4d9c4d5a2ec72125af46"
85
85
  }