Commit Graph
70 Commits
Author SHA1 Message Date
lix-2026 f2d4ec8086 refactor: split sidebar tree live apply runtime 2026-05-26 01:51:07 +08:00
lix-2026 5a18631af8 refactor: split sidebar workspace runtime 2026-05-26 01:31:28 +08:00
lix-2026 ff9a779a6c refactor: split document session runtime 2026-05-26 01:23:27 +08:00
lix-2026 87a4a92c35 refactor: split document resource tab runtime 2026-05-26 01:15:28 +08:00
lix-2026 ee5aeb45be refactor: split document mindmap host runtime 2026-05-26 01:03:04 +08:00
lix-2026 77244eec7e refactor: split document slash positioning runtime 2026-05-26 00:54:54 +08:00
lix-2026 6197ca5d3a refactor: split document pane runtime 2026-05-26 00:47:51 +08:00
lix-2026 b4d7360cd7 refactor: split document tiptap conversion runtime 2026-05-26 00:44:07 +08:00
lix-2026 990df30a0f refactor: externalize document editor adapter runtime 2026-05-26 00:35:35 +08:00
lix-2026 36a5a0dc3a test: restore mnote-web lib baseline 2026-05-25 23:34:03 +08:00
lix-2026 e90b8cb632 refactor: split sidebar shell runtime 2026-05-25 22:56:16 +08:00
lix-2026 d84da5583b feat: sidebar runtime extraction + history-safe commands + checklist updates 2026-05-25 17:36:17 +08:00
lix-2026 0245b09301 refactor: extract conflict panel host mount helper 2026-05-25 08:38:05 +08:00
lix-2026 3361a5e1b1 refactor: extract editor dnd helpers 2026-05-25 03:05:57 +08:00
lix-2026 61727e17b1 refactor: extract conflict diff panel runtime 2026-05-25 02:44:19 +08:00
lix-2026 2f2220a060 refactor: extract conflict panel dom helper 2026-05-25 01:35:19 +08:00
lix-2026 ac15424328 refactor: externalize upload and conflict helpers 2026-05-25 01:13:08 +08:00
lix-2026 ec623c9a82 refactor: externalize filetree selection runtime 2026-05-25 00:37:47 +08:00
lix-2026 2f01dc3a2e refactor: externalize filetree runtime helpers 2026-05-25 00:22:08 +08:00
lix-2026 c3fbadb456 refactor: externalize tree shell runtime 2026-05-25 00:05:30 +08:00
lix-2026 0a03572601 refactor: externalize local upload helpers
Add local-upload-runtime.js as a browser runtime module for upload and attachment helper functions, with sidebar fallback wrappers and a fixed runtime asset route.

While validating task479, fix the editor attachment delete path so DOM-selected local attachment links are mapped back to a Tiptap text selection before delete_selection(), preserving undo history and adjacent links.
2026-05-24 22:42:53 +08:00
lix-2026 db7c3cb319 refactor: externalize tree live controller 2026-05-24 21:35:21 +08:00
lix-2026 b61b56b5b5 design: plan browser runtime extraction 2026-05-24 21:03:33 +08:00
lix-2026 9c4bb58257 fix: align local markdown conflict and title behavior 2026-05-24 18:16:05 +08:00
lix-2026 6df74fb4e0 fix local markdown resource missing tabs and title setting 2026-05-24 03:01:34 +08:00
lix-2026 97953101a2 fix local folder resource lifecycle 2026-05-24 01:49:51 +08:00
lix-2026 5f97800489 chore: align local-first control plane and editor fixes
- wire SQLite control-plane access/session paths into Rust web local-folder routes

- preserve local Markdown attachment semantics across upload, reload, and secondary-pane resource tabs

- refresh design governance docs, Reasonix task templates, and bug records

- retire root .mcp.json local MCP config
2026-05-23 23:38:42 +08:00
lix-2026 47e224d419 chore: align sqlite control plane architecture
- replace default Convex control-plane wording with Rust SQLite control-plane across architecture, AGENTS, Reasonix, and design docs

- retire root Convex functions source and deploy script into recycle while keeping explicit cloud/compat/sync-replica boundaries

- add control-plane migration guard/docs and keep CodeGraph refreshed after the SQLite control-plane cutover
2026-05-22 17:45:22 +08:00
lix-2026 cc91a56603 batch E: close tail checks and refresh smoke evidence 2026-05-21 17:15:28 +08:00
lix-2026 dc18ec0a60 fix: 收口批次D并修复本地垃圾箱清空 2026-05-21 15:45:11 +08:00
lix-2026 83ad32dd67 fix: 修复本地文件夹垃圾箱恢复聚焦 2026-05-21 14:39:38 +08:00
lix-2026 b0fa1e53d8 chore: 收口 Batch C 证据与设计口径 2026-05-21 13:28:23 +08:00
lix-2026 1956a8a21a chore: align mvp design governance
- 统一 local-first MVP 后阶段架构口径,补充 process 执行总序和 Reasonix 协作记录

- 归档已完成的 design checklist,标注参考型 process,更新 AGENTS/REASONIX/架构文档

