feat: unify creation entry templates

This commit is contained in:
2026-06-03 10:24:03 +08:00
parent b0865cfa19
commit 3f742fbaca
25 changed files with 820 additions and 346 deletions

View File

@@ -26,6 +26,7 @@ type BigFishAgentWorkspaceProps = {
onBack: () => void;
onSubmitMessage: (payload: SendBigFishMessageRequest) => void;
onExecuteAction: (payload: ExecuteBigFishActionRequest) => void;
showBackButton?: boolean;
};
const BIG_FISH_AGENT_THEME: CreationAgentTheme = {
@@ -87,6 +88,7 @@ export function BigFishAgentWorkspace({
onBack,
onSubmitMessage,
onExecuteAction,
showBackButton = true,
}: BigFishAgentWorkspaceProps) {
return (
<CreationAgentWorkspace
@@ -100,6 +102,7 @@ export function BigFishAgentWorkspace({
isBusy={isBusy}
error={error}
quickActions={createCreationAgentChatQuickActions()}
showBackButton={showBackButton}
onBack={onBack}
onSubmitText={(text) => {
onSubmitMessage(