File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,12 +231,6 @@ system: |
231231 - 新的条件会覆盖旧的条件
232232 - 如果在条件达成前,因其他原因触发了请求,则之前的条件失效
233233 - 触发成功后也会清空旧条件
234- - 设置未来主动触发条件(wake_up_reply):
235- - 当你想在较长的时间后的某个时间点发言(如和某人开玩笑的约定)时,可以使用此功能
236- - 示例:
237- - time="2026/02/20-21:30:00" reason="提醒某人该早点睡觉了"
238- - 含义:在2026年2月20日21点30分触发一次回复,备注为"提醒某人该早点睡觉了"
239-
240234 # 消息格式与交互规范
241235 - 自然:
242236 - 回复不超过30字
@@ -352,10 +346,6 @@ system: |
352346 <action>
353347 <next_reply type="message_from_user" user_id="" />
354348 </action>
355- - 设置未来主动触发条件:
356- <action>
357- <wake_up_reply time="" reason=""/>
358- </action>
359349 - 组合操作:
360350 <action>
361351 <poke id=""/>
Original file line number Diff line number Diff line change @@ -153,6 +153,18 @@ const commonMuteConfig = Schema.object({
153153 . description ( '闭嘴' )
154154 . collapse ( )
155155
156+ const wakeUpReplyConfig = Schema . boolean ( )
157+ . default ( true )
158+ . description (
159+ '是否启用 `wake_up_reply` 独立工具(需同时开启“工具调用”,使模型可以查询、创建、修改、删除未来主动触发条件,支持一次性与重复触发)'
160+ )
161+
162+ const commonScheduleConfig = Schema . object ( {
163+ toolCallReplyWakeUpReply : wakeUpReplyConfig
164+ } )
165+ . description ( '计划任务' )
166+ . collapse ( )
167+
156168const commonToolCallReplyConfig = Schema . object ( {
157169 experimentalToolCallReply : Schema . boolean ( )
158170 . default ( false )
@@ -173,11 +185,6 @@ const commonToolCallReplyConfig = Schema.object({
173185 . default ( true )
174186 . description (
175187 '是否启用 `next_reply`(使模型可以设置下一次短期主动触发条件)'
176- ) ,
177- toolCallReplyWakeUpReply : Schema . boolean ( )
178- . default ( true )
179- . description (
180- '是否启用 `wake_up_reply`(使模型可以设置未来某个时间点的主动触发条件)'
181188 )
182189} )
183190 . description ( '工具调用回复' )
@@ -374,6 +381,7 @@ const globalPrivateConfigObject = Schema.intersect([
374381 } )
375382 . description ( '空闲触发' )
376383 . collapse ( ) ,
384+ commonScheduleConfig ,
377385 commonMuteConfig ,
378386 commonConversationConfig
379387] ) as Schema < PrivateConfig >
@@ -418,6 +426,7 @@ const privateConfigObject = Schema.intersect([
418426 } )
419427 . description ( '空闲触发' )
420428 . collapse ( ) ,
429+ commonScheduleConfig ,
421430 commonMuteConfig ,
422431 commonConversationConfig
423432] ) as Schema < PrivateConfig >
@@ -486,6 +495,7 @@ const globalGroupConfigObject = Schema.intersect([
486495 } )
487496 . description ( '空闲触发' )
488497 . collapse ( ) ,
498+ commonScheduleConfig ,
489499 commonMuteConfig ,
490500 commonConversationConfig
491501] ) as Schema < GuildConfig >
@@ -557,6 +567,7 @@ const guildConfigObject = Schema.intersect([
557567 } )
558568 . description ( '空闲触发' )
559569 . collapse ( ) ,
570+ commonScheduleConfig ,
560571 commonMuteConfig ,
561572 commonConversationConfig
562573] ) as Schema < GuildConfig >
Original file line number Diff line number Diff line change @@ -127,17 +127,9 @@ export const usage = `
127127
128128请先阅读[**此文档**](https://chatluna.chat/ecosystem/other/character.html)了解使用方式。
129129
130- ### 26.04.11
130+ ### 26.05.13
131131
132- “工具调用回复”功能的配置项已从“基础配置”下放至全局私聊/全局群聊/分私聊/分群聊配置中,并且支持分别调整 \`status\`、\`think\`、\`next_reply\`、\`wake_up_reply\` 字段是否启用。
133-
134- 使用“工具调用回复”功能时,请尽可能使用模型官方(推荐的)API 格式(如:Gemini 使用 Gemini 适配器,Claude 及其他支持 Anthropic API 的模型使用 Claude 适配器),否则可能遇到无法正常完成回复的问题(尤其是 Minimax 等模型)。
135-
136- ### 26.04.05
137-
138- 伪装插件新增实验性“工具调用回复”功能,详情请查看文档。
139-
140- 本次更新也对部分旧的 XML 格式进行了调整(如发送图片/表情包、设置触发器等),请参考最新文档对预设进行修改,避免消息发送异常。
132+ \`wake_up_reply\` 已拆分为独立工具,并支持一次性、每天、每周、每月、每年重复触发;开关位于各私聊/群聊配置“空闲触发”下方的“计划任务”分组,需同时开启“工具调用”。旧 XML 解析仅保留为历史兼容,默认预设和运行时提示不再引导使用 XML。
141133`
142134
143135export { Config } from './config'
You can’t perform that action at this time.
0 commit comments