@honor-claw/yoyo 1.6.1-beta.6 → 1.6.1-beta.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.
Files changed (57) hide show
  1. package/package.json +1 -1
  2. package/skills/yoyo-control/SKILL.md +0 -52
  3. package/skills/yoyo-control/configs/sub-skills.json +1 -67
  4. package/skills/yoyo-control/references/airplane-mode.md +0 -197
  5. package/skills/yoyo-control/references/alarm-create.md +0 -519
  6. package/skills/yoyo-control/references/alarm-delete.md +0 -370
  7. package/skills/yoyo-control/references/alarm-disable.md +0 -372
  8. package/skills/yoyo-control/references/alarm-enable.md +0 -372
  9. package/skills/yoyo-control/references/alarm-query.md +0 -565
  10. package/skills/yoyo-control/references/alarm-update.md +0 -461
  11. package/skills/yoyo-control/references/app-close.md +0 -333
  12. package/skills/yoyo-control/references/app-open.md +0 -334
  13. package/skills/yoyo-control/references/app-uninstall.md +0 -229
  14. package/skills/yoyo-control/references/app_name_to_pkgName.md +0 -238
  15. package/skills/yoyo-control/references/audio-record.md +0 -211
  16. package/skills/yoyo-control/references/autoscreen-onnotice.md +0 -196
  17. package/skills/yoyo-control/references/battery.md +0 -252
  18. package/skills/yoyo-control/references/bluetooth.md +0 -338
  19. package/skills/yoyo-control/references/brightness.md +0 -224
  20. package/skills/yoyo-control/references/call-phone.md +0 -187
  21. package/skills/yoyo-control/references/call-search.md +0 -207
  22. package/skills/yoyo-control/references/camera.md +0 -217
  23. package/skills/yoyo-control/references/capture-screenshot.md +0 -211
  24. package/skills/yoyo-control/references/clean-dirty.md +0 -163
  25. package/skills/yoyo-control/references/contact-search.md +0 -240
  26. package/skills/yoyo-control/references/countdown-timer.md +0 -393
  27. package/skills/yoyo-control/references/dark-mode.md +0 -200
  28. package/skills/yoyo-control/references/desktop.md +0 -196
  29. package/skills/yoyo-control/references/device-operation.md +0 -226
  30. package/skills/yoyo-control/references/express-logistics-search.md +0 -172
  31. package/skills/yoyo-control/references/eyecomfort.md +0 -226
  32. package/skills/yoyo-control/references/flashlight.md +0 -183
  33. package/skills/yoyo-control/references/gui-task-create.md +0 -206
  34. package/skills/yoyo-control/references/gui-task-pause.md +0 -188
  35. package/skills/yoyo-control/references/gui-task-terminate.md +0 -192
  36. package/skills/yoyo-control/references/hotspot.md +0 -183
  37. package/skills/yoyo-control/references/local-search.md +0 -307
  38. package/skills/yoyo-control/references/location-service.md +0 -184
  39. package/skills/yoyo-control/references/message-search.md +0 -375
  40. package/skills/yoyo-control/references/message-send.md +0 -251
  41. package/skills/yoyo-control/references/mobile-data.md +0 -257
  42. package/skills/yoyo-control/references/nfc.md +0 -196
  43. package/skills/yoyo-control/references/no-disturb.md +0 -334
  44. package/skills/yoyo-control/references/quiet-mode.md +0 -237
  45. package/skills/yoyo-control/references/ringing-mode.md +0 -232
  46. package/skills/yoyo-control/references/scan-code.md +0 -161
  47. package/skills/yoyo-control/references/schedule-create.md +0 -541
  48. package/skills/yoyo-control/references/schedule-delete.md +0 -582
  49. package/skills/yoyo-control/references/schedule-search.md +0 -673
  50. package/skills/yoyo-control/references/schedule-update.md +0 -630
  51. package/skills/yoyo-control/references/screen-record.md +0 -236
  52. package/skills/yoyo-control/references/status-bar-show.md +0 -211
  53. package/skills/yoyo-control/references/task-result-query.md +0 -59
  54. package/skills/yoyo-control/references/usb-shared-network.md +0 -198
  55. package/skills/yoyo-control/references/vibration-mode.md +0 -239
  56. package/skills/yoyo-control/references/volume-operate.md +0 -284
  57. package/skills/yoyo-control/references/wlan.md +0 -410
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honor-claw/yoyo",
3
- "version": "1.6.1-beta.6",
3
+ "version": "1.6.1-beta.8",
4
4
  "description": "OpenClaw Honor Yoyo connection plugin",
