Commit Graph
90 Commits
Author SHA1 Message Date
jxxghp 4dd2d7fed2 refactor: use explicit runtime facade getters 2026-08-24 03:56:54 +08:00
jxxghp 066757888c refactor: unify scheduler service access 2026-08-23 23:50:19 +08:00
InfinityPacer b9bbc8913c fix: 完善插件恢复与运行态收敛 (#6376) 2026-08-21 18:09:29 +08:00
jxxghp 8472bcff43 refactor: 收口 V3 分层架构与插件兼容边界 2026-08-18 13:22:02 +08:00
jxxghp 5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00
jxxghp 240a4dffe6 refactor(schemas): 统一 message/notification 命名边界,旧名收敛至兼容映射表
- notification 域:渠道能力(MessageChannel→NotificationChannel、ChannelCapability* 迁入 notification.py)
- message 域:消息收发(Notification→Message、NotificationType→MessageType、CommingMessage→IncomingMessage、NotificationHistoryItem→MessageHistoryItem、NotificationClear*→MessageClear*)
- Agent 工具契约:send_notification_message→send_message、notification_callback→message_callback
- 源码不保留旧名物理别名,旧导入经 app/runtime/compat/manifest.py SYMBOL_ALIASES 惰性解析
- API 路径与持久化键冻结不变,前端零改动
- 新增兼容守护测试与 docs/rules/07 命名边界规范
2026-08-16 19:32:20 +08:00
jxxghp dd38c16400 refactor(messaging): 拆分用户交互模块到 application/messaging 层
- 新增 application/messaging 交互层:router.py 统一会话优先级与回调分发,
  site/subscribe/skill/media/plugin 各交互状态与视图从 Chain 迁出
- MessageChain 改为通过 InteractionRouter 派发文本会话与按钮回调,
  新增结构化 callback_data 通道(兼容 CALLBACK: 文本前缀)
- Transfer 失败重试/AI 接管回调归入 TransferChain
- MediaInteractionChain 拆出为 app/chain/interaction.py(旧路径保留兼容别名)
- WebAgent Endpoint 去重,统一使用 agent.py 回调协议函数
- 删除 app/chain/skills.py(交互逻辑并入 SkillInteractionHandler)
- 同步更新架构文档与测试,全量 4476 通过
2026-08-15 16:36:39 +08:00
jxxghp 369d7d6448 refactor: reorganize backend module boundaries 2026-08-14 19:53:33 +08:00
jxxghp 7b3444c366 refactor backend module architecture 2026-08-14 15:45:38 +08:00
jxxghp bb9b6ec5d0 fix: support custom episode offset expressions 2026-06-26 14:15:29 +08:00
jxxghp a74f04a149 fix: simplify message typing lifecycle 2026-05-23 00:11:56 +08:00
jxxghp f7b78721c3 fix: 统一消息 typing 生命周期 2026-05-22 22:59:20 +08:00
jxxghp db6dc926cf feat: unify slash command interactions 2026-05-01 08:53:52 +08:00
jxxghp 0277288a41 feat: add agent session usage status reporting
Track per-session model and token usage so users can inspect context pressure and cumulative usage with /session_status.
2026-04-26 08:19:05 +08:00
jxxghp 8c78627647 feat: add skills marketplace management 2026-04-22 14:55:00 +08:00
jxxghp 8109ffb445 feat(agent): add /stop_agent command for emergency stop of agent reasoning
Add /stop_agent command that cancels the currently running agent reasoning
task without clearing the session or memory. Unlike /clear_session which
destroys the entire session, this allows users to stop a long-running or
stuck agent process and continue the conversation afterward.
2026-04-07 07:32:35 +08:00
jxxghp b8ef5d1efc feat: add session management to MessageChain
- Implemented session ID creation and reuse based on user activity, with a timeout of 15 minutes.
- Added remote command to clear user sessions, enhancing user session management capabilities.
- Updated Command class to include a new command for clearing sessions.
2025-11-18 08:41:05 +08:00
Attente 4f806db8b7 fix: 修复变更默认下载器不生效的问题
- 配置模块迁移到 `SettingsConfigDict` 以支持 Pydantic v2 的配置方式
- 在 `MediaInfo` 中新增 `release_dates` 字段,用于存储多地区发行日期信息
- 修改 `MetaVideo` 类中的 token 传递逻辑,以修复搜索站点资源序列化错误的问题
2025-11-11 10:44:45 +08:00
Aqr-K 451ca9cb5a feat(command): 增加 show ,用来判断是否注册进菜单里显示 2025-07-01 17:19:01 +08:00
jxxghp d5f63bcdb3 remove Commands DEV flag 2025-06-18 13:33:37 +08:00
jxxghp f9b0db623d fix cython type error 2025-03-23 21:39:37 +08:00
InfinityPacer dc9a54e74f fix(command): ensure command data isolation by using deepcopy 2025-01-25 00:32:42 +08:00
jxxghp 61d7374d95 fix ide warnings 2024-12-23 16:58:04 +08:00
jxxghp baa48610ea refactor:Command提到上层 2024-12-23 13:38:02 +08:00
jxxghp 08e07625cd fix 远程交互命令 2024-10-20 01:54:24 +08:00
InfinityPacer 857383c8d0 feat(event): improve event consumer logic for handling of events 2024-09-20 20:37:29 +08:00
jxxghp b1d2125e22 fix https://github.com/jxxghp/MoviePilot/pull/2610 整合同步消息到dev分支 2024-09-09 08:55:10 +08:00
jxxghp 1f87bc643a sync main 2024-08-19 13:06:39 +08:00
jxxghp 15a7297099 fix messages 2024-07-02 13:50:41 +08:00
thsrite 7132fdbb26 fix plugin command args 2024-06-09 12:41:42 +08:00
jxxghp 74980911fe feat:系统错误时发出事件 2024-05-29 16:28:17 +08:00
jxxghp 02c2edc30e fix WEB页面活动时无法正常停止服务的问题 2024-05-20 11:50:49 +08:00
jxxghp 65975235d4 fix scheduler 2024-05-20 10:16:20 +08:00
jxxghp 521b960364 catch command exception 2024-05-19 08:35:18 +08:00
jxxghp ae839235eb feat:服务异常时推送前台消息 2024-05-14 10:08:07 +08:00
jxxghp 0471167b74 fix dev 2024-05-12 20:12:59 +08:00
jxxghp 851864cd49 fix 定时服务立即生效
fix #1615
2024-03-08 16:22:53 +08:00
jxxghp d0184bd34c fix logger 2024-02-09 09:35:05 +08:00
jxxghp be5106c819 fix #927 2023-10-20 12:54:06 +08:00
jxxghp 4875db08e8 fix #927 2023-10-20 12:48:43 +08:00
thsrite 3a20946f62 fix remove update 2023-10-19 20:11:19 +08:00
jxxghp fb78a07662 fix db session 2023-10-18 08:35:16 +08:00
jxxghp f15ccadc2d fix 优化连接参数 2023-10-17 19:39:19 +08:00
jxxghp 453ef94e4d feat 多线程处理事件 2023-10-17 19:04:42 +08:00
thsrite 8a46ebc4a0 fix add update交互命令 2023-10-17 15:44:26 +08:00
thsrite 0e92e9fc60 fix 交互重启完发送消息,交互获取当前版本 2023-10-17 15:10:02 +08:00
thsrite 493b7c2d24 fix 重启系统发送消息 2023-10-14 20:49:03 +08:00
jxxghp 2a9a36ac88 feat 辅助识别异步接口 && ChatGPT插件支持辅助名称识别 2023-10-12 11:41:57 +08:00
jxxghp 5cd48d5447 fix 优化定时服务调度 2023-09-24 12:41:59 +08:00
jxxghp 85014f4acb feat 服务手动触发 2023-09-24 11:13:49 +08:00