@stone-js/mcp-dev 0.8.5 → 0.8.7
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/browser.js +15 -15
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import { classDecoratorLegacyWrapper } from '@stone-js/core';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Browser stub of `@McpDev()`: a no-op.
|
|
5
|
-
*
|
|
6
|
-
* The dev MCP server (`stone mcp`) is a Node-only, development concern. Stubbing the decorator for
|
|
7
|
-
* the browser keeps an isomorphic app compiling and inert there, without dragging the CLI command,
|
|
8
|
-
* the MCP SDK server, or `node:fs` into the browser bundle (which would break a SPA). The real
|
|
9
|
-
* decorator lives in the Node build.
|
|
10
|
-
*
|
|
11
|
-
* @param _options - Ignored in the browser.
|
|
12
|
-
* @returns A no-op class decorator.
|
|
13
|
-
*/
|
|
14
|
-
const McpDev = (_options = {}) => {
|
|
15
|
-
return classDecoratorLegacyWrapper((_target, _context) => { });
|
|
16
|
-
};
|
|
17
|
-
|
|
18
3
|
/**
|
|
19
4
|
* Browser stub of the MCP dev blueprint.
|
|
20
5
|
*
|
|
@@ -34,4 +19,19 @@ function defineMcpDev(options = {}) {
|
|
|
34
19
|
return { stone: { mcpDev: options } };
|
|
35
20
|
}
|
|
36
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Browser stub of `@McpDev()`: a no-op.
|
|
24
|
+
*
|
|
25
|
+
* The dev MCP server (`stone mcp`) is a Node-only, development concern. Stubbing the decorator for
|
|
26
|
+
* the browser keeps an isomorphic app compiling and inert there, without dragging the CLI command,
|
|
27
|
+
* the MCP SDK server, or `node:fs` into the browser bundle (which would break a SPA). The real
|
|
28
|
+
* decorator lives in the Node build.
|
|
29
|
+
*
|
|
30
|
+
* @param _options - Ignored in the browser.
|
|
31
|
+
* @returns A no-op class decorator.
|
|
32
|
+
*/
|
|
33
|
+
const McpDev = (_options = {}) => {
|
|
34
|
+
return classDecoratorLegacyWrapper((_target, _context) => { });
|
|
35
|
+
};
|
|
36
|
+
|
|
37
37
|
export { McpDev, defineMcpDev, mcpDevBlueprint };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stone-js/mcp-dev",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "Serve Stone.js's knowledge to your coding agent. A single `stone mcp` command starts an MCP server (stdio) exposing the framework's concepts, modules and best-practices plus your own tools, so the LLM masters the context while you master the domain.",
|
|
5
5
|
"author": "Mr. Stone <evensstone@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"node": ">=18.17.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@stone-js/core": "0.8.
|
|
50
|
+
"@stone-js/core": "0.8.7"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@modelcontextprotocol/sdk": "^1.29.0"
|