feat(goal): TG /goal 指令进入目标模式
- 复用宿主命令运行时(commands.execute,与 Web 端 /goal 同通道),不依赖 GUI 连接:command-goal 在宿主侧操作 session-log 支撑的 goals 域 - 语法与 Web 完全一致:/goal <目标>、/goal(查看)、clear/edit/pause/resume - 目标状态变更(blocked/complete)实时推送 TG 通知,手机可感知目标模式进展 - 配置侧启用 command-goal(plugin_toggle,已 live 生效)
This commit is contained in:
Vendored
+4
@@ -67,6 +67,10 @@ export type ParsedCommand = {
|
||||
type: 'rich';
|
||||
text: string;
|
||||
arg?: string;
|
||||
} | {
|
||||
type: 'goal';
|
||||
text: string;
|
||||
arg?: string;
|
||||
} | {
|
||||
type: 'unbind';
|
||||
text: string;
|
||||
|
||||
Reference in New Issue
Block a user