Commit Graph

100 Commits

Author SHA1 Message Date
Henry Li
718bb947d0 fix: fix eslint errors and warnings 2026-01-31 21:46:31 +08:00
Henry Li
47fe2f8195 feat: add notification 2026-01-31 11:08:27 +08:00
Henry Li
cb660c2643 feat: change email 2026-01-30 22:32:47 +08:00
Henry Li
618b3e1e8f feat: support Github Flavored Markdown 2026-01-30 16:41:18 +08:00
Henry Li
cbcbbbe0a8 feat: re-arrange icons 2026-01-29 16:17:41 +08:00
Henry Li
86ed750a38 feat: display mode 2026-01-29 15:57:08 +08:00
Henry Li
7bf15cb777 feat: use "mode" instead of "thinking_enabled" and "is_plan_mode" 2026-01-29 15:48:50 +08:00
Henry Li
4fc54a7408 feat: add placeholder for image 2026-01-29 15:01:18 +08:00
ruitanglin
ac283b92aa merge: upstream/experimental with citations feature
- Merge upstream changes including image search, tooltips, and UI improvements
- Keep citations feature with inline hover cards
- Resolve conflict in message-list-item.tsx: use upstream img max-width (90%) while preserving citations logic
- Maintain file upload improvements with citations support

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-29 12:55:43 +08:00
ruitanglin
ce9731c10a feat: improve file upload message handling and UI
Backend:
- Handle both string and list format for message content in uploads middleware
- Extract text content from structured message blocks
- Add logging for debugging file upload flow

Frontend:
- Separate file display from message bubble for human messages
- Show uploaded files outside the message bubble for cleaner layout
- Improve file card border styling with subtle border color
- Add debug logging for message submission with files

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-29 12:51:21 +08:00
Henry Li
f809b67c47 feat: enable images in content 2026-01-29 12:51:04 +08:00
ruitanglin
4b63e70b7e feat: refine citations format and improve content presentation
Backend:
- Simplify citations prompt format and rules
- Add clear distinction between chat responses and file content
- Enforce full URL usage in markdown links, prohibit [cite-1] format
- Require content-first approach: write full content, then add citations at end

Frontend:
- Hide <citations> block in both chat messages and markdown preview
- Remove top-level Citations/Sources list for cleaner UI
- Auto-remove <citations> block in code editor view for markdown files
- Keep inline citation hover cards for reference details

This ensures citations are presented like Claude: clean content with inline reference badges.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-29 12:29:13 +08:00
Henry Li
e4d373541f feat: add tooltips 2026-01-29 09:23:06 +08:00
Henry Li
f7ec116c26 feat: enhance search_image 2026-01-29 09:19:43 +08:00
Henry Li
d787b1ca54 feat: support image_search 2026-01-29 08:59:55 +08:00
hetaoBackend
73a1d32a5b feat: display ask_clarification tool messages directly in frontend
Simplify clarification message handling by having the frontend detect and
display ask_clarification tool messages directly, instead of relying on
backend to add an extra AIMessage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 01:25:31 +08:00
ruitanglin
33c47e0c56 feat: add inline citations and thread management features
Citations:
- Add citations parsing utilities for extracting source references from AI responses
- Render inline citations as hover card badges in message content
- Display citation cards with title, URL, and description on hover
- Add citation badge rendering in artifact markdown preview
- Update prompt to guide AI to output citations in correct format

Thread Management:
- Add rename functionality for chat threads with dialog UI
- Add share functionality to copy thread link to clipboard
- Share links use Vercel URL for production accessibility
- Add useRenameThread hook for thread title updates

i18n:
- Add translations for rename, share, cancel, save, and linkCopied

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-28 19:15:11 +08:00
Henry Li
86c8f1a25e feat: fallback to textarea when loading 2026-01-28 10:13:17 +08:00
Henry Li
ec31e61f95 fix: hide chats when sidebar is not open 2026-01-27 10:41:08 +08:00
Henry Li
7928a6f2e1 fix: eslint 2026-01-27 10:39:44 +08:00
Henry Li
0bcbaebb7e fix: bugfix 2026-01-27 09:50:42 +08:00
Henry Li
574dfd2b05 feat: auto select the first model as default model 2026-01-26 17:13:34 +08:00
Henry Li
e6cac2cae4 feat: update translations 2026-01-25 11:54:49 +08:00
Henry Li
c6dbd9fbf4 feat: add Titanic ADA demo 2026-01-25 00:35:42 +08:00
Henry Li
9501ec5eed fix: remove tooltip 2026-01-25 00:06:49 +08:00
Henry Li
099fb727cc feat: auto expand in demo mode 2026-01-24 23:51:11 +08:00
Henry Li
48b5428000 feat: add i18n 2026-01-24 22:19:37 +08:00
Henry Li
56b21e00bf feat: expand by default in demo mode 2026-01-24 22:03:38 +08:00
Henry Li
4aef821344 feat: support absolute path as image src 2026-01-24 20:58:56 +08:00
Henry Li
3c40446ade feat: add more links 2026-01-24 18:21:50 +08:00
Henry Li
ebda30c7cf feat: support static website 2026-01-24 18:01:27 +08:00
Henry Li
0908127bd7 feat: implement the first version of landing page 2026-01-23 13:24:03 +08:00
Henry Li
6e1f63e47f fix: fix menu item in side bar collapsed mode 2026-01-22 15:18:42 +08:00
Henry Li
dc9d28018c feat: adjust styles 2026-01-22 14:28:10 +08:00
Henry Li
e1378123f5 feat: add main menu 2026-01-22 14:19:54 +08:00
Henry Li
8ef89b3004 feat: put all options into '+' 2026-01-22 13:43:45 +08:00
Henry Li
93f70893fc feat: show in-progress 2026-01-22 11:56:45 +08:00
Henry Li
aed2f7ce67 feat: adjust styles 2026-01-22 11:42:25 +08:00
Henry Li
3774d0453c docs: remove '/' 2026-01-22 11:31:23 +08:00
Henry Li
9e72dc4f63 feat: add animations 2026-01-22 09:41:01 +08:00
Henry Li
b630e1846a feat: update skill settings 2026-01-22 00:38:20 +08:00
Henry Li
44850d9a61 feat: add Todos 2026-01-22 00:26:11 +08:00
Henry Li
68b8083826 feat: use resolvedTheme instead of systemTheme 2026-01-21 10:48:29 +08:00
Henry Li
c7a40d6a23 refactor: move 2026-01-21 10:46:43 +08:00
Henry Li
1372dbefb2 feat: bring back the deer 2026-01-21 10:31:54 +08:00
Henry Li
4467b1860f feat: auto open artifact 2026-01-21 09:45:55 +08:00
Henry Li
6e024d6c8f feat: add code editor 2026-01-21 09:33:33 +08:00
Henry Li
28d724d55a feat: make artifact "floating" 2026-01-21 08:50:15 +08:00
Henry Li
adfce3c79c feat: change color themes 2026-01-21 08:37:30 +08:00
Henry Li
1b70e00642 feat: support settings 2026-01-20 23:43:21 +08:00