落地方洞挑战图片与运行态交互
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
kdletters
2026-05-06 12:51:28 +08:00
parent 60b667a9d1
commit d06107f2c6
51 changed files with 2590 additions and 989 deletions

View File

@@ -33,12 +33,16 @@ export interface ExecuteSquareHoleActionRequest {
summary?: string;
tags?: string[];
coverImageSrc?: string | null;
regenerateVisualAssets?: boolean;
visualAssetSlot?: 'cover' | 'background' | 'shape' | string | null;
visualAssetOptionId?: string | null;
}
export interface SquareHoleShapeOption {
optionId: string;
shapeKind: string;
label: string;
targetHoleId: string;
imagePrompt: string;
imageSrc?: string | null;
}
@@ -47,7 +51,8 @@ export interface SquareHoleHoleOption {
holeId: string;
holeKind: string;
label: string;
bonus: boolean;
imagePrompt: string;
imageSrc?: string | null;
}
export interface SquareHoleAnchorItemResponse {

View File

@@ -36,6 +36,7 @@ export interface SquareHoleShapeSnapshot {
shapeId: string;
shapeKind: SquareHoleShapeKind;
label: string;
targetHoleId: string;
color: string;
imageSrc?: string | null;
}
@@ -46,7 +47,7 @@ export interface SquareHoleHoleSnapshot {
label: string;
x: number;
y: number;
bonus: boolean;
imageSrc?: string | null;
}
export interface SquareHoleRunSnapshot {

View File

@@ -8,6 +8,7 @@ export interface SquareHoleShapeOption {
optionId: string;
shapeKind: string;
label: string;
targetHoleId: string;
imagePrompt: string;
imageSrc?: string | null;
}
@@ -16,7 +17,8 @@ export interface SquareHoleHoleOption {
holeId: string;
holeKind: string;
label: string;
bonus: boolean;
imagePrompt: string;
imageSrc?: string | null;
}
export interface PutSquareHoleWorkRequest {
@@ -34,6 +36,11 @@ export interface PutSquareHoleWorkRequest {
difficulty: number;
}
export interface RegenerateSquareHoleWorkImageRequest {
visualAssetSlot: 'cover' | 'background' | 'shape' | 'hole' | string;
visualAssetOptionId?: string | null;
}
export interface SquareHoleWorkSummary {
workId: string;
profileId: string;

View File

@@ -30,6 +30,7 @@ export * from './contracts/squareHoleAgent';
export * from './contracts/squareHoleRuntime';
export type {
PutSquareHoleWorkRequest,
RegenerateSquareHoleWorkImageRequest,
SquareHoleWorkDetailResponse,
SquareHoleHoleOption as SquareHoleWorkHoleOption,
SquareHoleWorkMutationResponse,