Update creation flow refactor docs and auth test fixtures
This commit is contained in:
7
packages/shared/src/contracts/rpgAgentActions.ts
Normal file
7
packages/shared/src/contracts/rpgAgentActions.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export type {
|
||||
CustomWorldAgentActionRequest as RpgAgentActionRequest,
|
||||
CustomWorldAgentActionResponse as RpgAgentActionResponse,
|
||||
CustomWorldAgentOperationStatus as RpgAgentOperationStatus,
|
||||
CustomWorldAgentOperationType as RpgAgentOperationType,
|
||||
CustomWorldSuggestedAction as RpgAgentSuggestedAction,
|
||||
} from './customWorldAgent';
|
||||
11
packages/shared/src/contracts/rpgAgentAnchors.ts
Normal file
11
packages/shared/src/contracts/rpgAgentAnchors.ts
Normal 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';
|
||||
15
packages/shared/src/contracts/rpgAgentSession.ts
Normal file
15
packages/shared/src/contracts/rpgAgentSession.ts
Normal 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';
|
||||
12
packages/shared/src/contracts/rpgCreationPreview.ts
Normal file
12
packages/shared/src/contracts/rpgCreationPreview.ts
Normal 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';
|
||||
};
|
||||
6
packages/shared/src/contracts/rpgCreationWorkSummary.ts
Normal file
6
packages/shared/src/contracts/rpgCreationWorkSummary.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export type {
|
||||
ListCustomWorldWorksResponse as ListRpgCreationWorksResponse,
|
||||
CustomWorldWorkSource as RpgCreationWorkSource,
|
||||
CustomWorldWorkStatus as RpgCreationWorkStatus,
|
||||
CustomWorldWorkSummary as RpgCreationWorkSummary,
|
||||
} from './customWorldAgent';
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user