@zhin.js/plugin-60s 0.0.9 → 0.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/plugin-60s",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "60s API aggregation plugin for Zhin.js — news, weather, hot searches, utilities and more",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -47,11 +47,11 @@
47
47
  "license": "MIT",
48
48
  "dependencies": {},
49
49
  "devDependencies": {
50
- "typescript": "^6.0.0",
51
- "zhin.js": "1.0.71"
50
+ "typescript": "^6.0.3",
51
+ "zhin.js": "1.0.73"
52
52
  },
53
53
  "peerDependencies": {
54
- "zhin.js": "1.0.71"
54
+ "zhin.js": "1.0.73"
55
55
  },
56
56
  "repository": {
57
57
  "type": "git",
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  name: "60s"
3
- description: 60s API 聚合服务:提供新闻、天气、热搜、金价、油价、汇率、翻译、一言、摸鱼日历等多种实用查询能力。
3
+ description: >-
4
+ 60s 聚合信息查询能力。当用户请求新闻、天气、热搜(微博/知乎/抖音/头条)、
5
+ 金价、油价、汇率、翻译、一言/每日一句、摸鱼日历、KFC 文案、段子、
6
+ 历史上的今天、IP 查询、Bing 每日壁纸时使用。即使用户没有提到 60s,
7
+ 只要涉及上述日常信息查询,就应触发。
4
8
  keywords:
5
9
  - 60s
6
10
  - 新闻
@@ -21,6 +25,7 @@ keywords:
21
25
  - 壁纸
22
26
  - bing
23
27
  - ip
28
+ - 热搜
24
29
  tags:
25
30
  - 新闻
26
31
  - 资讯
@@ -50,6 +55,37 @@ tools:
50
55
  - zhihu_hot
51
56
  ---
52
57
 
53
- ## 执行规则
58
+ # 60s 聚合信息查询技能
59
+
60
+ 一站式日常信息查询,覆盖新闻、天气、热搜、金融、娱乐等 17 个工具。
61
+
62
+ ## 工具速查
63
+
64
+ 根据用户意图选择对应工具:
65
+
66
+ | 用户说… | 用这个工具 |
67
+ |---------|-----------|
68
+ | 今天有什么新闻 / 60s 看世界 | `60s_news` |
69
+ | XX 天气怎么样 | `weather` |
70
+ | 微博热搜 | `weibo_hot` |
71
+ | 知乎热搜 | `zhihu_hot` |
72
+ | 抖音热搜 | `douyin_hot` |
73
+ | 今日头条 | `toutiao_hot` |
74
+ | 金价多少 | `gold_price` |
75
+ | 油价多少 | `fuel_price` |
76
+ | 美元汇率 / 人民币兑日元 | `exchange_rate` |
77
+ | 翻译一下 XX | `translate_60s` |
78
+ | 来句一言 / 每日一句 | `hitokoto` |
79
+ | 摸鱼日历 / 今天摸鱼 | `moyu` |
80
+ | KFC 文案 / 疯狂星期四 | `kfc` |
81
+ | 来个段子 | `duanzi` |
82
+ | 历史上的今天 | `history_today` |
83
+ | 查 IP / 我的 IP | `ip_query` |
84
+ | Bing 壁纸 / 每日壁纸 | `bing_image` |
85
+
86
+ ## 易错点
54
87
 
55
- - 按用户意图选择对应 `*_60s` 或插件注册名称的工具完成查询。
88
+ 1. **weather 需要城市名参数**,用户没说城市时需要先确认。
89
+ 2. **exchange_rate 需要币种参数**,如 USD、JPY、EUR 等。
90
+ 3. **translate_60s 是简易翻译**,对于复杂翻译任务应建议使用专业翻译工具。
91
+ 4. **热搜类工具不需要参数**,直接调用即可获取当前热搜列表。