Files
makelore/shared/agent-session.ts
inman 22add3f01f
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled
完善客户端模块与工作区能力
2026-08-13 19:51:02 +08:00

16 lines
325 B
TypeScript

export type AgentSessionMessageRole = 'user' | 'assistant';
export type AgentSessionMessage = {
id?: string;
role: AgentSessionMessageRole;
created_at?: string;
text: string;
};
export type AgentSessionData = {
project_id: string;
session_id: string;
updated_at: string;
messages: AgentSessionMessage[];
};