Commit graph

26 commits

Author SHA1 Message Date
Anish Sarkar
3f21d5fdd6 Merge remote-tracking branch 'upstream/dev' into fix/changelogs 2026-06-10 10:57:21 +05:30
DESKTOP-RTLN3BA\$punk
41ff57101c feat: made chat fast
- Introduced lazy knowledge base retrieval mode, allowing the main agent to fetch KB content on demand via the `search_knowledge_base` tool, improving performance by skipping expensive pre-injection processes.
- Added cross-thread caching capability, enabling reuse of compiled graphs across different user chats, reducing latency for returning users.
- Updated middleware to support new lazy loading and caching features, ensuring efficient resource utilization and improved response times.
- Enhanced logging for performance tracking during knowledge retrieval and agent interactions.
2026-06-09 04:45:17 -07:00
Anish Sarkar
32812b5f66 feat(ui): enhance chat example prompts and improve layout
- Added a new backend URL import to the route file for better configuration.
- Updated the Composer component to use a relative positioning class for improved layout.
- Refactored the ChatExamplePrompts component to enhance the display of active categories and prompts, including a close button for better user interaction.
2026-06-09 12:09:49 +05:30
DESKTOP-RTLN3BA\$punk
6d1d00ebbc Merge commit '61adc80615' into dev 2026-06-08 12:51:38 -07:00
Anish Sarkar
39bc903eab refactor(api): replace backend URL constant with dynamic function for improved flexibility
- Updated the backend URL initialization to use a function that retrieves the URL from environment variables, enhancing configurability for different environments.
2026-06-07 17:05:14 +05:30
DESKTOP-RTLN3BA\$punk
0bbeedda07 fix(route): update backend URL handling for internal Docker network
- Modified backend URL assignment to ensure it resolves correctly within the internal Docker network, preventing 503 errors for authenticated Zero queries.
- Added comments to clarify the routing behavior and the necessity of using the internal backend URL.
2026-06-01 18:33:08 -07:00
DESKTOP-RTLN3BA\$punk
94e834134f chore: linting 2026-05-28 19:21:29 -07:00
Varun Shukla
fead3a64f4 refactor(env): replace inline process.env reads with BACKEND_URL in editor, chat, dashboard and settings 2026-05-20 03:34:22 +05:30
Anish Sarkar
3eb4d55ef5 chore: ran linting 2026-04-22 06:40:39 +05:30
Anish Sarkar
9ecccc5403 feat: implement dynamic API proxying to FastAPI backend
- Added a new route handler for dynamic API requests, allowing proxying to the FastAPI backend.
- Removed the previous rewrite configuration in next.config.ts for cleaner integration.
- Updated .env.example to clarify backend URL usage.
2026-04-22 05:44:03 +05:30
Anish Sarkar
1abbc6021f feat: add internal backend URL configuration and enhance server URL handling in SurfSense settings 2026-04-21 11:08:36 +05:30
CREDO23
657f546908 fix: always render ZeroProvider, allow anon queries without 401 2026-03-24 16:59:42 +02:00
CREDO23
5c98f1c717 add ZERO_MUTATE_URL and no-op mutate endpoint for zero-cache auth passthrough 2026-03-24 16:25:13 +02:00
CREDO23
a74aa4da4f add auth to Zero query endpoint and ZeroProvider 2026-03-24 16:06:20 +02:00
CREDO23
8dd539c384 feat: add Zero query endpoint and configure ZERO_QUERY_URL
- Create app/api/zero/query/route.ts — resolves named queries to ZQL
  using handleQueryRequest and mustGetQuery from @rocicorp/zero
- Add ZERO_QUERY_URL to both docker-compose files:
  - dev: http://host.docker.internal:3000 (reaches local Next.js from Docker)
  - prod: http://frontend:3000 (Docker service networking)

Without this endpoint, zero-cache cannot resolve named queries and
no data syncs to the client.
2026-03-23 20:58:42 +02:00
Anish Sarkar
8b497da130 feat: add source_markdown column to documents and implement migration logic for existing records using a pure-Python BlockNote JSON to Markdown converter 2026-02-17 11:34:11 +05:30
DESKTOP-RTLN3BA\$punk
947087452f feat: new chat working stateless. Added citation logic. 2025-12-20 23:15:49 -08:00
CREDO23
3208f9bd7b add new chat page 2025-12-20 18:35:39 +02:00
DESKTOP-RTLN3BA\$punk
b25c1cd4b4 feat: migrated from zod v3 to v4 2025-12-20 05:10:47 -08:00
Anish Sarkar
3fac196c35 code quality issues fixed 2025-11-23 16:39:23 +05:30
Anish Sarkar
e68286f22e introduced blocknote editor 2025-11-23 15:23:31 +05:30
DESKTOP-RTLN3BA\$punk
1a1530957a feat: contact to frontpage and biome 2025-09-30 22:15:55 -07:00
DESKTOP-RTLN3BA\$punk
ba62489715 feat: added drizzle for contact management 2025-09-30 21:36:07 -07:00
Utkarsh-Patel-13
4d7cb00fa7 Biome: fixes for app/(api, login, onboard, register, settings) directories 2025-07-27 10:49:14 -07:00
Utkarsh-Patel-13
758603b275 Initial formatting using biome 2025-07-27 10:05:37 -07:00
DESKTOP-RTLN3BA\$punk
0436d2ab64 feat: Added FumaDocs 2025-04-22 02:24:13 -07:00