mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
chore(core): remove zero-reference deps and redirect_links domain (#5052)
This commit is contained in:
@@ -575,12 +575,6 @@ fn build_registered_controllers() -> Vec<GroupedController> {
|
||||
DomainGroup::Memory,
|
||||
crate::openhuman::memory_diff::all_memory_diff_registered_controllers(),
|
||||
);
|
||||
// Link shortener for long tracking URLs — saves LLM tokens
|
||||
push(
|
||||
&mut controllers,
|
||||
DomainGroup::Platform,
|
||||
crate::openhuman::redirect_links::all_redirect_links_registered_controllers(),
|
||||
);
|
||||
// Referral and growth tracking
|
||||
push(
|
||||
&mut controllers,
|
||||
@@ -951,9 +945,6 @@ pub fn namespace_description(namespace: &str) -> Option<&'static str> {
|
||||
"memory_diff" => Some(
|
||||
"Snapshot-based change tracking for memory sources — capture state, compute diffs, and surface changes to agents.",
|
||||
),
|
||||
"redirect_links" => Some(
|
||||
"Shorten long tracking URLs to `openhuman://link/<id>` placeholders (SQLite-backed) to save tokens in prompts, with round-trip rewrite helpers.",
|
||||
),
|
||||
"referral" => Some("Referral codes, stats, and apply flows via the hosted backend API."),
|
||||
"run_ledger" => Some(
|
||||
"Durable agent and workflow run state, child lineage, events, telemetry, and checkpoint references.",
|
||||
|
||||
@@ -119,7 +119,6 @@ fn registered_controller_rpc_method_name() {
|
||||
fn namespace_description_known_namespaces() {
|
||||
assert!(namespace_description("memory").is_some());
|
||||
assert!(namespace_description("memory_tree").is_some());
|
||||
assert!(namespace_description("redirect_links").is_some());
|
||||
assert!(namespace_description("billing").is_some());
|
||||
assert!(namespace_description("config").is_some());
|
||||
assert!(namespace_description("health").is_some());
|
||||
|
||||
Reference in New Issue
Block a user