chaimi-keep-mcp 3.1.40-beta.4 → 3.1.40

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/SKILL.md +23 -26
  2. package/package.json +1 -1
package/SKILL.md CHANGED
@@ -213,9 +213,7 @@ Agent **直接使用当前时间**作为消费时间,无需进行时间语义
213
213
  date -j -f "%Y-%m-%d %H:%M:%S" "YYYY-MM-DD HH:MM:SS" +%s000
214
214
  ```
215
215
  - 如果未使用 date 命令计算,服务端将拒绝保存
216
- - 示例格式:`2026-04-20 18:30:00` → `1776604200000`(北京时间),禁止使用示例中的具体数字,必须根据实际时间计算
217
-
218
- **必填字段:** `name`、`amount`、`category`、`date`
216
+ - 示例格式:`YYYY-MM-DD HH:mm:ss` → `[毫秒时间戳]`(北京时间),禁止使用示例中的具体数字,必须根据当前实际时间重新计算
219
217
 
220
218
  ---
221
219
 
@@ -228,11 +226,17 @@ Agent **直接使用当前时间**作为消费时间,无需进行时间语义
228
226
 
229
227
  **时间处理规则:**
230
228
 
231
- Agent **直接使用当前时间**作为收入时间,无需进行时间语义解析。
229
+ Agent **直接使用当前时间**作为消费时间,无需进行时间语义解析。
232
230
 
233
- **最终传入的 `date` 参数格式:**毫秒级时间戳(13位数字)⚠️ **重要:**必须根据实际年月日时分秒计算时间戳,示例格式:`YYYY-MM-DD HH:mm:ss` `[毫秒时间戳]`(北京时间),禁止使用示例中的具体数字,必须根据当前实际时间重新计算
231
+ **最终传入的 `date` 参数格式:**毫秒级时间戳(13位数字)⚠️ **⚠️ ⚠️ 重要 ⚠️ ⚠️ ⚠️**:
234
232
 
235
- **必填字段:** `name`、`amount`、`category`、`date`
233
+ - **必须使用 date 命令计算时间戳,禁止手动填写或猜测**
234
+ - **强制使用以下命令:**
235
+ ```bash
236
+ date -j -f "%Y-%m-%d %H:%M:%S" "YYYY-MM-DD HH:MM:SS" +%s000
237
+ ```
238
+ - 如果未使用 date 命令计算,服务端将拒绝保存
239
+ - 示例格式:`YYYY-MM-DD HH:mm:ss` → `[毫秒时间戳]`(北京时间),禁止使用示例中的具体数字,必须根据当前实际时间重新计算
236
240
 
237
241
  ---
238
242
 
@@ -244,26 +248,19 @@ Agent **直接使用当前时间**作为收入时间,无需进行时间语义
244
248
  3. **字段核对**:确保所有解析结果字段都传给 `save_receipt`
245
249
  4. 调用 `save_receipt` 保存
246
250
 
247
- **必填字段:**
248
- - `store`:商家名称
249
- - `date`:毫秒时间戳(13位数字,格式:`[毫秒时间戳]`),小票上的真实消费时间,⚠️ **⚠️ ⚠️ 重要 ⚠️ ⚠️ ⚠️**:
250
-
251
- - **必须使用 date 命令计算时间戳,禁止手动填写或猜测**
252
- - **强制使用以下命令:**
253
- ```bash
254
- date -j -f "%Y-%m-%d %H:%M:%S" "YYYY-MM-DD HH:MM:SS" +%s000
255
- ```
256
- - 如果未使用 date 命令计算,服务端将拒绝保存
257
- - 禁止使用示例中的具体数字,必须根据小票上的实际时间重新计算
258
- - `totalAmount`:商品原价总和
259
- - `actualAmount`:实付金额(优惠后)
260
- - `originalAmount`:原价(优惠前)
261
- - `discountAmount`:优惠金额
262
- - `items`:商品数组,每个商品必须有 `name`、`amount`、`price`、`quantity`、`category`
263
- - `category`:主分类(如:蔬菜、肉类、水果、水产,常见超市购物分类)
264
- - `subCategory`:子分类(如:叶菜类、根茎类、猪肉类,超市细分类目),推荐填写
265
- - `unit`:计价单位(如:元/500g、元/个、元/盒、元/袋)
266
- - `marketPrice`:单价,根据 unit 计算,如 unit=元/500g,则 marketPrice=金额÷重量(g)×500
251
+ **时间处理规则:**
252
+
253
+ Agent **直接使用当前时间**作为消费时间,无需进行时间语义解析。
254
+
255
+ **最终传入的 `date` 参数格式:**毫秒级时间戳(13位数字)⚠️ **⚠️ ⚠️ 重要 ⚠️ ⚠️ ⚠️**:
256
+
257
+ - **必须使用 date 命令计算时间戳,禁止手动填写或猜测**
258
+ - **强制使用以下命令:**
259
+ ```bash
260
+ date -j -f "%Y-%m-%d %H:%M:%S" "YYYY-MM-DD HH:MM:SS" +%s000
261
+ ```
262
+ - 如果未使用 date 命令计算,服务端将拒绝保存
263
+ - 示例格式:`YYYY-MM-DD HH:mm:ss` → `[毫秒时间戳]`(北京时间),禁止使用示例中的具体数字,必须根据当前实际时间重新计算
267
264
 
268
265
  ---
269
266
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chaimi-keep-mcp",
3
- "version": "3.1.40-beta.4",
3
+ "version": "3.1.40",
4
4
  "description": "柴米记账 MCP Server - 支持 Claude、Cursor、OpenClaw、WorkBuddy 等 AI 工具直接记账",
5
5
  "main": "server.js",
6
6
  "bin": {