Commit graph

3479 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
81fb1f327c fix: update LLM retrieval in podcast transcript creation to use agent LLM instead of document summary LLM 2026-03-03 13:35:29 -08:00
DESKTOP-RTLN3BA\$punk
1541cb3c7b fix: update dump file handling in install.ps1 to use resolved path for PostgreSQL restoration 2026-03-03 13:32:43 -08:00
DESKTOP-RTLN3BA\$punk
0cffa206ad fix: correct dump content retrieval in migrate-database.ps1 to ensure proper handling of PostgreSQL dump files 2026-03-03 13:13:25 -08:00
DESKTOP-RTLN3BA\$punk
b88122fc17 refactor: implement Invoke-NativeSafe function in installation and migration scripts to streamline error handling for Docker commands 2026-03-03 13:08:37 -08:00
DESKTOP-RTLN3BA\$punk
59d8afca4f fix: enhance error handling in migrate-database.ps1 by implementing try-finally for Docker info command 2026-03-03 13:00:10 -08:00
DESKTOP-RTLN3BA\$punk
8238c56b3f fix: improve error handling in Docker installation script for Windows by using try-finally blocks 2026-03-03 12:56:07 -08:00
DESKTOP-RTLN3BA\$punk
01f8a3ed80 chore: update SURFSENSE_VERSION in .env.example to 0.0.13.9 for testing 2026-03-03 12:40:35 -08:00
Rohan Verma
760f5bf1dd
Merge pull request #854 from AnishSarkar22/fix/docker-dev
feat: Docker one liner script for Windows
2026-03-03 12:35:48 -08:00
Anish Sarkar
ba869d552c docs: update installation instructions in multiple language READMEs to specify Docker Desktop and provide separate commands for Windows users 2026-03-04 01:07:25 +05:30
Anish Sarkar
533519b343 refactor: enhance version display logic in installation scripts to read from .env file 2026-03-03 19:43:55 +05:30
Anish Sarkar
0fd1d37ed4 chore: update installation script to improve error handling and suppress output in Docker commands 2026-03-03 19:33:21 +05:30
Anish Sarkar
e7d6e5f5bd feat: add Windows installation script and update README for Linux/MacOS users 2026-03-03 19:13:59 +05:30
DESKTOP-RTLN3BA\$punk
9ea9538e95 Merge commit '026e653c7a' into dev 2026-03-02 14:16:35 -08:00
Rohan Verma
77f1946b6d
Merge pull request #853 from AnishSarkar22/fix/docker-dev
fix: run docker on dev branch
2026-03-02 14:09:14 -08:00
Anish Sarkar
d9ebc2c599 chore: update GitHub Actions workflow to include 'dev' branch and change installation script to use 'dev' repository URL 2026-03-03 03:35:29 +05:30
Rohan Verma
672b4e1808
Merge pull request #838 from AnishSarkar22/fix/docker
feat: docker-compose and docker CI pipeline enhancements
2026-03-02 13:54:27 -08:00
Anish Sarkar
d24691a968 fix: increase timeout for alembic migrations in entrypoint script to prevent premature failures 2026-03-02 23:45:24 +05:30
Rohan Verma
026e653c7a
Merge pull request #852 from MODSetter/dev
feat: enhance memory management and session handling
2026-03-01 00:00:27 -08:00
DESKTOP-RTLN3BA\$punk
ff3852daa5 Merge commit 'd2e06583ca' into dev 2026-02-28 23:59:50 -08:00
DESKTOP-RTLN3BA\$punk
ecb0a25cc8 feat: enhance memory management and session handling in database operations
- Introduced a shielded async session context manager to ensure safe session closure during cancellations.
- Updated various database operations to utilize the new shielded session, preventing orphaned connections.
- Added environment variables to optimize glibc memory management, improving overall application performance.
- Implemented a function to trim the native heap, allowing for better memory reclamation on Linux systems.
2026-02-28 23:59:28 -08:00
Rohan Verma
d2e06583ca
Merge pull request #851 from MODSetter/dev
refactor: improve session management and cleanup in chat streaming
2026-02-28 23:18:11 -08:00
DESKTOP-RTLN3BA\$punk
dd3da2bc36 refactor: improve session management and cleanup in chat streaming
- Added proper session closure to prevent connection leaks during streaming.
- Implemented a fresh session for cleanup tasks to ensure data integrity.
- Enhanced error handling during session operations to improve robustness.
- Removed unnecessary session parameters from function signatures for clarity.
2026-02-28 23:17:11 -08:00
Rohan Verma
cbf9bc6bc9
Merge pull request #850 from MODSetter/dev
feat: enhance knowledge base search and document retrieval
2026-02-28 19:41:45 -08:00
DESKTOP-RTLN3BA\$punk
283f97dafb Merge commit '42982578ed' into dev 2026-02-28 19:41:06 -08:00
DESKTOP-RTLN3BA\$punk
40a091f8cc feat: enhance knowledge base search and document retrieval
- Introduced a mechanism to identify degenerate queries that lack meaningful search signals, improving search accuracy.
- Implemented a fallback method for browsing recent documents when queries are degenerate, ensuring relevant results are returned.
- Added limits on the number of chunks fetched per document to optimize performance and prevent excessive data loading.
- Updated the ConnectorService to allow for reusable query embeddings, enhancing efficiency in search operations.
- Enhanced LLM router service to support context window fallbacks, improving robustness during context window limitations.
2026-02-28 19:40:24 -08:00
Rohan Verma
42982578ed
Merge pull request #849 from MODSetter/dev
feat: optimize document upload process and enhance memory management
2026-02-28 17:28:24 -08:00
DESKTOP-RTLN3BA\$punk
b08e8da40c Merge commit 'f2f15f64e6' into dev 2026-02-28 17:25:34 -08:00
DESKTOP-RTLN3BA\$punk
d959a6a6c8 feat: optimize document upload process and enhance memory management
- Increased maximum file upload limit from 10 to 50 to improve user experience.
- Implemented batch processing for document uploads to avoid proxy timeouts, splitting files into manageable chunks.
- Enhanced garbage collection in chat streaming functions to prevent memory leaks and improve performance.
- Added memory delta tracking in system snapshots for better monitoring of resource usage.
- Updated LLM router and service configurations to prevent unbounded internal accumulation and improve efficiency.
2026-02-28 17:22:34 -08:00
Anish Sarkar
799b3dcbfe docs: add note for Windows users to install WSL before running installation commands 2026-03-01 00:43:02 +05:30
Rohan Verma
f2f15f64e6
Merge pull request #848 from MODSetter/dev
feat: refactor document fetching and improve comment batching
2026-02-28 01:57:06 -08:00
DESKTOP-RTLN3BA\$punk
cc64e18501 Merge commit '0a280149d9' into dev 2026-02-28 01:55:26 -08:00
DESKTOP-RTLN3BA\$punk
1bb9f479e1 feat: refactor document fetching and improve comment batching
- Replaced the useDocuments hook with React Query for better caching and deduplication of document requests.
- Updated the ConnectorIndicator component to fetch document type counts using a new atom for real-time updates.
- Enhanced the useComments hook to manage batch requests more effectively, reducing race conditions and improving performance.
- Set default query options in the query client to optimize stale time and refetch behavior.
2026-02-28 01:54:54 -08:00
Rohan Verma
0a280149d9
Merge pull request #847 from MODSetter/dev
feat: enhance caching mechanisms to prevent memory leaks
2026-02-27 17:57:26 -08:00
DESKTOP-RTLN3BA\$punk
cc0d8ad4d7 Merge commit '4105bd0d7a' into dev 2026-02-27 17:56:19 -08:00
DESKTOP-RTLN3BA\$punk
f4b2ab0899 feat: enhance caching mechanisms to prevent memory leaks
- Improved in-memory rate limiting by evicting timestamps outside the current window and cleaning up empty keys.
- Updated LLM router service to cache context profiles and avoid redundant computations.
- Introduced cache eviction logic for MCP tools and sandbox instances to manage memory usage effectively.
- Added garbage collection triggers in chat streaming functions to reclaim resources promptly.
2026-02-27 17:56:00 -08:00
Rohan Verma
4105bd0d7a
Merge pull request #846 from MODSetter/dev
feat: perf optimizations
2026-02-27 17:24:20 -08:00
DESKTOP-RTLN3BA\$punk
08829c110c Merge commit '11a38a28a5' into dev 2026-02-27 17:21:52 -08:00
DESKTOP-RTLN3BA\$punk
0e723a5b8b feat: perf optimizations
- improved search_knowledgebase_tool
- Added new endpoint to batch-fetch comments for multiple messages, reducing the number of API calls.
- Introduced CommentBatchRequest and CommentBatchResponse schemas for handling batch requests and responses.
- Updated chat_comments_service to validate message existence and permissions before fetching comments.
- Enhanced frontend with useBatchCommentsPreload hook to optimize comment loading for assistant messages.
2026-02-27 17:19:25 -08:00
Rohan Verma
11a38a28a5
Merge pull request #845 from MODSetter/dev
feat: added perf logs and removed managed google connectors
2026-02-27 16:34:40 -08:00
DESKTOP-RTLN3BA\$punk
a43956bdce Merge commit 'f1f100bb52' into dev 2026-02-27 16:33:06 -08:00
DESKTOP-RTLN3BA\$punk
664c43ca13 feat: add performance logging middleware and enhance performance tracking across services
- Introduced RequestPerfMiddleware to log request performance metrics, including slow request thresholds.
- Updated various services and retrievers to utilize the new performance logging utility for better tracking of execution times.
- Enhanced existing methods with detailed performance logs for operations such as embedding, searching, and indexing.
- Removed deprecated logging setup in stream_new_chat and replaced it with the new performance logger.
2026-02-27 16:32:30 -08:00
Rohan Verma
f1f100bb52
Merge pull request #844 from MODSetter/dev
chore: removed announcements from navbar and rewrote tagline
2026-02-27 15:47:07 -08:00
DESKTOP-RTLN3BA\$punk
68bb196d45 Merge commit 'd6ae201403' into dev 2026-02-27 15:46:25 -08:00
DESKTOP-RTLN3BA\$punk
fa51ec42c6 chore: removed announcements from navbar and rewrote tagline 2026-02-27 15:45:48 -08:00
Rohan Verma
d6ae201403
Merge pull request #843 from MODSetter/dev
feat: update pricing
2026-02-27 15:37:39 -08:00
DESKTOP-RTLN3BA\$punk
37a0bd4533 feat: update contact information and meeting links across components
- Changed meeting link from Calendly to Cal.com for scheduling.
- Updated email contact from eric@surfsense.com to rohan@surfsense.com in multiple components.
- Revised text in the contact form to reflect the new scheduling options.
2026-02-27 15:31:31 -08:00
Anish Sarkar
6e1ca96d57 feat: add migration completion tracking to installation script 2026-02-27 22:59:51 +05:30
Anish Sarkar
57a1c71582 chore: upgrade Redis to version 8-alpine and ElectricSQL to version 1.4.10 in Docker Compose configuration 2026-02-27 22:26:02 +05:30
Anish Sarkar
848ad55071 chore: update URL links for production 2026-02-27 22:21:44 +05:30
Anish Sarkar
6626a0221c chore: update Redis and ElectricSQL Docker images to latest versions 2026-02-27 21:49:42 +05:30