完善客户端模块与工作区能力
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

This commit is contained in:
inman
2026-08-13 19:45:30 +08:00
parent 0148b91a15
commit 22add3f01f
97 changed files with 4756 additions and 3226 deletions

15
shared/agent-session.ts Normal file
View File

@@ -0,0 +1,15 @@
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[];
};