Commit graph

108 commits

Author SHA1 Message Date
Anish Sarkar
5ecf4e3e9d refactor: remove unused comment-related state and components; streamline comment panel styling for improved responsiveness 2026-03-10 14:00:29 +05:30
Anish Sarkar
e8cf677b25 refactor: update title generation logic to improve user experience by generating titles in parallel with assistant responses 2026-03-09 01:28:53 +05:30
Anish Sarkar
9945d16b17 chore: ran biome checks 2026-03-07 12:57:27 +05:30
Anish Sarkar
f8b0e946ce chore: ran linting 2026-03-07 04:46:48 +05:30
Anish Sarkar
f431f43191 feat: enhance message handling in NewChatPage by updating message IDs upon saving, ensuring consistent state management and improved user experience 2026-03-07 04:29:52 +05:30
Anish Sarkar
c1ba3a9b6d refactor: streamline document mention handling by consolidating atom logic and removing redundant state updates, enhancing code clarity and maintainability in chat components 2026-03-06 23:33:51 +05:30
Anish Sarkar
8d5d8e490c refactor: remove ChatHeader from Thread component and update related logic, improving code clarity and maintaining consistent header display in chat interface 2026-03-06 22:38:49 +05:30
Anish Sarkar
662f4db13d refactor: remove DashboardBreadcrumb component and related breadcrumb functionality, streamlining layout components and improving overall code maintainability 2026-03-06 22:33:42 +05:30
Anish Sarkar
3be26429ca refactor: integrate sidebar document selections into chat functionality, enhancing document mention management and improving user experience in the Composer and DocumentsSidebar components 2026-03-06 15:59:45 +05:30
DESKTOP-RTLN3BA\$punk
e9892c8fe9 feat: added configable summary calculation and various improvements
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic.
- Added enable_summary flag to several models and routes to control summary generation behavior.
2026-02-26 18:24:57 -08:00
DESKTOP-RTLN3BA\$punk
2869d3a9c8 Merge commit 'd0ee8b12b6' into codesandbox_integration 2026-02-24 16:38:09 -08:00
DESKTOP-RTLN3BA\$punk
c007f0e056 feat: unut codesandbox integration 2026-02-24 16:36:11 -08:00
CREDO23
e89b68520a rename trash_google_drive_file to delete_google_drive_file 2026-02-24 13:18:39 +02:00
CREDO23
a541deeda8 add google drive tools to TOOLS_WITH_UI set 2026-02-23 15:55:30 +02:00
CREDO23
da48f24d7a add trash google drive file tool UI component 2026-02-20 21:05:26 +02:00
CREDO23
7d25778927 add create google drive file tool UI component 2026-02-20 20:40:30 +02:00
CREDO23
2f9768b371 fix: register Linear tools in TOOLS_WITH_UI and make GraphQL calls async
- Add create_linear_issue, update_linear_issue, delete_linear_issue to
  TOOLS_WITH_UI so the HIL approval cards are correctly dispatched to
  the Linear tool-ui components (without this the interrupt cards were
  never rendered)
- Replace blocking requests.post with httpx.AsyncClient in
  LinearConnector.execute_graphql_query to avoid stalling the asyncio
  event loop during live streaming; remove now-unused requests import
2026-02-19 15:53:59 +02:00
CREDO23
8711ac82a5 fix: register linear tool UIs, fix broken notion imports and delete issue state field 2026-02-19 15:05:26 +02:00
DESKTOP-RTLN3BA\$punk
81c70befcf chore: linting 2026-02-15 23:38:15 -08:00
CREDO23
66a6fb685e Merge upstream/dev into feature/human-in-the-loop 2026-02-13 20:17:59 +02:00
CREDO23
2a15e0d337 fix: resolve race condition and add cleanup in HITL flow 2026-02-13 19:17:36 +02:00
DESKTOP-RTLN3BA\$punk
a8c1aa28c0 feat: remove pandoc and its respective engine dependencies 2026-02-13 01:34:43 -08:00
CREDO23
0d1b61d7e6 Implement update notion page tool 2026-02-13 10:45:51 +02:00
CREDO23
2fd082683d Register update notion page UI component 2026-02-12 19:26:01 +02:00
Anish Sarkar
83d7c8204b feat: close report panel when switching chats in NewChatPage component 2026-02-12 19:07:17 +05:30
CREDO23
8e6fa2ee58 add delete notion page approval ui 2026-02-11 18:20:51 +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
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
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
DESKTOP-RTLN3BA\$punk
c979609041 feat: simplified document upload handling
- Introduced a new endpoint for batch document status retrieval, allowing users to check the status of multiple documents in a search space.
- Enhanced the document upload process to return duplicate document IDs and improved response structure.
- Updated schemas to include new response models for document status.
- Removed unused attachment processing code from chat routes and UI components to streamline functionality.
2026-02-09 16:46:54 -08:00
Anish Sarkar
9d071d686a feat: add viewport configuration for mobile keyboard handling and update chat page height calculations for better responsiveness 2026-02-06 19:43:14 +05:30
Anish Sarkar
76e7ddee2f chore: ran all linting 2026-02-06 18:22:19 +05:30
Eric Lammertsma
07f89a4268 Show the chat title in the breadcrumbs instead of "Chat" 2026-02-03 20:54:21 -05:00
Eric Lammertsma
d761ca1992 Added chat renaming and auto naming by the active LLM 2026-02-03 20:47:18 -05:00
DESKTOP-RTLN3BA\$punk
b176599c64 chore: linting 2026-02-03 15:01:51 -08:00
Anish Sarkar
580b75c3c4 chore: ran linting 2026-02-04 03:04:25 +05:30
Anish Sarkar
c4cf773bb0 feat: improve mentioned document prefetching and add skeletons in new chat interface 2026-02-03 20:45:52 +05:30
CREDO23
98991d2ed4 feat: update UI for snapshot-based public sharing 2026-01-30 14:20:06 +02:00
DESKTOP-RTLN3BA\$punk
70fcb2d055 chore: linting 2026-01-28 22:15:43 -08:00
CREDO23
22943972c2 fix(frontend): prevent infinite retry loop when chat clone fails
Add cloneError state to track clone failures and prevent the useEffect
from continuously retrying when completeClone() fails.
2026-01-28 19:15:25 +02:00
Anish Sarkar
614761bb17 Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-28 09:26:04 +05:30
CREDO23
9a4da10b12 feat(frontend): two-phase cloning with loading state 2026-01-28 00:17:44 +02:00
CREDO23
0fbf5d5bdd fix: podcast status enum serialization and frontend polling 2026-01-27 19:07:46 +02:00
Anish Sarkar
72c421eeb1 feat(chat): implement target comment navigation and highlight functionality in chat components 2026-01-27 22:14:02 +05:30
CREDO23
c65cda24d7 style: fix formatting issues 2026-01-27 13:49:46 +02:00
CREDO23
a7145b2c63 merge: upstream/dev with migration renumbering 2026-01-27 11:22:26 +02:00
CREDO23
24472c0ea6 fix: preserve author info in cloned chats and force PGlite resync after clone 2026-01-27 10:50:37 +02:00
CREDO23
271de96cce fix: public chat copy link button and podcast access 2026-01-26 20:10:03 +02:00