Skip to content

🀯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

πŸ› fix: import hook types before re-exporting for tsgo compatibility

Arvin Xude8761cf293e
diff --git a/src/server/services/agentRuntime/hooks/types.ts b/src/server/services/agentRuntime/hooks/types.ts
index 1ac93abca8b..7d11bc6786e 100644
--- a/src/server/services/agentRuntime/hooks/types.ts
+++ b/src/server/services/agentRuntime/hooks/types.ts
@@ -5,6 +5,8 @@
* Hook registration, webhook delivery, and serialization types are server-specific.
*/
+import type { AgentHookEvent, AgentHookType } from '@lobechat/agent-runtime';
+
export type { AgentHookEvent, AgentHookType } from '@lobechat/agent-runtime';
// ── Server-side Hook Types ───────────────────────────────