Commit Graph
47 Commits
Author SHA1 Message Date
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 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 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 36eac664f2 complete local markdown resource lifecycle contract 2026-05-24 03:22:03 +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 531e845600 fix auth registration and access management ui 2026-05-22 01:47:40 +08:00
lix-2026 cc91a56603 batch E: close tail checks and refresh smoke evidence 2026-05-21 17:15:28 +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 03173e2363 feat: add main editor resource tabs 2026-05-20 14:20:48 +08:00
lix-2026 94be1c927b 推进本地优先迁移与资源闭环
- 补齐共享只读页面 AI 浏览器 smoke,并回填当前优先级 checklist 的 P4/P5/P6 证据。

- 为 OnlyOffice 资源增加 /office/{documentId}/{assetId} 对象壳,固定 resource identity 与侧边栏打开路径。

- 扩展 Convex 导出脚本,支持 dry-run、manifest、冲突报告、索引刷新与 rollback,并补充 smoke。

- 补充资源 AI 工具合同与 Convex 导出 Web 入口设计。
2026-05-19 11:39:04 +08:00
lix-2026 a1b28a8e38 完善共享授权与本地同步闭环
实现独立 share-grants 控制面,区分产品分享授权与本机目录授权。

收紧 shared AI session 的资源范围,并补充 shared cache、pending change 与冲突报告 sidecar。

更新当前架构与执行 checklist,记录 P4 已完成项和剩余 browser smoke。
2026-05-19 11:11:08 +08:00
lix-2026 fc4a47e597 推进本地索引与 AI changed-files 审计
- 为本地工作区补充 search/backlinks/tags/resource 引用索引与 watcher 单文件刷新
- 在页面设置中增加索引页签,并展示本地反链、标签和 AI changed-files 审计
- 补充本地搜索与本地 AI changed-files 浏览器 smoke,并回填当前优先级 checklist
2026-05-19 10:22:01 +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 3311bd0366 chore: document architecture gaps and add dev hot reload
- add npm dev:hot wrapper using cargo-watch and page reload polling

- add mnote-web dev hot reload endpoint and coverage

- record current architecture review and tracked bug findings across realtime, tree, editor, and AI runtimes

Verification:

- node scripts/task-dev-hot-plan-test.js

- node --check scripts/dev-hot.js

- cargo test -p mnote-web dev_hot -- --nocapture
2026-05-17 23:09:56 +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
lix-2026 01fdd2a8c3 feat: complete hermes page ai runtime bff 2026-05-15 23:20:25 +08:00
lix-2026 f257b2a014 feat: expand page ai hermes control surface 2026-05-14 17:04:17 +08:00
lix-2026 9816035491 feat(ai): switch page ai to hermes panel 2026-05-14 15:10:33 +08:00
lix-2026 17c003976b feat: 收口 Rust Web 3000 主链 2026-05-11 13:16:34 +08:00
lix-2026 b5eb27fabc feat: 收口 mindmap Phase 6 Leptos UI shell 2026-05-11 12:27:40 +08:00
lix-2026 b7dddd2a66 fix: 修复 Rust OnlyOffice 附件打开链路 2026-05-11 08:27:52 +08:00
lix-2026 83805f9254 0508 1.2s轮询同步 2026-05-08 11:23:08 +08:00
lix-2026 b183d24ba5 Implement local Markdown GFM parser and live refresh 2026-05-08 10:57:24 +08:00
lix-2026 c620b9e40c checkpoint before gfm ast parser design 2026-05-08 00:41:03 +08:00
lix-2026 e8ba12e461 收口 Rust Web 入口与 AI 写入链
- 将 3000 主入口继续收口到 mnote-web,补齐 /favicon.ico、/api/auth、session alias、AI run 等 Rust Web 路由边界。

- 更新登录页与 Convex Auth 代理,支持测试账号快速登录写入真实 Convex Auth cookie。

- 推进页面设置、Wolai 对齐、Phase 7 AI kernel/CLI-first 设计文档与相关 smoke 脚本。

- 更新 leptos-tiptap 生成资产、mnote-cli/bridge-runtime、前端依赖和 dev/prod 启动脚本。
2026-05-06 21:44:20 +08:00
lix-2026 98b6360595 Checkpoint current workspace 2026-05-02 06:25:26 +08:00
lix-2026 3cc090ba5e Implement Rust web sidebar title and tree interactions 2026-04-30 05:46:36 +08:00
lix-2026 33ddda9dfd fix: relink rust web tree editor runtime 2026-04-29 14:36:24 +08:00
lix-2026 048fe28a4d feat: cut over rust web main shell 2026-04-29 12:24:44 +08:00
lix-2026 7965c6c107 feat(tree): close rust family shell cutover 2026-04-28 16:30:51 +08:00
lix-2026 41e958769e feat: land page aggregate and phase7 document ai mainline
- 收口 page aggregate 读取、本地状态与命令客户端\n- 接入 phase7 document ai sidecar 与前端编排入口\n- 更新 architecture 与 design 状态迁移
2026-04-23 07:38:34 +08:00
lix-2026 394e2a155c Fix tiptap selection sync and toolbar event loop 2026-04-19 21:03:25 +08:00
lix-2026 111a87d4fd feat: complete tree shell cutover and regression coverage 2026-04-18 09:38:16 +08:00
lix-2026 d3876e56eb feat: 收口 tree-first graph 主链与前端测试修复 2026-04-18 05:43:49 +08:00
lix-2026 d8de820d93 feat: 接入 mnote web tree shell 与主页链路整理
- 增加 mnote-web tree/command 支持与前端 MnoteWebTreeShell 集成
- 调整 sidebar、documents、runtime config 与 dev/prod server 配套逻辑
- 补充 homepage/tree shell smoke 脚本并更新 harness 进度文件
2026-04-17 23:36:24 +08:00
lix-2026 ddf285b82d feat(kernel): finish phase3 bridge cutover and phase4 tree projection
- add generic mnote-web query transport and bridge routes for workspace/request/trace

- route sidebar compat traffic through mnote-web and tighten fixture fallback to dev/test

- unify sidebar/page tree/file tree/picker consumers on page_tree projection

- sync phase3/phase4 checklist, breakdown docs, and harness progress state
2026-04-17 00:25:28 +08:00
lix-2026 b1d5d97142 feat(kernel): complete tree-first graph tasks 074-080 2026-04-16 22:01:51 +08:00