欢迎页面支持多语言

This commit is contained in:
xintaofei
2026-03-07 12:17:57 +08:00
parent aeecc4769c
commit 6c48be023c
15 changed files with 685 additions and 72 deletions

View File

@@ -20,6 +20,27 @@ export type AgentType =
| "open_claw"
| "stakpak"
export type AppErrorCode =
| "unknown"
| "invalid_input"
| "not_found"
| "already_exists"
| "permission_denied"
| "dependency_missing"
| "network_error"
| "authentication_failed"
| "database_error"
| "io_error"
| "external_command_failed"
| "window_operation_failed"
| (string & {})
export interface AppCommandError {
code: AppErrorCode
message: string
detail?: string | null
}
export interface ConversationSummary {
id: string
agent_type: AgentType