chore(core): remove zero-reference deps and redirect_links domain (#5052)

This commit is contained in:
YellowSnnowmann
2026-07-21 19:01:31 +03:00
committed by GitHub
parent c09bef22db
commit 4efd80db34
17 changed files with 40 additions and 1968 deletions
-9
View File
@@ -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.",
-1
View File
@@ -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());