@kg-ai/kugou-skill 0.0.11 → 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
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: kugou-skill
3
3
  description: |
4
- 酷狗音乐助手,提供歌曲搜索、每日推荐、相似推荐、收藏管理、听歌统计、酷狗榜单等功能。
4
+ 酷狗,酷狗音乐,酷狗skill,酷狗音乐skill,酷狗音乐助手
5
+ 提供歌曲搜索、每日推荐、相似推荐、收藏管理、听歌统计、酷狗榜单等功能。
5
6
 
6
7
  **触发场景**(满足任一即使用本技能):
7
8
  - 用户要求推荐歌曲、听歌建议
@@ -238,12 +239,29 @@ kugou-cli music recommend similar --song "晴天" --text "风格相似的" -n 5
238
239
 
239
240
  ```bash
240
241
  kugou-cli music favorites
241
- kugou-cli music favorites --page 1 --size 20
242
242
  ```
243
243
 
244
- **参数**:
245
- - `--page`: 页码,默认 1
246
- - `--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
+ ```
247
265
 
248
266
  ---
249
267
 
@@ -251,12 +269,29 @@ kugou-cli music favorites --page 1 --size 20
251
269
 
252
270
  ```bash
253
271
  kugou-cli music recent
254
- kugou-cli music recent --page 1 --size 20
255
272
  ```
256
273
 
257
- **参数**:
258
- - `--page`: 页码,默认 1
259
- - `--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
+ ```
260
295
 
261
296
  ---
262
297
 
@@ -281,17 +316,18 @@ kugou-cli music stats --date-type 1 --date 20260501 # 指定周查询
281
316
  "data": {
282
317
  "server_time": 1779977674,
283
318
  "listen_duration": 80776,
284
- "clocks": [
285
- {"clock": 0, "listen_duration": 1200},
286
- {"clock": 1, "listen_duration": 800}
287
- ],
288
- "accumulate_listen_days": 1,
289
- "continue_listen_days": 1,
319
+ "accumulate_listen_days": 30,
320
+ "continue_listen_days": 7,
290
321
  "listen_total": 342,
291
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
+ ],
292
328
  "rank_song": [
293
329
  {
294
- "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/..."},
295
331
  "count": 50
296
332
  }
297
333
  ],
@@ -311,11 +347,11 @@ kugou-cli music stats --date-type 1 --date 20260501 # 指定周查询
311
347
 
312
348
  **关键字段**:
313
349
  - `listen_duration`: 今日/周/月听歌时长(秒)
314
- - `clocks`: 时段打卡统计(`clock`: 时段标识,`listen_duration`: 秒)
350
+ - `top_clocks`: 听歌时长最长的 Top3 时段描述(日类型格式如"今日08:00-10:00听歌30分钟",周/月类型格式如"近7天平均08:00-10:00听歌119分钟")
315
351
  - `accumulate_listen_days`: 累计听歌天数
316
352
  - `continue_listen_days`: 连续听歌天数
317
353
  - `listen_total`: 累计听歌次数
318
- - `last_listen_total`: 昨日听歌次数
354
+ - `last_listen_total`: 昨日/上周/上月听歌次数
319
355
  - `rank_song`: 播放最多的歌曲排行(`count` 为播放次数)
320
356
  - `rank_singer`: 播放最多的歌手排行
321
357
  - `rank_style`: 曲风分布统计
@@ -453,10 +489,10 @@ kugou-cli music search "周杰伦"
453
489
  kugou-cli music recommend daily --num 5
454
490
 
455
491
  # 5. 查看我的收藏
456
- kugou-cli music favorites --page 1
492
+ kugou-cli music favorites
457
493
 
458
494
  # 6. 查看最近播放
459
- kugou-cli music recent --size 10
495
+ kugou-cli music recent
460
496
 
461
497
  # 7. 查看听歌统计
462
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.11",
3
+ "version": "0.0.13",
4
4
  "description": "Kugou Skill CLI",
5
5
  "main": "index.js",
6
6
  "bin": {