@mcpcn/mcp-notification 1.1.9 → 1.1.11

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 +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -106,7 +106,6 @@ class ReminderServer {
106
106
  intervalSec: { type: 'number', minimum: 1, description: '按间隔循环的间隔秒数,例如 3600 表示每小时提醒一次。仅repeat=interval时必需。' },
107
107
  timeOfDay: { type: 'string', pattern: '^\\d{1,2}:\\d{2}(:\\d{2})?$', description: '一天中的时间,格式 HH:mm 或 HH:mm:ss,例如 08:00 或 08:00:00。repeat=daily时必需;repeat=none且未提供triggerAt/delaySec时用于推算。典型用法:用户说“明天早上8点”,请选择repeat=none并设置timeOfDay="08:00",服务端会自动推算到最近的08:00。' },
108
108
  tzOffsetMin: { type: 'number', description: '时区偏移分钟,例如北京为 480;不提供时默认使用本机时区。' },
109
- chatSessionId: { type: 'string', minLength: 1, description: '设备会话标识,由宿主环境传入。' },
110
109
  },
111
110
  required: ['content', 'repeat'],
112
111
  additionalProperties: false,
@@ -142,7 +141,7 @@ class ReminderServer {
142
141
  description: '获取设备的提醒列表(仅未触发的 scheduled)。',
143
142
  inputSchema: {
144
143
  type: 'object',
145
- properties: { chatSessionId: { type: 'string', minLength: 1, description: '设备会话标识。' } },
144
+ properties: {},
146
145
  required: [],
147
146
  additionalProperties: false,
148
147
  },
@@ -152,7 +151,7 @@ class ReminderServer {
152
151
  description: '取消指定提醒。',
153
152
  inputSchema: {
154
153
  type: 'object',
155
- properties: { id: { type: 'string', minLength: 1, description: '提醒ID。' }, chatSessionId: { type: 'string', minLength: 1, description: '设备会话标识。' } },
154
+ properties: { id: { type: 'string', minLength: 1, description: '提醒ID。' } },
156
155
  required: ['id'],
157
156
  additionalProperties: false,
158
157
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpcn/mcp-notification",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "系统通知MCP服务器",
5
5
  "packageManager": "yarn@1.22.22",
6
6
  "main": "dist/index.js",