Commit graph

7344 commits

Author SHA1 Message Date
Anish Sarkar
fd8d1273cd Merge remote-tracking branch 'upstream/ci_mvp' into feat/ci-ui-changes 2026-07-06 13:25:51 +05:30
Anish Sarkar
7c9cb5abd3 refactor(sidebar): update AllChatsSidebar styling and folder type validation
- Enhanced padding and gap in AllChatsSidebar for improved layout consistency.
- Adjusted skeleton and button sizes for better usability in chat components.
- Refactored folder type validation to ensure search_space_id is set based on workspace_id when missing.
2026-07-06 13:05:29 +05:30
Anish Sarkar
192b9840f2 refactor(sidebar): enhance layout and styling in FolderTreeView and AllChatsSidebar
- Removed unnecessary min-height and overflow properties in FolderTreeView and DocumentsSidebar for cleaner layout.
- Updated AllChatsSidebar to improve header styling and adjust padding for better visual consistency.
- Enhanced input and button sizes for improved usability across chat components.
2026-07-06 13:05:11 +05:30
Anish Sarkar
e24abd7eac refactor(sidebar): streamline DocumentsSidebar and FolderTreeView for improved performance
- Removed unnecessary filtering logic in FolderTreeView to simplify document rendering.
- Updated DocumentsSidebar to eliminate redundant props and enhance layout consistency.
- Adjusted Sidebar component to conditionally render DocumentsSidebar based on the documentsPanel state.
2026-07-06 12:49:41 +05:30
DESKTOP-RTLN3BA\$punk
035e777287 chore: remove proprietary README file
- Deleted the `README.md` from the `app/proprietary` directory, which outlined licensing and usage rules for proprietary components. This removal reflects a shift in project documentation strategy and simplifies the codebase.
2026-07-05 23:44:31 -07:00
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
Anish Sarkar
53259b6105 feat(sidebar): introduce SidebarListItem component for consistent sidebar item styling
- Added SidebarListItem component to standardize the appearance of sidebar items across DocumentNode and FolderNode.
- Refactored DocumentNode and FolderNode to utilize SidebarListItem for improved layout and interaction.
- Updated ChatListItem to leverage sidebarListItemClassName for consistent styling.
- Enhanced SidebarSection to improve content rendering and visibility transitions.
2026-07-06 11:44:45 +05:30
Anish Sarkar
312ae6f753 feat(sidebar): refactor DocumentsSidebar to utilize SidebarSection for improved layout
- Replaced div wrappers in AuthenticatedDocumentsSidebarBase and AnonymousDocumentsSidebar with SidebarSection for better structure and consistency.
- Updated EmbeddedDocumentsMenu to enhance document management functionality.
- Changed icon from MoreHorizontal to SlidersVertical for improved visual representation.
- Adjusted SidebarSection styling for better alignment and spacing.
2026-07-06 11:28:41 +05:30
Anish Sarkar
7bc47aada0 feat(sidebar): add embedded documents menu for enhanced document management
- Introduced EmbeddedDocumentsMenu component to facilitate document type filtering and folder creation.
- Updated AuthenticatedDocumentsSidebarBase and AnonymousDocumentsSidebar to integrate the new menu.
- Enhanced UI with dropdown functionality for improved user experience in document management.
2026-07-06 11:22:33 +05:30
Anish Sarkar
62c0573b1c feat(sidebar): enhance document management UI and improve layout structure
- Updated the FolderTreeView component to clarify upload instructions.
- Introduced a new renderDocumentTree function in DocumentsSidebar for better organization and readability.
- Refactored the Sidebar component to utilize SidebarSection for improved layout consistency.
- Added contentClassName prop to SidebarSection for flexible styling options.
2026-07-06 11:11:53 +05:30
Anish Sarkar
f11cc3868c feat(assistant-ui): add "Manage Connectors" option to ComposerAction and clean up DocumentsFilters component
- Introduced a new dropdown menu item for managing connectors in the ComposerAction component.
- Removed unused upload button and related props from the DocumentsFilters component for improved clarity and simplicity.
- Updated LayoutDataProvider and RightPanel components to streamline state management and enhance layout consistency.
2026-07-06 11:09:25 +05:30
Anish Sarkar
cda232101f feat(workspace): remove AI file sorting feature and related components 2026-07-06 10:50:20 +05:30
DESKTOP-RTLN3BA\$punk
576821fb40 chore: remove deprecated umbrella plan and related documents
- Deleted the `00-umbrella-plan.md`, `00b-pipeline-diagrams.md`, `01-rename-db.md`, `02-rename-backend.md`, `03a-crawler-core.md`, `03b-proxy-expansion.md`, and `03c-crawl-billing.md` files as they are no longer relevant to the current project structure.
- This cleanup reflects the architectural pivot and the shift towards a more streamlined documentation approach.
2026-07-05 22:11:24 -07:00
Anish Sarkar
72c2dd0e1b refactor(team): streamline TeamPage function parameters and improve layout constraints
- Simplified the TeamPage function parameter destructuring for better readability.
- Updated LayoutDataProvider to increase maximum width for specific pages, enhancing layout consistency.
- Adjusted ZeroProvider state management to use undefined instead of null for clarity in context handling.
2026-07-06 10:40:49 +05:30
Anish Sarkar
865e22aaa4 refactor(chats): simplify chat filtering logic in AllChatsSidebar 2026-07-06 10:37:53 +05:30
Anish Sarkar
29d4fde2c0 feat(chats): add filter dropdown for active and archived chats in AllChatsSidebar
- Implemented a dropdown menu to filter between active and archived chats.
- Removed the previous tabbed interface for filtering and replaced it with a more intuitive dropdown.
- Updated layout and styling for better user experience.
2026-07-06 10:37:21 +05:30
DESKTOP-RTLN3BA\$punk
4739cadc7e feat: add Reddit link to community strip and footer
- Integrated Reddit link into the CommunityStrip component for enhanced community engagement.
- Updated the FooterNew component to include a Reddit section with the corresponding icon.
- Modified JSON-LD structured data to include the Reddit URL for improved SEO and social media presence.
2026-07-05 21:57:39 -07:00
Anish Sarkar
420ce3e153 feat(chats): implement ChatsPage component and update layout for all chats functionality 2026-07-06 10:26:32 +05:30
DESKTOP-RTLN3BA\$punk
a7c3b2ae63 feat(schema): add API schema definitions for connectors
- Introduced a new schema structure for API connectors, including request and response fields.
- Updated connector implementations for Google Maps, Google Search, Reddit, Web Crawl, and YouTube to include detailed schema information.
- Enhanced the ConnectorPage component to render request and response schemas dynamically.
- Added SchemaField interface to standardize schema field definitions across connectors.
2026-07-05 21:49:30 -07:00
Anish Sarkar
248e3aae57 fix(layout): update routing paths for user and search space settings 2026-07-06 10:17:13 +05:30
Anish Sarkar
3719037c16 refactor(workspace): standardize component props to use workspaceId
- Updated component props across multiple files to replace searchSpaceId with workspaceId for consistency.
- Adjusted internal logic to maintain functionality while aligning with the new terminology.
2026-07-06 10:16:21 +05:30
Anish Sarkar
ec617c1c6b refactor(workspace): update terminology from search space to workspace
- Changed references from "search space" to "workspace" in various components for consistency.
- Updated the LayoutDataProvider to handle workspace data more effectively.
- Adjusted UI elements in IconRail and MobileSidebar to reflect the new terminology.
- Modified messages in the localization file to align with the updated terminology.
2026-07-06 10:09:30 +05:30
Anish Sarkar
c379ab1155 feat(workspace): refactor search space handling to workspace 2026-07-06 10:04:17 +05:30
DESKTOP-RTLN3BA\$punk
af7cdd3ca5 fix: update README files to correct image references and remove unnecessary elements
- Fixed image references in multiple language README files to ensure proper display.
- Removed unnecessary HTML elements for a cleaner presentation.
2026-07-05 21:27:27 -07:00
DESKTOP-RTLN3BA\$punk
93bec4a38e feat: announcements and readme rework 2026-07-05 21:23:25 -07:00
Anish Sarkar
e92b7a34ed feat(search-space): introduce activeWorkspaceIdAtom and refactor user-message component for improved readability
- Added activeWorkspaceIdAtom as a reference to activeSearchSpaceIdAtom.
- Refactored the UserTextPart component in user-message.tsx to simplify icon determination and tooltip logic, enhancing code clarity and maintainability.
2026-07-06 09:35:12 +05:30
Rohan Verma
dec4cd9a0d
Merge pull request #1574 from CREDO23/feature-mcp-server
[Feat] MCP: Add SurfSense MCP server for scrapers, KB, and workspaces
2026-07-05 20:48:15 -07:00
DESKTOP-RTLN3BA\$punk
7af3f535fc feat(pricing): enhance pricing page with SEO metadata and structured data
- Updated the pricing page to include improved SEO metadata, including title, description, and keywords.
- Added structured data using JsonLd for better search engine visibility.
- Revised pricing plan descriptions and features for clarity and accuracy.
- Enhanced link behavior for external pricing links to open in a new tab with appropriate security attributes.
- Updated FAQ sections to reflect changes in credit and billing explanations.
2026-07-05 20:45:23 -07:00
DESKTOP-RTLN3BA\$punk
66a34abe63 feat(skills): add new skills for animation vocabulary, design engineering, and review animations
- Introduced new skills in the skills-lock.json for animation vocabulary, emil design engineering, and review animations, enhancing the skill set available for users.
2026-07-05 20:29:51 -07:00
DESKTOP-RTLN3BA\$punk
fb5b0da816 feat(marketing): CI-first homepage, connector API pages, and hero chat demo
- Homepage rebuilt around competitive-intelligence positioning: connector grid,
  how-it-works, use-case art, compare table, FAQ, and a scripted new-chat hero
  demo (typewriter prompt, agent timeline, streamed answer, /login on send)
