@epic-web/workshop-mcp 6.89.3 → 6.89.4

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/utils.js +2 -1
  2. package/package.json +2 -2
package/dist/utils.js CHANGED
@@ -33,11 +33,12 @@ export async function handleWorkshopDirectory(workshopDirectory) {
33
33
  if (workshopDirectory.endsWith(`${path.sep}playground`)) {
34
34
  workshopDirectory = path.join(workshopDirectory, '..');
35
35
  }
36
+ const searchStartDirectory = workshopDirectory;
36
37
  while (true) {
37
38
  if (await isWorkshopDirectory(workshopDirectory))
38
39
  break;
39
40
  if (workshopDirectory === path.dirname(workshopDirectory)) {
40
- throw new Error(`No workshop directory found in "${workshopDirectory}"`);
41
+ throw new Error(`No workshop directory found while searching upward from "${searchStartDirectory}" to filesystem root "${workshopDirectory}"`);
41
42
  }
42
43
  workshopDirectory = path.dirname(workshopDirectory);
43
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epic-web/workshop-mcp",
3
- "version": "6.89.3",
3
+ "version": "6.89.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@epic-web/invariant": "^1.0.0",
42
- "@epic-web/workshop-utils": "6.89.3",
42
+ "@epic-web/workshop-utils": "6.89.4",
43
43
  "@mcp-ui/server": "^6.0.1",
44
44
  "@modelcontextprotocol/sdk": "^1.26.0",
45
45
  "@sentry/node": "^10.38.0",