fix:修复无消息草稿保存

优化首次加载速度
This commit is contained in:
2026-04-26 17:23:52 +08:00
parent 31393340e7
commit a0d1cb86f0
14 changed files with 440 additions and 43 deletions

View File

@@ -2,7 +2,7 @@ import type {
CustomWorldAgentSessionSnapshot,
} from '../../../packages/shared/src/contracts/customWorldAgent';
import type { HydratedSavedGameSnapshot } from '../../persistence/runtimeSnapshotTypes';
import type { CustomWorldProfile, GameState } from '../../types';
import type { CustomWorldProfile } from '../../types';
export type SelectionStage =
| 'platform'
@@ -34,7 +34,6 @@ export type SyncedAgentDraftResult = {
export type PlatformEntryFlowShellProps = {
selectionStage: SelectionStage;
setSelectionStage: (stage: SelectionStage) => void;
gameState: GameState;
hasSavedGame: boolean;
savedSnapshot: HydratedSavedGameSnapshot | null;
handleContinueGame: (snapshot?: HydratedSavedGameSnapshot | null) => void;