chaimi-keep-mcp 3.1.36-beta.13 → 3.1.36-beta.14

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 (3) hide show
  1. package/SKILL.md +8 -4
  2. package/package.json +1 -1
  3. package/server.js +3 -3
package/SKILL.md CHANGED
@@ -86,9 +86,11 @@ argument-hint: "[记账内容]"
86
86
 
87
87
  Agent **直接使用当前时间**作为消费时间,无需进行时间语义解析。
88
88
 
89
- **最终传入的 `date` 参数格式:**`1713209160000`(毫秒时间戳)
89
+ **最终传入的 `date` 参数格式:**毫秒级时间戳(13位数字)
90
90
 
91
- > 注意:Agent 必须传毫秒时间戳(如 `Date.now()`)。如果不传,MCP Server 会自动使用当前时间戳。
91
+ ⚠️ **重要:**
92
+ 1. 必须根据实际年月日时分秒,计算时间戳
93
+ 2. 示例:`2024-04-16 13:08:43` → `1713244123321`(北京时间),不允许使用示例中的数字,必须重新计算
92
94
 
93
95
  **必填字段:** `name`、`amount`、`category`、`date`
94
96
 
@@ -110,9 +112,11 @@ Agent **直接使用当前时间**作为消费时间,无需进行时间语义
110
112
 
111
113
  Agent **直接使用当前时间**作为收入时间,无需进行时间语义解析。
112
114
 
113
- **最终传入的 `date` 参数格式:**`1713209160000`(毫秒时间戳)
115
+ **最终传入的 `date` 参数格式:**毫秒级时间戳(13位数字)
114
116
 
115
- > 注意:Agent 必须传毫秒时间戳(如 `Date.now()`)。如果不传,MCP Server 会自动使用当前时间戳。
117
+ ⚠️ **重要:**
118
+ 1. 必须根据实际年月日时分秒,计算时间戳
119
+ 2. 示例:`2024-04-16 13:08:43` → `1713244123321`(北京时间),不允许使用示例中的数字,必须重新计算
116
120
 
117
121
  **必填字段:** `name`、`amount`、`category`、`date`
118
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chaimi-keep-mcp",
3
- "version": "3.1.36-beta.13",
3
+ "version": "3.1.36-beta.14",
4
4
  "description": "柴米记账 MCP Server - 支持 Claude、Cursor、OpenClaw、WorkBuddy 等 AI 工具直接记账",
5
5
  "main": "server.js",
6
6
  "bin": {
package/server.js CHANGED
@@ -165,7 +165,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
165
165
  unit: { type: 'string', description: '单位(可选)' },
166
166
  marketPrice: { type: 'string', description: '市场单价(可选)' },
167
167
  store: { type: 'string', description: '商家名称(可选)' },
168
- date: { type: 'number', description: '【必填】消费时间(毫秒时间戳,如:1713209160000),如未提供则使用当前时间戳' },
168
+ date: { type: 'number', description: '【必填】消费时间(毫秒级时间戳,13位数字。必须根据实际年月日时分秒计算,不允许复制示例数字)' },
169
169
  note: { type: 'string', description: '备注(可选)' },
170
170
  agentType: { type: 'string', description: '【必填】Agent类型,如:claude-desktop、cursor、openclaw、workbuddy、trae' },
171
171
  apiProvider: { type: 'string', description: '【必填】AI服务提供商,如:anthropic、openai、doubao、aliyun' },
@@ -182,7 +182,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
182
182
  type: 'object',
183
183
  properties: {
184
184
  store: { type: 'string', description: '商家名称(必填)' },
185
- date: { type: 'number', description: '【必填】消费时间(毫秒时间戳,如:1713209160000),小票上的真实消费时间' },
185
+ date: { type: 'number', description: '【必填】消费时间(毫秒级时间戳,13位数字。必须根据实际年月日时分秒计算,不允许复制示例数字)' },
186
186
  totalAmount: { type: 'number', description: '(必填)总金额(所有商品amount之和)' },
187
187
  originalAmount: { type: 'number', description: '(必填)应付金额(优惠前)' },
188
188
  discountAmount: { type: 'number', description: '(必填)优惠金额' },
@@ -279,7 +279,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
279
279
  amount: { type: 'number', description: '收入金额(必填)' },
280
280
  category: { type: 'string', description: '(必填)收入分类(如:工资、奖金、投资)' },
281
281
  store: { type: 'string', description: '付款方(如:公司名称)(可选)' },
282
- date: { type: 'number', description: '【必填】收入时间(毫秒时间戳,如:1713209160000),如未提供则使用当前时间戳' },
282
+ date: { type: 'number', description: '【必填】收入时间(毫秒级时间戳,13位数字。必须根据实际年月日时分秒计算,不允许复制示例数字)' },
283
283
  note: { type: 'string', description: '备注(可选)' },
284
284
  agentType: { type: 'string', description: '【必填】Agent类型,如:claude-desktop、cursor、openclaw、workbuddy、trae' },
285
285
  apiProvider: { type: 'string', description: '【必填】AI服务提供商,如:anthropic、openai、doubao、aliyun' },