@decaf-ts/mcp-server 0.4.0 → 0.4.1
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/mcp-server.cjs +711 -965
- package/dist/mcp-server.esm.cjs +710 -959
- package/lib/esm/mcp/fastmcp-wiring.js +5 -5
- package/lib/esm/mcp/index.d.ts +2 -0
- package/lib/esm/mcp/index.js +8 -5
- package/lib/esm/mcp/mcp-module.d.ts +3 -3
- package/lib/esm/mcp/mcp-module.js +3 -3
- package/lib/esm/mcp/moduleRegistry.d.ts +3 -1
- package/lib/esm/mcp/moduleRegistry.js +8 -7
- package/lib/esm/mcp/prompts/index.d.ts +1 -1
- package/lib/esm/mcp/prompts/index.js +2 -2
- package/lib/esm/mcp/prompts/prompts.js +9 -3
- package/lib/esm/mcp/templates/index.js +4 -4
- package/lib/esm/mcp/tools/codex-tools.js +1 -1
- package/lib/esm/mcp/tools/generateMcpModule.js +1 -1
- package/lib/esm/mcp/tools/index.d.ts +0 -102
- package/lib/esm/mcp/tools/index.js +6 -8
- package/lib/esm/mcp/tools/tools.js +4 -2
- package/lib/esm/mcp/utils.d.ts +1 -2
- package/lib/esm/mcp/utils.js +1 -1
- package/lib/esm/metadata.d.ts +1 -1
- package/lib/esm/metadata.js +1 -1
- package/lib/esm/modules/_template/index.d.ts +4 -4
- package/lib/esm/modules/_template/index.js +9 -9
- package/lib/esm/modules/index.js +11 -4
- package/lib/esm/modules/mcp/index.d.ts +4 -4
- package/lib/esm/modules/mcp/index.js +9 -9
- package/lib/mcp/fastmcp-wiring.cjs +10 -10
- package/lib/mcp/index.cjs +16 -11
- package/lib/mcp/index.d.ts +2 -0
- package/lib/mcp/mcp-module.cjs +2 -9
- package/lib/mcp/mcp-module.d.ts +3 -3
- package/lib/mcp/moduleRegistry.cjs +9 -7
- package/lib/mcp/moduleRegistry.d.ts +3 -1
- package/lib/mcp/prompts/index.cjs +2 -2
- package/lib/mcp/prompts/index.d.ts +1 -1
- package/lib/mcp/prompts/prompts.cjs +9 -3
- package/lib/mcp/templates/index.cjs +1 -1
- package/lib/mcp/tools/codex-tools.cjs +1 -1
- package/lib/mcp/tools/generateMcpModule.cjs +1 -1
- package/lib/mcp/tools/index.cjs +8 -24
- package/lib/mcp/tools/index.d.ts +0 -102
- package/lib/mcp/tools/tools.cjs +40 -5
- package/lib/mcp/utils.cjs +1 -1
- package/lib/mcp/utils.d.ts +1 -2
- package/lib/metadata.cjs +1 -1
- package/lib/metadata.d.ts +1 -1
- package/lib/modules/_template/index.cjs +17 -17
- package/lib/modules/_template/index.d.ts +4 -4
- package/lib/modules/index.cjs +14 -7
- package/lib/modules/mcp/index.cjs +17 -17
- package/lib/modules/mcp/index.d.ts +4 -4
- package/package.json +6 -2
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.modulePackage = exports.tools = exports.templates = exports.resources = exports.prompts = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
var
|
|
9
|
-
Object.defineProperty(exports, "prompts", { enumerable: true, get: function () { return
|
|
10
|
-
var
|
|
11
|
-
Object.defineProperty(exports, "resources", { enumerable: true, get: function () { return
|
|
12
|
-
var
|
|
13
|
-
Object.defineProperty(exports, "templates", { enumerable: true, get: function () { return
|
|
14
|
-
var
|
|
15
|
-
Object.defineProperty(exports, "tools", { enumerable: true, get: function () { return
|
|
4
|
+
const index_1 = require("./prompts/index.cjs");
|
|
5
|
+
const index_2 = require("./resources/index.cjs");
|
|
6
|
+
const index_3 = require("./templates/index.cjs");
|
|
7
|
+
const index_4 = require("./tools/index.cjs");
|
|
8
|
+
var index_5 = require("./prompts/index.cjs");
|
|
9
|
+
Object.defineProperty(exports, "prompts", { enumerable: true, get: function () { return index_5.prompts; } });
|
|
10
|
+
var index_6 = require("./resources/index.cjs");
|
|
11
|
+
Object.defineProperty(exports, "resources", { enumerable: true, get: function () { return index_6.resources; } });
|
|
12
|
+
var index_7 = require("./templates/index.cjs");
|
|
13
|
+
Object.defineProperty(exports, "templates", { enumerable: true, get: function () { return index_7.templates; } });
|
|
14
|
+
var index_8 = require("./tools/index.cjs");
|
|
15
|
+
Object.defineProperty(exports, "tools", { enumerable: true, get: function () { return index_8.tools; } });
|
|
16
16
|
exports.modulePackage = {
|
|
17
17
|
name: "mcp",
|
|
18
|
-
prompts:
|
|
19
|
-
resources:
|
|
20
|
-
templates:
|
|
21
|
-
tools:
|
|
18
|
+
prompts: index_1.prompts,
|
|
19
|
+
resources: index_2.resources,
|
|
20
|
+
templates: index_3.templates,
|
|
21
|
+
tools: index_4.tools,
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kdWxlcy9tY3AvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsK0NBQTBDO0FBQzFDLGlEQUE4QztBQUM5QyxpREFBOEM7QUFDOUMsNkNBQXNDO0FBRXRDLDZDQUEwQztBQUFqQyxnR0FBQSxPQUFPLE9BQUE7QUFDaEIsK0NBQThDO0FBQXJDLGtHQUFBLFNBQVMsT0FBQTtBQUNsQiwrQ0FBOEM7QUFBckMsa0dBQUEsU0FBUyxPQUFBO0FBQ2xCLDJDQUFzQztBQUE3Qiw4RkFBQSxLQUFLLE9BQUE7QUFFRCxRQUFBLGFBQWEsR0FBd0I7SUFDaEQsSUFBSSxFQUFFLEtBQUs7SUFDWCxPQUFPLEVBQVAsZUFBTztJQUNQLFNBQVMsRUFBVCxpQkFBUztJQUNULFNBQVMsRUFBVCxpQkFBUztJQUNULEtBQUssRUFBTCxhQUFLO0NBQ04sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgTW9kdWxlRXhwb3J0UGFja2FnZSB9IGZyb20gXCIuLi8uLi90eXBlc1wiO1xuaW1wb3J0IHsgcHJvbXB0cyB9IGZyb20gXCIuL3Byb21wdHMvaW5kZXhcIjtcbmltcG9ydCB7IHJlc291cmNlcyB9IGZyb20gXCIuL3Jlc291cmNlcy9pbmRleFwiO1xuaW1wb3J0IHsgdGVtcGxhdGVzIH0gZnJvbSBcIi4vdGVtcGxhdGVzL2luZGV4XCI7XG5pbXBvcnQgeyB0b29scyB9IGZyb20gXCIuL3Rvb2xzL2luZGV4XCI7XG5cbmV4cG9ydCB7IHByb21wdHMgfSBmcm9tIFwiLi9wcm9tcHRzL2luZGV4XCI7XG5leHBvcnQgeyByZXNvdXJjZXMgfSBmcm9tIFwiLi9yZXNvdXJjZXMvaW5kZXhcIjtcbmV4cG9ydCB7IHRlbXBsYXRlcyB9IGZyb20gXCIuL3RlbXBsYXRlcy9pbmRleFwiO1xuZXhwb3J0IHsgdG9vbHMgfSBmcm9tIFwiLi90b29scy9pbmRleFwiO1xuXG5leHBvcnQgY29uc3QgbW9kdWxlUGFja2FnZTogTW9kdWxlRXhwb3J0UGFja2FnZSA9IHtcbiAgbmFtZTogXCJtY3BcIixcbiAgcHJvbXB0cyxcbiAgcmVzb3VyY2VzLFxuICB0ZW1wbGF0ZXMsXG4gIHRvb2xzLFxufTtcbiJdfQ==
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ModuleExportPackage } from "../../types";
|
|
2
|
-
export { prompts } from "./prompts";
|
|
3
|
-
export { resources } from "./resources";
|
|
4
|
-
export { templates } from "./templates";
|
|
5
|
-
export { tools } from "./tools";
|
|
2
|
+
export { prompts } from "./prompts/index";
|
|
3
|
+
export { resources } from "./resources/index";
|
|
4
|
+
export { templates } from "./templates/index";
|
|
5
|
+
export { tools } from "./tools/index";
|
|
6
6
|
export declare const modulePackage: ModuleExportPackage;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/mcp-server",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "mcp server for code assistance of decaf-ts projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"types": "lib/index.d.ts",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"start": "node lib/bin/cli.cjs",
|
|
17
|
+
"start-dev": "ts-node src/bin/cli.ts",
|
|
17
18
|
"dev": "tsx watch fastmcp-server.ts",
|
|
18
19
|
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
|
|
19
20
|
"update-dependencies": "PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
|
|
@@ -139,5 +140,8 @@
|
|
|
139
140
|
"ts-morph": "^21.0.0",
|
|
140
141
|
"typescript": "^5.6.3"
|
|
141
142
|
},
|
|
142
|
-
"license": "AGPL-3.0-only"
|
|
143
|
+
"license": "AGPL-3.0-only",
|
|
144
|
+
"dependencies": {
|
|
145
|
+
"fastmcp": "^3.21.0"
|
|
146
|
+
}
|
|
143
147
|
}
|