- 补充文件树/主编辑器下载与上下文菜单相关实现、bug 记录和 smoke 脚本

验证:git diff --check;codegraph sync .;cargo test -p mnote-web;node --check scripts/task476-filetree-editor-context-menu-download-smoke.js
2026-05-21 09:04:13 +08:00
lix-2026 fd94792ea6 align workbench open editors tabs 2026-05-21 05:57:19 +08:00
lix-2026 eba1010191 fix local office resource editing
- add local-folder OnlyOffice sign/callback writeback and edit-tab handling

- align main resource tabs, attachment edit menu, slash isolation, and filetree context behavior

- record Sidex/Hermes gap reviews and Reasonix task checklists
2026-05-21 05:40:06 +08:00
lix-2026 a29d9868f6 收口工作台资源 tab 与本地文件树 P1 2026-05-20 21:45:11 +08:00
lix-2026 fe13444dbc Close workbench P0 resource lifecycle gaps 2026-05-20 20:48:18 +08:00
lix-2026 e0b0e70fb8 Complete workbench P0 resource tab cutover 2026-05-20 20:13:24 +08:00
lix-2026 acf1305a7e Align resource tabs with workbench review 2026-05-20 19:04:05 +08:00
lix-2026 4c62ea7e35 fix: repair resource tab and slash menu regressions 2026-05-20 17:47:09 +08:00
lix-2026 bbd9dab701 fix: allow returning from resource tabs 2026-05-20 17:00:17 +08:00
lix-2026 0c532b2953 fix: suppress local create watcher conflict 2026-05-20 16:16:42 +08:00
lix-2026 03173e2363 feat: add main editor resource tabs 2026-05-20 14:20:48 +08:00
lix-2026 cfc91320be test: align mnote-web local-first assertions 2026-05-20 12:17:44 +08:00
lix-2026 b4c8bcb647 收口本地工作区清理与资源投影
清理历史 Electron、Graphify、沙箱和截图等仓库跟踪残留,补充 CodeGraph 与 Convex active deploy source 协作说明。

新增 tree-first 下一阶段设计稿和 2026-05-20 清理总结,记录本地工作区、路径身份和 Zed/Lapce/VSCode 参考收口方向。

扩展 Rust Web 本地文件夹、DocumentBuffer、mindmap 资源、tree runtime 和页面聚合链路,并补充 task455 local-folder mindmap clean smoke。

验证:git diff --check 通过;pnpm store status --store-dir .pnpm-store 通过;npm ls --depth=0 --json 通过;find -L node_modules 未发现断链。cargo test -p mnote-web 当前 418 passed / 35 failed。
2026-05-20 10:43:38 +08:00
lix-2026 6fcdf78603 推进资源工具与本地优先兼容链收口 2026-05-19 12:03:43 +08:00
lix-2026 1b5d6a2a2d feat: advance local-first conflict and search indexing
- 补齐本地 markdown 冲突处理与合并写回路径\n- 增加本地搜索索引路由、刷新与 browser smoke\n- 同步更新 current-priority checklist 的阶段进度
2026-05-19 09:38:57 +08:00
lix-2026 68d321e297 feat: advance local-first workspace checklist
- add admin access-policy UI and local access control surfaces

- add local markdown conflict resolution UI and smoke coverage

- add ACP local agent changed-files audit scaffold and read-only write guard

- document current P0-P2 checklist progress and verification evidence
2026-05-19 08:07:17 +08:00
lix-2026 a2cb1338c8 chore: 保存当前架构收口与 bug 修复快照
归档本轮 P0/P1 bug 修复、设计审查迁移、AI selection scope 收口与 stream contract 调整,并保留当前 05 主线迁移起点。
2026-05-18 17:01:35 +08:00
lix-2026 f292c6710a feat: EditorRuntimeActor - 三层缓存/delta/事件架构
Phase A — EditorRuntimeActor 内存缓存层
- 新增 editor_actor.rs: EditorBlockDocument 内存态 + apply_command + load_or_init
- block.rs 四个写工具(replace/insert/delete/move)接入 actor 路径
- editor_actor feature flag(MNOTE_WEB_ENABLE_EDITOR_ACTOR=true 默认开启)
- bridge-runtime 三个核心函数公开化
- rust-toolchain: 1.89 → stable(修复 spike WASM 编译阻塞)

Phase B — 编辑器增量 delta channel
- BlockDelta/DeltaOperation 类型 + actor.build_block_delta()
- leptos-tiptap spike: mnote:editor:block-delta CustomEvent 监听 + JSON patch
- DocumentAiAgentPanel: 拦截 blockDelta → window dispatchEvent
- 工具响应含 blockDelta 字段供前端消费

Phase C — 事件 stream delta
- broadcast channel 在 AppState/actor/SSE 三层贯通
- tree_events SSE 端点发 block.delta 事件
- 旧客户端降级兼容

环境修复
- rustc recursion_limit = 1024(修复 Leptos SSR 类型深度溢出)
- run-convex-deploy.js(封装 Convex function 部署到本地后端 3210)

ref: design/07-ai/process/7-13-page-block-editor-runtime-actor-v1.md
2026-05-16 22:03:30 +08:00