Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37b96fd94f | ||
|
|
7a98a7e7fe |
+42
@@ -354,3 +354,45 @@ export interface UploadInfo {
|
|||||||
artifactId: ID; filename: string; mime?: string; size: number;
|
artifactId: ID; filename: string; mime?: string; size: number;
|
||||||
parsed?: ParsedDocument;
|
parsed?: ParsedDocument;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ---- Generative UI Surface(提案 U2/U4;与 Go surface.go 同步)----
|
||||||
|
|
||||||
|
export interface SurfaceCompat {
|
||||||
|
schemaVersion: number;
|
||||||
|
catalogVersion: string;
|
||||||
|
pluginVersion?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SurfaceIdentity {
|
||||||
|
surfaceId: ID;
|
||||||
|
owner: string;
|
||||||
|
projectId?: ID;
|
||||||
|
conversationId?: ID;
|
||||||
|
sourceRunId?: ID;
|
||||||
|
pluginId: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SurfaceSpec {
|
||||||
|
title: string;
|
||||||
|
nodes: UINode[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SurfaceSnapshot {
|
||||||
|
identity: SurfaceIdentity;
|
||||||
|
compat: SurfaceCompat;
|
||||||
|
revision: number;
|
||||||
|
baseRevision?: number;
|
||||||
|
contextVersion?: string;
|
||||||
|
activationEpoch: number;
|
||||||
|
spec: SurfaceSpec;
|
||||||
|
semanticText?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface SurfaceMeta {
|
||||||
|
surfaceId: ID;
|
||||||
|
title: string;
|
||||||
|
pluginId: string;
|
||||||
|
revision: number;
|
||||||
|
conversationId?: ID;
|
||||||
|
updatedAt: string;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user