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
fix(services): correct memory engine command path in RPC methods
Steven Enamakelf6e204c1e2d8
diff --git a/app/src/services/rpcMethods.ts b/app/src/services/rpcMethods.tsindex b3137d4e09..cc2a8362f0 100644--- a/app/src/services/rpcMethods.ts+++ b/app/src/services/rpcMethods.ts@@ -36,6 +36,7 @@ export const CORE_RPC_METHODS = {corePing: 'core.ping',memoryEngineGet: 'openhuman.memory_engine_get',memoryEngineMigrate: 'openhuman.memory_engine_migrate',+ memoryEngineMigrateCancel: 'openhuman.memory_engine_migrate_cancel',memoryEngineMigrateStatus: 'openhuman.memory_engine_migrate_status',memoryEngineSet: 'openhuman.memory_engine_set',memoryEnginesList: 'openhuman.memory_engines_list',diff --git a/app/src/utils/tauriCommands/memoryEngine.ts b/app/src/utils/tauriCommands/memoryEngine.tsindex e25ff3c902..33084ace10 100644--- a/app/src/utils/tauriCommands/memoryEngine.ts+++ b/app/src/utils/tauriCommands/memoryEngine.ts@@ -45,13 +45,15 @@ export interface MemoryEngineTarget {api_key?: string;}-export type MemoryEngineMigrateState = 'running' | 'done' | 'failed';+export type MemoryEngineMigrateState = 'running' | 'done' | 'failed' | 'cancelled';export interface MemoryEngineMigrateStatus {state: MemoryEngineMigrateState;copied: number;total: number | null;error: string | null;+ /** Caveat on a finished job (writes made while the copy ran); absent otherwise. */+ note?: string | null;}export async function memoryEnginesList(): Promise<MemoryEnginesList> {@@ -83,3 +85,11 @@ export async function memoryEngineMigrateStatus(jobId: string): Promise<MemoryEnparams: { job_id: jobId },});}++/** Stops a running migration; the active engine is left unchanged. */+export async function memoryEngineMigrateCancel(jobId: string): Promise<{ cancelled: boolean }> {+ return await callCoreRpc<{ cancelled: boolean }>({+ method: CORE_RPC_METHODS.memoryEngineMigrateCancel,+ params: { job_id: jobId },+ });+}