Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(channels): reorder module declarations\n\nReorder channel module declarations without changing runtime behavior. Clean up related TypeScript formatting and file termination.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel6aaf2a780540
diff --git a/app/src/utils/tauriCommands/memory.test.ts b/app/src/utils/tauriCommands/memory.test.ts
index db74f52777..b8515c2feb 100644
--- a/app/src/utils/tauriCommands/memory.test.ts
+++ b/app/src/utils/tauriCommands/memory.test.ts
@@ -5,12 +5,7 @@ import { beforeEach, describe, expect, type Mock, test, vi } from 'vitest';
import { callCoreRpc } from '../../services/coreRpcClient';
import { isTauri } from './common';
-import {
- aiListMemoryFiles,
- memoryLearnAll,
- memorySyncAll,
- memorySyncChannel,
-} from './memory';
+import { aiListMemoryFiles, memoryLearnAll, memorySyncAll, memorySyncChannel } from './memory';
vi.mock('../../services/coreRpcClient', () => ({ callCoreRpc: vi.fn() }));
vi.mock('./common', () => ({ isTauri: vi.fn(() => true), safeInvoke: vi.fn() }));
diff --git a/app/src/utils/tauriCommands/memory.ts b/app/src/utils/tauriCommands/memory.ts
index 659e5b3de4..2ce269d3d2 100644
--- a/app/src/utils/tauriCommands/memory.ts
+++ b/app/src/utils/tauriCommands/memory.ts
@@ -351,4 +351,3 @@ export async function memoryLearnAll(namespaces?: string[]): Promise<MemoryLearn
console.debug('[memory.learn] memoryLearnAll: exit processed=%d', resp?.namespaces_processed);
return resp;
}
-
diff --git a/src/openhuman/channels/mod.rs b/src/openhuman/channels/mod.rs
index 174bd3bea5..4e6b60dbfa 100644
--- a/src/openhuman/channels/mod.rs
+++ b/src/openhuman/channels/mod.rs
@@ -32,6 +32,10 @@ pub use traits::{Channel, ChannelSendExt, SendMessage};
#[cfg(feature = "channels")]
pub mod bus;
#[cfg(feature = "channels")]
+mod commands;
+#[cfg(feature = "channels")]
+pub(crate) mod context;
+#[cfg(feature = "channels")]
pub mod controllers;
#[cfg(feature = "channels")]
pub mod host;
@@ -42,10 +46,6 @@ pub mod providers;
#[cfg(feature = "channels")]
pub(crate) mod relay_runtime;
#[cfg(feature = "channels")]
-mod commands;
-#[cfg(feature = "channels")]
-pub(crate) mod context;
-#[cfg(feature = "channels")]
mod routes;
#[cfg(feature = "channels")]
mod runtime;