Commit graph

28 commits

Author SHA1 Message Date
Anish Sarkar
a8c1fb660d feat(rename): complete searchSpace to workspace transition across frontend and backend
- Introduced a comprehensive specification for renaming `searchSpace` to `workspace` in `surfsense_web` and `surfsense_desktop`, ensuring all TypeScript identifiers, React props, and local data structures are updated.
- Implemented migration shims for persisted local state to prevent data loss during the transition.
- Updated observability metrics and IPC channels to reflect the new naming convention.
- Removed legacy `active-search-space` module and replaced it with `active-workspace` to maintain consistency.
- Ensured no behavioral changes or data loss for users during the renaming process.
2026-07-06 15:12:40 +05:30
DESKTOP-RTLN3BA\$punk
a64c8205fe feat: implement ensure_publication for zero_publication management
- Added the ensure_publication function to create and verify the zero_publication if it is missing, ensuring idempotency during database initialization.
- Integrated ensure_publication into the create_db_and_tables function to prevent zero-cache crash loops on startup.
- Introduced a self-check script to validate the ensure_publication functionality on a create_all-bootstrapped database.
- Updated various components to reflect the transition from search space to workspace, including adjustments in imports and routing paths.
2026-07-05 23:17:13 -07:00
DESKTOP-RTLN3BA\$punk
7562bc78ee feat: zero_publication on startup and init migration from search space to workspace. 2026-07-05 23:16:46 -07:00
DESKTOP-RTLN3BA\$punk
ab747e7a49 feat(agents): consolidate connectors under mcp_discovery; route web search through google_search
MCP consolidation:
- Route all MCP-capable connectors (Slack, Jira, Linear, ClickUp, Airtable,
  Notion, Confluence, interim Gmail/Calendar, custom MCP) through a single
  `mcp_discovery` subagent. Drive/OneDrive/Dropbox stay native to enrich the KB.
- Deprecate Discord/Teams/Luma: no viable official MCP server.

Google-only web search:
- Remove the main-agent `web_search` tool and the SearXNG platform service;
  all public web search now flows through the `google_search` subagent via task().
- Deprecate the Tavily/SearXNG/Linkup/Baidu search connectors (HTTP 410 on
  create, "Deprecated" badge); guide heavy users to the custom MCP connector.
- Remove web search from anonymous chat (pure Q&A).
- Tear SearXNG out of docker compose + install scripts; drop tavily-python
  and linkup-sdk deps and their config/env vars.

Fix:
- metrics._package_version() now swallows any metadata lookup failure. A
  malformed editable-install distribution with no `Version` field raised
  KeyError deep in importlib.metadata, and since it runs on every
  record_subagent_invoke_duration call it was crashing every task()
  delegation. Verified end-to-end against live GPT-5.4.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 21:06:04 -07:00
Anish Sarkar
f98d874185 fix(dashboard):use session aware loading 2026-06-24 03:59:19 +05:30
Anish Sarkar
f19f31e51c refactor(editor): remove truncation logic and related properties from editor content response 2026-06-05 15:32:26 +05:30
Anish Sarkar
640238e1af feat(editor): increase editor byte limit to 5MB and implement UTF-8 truncation for document content 2026-06-05 14:57:52 +05:30
Anish Sarkar
cf8a2d0759 feat(editor): implement viewer mode for large documents, switching between 'plate' and 'monaco' editors based on document size 2026-06-05 14:23:18 +05:30
Anish Sarkar
275e2c9e83 chore: fix linting 2026-05-12 04:00:04 +05:30
Anish Sarkar
b247ff37df chore: implement test-only token mint endpoint and update E2E test authentication flow 2026-05-11 19:48:18 +05:30
Anish Sarkar
68f45335bc chore: implement E2E testing setup with Docker Compose and update workflow for backend and Redis services 2026-05-11 03:09:01 +05:30
Anish Sarkar
dbf575fbd0 chore: ran linting 2026-05-09 05:16:20 +05:30
Anish Sarkar
68e1d78d23 test(e2e): wire ClickUp Playwright fixtures 2026-05-08 13:13:08 +05:30
Anish Sarkar
7303e3ebb3 test(e2e): wire Dropbox Playwright fixtures 2026-05-08 12:28:26 +05:30
Anish Sarkar
2d78dda487 test(e2e): add OneDrive connector Playwright journey 2026-05-08 03:48:58 +05:30
Anish Sarkar
029f2168b3 test(e2e): add Slack connector Playwright journey 2026-05-08 03:09:11 +05:30
Anish Sarkar
e5889053c2 test(web): add Confluence OAuth fixture 2026-05-08 01:10:12 +05:30
Anish Sarkar
ddfbe0b611 test(web): add Jira OAuth fixture 2026-05-08 00:15:39 +05:30
Anish Sarkar
a60ff02b93 test(web): add Linear OAuth fixture 2026-05-07 23:15:52 +05:30
Anish Sarkar
51db3546a9 test(web): add Notion OAuth fixture 2026-05-07 22:22:24 +05:30
Anish Sarkar
d257e15e49 test(web): add native Google Calendar OAuth fixture 2026-05-07 04:42:45 +05:30
Anish Sarkar
9dafd38e19 test(web): add native Google Gmail live-tool journey 2026-05-07 04:23:20 +05:30
Anish Sarkar
92dd967bf1 test(web): add native Google Drive E2E journey 2026-05-07 03:59:58 +05:30
Anish Sarkar
a2af4be359 test(web): assert Gmail journey uses live tools only 2026-05-07 03:16:20 +05:30
Anish Sarkar
b01173fe07 test(web): add Composio Gmail E2E journey 2026-05-07 02:52:41 +05:30
Anish Sarkar
dedccd5c1c test(web): add chat-stream helper, thread fixture, and smoke spec 2026-05-06 21:36:33 +05:30
Anish Sarkar
8536bac29a test(backend): enhance Drive file filtering and add unit tests for _drive_list_files 2026-05-06 17:58:58 +05:30
Anish Sarkar
ae0caad292 test(web): add shared Playwright E2E helpers and search-space fixture 2026-05-06 17:21:40 +05:30