5
5
  "keywords": [
6
6
  "ai",
@@ -90,59 +90,7 @@ metadata: { "openclaw": { "emoji": "📱", "always": true } }
90
90
 
91
91
  | 所需 Caps | 参考文件 | 工具说明 |
92
92
  | --------------------- | ---------------------------------------- | ------------------------------------ |
93
- | `mobile-data` | `references/mobile-data.md` | 移动数据与流量管理 |
94
- | `hotspot` | `references/hotspot.md` | 个人热点开启与关闭 |
95
- | `volume` | `references/volume-operate.md` | 音量调节与管理(媒体、通话、通知等) |
96
- | `no-disturb` | `references/no-disturb.md` | 免打扰模式管理 |
97
- | `screen-record` | `references/screen-record.md` | 屏幕录制管理与控制 |
98
- | `quiet-mode` | `references/quiet-mode.md` | 静音模式管理 |
99
- | `ringing-mode` | `references/ringing-mode.md` | 响铃模式管理 |
100
- | `vibration-mode` | `references/vibration-mode.md` | 震动反馈管理 |
101
- | `capture-screenshot` | `references/capture-screenshot.md` | 截屏(普通/滚动) |
102
- | `app` | `references/app-open.md` | 打开应用 |
103
- | `app` | `references/app-close.md` | 关闭应用 |
104
- | `app` | `references/app-uninstall.md` | 卸载应用 |
105
- | `contact` | `references/contact-search.md` | 联系人查找(姓名、号码、模糊匹配) |
106
- | `call` | `references/call-phone.md` | 拨打电话(姓名/号码/重拨/回拨) |
107
- | `call` | `references/call-search.md` | 通话记录查询 |
108
- | `message` | `references/message-send.md` | 发送短信 |
109
- | `message` | `references/message-search.md` | 短信查询 |
110
- | `local-search` | `references/local-search.md` | 本地搜索(文档、笔记、日程、图库等) |
111
- | `task-result-query` | `references/task-result-query.md` | 任务结果查询(轮询获取异步任务结果) |
112
93
  | `file-upload` | `references/file-upload.md` | 文件上传 |
113
- | `alarm` | `references/alarm-create.md` | 创建闹钟 |
114
- | `alarm` | `references/alarm-query.md` | 查询闹钟 |
115
- | `alarm` | `references/alarm-delete.md` | 删除闹钟 |
116
- | `alarm` | `references/alarm-disable.md` | 关闭闹钟 |
117
- | `alarm` | `references/alarm-enable.md` | 打开闹钟 |
118
- | `schedule` | `references/schedule-create.md` | 创建日程 |
119
- | `schedule` | `references/schedule-search.md` | 查询日程 |
120
- | `schedule` | `references/schedule-delete.md` | 删除日程 |
121
- | `schedule` | `references/schedule-update.md` | 修改日程 |
122
- | `wlan` | `references/wlan.md` | WLAN/WiFi 管理 |
123
- | `bluetooth` | `references/bluetooth.md` | 蓝牙设备管理 |
124
- | `location-service` | `references/location-service.md` | 定位服务管理 |
125
- | `nfc` | `references/nfc.md` | NFC 管理 |
126
- | `usb-shared-network` | `references/usb-shared-network.md` | USB 共享网络管理 |
127
- | `eyecomfort` | `references/eye-comfort.md` | 护眼模式管理 |
128
- | `brightness` | `references/brightness.md` | 屏幕亮度管理 |
129
- | `dark-mode` | `references/dark-mode.md` | 深色模式管理 |
130
- | `device-operation` | `references/device-operation.md` | 设备电源与屏幕控制 |
131
- | `status-bar-show` | `references/status-bar-show.md` | 状态栏显示管理 |
132
- | `autoscreen-onnotice` | `references/autoscreen-onnotice.md` | 通知自动亮屏管理 |
133
- | `battery` | `references/battery.md` | 电量与省电模式管理 |
134
- | `audio-record` | `references/audio-record.md` | 录音管理 |
135
- | `camera` | `references/camera.md` | 相机控制(拍照/录像),不支持手电筒相关的操作。 |
136
- | `gui` | `references/gui-task-create.md` | 启动 GUI 操作任务(UI Agent),只有当用户明确要求在指定 App 内执行指定动作时才使用。如果用户没有提供应用名,严禁使用本工具。|
137
- | `gui` | `references/gui-task-terminate.md` | 取消 GUI 任务 |
138
- | `gui` | `references/gui-task-pause.md` | 暂停 GUI 任务 |
139
- | `scan-code` | `references/scan-code.md` | 扫码(二维码/条形码) |
140
- | `flashlight` | `references/flashlight.md` | 手电筒控制 |
141
- | `airplane-mode` | `references/airplane-mode.md` | 飞行模式管理 |
142
- | `clean-dirty` | `references/clean-dirty.md` | 扬声器清理 |
143
- | `express` | `references/express-logistics-search.md` | 快递查询 |
144
- | `countdown-timer` | `references/countdown-timer.md` | 倒计时计时器管理 |
145
- | `desktop` | `references/desktop.md` | 手机桌面管理,支持查询桌面布局、打开桌面设置页,并对风格、应用角标、桌面图标、快捷方式、搜索入口、应用名称、通透模式与布局等进行配置。 |
146
94
 
147
95
  ### 2.3 MCP 工具查找流程
148
96
 
@@ -1,69 +1,3 @@
1
1
  [
2
- "mobile_data",
3
- "hotspot",
4
- "volume",
5
- "no_disturb",
6
- "screen_recorder",
7
- "quiet_mode",
8
- "ringing_mode",
9
- "vibration_mode",
10
- "capture_screenshot",
11
- "open_app",
12
- "close_app",
13
- "uninstall_app",
14
- "contact_search",
15
- "call",
16
- "call_search",
17
- "send_message",
18
- "search_message",
19
- "local_search",
20
- "file_upload",
21
- "create_alarm",
22
- "query_alarm",
23
- "delete_alarm",
24
- "disable_alarm",
25
- "enable_alarm",
26
- "create_schedule",
27
- "search_schedule",
28
- "delete_schedule",
29
- "update_schedule",
30
- "wlan",
31
- "bluetooth",
32
- "location_service",
33
- "nfc",
34
- "usb_shared_network",
35
- "eye_comfort",
36
- "brightness",
37
- "dark_mode",
38
- "device_operation",
39
- "status_bar_show",
40
- "autoscreen_onnotice",
41
- "battery",
42
- "record",
43
- "camera",
44
- "gui_task_create",
45
- "gui_task_terminate",
46
- "gui_task_pause",
47
- "scan_code",
48
- "flashlight",
49
- "airplane_mode",
50
- "clean_dirty",
51
- "express_logistics_search",
52
- "desktop",
53
- "createTimer",
54
- "queryTimer",
55
- "pauseTimer",
56
- "resumeTimer",
57
- "restartTimer",
58
- "cancelTimer",
59
- "task_result_query",
60
- "cancel_countdown_timer",
61
- "check_countdown_timer",
62
- "close_countdown_timer",
63
- "create_countdown_timer",
64
- "express_logistics_query",
65
- "open_countdown_timer",
66
- "pause_countdown_timer",
67
- "restart_countdown_timer",
68
- "resume_countdown_timer"
2
+ "file_upload"
69
3
  ]
@@ -1,197 +0,0 @@
1
- ---
2
- name: airplane_mode
3
- description: >
4
- 飞行模式统一管理工具。支持开启、关闭、查询与设置,并可在指定应用场景下联动控制飞行模式的开启与关闭操作。
5
- ---
6
-
7
- # Airplane Mode 飞行模式
8
-
9
- ## Tool Provider
10
- ```bash
11
- com.hihonor.magicvoice
12
- ```
13
-
14
- ## Tool Command
15
- ```bash
16
- airplane_mode
17
- ```
18
-
19
- ## 集成工作流
20
-
21
- ### Step 1: 意图解析与参数组装
22
- ```
23
- ┌─────────────────────────────────────────────────────────────┐
24
- │ 意图识别与参数提取 │
25
- │ - 识别操作类型: 设置/查询/打开/关闭 │
26
- │ - 判断是否涉及应用场景: 当 query 提及具体应用时 │
27
- │ - 提取修饰词: 应用名称 │
28
- │ - 特殊处理: "飞行模式/飞机模式/乘机模式"等同义词统一识别 │
29
- │ - 特殊处理: "开启/打开/启用"→打开,"关闭/停用/退出/不再使用"│
30
- └─────────────────────────────────────────────────────────────┘
31
-
32
- ┌─────────────────────────────────────────────────────────────┐
33
- │ 消歧与槽位填充 │
34
- │ - 未指定 app 时,默认为系统全局设置生效 │
35
- │ - 未出现明确动词且难以推断时,需追问确认 actionType │
36
- │ - app 仅当 query 含具体应用名时填写 │
37
- │ - "查看/查一下/看看" → 映射为 查询 │
38
- │ - "设置/调整/改一下" → 映射为 设置 │
39
- │ - 验证应用名称有效性(如需对特定应用联动) │
40
- └─────────────────────────────────────────────────────────────┘
41
-
42
- ┌─────────────────────────────────────────────────────────────┐
43
- │ 生成工具调用 │
44
- │ - 组装 actionType 及可选参数(app) │
45
- │ - 生成平台特定的命令格式 │
46
- └─────────────────────────────────────────────────────────────┘
47
- ```
48
-
49
- ### Step 2: 执行调用
50
- - 根据操作系统选择对应的命令格式
51
- - Windows: Cmd 格式(双引号需转义)
52
- - Linux: Bash 格式(单引号包裹)
53
-
54
- ## 参数定义
55
- ```json
56
- {
57
- "actionType": {
58
- "type": "string",
59
- "enum": ["设置", "查询", "打开", "关闭"],
60
- "description": "必填参数,飞行模式相关操作的动作类型,用于明确本次指令的主要行为。当涉及调整飞行模式相关配置或联动策略时使用设置;当获取当前飞行模式开启状态或配置信息时使用查询;当要求启用飞行模式功能时使用打开;当要求停用飞行模式功能时使用关闭。"
61
- },
62
- "app": {
63
- "type": "string",
64
- "description": "指定执行飞行模式相关操作的应用名称。当用户明确要求在某个特定应用场景下开启、关闭或调整飞行模式行为时填写。"
65
- }
66
- }
67
- ```
68
-
69
- ### 参数注意事项
70
- 1. **默认值或缺省行为**: 未指定 app 时,默认作用于系统全局飞行模式设置。
71
- 2. **可选参数填写条件**: 仅当用户明确提及具体应用或应用场景时填写 app,否则不填写。
72
- 3. **格式/原样保留要求**: app 建议使用用户提及的应用展示名或常用名称,避免自行改写或扩展。
73
-
74
- ## Query 示例及输出
75
-
76
- ### 示例 1: 开启飞行模式
77
-
78
- **用户输入**: "打开飞行模式"
79
-
80
- **工具**: "airplane_mode"
81
-
82
- **JSON 参数**:
83
- ```json
84
- {
85
- "actionType": "打开"
86
- }
87
- ```
88
-
89
- **Windows (Cmd) 执行命令**:
90
- ```bash
91
- cmd /c 'openclaw nodes invoke --node <ID> --command mcp.tool.call --params "{\"name\":\"airplane_mode\",\"appPkg\":\"com.hihonor.magicvoice\",\"arguments\":{\"actionType\":\"打开\"}}"'
92
- ```
93
-
94
- **Linux (Bash) 执行命令**:
95
- ```bash
96
- openclaw nodes invoke --node <ID> --command mcp.tool.call --params '{"name":"airplane_mode","appPkg":"com.hihonor.magicvoice","arguments":{"actionType":"打开"}}'
97
- ```
98
-
99
- ---
100
-
101
- ### 示例 2: 关闭飞行模式
102
-
103
- **用户输入**: "关闭飞行模式"
104
-
105
- **工具**: "airplane_mode"
106
-
107
- **JSON 参数**:
108
- ```json
109
- {
110
- "actionType": "关闭"
111
- }
112
- ```
113
-
114
- **Windows (Cmd) 执行命令**:
115
- ```bash
116
- cmd /c 'openclaw nodes invoke --node <ID> --command mcp.tool.call --params "{\"name\":\"airplane_mode\",\"appPkg\":\"com.hihonor.magicvoice\",\"arguments\":{\"actionType\":\"关闭\"}}"'
117
- ```
118
-
119
- **Linux (Bash) 执行命令**:
120
- ```bash
121
- openclaw nodes invoke --node <ID> --command mcp.tool.call --params '{"name":"airplane_mode","appPkg":"com.hihonor.magicvoice","arguments":{"actionType":"关闭"}}'
122
- ```
123
-
124
- ---
125
-
126
- ### 示例 3: 打开设置页或调整配置
127
-
128
- **用户输入**: "进入飞行模式设置页面"
129
-
130
- **工具**: "airplane_mode"
131
-
132
- **JSON 参数**:
133
- ```json
134
- {
135
- "actionType": "设置"
136
- }
137
- ```
138
-
139
- **Windows (Cmd) 执行命令**:
140
- ```bash
141
- cmd /c 'openclaw nodes invoke --node <ID> --command mcp.tool.call --params "{\"name\":\"airplane_mode\",\"appPkg\":\"com.hihonor.magicvoice\",\"arguments\":{\"actionType\":\"设置\"}}"'
142
- ```
143
-
144
- **Linux (Bash) 执行命令**:
145
- ```bash
146
- openclaw nodes invoke --node <ID> --command mcp.tool.call --params '{"name":"airplane_mode","appPkg":"com.hihonor.magicvoice","arguments":{"actionType":"设置"}}'
147
- ```
148
-
149
- ---
150
-
151
- ### 示例 4: 查询当前状态
152
-
153
- **用户输入**: "查看飞行模式状态"
154
-
155
- **工具**: "airplane_mode"
156
-
157
- **JSON 参数**:
158
- ```json
159
- {
160
- "actionType": "查询"
161
- }
162
- ```
163
-
164
- **Windows (Cmd) 执行命令**:
165
- ```bash
166
- cmd /c 'openclaw nodes invoke --node <ID> --command mcp.tool.call --params "{\"name\":\"airplane_mode\",\"appPkg\":\"com.hihonor.magicvoice\",\"arguments\":{\"actionType\":\"查询\"}}"'
167
- ```
168
-
169
- **Linux (Bash) 执行命令**:
170
- ```bash
171
- openclaw nodes invoke --node <ID> --command mcp.tool.call --params '{"name":"airplane_mode","appPkg":"com.hihonor.magicvoice","arguments":{"actionType":"查询"}}'
172
- ```
173
-
174
- ---
175
-
176
- ### 示例 5: 同义表达的关闭意图
177
-
178
- **用户输入**: "不再使用乘机模式"
179
-
180
- **工具**: "airplane_mode"
181
-
182
- **JSON 参数**:
183
- ```json
184
- {
185
- "actionType": "关闭"
186
- }
187
- ```
188
-
189
- **Windows (Cmd) 执行命令**:
190
- ```bash
191
- cmd /c 'openclaw nodes invoke --node <ID> --command mcp.tool.call --params "{\"name\":\"airplane_mode\",\"appPkg\":\"com.hihonor.magicvoice\",\"arguments\":{\"actionType\":\"关闭\"}}"'
192
- ```
193
-
194
- **Linux (Bash) 执行命令**:
195
- ```bash
196
- openclaw nodes invoke --node <ID> --command mcp.tool.call --params '{"name":"airplane_mode","appPkg":"com.hihonor.magicvoice","arguments":{"actionType":"关闭"}}'
197
- ```