Commit graph

93 commits

Author SHA1 Message Date
666ghj
5a0c705cfb refactor(HistoryDatabase): enhance card expansion logic with pending state management
- Introduced a pending state to track the target expansion state during animations.
- Improved debounce handling to ensure smoother transitions and prevent rapid state changes.
- Updated logic to check for new pending states after animations complete, enhancing responsiveness and stability.
2026-01-09 10:57:48 +08:00
666ghj
f32f5713f8 style(HistoryDatabase): adjust grid background position for improved layout
- Changed background position from center to top left to enhance grid alignment and responsiveness during height changes.
2026-01-09 10:53:44 +08:00
666ghj
d7169bac91 refactor(HistoryDatabase): dynamically calculate container height based on card expansion state
- Introduced a computed property to adjust the container's minimum height based on the number of cards and expansion state.
- Removed static min-height styles to enhance responsiveness and visual consistency.
2026-01-09 10:49:23 +08:00
666ghj
dfab81a6c0 refactor(HistoryDatabase): optimize card expansion behavior with debounce and animation lock
- Introduced a debounce mechanism to prevent rapid state changes during card expansion and collapse.
- Added an animation lock to avoid conflicts during transitions.
- Adjusted Intersection Observer thresholds and rootMargin for smoother detection and stability.
- Cleaned up resources on component unmounting to prevent memory leaks.
2026-01-09 10:46:32 +08:00
666ghj
d90ec77f5d translate(HistoryDatabase): change section title from English to Chinese 2026-01-07 18:57:10 +08:00
666ghj
992f7d13c3 refactor(simulation): enhance simulation data retrieval and project file handling
- Updated simulation history retrieval to read project details directly from the Simulation file.
- Improved simulation configuration handling by reading simulation requirements from JSON.
- Added project file listing to the simulation history, displaying up to three associated files.
- Refined card layout in HistoryDatabase.vue to accommodate new file display features and improved responsiveness.
2026-01-07 18:54:33 +08:00
666ghj
6fc0a0d9ad refactor(HistoryDatabase): simplify CTA button positioning and adjust layout for improved responsiveness
- Removed dynamic offset calculation for the CTA button, fixing its position.
- Updated card layout logic to ensure proper stacking and alignment.
- Increased minimum heights for both collapsed and expanded states to enhance visual consistency.
2025-12-31 18:05:04 +08:00
666ghj
2acdd7309b style(HistoryDatabase): update grid background size and opacity for improved aesthetics 2025-12-31 17:58:17 +08:00
666ghj
e6da45ee63 feat(history): 添加首页历史项目展示组件
- 新增 HistoryDatabase.vue 组件,实现扇形堆叠到网格展开的动画效果
- 后端 simulation.py 添加历史模拟数据 API 支持
- 修复 SimulationManager 过滤隐藏文件问题
- 前端 simulation.js 添加获取历史模拟数据的 API 方法
- Home.vue 集成历史项目展示组件
- 实现正方形网格背景装饰效果
2025-12-31 17:54:39 +08:00
666ghj
1987f535ce Update font weights in Home.vue for improved visual hierarchy and consistency. 2025-12-26 17:41:18 +08:00
666ghj
44424f29ba Update font styles across the application to include 'Noto Sans SC' for improved typography consistency. 2025-12-26 17:35:09 +08:00
666ghj
e8491831da Update Home.vue to change GitHub link to the correct repository URL for accurate navigation. 2025-12-23 11:18:40 +08:00
666ghj
ed2208f883 Remove frontend README.md file as part of project restructuring. 2025-12-21 00:02:14 +08:00
666ghj
9d09a34895 Update Home.vue to remove trailing punctuation in hero description for improved readability 2025-12-19 16:02:25 +08:00
666ghj
a47eb1eaef Refactor project structure by removing Docker support and updating environment configuration
- Deleted docker-compose.yml, backend Dockerfile, frontend Dockerfile, and nginx configuration to streamline project setup.
- Updated .env.example to reorganize LLM and ZEP API configurations for clarity and ease of use.
- Enhanced README.md to reflect changes in project structure and provide clearer setup instructions.
2025-12-19 13:58:35 +08:00
666ghj
136843ada9 Initialize project with version 0.1.0 and update package configurations
- Created package-lock.json for dependency management.
- Updated package.json and frontend package.json to version 0.1.0.
- Adjusted backend pyproject.toml to reflect version 0.1.0.
- Introduced uv.lock for Python dependency resolution.
2025-12-18 18:30:29 +08:00
666ghj
e432e223df Update project configuration and structure with Docker support and environment variable adjustments
- Updated .env.example to reflect new LLM configuration with Aliyun's API.
- Enhanced .gitignore to include additional files and directories for better exclusion of sensitive and build artifacts.
- Added docker-compose.yml for streamlined deployment of backend and frontend services.
- Introduced Dockerfiles for both backend and frontend to facilitate containerized builds.
- Created README.md to provide comprehensive project documentation and setup instructions.
- Established nginx configuration for frontend to support API proxying and static file serving.
2025-12-17 18:17:40 +08:00
666ghj
e2b1a1554d Enhance Step4Report component with section numbering and improved scroll behavior
- Added section numbering to the report sections for better clarity.
- Unified scroll behavior to reset to the top upon task completion, while scrolling to the bottom for ongoing tasks.
- Updated CSS styles for section numbers to improve visual consistency.
2025-12-16 23:41:05 +08:00
666ghj
efc7fbc4f7 Enhance Step5Interaction component to improve response handling and survey result processing
- Updated response handling to prioritize replies from Reddit over Twitter and ensure compatibility with both object and array formats.
- Refactored survey result processing to convert response data into a structured array, maintaining clarity and consistency in agent responses.
- Improved error handling and logging for better debugging and user feedback.
2025-12-16 22:41:12 +08:00
666ghj
d096aa2b26 Remove outdated README.md and update favicon in index.html
- Deleted the backend README.md file as it was no longer needed.
- Changed the favicon from a SVG to a PNG format for better compatibility.
- Updated the page title in index.html to reflect a more concise branding message.
2025-12-16 20:58:48 +08:00
666ghj
9db7781ee3 Enhance Step5Interaction component with improved tool description and memory feature
- Updated the subtitle of the Report Agent Tools Card to highlight the agent's capability of utilizing MiroFish's complete memory.
- This enhancement aims to provide users with clearer information about the tool's functionality and its advantages in report generation.
2025-12-16 20:17:31 +08:00
666ghj
cc094e48ce Implement chat history caching and enhance message rendering in Step5Interaction component
- Added chat history caching to preserve conversation records for report agents and selected agents.
- Introduced a method to save and restore chat history based on the selected target.
- Improved message rendering by cleaning up unnecessary <br> tags and ensuring proper list formatting with CSS.
- Automatically save chat history upon sending messages for better user experience.
2025-12-16 20:03:17 +08:00
666ghj
78c8c43699 Add Report Agent Tools Card to Step5Interaction component 2025-12-16 19:53:43 +08:00
666ghj
4bd3c856f5 Enhance Step5Interaction component with updated UI elements and improved functionality
- Added an action bar icon and adjusted layout for better visual appeal and usability.
- Updated button labels to Chinese for improved localization.
- Introduced a new method for selecting the survey tab, enhancing user interaction.
- Adjusted CSS styles for better responsiveness and alignment of elements within the action bar and dropdowns.
2025-12-16 19:17:35 +08:00
666ghj
c43b83f10d Enhance Step5Interaction component with professional design updates and improved UI elements
- Updated the action bar to a more professional design with enhanced layout and styling.
- Introduced new utility classes for better typography and spacing.
- Improved button styles for clarity and consistency, including updated labels for interaction buttons.
- Enhanced dropdown menu design for better usability and visual appeal.
- Adjusted CSS properties for improved responsiveness and overall user experience.
2025-12-16 19:05:37 +08:00
666ghj
318d60fa42 Refactor Step5Interaction component to streamline profile display and remove unused topics section
- Combined conditions for displaying the profile card body and bio for improved clarity.
- Removed the topics section and associated CSS styles to simplify the component and enhance user experience.
2025-12-16 18:55:30 +08:00
666ghj
c738d7edfb Refactor Step5Interaction component to enhance user interaction and UI elements
- Replaced tab switcher with a unified action bar for improved navigation and functionality.
- Introduced an agent dropdown for selecting conversation targets, enhancing user experience.
- Updated button labels for clarity and consistency in the interaction interface.
- Adjusted CSS styles for better layout and responsiveness across components.
- Reduced margin in Step4Report for a more compact design.
2025-12-16 18:36:15 +08:00
666ghj
70922a3525 Implement interaction features in Step5Interaction component and add routing for interaction view
- Introduced the Step5Interaction component for user interaction with report agents and simulation profiles.
- Added chat functionality to communicate with report agents and selected simulation agents.
- Implemented a survey feature to gather responses from multiple agents.
- Enhanced routing by adding a new InteractionView for seamless navigation to the interaction interface.
- Updated the router configuration to include the new interaction route.
- Improved UI elements and styles for better user experience in the interaction process.
2025-12-16 17:50:43 +08:00
666ghj
3b20672527 Enhance Step4Report component with improved result display and layout adjustments
- Updated InsightDisplay, PanoramaDisplay, and QuickSearchDisplay components to include result length in the header for better context.
- Refined the layout of entity displays to a compact grid format, improving visual organization and accessibility.
- Enhanced styling for various display elements, including updated labels for clarity and consistency across components.
- Introduced new CSS classes for better styling control and responsiveness in the display components.
2025-12-16 17:23:01 +08:00
666ghj
e3b82e6e9f Refactor Step4Report component to remove tab icons for a cleaner interface
- Eliminated tab icons from InsightDisplay, PanoramaDisplay, and QuickSearchDisplay components to streamline the user interface.
- Improved overall layout and styling for better visual clarity and user experience.
2025-12-16 17:02:44 +08:00
666ghj
6bf1f2937a Enhance Step4Report component with comprehensive data parsing and improved display
- Introduced new parsing logic for simulation requirements, sub-queries, and key facts, ensuring complete data extraction from input text.
- Enhanced the InsightDisplay, PanoramaDisplay, and QuickSearchDisplay components with tabbed navigation for better organization of facts, entities, relations, and sub-queries.
- Improved styling and layout for all display components, ensuring a cohesive user experience with clear visual hierarchy and interactive elements.
- Added support for displaying historical and active facts in the PanoramaDisplay, enhancing the depth of information presented to users.
2025-12-16 16:56:41 +08:00
666ghj
c811f454ab Enhance Step4Report component with individual selection reason parsing and display
- Introduced a new function to parse individual selection reasons from interview text, accommodating multiple formats for better accuracy.
- Updated the interview object to include a selection reason property, ensuring each interview displays the corresponding rationale.
- Enhanced the InterviewDisplay component to render selection reasons with improved styling for better visibility and user experience.
2025-12-16 16:09:30 +08:00
666ghj
1659665a0b Refactor interview parsing and answer splitting logic in Step4Report component
- Enhanced the `parseInterview` function to handle single-platform answers more effectively, ensuring default answers are set correctly.
- Improved the answer splitting logic to robustly identify numbered sections, accommodating various formats and ensuring cleaner output.
- Updated the handling of answer parts to remove unnecessary prefixes and trailing whitespace, enhancing overall readability.
2025-12-16 15:57:02 +08:00
666ghj
5f228357d5 Refactor Step4Report component for enhanced workflow display and loading states
- Removed section number display for a cleaner layout and improved user interaction.
- Updated loading icon colors for better visibility and consistency.
- Introduced a computed property for the active step to enhance workflow tracking.
- Added utility functions to manage main section indexing and subsection identification.
- Enhanced content rendering by removing redundant headings and improving markdown processing.
- Updated agent log handling to ensure accurate section indexing and loading state management.
- Improved panel header styling with status-based variants for better visual feedback.
2025-12-16 15:44:39 +08:00
666ghj
daae4718b4 Enhance Step4Report component with tool-specific icons and improved action buttons
- Introduced dynamic tool icons and colors based on tool type for better visual representation in tool calls and results.
- Updated action buttons for toggling parameters and views, improving user interaction and layout consistency.
- Refactored the InterviewDisplay component to include result length and enhanced quote formatting for better readability.
- Improved overall styling and layout adjustments for a more cohesive user experience.
2025-12-16 14:29:25 +08:00
666ghj
705bebea7f Enhance Step4Report component with workflow overview and improved styling
- Updated the component to include a detailed workflow overview, displaying sections, elapsed time, and tool usage metrics.
- Improved the visual hierarchy and styling of workflow steps, including status indicators and enhanced timeline item presentation.
- Refined scrollbar styles and adjusted padding for a cleaner layout and better user experience.
2025-12-16 13:51:03 +08:00
666ghj
4385f17a86 Update Step4Report component for improved localization and scrollbar styling
- Changed the label from "Agent Workflow" to "Rport Agent实时活动" for better localization.
- Increased the scrollbar width from 4px to 6px and enhanced the scrollbar thumb styling for improved visibility and user interaction.
2025-12-16 12:26:22 +08:00
666ghj
0f6395b6ab Update Step4Report component header and padding for improved clarity and layout
- Changed the report tag from "REPORT" to "Prediction Report" for better context.
- Adjusted padding in the left panel to enhance layout consistency and user experience.
2025-12-16 11:37:34 +08:00
666ghj
2247d3d1a7 Refactor Step4Report component for improved layout and user experience
- Updated the left panel to focus on report styling, enhancing the visual hierarchy with a new report header and section list layout.
- Introduced collapsible sections for better content management, allowing users to expand or collapse completed sections.
- Enhanced styling for report elements, including titles, summaries, and section indicators, to improve readability and aesthetics.
- Implemented a loading state for sections currently being generated, providing users with feedback during content processing.
2025-12-16 11:24:22 +08:00
666ghj
c6d26fc343 Refactor Step4Report component to implement Q&A format for interview display
- Updated the InterviewDisplay component to adopt a Q&A format, enhancing user interaction with distinct question and answer sections.
- Introduced platform-specific answer toggling between Twitter and Reddit, allowing users to switch views seamlessly.
- Improved answer formatting and expanded answer display logic to accommodate varying lengths and content structures.
- Enhanced styling for a more cohesive and visually appealing layout, including adjustments to badges, buttons, and overall spacing.
2025-12-16 10:36:36 +08:00
666ghj
ab8b11606d Update height in Step3Simulation and Step4Report components for improved layout consistency 2025-12-15 11:52:10 +08:00
666ghj
b8817aa9cf Enhance Step4Report component with detailed interview parsing and improved display
- Updated the `parseInterview` function to extract additional details such as success count, total count, and selection reason from interview text.
- Refactored interview record extraction to improve clarity and structure, including better handling of questions and answers.
- Introduced platform-specific answer display for Twitter and Reddit, allowing users to toggle between responses.
- Enhanced the interview display layout with agent profile cards, conversation threads, and key quotes sections for a more engaging user experience.
- Updated styles for improved visual consistency and usability across the component.
2025-12-15 00:09:34 +08:00
666ghj
2215c47453 Refactor Step4Report component styles for improved transitions and layout
- Removed custom scrollbar styles to simplify the design and enhance performance.
- Updated transition effects for slide content to focus on opacity changes, improving visual feedback during content changes.
- Streamlined CSS by eliminating unnecessary properties, contributing to cleaner and more maintainable code.
2025-12-14 12:56:38 +08:00
666ghj
be90a46cb4 Add custom scrollbar styles for left and right panels in Step4Report component
- Introduced custom scrollbar styles for both left and right panels to enhance the visual appearance and user experience.
- Adjusted scrollbar width, track background, and thumb colors for improved aesthetics and usability.
2025-12-14 03:43:40 +08:00
666ghj
1db72dcd6b Remove status bar from Step4Report component to streamline UI and improve layout. This change simplifies the report display by eliminating unnecessary elements, enhancing user experience and focus on content. 2025-12-14 03:32:47 +08:00
666ghj
9be2c28a5d Refactor report logging and enhance report generation features
- Renamed log_section_complete to log_section_content to better reflect its purpose, and added is_subsection parameter for improved logging of subsection content.
- Introduced log_section_full_complete method to log the completion of entire sections, including all subsections, enhancing tracking of report generation status.
- Adjusted maximum tool call limits for sections and chats to optimize performance during report generation.
- Updated system prompts and user prompts in the ReportAgent class to clarify the report's focus on future predictions rather than current analysis.
- Enhanced the Step3Simulation and Step4Report components for improved user experience, including UI updates and better handling of report generation states.
2025-12-14 03:28:41 +08:00
666ghj
fde79721e8 Enhance agent bio display and tool result presentation in Step4Report component
- Updated the AgentInterview class to display the full agent bio, truncating only if it exceeds 1000 characters for better readability.
- Enhanced the Step4Report component to include structured display for tool results, allowing users to toggle between raw and structured views for various tools, improving user experience and clarity.
- Introduced new components for parsing and displaying results from different tools, including InsightForge, PanoramaSearch, InterviewAgents, and QuickSearch, providing a comprehensive view of the data.
2025-12-14 01:29:57 +08:00
666ghj
851b12dfd9 Adjust max-height of report display in Step4Report component for improved visibility 2025-12-13 21:59:10 +08:00
666ghj
f904407741 Implement report generation features and UI enhancements
- Added a new API for generating reports, including functions to retrieve report status, agent logs, console logs, and report details.
- Enhanced the Step3Simulation component to manage report generation with loading indicators and improved user feedback during the process.
- Introduced a new Step4Report component to display report details and logs, providing a comprehensive view of the report generation workflow.
- Updated routing to include a dedicated report view, improving navigation and user experience in the application.
2025-12-13 21:49:34 +08:00
666ghj
b4435e273a Add report ID generation and logging features for report generation process
- Introduced a unique report ID generation mechanism to enhance tracking and management of reports.
- Implemented detailed logging for the report generation process, including agent actions, planning stages, and tool calls, improving traceability and debugging.
- Added new API endpoints for retrieving agent and console logs, allowing users to access detailed execution logs and console outputs during report generation.
- Enhanced the frontend GraphPanel component with a notification for users when simulations finish, improving user experience and feedback.
2025-12-13 21:11:14 +08:00