@kg-ai/kugou-skill 0.0.7 → 0.0.8

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.
package/SKILL.md CHANGED
@@ -255,8 +255,18 @@ kugou-cli music recent --page 1 --size 20
255
255
 
256
256
  ```bash
257
257
  kugou-cli music stats
258
+ kugou-cli music stats --date-type 1 --date 20260501
258
259
  ```
259
260
 
261
+ **AI 引导**:如果用户不指定查询范围,默认按月查询(`--date-type 2`),日期设为当月第一天。例如当前日期是 2025-06-15,默认查询 2025年6月1日 的数据。
262
+
263
+ **参数**:
264
+ - `--date-type`: 日期类型,0=日、1=周、2=月,默认 0
265
+ - `--date`: 查询日期,YYYYMMDD 格式,如 "20260501"
266
+ - 日类型:每天日期,如 "20260501"
267
+ - 周类型:必须是周一日期,如 "20260505"(周一)
268
+ - 月类型:必须是月份第一天,如 "20260501"(5月1日)
269
+
260
270
  **输出示例**:
261
271
  ```json
262
272
  {
@@ -274,18 +284,18 @@ kugou-cli music stats
274
284
  "last_listen_total": 387,
275
285
  "rank_song": [
276
286
  {
277
- "song_info": {"song_name": "晴天", "mix_song_id": "xxx", "artist_name": "周杰伦", "play_link": "https://..."},
287
+ "song_info": {"name": "晴天", "mix_song_id": "8888", "cover": "https://xxx.jpg", "singer_name": "周杰伦", "hash": "abcdef123456"},
278
288
  "count": 50
279
289
  }
280
290
  ],
281
291
  "rank_singer": [
282
- {"singer_id": 123, "name": "周杰伦", "avatar": "https://...", "total": 120}
292
+ {"singer_id": 123, "name": "周杰伦", "avatar": "https://xxx.jpg", "total": 120}
283
293
  ],
284
294
  "rank_style": [
285
295
  {"style": "流行", "total": 200, "count": 80}
286
296
  ],
287
297
  "rank_language": [
288
- {"language": "国语", "total": 180, "count": 70}
298
+ {"language": "华语", "total": 400, "count": 150}
289
299
  ]
290
300
  },
291
301
  "status": 1
@@ -293,9 +303,12 @@ kugou-cli music stats
293
303
  ```
294
304
 
295
305
  **关键字段**:
296
- - `listen_duration`: 累计听歌时长(秒)
297
- - `listen_total`: 累计听歌数量
298
- - `clocks`: 每个小时的听歌时长分布(`clock`: 0-23,`listen_duration`: 秒)
306
+ - `listen_duration`: 今日/周/月听歌时长(秒)
307
+ - `clocks`: 时段打卡统计(`clock`: 时段标识,`listen_duration`: 秒)
308
+ - `accumulate_listen_days`: 累计听歌天数
309
+ - `continue_listen_days`: 连续听歌天数
310
+ - `listen_total`: 累计听歌次数
311
+ - `last_listen_total`: 昨日听歌次数
299
312
  - `rank_song`: 播放最多的歌曲排行(`count` 为播放次数)
300
313
  - `rank_singer`: 播放最多的歌手排行
301
314
  - `rank_style`: 曲风分布统计
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kg-ai/kugou-skill",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Kugou Skill CLI",
5
5
  "main": "index.js",
6
6
  "bin": {