SurfSense/surfsense_web/lib/apis
CREDO23 2beafbdec8 agent: retire eager KB priority/planner path and its dead flags
The pull-based KB design (on-demand search_knowledge_base tool + pre-injected
workspace tree) fully replaced the old eager retrieval path. Remove its last
remnants:

- Delete KnowledgePriorityMiddleware (knowledge_search.py) and its tests.
- Drop the kb_priority state field + reducer default; trim
  KbContextProjectionMiddleware to project only workspace_tree_text.
- Remove the now-dead feature flags enable_kb_priority_preinjection and
  enable_kb_planner_runnable across backend (flags, route schema, tests,
  env examples) and frontend (settings toggle, zod schema).
- Scrub <priority_documents> and stale KnowledgePriorityMiddleware references
  from prompts, docstrings, and the ADR.

No functional change: nothing wrote kb_priority and neither flag gated live
behavior after the cutover. Full backend suite green (pre-existing unrelated
failures aside).
2026-06-25 18:37:14 +02:00
..
agent-actions-api.service.ts feat: improved agent streaming 2026-04-29 07:20:31 -07:00
agent-flags-api.service.ts agent: retire eager KB priority/planner path and its dead flags 2026-06-25 18:37:14 +02:00
agent-permissions-api.service.ts feat: updated agent harness 2026-04-28 09:22:19 -07:00
agent-tools-api.service.ts feat: refactor agent tools management and add UI integration 2026-03-10 17:36:26 -07:00
anonymous-chat-api.service.ts refactor(web): replace instances of BACKEND_URL with buildBackendUrl for improved URL handling 2026-06-16 14:51:25 +05:30
auth-api.service.ts feat: migrated from zod v3 to v4 2025-12-20 05:10:47 -08:00
automations-api.service.ts feat(automations): implement model eligibility checks for automation creation 2026-05-29 03:13:46 -07:00
base-api.service.ts refactor(web): replace BACKEND_URL with buildBackendUrl for dynamic URL construction 2026-06-16 04:56:23 +05:30
chat-comments-api.service.ts feat: perf optimizations 2026-02-27 17:19:25 -08:00
chat-threads-api.service.ts refactor: rename snapshot types to PublicChatSnapshot prefix 2026-02-02 16:05:23 +02:00
connectors-api.service.ts connector-popup: surface trusted-tools UI in MCP edit view; consolidate disconnect 2026-05-15 16:40:16 +02:00
documents-api.service.ts chore: linting 2026-06-09 00:42:26 -07:00
folders-api.service.ts feat: implement local folder synchronization and versioning with new metadata handling and document_versions table 2026-04-02 23:46:21 +05:30
incentive-tasks-api.service.ts feat: added incentive credits system 2026-01-26 23:32:30 -08:00
invites-api.service.ts chore: linting 2026-03-27 03:17:05 -07:00
logs-api.service.ts chore: linting 2026-03-27 03:17:05 -07:00
members-api.service.ts chore: linting 2026-03-27 03:17:05 -07:00
model-connections-api.service.ts feat: fix onboarding trigger 2026-06-17 23:30:56 -07:00
notes-api.service.ts feat: add source_markdown column to documents and implement migration logic for existing records using a pure-Python BlockNote JSON to Markdown converter 2026-02-17 11:34:11 +05:30
notifications-api.service.ts chore: ran linting 2026-03-10 16:17:12 +05:30
pats-api.service.ts feat: add web PAT API client 2026-06-19 20:28:48 +05:30
permissions-api.service.ts chore: add TODO for edit role dialog implementation 2025-12-16 09:07:33 +00:00
podcasts-api.service.ts feat(podcast): listLanguages API call 2026-06-12 07:38:38 +02:00
prompts-api.service.ts add is_public to frontend types and API service 2026-03-30 19:38:00 +02:00
public-chat-api.service.ts feat: add snapshot types and API services 2026-01-30 14:19:56 +02:00
roles-api.service.ts feat: migrated from zod v3 to v4 2025-12-20 05:10:47 -08:00
search-spaces-api.service.ts feat: add API access toggle to search space settings 2026-06-19 20:27:17 +05:30
stripe-api.service.ts feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
user-api.service.ts chore: linting 2026-01-15 00:05:53 -08:00