@epic-web/workshop-mcp 6.84.1 → 6.84.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.
- package/dist/resources.d.ts +4 -6
- package/dist/tools.js +4 -1
- package/package.json +2 -2
package/dist/resources.d.ts
CHANGED
|
@@ -16,9 +16,8 @@ export declare function getWorkshopContext({ workshopDirectory, }: InputSchemaTy
|
|
|
16
16
|
epicLessonSlug: string;
|
|
17
17
|
epicCompletedAt: string | null;
|
|
18
18
|
} & {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly stepNumber?: undefined;
|
|
19
|
+
type: "instructions";
|
|
20
|
+
exerciseNumber: number;
|
|
22
21
|
}) | undefined;
|
|
23
22
|
};
|
|
24
23
|
finishedInstructions: {
|
|
@@ -28,9 +27,8 @@ export declare function getWorkshopContext({ workshopDirectory, }: InputSchemaTy
|
|
|
28
27
|
epicLessonSlug: string;
|
|
29
28
|
epicCompletedAt: string | null;
|
|
30
29
|
} & {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
readonly stepNumber?: undefined;
|
|
30
|
+
type: "finished";
|
|
31
|
+
exerciseNumber: number;
|
|
34
32
|
}) | undefined;
|
|
35
33
|
};
|
|
36
34
|
};
|
package/dist/tools.js
CHANGED
|
@@ -276,7 +276,10 @@ export function initTools(server) {
|
|
|
276
276
|
}
|
|
277
277
|
if (nextProgress.type === 'workshop-instructions' ||
|
|
278
278
|
nextProgress.type === 'workshop-finished') {
|
|
279
|
-
|
|
279
|
+
const label = nextProgress.type === 'workshop-instructions'
|
|
280
|
+
? 'workshop instructions'
|
|
281
|
+
: 'workshop finished';
|
|
282
|
+
throw new Error(`The user needs to mark the ${label} as complete before they can continue. Have them watch the video at ${nextProgress.epicLessonUrl}, then mark it as complete.`);
|
|
280
283
|
}
|
|
281
284
|
throw new Error(`The user needs to mark ${nextProgress.epicLessonSlug} as complete before they can continue. Have them watch the video at ${nextProgress.epicLessonUrl}, then mark it as complete.`);
|
|
282
285
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epic-web/workshop-mcp",
|
|
3
|
-
"version": "6.84.
|
|
3
|
+
"version": "6.84.3",
|
|
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.84.
|
|
42
|
+
"@epic-web/workshop-utils": "6.84.3",
|
|
43
43
|
"@mcp-ui/server": "^6.0.1",
|
|
44
44
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
45
45
|
"@sentry/node": "^10.38.0",
|