- Marketing pages for the Reddit/YouTube/Maps/SERP/Web Crawl scrape APIs at
  /<slug>, a /connectors hub, and a bespoke /mcp-connector page
- Remove stale app/dashboard/[search_space_id] tree that broke the build
  (canonical route is [workspace_id])

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 20:28:27 -07:00
CREDO23
faa6d6baea refactor(mcp): rename SURFSENSE_PAT to SURFSENSE_API_KEY 2026-07-06 03:40:36 +02:00
CREDO23
b2bf925f63 test(mcp): cover dropping of unset query params 2026-07-06 03:17:25 +02:00
CREDO23
abbb43632f fix(mcp): omit unset query params from REST requests 2026-07-06 03:17:25 +02:00
CREDO23
cb22cc4bfc fix(backend): read page_content on extension document ingestion 2026-07-06 03:17:25 +02:00
CREDO23
479ca3bbee feat(mcp): add server entrypoint and test suite 2026-07-06 02:29:19 +02:00
CREDO23
34efe3aa44 feat(mcp): add knowledge base tools 2026-07-06 02:29:19 +02:00
CREDO23
39dd413711 feat(mcp): add scraper tools for all platforms 2026-07-06 02:29:19 +02:00
CREDO23
bbb21fb010 feat(mcp): add workspace selector tools 2026-07-06 02:29:19 +02:00
CREDO23
26dbc64b4a feat(mcp): add response rendering helpers 2026-07-06 02:29:19 +02:00
CREDO23
439796ea15 feat(mcp): add workspace resolution context 2026-07-06 02:29:19 +02:00
CREDO23
a524fc77cc feat(mcp): add authenticated REST client 2026-07-06 02:29:19 +02:00
CREDO23
eda0249aec feat(mcp): add environment-based configuration 2026-07-06 02:29:19 +02:00
CREDO23
23bff86d10 chore(mcp): scaffold surfsense-mcp package 2026-07-06 02:29:19 +02:00
CREDO23
800c0e55fd feat(backend): expose semantic document search endpoint 2026-07-06 02:29:19 +02:00
DESKTOP-RTLN3BA\$punk
80927a2872 feat(billing): meter platform scrapers per item; consolidate web scraping onto web.crawl
Add per-item, per-platform billing for the platform-native connectors (Reddit, Google Search, Google Maps places/reviews, YouTube videos/comments) through the capability gate/charge seam. Rates are config-driven with a shared wallet-credit module (wallet_credit) and a dedicated PlatformScrapeCreditService; agent and REST capability runs now record cost_micros. Google Maps scrape dual-meters places and attached reviews.

