@alpic-ai/insights 0.0.0-dev.gfe99c34 → 0.0.0-dev.gfeda7bd
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.mjs +2 -2
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -121,7 +121,7 @@ const captureFeedback = (server, options) => {
|
|
|
121
121
|
if (marked[INSTALLED_MARKER$1]) return;
|
|
122
122
|
marked[INSTALLED_MARKER$1] = true;
|
|
123
123
|
const middleware = feedbackMiddleware(options);
|
|
124
|
-
const targets = new Set(["tools/list", "tools/call"]);
|
|
124
|
+
const targets = /* @__PURE__ */ new Set(["tools/list", "tools/call"]);
|
|
125
125
|
const wrap = (method, handler) => {
|
|
126
126
|
if (!targets.has(method)) return handler;
|
|
127
127
|
return async (...args) => {
|
|
@@ -266,7 +266,7 @@ const captureIntents = (server, options) => {
|
|
|
266
266
|
if (marked[INSTALLED_MARKER]) return;
|
|
267
267
|
marked[INSTALLED_MARKER] = true;
|
|
268
268
|
const middleware = intentMiddleware(options);
|
|
269
|
-
const targets = new Set(["tools/list", "tools/call"]);
|
|
269
|
+
const targets = /* @__PURE__ */ new Set(["tools/list", "tools/call"]);
|
|
270
270
|
const wrap = (method, handler) => {
|
|
271
271
|
if (!targets.has(method)) return handler;
|
|
272
272
|
return async (...args) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpic-ai/insights",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.gfeda7bd",
|
|
4
4
|
"description": "User insights middlewares for Alpic-hosted MCP servers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
30
30
|
"@total-typescript/tsconfig": "^1.0.4",
|
|
31
|
-
"@types/node": "^25.9.
|
|
31
|
+
"@types/node": "^25.9.4",
|
|
32
32
|
"shx": "^0.4.0",
|
|
33
|
-
"skybridge": "^1.1.
|
|
34
|
-
"tsdown": "^0.22.
|
|
33
|
+
"skybridge": "^1.1.1",
|
|
34
|
+
"tsdown": "^0.22.3",
|
|
35
35
|
"typescript": "^6.0.3",
|
|
36
|
-
"vitest": "^4.1.
|
|
36
|
+
"vitest": "^4.1.9",
|
|
37
37
|
"zod": "^4.4.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|