Commit Graph

107 Commits

Author SHA1 Message Date
Henry Li
aa44566fef feat: re-implement message group 2026-01-18 19:56:07 +08:00
DanielWalnut
e1a8d544b6 feat: add clarification feature (#13) 2026-01-18 19:55:36 +08:00
Henry Li
ec1964c829 feat: support SSE write_file(0 2026-01-18 17:13:15 +08:00
DanielWalnut
6f97dde5d1 fix: Long thinking but with empty content (#12) 2026-01-18 14:21:40 +08:00
DanielWalnut
5f4c58aa82 feat: implement lazy sandbox and thread data initialization (#11)
Defer sandbox acquisition and thread directory creation until first use to improve performance and reduce resource usage.

Changes:
- Add lazy_init parameter to SandboxMiddleware (default: true)
- Add ensure_sandbox_initialized() helper for lazy sandbox acquisition
- Update all sandbox tools to use lazy initialization
- Add lazy_init parameter to ThreadDataMiddleware (default: true)
- Create thread directories on-demand in AioSandboxProvider
- LocalSandbox already creates directories on write (no changes needed)

Benefits:
- Saves 1-2s Docker container startup for conversations without tools
- Reduces unnecessary directory creation and file system operations
- Backward compatible with lazy_init=false option

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-18 13:38:34 +08:00
Henry Li
41a22fde91 feat: add recursion_limit 2026-01-18 13:16:27 +08:00
Henry Li
71eadc942f fix: fix message grouping issues 2026-01-18 13:07:56 +08:00
DanielWalnut
5a0912d0fd fix: fix backend python execution (#10) 2026-01-18 12:41:48 +08:00
Henry Li
9605cec6d3 feat: enhance message display 2026-01-18 11:25:46 +08:00
Henry Li
f9242727c7 feat: dim the placeholder 2026-01-18 09:57:30 +08:00
Henry Li
bffe802130 Merge remote-tracking branch 'refs/remotes/origin/experimental' into experimental 2026-01-18 09:57:23 +08:00
Henry Li
449f04fc44 feat: remove model icon 2026-01-18 09:55:17 +08:00
DanielWalnut
3261273ee3 feat: fix todos (#9) 2026-01-17 23:23:12 +08:00
Henry Li
fa07e9e903 feat: change back to 60px height 2026-01-17 22:01:17 +08:00
Henry Li
d0988b3cf0 feat: use default sidebar width 2026-01-17 22:01:08 +08:00
Henry Li
88eb341115 fix: fix z index 2026-01-17 21:34:32 +08:00
Henry Li
36b7ac0ce4 feat: refine theme 2026-01-17 21:24:49 +08:00
Henry Li
00fc70536e feat: adjust dark theme 2026-01-17 21:08:05 +08:00
Henry Li
6c9b0f275b feat: the DeerFlow theme is back 2026-01-17 20:59:42 +08:00
Henry Li
79d87de523 feat: change light theme 2026-01-17 20:32:27 +08:00
Henry Li
e418eb6110 fix: remove unused imports 2026-01-17 19:47:51 +08:00
Henry Li
a6e5ebe898 feat: welcome, again 2026-01-17 19:46:02 +08:00
Henry Li
0ea448a220 feat: add reasoning check to message list item rendering 2026-01-17 18:02:19 +08:00
Henry Li
cb54b5dffa feat: pull up the input box when creating new thread 2026-01-17 18:02:01 +08:00
Henry Li
9bfa49ae07 feat:enhance focus status 2026-01-17 17:52:15 +08:00
Henry Li
62921ec96a feat: redesign step counter 2026-01-17 17:45:13 +08:00
Henry Li
63f3c9e2bb fix: remove unused imports 2026-01-17 17:37:36 +08:00
Henry Li
7b33214a05 feat: extract ThreadTitle component 2026-01-17 17:37:12 +08:00
Henry Li
9a3f72869c feat: integrated with artifacts in states 2026-01-17 17:21:37 +08:00
Henry Li
ab65ab3af2 feat: remove ring 2026-01-17 17:21:05 +08:00
Henry Li
d603771291 chore: add TODO for checking duplicate files in state.artifacts 2026-01-17 16:25:51 +08:00
Henry Li
1d3b3e8eb8 dos: update backend TODOs 2026-01-17 16:17:59 +08:00
Henry Li
1a3b70ac43 feat: merge the last thinking with the previous group 2026-01-17 16:10:58 +08:00
Henry Li
be1e016ed4 fix: do not display 'Untitled' 2026-01-17 15:48:43 +08:00
Henry Li
e2d0246827 feat: implement '/chats' 2026-01-17 15:44:49 +08:00
Henry Li
c38dfdf0e0 feat: add date time util 2026-01-17 15:44:38 +08:00
Henry Li
31510879f2 feat: shrink card size 2026-01-17 15:22:00 +08:00
Henry Li
aa2677e9fd feat: add open in new window 2026-01-17 15:19:53 +08:00
Henry Li
0c6f8353bf feat: support artifact preview 2026-01-17 15:09:44 +08:00
Henry Li
80c928fcf5 feat: set artifacts layout 2026-01-17 11:02:33 +08:00
Henry Li
5d23dd0763 chore: remove unused components 2026-01-17 10:09:43 +08:00
Henry Li
58ff7f8876 chore: downgrade shiki since breaking changes 2026-01-17 10:05:55 +08:00
Henry Li
dfe8f58c16 style: format 2026-01-17 00:13:24 +08:00
Henry Li
9a4cb616c9 feat: make BETTER_AUTH_* optional 2026-01-17 00:13:17 +08:00
Henry Li
1a99ae9c36 feat: ignore components from 3rd parties 2026-01-17 00:12:57 +08:00
Henry Li
c216093360 refactor: rename 2026-01-17 00:05:19 +08:00
Henry Li
e5050c6c1e feat: integrated with artifacts 2026-01-17 00:02:03 +08:00
Henry Li
16a5ed9a73 fix: fix broken when SSE 2026-01-16 23:15:53 +08:00
DanielWalnut
d5b3052cda feat: add artifacts logic (#8) 2026-01-16 23:04:38 +08:00
Henry Li
0d11b21c84 feat: remember sidebar state 2026-01-16 23:03:39 +08:00