Implement Rust web sidebar title and tree interactions

This commit is contained in:
lix-2026
2026-04-30 05:46:36 +08:00
parent 559c5ce652
commit 3cc090ba5e
35 changed files with 3029 additions and 424 deletions
@@ -477,6 +477,7 @@ pub fn build_stream_delta_payload(
let scope = resolve_stream_scope(query);
json!({
"kind": "delta",
"revision": cursor.clone().unwrap_or_else(|| "0".into()),
"stream": scope.as_str(),
"projection": scope.projection(),
"requestId": context.trace.request_id,
@@ -570,6 +571,7 @@ pub async fn load_stream_snapshot(
Ok(json!({
"kind": "snapshot",
"revision": cursor.clone().unwrap_or_else(|| "0".into()),
"scope": scope.as_str(),
"stream": scope.as_str(),
"projection": scope.projection(),