Skip to content

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

feat(aui): register memory and cron tool entries

Steven Enamakel2e0d089a80e3
diff --git a/app/src/features/conversations/aui/toolkit.tsx b/app/src/features/conversations/aui/toolkit.tsx
index cb7c7e6163..a242fe59d7 100644
--- a/app/src/features/conversations/aui/toolkit.tsx
+++ b/app/src/features/conversations/aui/toolkit.tsx
@@ -84,6 +84,22 @@ export function openHumanToolEntries(): Record<string, OpenHumanToolEntry> {
display: 'standalone',
render: DocumentArtifactCall,
},
+
+ /**
+ * Memory writes/reads, rendered as `memory-chips` instead of the raw
+ * JSON `ToolDataView` fallback (`ChatMemoryChips.tsx`).
+ */
+ memory_store: { type: 'backend', display: 'inline', render: MemoryStoreCall },
+ memory_recall: { type: 'backend', display: 'inline', render: MemoryRecallCall },
+ memory_hybrid_search: { type: 'backend', display: 'inline', render: MemoryHybridSearchCall },
+
+ /**
+ * Cron reads/writes, rendered as `schedule-card` (`ChatScheduleCard.tsx`).
+ */
+ cron_add: { type: 'backend', display: 'inline', render: CronAddOrUpdateCall },
+ cron_update: { type: 'backend', display: 'inline', render: CronAddOrUpdateCall },
+ cron_list: { type: 'backend', display: 'inline', render: CronListCall },
+ cron_runs: { type: 'backend', display: 'inline', render: CronRunsCall },
};
}
diff --git a/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx b/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx
index 1f28ef8388..9f807470e4 100644
--- a/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx
+++ b/app/src/providers/__tests__/ChatRuntimeProvider.test.tsx
@@ -26,7 +26,7 @@ import { clearAllProactiveThreadPins } from '../proactiveThreadPins';
vi.mock('../../services/chatService', async () => {
const actual = await vi.importActual<typeof chatService>('../../services/chatService');
- return { ...actual, subscribeChatEvents: vi.fn() };
+ return { ...actual, subscribeChatEvents: vi.fn(), subscribeQueueEvents: vi.fn(() => () => {}) };
});
vi.mock('../../services/api/threadApi', () => ({
diff --git a/crates/openhuman-core/src/security/approval/store_tests.rs b/crates/openhuman-core/src/security/approval/store_tests.rs
index 2380926878..96f7b4bd89 100644
--- a/crates/openhuman-core/src/security/approval/store_tests.rs
+++ b/crates/openhuman-core/src/security/approval/store_tests.rs
@@ -39,6 +39,7 @@ fn sample_with_expiry(
created_at: Utc::now(),
expires_at,
source_context: None,
+ tool_call_id: None,
}
}