@ksm0709/context 0.0.27 → 0.0.28
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/cli/index.js +2 -2
- package/dist/index.js +2 -2
- package/dist/mcp.js +18 -0
- package/dist/omx/index.mjs +2 -2
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -27,7 +27,7 @@ function resolveContextDir(projectDir) {
|
|
|
27
27
|
// package.json
|
|
28
28
|
var package_default = {
|
|
29
29
|
name: "@ksm0709/context",
|
|
30
|
-
version: "0.0.
|
|
30
|
+
version: "0.0.28",
|
|
31
31
|
author: {
|
|
32
32
|
name: "TaehoKang",
|
|
33
33
|
email: "ksm07091@gmail.com"
|
|
@@ -69,7 +69,7 @@ var package_default = {
|
|
|
69
69
|
"@opencode-ai/plugin": ">=1.0.0"
|
|
70
70
|
},
|
|
71
71
|
dependencies: {
|
|
72
|
-
"@ksm0709/context": "^0.0.
|
|
72
|
+
"@ksm0709/context": "^0.0.27",
|
|
73
73
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
74
74
|
"jsonc-parser": "^3.0.0"
|
|
75
75
|
},
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import { join as join2 } from "path";
|
|
|
25
25
|
// package.json
|
|
26
26
|
var package_default = {
|
|
27
27
|
name: "@ksm0709/context",
|
|
28
|
-
version: "0.0.
|
|
28
|
+
version: "0.0.28",
|
|
29
29
|
author: {
|
|
30
30
|
name: "TaehoKang",
|
|
31
31
|
email: "ksm07091@gmail.com"
|
|
@@ -67,7 +67,7 @@ var package_default = {
|
|
|
67
67
|
"@opencode-ai/plugin": ">=1.0.0"
|
|
68
68
|
},
|
|
69
69
|
dependencies: {
|
|
70
|
-
"@ksm0709/context": "^0.0.
|
|
70
|
+
"@ksm0709/context": "^0.0.27",
|
|
71
71
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
72
72
|
"jsonc-parser": "^3.0.0"
|
|
73
73
|
},
|
package/dist/mcp.js
CHANGED
|
@@ -33087,6 +33087,24 @@ ${tags.map((t) => ` - ${t}`).join(`
|
|
|
33087
33087
|
};
|
|
33088
33088
|
}
|
|
33089
33089
|
});
|
|
33090
|
+
const listToolsMethod = ListToolsRequestSchema.shape.method.value;
|
|
33091
|
+
const originalListToolsHandler = server.server._requestHandlers?.get(listToolsMethod);
|
|
33092
|
+
if (originalListToolsHandler) {
|
|
33093
|
+
server.server.setRequestHandler(ListToolsRequestSchema, async (request, extra) => {
|
|
33094
|
+
const response = await originalListToolsHandler(request, extra);
|
|
33095
|
+
if (response.tools) {
|
|
33096
|
+
response.tools = response.tools.map((tool) => {
|
|
33097
|
+
const newTool = { ...tool };
|
|
33098
|
+
delete newTool.execution;
|
|
33099
|
+
if (newTool.inputSchema && newTool.inputSchema.$schema) {
|
|
33100
|
+
delete newTool.inputSchema.$schema;
|
|
33101
|
+
}
|
|
33102
|
+
return newTool;
|
|
33103
|
+
});
|
|
33104
|
+
}
|
|
33105
|
+
return response;
|
|
33106
|
+
});
|
|
33107
|
+
}
|
|
33090
33108
|
const transport = new StdioServerTransport;
|
|
33091
33109
|
server.connect(transport);
|
|
33092
33110
|
return server;
|
package/dist/omx/index.mjs
CHANGED
|
@@ -95,7 +95,7 @@ import { join as join3 } from "node:path";
|
|
|
95
95
|
// package.json
|
|
96
96
|
var package_default = {
|
|
97
97
|
name: "@ksm0709/context",
|
|
98
|
-
version: "0.0.
|
|
98
|
+
version: "0.0.28",
|
|
99
99
|
author: {
|
|
100
100
|
name: "TaehoKang",
|
|
101
101
|
email: "ksm07091@gmail.com"
|
|
@@ -137,7 +137,7 @@ var package_default = {
|
|
|
137
137
|
"@opencode-ai/plugin": ">=1.0.0"
|
|
138
138
|
},
|
|
139
139
|
dependencies: {
|
|
140
|
-
"@ksm0709/context": "^0.0.
|
|
140
|
+
"@ksm0709/context": "^0.0.27",
|
|
141
141
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
142
142
|
"jsonc-parser": "^3.0.0"
|
|
143
143
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ksm0709/context",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "TaehoKang",
|
|
6
6
|
"email": "ksm07091@gmail.com"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@opencode-ai/plugin": ">=1.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ksm0709/context": "^0.0.
|
|
45
|
+
"@ksm0709/context": "^0.0.27",
|
|
46
46
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
47
47
|
"jsonc-parser": "^3.0.0"
|
|
48
48
|
},
|