Commit graph

6529 commits

Author SHA1 Message Date
CREDO23
28b13ed25b refactor(agents): move context schema + state reducers to app/agents/shared (slice 2)
Continue promoting the shared agent toolkit out of `new_chat` into the
cross-agent `app/agents/shared` kernel.

- state_reducers.py: clean move (no single-agent importer); all 7 importers
  flipped to app.agents.shared.state_reducers.
- context.py: moved to app.agents.shared.context; flipped the multi-agent,
  app, automations, chat-flows and monolith importers. A thin re-export shim
  remains at new_chat/context.py because the not-yet-retired single-agent
  (chat_deepagent) and the new_chat package __init__ still import it; the shim
  goes away with the single-agent deletion.
- Updated the stream parity test's annotation normalizer to strip the new
  app.agents.shared.context. prefix (SurfSenseContextSchema.__module__ changed
  with the move), keeping monolith<->flows signature parity intact.

Behavior-preserving: definitions unchanged; only import paths move. 1219 tests green.
2026-06-04 12:19:22 +02:00
CREDO23
0354f73f29 refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1)
First slice of promoting the shared agent toolkit out of the misnamed
`new_chat` package into the cross-agent `app/agents/shared` kernel.

`errors.py` is a leaf module (no intra-package deps) consumed by the
multi-agent chat, the chat streaming flows/monolith, and tests — i.e. it is
shared infrastructure, not single-agent code. Moved it verbatim to
`app.agents.shared.errors` and flipped all 12 importers. No re-export shim
remains since zero importers needed it.

Behavior-preserving: identical class/enum definitions; only the import path
changes. 1208 agent + chat-task tests green.
2026-06-04 12:13:55 +02:00
CREDO23
a4010a357f refactor: extract shared connector->searchable-type mapping out of chat_deepagent
The multi-agent factory reached into the single-agent factory module
(chat_deepagent) for `_map_connectors_to_searchable_types`. Move this
agent-agnostic helper (and its two lookup tables) into a dedicated
`connector_searchable_types` module and point both factories at it.

