Update creation flow refactor docs and auth test fixtures

This commit is contained in:
2026-04-21 11:19:25 +08:00
parent 13bc79306f
commit 04bff9617d
37 changed files with 488 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
export type {
CustomWorldAgentActionRequest as RpgAgentActionRequest,
CustomWorldAgentActionResponse as RpgAgentActionResponse,
CustomWorldAgentOperationStatus as RpgAgentOperationStatus,
CustomWorldAgentOperationType as RpgAgentOperationType,
CustomWorldSuggestedAction as RpgAgentSuggestedAction,
} from './customWorldAgent';

View File

@@ -0,0 +1,11 @@
export type {
EightAnchorContent as RpgCreationAnchorContent,
CoreConflictValue as RpgCreationCoreConflictValue,
HiddenLineValue as RpgCreationHiddenLineValue,
IconicElementValue as RpgCreationIconicElementValue,
KeyRelationshipValue as RpgCreationKeyRelationshipValue,
PlayerEntryPointValue as RpgCreationPlayerEntryPointValue,
PlayerFantasyValue as RpgCreationPlayerFantasyValue,
ThemeBoundaryValue as RpgCreationThemeBoundaryValue,
WorldPromiseValue as RpgCreationWorldPromiseValue,
} from './customWorldAgent';

View File

@@ -0,0 +1,15 @@
export type {
CreateCustomWorldAgentSessionRequest as CreateRpgAgentSessionRequest,
CreateCustomWorldAgentSessionResponse as CreateRpgAgentSessionResponse,
GetCustomWorldAgentCardDetailResponse as GetRpgAgentCardDetailResponse,
CustomWorldAgentMessage as RpgAgentMessage,
CustomWorldAgentMessageKind as RpgAgentMessageKind,
CustomWorldAgentMessageRole as RpgAgentMessageRole,
CustomWorldAgentOperationRecord as RpgAgentOperationRecord,
CustomWorldPendingClarification as RpgAgentPendingClarification,
CustomWorldAgentSessionSnapshot as RpgAgentSessionSnapshot,
CustomWorldAgentStage as RpgAgentStage,
CreatorIntentReadiness as RpgCreationIntentReadiness,
SendCustomWorldAgentMessageRequest as SendRpgAgentMessageRequest,
SendCustomWorldAgentMessageResponse as SendRpgAgentMessageResponse,
} from './customWorldAgent';

View File

@@ -0,0 +1,12 @@
import type { CustomWorldProfileRecord } from './runtime';
/**
* 工作包 A 先建立 RPG 创作结果预览契约骨架。
* 在服务端 preview compiler 正式落地前,这里继续把旧的世界 profile 视为兼容预览载体。
*/
export type RpgCreationPreview = CustomWorldProfileRecord;
export type RpgCreationPreviewEnvelope = {
preview: RpgCreationPreview;
source: 'legacy_custom_world_profile';
};

View File

@@ -0,0 +1,6 @@
export type {
ListCustomWorldWorksResponse as ListRpgCreationWorksResponse,
CustomWorldWorkSource as RpgCreationWorkSource,
CustomWorldWorkStatus as RpgCreationWorkStatus,
CustomWorldWorkSummary as RpgCreationWorkSummary,
} from './customWorldAgent';

View File

@@ -1,6 +1,11 @@
export * from './assets/qwenSprite';
export * from './contracts/auth';
export * from './contracts/common';
export * from './contracts/rpgAgentActions';
export * from './contracts/rpgAgentAnchors';
export * from './contracts/rpgAgentSession';
export * from './contracts/rpgCreationPreview';
export * from './contracts/rpgCreationWorkSummary';
export * from './contracts/runtime';
export * from './contracts/story';
export * from './http';