@memoraone/mcp 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.
@@ -1,5 +1,5 @@
1
1
  // packages/mcp/src/runContext.ts
2
- import { randomUUID } from 'crypto';
2
+ import * as crypto from 'crypto';
3
3
  let currentRunId = null;
4
4
  export function getCurrentRunId() {
5
5
  return currentRunId;
@@ -14,5 +14,5 @@ export function resolveRunId(passed) {
14
14
  return currentRunId;
15
15
  }
16
16
  export function generateRunId() {
17
- return randomUUID();
17
+ return crypto.randomBytes(16).toString('hex');
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memoraone/mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "memoraone-mcp": "dist/cli.js"