The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: apply rustfmt formatting across crates
Steven Enamakel3bc322f968b1
diff --git a/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rs b/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rsindex 9e7b95e36b..36bcc90cd6 100644--- a/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/delivery_import_tests.rs@@ -8,9 +8,9 @@ fn entry(id: &str, at: u64) -> DeliveryQueueEntry {id,ChannelOutboundIntent {idempotency_key: id.to_owned(),- channel_ref: None,- conversation_ref: None,- turn_id: None,+ channel_ref: None,+ conversation_ref: None,+ turn_id: None,channel_id: "telegram".into(),conversation_id: "chat-1".into(),reply_to_id: None,diff --git a/crates/openhuman-core/src/channels/runtime/startup/relay.rs b/crates/openhuman-core/src/channels/runtime/startup/relay.rsindex eb657381a2..f2f92b9a91 100644--- a/crates/openhuman-core/src/channels/runtime/startup/relay.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/relay.rs@@ -29,11 +29,12 @@ impl tinychannels::relay::RelayInboundHandler for RelayInboundMessageHandler {"invalid inbound envelope: {error}"))})?;- let msg = tinychannels::legacy_message_from_inbound_envelope(&envelope, 0).map_err(|error| {- tinychannels::relay::RelayTransportError::Handler(format!(- "invalid legacy inbound projection: {error}"- ))- })?;+ let msg =+ tinychannels::legacy_message_from_inbound_envelope(&envelope, 0).map_err(|error| {+ tinychannels::relay::RelayTransportError::Handler(format!(+ "invalid legacy inbound projection: {error}"+ ))+ })?;self.tx.send(RuntimeChannelMessage::with_inbound_envelope(msg, envelope)).awaitdiff --git a/crates/openhuman-core/src/inbound/linked_fixture.rs b/crates/openhuman-core/src/inbound/linked_fixture.rsindex f2f42e3736..69469bb42c 100644--- a/crates/openhuman-core/src/inbound/linked_fixture.rs+++ b/crates/openhuman-core/src/inbound/linked_fixture.rs@@ -239,9 +239,8 @@ impl PinnedAgent for ScriptedAgent {/// A results store in fresh memory storage.pub(crate) fn memory_results() -> Results {- let storage = tinystoragedrivers_testkit::memory_storage(- &crate::storage::Scope::new("local").unwrap(),- );+ let storage =+ tinystoragedrivers_testkit::memory_storage(&crate::storage::Scope::new("local").unwrap());Results::over(&storage)}diff --git a/crates/openhuman-core/src/security/policy/command_checks.rs b/crates/openhuman-core/src/security/policy/command_checks.rsindex 936cac43ce..1b3fad02fb 100644--- a/crates/openhuman-core/src/security/policy/command_checks.rs+++ b/crates/openhuman-core/src/security/policy/command_checks.rs@@ -4,9 +4,9 @@use std::path::{Path, PathBuf};-use super::CommandAnalysis;#[cfg(test)]use super::command_analysis::classify_host_command;+use super::CommandAnalysis;#[cfg(test)]use super::types::CommandRiskLevel;diff --git a/crates/openhuman-core/src/security/policy/mod.rs b/crates/openhuman-core/src/security/policy/mod.rsindex aefad182d4..8f2b3b5b68 100644--- a/crates/openhuman-core/src/security/policy/mod.rs+++ b/crates/openhuman-core/src/security/policy/mod.rs@@ -22,8 +22,8 @@ pub(crate) use path_checks::{ALWAYS_FORBIDDEN_PREFIXES, SENSITIVE_COMPONENTS, SENSITIVE_FILES, SENSITIVE_PAIRS,};pub use types::{- ActionTracker, AutonomyLevel, CommandClass, CommandRiskLevel, GateDecision, SecurityPolicy,- ToolOperation, TrustedAccess, TrustedRoot, tool_result_artifacts_dir,+ tool_result_artifacts_dir, ActionTracker, AutonomyLevel, CommandClass, CommandRiskLevel,+ GateDecision, SecurityPolicy, ToolOperation, TrustedAccess, TrustedRoot,};#[cfg(test)]diff --git a/crates/openhuman-core/src/security/policy/path_checks.rs b/crates/openhuman-core/src/security/policy/path_checks.rsindex a8bc9e7d9f..64a42ea0c9 100644--- a/crates/openhuman-core/src/security/policy/path_checks.rs+++ b/crates/openhuman-core/src/security/policy/path_checks.rs@@ -1,10 +1,10 @@use std::path::{Path, PathBuf};+use super::types::{SecurityPolicy, TrustedAccess};use super::types::{- ACCOUNT_CONFIG_FILE, ARTIFACT_TOOL_RESULTS_DIR, ARTIFACTS_DIR, WORKSPACE_INTERNAL_DIRS,+ ACCOUNT_CONFIG_FILE, ARTIFACTS_DIR, ARTIFACT_TOOL_RESULTS_DIR, WORKSPACE_INTERNAL_DIRS,WORKSPACE_INTERNAL_FILES,};-use super::types::{SecurityPolicy, TrustedAccess};use tinytools::status::POLICY_BLOCKED_MARKER;/// Credential-store path segments, matched case-insensitively at any depth.diff --git a/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rs b/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rsindex 7f2f528e67..1c8b2f2c47 100644--- a/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rs@@ -109,12 +109,10 @@ async fn tool_result_artifacts_are_readable_by_absolute_path_under_workspace_onllet grant = super::tool_result_artifacts_dir(&workspace).to_string_lossy().to_string();- assert!(- policy- .trusted_roots- .iter()- .any(|r| r.path == grant && r.access == TrustedAccess::Read)- );+ assert!(policy+ .trusted_roots+ .iter()+ .any(|r| r.path == grant && r.access == TrustedAccess::Read));let result = artifacts.join("call.txt");policy@@ -122,10 +120,8 @@ async fn tool_result_artifacts_are_readable_by_absolute_path_under_workspace_onl.await.expect("a tool-result artifact must be readable by absolute path");// The grant is that directory only: internal artifact records stay closed.- assert!(- policy- .validate_path(&record.join("meta.json").to_string_lossy())- .await- .is_err()- );+ assert!(policy+ .validate_path(&record.join("meta.json").to_string_lossy())+ .await+ .is_err());}diff --git a/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rs b/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rsindex 399307c611..84cd1c3b5c 100644--- a/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_allowlist_tests.rs@@ -36,10 +36,9 @@ fn can_act_full_true() {#[test]fn enforce_tool_operation_read_allowed_in_readonly_mode() {let p = readonly_policy();- assert!(- p.enforce_tool_operation(ToolOperation::Read, "memory_recall")- .is_ok()- );+ assert!(p+ .enforce_tool_operation(ToolOperation::Read, "memory_recall")+ .is_ok());}#[test]diff --git a/crates/openhuman-core/src/security/policy/policy_media_artifact_tests.rs b/crates/openhuman-core/src/security/policy/policy_media_artifact_tests.rsindex 51fb563adf..9fc01a02c7 100644--- a/crates/openhuman-core/src/security/policy/policy_media_artifact_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_media_artifact_tests.rs@@ -1,5 +1,5 @@use super::*;-use crate::artifacts::{ArtifactKind, FileRoots, create_artifact, finalize_artifact};+use crate::artifacts::{create_artifact, finalize_artifact, ArtifactKind, FileRoots};use std::sync::Arc;use tempfile::TempDir;@@ -64,24 +64,18 @@ async fn ready_media_artifacts_are_readable_but_other_files_are_not() {..SecurityPolicy::default()};- assert!(- policy- .validate_path(&image_path.to_string_lossy())- .await- .is_ok()- );- assert!(- policy- .validate_path(&document_path.to_string_lossy())- .await- .is_err()- );- assert!(- policy- .validate_path(&pending_path.to_string_lossy())- .await- .is_err()- );+ assert!(policy+ .validate_path(&image_path.to_string_lossy())+ .await+ .is_ok());+ assert!(policy+ .validate_path(&document_path.to_string_lossy())+ .await+ .is_err());+ assert!(policy+ .validate_path(&pending_path.to_string_lossy())+ .await+ .is_err());crate::artifacts::store::delete_artifact(&workspace, FileRoots::new(files), &image.id).awaitdiff --git a/crates/openhuman-core/src/security/policy/policy_paths_and_risk_tests.rs b/crates/openhuman-core/src/security/policy/policy_paths_and_risk_tests.rsindex 04eef3b529..e7a790a2c8 100644--- a/crates/openhuman-core/src/security/policy/policy_paths_and_risk_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_paths_and_risk_tests.rs@@ -370,16 +370,14 @@ fn relative_personalities_path_resolves_under_action_dir() {};assert!(policy.is_path_string_allowed("personalities/alice.md"));- assert!(- !policy.is_path_string_allowed(- workspace- .join("personalities")- .join("alice")- .join("SOUL.md")- .to_string_lossy()- .as_ref()- )- );+ assert!(!policy.is_path_string_allowed(+ workspace+ .join("personalities")+ .join("alice")+ .join("SOUL.md")+ .to_string_lossy()+ .as_ref()+ ));}#[test]diff --git a/crates/openhuman-core/src/security/policy/policy_trusted_roots_tests.rs b/crates/openhuman-core/src/security/policy/policy_trusted_roots_tests.rsindex b16dfd415d..c0df8164bf 100644--- a/crates/openhuman-core/src/security/policy/policy_trusted_roots_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_trusted_roots_tests.rs@@ -177,12 +177,10 @@ async fn validate_parent_path_blocks_symlinked_parent_dir() {forbidden_paths: vec![],..SecurityPolicy::default()};- assert!(- policy- .validate_parent_path("subdir/newfile.txt")- .await- .is_err()- );+ assert!(policy+ .validate_parent_path("subdir/newfile.txt")+ .await+ .is_err());}#[cfg(unix)]@@ -226,12 +224,10 @@ async fn validate_parent_path_blocks_forbidden_path() {..SecurityPolicy::default()};// Writing a new file directly into the forbidden dir must be blocked.- assert!(- policy- .validate_parent_path("secrets/output.csv")- .await- .is_err()- );+ assert!(policy+ .validate_parent_path("secrets/output.csv")+ .await+ .is_err());}// ── tilde expansion in validate_path / validate_parent_path ──────────────────@@ -462,10 +458,9 @@ fn supervised_runs_approved_redirects_but_blocks_hidden_execution() {.is_ok(),"stderr-dup redirect 2>&1 must run after approval");- assert!(- p.check_gated_command("pip show yfinance 2>/dev/null")- .is_ok()- );+ assert!(p+ .check_gated_command("pip show yfinance 2>/dev/null")+ .is_ok());assert!(p.check_gated_command("ls -la | grep foo").is_ok());assert!(p.check_gated_command("echo done > out.txt").is_ok());diff --git a/crates/openhuman-core/src/security/policy/policy_workspace_internal_tests.rs b/crates/openhuman-core/src/security/policy/policy_workspace_internal_tests.rsindex 261653d814..e767432dbe 100644--- a/crates/openhuman-core/src/security/policy/policy_workspace_internal_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_workspace_internal_tests.rs@@ -20,12 +20,10 @@ fn is_workspace_internal_path_blocks_state_dirs() {assert!(policy.is_workspace_internal_path(&ws.join("memory").join("namespaces")));assert!(policy.is_workspace_internal_path(&ws.join("memory-alice").join("memory.db")));assert!(policy.is_workspace_internal_path(&ws.join("memory_tree-alice").join("tree")));- assert!(- policy.is_workspace_internal_path(- &ws.join("session_raw-alice")- .join("1700000000_orchestrator.jsonl")- )- );+ assert!(policy.is_workspace_internal_path(+ &ws.join("session_raw-alice")+ .join("1700000000_orchestrator.jsonl")+ ));assert!(policy.is_workspace_internal_path(&ws.join("sessions")));assert!(policy.is_workspace_internal_path(&ws.join("state")));assert!(policy.is_workspace_internal_path(&ws.join("cron")));@@ -33,15 +31,13 @@ fn is_workspace_internal_path_blocks_state_dirs() {assert!(policy.is_workspace_internal_path(&ws.join("personalities").join("alice").join("SOUL.md")));- assert!(- policy.is_workspace_internal_path(- &ws.join("personalities")- .join("alice")- .join("skills")- .join("private-skill")- .join("SKILL.md")- )- );+ assert!(policy.is_workspace_internal_path(+ &ws.join("personalities")+ .join("alice")+ .join("skills")+ .join("private-skill")+ .join("SKILL.md")+ ));assert!(policy.is_workspace_internal_path(&ws.join("approval")));assert!(policy.is_workspace_internal_path(&ws.join("mcp_clients")));assert!(policy.is_workspace_internal_path(&ws.join("codegraph")));@@ -124,21 +120,17 @@ async fn artifact_metadata_is_internal_but_tool_results_are_not() {let meta = record.join("meta.json");assert!(!policy.is_path_string_allowed(&meta.to_string_lossy()));assert!(policy.validate_path(&meta.to_string_lossy()).await.is_err());- assert!(- policy- .validate_parent_path(&record.join("args.json").to_string_lossy())- .await- .is_err()- );+ assert!(policy+ .validate_parent_path(&record.join("args.json").to_string_lossy())+ .await+ .is_err());let result = results.join("call-1.txt");assert!(policy.is_path_string_allowed(&result.to_string_lossy()));- assert!(- policy- .validate_path(&result.to_string_lossy())- .await- .is_ok()- );+ assert!(policy+ .validate_path(&result.to_string_lossy())+ .await+ .is_ok());}#[tokio::test]@@ -162,16 +154,14 @@ async fn trusted_root_cannot_expose_workspace_internal_state() {assert!(!policy.is_path_string_allowed(&soul.to_string_lossy()));assert!(policy.validate_path(&soul.to_string_lossy()).await.is_err());- assert!(- policy- .validate_parent_path(- &ws.join("session_raw-alice")- .join("new.jsonl")- .to_string_lossy()- )- .await- .is_err()- );+ assert!(policy+ .validate_parent_path(+ &ws.join("session_raw-alice")+ .join("new.jsonl")+ .to_string_lossy()+ )+ .await+ .is_err());}#[test]@@ -222,17 +212,13 @@ async fn the_account_config_beside_the_workspace_is_internal() {};assert!(!policy.is_path_string_allowed(&config.to_string_lossy()));- assert!(- policy- .validate_path(&config.to_string_lossy())- .await- .is_err()- );- assert!(- policy- .validate_parent_path(&config.to_string_lossy())- .await- .is_err()- );+ assert!(policy+ .validate_path(&config.to_string_lossy())+ .await+ .is_err());+ assert!(policy+ .validate_parent_path(&config.to_string_lossy())+ .await+ .is_err());assert!(policy.validate_path(¬es.to_string_lossy()).await.is_ok());}diff --git a/crates/openhuman-core/src/storage/boot_tests.rs b/crates/openhuman-core/src/storage/boot_tests.rsindex 9705adac0b..89547d028b 100644--- a/crates/openhuman-core/src/storage/boot_tests.rs+++ b/crates/openhuman-core/src/storage/boot_tests.rs@@ -7,7 +7,10 @@ async fn boot_prepares_each_linked_crates_collections_on_host_scopes() {let report = prepare_and_migrate(&backend).await.unwrap();let owners = super::super::schema::collection_owners().unwrap();- let declared = owners.iter().map(|owner| owner.collections.len()).sum::<usize>();+ let declared = owners+ .iter()+ .map(|owner| owner.collections.len())+ .sum::<usize>();assert_eq!(report.scopes, 2);assert_eq!(report.collections, declared * report.scopes);diff --git a/crates/openhuman-core/src/storage/host_migration_tests.rs b/crates/openhuman-core/src/storage/host_migration_tests.rsindex 2b7e6b3aa3..d862d6957c 100644--- a/crates/openhuman-core/src/storage/host_migration_tests.rs+++ b/crates/openhuman-core/src/storage/host_migration_tests.rs@@ -15,7 +15,10 @@ async fn boot_prepares_every_linked_owner_collection_in_shared_scopes() {let report = prepare_and_migrate(&backend).await.unwrap();assert_eq!(report.scopes, 2);- let expected = owners.iter().map(|owner| owner.collections.len()).sum::<usize>();+ let expected = owners+ .iter()+ .map(|owner| owner.collections.len())+ .sum::<usize>();assert_eq!(report.collections, expected * report.scopes);for scope in [Scope::local(), Scope::new("cluster").unwrap()] {let storage = backend.for_scope(&scope).unwrap();@@ -27,7 +30,10 @@ async fn boot_prepares_every_linked_owner_collection_in_shared_scopes() {.query_all(&collection.name, &tinystoragedrivers_types::Query::all()).await.unwrap_or_else(|error| {- panic!("{} from {} in {scope}: {error}", collection.name, owner.crate_name)+ panic!(+ "{} from {} in {scope}: {error}",+ collection.name, owner.crate_name+ )});}}diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rsindex 17182417cf..ce75d5b813 100644--- a/crates/openhuman-core/src/storage/schema.rs+++ b/crates/openhuman-core/src/storage/schema.rs@@ -29,19 +29,31 @@ pub fn collection_owners() -> Result<Vec<CollectionOwner>, StorageError> {fn declared_collections() -> Vec<CollectionOwner> {let mut owners = vec![- owner("tinyagents-harness", tinyagents_harness::storage::collections()),- owner("tinyagents-session", tinyagents_session::port::collections()),+ owner(+ "tinyagents-harness",+ tinyagents_harness::storage::collections(),+ ),+ owner(+ "tinyagents-session",+ tinyagents_session::port::collections(),+ ),owner("tinyagents-graph", tinyagents_graph::storage::collections()),owner("tinyagents-tasks", tinyagents_tasks::collections()),owner("openhuman-core", host_collections()),];#[cfg(feature = "skills")]- owners.push(owner("tinyskills-drivers", tinyskills_drivers::collections()));+ owners.push(owner(+ "tinyskills-drivers",+ tinyskills_drivers::collections(),+ ));#[cfg(feature = "modules")]{- owners.push(owner("tinymcp-bus", tinymcp_bus::storage::collection_specs()));+ owners.push(owner(+ "tinymcp-bus",+ tinymcp_bus::storage::collection_specs(),+ ));owners.push(owner("tinychannels-bus",tinychannels_bus::storage::collections()@@ -63,7 +75,10 @@ fn declared_collections() -> Vec<CollectionOwner> {.map(CollectionSpec::new).collect(),));- owners.push(owner("tinyjuice-bus", tinyjuice_bus::storage::collections()));+ owners.push(owner(+ "tinyjuice-bus",+ tinyjuice_bus::storage::collections(),+ ));}#[cfg(feature = "web3")]@@ -113,7 +128,10 @@ fn host_collections() -> Vec<CollectionSpec> {}fn owner(crate_name: &'static str, collections: Vec<CollectionSpec>) -> CollectionOwner {- CollectionOwner { crate_name, collections }+ CollectionOwner {+ crate_name,+ collections,+ }}/// Collections declared by one loadable module owner.diff --git a/crates/openhuman-core/src/storage/schema_tests.rs b/crates/openhuman-core/src/storage/schema_tests.rsindex 8b04264062..4149dfd56e 100644--- a/crates/openhuman-core/src/storage/schema_tests.rs+++ b/crates/openhuman-core/src/storage/schema_tests.rs@@ -6,7 +6,11 @@ fn every_linked_crate_exposes_its_valid_collection_declarations() {let mut crates = std::collections::HashSet::new();let mut names = std::collections::HashSet::new();for owner in &owners {- assert!(crates.insert(owner.crate_name), "duplicate crate {}", owner.crate_name);+ assert!(+ crates.insert(owner.crate_name),+ "duplicate crate {}",+ owner.crate_name+ );for spec in &owner.collections {spec.validate().expect("owner collection is valid");assert!(diff --git a/crates/openhuman-core/src/web_chat/mod.rs b/crates/openhuman-core/src/web_chat/mod.rsindex 19fa75b8e0..4033266282 100644--- a/crates/openhuman-core/src/web_chat/mod.rs+++ b/crates/openhuman-core/src/web_chat/mod.rs@@ -80,13 +80,13 @@ pub use event_bus::fresh_approval_surface_subscription;// Public API — operations#[cfg(test)]pub use ops::drain_queued_turns_for_test;-#[cfg(test)]-pub(crate) use ops::track_parallel_turn_for_test;pub(crate) use ops::invalidate_thread_sessions_for_tenant;#[cfg(test)]pub(crate) use ops::lock_thread_sessions_for_test;#[cfg(any(test, debug_assertions))]pub use ops::parallel_in_flight_entries_for_test;+#[cfg(test)]+pub(crate) use ops::track_parallel_turn_for_test;pub use ops::{cancel_all_turns, cancel_chat_scoped, cancel_should_target, channel_web_cancel,channel_web_chat, channel_web_queue_clear, channel_web_queue_remove, channel_web_queue_status,diff --git a/crates/openhuman-core/src/web_chat/ops.rs b/crates/openhuman-core/src/web_chat/ops.rsindex 39ac645cbd..0ef8f58026 100644--- a/crates/openhuman-core/src/web_chat/ops.rs+++ b/crates/openhuman-core/src/web_chat/ops.rs@@ -30,8 +30,6 @@ pub use system_turn::{run_system_turn_on_thread, SESSION_CHECKOUT_FAILURE, SYSTE#[cfg(test)]pub use state::drain_queued_turns_for_test;#[cfg(test)]-pub(crate) use state::track_parallel_turn_for_test;-#[cfg(test)]pub(crate) use state::in_flight;pub(crate) use state::invalidate_thread_sessions_for_tenant;#[cfg(test)]@@ -41,6 +39,8 @@ pub use state::parallel_in_flight_entries_for_test;#[cfg(test)]pub(crate) use state::scoped_key;pub(super) use state::thread_sessions;+#[cfg(test)]+pub(crate) use state::track_parallel_turn_for_test;pub use state::{cancel_should_target, in_flight_entries_for_test, invalidate_thread_sessions};pub(crate) use state::{event_session_id_for, key_for};#[cfg(test)]diff --git a/crates/openhuman-embed/src/modules.rs b/crates/openhuman-embed/src/modules.rsindex 4771c41cd6..fc432c7356 100644--- a/crates/openhuman-embed/src/modules.rs+++ b/crates/openhuman-embed/src/modules.rs@@ -42,10 +42,9 @@ pub mod tinybox {pub use openhuman_core::modules::tinybox::contract;pub use openhuman_core::modules::tinybox::{- abort_file_write, analyze_shell, begin_file_read, begin_file_write,- cancel, capabilities, close, close_forward, create, describe, exec, finish_file_read,- finish_file_write, forward, inspect, is_running, jail_status, read_file_chunk, read_output,- release_output, reserve, run_docker, shutdown, spawn, start_exec, start_jailed_exec,- write_file_chunk,+ abort_file_write, analyze_shell, begin_file_read, begin_file_write, cancel, capabilities,+ close, close_forward, create, describe, exec, finish_file_read, finish_file_write, forward,+ inspect, is_running, jail_status, read_file_chunk, read_output, release_output, reserve,+ run_docker, shutdown, spawn, start_exec, start_jailed_exec, write_file_chunk,};}diff --git a/crates/openhuman-tinyhumans/src/channels/delivery.rs b/crates/openhuman-tinyhumans/src/channels/delivery.rsindex b381477256..8562de9a80 100644--- a/crates/openhuman-tinyhumans/src/channels/delivery.rs+++ b/crates/openhuman-tinyhumans/src/channels/delivery.rs@@ -6,10 +6,10 @@use openhuman_embed::__host::channel_callback::ChannelCallbackCtx;use openhuman_embed::__host::security::credentials::session_support::{- BackendCredential, get_session_token, is_local_session_token,+ get_session_token, is_local_session_token, BackendCredential,};use reqwest::Method;-use serde_json::{Map, Value, json};+use serde_json::{json, Map, Value};use tinychannels_bus::module_progressive::{ProgressiveTransportRequest, ProgressiveTransportResult,};diff --git a/crates/openhuman-tinyhumans/src/channels/messaging.rs b/crates/openhuman-tinyhumans/src/channels/messaging.rsindex 09255a5ac2..dc183f574d 100644--- a/crates/openhuman-tinyhumans/src/channels/messaging.rs+++ b/crates/openhuman-tinyhumans/src/channels/messaging.rs@@ -6,14 +6,14 @@use openhuman_embed::__host::config::Config;use openhuman_embed::__host::security::credentials::session_support::{- BackendCredential, resolve_backend_credential,+ resolve_backend_credential, BackendCredential,};use serde_json::Value;use tinychannels_bus::controllers::{ChannelReactionResult, ChannelThreadListResult, ChannelThreadResult,};-use crate::client::{BackendClient, flatten_authed_error};+use crate::client::{flatten_authed_error, BackendClient};/// A result type that keeps the backend payload when its shape is unknown.pub(super) trait RawFallback {diff --git a/crates/openhuman-tinyhumans/src/channels/mod.rs b/crates/openhuman-tinyhumans/src/channels/mod.rsindex be1770eae7..3d53e9076a 100644--- a/crates/openhuman-tinyhumans/src/channels/mod.rs+++ b/crates/openhuman-tinyhumans/src/channels/mod.rs@@ -19,7 +19,7 @@ mod messaging;#[cfg(feature = "channels")]use openhuman_embed::__host::channel_callback::{- CallbackFuture, ChannelCallbackCtx, register_channel_callback,+ register_channel_callback, CallbackFuture, ChannelCallbackCtx,};#[cfg(feature = "channels")]use tinychannels_bus::{ChannelBackendRequest, ChannelBackendResult};diff --git a/examples/storage_schema_dump.rs b/examples/storage_schema_dump.rsindex 177bf3e7b3..56b3450f0a 100644--- a/examples/storage_schema_dump.rs+++ b/examples/storage_schema_dump.rs@@ -20,6 +20,7 @@ fn main() {"crate": owner.crate_name,"collections": owner.collections,})).collect::<Vec<_>>(),- })).unwrap()+ }))+ .unwrap());}