feat: Memory subtabs + WebGL memory graph; drop Knowledge Vaults (#3040)

This commit is contained in:
Steven Enamakel
2026-05-30 20:21:58 -07:00
committed by GitHub
parent 8677eb643c
commit 36a3f3fa65
59 changed files with 1616 additions and 6208 deletions
-3
View File
@@ -191,8 +191,6 @@ fn build_registered_controllers() -> Vec<RegisteredController> {
controllers.extend(crate::openhuman::skills::all_skills_registered_controllers());
// User workspace and file management
controllers.extend(crate::openhuman::workspace::all_workspace_registered_controllers());
// Knowledge vaults — folder-of-files mirrored into memory
controllers.extend(crate::openhuman::vault::all_vault_registered_controllers());
// Skill tool registry
controllers.extend(crate::openhuman::tools::all_tools_registered_controllers());
// Unified read-only registry across MCP stdio tools and controller-backed tools
@@ -341,7 +339,6 @@ fn build_declared_controller_schemas() -> Vec<ControllerSchema> {
schemas.extend(crate::openhuman::javascript::all_javascript_controller_schemas());
schemas.extend(crate::openhuman::skills::all_skills_controller_schemas());
schemas.extend(crate::openhuman::workspace::all_workspace_controller_schemas());
schemas.extend(crate::openhuman::vault::all_vault_controller_schemas());
schemas.extend(crate::openhuman::tools::all_tools_controller_schemas());
schemas.extend(crate::openhuman::tool_registry::all_tool_registry_controller_schemas());
schemas.extend(crate::openhuman::memory::all_memory_controller_schemas());
+4 -3
View File
@@ -1242,9 +1242,10 @@ fn is_prompt_injection_blocked_message(lower: &str) -> bool {
/// boundary when a user typed/picked a path that doesn't resolve to an
/// existing directory:
///
/// - `"root_path is not a directory: <path>"` —
/// [`crate::openhuman::vault::ops::vault_create`] when the chosen vault
/// folder doesn't exist or points at a file (Sentry TAURI-RUST-4QH).
/// - `"root_path is not a directory: <path>"` — historically emitted by the
/// now-removed knowledge-vault `vault_create` path when the chosen folder
/// didn't exist or pointed at a file (Sentry TAURI-RUST-4QH). Kept as a
/// classifier fixture since the wire shape may recur from other callers.
/// - `"hosted path is not a directory: <path>"` —
/// [`crate::openhuman::http_host::path_utils`] when an HTTP host config
/// references a missing directory. Not yet observed in Sentry but
+5 -4
View File
@@ -352,10 +352,11 @@ fn does_not_classify_unrelated_messages_as_context_window_exceeded() {
#[test]
fn classifies_vault_create_root_path_not_a_directory_as_filesystem_user_path_invalid() {
// TAURI-RUST-4QH: verbatim wire shape from
// `openhuman::vault::ops::vault_create` line 37 when the
// user-picked vault folder doesn't resolve to an existing
// directory. Bubbles up as the RPC dispatcher's
// TAURI-RUST-4QH: verbatim wire shape historically emitted by the
// now-removed knowledge-vault `vault_create` path when the
// user-picked folder didn't resolve to an existing directory.
// Retained as a classifier fixture in case the shape recurs from
// another caller. Bubbles up as the RPC dispatcher's
// `display_message` and reaches `report_error_or_expected` —
// must classify so no Sentry event fires.
assert_eq!(