feat(Agnet): support multi agents (#385)

This commit is contained in:
Haze
2026-03-10 16:13:55 +08:00
committed by GitHub
Unverified
parent 17e6ab9149
commit 36c0fcb5c7
19 changed files with 2295 additions and 690 deletions

17
src/types/agent.ts Normal file
View File

@@ -0,0 +1,17 @@
export interface AgentSummary {
id: string;
name: string;
isDefault: boolean;
modelDisplay: string;
inheritedModel: boolean;
workspace: string;
agentDir: string;
channelTypes: string[];
}
export interface AgentsSnapshot {
agents: AgentSummary[];
defaultAgentId: string;
configuredChannelTypes: string[];
channelOwners: Record<string, string>;
}