@kg-ai/kugou-skill 0.0.12 → 0.0.13

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
@@ -239,12 +239,29 @@ kugou-cli music recommend similar --song "晴天" --text "风格相似的" -n 5
239
239
 
240
240
  ```bash
241
241
  kugou-cli music favorites
242
- kugou-cli music favorites --page 1 --size 20
243
242
  ```
244
243
 
245
- **参数**:
246
- - `--page`: 页码,默认 1
247
- - `--size`: 每页数量,默认 20
244
+ > 注意:固定返回最近 10 首收藏,查看更多请前往酷狗App
245
+
246
+ **输出示例**:
247
+ ```json
248
+ {
249
+ "errcode": 0,
250
+ "data": {
251
+ "list": [
252
+ {
253
+ "song_name": "晴天",
254
+ "mix_song_id": "32100650",
255
+ "artist_name": "周杰伦",
256
+ "play_link": "https://www.kugou.com/mixsong/agent_gateway/j410q78a01f.html"
257
+ }
258
+ ],
259
+ "total": 50,
260
+ "msg": "当前仅显示最近的10首收藏,查看更多内容,请前往酷狗App"
261
+ },
262
+ "status": 1
263
+ }
264
+ ```
248
265
 
249
266
  ---
250
267
 
@@ -252,12 +269,29 @@ kugou-cli music favorites --page 1 --size 20
252
269
 
253
270
  ```bash
254
271
  kugou-cli music recent
255
- kugou-cli music recent --page 1 --size 20
256
272
  ```
257
273
 
258
- **参数**:
259
- - `--page`: 页码,默认 1
260
- - `--size`: 每页数量,默认 20
274
+ > 注意:固定返回最近 10 首播放记录,查看更多请前往酷狗App
275
+
276
+ **输出示例**:
277
+ ```json
278
+ {
279
+ "errcode": 0,
280
+ "data": {
281
+ "list": [
282
+ {
283
+ "song_name": "七里香",
284
+ "mix_song_id": "32100651",
285
+ "artist_name": "周杰伦",
286
+ "play_link": "https://www.kugou.com/mixsong/agent_gateway/j410q78a01f.html"
287
+ }
288
+ ],
289
+ "total": 100,
290
+ "msg": "当前仅显示最近的10首最近播放,查看更多内容,请前往酷狗App"
291
+ },
292
+ "status": 1
293
+ }
294
+ ```
261
295
 
262
296
  ---
263
297
 
@@ -282,17 +316,18 @@ kugou-cli music stats --date-type 1 --date 20260501 # 指定周查询
282
316
  "data": {
283
317
  "server_time": 1779977674,
284
318
  "listen_duration": 80776,
285
- "clocks": [
286
- {"clock": 0, "listen_duration": 1200},
287
- {"clock": 1, "listen_duration": 800}
288
- ],
289
- "accumulate_listen_days": 1,
290
- "continue_listen_days": 1,
319
+ "accumulate_listen_days": 30,
320
+ "continue_listen_days": 7,
291
321
  "listen_total": 342,
292
322
  "last_listen_total": 387,
323
+ "top_clocks": [
324
+ "今日08:00-10:00听歌30分钟",
325
+ "今日14:00-16:00听歌25分钟",
326
+ "今日20:00-22:00听歌20分钟"
327
+ ],
293
328
  "rank_song": [
294
329
  {
295
- "song_info": {"name": "晴天", "mix_song_id": "8888", "cover": "https://xxx.jpg", "singer_name": "周杰伦", "hash": "abcdef123456"},
330
+ "song_info": {"song_name": "晴天", "mix_song_id": "8888", "artist_name": "周杰伦", "play_link": "https://www.kugou.com/..."},
296
331
  "count": 50
297
332
  }
298
333
  ],
@@ -312,11 +347,11 @@ kugou-cli music stats --date-type 1 --date 20260501 # 指定周查询
312
347
 
313
348
  **关键字段**:
314
349
  - `listen_duration`: 今日/周/月听歌时长(秒)
315
- - `clocks`: 时段打卡统计(`clock`: 时段标识,`listen_duration`: 秒)
350
+ - `top_clocks`: 听歌时长最长的 Top3 时段描述(日类型格式如"今日08:00-10:00听歌30分钟",周/月类型格式如"近7天平均08:00-10:00听歌119分钟")
316
351
  - `accumulate_listen_days`: 累计听歌天数
317
352
  - `continue_listen_days`: 连续听歌天数
318
353
  - `listen_total`: 累计听歌次数
319
- - `last_listen_total`: 昨日听歌次数
354
+ - `last_listen_total`: 昨日/上周/上月听歌次数
320
355
  - `rank_song`: 播放最多的歌曲排行(`count` 为播放次数)
321
356
  - `rank_singer`: 播放最多的歌手排行
322
357
  - `rank_style`: 曲风分布统计
@@ -454,10 +489,10 @@ kugou-cli music search "周杰伦"
454
489
  kugou-cli music recommend daily --num 5
455
490
 
456
491
  # 5. 查看我的收藏
457
- kugou-cli music favorites --page 1
492
+ kugou-cli music favorites
458
493
 
459
494
  # 6. 查看最近播放
460
- kugou-cli music recent --size 10
495
+ kugou-cli music recent
461
496
 
462
497
  # 7. 查看听歌统计
463
498
  kugou-cli music stats
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.12",
3
+ "version": "0.0.13",
4
4
  "description": "Kugou Skill CLI",
5
5
  "main": "index.js",
6
6
  "bin": {