mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 12:55:57 +03:00
[PR #916] [MERGED] fix: 编辑器与 Agent 交互修复 #812
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#812
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/codexu/note-gen/pull/916
Author: @codexu
Created: 2/28/2026
Status: ✅ Merged
Merged: 2/28/2026
Merged by: @codexu
Base:
dev← Head:feat/editor-agent-optimization📝 Commits (7)
8e9d219docs: 添加编辑器与Agent交互及同步功能优化设计7d5b3f9docs: 添加实现计划81eeed8fix: 修复编辑器与Agent交互问题ff48772fix: 改进同步功能c824237fix: 改进网络检测和分支配置83e56f0fix: 修复其他问题af30448refactor: 合并emitter.ts中重复的事件类型定义📊 Changes
12 files changed (+1190 additions, -100 deletions)
View changed files
➕
docs/plans/2026-02-28-editor-agent-sync-impl.md(+578 -0)➕
docs/plans/2026-02-28-editor-agent-sync-optimization.md(+209 -0)📝
src/app/core/main/editor/markdown/tiptap-editor.tsx(+59 -16)📝
src/db/chats.ts(+13 -5)📝
src/lib/agent/tools/editor-tools.ts(+21 -4)📝
src/lib/ai/chat.ts(+7 -1)📝
src/lib/emitter.ts(+16 -23)📝
src/lib/sync/auto-sync.ts(+141 -20)📝
src/lib/sync/conflict-resolution.ts(+65 -10)📝
src/lib/sync/sync-manager.ts(+24 -4)📝
src/stores/chat.ts(+19 -0)📝
src/stores/recording.ts(+38 -17)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.