- Added PostHog client initialization in instrumentation-client.ts.
- Configured Next.js rewrites for PostHog ingestion endpoints in next.config.ts.
- Implemented user identification and event tracking in various components, including pricing-section.tsx, sidebar-left.tsx, chat-input.tsx, and api.ts.
- Introduced PostHogIdentify component to handle user session changes.
- Updated package.json and package-lock.json to include PostHog dependencies.
- Removed hardcoded maximum parallel agent runs and replaced with a configurable property in the Configuration class.
- Updated API and agent limit checks to utilize the new configuration property.
- Simplified error handling by removing limit from error details in the frontend components.
- Adjusted UI components to reflect changes in agent limit data structure.
- Added functionality to check the maximum parallel agent runs allowed within a 24-hour period.
- Introduced `AgentRunLimitError` to handle cases where the limit is exceeded.
- Updated API to return appropriate error responses for agent run limits.
- Created `AgentRunLimitDialog` component to inform users when the limit is reached, displaying currently running agents and options to stop them.
- Integrated limit checks into agent initiation and running processes across relevant components.
- Modify the default tab selection logic to display 'preview' for Markdown or HTML files, and 'code' for others.
- This change enhances the user experience by ensuring the appropriate tab is shown based on file type.
- Introduced ForwardButton for advancing playback by one message.
- Added ResetButton to restart playback from the beginning.
- Refactored Play and Reset button implementations into separate components for better readability and maintainability.
- Updated the playback state management to handle new button functionalities.
These changes improve user interaction with playback controls, allowing for more intuitive navigation through messages.
- Eliminate the currentTags and publishTags state management from AgentsPage.
- Update openPublishDialog and handleAgentPublish functions to no longer set tags.
- Modify PublishDialog to remove tag input and add an alert for sensitive information warnings.
- Ensure the publishing process remains intact without the tags functionality.
This streamlines the publishing process and enhances user awareness regarding sensitive data.