@julong/mono-rele2-core 1.1.6 → 1.1.8

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/index.js CHANGED
@@ -1,14 +1,12 @@
1
- // ../common/mcp/tool.ts
1
+ // ../common/dist/index.js
2
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
2
4
  function defineTool(tool) {
3
5
  return tool;
4
6
  }
5
7
  function text(content) {
6
8
  return { content: [{ type: "text", text: content }] };
7
9
  }
8
-
9
- // ../common/mcp/server.ts
10
- import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
11
- import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
12
10
  function createMcpServer(config, tools) {
13
11
  const server = new McpServer(config);
14
12
  for (const tool of tools) {
package/dist/server.js CHANGED
@@ -1,16 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // ../common/mcp/tool.ts
3
+ // ../common/dist/index.js
4
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
5
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
6
  function defineTool(tool) {
5
7
  return tool;
6
8
  }
7
9
  function text(content) {
8
10
  return { content: [{ type: "text", text: content }] };
9
11
  }
10
-
11
- // ../common/mcp/server.ts
12
- import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
13
- import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
14
12
  function createMcpServer(config, tools) {
15
13
  const server2 = new McpServer(config);
16
14
  for (const tool of tools) {
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@julong/mono-rele2-core",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
+ "dependencies": {
7
+ "@julong/mono-rele2-common": "workspace:*"
8
+ },
6
9
  "exports": {
7
10
  ".": {
8
11
  "import": "./dist/index.js",