Commit graph

2381 commits

Author SHA1 Message Date
Anish Sarkar
3695e1d5c5 Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-23 13:09:53 +05:30
Rohan Verma
1dc3fac81d
Merge pull request #1527 from Muhammad-Ikhwan-Fathulloh/dev
fix: normalize image URLs before persistence and add model selector aria-label
2026-06-23 00:08:41 -07:00
DESKTOP-RTLN3BA\$punk
a08de01cc7 Revert "Merge pull request #1523 from CREDO23/fix/chat-citations"
This reverts commit cd2242147a, reversing
changes made to a4bb0a5253.
2026-06-22 22:55:29 -07:00
Muhammad-Ikhwan-Fathulloh
2848ac6c39 fix: normalize image URLs before persistence and add model selector aria-label 2026-06-20 19:49:58 +07:00
Anish Sarkar
fd31ac34fd Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-20 10:50:03 +05:30
Anish Sarkar
1e8baa10ec refactor(routes): replace user variable with auth context in tests 2026-06-20 03:34:40 +05:30
Anish Sarkar
14cb0a22e9 refactor(routes): update document file access functions to use auth context instead of user variable 2026-06-20 02:53:07 +05:30
Anish Sarkar
8e50871d43 refactor(routes): replace user variable with auth context in search space snapshot functions 2026-06-20 02:48:08 +05:30
Anish Sarkar
6dd8bd4290 refactor(routes): replace user variable with auth context in thread snapshot functions 2026-06-20 02:39:01 +05:30
Anish Sarkar
cf840875c9 fix(connectors): gate folder listings for PAT access 2026-06-20 01:58:16 +05:30
Anish Sarkar
3a0cd8c8cf fix(models): require sessions for personal connection writes 2026-06-20 01:58:06 +05:30
Anish Sarkar
1f9cf326e5 feat(auth): require sessions for user-scoped routes 2026-06-20 01:57:48 +05:30
Anish Sarkar
2315b2f344 feat(auth): add PAT fail-closed bootstrap allowlist 2026-06-20 01:57:37 +05:30
CREDO23
1cb7633920 Merge upstream/main into fix/chat-citations 2026-06-19 18:25:37 +02:00
Anish Sarkar
49b5247210 refactor: unify authentication handling by replacing current_active_user with auth context across routes 2026-06-19 21:38:18 +05:30
CREDO23
73dd4e8e3a feat: embed line-citation tokens in search hits 2026-06-19 17:37:41 +02:00
CREDO23
188ae053ac feat: serve numbered source_markdown reads with citation preamble 2026-06-19 17:37:41 +02:00
Anish Sarkar
6fd3f8570e refactor: streamline auth context usage across chat and automation routes 2026-06-19 21:04:21 +05:30
CREDO23
fc17b9becd docs: rename evidence.chunk_ids to citations in desktop kb prompt 2026-06-19 17:32:45 +02:00
CREDO23
30ca0e1ef5 docs: readonly kb specialist cites line or chunk form 2026-06-19 17:32:45 +02:00
CREDO23
3c63a7bcd3 docs: kb specialist cites numbered or legacy chunk form 2026-06-19 17:32:45 +02:00
CREDO23
141801f1cc docs: clarify web/kb/legacy citation channels 2026-06-19 17:32:45 +02:00
Anish Sarkar
096dea45d4 refactor: pass auth context through automations 2026-06-19 20:28:35 +05:30
Anish Sarkar
7ec6fa4d1f feat: enforce API access for integration routes 2026-06-19 20:28:12 +05:30
Anish Sarkar
70a0828b95 feat: enforce API access for chat routes 2026-06-19 20:28:02 +05:30
Anish Sarkar
493e8d5a64 feat: enforce API access for knowledge resources 2026-06-19 20:27:47 +05:30
Anish Sarkar
7e8d26fa81 refactor: route authorization through auth context 2026-06-19 20:27:28 +05:30
Anish Sarkar
54a3ba122e feat: add search space API access controls 2026-06-19 20:27:06 +05:30
Anish Sarkar
608facd7e7 feat: add personal access token API routes 2026-06-19 20:26:56 +05:30
Anish Sarkar
cddfb3660b feat: resolve auth context from sessions and PATs 2026-06-19 20:26:46 +05:30
Anish Sarkar
4463990ca4 feat: add PAT storage and API access fields 2026-06-19 20:26:28 +05:30
CREDO23
1741fdc9c8 feat: numbered-read preamble and matched line ranges 2026-06-19 15:43:21 +02:00
CREDO23
f67c6607d6 feat: by-chunk resolve derives cited line range 2026-06-19 15:31:44 +02:00
CREDO23
ea32b62f82 feat: add cited line range to by-chunk response 2026-06-19 15:31:44 +02:00
CREDO23
435b84215e feat: expose chunk char spans on ChunkRead 2026-06-19 15:31:44 +02:00
CREDO23
7967b62b42 feat: search tool renders matched passage with lines 2026-06-19 14:53:49 +02:00
CREDO23
04b679e2bf feat: return chunk char spans from hybrid search 2026-06-19 14:53:49 +02:00
CREDO23
0f32b35d3e feat: add char-span to line-range helper 2026-06-19 14:53:49 +02:00
CREDO23
f2fe2e576e feat: note writes chunk via shared span builder 2026-06-18 20:17:45 +02:00
Anish Sarkar
6e970be220 feat: enable streaming in LLM bundle construction
- Updated the LLM bundle construction to include a streaming option for both DB-backed and global models.
- Modified the `litellm_kwargs` to set the streaming parameter to True, enhancing the functionality for chat streaming flows.
2026-06-18 23:39:55 +05:30
CREDO23
65b7d1b01a chore: bump embedding cache chunker version to 2 2026-06-18 20:06:26 +02:00
CREDO23
c57ee978e6 feat: persist and refresh chunk char spans on index 2026-06-18 20:06:26 +02:00
CREDO23
1e33c28c24 feat: carry char spans on existing chunks 2026-06-18 20:06:26 +02:00
CREDO23
55491fef9d refactor: make embedding cache span-aware 2026-06-18 20:06:26 +02:00
CREDO23
0ab773cbcd feat: add lossless span-aware chunk_markdown_with_spans 2026-06-18 20:06:26 +02:00
CREDO23
b89f242a89 feat: add start_char/end_char span columns to chunk model 2026-06-18 20:06:26 +02:00
CREDO23
b0a0eb7f9c fix: editor routes serve source_markdown only, never rebuild from chunks 2026-06-18 19:23:49 +02:00
DESKTOP-RTLN3BA\$punk
1d101f5bec feat: add position column to chunks for explicit document order
- Introduced a new `position` column in the `chunks` table to maintain explicit document order during re-indexing.
- Updated migration to add the column without backfilling historical rows to avoid performance issues on large tables.
- Adjusted the `Chunk` model to reflect the new column without indexing, as ordering reads are document-scoped.
2026-06-18 08:55:47 -07:00
DESKTOP-RTLN3BA\$punk
c9afeb2817 feat: fix onboarding trigger
- Introduced a new endpoint to check the existence of a global LLM configuration file.
- Updated the frontend to utilize this status, affecting onboarding flow and user experience.
- Added necessary atoms and types for managing global LLM config status in the application state.
- Refactored navigation to ensure proper routing based on the global config status.
2026-06-17 23:30:56 -07:00
DESKTOP-RTLN3BA\$punk
55f91a29d5 chore: linting 2026-06-17 22:31:36 -07:00