Behavior-preserving: the function body is unchanged; only its home and
visibility (now public `map_connectors_to_searchable_types`) change. This
removes the cross-dependency on the dying single-agent module so it can be
retired later without breaking the multi-agent path.
2026-06-04 12:05:17 +02:00
CREDO23
0b006badb0 chore: remove dead agent code (vision autocomplete, linear tools, provider hints) 2026-06-04 11:44:23 +02:00
CREDO23
fb70e23dd2 test: add agent refactor guardrail suite 2026-06-04 11:44:23 +02:00
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
CREDO23
cb44063081 fix: repair pre-existing agent_task, gateway, and skills tests 2026-06-04 10:25:06 +02:00
CREDO23
44abf56d6c fix: restore connector mentions, free-tier fallback, orphan-row guard in new chat flow 2026-06-04 10:25:06 +02:00
Anish Sarkar
0cfe5e52bd refactor(ui): Adjust layout and styling for chat components, enhancing spinner positioning and removing unused shared chat indicators 2026-06-04 12:57:16 +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
2a13b3777a feat(download): Enhance download functionality by adding mobile OS detection and updating UI components accordingly 2026-06-04 11:48:44 +05:30
Rohan Verma
61adc80615
Merge pull request #1466 from MODSetter/docker-hot-patch
feat(chat): add RemoveAdsBanner component to FreeChatPage
2026-06-03 17:53:16 -07:00
DESKTOP-RTLN3BA\$punk
02e3e1375d feat(chat): add RemoveAdsBanner component to FreeChatPage
- Integrated the RemoveAdsBanner component into the FreeChatPage to enhance user experience by providing ad-free interaction.
2026-06-03 17:52:40 -07:00
Rohan Verma
ae0e61305c
Merge pull request #1465 from MODSetter/docker-hot-patch
refactor(page): remove AdSenseScript
2026-06-03 16:14:45 -07:00
DESKTOP-RTLN3BA\$punk
cea8d3c76b Merge commit 'af654cbab5' into docker-hot-patch 2026-06-03 16:12:43 -07:00
DESKTOP-RTLN3BA\$punk
afbe6abaaf refactor(page): remove AdSenseScript component from FreeHubPage
- Eliminated the AdSenseScript import and its usage in the FreeHubPage component to streamline the code and improve performance.
2026-06-03 16:11:33 -07:00
Anish Sarkar
e588782a9b refactor(tests): Update tests to remove summary references and adjust for embedding errors 2026-06-04 01:51:21 +05:30
Anish Sarkar
e4d7b01b09 refactor(backend): Update references from document summary LLM to agent LLM across multiple files 2026-06-04 01:50:44 +05:30
CREDO23
1165b3ad5c test: add notifications unit tests and conventions doc 2026-06-03 21:53:06 +02:00
CREDO23
3f770203ca test: add notifications integration behavior guard 2026-06-03 21:53:06 +02:00
CREDO23
339ec31cad refactor: use transform helpers in notifications API 2026-06-03 21:53:03 +02:00
CREDO23
1ea7d3109a feat: add pure notifications API transform helpers 2026-06-03 21:53:03 +02:00
CREDO23
7a6fcfb29b refactor: use shared truncate in mention and reply handlers 2026-06-03 21:53:03 +02:00
CREDO23
778ab9b254 refactor: route indexing handlers through message helpers 2026-06-03 21:53:03 +02:00
CREDO23
7618c3aafb refactor: use pure metadata core in base handler 2026-06-03 21:52:58 +02:00
CREDO23
d53707ebbf feat: add pure notification metadata transitions 2026-06-03 21:52:58 +02:00
CREDO23
c23bdc4a5e feat: add pure notification message helpers 2026-06-03 21:52:58 +02:00
CREDO23
f3ed1b85d0 test: switch pytest to importlib import mode 2026-06-03 21:52:54 +02:00
Anish Sarkar
ddfe60c2f0 feat(tests): Update tests for summary-free indexing 2026-06-04 00:53:51 +05:30
Anish Sarkar
dc6a17930b feat(evals): Remove summary ingest settings from evals 2026-06-04 00:53:18 +05:30
Anish Sarkar
e427501482 feat(web): Remove summary controls from the web app 2026-06-04 00:52:45 +05:30
Anish Sarkar
b5a9bcf87b feat(backend): Use agent LLM for deliverable generation 2026-06-04 00:52:17 +05:30
Anish Sarkar
f3866b9e7e feat(backend): Use deterministic content in connector ingestion 2026-06-04 00:51:38 +05:30
Anish Sarkar
81fa219b30 feat(backend): Remove LLM summaries from document indexing 2026-06-04 00:50:19 +05:30
Anish Sarkar
290a9539ef feat(db): Remove document summary LLM schema 2026-06-04 00:48:53 +05:30
Anish Sarkar
e68b3f9532 feat(chat): fix support for mentioned connectors in new chat input state and runtime context, enhancing query rendering and context management 2026-06-03 22:51:55 +05:30
Anish Sarkar
c75a080997 Merge remote-tracking branch 'upstream/dev' into feat/ui-fixes 2026-06-03 21:53:35 +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
CREDO23
75b37bb8d4 refactor: remove legacy notification service 2026-06-03 18:04:47 +02:00
CREDO23
9dab07f775 refactor: point notification callers at notifications module 2026-06-03 18:04:47 +02:00
CREDO23
5d2a36f579 refactor: serve notifications API from notifications module 2026-06-03 18:04:47 +02:00
CREDO23
e5236d33a9 refactor: move Notification model into notifications module 2026-06-03 18:04:47 +02:00
CREDO23
9575b9d4db refactor: add notifications module 2026-06-03 18:04:47 +02:00
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
Rohan Verma
309bd9a2dd
Merge pull request #1463 from CREDO23/feat/blob-storage
[Feat] Add Document Blob Storage, Segregate Connectors, and Jira Cleanup
2026-06-02 12:15:48 -07:00
Anish Sarkar
eabbfb8c67 refactor(automations): replace error and notice displays with Alert components 2026-06-03 00:45:45 +05:30
Anish Sarkar
c002f45c8e refactor(chat): consolidate chat handling by merging shared and private chat sections into a unified chat view, update related components and translations 2026-06-03 00:07:13 +05:30