@mcpcn/mcp-notification 1.0.11 → 1.0.12

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -109,6 +109,7 @@ class ReminderServer {
109
109
  intervalSec: { type: 'number' },
110
110
  timeOfDay: { type: 'string', description: '例如 18:00 或 18:00:00' },
111
111
  tzOffsetMin: { type: 'number', description: '时区偏移分钟,例如北京为 480' },
112
+ chatSessionId: { type: 'string' },
112
113
  },
113
114
  required: ['content', 'repeat'],
114
115
  additionalProperties: false,
@@ -119,7 +120,7 @@ class ReminderServer {
119
120
  description: '获取设备的提醒列表(仅未触发的 scheduled)。',
120
121
  inputSchema: {
121
122
  type: 'object',
122
- properties: {},
123
+ properties: { chatSessionId: { type: 'string' } },
123
124
  required: [],
124
125
  additionalProperties: false,
125
126
  },
@@ -129,7 +130,7 @@ class ReminderServer {
129
130
  description: '取消指定提醒。',
130
131
  inputSchema: {
131
132
  type: 'object',
132
- properties: { id: { type: 'string' } },
133
+ properties: { id: { type: 'string' }, chatSessionId: { type: 'string' } },
133
134
  required: ['id'],
134
135
  additionalProperties: false,
135
136
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpcn/mcp-notification",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "系统通知MCP服务器",
5
5
  "packageManager": "yarn@1.22.22",
6
6
  "main": "dist/index.js",