feat: add runtime event handling for providers in ProvidersSection feat: update routing to include Channels and Agents pages feat: extend route types and navigation items for Channels and Agents feat: implement agents store for managing agent data and interactions fix: update chat store to utilize agents store for agent-related functionality chore: export agents store from index fix: enhance runtime types for better event handling fix: update Vite config to handle dev server URL correctly
8 lines
208 B
TypeScript
8 lines
208 B
TypeScript
import path from "node:path";
|
|
import { getUserDataDir } from '../paths';
|
|
|
|
// 多账号隔离
|
|
export function getProfileDir (accountId: string) {
|
|
return path.join(getUserDataDir(), `profiles`, accountId);
|
|
}
|