Commit graph

2380 commits

Author SHA1 Message Date
Anish Sarkar
9f853b692c refactor(sidebar): update SidebarSection transition styles for improved visibility 2026-07-06 13:28:02 +05:30
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
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
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
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
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
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
yagitoshiro
24ff4b7d93 fix(web): don't submit chat on Enter during IME composition
The chat composers submit on Enter without checking whether an IME
composition is active. For Japanese/Chinese/Korean input, pressing Enter
to confirm a conversion fires the submit handler and sends a half-typed
message. Guard the Enter handlers with e.nativeEvent.isComposing in the
main chat editor, the anonymous free composer, and the mention/prompt
picker key navigation.
2026-06-28 13:13:46 +09:00
Anish Sarkar
f14c471a03 refactor(ZeroProvider): simplify route handling by removing desktop check for public routes 2026-06-26 22:15:48 +05:30
Anish Sarkar
4b6bcaeb1b refactor(auth): reuse desktop token cache in API clients 2026-06-26 22:04:59 +05:30
Anish Sarkar
4c257e9122 refactor(auth): route session and zero context through shared fetch 2026-06-26 22:04:23 +05:30
Anish Sarkar
23c128dd0d feat: improve fetchZeroContext with enhanced session handling
- Refactored fetchZeroContext to include a buildHeaders function for better header management.
- Added a request function to handle 401 errors and refresh sessions as needed.
- Improved overall session management for desktop authentication.
2026-06-26 21:24:44 +05:30
DESKTOP-RTLN3BA\$punk
1bf7f116d6 chore: linting 2026-06-25 20:20:26 -07:00
DESKTOP-RTLN3BA\$punk
9642d7ced0 feat: antropic model added fix & kb tooling fixes
- Updated main-agent middleware to clarify that both filesystem reads/writes and knowledge-base retrieval are handled by the `knowledge_base` subagent.
- Introduced `_forward_mention_pins` function to carry `@`-mention pins into subagent state.
- Revised system prompts to reflect the new retrieval method and ensure proper citation handling.
- Removed the `search_knowledge_base` tool and its related tests, consolidating functionality under the `task` tool.
- Enhanced documentation to guide usage of the new retrieval approach and citation practices.
2026-06-25 20:19:44 -07:00
Rohan Verma
96e42a1003
Merge pull request #1536 from CREDO23/feature-mention-chat-in-chat
[Feat] Chat : Reference past chats via @-mention as read-only context
2026-06-25 13:32:25 -07:00
Rohan Verma
efa9efc80b
Merge pull request #1532 from CREDO23/imporve-artifacts-accessibility
[Feat] Artifacts sidebar for chat deliverables
2026-06-25 13:31:45 -07:00
Anish Sarkar
d5e2540e51 refactor(api): rename personal access tokens to API keys and update related UI components for consistency 2026-06-25 23:22:11 +05:30
Anish Sarkar
d6bffa6f07 chore: fix linting 2026-06-25 04:31:22 +05:30
Anish Sarkar
e1beab798a fix(zero): enhance zero context fetching with desktop authentication 2026-06-24 12:24:27 +05:30
Anish Sarkar
9b982f575a fix(tools):use authenticated tool requests 2026-06-24 03:59:34 +05:30
Anish Sarkar
83ee9aa7ea fix(web):align shared session utilities 2026-06-24 03:59:27 +05:30
Anish Sarkar
6e4d2eb076 fix(panels):use session aware asset requests 2026-06-24 03:57:23 +05:30
Anish Sarkar
b4328cd52b fix(documents):use authenticated document access 2026-06-24 03:55:40 +05:30
Anish Sarkar
fc2c4ad331 fix(connectors):use authenticated connector requests 2026-06-24 03:55:40 +05:30
Anish Sarkar
0ef8a0f2c9 fix(zero):refresh authenticated zero context 2026-06-24 03:55:40 +05:30
Anish Sarkar
c8ac7d3fa6 fix(web):remove token callback handling 2026-06-24 03:55:40 +05:30
CREDO23
2d1ccb468a fix(chat): capture mention chips at submit so they aren't dropped
The composer cleared the live mention atom synchronously on send (via the
editor reset), which raced the async onNew handler that read it — dropping
every @-mention (docs, folders, connectors, and the new chat references)
from the request.

handleSubmit now snapshots the chips before clearing, and onNew consumes
that snapshot (falling back to the live atom for the send-button path),
derives the payload via deriveMentionedPayload, and sends mentioned_thread_ids.
2026-06-23 18:30:39 +02:00
CREDO23
1d5c364e1d feat(chat): surface chat references in the @-mention UI
Add a Chats tab to the mention picker (excluding the current chat), carry
the "thread" kind through the inline editor's chip nodes, and render thread
chips on user messages with navigation to the referenced conversation.
2026-06-23 18:30:29 +02:00
CREDO23
9c622ae3f3 fix: don't autoplay video presentations 2026-06-23 15:28:42 +02:00