Commit graph

6917 commits

Author SHA1 Message Date
Anish Sarkar
fd31ac34fd Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-20 10:50:03 +05:30
Rohan Verma
cd2242147a
Merge pull request #1523 from CREDO23/fix/chat-citations
[Feat] Line-level KB citations
2026-06-19 21:01:15 -07:00
Anish Sarkar
1e8baa10ec refactor(routes): replace user variable with auth context in tests 2026-06-20 03:34:40 +05:30
Anish Sarkar
af5a112212 refactor(auth): replace user variable with auth context in integration and unit tests 2026-06-20 03:11:00 +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
b3fa96bef8 test(auth): cover PAT fail-closed authorization 2026-06-20 02:13:05 +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
31a14190e3 fix: update upload conftest mock to span-aware chunker 2026-06-19 19:36:26 +02:00
CREDO23
cfc3be5b1f fix: gate desktop right panel to prevent duplicate mobile editor 2026-06-19 19:22:19 +02:00
CREDO23
cfafed09bc fix: forward citation line anchor to editor panel and harden reveal 2026-06-19 19:12:14 +02:00
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
5f341bdd2f feat: parse and render kb line citations 2026-06-19 17:37:41 +02:00
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
8af4a3f9d5 feat: update extension clients for PAT auth 2026-06-19 20:29:30 +05:30
Anish Sarkar
1cc72a47be feat: create PATs from Obsidian connector setup 2026-06-19 20:29:15 +05:30
Anish Sarkar
0687561f5b feat: add personal access token settings UI 2026-06-19 20:29:03 +05:30
Anish Sarkar
e5ab0e5342 feat: add web PAT API client 2026-06-19 20:28:48 +05:30
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
630880bf7a feat: add API access toggle to search space settings 2026-06-19 20:27:17 +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
691685dd16 test: cover read preamble and matched line ranges 2026-06-19 15:43:21 +02:00
CREDO23
1741fdc9c8 feat: numbered-read preamble and matched line ranges 2026-06-19 15:43:21 +02:00
CREDO23
049c70dc91 feat: open citations in source view at lines 2026-06-19 15:31:44 +02:00
CREDO23
c551b34d93 style: add cited line highlight class 2026-06-19 15:31:44 +02:00
CREDO23
b73a31f889 feat: source editor reveals and highlights lines 2026-06-19 15:31:44 +02:00
CREDO23
86f8fc0530 feat: citation panel shows cited line range 2026-06-19 15:31:44 +02:00
CREDO23
176ada4f4f feat: editor panel accepts citation line anchor 2026-06-19 15:31:44 +02:00
CREDO23
fc0f9d8f81 feat: carry chunk spans and cited lines in contract 2026-06-19 15:31:44 +02:00
CREDO23
773f913f06 test: cover by-chunk span and line-range resolve 2026-06-19 15:31:44 +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