103 lines
3.1 KiB
TypeScript
103 lines
3.1 KiB
TypeScript
import type { AppScene } from '@/lib/types/stage';
|
|
|
|
export const legacyPBLSceneFixture: AppScene = {
|
|
id: 'scene-legacy-pbl',
|
|
stageId: 'stage-legacy-pbl',
|
|
type: 'pbl',
|
|
title: 'Community Garden Data Project',
|
|
order: 0,
|
|
content: {
|
|
type: 'pbl',
|
|
projectConfig: {
|
|
projectInfo: {
|
|
title: 'Community Garden Data Project',
|
|
description: 'Analyze synthetic garden measurements and recommend a watering plan.',
|
|
},
|
|
agents: [
|
|
{
|
|
name: 'Question Agent',
|
|
actor_role: 'Project Coach',
|
|
role_division: 'management',
|
|
system_prompt: 'Ask questions that help the learner inspect the dataset.',
|
|
default_mode: 'idle',
|
|
delay_time: 0,
|
|
env: {},
|
|
is_user_role: false,
|
|
is_active: true,
|
|
is_system_agent: true,
|
|
},
|
|
{
|
|
name: 'Data Analyst',
|
|
actor_role: 'Learner Analyst',
|
|
role_division: 'development',
|
|
system_prompt: '',
|
|
default_mode: 'idle',
|
|
delay_time: 0,
|
|
env: {},
|
|
is_user_role: true,
|
|
is_active: true,
|
|
is_system_agent: false,
|
|
},
|
|
],
|
|
issueboard: {
|
|
agent_ids: ['Question Agent'],
|
|
current_issue_id: 'issue-2',
|
|
issues: [
|
|
{
|
|
id: 'issue-1',
|
|
title: 'Inspect the measurements',
|
|
description: 'Identify the useful moisture and temperature fields.',
|
|
person_in_charge: 'Data Analyst',
|
|
participants: ['Question Agent'],
|
|
notes: 'The dataset contains one row per garden plot.',
|
|
parent_issue: null,
|
|
index: 0,
|
|
is_done: true,
|
|
is_active: false,
|
|
generated_questions: 'Which columns reveal dry plots?',
|
|
question_agent_name: 'Question Agent',
|
|
judge_agent_name: 'Review Agent',
|
|
},
|
|
{
|
|
id: 'issue-2',
|
|
title: 'Recommend a watering plan',
|
|
description: 'Use the measurements to prioritize the plots.',
|
|
person_in_charge: 'Data Analyst',
|
|
participants: ['Question Agent'],
|
|
notes: '',
|
|
parent_issue: null,
|
|
index: 1,
|
|
is_done: false,
|
|
is_active: true,
|
|
generated_questions: 'How does your recommendation follow from the measurements?',
|
|
question_agent_name: 'Question Agent',
|
|
judge_agent_name: 'Review Agent',
|
|
},
|
|
],
|
|
},
|
|
chat: {
|
|
messages: [
|
|
{
|
|
id: 'message-1',
|
|
agent_name: 'Question Agent',
|
|
message: 'Which columns reveal dry plots?',
|
|
timestamp: 1767225600000,
|
|
read_by: ['Data Analyst'],
|
|
},
|
|
{
|
|
id: 'message-2',
|
|
agent_name: 'Data Analyst',
|
|
message: 'Low moisture values identify the driest plots.',
|
|
timestamp: 1767225660000,
|
|
read_by: ['Question Agent'],
|
|
},
|
|
],
|
|
},
|
|
selectedRole: 'Data Analyst',
|
|
},
|
|
},
|
|
actions: [],
|
|
createdAt: 1767225600000,
|
|
updatedAt: 1767225660000,
|
|
};
|