Commit graph

3377 commits

Author SHA1 Message Date
CREDO23
43c6c784ab Add update notion page UI component 2026-02-12 19:22:45 +02:00
CREDO23
f15e6aeb5e Add HIL to update notion page tool 2026-02-12 18:42:11 +02:00
CREDO23
f7411b9737 Add user_id filter to prevent cross-user document access 2026-02-12 18:14:26 +02:00
CREDO23
67473bbb78 Add validation for title and connector in notion page creation 2026-02-12 17:51:11 +02:00
CREDO23
9023f2656b Improve notion page creation approval UI 2026-02-12 17:35:27 +02:00
CREDO23
c47171e218 fix edited action args extraction for notion page creation 2026-02-12 16:38:08 +02:00
CREDO23
08154b321d remove page counts and fix workspace icon display 2026-02-12 16:29:18 +02:00
Anish Sarkar
f96e7e11c6 docs: enhance report generation instructions with detailed formatting guidelines for code examples and Mermaid diagrams 2026-02-12 19:29:48 +05:30
CREDO23
f5e5e36de4 add account and parent page selection to notion approval ui 2026-02-12 15:55:34 +02:00
CREDO23
d4aa61a12a add interrupt payload normalization for interrupt() primitive 2026-02-12 15:44:03 +02:00
Anish Sarkar
83d7c8204b feat: close report panel when switching chats in NewChatPage component 2026-02-12 19:07:17 +05:30
CREDO23
066fb6dbfb use interrupt primitive with db context for notion page creation 2026-02-12 15:29:41 +02:00
CREDO23
c9b0e55ce9 add notion tool metadata service 2026-02-12 15:21:18 +02:00
Anish Sarkar
30a1063a14 style: add select-none class to avatar components for improved user experience 2026-02-12 18:49:52 +05:30
Anish Sarkar
d627409af0 docs: update system prompt and report tool instructions for clarity on report generation and modification requests 2026-02-12 18:22:47 +05:30
Anish Sarkar
9d0bff2bad chore: update Dockerfiles to install Typst version 0.14.2 for PDF rendering 2026-02-12 17:37:27 +05:30
Anish Sarkar
3336626336 chore: update Dockerfiles to install Typst for PDF rendering and remove WeasyPrint dependencies 2026-02-12 15:57:35 +05:30
Anish Sarkar
828e750320 chore: update Dockerfiles to install Pandoc 3.x and handle WeasyPrint dependencies 2026-02-12 15:32:07 +05:30
Rohan Verma
0e96e4492b
Merge pull request #812 from MODSetter/dev
feat: add additional languages
2026-02-11 20:50:31 -08:00
DESKTOP-RTLN3BA\$punk
e184a7b3f3 feat: update README files to include additional language options 2026-02-11 20:49:36 -08:00
DESKTOP-RTLN3BA\$punk
65b0514947 Merge commit 'f5cede64be' into dev 2026-02-11 20:39:17 -08:00
Anish Sarkar
9339a43db5 refactor: improve version switcher UI in report panel for mobile and desktop views 2026-02-12 04:01:54 +05:30
Anish Sarkar
04a10da3ca refactor: improve loading state handling and error display in report panel 2026-02-12 03:49:47 +05:30
Anish Sarkar
a668219240 refactor: update report routes and improve export handling
- Revised report routes to clarify functionality for read, export, and delete operations.
- Enhanced the export process to run all blocking I/O in a thread executor, improving async performance.
- Updated error handling in the report panel to provide clearer feedback on loading failures.
2026-02-12 03:41:29 +05:30
Anish Sarkar
adeef35443 feat: add report versioning support with report_group_id 2026-02-12 03:19:38 +05:30
CREDO23
78127243e2 merge upstream/dev: add user_id to configs, provider icons, i18n 2026-02-11 20:05:00 +02:00
CREDO23
a833dad6ab improve notion update_page error handling and numbered list parsing 2026-02-11 19:58:02 +02:00
Anish Sarkar
e7a73d0570 feat: add report export capabilities with Pandoc and WeasyPrint support
- Updated Dockerfiles to include Pandoc and WeasyPrint runtime libraries for report generation.
- Enhanced report retrieval functionality to include version siblings in the response.
- Modified report export process to utilize WeasyPrint for PDF generation, improving output quality.
2026-02-11 23:24:51 +05:30
Anish Sarkar
5c9dd0b787 refactor: improve UI layout and styling for report generation components 2026-02-11 22:48:33 +05:30
Anish Sarkar
60c3d43033 feat: replace download icons, replace loader2 with our custom spinner in report panel export options 2026-02-11 22:44:55 +05:30
Anish Sarkar
4111e5d1cc feat: add globe indicator for public snapshots in chat share button 2026-02-11 22:14:59 +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
CREDO23
79d1f7d603 pass full notion tool output in stream 2026-02-11 17:38:42 +02:00
Anish Sarkar
25c1fa0f49 fix: update response action label in ParsedArticle component 2026-02-11 20:54:17 +05:30
CREDO23
04ea40f0c8 fix notion write tools and add retry wrapper 2026-02-11 17:18:59 +02:00
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
8649ca7ac0 add notion tools for create/update/delete pages 2026-02-11 16:11:53 +02:00
CREDO23
c492505876 add write operations to notion connector 2026-02-11 16:11:46 +02:00
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
Anish Sarkar
6fc5dc224b refactor: remove report_status enum and related index from reports table migration 2026-02-11 17:45:07 +05:30
CREDO23
5d1c386105 extract shared streaming helpers from page.tsx into streaming-state.ts
Move duplicated types (ThinkingStepData, ContentPart), content-part helpers
(appendText, addToolCall, updateToolCall, buildContentForUI,
buildContentForPersistence), and SSE read loop (readSSEStream) into a
shared module. Removes ~395 lines of tripled code from page.tsx.
2026-02-11 13:50:46 +02:00
Anish Sarkar
b6c0406d10 feat: add reports table and report status enum for generated Markdown reports 2026-02-11 16:28:56 +05:30
DESKTOP-RTLN3BA\$punk
1daa953e83 feat: add support for additional languages in LanguageSwitcher and SidebarUserProfile components 2026-02-11 00:39:01 -08:00