first commit

This commit is contained in:
liu
2026-07-13 15:23:29 +08:00
commit 50885a98c8
473 changed files with 33772 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
export interface IAgent {
id?: number;
namespace: string;
name: string;
icon: string;
description?: string | null;
tags?: string[];
enabled: boolean;
created_at?: string;
updated_at?: string;
}
export interface IAgentConversation {
id?: string;
user_id?: number | null;
username?: string;
title?: string;
message_count?: number;
created_at?: string;
updated_at?: string;
}
export interface IAgentMessage {
id?: string;
conversation_id?: string;
user_id?: number | null;
agent?: string;
role?: string;
content?: string;
attachments?: Record<string, any> | null;
tool_calls?: Record<string, any> | null;
tool_results?: Record<string, any> | null;
usage?: Record<string, any> | null;
meta?: Record<string, any> | null;
created_at?: string;
updated_at?: string;
}