@carbonvoice/cv-mcp-server 1.0.7 → 1.0.9

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.
@@ -1,13 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.env = void 0;
7
- const dotenv_1 = __importDefault(require("dotenv"));
8
4
  const zod_1 = require("zod");
9
5
  const constants_1 = require("../constants");
10
- dotenv_1.default.config();
11
6
  const Environment = zod_1.z.object({
12
7
  CARBON_VOICE_BASE_URL: zod_1.z
13
8
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbonvoice/cv-mcp-server",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Server implementation for integrating with Carbon Voice's API, providing tools and endpoints for voice messaging, conversations, and workspace management through MCP (Model Context Protocol)",
5
5
  "author": "Carbon Voice",
6
6
  "license": "ISC",
@@ -14,11 +14,9 @@
14
14
  "scripts": {
15
15
  "build": "shx rm -rf dist && tsc && shx chmod +x dist/*.js",
16
16
  "prepare": "npm run build",
17
- "pre": "npm run build",
18
17
  "lint:fix": "eslint src --fix",
19
- "mcp:inspector": "npx --env-file=.env @modelcontextprotocol/inspector node dist/stdio.js",
20
- "dev:stdio": "npx --env-file=.env -- node dist/stdio.js",
21
- "auto:build": "nodemon --watch src --ext ts --exec npm run build",
18
+ "mcp:inspector": "env-cmd npx @modelcontextprotocol/inspector node dist/stdio.js",
19
+ "auto:build": "env-cmd nodemon --watch src --ext ts --exec npm run build",
22
20
  "generate:api": "orval --config orval.config.ts"
23
21
  },
24
22
  "files": [
@@ -38,13 +36,13 @@
38
36
  "winston": "^3.17.0"
39
37
  },
40
38
  "devDependencies": {
41
- "dotenv": "^16.5.0",
42
39
  "@eslint/js": "^9.29.0",
43
40
  "@orval/zod": "^7.9.0",
44
41
  "@types/handlebars": "^4.0.40",
45
42
  "@types/node": "^22.15.29",
46
43
  "@typescript-eslint/eslint-plugin": "^8.33.1",
47
44
  "@typescript-eslint/parser": "^8.33.1",
45
+ "env-cmd": "^10.1.0",
48
46
  "eslint": "^9.29.0",
49
47
  "eslint-config-prettier": "^10.1.5",
50
48
  "eslint-plugin-prettier": "^5.4.1",