Remove the main-agent scrape_webpage tool now that the web.crawl capability covers single-page (maxCrawlDepth=0) and site crawling. The main agent now reaches crawling via task(web_crawler, ...). Update prompts, tool catalog, receipts, skills, proprietary docs, and tests; drop the obsolete chat-turn crawl fold path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 17:08:01 -07:00
Rohan Verma
b8285a0b72
Merge pull request #1573 from AnishSarkar22/feat/ci-ui-changes
feat: add frontend skill
2026-07-05 15:28:14 -07:00
Anish Sarkar
4ca66d8f93 refactor(frontend-design): enhance guidance for UI design with expanded principles 2026-07-06 03:52:30 +05:30
Anish Sarkar
bdeeeb7e88 feat(frontend-design): add comprehensive guidance for distinctive visual design 2026-07-06 03:30:17 +05:30
DESKTOP-RTLN3BA\$punk
fd45e76f70 feat(agents): sharpen lead-list quality and Maps/Search routing boundary
Learned from lead-generation e2e runs (medical EMR, AI study app):

- routing.md: requested-N lists must be distinct entities that fit the
  asked segment - branches/locations of one parent count once, parent
  website domain is an ownership signal, fill shortfalls by widening
  discovery instead of padding; place-shaped discovery routes to the
  Maps specialist, open-web/enrichment to Search.
- google_maps prompt: exclusion criteria are strict (a satellite of an
  excluded chain is still that chain); shared parent domains mean one
  organization judged against the parent.
- google_search prompt: pure place-discovery tasks return blocked with
  a next_step pointing to the Maps specialist.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 04:37:24 -07:00