@mcpcn/mcp-notification 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -126,8 +126,11 @@ class ReminderServer {
126
126
  const name = request.params.name;
127
127
  const args = request.params.arguments;
128
128
  const chatSessionId = request?.meta?.chatSessionId ??
129
+ request?._meta?.chatSessionId ??
129
130
  request?.params?.meta?.chatSessionId ??
131
+ request?.params?._meta?.chatSessionId ??
130
132
  request?.params?.arguments?.meta?.chatSessionId ??
133
+ request?.params?.arguments?._meta?.chatSessionId ??
131
134
  request?.params?.arguments?.chatSessionId ??
132
135
  request?.params?.chatSessionId;
133
136
  if (!chatSessionId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpcn/mcp-notification",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "系统通知MCP服务器",
5
5
  "packageManager": "yarn@1.22.22",
6
6
  "main": "dist/index.js",