Commit graph

961 commits

Author SHA1 Message Date
Anish Sarkar
356f0e56c5 feat(model-connections): add provider-specific connection forms and shared components 2026-06-12 22:04:44 +05:30
Anish Sarkar
ad404b2dbc refactor(icons): replace Workflow icon with Clock3 across automation components 2026-06-12 05:15:15 +05:30
Anish Sarkar
8e8cf96faa feat(error-handling): implement LLM error adaptation and classification for chat streaming
- Introduced LLMErrorCategory and adapt_llm_exception to normalize LLM exceptions.
- Updated llm_retryable_message and llm_permanent_message to utilize the new adaptation logic.
- Enhanced classify_stream_exception to classify provider errors and return user-friendly messages.
- Added tests for error classification and adaptation to ensure robustness.
- Updated frontend error handling to display appropriate messages based on new classifications.
2026-06-12 05:03:14 +05:30
Anish Sarkar
72a7fe04b5 Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:20:46 +05:30
Rohan Verma
aee0c1a3ac
Merge pull request #1481 from AnishSarkar22/fix/chat-stream-flicker
fix(chat): stabilize active thread rendering and top-anchored scrolling
2026-06-11 14:47:15 -07:00
Anish Sarkar
908790e40f Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:15:28 +05:30
CREDO23
41f4a58663 Merge remote-tracking branch 'upstream/dev' into improvement-podcast-graph
# Conflicts:
#	surfsense_backend/app/tasks/celery_tasks/podcast_tasks.py
2026-06-11 23:14:49 +02:00
Anish Sarkar
e7762cda97 feat(chat): enhance thread component with active thread handling and improve message loading logic 2026-06-12 02:42:16 +05:30
Anish Sarkar
610ff063d6 refactor(model-connections): update frontend for provider-based models 2026-06-12 02:17:51 +05:30
DESKTOP-RTLN3BA\$punk
c3695e7837 feat: update auto-reload settings and enhance payment session creation
- Added currency parameter to the Stripe checkout session for auto-reload setup.
- Integrated AutoReloadSettings component into the BuyMorePage for improved user experience.
- Removed deprecated AutoReloadSettings component from user settings directory.
- Updated import paths for AutoReloadSettings in purchases page to reflect new structure.
2026-06-11 13:29:40 -07:00
CREDO23
ccd8209d12 refactor(podcasts): drop chat podcast polling state 2026-06-11 10:04:51 +02:00
DESKTOP-RTLN3BA\$punk
a7407502d3 feat(refactor): refactor payment system to implement unified credit wallet.
- Updated environment variables and - configurations for credit purchases via Stripe, replacing legacy page pack system.
- Introduced auto-reload feature for credit top-ups and modified database models to track credit transactions.
- Updated notification system to handle insufficient credits and auto-reload failures.
- Adjusted API routes and schemas to reflect changes in credit management.
2026-06-10 16:49:03 -07:00
Anish Sarkar
39cca36c31 feat(onboarding): include model connections in setup flow 2026-06-10 21:49:55 +05:30
Anish Sarkar
4bda0ffa96 feat(settings): add model connection management UI 2026-06-10 21:49:33 +05:30
Anish Sarkar
32ab2b8713 feat(web): expose model policies in automations 2026-06-10 21:49:07 +05:30
DESKTOP-RTLN3BA\$punk
ce952d2ad1 chore: linting 2026-06-09 00:42:26 -07:00
Anish Sarkar
901c72cdcc feat(onboarding): implement onboarding completion check utility
- Added a new utility function `isLlmOnboardingComplete` to determine if the onboarding process is complete based on the agent LLM ID and the presence of global configurations.
- Updated the onboarding logic in the `OnboardPage` and `DashboardClientLayout` components to utilize the new utility function for improved readability and maintainability.
2026-06-07 17:53:18 +05:30
Anish Sarkar
08801fe3e8 feat(chat): implement chat tab synchronization and enhance thread activation with new hooks for improved navigation and metadata management 2026-06-04 18:16:33 +05:30
Anish Sarkar
168c0d2f89 feat(chat): add cached thread prefetching for faster navigation 2026-06-04 16:46:45 +05:30
Anish Sarkar
8b704b2fef feat(chat): Introduce centralized thread metadata management and update chat visibility handling with new hooks for thread mutations 2026-06-04 14:15:48 +05:30
Anish Sarkar
1fb15cb0e4 refactor(buy-more): Remove motion effects from BuyMorePage and delete unused loading component 2026-06-04 12:15:34 +05:30
Anish Sarkar
e427501482 feat(web): Remove summary controls from the web app 2026-06-04 00:52:45 +05:30
Anish Sarkar
ae9c346015 refactor(dashboard): improve layout and accessibility of TeamContent and TriggerCard components, enhancing button visibility and member display 2026-06-03 21:49:17 +05:30
Anish Sarkar
2ba30837a9 refactor(automations): enhance TriggerCard component with improved scheduling options, including frequency selection and custom cron input 2026-06-03 21:30:24 +05:30
Anish Sarkar
282c0495c0 refactor(automations): enhance automation definition section with collapsible execution defaults, improve layout, and update UI elements for better readability 2026-06-03 20:40:27 +05:30
Anish Sarkar
14f339bba0 refactor(automations): enhance UI layout and styling for automation components, including adjustments to spacing, alignment, and badge presentation 2026-06-03 19:47:33 +05:30
Anish Sarkar
75c8063bea refactor(automations): improve UI consistency by updating alert messages, enhancing task item layout, and refining timezone selection component 2026-06-03 03:41:03 +05:30
Anish Sarkar
eabbfb8c67 refactor(automations): replace error and notice displays with Alert components 2026-06-03 00:45:45 +05:30
Anish Sarkar
2e64d5d3de Merge remote-tracking branch 'upstream/dev' into feat/whatsapp-gateway-integration 2026-06-02 01:22:32 +05:30
CREDO23
ca66bff02b feat(automations): render live step ticker, defer REST until terminal
Step results now render from the synced Zero row so the panel ticks
forward as the run progresses. The REST getRun call is gated on the
run reaching a terminal status, since output/artifacts/error are only
written at terminal mark.
2026-06-01 21:02:54 +02:00
CREDO23
d8db3159d6 feat(automations): forward live status and steps to run details panel 2026-06-01 21:02:47 +02:00
Anish Sarkar
e3de7c4667 Merge remote-tracking branch 'upstream/dev' into feat/whatsapp-gateway-integration 2026-06-02 00:29:32 +05:30
Anish Sarkar
799a83239f feat(gateway): add Slack and Telegram gateway configuration and enablement checks 2026-06-01 23:58:28 +05:30
Anish Sarkar
fc2467be3d feat(gateway): improve WhatsApp account mode handling and connection filtering 2026-06-01 23:08:56 +05:30
Anish Sarkar
a151e8f729 feat(gateway): enhance WhatsApp account management and connection handling 2026-06-01 22:49:46 +05:30
Anish Sarkar
2d1a6be776 feat(gateway): implement search space management for messaging channels 2026-06-01 21:39:09 +05:30
Anish Sarkar
455a3ee021 feat(web): add Discord messaging channel setup 2026-06-01 20:59:52 +05:30
Anish Sarkar
ad24c3a369 feat(web): add Slack messaging channel setup 2026-06-01 12:37:35 +05:30
DESKTOP-RTLN3BA\$punk
9d1a01eb0c refactor(automations): streamline model eligibility handling in automation creation
- Removed the eligibility gate for model selection in the automation creation process, allowing users to choose models directly in the builder.
- Updated the `AutomationBuilderForm` to incorporate model selection logic, ensuring that selected models are validated and preserved during automation creation and editing.
- Simplified the `AutomationsContent` and `AutomationNewContent` components by eliminating unnecessary eligibility checks and alerts.
- Enhanced the user experience by integrating model selection directly into the automation approval process, ensuring that only billable models are used.
- Refactored related tests to cover new model selection behavior and ensure proper validation of user-selected models.
2026-05-29 20:27:40 -07:00
DESKTOP-RTLN3BA\$punk
fade9d1b9d feat(run-details-panel): enhance run details display and error handling
- Improved the layout and readability of the run details panel by restructuring sections and adding collapsible error views.
- Introduced a new `RunErrorSection` component to present run-level errors more clearly, allowing users to toggle raw error details.
- Updated the handling of run outputs, step results, and artifacts for better user experience.
- Refactored duration calculation in `RunRow` to utilize a dedicated `formatDuration` function for consistency.
- Added a new `RunStepResult` interface to improve type safety and clarity in handling step results.
2026-05-29 13:43:58 -07:00
DESKTOP-RTLN3BA\$punk
409fec94c3 feat(automations): implement model eligibility checks for automation creation
- Added model eligibility checks to ensure automations can only use billable models (premium or BYOK).
- Introduced new API endpoint to report model eligibility status for search spaces.
- Updated frontend components to display eligibility alerts and disable creation options when models are not billable.
- Enhanced automation creation forms to reflect model eligibility, preventing users from submitting invalid configurations.
- Implemented server-side logic to capture and preserve model preferences across automation edits, ensuring consistent behavior during execution.
2026-05-29 03:13:46 -07:00
Anish Sarkar
389a51d494 feat(gateway): enhance WhatsApp bridge with pairing timeout and health check integration 2026-05-29 13:37:45 +05:30
DESKTOP-RTLN3BA\$punk
40ca9e6ed2 refactor: remove search_surfsense_docs tool and related references
- Deleted the `search_surfsense_docs` tool and its associated files, streamlining the agent's toolset.
- Updated various components and prompts to remove references to the now-removed tool, ensuring consistency across the codebase.
- Adjusted documentation to direct users to the SurfSense documentation link for product-related queries instead.
2026-05-28 22:35:14 -07:00
Anish Sarkar
bba33b5947 feat(web): add WhatsApp messaging channel controls 2026-05-29 10:21:37 +05:30
DESKTOP-RTLN3BA\$punk
6b76f8c138 refactor(automations): update icons and button labels in empty state and header components
- Replaced the FileJson icon with SquarePen in both AutomationsEmptyState and AutomationsHeader components.
- Updated button label from "Create via JSON" to "Create manually" for clarity in the automation creation process.
2026-05-28 21:29:24 -07:00
DESKTOP-RTLN3BA\$punk
d013617bf6 feat(automations): added UI and improved mentions
- Added support for @-mentions in agent tasks, allowing users to reference documents, folders, and connectors directly in their queries.
- Updated `run_agent_task` to resolve mentions and include them in the context passed to the agent.
- Introduced new parameters in `AgentTaskActionParams` for handling mentioned document and connector IDs.
- Refactored the automation edit and new components to utilize the new `AutomationBuilderForm` for a more streamlined user experience.
- Removed deprecated JSON forms to simplify the automation creation process.
2026-05-28 21:26:32 -07:00
DESKTOP-RTLN3BA\$punk
94e834134f chore: linting 2026-05-28 19:21:29 -07:00
Rohan Verma
4dda02c06c
Merge pull request #1443 from CREDO23/feature-automations
[Feat] Automation V1 — Scheduled Agent Tasks, Created via Chat (HITL) or JSON
2026-05-28 12:41:41 -07:00
CREDO23
4f202e1fa3 feat(web): inline edit on trigger cards 2026-05-28 17:58:00 +02:00
CREDO23
fa0cdb9760 feat(web): unified json viewer/editor + edit existing automation 2026-05-28 16:07:54 +02:00