Commit graph

107 commits

Author SHA1 Message Date
Anish Sarkar
5c9dd0b787 refactor: improve UI layout and styling for report generation components 2026-02-11 22:48:33 +05:30
Anish Sarkar
e5626342fc feat: add public report content retrieval and enhance report handling 2026-02-11 22:07:31 +05:30
CREDO23
8e6fa2ee58 add delete notion page approval ui 2026-02-11 18:20:51 +02:00
Anish Sarkar
59628fdf76 feat: enhance report panel and generation UI 2026-02-11 21:39:22 +05:30
Anish Sarkar
be1b6f370f feat: enhance article component with favicon support and layout adjustment 2026-02-11 21:33:46 +05:30
CREDO23
4da6892416 add error card for notion tool failures 2026-02-11 17:58:08 +02:00
Anish Sarkar
25c1fa0f49 fix: update response action label in ParsedArticle component 2026-02-11 20:54:17 +05:30
Anish Sarkar
360e85307b feat: enhance report panel with markdown export functionality 2026-02-11 20:16:02 +05:30
Anish Sarkar
90bf93b0a5 feat: enhance report generation with error handling and metadata extraction
- Updated the report generation tool to include error handling for failed report generation, persisting error messages in the database.
- Modified metadata extraction to count section headings and return a status indicating readiness or failure.
- Adjusted frontend components to handle and display error states based on report generation outcomes, improving user feedback and experience.
2026-02-11 20:04:36 +05:30
CREDO23
2ef2474058 add HITL tool argument editing with approval UI
Enables users to edit tool call arguments before execution in human-in-the-loop
workflows. Adds edit mode UI with form fields, grayscale styling, and subtle
pulse animations for pending approvals. Backend stub enhanced to verify edited
arguments are correctly passed through.
2026-02-11 15:43:07 +02:00
Anish Sarkar
e4244829ae feat: integrate report panel into chat interface
- Added a new ReportPanel component to display report details inline within the chat interface.
- Updated NewChatPage and PublicChatView to include the ReportPanel, enhancing user experience by allowing report viewing alongside chat interactions.
- Introduced report panel state management with Jotai atoms to control visibility and data handling.
- Refactored existing components to accommodate the new report panel layout and functionality.
2026-02-11 18:50:57 +05:30
Anish Sarkar
acad8c6d2b feat: implement report generation tool and associated routes for CRUD operations
- Added a new tool for generating structured Markdown reports based on user input.
- Implemented routes for creating, reading, exporting, and deleting reports.
- Integrated report generation into the chat flow, allowing users to generate reports inline.
- Updated schemas to support report data structures and responses.
- Enhanced frontend components to handle report generation and display results.
2026-02-11 17:55:52 +05:30
CREDO23
2343fecf97 add frontend HITL: approval UI, SSE handler, and resume flow
- Create CreateNotionPageToolUI component with approval card (approve/reject)
- Handle data-interrupt-request SSE event in page.tsx
- Add handleResume callback to POST decisions and stream continuation
- Skip message persistence for interrupted messages (handleResume persists)
- Stamp __decided__ on tool results for immutable post-decision state
- Sync pendingInterrupt ID after message persistence rename
2026-02-10 18:05:01 +02:00
Anish Sarkar
76e7ddee2f chore: ran all linting 2026-02-06 18:22:19 +05:30
DESKTOP-RTLN3BA\$punk
19e2857343 feat: added image gen support 2026-02-05 16:43:48 -08:00
CREDO23
070bb42506 feat: clone podcasts when cloning public chat
Creates new podcast records for cloned user with thread_id,
updates podcast_id references in message content.
2026-01-30 16:21:01 +02:00
CREDO23
b8338d8643 feat: add public podcast endpoints and player support 2026-01-30 14:36:35 +02:00
Anish Sarkar
614761bb17 Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-28 09:26:04 +05:30
Anish Sarkar
79f7dfbbed feat(notifications): enhance inbox functionality with type filtering and independent pagination for mentions and status notifications 2026-01-28 02:14:36 +05:30
CREDO23
0fbf5d5bdd fix: podcast status enum serialization and frontend polling 2026-01-27 19:07:46 +02:00
Anish Sarkar
a3b6012fb2 feat: podcast and audio UI is now mobile responsive 2026-01-27 19:47:07 +05:30
Anish Sarkar
2d17d1a1b6 feat: replace Loader2 with Spinner component for consistent loading indicators 2026-01-25 15:23:45 +05:30
Manoj Aggarwal
d640802909 bluff checks 2026-01-21 09:48:55 -08:00
Manoj Aggarwal
48fb38bafc Add ability to store and retreive user memory through mcp tool 2026-01-20 15:04:07 -08:00
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
Anish Sarkar
df0f488258 fix: UI while indexing 2026-01-14 15:36:16 +05:30
DESKTOP-RTLN3BA\$punk
48fc70a08b chore: cleanup 2026-01-07 19:07:06 -08:00
Anish Sarkar
2715f6d10f chore: ran linting 2025-12-29 01:09:21 +05:30
Anish Sarkar
7a852f0ea5 feat: Enhance todo status normalization and update schema for improved task management 2025-12-29 01:08:18 +05:30
DESKTOP-RTLN3BA\$punk
528c59ce58 chore: linting 2025-12-27 13:44:23 -08:00
Anish Sarkar
70383931bb feat: Apply minor UI styling adjustments to sidebar and progress components. Fixed linting for both frontend and backend 2025-12-27 15:27:29 +05:30
Anish Sarkar
c28a90fc29 refactor: integrate TodoListMiddleware and update related components
- Removed the write_todos tool as it is now included by default through TodoListMiddleware in the deep agent.
- Updated the system prompt and documentation to reflect the integration of TodoListMiddleware, clarifying its capabilities for managing planning and todo lists.
- Enhanced the chat handling logic to extract todos directly from the deep agent's command output, ensuring seamless user experience.
- Refactored UI components to align with the new data structure and improve rendering of todo items, including updates to the Plan and TodoItem components.
- Cleaned up code for better maintainability and readability, following recent refactoring efforts.
2025-12-27 15:18:34 +05:30
Anish Sarkar
8a3ab3dfac refactor: enhance write_todos tool and system prompt
- Updated the write_todos tool to include an optional description field for todo items, improving task detail management.
- Enhanced the system prompt with clearer guidelines on using the write_todos tool, including refined usage patterns and examples for various user scenarios.
- Improved UI components to support the new description feature, ensuring better visibility of task details during planning and execution.
- Streamlined the code for better readability and maintainability, aligning with recent refactoring efforts.
2025-12-26 19:24:32 +05:30
Anish Sarkar
ebc04f590e refactor: improve write_todos tool and UI components
- Refactored the write_todos tool to enhance argument and result schemas using Zod for better validation and type safety.
- Updated the WriteTodosToolUI to streamline the rendering logic and improve loading states, ensuring a smoother user experience.
- Enhanced the Plan and TodoItem components to better handle streaming states and display progress, providing clearer feedback during task management.
- Cleaned up code formatting and structure for improved readability and maintainability.
2025-12-26 17:49:56 +05:30
Anish Sarkar
8a32a310f8 feat: add TextShimmerLoader component for enhanced loading states
- Introduced a new TextShimmerLoader component to provide a shimmer effect for loading text, improving user experience during in-progress states.
- Updated the TodoItem component to utilize the TextShimmerLoader for displaying labels of in-progress tasks, replacing the previous pulse animation.
2025-12-26 16:52:35 +05:30
Anish Sarkar
5c68820c2a refactor: enhance chat and tool UI with improved streaming and error handling
- Updated NewChatPage to persist partial responses when requests are cancelled by the user.
- Enhanced WriteTodosToolUI to check if the thread is running, improving the display of loading states and error handling.
- Modified Plan and TodoItem components to conditionally animate in-progress items based on streaming status, providing a clearer user experience during task management.
2025-12-26 15:01:22 +05:30
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
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
46bb52a444 chore: run biome lints 2025-12-25 19:32:18 +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
DESKTOP-RTLN3BA\$punk
4a0c3e368a feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
Anish Sarkar
5fd872b798 feat: implement Zod schemas for runtime validation across various components to enhance data integrity and error handling 2025-12-23 02:42:48 +05:30
Anish Sarkar
7ca490c740 feat: enhance chain-of-thought display with smart expand/collapse behavior and state management for improved user interaction 2025-12-23 02:21:41 +05:30
Anish Sarkar
24dd52ed99 feat: add web scraping tool to chat agent for extracting and summarizing webpage content 2025-12-23 01:49:29 +05:30
Anish Sarkar
da7cb81252 feat: introduce display image tool for enhanced image rendering in chat with metadata support 2025-12-23 01:11:56 +05:30
Anish Sarkar
4b69fdf214 feat: add link preview tool for enhanced URL metadata display in chat 2025-12-23 00:58:27 +05:30
Anish Sarkar
8a99752f2f feat: enhance chat functionality with chain-of-thought display and thinking steps management 2025-12-22 22:54:22 +05:30