feat: land page aggregate and phase7 document ai mainline

- 收口 page aggregate 读取、本地状态与命令客户端\n- 接入 phase7 document ai sidecar 与前端编排入口\n- 更新 architecture 与 design 状态迁移
This commit is contained in:
lix-2026
2026-04-23 07:38:34 +08:00
parent 8353aea2f9
commit 41e958769e
93 changed files with 8778 additions and 2222 deletions
@@ -0,0 +1,42 @@
export type DocumentAiToolRegistryItem = {
name: string;
title: string;
description: string;
scope: "document" | "tree" | "workspace";
mode: "read" | "write";
status: string;
version?: string;
};
export type DocumentAiProfileConfigItem = {
id: string;
title: string;
description: string;
sessionMode: "off" | "page" | "workspace";
toolNames: string[];
status: string;
default?: boolean;
};
export type DocumentAiModelConfigItem = {
key: string;
title: string;
description: string;
gatewayModel: string;
resolvedCombo?: string | null;
resolvedRuntimeModel?: string | null;
status: string;
default?: boolean;
};
export type DocumentAiCapabilityConfig = {
provider: "online";
transport: string;
baseUrl: string;
sessionEnabled: boolean;
defaultModelKey: string;
defaultProfileId: string;
models: DocumentAiModelConfigItem[];
profiles: DocumentAiProfileConfigItem[];
tools: DocumentAiToolRegistryItem[];
};