@elsium-ai/mcp 0.1.7 → 0.2.1

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.js +2 -3
  2. package/package.json +8 -5
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
- // @bun
2
1
  // src/client.ts
3
- import { spawn } from "child_process";
2
+ import { spawn } from "node:child_process";
4
3
 
5
4
  // ../core/src/errors.ts
6
5
  class ElsiumError extends Error {
@@ -92,7 +91,7 @@ class ElsiumError extends Error {
92
91
  }
93
92
  }
94
93
  // ../core/src/utils.ts
95
- import { randomBytes } from "crypto";
94
+ import { randomBytes } from "node:crypto";
96
95
  function cryptoHex(bytes) {
97
96
  return randomBytes(bytes).toString("hex");
98
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elsium-ai/mcp",
3
- "version": "0.1.7",
3
+ "version": "0.2.1",
4
4
  "description": "Model Context Protocol (MCP) support for ElsiumAI — bidirectional bridge",
5
5
  "license": "MIT",
6
6
  "author": "Eric Utrera <ebutrera9103@gmail.com>",
@@ -22,15 +22,18 @@
22
22
  "dist"
23
23
  ],
24
24
  "scripts": {
25
- "build": "bun build ./src/index.ts --outdir ./dist --target bun && bun x tsc -p tsconfig.build.json --emitDeclarationOnly",
25
+ "build": "bun build ./src/index.ts --outdir ./dist --target node && bun x tsc -p tsconfig.build.json --emitDeclarationOnly",
26
26
  "dev": "bun --watch src/index.ts"
27
27
  },
28
28
  "dependencies": {
29
- "@elsium-ai/core": "workspace:*",
30
- "@elsium-ai/tools": "workspace:*"
29
+ "@elsium-ai/core": "^0.2.1",
30
+ "@elsium-ai/tools": "^0.2.1"
31
31
  },
32
32
  "devDependencies": {
33
- "bun-types": "^1.3.0",
34
33
  "typescript": "^5.7.0"
34
+ },
35
+ "publishConfig": {
36
+ "registry": "https://registry.npmjs.org",
37
+ "access": "public"
35
38
  }
36
39
  }