Commit Graph

5342 Commits

Author SHA1 Message Date
DrSmoothl
baa7980f6d fix: 修复日志记录器名称获取逻辑,支持从不同字段获取名称 2026-03-13 01:22:02 +08:00
DrSmoothl
a685cfd9bf feat: 添加插件运行时模块的颜色映射和别名支持 2026-03-13 01:18:55 +08:00
春河晴
dc47fe93d8 fix(crowdin): 匹配crowdin语言设置 2026-03-13 02:18:05 +09:00
DrSmoothl
1c759ad426 feat: 增强 Runner 日志处理,添加日志消息序列化和控制台日志输出管理 2026-03-13 01:13:29 +08:00
春河晴
3994ea6990 refactor: 优化 Prompt 类的克隆逻辑,添加克隆标记属性 2026-03-13 02:10:47 +09:00
UnCLAS-Prommer
272d0368b8 注释掉pfc内容,暂时恢复部分代码保证可启动性 2026-03-13 01:02:05 +08:00
春河晴
568685758b fix(i18n): tighten prompt and catalog fallback handling 2026-03-13 01:59:21 +09:00
春河晴
d418a8451b feat: 增强国际化验证功能,添加对共享翻译字符串的支持,优化提示模板加载逻辑 2026-03-13 01:59:20 +09:00
春河晴
55eb911dd3 fix(i18n): 修复 PROMPT_EXTENSIONS 元组声明、消除重复代码、优化锁策略
- fix: PROMPT_EXTENSIONS = (".prompt") 是字符串非元组,改为 (".prompt",)
- refactor: 将 extract_placeholders/format_template 统一到 loaders.py,
  消除 formatting.py、prompt_i18n.py、i18n_validate.py 三处重复
