0508 1.2s轮询同步

This commit is contained in:
lix-2026
2026-05-08 11:23:08 +08:00
parent b183d24ba5
commit 83805f9254
8 changed files with 364 additions and 16 deletions
+5
View File
@@ -8,6 +8,7 @@ mod health;
mod hermes;
mod kernel;
mod local_folder_source;
mod local_folder_events;
mod local_markdown_parser;
mod mindmap_shell;
mod query_support;
@@ -97,6 +98,10 @@ pub fn build_router(state: AppState) -> Router {
"/api/tree/local-folder-watch",
get(tree::local_folder_watch),
)
.route(
"/api/local-folder/events",
get(local_folder_events::local_folder_events),
)
.route(
"/api/tree/runtime/reduce",
post(tree::reduce_tree_shell_runtime),