Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
canary
lobe-chat
/
packages
/
editor-runtime
下载当前目录
G
GitHub
🐛 fix(editor-runtime): add mutation handlers for post-save synchronization (
#14469
)
6b010c83
创建于
17 天前
历史提交
文件
最后提交记录
最后更新时间
src
🐛 fix(editor-runtime): add mutation handlers for post-save synchronization (#14469) * 🐛 fix(editor-runtime): add afterMutateHandler for post-mutation synchronization Signed-off-by: Innei <tukon479@gmail.com> * 🐛 fix(editor-runtime): enhance beforeMutateHandler with context and add meaningful content check Signed-off-by: Innei <tukon479@gmail.com> * 🐛 fix(editor-runtime): improve data source validation and streamline command dispatch logic Signed-off-by: Innei <tukon479@gmail.com> * 🐛 fix(editor-runtime): add test for Page Agent editTitle behavior without sending content or editorData Signed-off-by: Innei <tukon479@gmail.com> * 🐛 fix(editor-runtime): update LiteXML node extraction to include attributes and improve error logging Signed-off-by: Innei <tukon479@gmail.com> * 🐛 fix: use namespace import for GeneralChatAgent to fix vi.spyOn in tests vi.spyOn on a module namespace object requires the production code to access the class through the same namespace. Destructured imports capture a direct binding that bypasses the spy, causing "Class constructor GeneralChatAgent cannot be invoked without 'new'" in tests. * 🐛 fix: replace vi.spyOn on class constructor with vi.mock for GeneralChatAgent vi.spyOn wraps a class with a plain function that loses [[Construct]] semantics in ESM, causing "Class constructor GeneralChatAgent cannot be invoked without 'new'". Replace with vi.mock + hoisted mock constructor that properly tracks calls while preserving new-ability. --------- Signed-off-by: Innei <tukon479@gmail.com>
17 天前
package.json
⬆️ chore: bump Lexical to 0.42 and align editor imports (#13440) * ⬆️ chore: bump Lexical to 0.42 and align editor imports - Bump lexical and @lexical/utils; pin lexical in pnpm overrides - Return serialized nodes from ActionTag/ReferTopic XML readers (no INodeHelper require) - Drop IEditorPlugin implements; import MenuRenderProps and IEditor from @lobehub/editor barrel Made-with: Cursor * ✨ chore: add lexical dependency version 0.42.0 to package.json Signed-off-by: Innei <tukon479@gmail.com> * ✨ test: enhance MCPClient Stdio Transport tests with local stdio entry - Updated the test configuration to use a local stdio entry instead of `npx`, improving test reliability in CI environments. - Added necessary imports for path resolution to support the new configuration. Signed-off-by: Innei <tukon479@gmail.com> --------- Signed-off-by: Innei <tukon479@gmail.com>
1 个月前
vitest.config.mts
:recycle: refactor: refactor with editor runtime
4 个月前