Commit graph

3164 commits

Author SHA1 Message Date
CREDO23
9b838ec015 fix(linear): use .astext for JSONB text extraction in _resolve_issue
cast(document_metadata["key"], String) generates CAST(col->'key' AS TEXT)
which preserves JSON string quotes (e.g. '"Fix login bug"'), causing
case-insensitive comparisons to never match.

Replace with .astext which generates the ->> operator (unquoted text
extraction), making issue lookups by title and identifier work correctly.
2026-02-19 15:47:40 +02:00
CREDO23
090b69cf1e fix: guard empty update_issue call and unify delete_from_kb naming
- LinearConnector.update_issue: return error early when no fields are
  provided, preventing a silent no-op mutation and unnecessary KB sync
- Rename delete_from_db → delete_from_kb in delete_notion_page tool and
  its frontend component to match the more accurate Linear naming and
  keep both tool APIs consistent for the LLM
2026-02-19 15:22:36 +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
CREDO23
e79ec9234a fix label clear bug, invalid delete URL, and remove dead connector method 2026-02-19 14:35:30 +02:00
CREDO23
4c1fbc7482 reorganize linear and notion tool UI into subfolders 2026-02-18 20:25:51 +02:00
CREDO23
8e0d4c2eac add delete-linear-issue tool UI and export all linear tool UIs 2026-02-18 20:19:00 +02:00
CREDO23
440cf4f01a add update-linear-issue tool UI 2026-02-18 20:12:31 +02:00
CREDO23
c5bd930a71 add create-linear-issue tool UI and multi-account creation context 2026-02-18 20:01:05 +02:00
CREDO23
5bb619227e fix linear connector methods to return status dicts 2026-02-18 19:13:14 +02:00
CREDO23
f0e1f3419e fix(notion): remove parent_page_id from create_notion_page tool signature 2026-02-18 19:02:16 +02:00
CREDO23
1d6c1a2287 feat(linear): disable linear tools when no connector, handle in streaming 2026-02-18 18:49:03 +02:00
CREDO23
c201a0602a feat(linear): register linear tools in registry 2026-02-18 18:46:45 +02:00
CREDO23
e618deaefc feat(linear): add tools __init__ 2026-02-18 18:41:43 +02:00
CREDO23
94ae9989de feat(linear): add delete_linear_issue tool 2026-02-18 18:41:09 +02:00
CREDO23
72df61da6e feat(linear): add update_linear_issue tool 2026-02-18 18:28:47 +02:00
CREDO23
46bdb64476 feat(linear): add create_linear_issue tool 2026-02-18 18:12:23 +02:00
CREDO23
58955cdc9f feat(linear): add LinearKBSyncService and services __init__ 2026-02-18 17:51:53 +02:00
CREDO23
3fd80a61f9 feat(linear): add LinearToolMetadataService 2026-02-18 17:34:52 +02:00
CREDO23
50868f32d4 feat: add Linear write mutations to LinearConnector 2026-02-18 16:53:21 +02:00
CREDO23
594379ea69 Disable streaming for KB sync summary LLM to prevent token leaking into chat; remove workspace_icon from update-notion-page 2026-02-18 15:10:51 +02:00
CREDO23
d28aed14b3 Guard KB sync on document_id; fix comment style 2026-02-18 12:31:28 +02:00
CREDO23
64a170efce Fix critical bugs in KB sync implementation
- Add rollback on exception to prevent dirty database state
- Fix block verification threshold from >=1 to >=80%
- Remove technical 'failed' language from user messages
- Add empty content validation with warning
2026-02-17 21:27:58 +02:00
CREDO23
7d1bd1fab4 Implement KB sync after Notion page updates with block ID verification
- Add NotionKBSyncService for immediate KB updates after page changes
- Implement block ID verification to ensure content freshness
- Refactor duplicate block processing logic to shared utils
- Add user-friendly status messages
- Include debug logging for troubleshooting
2026-02-17 20:30:12 +02:00
CREDO23
2f65536c6d use document_id instead of page_id for kb sync lookup 2026-02-17 18:25:56 +02:00
CREDO23
bd3bd701a7 fix jsonb query syntax for page_id lookup 2026-02-17 18:02:00 +02:00
CREDO23
f5195b4c2f fix import path for generate_content_hash 2026-02-17 17:50:47 +02:00
CREDO23
e92aa68523 fix circular import in kb sync service 2026-02-17 17:48:24 +02:00
CREDO23
b240bc3e1a add kb sync for notion updates 2026-02-17 17:37:47 +02:00
DESKTOP-RTLN3BA\$punk
ce110faa5a refactor: simplify Docker run command in README files
- Consolidated the Docker run command into a single line for improved readability across multiple language-specific README files (Spanish, Hindi, English, Portuguese, and Chinese).
2026-02-17 00:39:12 -08:00
DESKTOP-RTLN3BA\$punk
bbc9c705a7 Merge commit '7b729264f2' into dev 2026-02-16 23:55:17 -08:00
DESKTOP-RTLN3BA\$punk
e746863a39 fix: update iconLink type to allow null values in DriveItem interfaces
- Modified the iconLink property in DriveItem interfaces for Composio and Google Drive folder trees to accept null values, enhancing type safety.
- Updated the corresponding type definition in connector.types.ts to reflect this change.
2026-02-16 23:52:43 -08:00
Rohan Verma
7b729264f2
Merge pull request #822 from MODSetter/dev
feat: add human-in-the-loop Notion workflows and report artifact generation across chat
2026-02-16 23:51:46 -08:00
DESKTOP-RTLN3BA\$punk
7bd3a4e08f chore: linting 2026-02-16 23:30:35 -08:00
DESKTOP-RTLN3BA\$punk
786b65d68f feat: update default rate limits in SlowAPI limiter
- Increased the default rate limits from 180/minute to 1024/minute for enhanced API performance and protection against abuse.
2026-02-16 23:28:20 -08:00
DESKTOP-RTLN3BA\$punk
b23868c6db Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-02-16 23:18:39 -08:00
DESKTOP-RTLN3BA\$punk
338dd8d282 feat: add health check endpoint and improve rate limiting
- Introduced a health check endpoint to monitor API responsiveness.
- Updated SlowAPI limiter to increase default rate limits and added in-memory fallback for Redis unavailability.
- Implemented a timeout for seeding Surfsense documentation to prevent startup delays.
2026-02-16 23:18:29 -08:00
Rohan Verma
0ebf1ea1a3
Merge pull request #820 from manojag115/bug/817
Fix Obsidian connector visibility and periodic indexing in self-hosted deployments
2026-02-16 22:55:08 -08:00
DESKTOP-RTLN3BA\$punk
3f1f9f0bde feat: update announcements data
- Changed announcement ID to a more descriptive format.
- Revised the announcement description for clarity.
- Updated the date to reflect the new announcement timing.
- Modified the link label and URL for better navigation to the announcements page.
2026-02-16 22:44:32 -08:00
DESKTOP-RTLN3BA\$punk
4afddbda5a feat: update README files for realtime collab
- Added a section on real-time collaboration in all language-specific README files, detailing how to invite members and chat in real-time.
- Included visual elements to enhance user understanding of the new features.
- Updated the homepage to include new use cases for real-time chat and comments, improving the overall user experience.
2026-02-16 22:31:18 -08:00
Manoj Aggarwal
22bf9ea718 Fix Obsidian connector 2026-02-16 21:07:08 -08:00
DESKTOP-RTLN3BA\$punk
5825ab9884 feat: updated homepage
- Added the 'lenis' library for smooth scrolling functionality.
- Integrated 'UseCasesGrid' component into the homepage layout.
- Updated 'HeroSection' to replace image elements with 'WalkthroughScroll' for enhanced user experience.
2026-02-16 05:50:47 -08:00
DESKTOP-RTLN3BA\$punk
9e359a79b9 feat: update README files to include usage instructions
- Added a new section on how to use SurfSense across all language-specific README files.
- Included visual elements such as images and badges for better user engagement and clarity.
- Enhanced the structure of the documentation to improve readability and accessibility for users.
2026-02-16 05:05:30 -08:00
DESKTOP-RTLN3BA\$punk
9390f195cc refactor: fix decision handling and error message extraction in Notion tools
- Improved decision extraction logic in create, delete, and update Notion page tools to ensure proper handling of approval decisions.
- Added a static method to NotionHistoryConnector for consistent error message extraction from API responses, enhancing readability and maintainability.
2026-02-16 02:14:26 -08:00
DESKTOP-RTLN3BA\$punk
28d93aed2a feat: enhance inline mention editor to preserve mention tokens
- Updated the text extraction logic to include inline mention tokens for chips, maintaining the original query structure sent to the backend.
- Refactored the text extraction process to improve readability and efficiency.
2026-02-16 01:34:36 -08:00
DESKTOP-RTLN3BA\$punk
1849b451a5 feat: update Celery worker configuration and improve connector deletion process
- Added support for multiple queues in Celery worker configuration.
- Modified connector deletion to handle documents inline instead of using a background task.
- Updated response messages for document creation and connector deletion to reflect new processing status.
- Removed the obsolete connector deletion Celery task file.
2026-02-16 00:07:23 -08:00
DESKTOP-RTLN3BA\$punk
81c70befcf chore: linting 2026-02-15 23:38:15 -08:00
DESKTOP-RTLN3BA\$punk
b9159a8329 feat: fixed bugs 2026-02-15 23:36:20 -08:00
Rohan Verma
11b9ebd9cd
Merge pull request #818 from AnishSarkar22/feat/report-artifact
fix: improve report generation functionality to chat streaming service
2026-02-15 15:28:11 -08:00
Anish Sarkar
793c19556d chore: ran linting 2026-02-16 03:54:19 +05:30
Anish Sarkar
bff52c71ef feat: improve report generation functionality to chat streaming service 2026-02-16 03:53:33 +05:30