Skip to content

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

chore: files changed app/src/components/settings/panels/useReembedBackfillModal.ts,vendor/tinymemory

Steven Enamakel986d09018839
diff --git a/app/src/components/settings/panels/useReembedBackfillModal.ts b/app/src/components/settings/panels/useReembedBackfillModal.ts
index 8767c632eb..c4feb52dbc 100644
--- a/app/src/components/settings/panels/useReembedBackfillModal.ts
+++ b/app/src/components/settings/panels/useReembedBackfillModal.ts
@@ -10,7 +10,26 @@
*/
import { useCallback, useEffect, useState } from 'react';
-import { memoryTreeBackfillStatus } from '../../../utils/tauriCommands/memoryTree';
+import { callCoreRpc } from '../../../services/coreRpcClient';
+
+/** `openhuman.memory_tree_backfill_status` — the core's re-embed progress. */
+interface BackfillStatus {
+ in_progress: boolean;
+ pending_jobs: number;
+}
+
+/**
+ * Read the core's re-embed backfill progress. Kept local to this hook: it is
+ * the embeddings panel's only consumer, and the v1 memory-tree client that
+ * used to wrap it was retired with Memory v2. A core without the method makes
+ * this reject, which `handleSave` treats as "nothing to surface".
+ */
+async function memoryTreeBackfillStatus(): Promise<BackfillStatus> {
+ const raw = await callCoreRpc<BackfillStatus | { result: BackfillStatus }>({
+ method: 'openhuman.memory_tree_backfill_status',
+ });
+ return raw && typeof raw === 'object' && 'result' in raw ? raw.result : raw;
+}
interface ReembedState {
open: boolean;
diff --git a/vendor/tinymemory b/vendor/tinymemory
index 8fbaffaf49..704184d346 160000
--- a/vendor/tinymemory
+++ b/vendor/tinymemory
@@ -1 +1 @@
-Subproject commit 8fbaffaf499793a0ad4582636d76a0b3cee61771
+Subproject commit 704184d3465e92355b3deed5a4e1f8421da97cd6