SurfSense/surfsense_backend/app/routes
CREDO23 49da7a57df Merge remote-tracking branch 'upstream/dev' into improvement-agent-speed
Resolves: surfsense_backend/app/agents/new_chat/middleware/memory_injection.py
- Took both imports: upstream moved MEMORY_HARD_LIMIT/SOFT_LIMIT to
  app.services.memory; kept our perf-logger import for timing.

Pulls in upstream changes:
- Memory document feature (services/memory refactor, removal of
  app.agents.new_chat.memory_extraction and background extraction in
  stream_new_chat — agent now drives memory via update_memory tool).
- BACKEND_URL env refactor across web tool-ui/editor/chat/dashboard/lib.
- GitHub Actions backend test workflow + pre-commit biome bump.
- Token-display polish in MessageInfoDropdown; save_memory no-update
  sentinel.

Verified: 1723 unit tests pass, ruff clean. No semantic regression in
stream_new_chat (their memory-extraction deletion and our preflight
removal touch different functions).
2026-05-20 21:23:48 +02:00
..
__init__.py feat: add team memory routes 2026-05-20 02:02:27 +05:30
agent_action_log_route.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
agent_flags_route.py feat: moved most things behind correct feature flag 2026-05-02 23:10:48 -07:00
agent_permissions_route.py chore: linting 2026-04-28 21:37:51 -07:00
agent_revert_route.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
airtable_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
anonymous_chat_routes.py feat: fix anonymous chat message history 2026-04-16 16:18:21 -07:00
auth_routes.py
chat_comments_routes.py
circleback_webhook_route.py
clickup_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
composio_routes.py fix: fixed composio issues 2026-05-02 21:16:03 -07:00
confluence_add_connector_route.py feat: initial files for jira and confluence HITL tool 2026-03-21 12:16:44 +05:30
discord_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
documents_routes.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
dropbox_add_connector_route.py feat: implement cursor-based delta sync for Dropbox integration, enhancing file indexing efficiency and preserving folder cursors during re-authentication 2026-04-06 18:36:29 +05:30
editor_routes.py refactor: improve document processing error handling and UI state management 2026-04-13 22:22:50 +05:30
export_routes.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
folders_routes.py feat: update folder deletion process to queue document deletions first and handle folder cleanup in Celery task 2026-04-03 04:16:19 +05:30
google_calendar_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
google_drive_add_connector_route.py chore: ran linting 2026-04-04 03:37:33 +05:30
google_gmail_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
image_generation_routes.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
incentive_tasks_routes.py feat: integrate Stripe for page purchases and reconciliation tasks 2026-03-31 18:39:45 -07:00
jira_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
linear_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
logs_routes.py
luma_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
mcp_oauth_route.py refactor(mcp): per-connector cache refresh on lifecycle events 2026-05-20 17:43:27 +02:00
memory_routes.py feat: enhance memory API responses with limits and update UI components for memory limit handling 2026-05-20 03:17:05 +05:30
model_list_routes.py style: simplify LLM model terminology in UI 2026-04-02 10:11:35 +05:30
new_chat_routes.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
new_llm_config_routes.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
notes_routes.py
notifications_routes.py fix: critical timestamp parsing and audit fixes 2026-03-23 19:49:28 +02:00
notion_add_connector_route.py chore: ran linting 2026-03-21 13:21:19 +05:30
oauth_connector_base.py chore: linting 2026-04-27 14:04:50 -07:00
obsidian_plugin_routes.py feat: add server time to obsidian connect responses and enhance error handling 2026-04-25 03:57:07 +05:30
onedrive_add_connector_route.py chore: ran linting 2026-03-30 01:50:41 +05:30
podcasts_routes.py
prompts_routes.py Fix review issues: authz, race conditions, UX safety, and consolidate migrations 2026-03-31 19:09:05 +02:00
public_chat_routes.py feat: add public report PDF preview endpoint and update report content handling for Typst-based resumes 2026-04-16 22:51:36 +05:30
rbac_routes.py feat: add last_login column to user table and update user login tracking 2026-03-08 18:24:29 +05:30
reports_routes.py feat: add PDF preview and export functionality for Typst-based reports, enhance report content handling 2026-04-15 21:11:27 +05:30
sandbox_routes.py feat: enhance sandbox functionality with threading support and file download capabilities 2026-04-13 16:41:46 -07:00
search_source_connectors_routes.py refactor(mcp): per-connector cache refresh on lifecycle events 2026-05-20 17:43:27 +02:00
search_spaces_routes.py feat: add team memory routes 2026-05-20 02:02:27 +05:30
slack_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
stripe_routes.py fix: metadata extraction in Stripe checkout session 2026-05-05 01:26:41 -07:00
surfsense_docs_routes.py refactor: add public URL handling for SurfSense documents across various components and schemas 2026-05-15 02:05:11 +05:30
team_memory_routes.py feat: enhance memory API responses with limits and update UI components for memory limit handling 2026-05-20 03:17:05 +05:30
teams_add_connector_route.py set is_indexable=False for all live connector add routes 2026-04-21 21:52:43 +02:00
video_presentations_routes.py feat: init video presentation agent 2026-03-21 22:13:41 -07:00
vision_llm_routes.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
youtube_routes.py feat: expand report export functionality to support multiple formats (PDF, DOCX, HTML, EPUB, etc.) and enhance UI for format selection 2026-03-09 18:31:14 -07:00