- perf: _get_catalog 和 load_prompt 改为双重检查锁定,I/O 不再阻塞其他线程
- perf: _log_once 使用独立 _warning_lock,不再与 _cache_lock 竞争
- fix: _scan_legacy_prompt_directory 添加 prompts_root 参数,修正 relative_to 语义
- refactor: 合并 _supported_prompt_files 两个变体为单函数 + recursive 参数
- docs: i18n.md 强化 repository-specific 校验策略标注,修正时间表述冗余
- fix: 验证脚本错误消息移除 Crowdin 暗示,标注为仓库级校验策略

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 01:59:20 +09:00
DrSmoothl
8f7f31a164 feat: 优化插件调用逻辑,重构命令匹配和事件处理,增强插件管理能力 2026-03-13 00:47:09 +08:00
DrSmoothl
98d7bed064 feat: 增强插件加载过程,记录 on_load 失败的插件并跳过注册 2026-03-13 00:23:27 +08:00
DrSmoothl
e445c483b0 feat: 优化非阻塞 hook 超时处理,添加全局安全阀支持;为插件 Supervisor 添加自定义 IPC socket 后缀以避免冲突 2026-03-13 00:20:03 +08:00
DrSmoothl
f3270d4d41 feat: 添加插件运行时配置类,增强会话令牌管理和插件目录支持 2026-03-13 00:11:00 +08:00
春河晴
52e9d43a90 feat: 更新.gitignore,添加对Claude代码和OMC数据的忽略规则 2026-03-13 01:08:00 +09:00
春河晴
b28c2dbc42 remove .txt ext of prompt 2026-03-13 01:00:15 +09:00
春河晴
b2fa7a0800 docs: align crowdin workflow wording 2026-03-13 00:54:58 +09:00
DrSmoothl
c620040191 feat: 增强组件注册和事件分发,添加会话令牌恢复功能,优化工作流执行超时处理 2026-03-12 23:53:15 +08:00
春河晴
4b7ee3923c ci: tighten crowdin and i18n PR checks 2026-03-13 00:35:30 +09:00
DrSmoothl
6bac2b9331 feat: 增强插件管理和日志处理,兼容旧版参数,优化 UDS 路径处理 2026-03-12 23:34:07 +08:00
春河晴
d14eb48051 ci: automate crowdin prompt sync 2026-03-13 00:16:32 +09:00
春河晴
c9bfedddd2 i18n: localize prompt templates with crowdin 2026-03-13 00:09:08 +09:00
晴猫
68f0ac3803 Update Crowdin configuration file 2026-03-13 00:04:53 +09:00
DrSmoothl
688b53ee24 feat: 增强插件管理和连接稳定性,添加会话令牌重置和组件清理功能 2026-03-12 22:51:14 +08:00
DrSmoothl
793dee08d4 feat: 添加日志过滤功能,仅转发插件相关日志,忽略第三方库日志 2026-03-12 22:03:43 +08:00
DrSmoothl
b17948a495 feat: 添加 Runner 日志桥,支持将 Runner 进程日志通过 IPC 批量发送到主进程 2026-03-12 21:45:58 +08:00
DrSmoothl
d0b56abdab feat: 增强插件能力检查,支持 generation 校验并添加清理功能 2026-03-12 21:22:23 +08:00
DrSmoothl
df39fa7584 修改旧的DatabaseMessages引用 2026-03-12 20:12:05 +08:00
SengokuCola
16f115bfac refactor: 移除无用文件 2026-03-12 19:50:32 +08:00
UnCLAS-Prommer
021463b9f9 refactor: 重构心流聊天模块,简化频率控制; 删除 frequency_control.py 和 hfc_utils_old.py 旧文件; 新增 heartflow_manager.py 统一管理心流聊天; 将 HeartFChatting.adjust_talk_frequency 改为同步方法; 更新消息处理器使用新的 heartflow_manager; 2026-03-12 19:50:32 +08:00
UnCLAS-Prommer
e303fbeb6b 将所有必要内容完全迁移后删除原文件 2026-03-12 19:50:32 +08:00
UnCLAS-Prommer
71a288983f Agent.md补强 2026-03-12 19:50:32 +08:00
UnCLAS-Prommer
ff4de39c8b expressionLearner重构 2026-03-12 19:50:32 +08:00
UnCLAS-Prommer
f17b85c1bd 移除chat_message_builder 2026-03-12 19:50:32 +08:00
春河晴
d01abd893d update dummy crowdin.yml 2026-03-12 17:32:10 +09:00
春河晴
f4cf0f35d5 Merge remote-tracking branch 'origin/r-dev' into r-dev 2026-03-12 17:24:44 +09:00
春河晴
27d334df08 i18n: wire startup and config messages 2026-03-12 17:24:37 +09:00
春河晴
c470fdfd1e i18n: crowdin integration 2026-03-12 17:23:17 +09:00
晴猫
d0555f545b Merge pull request #1527 from Mai-with-u/quick-alog-for-macOS
fix: adjust quick-algo installation hints for macOS
2026-03-12 17:15:26 +09:00
SengokuCola
33c5cb57ad fix:修复maisaka调用Prompt的问题 2026-03-12 00:24:38 +08:00
SengokuCola
664f900f43 ref:让MaiSaka使用麦麦原有的pompt系统,配置系统 2026-03-11 21:25:35 +08:00
SengokuCola
6c32d17e21 feat:加入MaiSaKa(MaiBaKa?(MaiZako?)) 2026-03-11 21:07:58 +08:00
SengokuCola
8f13c4804b remove:移除表达反思功能 2026-03-11 20:52:54 +08:00
UnCLAS-Prommer
8b9cda4296 Final Commit Before Rdev 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
e1e296491c TODO 标记 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
9fbb733e0a MessageUtils更新 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
9e2afaf6bc TempUpdate 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
46cb0278d7 HFC基本重构框架和TODO 2026-03-11 20:18:30 +08:00
SengokuCola
045bd5e183 remove:移除传统记忆模式,默认开启lpmm模式 2026-03-11 18:20:34 +08:00
SengokuCola
788de70450 remove:移除做梦功能 2026-03-11 14:49:37 +08:00
DrSmoothl
69219e36f7 Refactor protocol and transport modules to use type hints for improved clarity and consistency
- Updated Codec class to use abstract methods for encoding and decoding envelopes.
- Changed Envelope class to use Dict and Optional for payload and error fields.
- Refined error handling in RPCError class with Optional type hints for details.
- Enhanced manifest validation logic with type hints for better type safety.
- Improved plugin loading mechanism with consistent type annotations.
- Updated RPCClient to utilize Optional for codec and connection attributes.
- Refactored transport classes to use Optional for server attributes and socket paths.
2026-03-11 00:07:13 +08:00