Commit graph

1809 commits

Author SHA1 Message Date
Anish Sarkar
eb70c055a4 refactor: introduce write_todos tool for enhanced task management
- Added a new write_todos tool to facilitate the creation and management of planning lists within the chat interface.
- Updated system prompt with detailed instructions on using the write_todos tool, including usage patterns and restrictions.
- Enhanced the chat message handling to support the new tool, ensuring proper integration and user experience.
- Implemented UI components for displaying and interacting with the planning lists, including progress tracking and status indicators.
2025-12-26 14:37:23 +05:30
Anish Sarkar
1dd740bb23 refactor: enhance chat functionality with new tools and attachment handling
- Updated system prompt to clarify usage of the display_image tool, emphasizing valid URL requirements and prohibiting user-uploaded image displays.
- Introduced write_todos tool for creating and updating planning lists, with detailed usage instructions and examples.
- Enhanced message handling to persist attachments and mentioned documents, ensuring they survive page reloads.
- Improved UI components to integrate the new write_todos tool and ensure consistent user experience across chat interactions.
2025-12-26 11:38:32 +05:30
Rohan Verma
2f5d1b6a9b
Merge pull request #631 from MODSetter/dev
update chinese readme
2025-12-25 21:20:32 -08:00
DESKTOP-RTLN3BA\$punk
2f35bc644f chore: update README.zh-CN.md to replace video link and remove outdated screenshots 2025-12-25 21:20:01 -08:00
DESKTOP-RTLN3BA\$punk
ea000dc22c feat: update README.zh-CN.md with new features and tools
- Added details about the deep proxy architecture and built-in tools.
- Included instructions for contributors to add new tools.
- Updated external data source list to include BookStack.
- Enhanced descriptions of existing features and frameworks.
2025-12-25 21:18:32 -08:00
Rohan Verma
c3678e4aed
Merge pull request #630 from MODSetter/dev
feat: configure PostHog reverse proxy to bypass ad blockers
2025-12-25 14:23:55 -08:00
DESKTOP-RTLN3BA\$punk
ad5f0a6e89 Merge commit '0501463a6b' into dev 2025-12-25 14:23:20 -08:00
DESKTOP-RTLN3BA\$punk
8298efe0b1 feat: configure PostHog reverse proxy to bypass ad blockers
- Updated PostHog initialization to use a reverse proxy for API requests.
- Added rewrites in Next.js configuration to route requests through the domain.
- Set ui_host for proper toolbar functionality and ensured correct pageview tracking.
2025-12-25 14:22:48 -08:00
Rohan Verma
0501463a6b
Merge pull request #629 from MODSetter/dev
feat: added posthog
2025-12-25 13:57:04 -08:00
DESKTOP-RTLN3BA\$punk
518958e9a7 feat: added posthog 2025-12-25 13:53:41 -08:00
Anish Sarkar
287fc236ad refactor: enhance chat functionality with query invalidation and navigation improvements
- Integrated useQueryClient from React Query to manage query invalidation for threads, ensuring real-time updates in the sidebar when a new chat is created or a thread is deleted.
- Updated the AllChatsSidebar to close the sidebar and navigate to the new chat page if the currently open chat is deleted.
- Improved error handling and user experience during thread deletion by ensuring the sidebar closes smoothly before redirection.
2025-12-26 03:11:49 +05:30
DESKTOP-RTLN3BA\$punk
d9e6947fbd Revert "feat: added posthog"
This reverts commit c96be7d9e1.
2025-12-25 13:37:35 -08:00
DESKTOP-RTLN3BA\$punk
c96be7d9e1 feat: added posthog 2025-12-25 13:25:13 -08:00
Anish Sarkar
d9df63f57e refactor: enhance web crawling functionality with Firecrawl integration
- Updated WebCrawlerConnector to prioritize Firecrawl API for crawling if an API key is provided, falling back to Chromium if Firecrawl fails.
- Improved error handling to log failures from both Firecrawl and Chromium.
- Enhanced link preview tool to use a random User-Agent for better compatibility with web servers.
- Passed Firecrawl API key to the stream_new_chat function for improved configuration management.
2025-12-26 02:37:20 +05:30
Anish Sarkar
ad5a49c2c6 refactor: enhance auto-focus behavior in Composer component
- Implemented a mechanism to auto-focus the editor immediately after the first message is sent, improving user experience by allowing quick follow-up queries.
- Introduced a reference to track the previous state of the thread to ensure focus only occurs during the transition from empty to non-empty.
2025-12-26 01:55:45 +05:30
Rohan Verma
80e4f1b798
Merge pull request #627 from MODSetter/dev
feat: various ux improvements
2025-12-25 11:44:18 -08:00
DESKTOP-RTLN3BA\$punk
7f809ffa1b chore: linting 2025-12-25 11:42:12 -08:00
DESKTOP-RTLN3BA\$punk
55897995ec Merge commit 'de33ec3759' into dev 2025-12-25 11:34:47 -08:00
Rohan Verma
cb6dcb4943
Merge pull request #626 from AnishSarkar22/fix/chatpage-ux
Many Improvements
2025-12-25 11:33:19 -08:00
Anish Sarkar
2fdf567b71 refactor: replace DocumentsDataTable with DocumentMentionPicker for improved document selection
- Introduced DocumentMentionPicker component to enhance document selection experience in the chat interface.
- Updated InlineMentionEditor and Composer components to utilize the new DocumentMentionPicker.
- Removed the deprecated DocumentsDataTable component to streamline the codebase and improve maintainability.
- Enhanced type safety and validation in document handling logic.
2025-12-26 00:41:14 +05:30
Anish Sarkar
9bc3f193c3 refactor: improve type safety in document extraction and UI components
- Introduced Zod schemas for type-safe parsing of mentioned document information in chat messages.
- Updated the extractMentionedDocuments function to utilize the new schemas for better validation.
- Made the 'alt' property optional in image-related components for improved flexibility and fallback handling.
2025-12-26 00:18:47 +05:30
Anish Sarkar
bea18960a4 refactor: enhance link preview functionality with Chromium fallback
- Added a fallback mechanism using headless Chromium to fetch page content when standard HTTP requests fail.
- Introduced utility functions for unescaping HTML entities and converting relative URLs to absolute.
- Updated HTTP request headers to mimic a browser for better compatibility with web servers.
- Improved error handling and logging for better debugging and user feedback.
- Made various properties in Zod schemas nullable for better type safety and flexibility in handling optional data.
2025-12-26 00:07:45 +05:30
Anish Sarkar
4c2de73694 refactor: update UI components for consistent styling 2025-12-25 19:40:43 +05:30
Anish Sarkar
46bb52a444 chore: run biome lints 2025-12-25 19:32:18 +05:30
Anish Sarkar
ee5d14c86c refactor: improve type safety and structure in editor page
- Updated BlockNote document handling by defining TypeScript types for better clarity and maintainability.
- Refactored extractTitleFromBlockNote function to utilize the new types, enhancing type safety.
- Changed state management for editorContent to use the defined BlockNoteDocument type.
- Adjusted layout classes for improved responsiveness and visual consistency in the editor interface.
2025-12-25 19:28:46 +05:30
Anish Sarkar
8fae4b1742 refactor: update audio component for improved volume control and UI
- Removed the play overlay button from the artwork section for a cleaner design.
- Replaced the existing volume slider with a custom volume bar for better visual distinction.
- Enhanced the volume control layout for improved user experience and accessibility.
2025-12-25 18:37:35 +05:30
Anish Sarkar
5c4a445456 refactor: streamline ThinkingStepsDisplay and ChainOfThought components
- Removed unnecessary calculations for in-progress and last completed step states in ThinkingStepsDisplay.
- Simplified the getStepOpenState function to focus on current step status.
- Introduced constants for animation timing and file extension categories in ChainOfThought for better maintainability.
- Enhanced icon retrieval logic based on file types and step statuses, improving clarity and performance.
- Updated component props to use TypeScript interfaces for better type safety and readability.
2025-12-25 18:26:36 +05:30
Anish Sarkar
9e7f8d7fe3 feat: enhance chat functionality with improved attachment handling and user experience
- Updated system prompt to clarify usage of the display_image tool, emphasizing URL requirements and restrictions on user-uploaded images.
- Enhanced the streaming chat process to provide more context about user attachments and documents during analysis.
- Implemented state resets when switching between chats to prevent stale data and race conditions.
- Added new components for displaying image previews and document attachments in the chat interface.
- Improved attachment processing to support image data URLs for persistent display after uploads.
2025-12-25 17:52:48 +05:30
Anish Sarkar
eb6192d480 chore: fix formatting 2025-12-25 14:29:44 +05:30
Anish Sarkar
7c8e269190 refactor: enhance InlineMentionEditor and Composer auto-focus functionality
- Refactored InlineMentionEditor to improve caret position handling and mention triggering logic.
- Removed unnecessary caret position saving and restoring functions for cleaner code.
- Updated mention handling to ensure proper closing of mention popover based on cursor position.
- Added auto-focus feature in Composer for new chat threads, enhancing user experience.
- Implemented checks to reset auto-focus when the thread is no longer empty.
2025-12-25 14:19:22 +05:30
Anish Sarkar
533084b433 feat: add InlineMentionEditor component for document mentions
- Introduced InlineMentionEditor to allow users to mention documents inline using '@'.
- Integrated the new editor into the Composer component, replacing the previous textarea input.
- Implemented functionality for handling document chips, mention triggers, and document removal.
- Enhanced user experience with real-time updates and improved keyboard navigation for mentions.
2025-12-25 13:44:18 +05:30
Anish Sarkar
bf22156664 refactor: update navigation and chat initialization logic
- Changed navigation from researcher to new-chat in EditorPage.
- Updated NewChatPage to support lazy thread creation on first message.
- Adjusted breadcrumb to not display thread ID for new-chat sections.
- Improved user experience by modifying error messages and loading states.
- Enhanced styling in model-selector component for better visibility.
2025-12-25 12:18:45 +05:30
Rohan Verma
de33ec3759
Merge pull request #624 from MODSetter/dev
Merry Christmas
2025-12-24 18:14:55 -08:00
DESKTOP-RTLN3BA\$punk
85ddaedd9e Merge commit 'd09ab8dbaf' into dev 2025-12-24 18:14:24 -08:00
DESKTOP-RTLN3BA\$punk
433b46f859 fix: add festive greeting 2025-12-24 18:13:49 -08:00
Rohan Verma
d09ab8dbaf
Merge pull request #623 from MODSetter/dev
feat: released 0.0.9 changelog
2025-12-24 18:10:42 -08:00
DESKTOP-RTLN3BA\$punk
bd2fff4f97 Merge commit 'd71c810852' into dev 2025-12-24 18:04:28 -08:00
DESKTOP-RTLN3BA\$punk
2603db74eb feat: released 0.0.9 changelog 2025-12-24 18:03:22 -08:00
DESKTOP-RTLN3BA\$punk
b4b7059035 Revert "Merge pull request #622 from CREDO23/documents-mentions"
This reverts commit fb719faa0d, reversing
changes made to efd20ea208.
2025-12-24 18:00:03 -08:00
Rohan Verma
fb719faa0d
Merge pull request #622 from CREDO23/documents-mentions
[Fix] Documents mentions | Use the same structure of document returned from retriever
2025-12-24 13:46:31 -08:00
CREDO23
ef9e9b65df fix: mentioned documents xml structure 2025-12-24 23:35:20 +02:00
CREDO23
3660b91e63 refact: follow the structure of document returned from retriever 2025-12-24 20:12:40 +02:00
Rohan Verma
d71c810852
Merge pull request #621 from MODSetter/dev
refactor: update hero section images
2025-12-24 00:05:25 -08:00
DESKTOP-RTLN3BA\$punk
efd20ea208 Merge commit 'e6392ffa00' into dev 2025-12-24 00:04:50 -08:00
DESKTOP-RTLN3BA\$punk
b86ec41348 refactor: update hero section images to use main_demo.webp for both light and dark modes 2025-12-24 00:04:07 -08:00
Rohan Verma
e6392ffa00
Merge pull request #620 from MODSetter/dev
feat: updated version to 0.0.9
2025-12-23 22:13:38 -08:00
DESKTOP-RTLN3BA\$punk
dfed7187bc feat: updated version to 0.0.9 2025-12-23 22:12:53 -08:00
Rohan Verma
cc1af9f3f8
Update README with tech stack and remove screenshots
Removed screenshots and updated tech stack descriptions.
2025-12-23 22:00:59 -08:00
Rohan Verma
ae971e0bbd
Merge pull request #619 from MODSetter/dev
feat: in chat document mentions
2025-12-23 21:22:08 -08:00
DESKTOP-RTLN3BA\$punk
18aafb118e Merge commit '18e55a7ed7' into dev 2025-12-23 21:19:18 -08:00