Commit graph

7101 commits

Author SHA1 Message Date
CREDO23
5d79f91352 fix(chat): let search-space owners reference legacy null-creator chats
Mirror search_threads visibility in the referenced-chat resolver: a
search-space owner can now @-mention legacy threads that predate creator
tracking (null created_by_id), instead of those being silently dropped.
2026-06-23 18:30:15 +02:00
CREDO23
208ad9a643 test(chat): cover referenced-chat resolver and transcript budgeting
Add unit tests for role-specific turn extraction in the resolver and for
the transcript renderer: full rendering within budget, dropping oldest
turns with a marker, partial-tail fill of an overflowing turn, and
multi-chat tagging.
2026-06-23 17:04:43 +02:00
CREDO23
0e5ce83ee5 feat(chat): persist referenced-chat mention chips on user turns
Recognise the "thread" chip kind when building stored user content so
referenced-chat mentions survive reloads and regeneration.
2026-06-23 17:04:43 +02:00
CREDO23
857f1bb279 feat(chat): inject referenced-chat context into the new-chat agent input
Thread mentioned_thread_ids from the route through the orchestrator into
input-state assembly, resolve them for the requesting user, and append
the rendered referenced-chat block to the agent's query context.
2026-06-23 17:04:32 +02:00
CREDO23
afc555d971 feat(chat): resolve and render @-mentioned chats as read-only context
Add the referenced_chat_context slice: models for the data shapes, a
fail-closed resolver that fetches mentioned threads and their visible
turns under the same access rules as thread search, and a transcript
renderer that emits a budgeted <referenced_chat_context> block. When a
chat exceeds the per-reference character budget, recent turns are kept
and any leftover budget is filled with the overflowing turn's tail, with
truncation markers signalling the cut.
2026-06-23 17:04:27 +02:00
CREDO23
7169c22d29 feat(chat): allow @-mentioning chat threads in new-chat requests
Extend the chat contract so a turn can reference other conversations:
add the "thread" kind to MentionedDocumentInfo and a mentioned_thread_ids
field on NewChatRequest and RegenerateRequest.
2026-06-23 17:04:21 +02:00
CREDO23
8b0a2f8964 feat: link artifacts to source chat 2026-06-23 15:47:21 +02:00
CREDO23
9c622ae3f3 fix: don't autoplay video presentations 2026-06-23 15:28:42 +02:00
CREDO23
7e0364f9fe refactor: unify artifacts icon 2026-06-23 15:18:08 +02:00
CREDO23
cc624076c9 feat: add artifacts sidebar nav 2026-06-23 15:18:08 +02:00
CREDO23
a5be3fbcf8 feat: add artifacts library page 2026-06-23 15:18:08 +02:00
CREDO23
19698bcc0b feat: add library media viewers 2026-06-23 15:18:08 +02:00
CREDO23
b63e95e987 feat: add artifact card and kind meta 2026-06-23 15:18:08 +02:00
CREDO23
09eaa371b6 feat: add library artifacts hook 2026-06-23 15:18:00 +02:00
CREDO23
fd9763417b feat: add library artifact model 2026-06-23 15:18:00 +02:00
CREDO23
e04627e185 feat: export video presentation viewer 2026-06-23 15:18:00 +02:00
CREDO23
11d63e4c68 feat: add artifact list api services 2026-06-23 15:18:00 +02:00
CREDO23
875d3040fa feat: add artifact list contracts 2026-06-23 15:18:00 +02:00
Anish Sarkar
e651cfd9ce chore(alembic): rename migrations for zero authz parent tables and harden refresh token schema 2026-06-23 18:23:40 +05:30
Anish Sarkar
bf8772e312 Merge remote-tracking branch 'upstream/dev' into feat/auth-revamp 2026-06-23 15:52:11 +05:30
Rohan Verma
bbd095bd7d
Merge pull request #1534 from Ryan-PG/fix/1497-mermaid-rendering
feat(markdown): add Mermaid diagram rendering support (#1497)
2026-06-23 02:27:13 -07:00
Rohan Verma
cb9da1bc8b
Merge pull request #1533 from Glodykajabika/test/blocknote-to-markdown-unit-tests
Test/blocknote to markdown unit tests
2026-06-23 02:25:42 -07:00
Ryan Heida
e70d2e2465 feat(markdown): add Mermaid diagram rendering support (#1497)
- Add MermaidDiagram component for rendering mermaid code blocks
- Integrate mermaid support into MarkdownCodeBlock
- Improve fallback handling for invalid diagrams
- Optimize mermaid initialization and theme handling
2026-06-23 12:31:17 +03:30
Rohan Verma
a0f44b283c
Merge pull request #1524 from AnishSarkar22/feat/api-key
feat(auth): replace JWT-as-API-key with hashed PATs + per-space API access gate
2026-06-23 00:55:34 -07:00
Anish Sarkar
8a6c30c660 fix(chore): rename alembic migration for PATs 2026-06-23 13:11:07 +05:30
Anish Sarkar
3695e1d5c5 Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-23 13:09:53 +05:30
Anish Sarkar
b37114f193 fix(web):refresh dashboard session queries 2026-06-23 13:01:41 +05:30
Anish Sarkar
be95f65c6b fix(zero):scope content workspace queries 2026-06-23 13:01:21 +05:30
Anish Sarkar
737d63f3dc fix(zero):scope core workspace queries 2026-06-23 13:00:40 +05:30
Anish Sarkar
90c3dc98ca fix(zero):add authz parent schemas 2026-06-23 12:59:50 +05:30
Anish Sarkar
3cbd109e8d fix(zero):load authz context for queries 2026-06-23 12:59:16 +05:30
Anish Sarkar
54ff86dcc2 fix(web):update secondary auth entrypoints 2026-06-23 12:58:39 +05:30
Anish Sarkar
1163557453 fix(web):update password auth forms 2026-06-23 12:58:25 +05:30
Anish Sarkar
71045e552d fix(web):update auth token consumers 2026-06-23 12:57:01 +05:30
Anish Sarkar
411bb0019e fix(web):centralize session api handling 2026-06-23 12:55:50 +05:30
Anish Sarkar
fcf2485863 fix(desktop):add oauth session handoff 2026-06-23 12:55:43 +05:30
Anish Sarkar
f481d1360a fix(desktop):add secure auth ipc bridge 2026-06-23 12:55:36 +05:30
Anish Sarkar
7241a7a894 fix(authz):add zero context authorization checks 2026-06-23 12:55:25 +05:30
Anish Sarkar
08c1d12eb1 fix(authz):publish zero parent tables 2026-06-23 12:53:36 +05:30
Anish Sarkar
2b6bf504ec fix(users):expose current user session routes 2026-06-23 12:53:29 +05:30
Anish Sarkar
a547cfe3c3 fix(auth):return session based auth responses 2026-06-23 12:53:06 +05:30
Anish Sarkar
2966f41a5a fix(auth):schedule refresh token cleanup 2026-06-23 12:50:02 +05:30
Anish Sarkar
5ba940f905 fix(auth):harden refresh token schema 2026-06-23 12:49:46 +05:30
Anish Sarkar
d395d4dc1c fix(auth):add csrf session cookie helpers 2026-06-23 12:49:22 +05:30
Anish Sarkar
b05f30e2f9 fix(backend):add session database settings 2026-06-23 12:49:04 +05:30
Anish Sarkar
33f353bd20 fix(docker):wire auth service configuration 2026-06-23 12:48:44 +05:30
Anish Sarkar
4d49d9311c fix(config):add auth environment defaults 2026-06-23 12:48:23 +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
f268010646 Merge commit 'ee241e0ff2' into dev 2026-06-23 00:06:38 -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