@ynhcj/xiaoyi-channel 0.0.34-beta → 0.0.35-beta

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.
@@ -22,7 +22,7 @@ export const createAlarmTool = {
22
22
  必需参数:
23
23
  - alarmTime: 闹钟时间,格式必须为:YYYYMMDD hhmmss(例如:20240315 143000,表示2024年3月15日14:30:00)
24
24
 
25
- 可选参数:
25
+ 可选参数(针对用户没有提及的参数,如果有默认参数,则发送请求时使用默认参数):
26
26
  - alarmTitle: 闹钟名称/标题,默认为"闹钟"
27
27
  - alarmSnoozeDuration: 小睡间隔(分钟),枚举值:5,10,15,20,25,30,默认10
28
28
  - alarmSnoozeTotal: 再响次数,枚举值:0,1,3,5,10,默认0(表示不再响)
@@ -35,8 +35,9 @@ export const modifyAlarmTool = {
35
35
  - daysOfWeek: 自定义响铃星期,仅当daysOfWakeType=3(自定义时间)时必需且有效,其他情况不要传递此参数。数组或JSON字符串,枚举值:Mon,Tue,Wed,Thu,Fri,Sat,Sun。注意:仅支持长度为1的数组,如果需要一周中不同的几天,需要多次调用此工具
36
36
 
37
37
  使用流程:
38
- 1. 先调用 search_alarm 工具查询闹钟,获取 entityId
38
+ 1. 先调用 search_alarm 工具查询闹钟,获取 entityId
39
39
  2. 调用此工具修改闹钟,传入 entityId 和需要修改的参数
40
+ 3. 其余不涉及需改的参数,如果search_alarm 或 create_alarm的结果中有相应的值,需要一并填上,需要与原有的保持一致,防止不填采用默认值
40
41
 
41
42
  注意事项:操作超时时间为60秒,请勿重复调用此工具,如果超时或失败,最多重试一次。`,
42
43
  parameters: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.34-beta",
3
+ "version": "0.0.35-beta",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",