Douglas
3ccd00f56c
inital commit to redesign chatbox session rendering structure and design custom ui for user input
2026-05-24 20:45:22 +01:00
Douglas
5f343c2045
feat: add frontend render-session layer with inline HITL QuestionBlock
...
Introduces a frontend-owned render-session layer under
`src/components/ChatBox/renderSession/` that normalizes raw messages
into typed `ChatBlock` / `ChatTurn` structures. The agent no longer
needs to emit runtime UI schemas — the frontend classifies blocks from
existing message steps and task state.
Key changes:
- Add `renderSession/types.ts`: `ChatBlock` discriminated union
(markdown, user_message, question, completion, plan, work_log …)
- Add `renderSession/normalizeMessages.ts`: converts `Message[]` +
task state into `ChatTurn[]` with input-type detection for HITL
- Add `renderSession/RenderSessionProvider.tsx`: context that supplies
`chatTurns`, `activeAsk`, `taskId`, and a `submitReply` action
- Add `renderSession/ChatTurnView.tsx` and `MessageBlockRenderer.tsx`
as routing shells for individual blocks
- Add `MessageItem/blocks/QuestionBlock.tsx`: renders `AgentStep.ASK`
inline with text, choice, or context controls; owns a 30-second
visible countdown that auto-submits "skip" when it expires
- Update `UserQueryGroup` to render ASK messages as `QuestionBlock`
instead of plain `AgentMessageCard`
- Wrap `ProjectSection` content with `RenderSessionProvider`
- Remove the global 30-second auto-skip timer from `ChatBox/index.tsx`
(it now lives in `QuestionBlock` where the countdown is visible)
Tests (39 passing):
- Unit: normalizer covers simple turns, ASK active/inactive, files,
orphan messages, multi-turn, detectInputType, extractChoices
- Component: QuestionBlock text/choice submit, disabled-when-inactive,
skipped state after fake-timer advancement
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 12:24:12 +01:00
Tong Chen
6312c44c9b
feat: add CAMEL-based single agent mode ( #1641 )
...
Co-authored-by: Douglas Lai <115660088+Douglasymlai@users.noreply.github.com>
2026-05-22 13:30:37 +08:00
Douglas Lai
d6c66fc7a1
update workspace page structure with subpage content ( #1617 )
2026-05-21 12:27:20 +01:00
Douglas Lai
88714a7432
add changes to fix enhancement for layout ui ( #1644 )
2026-05-20 13:57:55 +01:00
4pmtong
17808242d8
Merge branch 'main' into test
...
# Conflicts:
# .github/workflows/build.yml
# backend/app/agent/agent_model.py
# backend/app/agent/factory/browser.py
# backend/app/agent/factory/developer.py
# backend/app/agent/factory/document.py
# backend/app/agent/factory/mcp.py
# backend/app/model/chat.py
# backend/app/router.py
# backend/app/service/chat_service.py
# src/components/ChatBox/BottomBox/index.tsx
# src/components/ChatBox/index.tsx
# src/pages/Agents/Models.tsx
# src/pages/Agents/index.tsx
# src/store/chatStore.ts
2026-05-20 19:11:44 +08:00
Tong Chen
a5355f4719
feat: add configurable remote sub agents ( #1643 )
...
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Co-authored-by: Sun Tao <2605127667@qq.com>
2026-05-20 01:41:57 +08:00
Tong Chen
9169d70a8d
feat: free trial usage limit banner ( #1642 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-05-19 13:11:01 +08:00
Tong Chen
d96eda0ed2
Add pre-release build workflows ( #1640 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-05-18 20:59:58 +08:00
zhenjunchen-png
57576626ba
feat: add OrcaRouter as a BYOK provider with a searchable model picker ( #1632 )
...
Co-authored-by: zhenjun.chen <zhenkun.wang@dotcunited.com>
Co-authored-by: Tong Chen <web_chentong@163.com>
2026-05-18 20:44:03 +08:00
Tong Chen
8f643aae82
feat: add configurable provider init params ( #1639 )
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-05-17 20:53:54 +08:00
Wendong-Fan
be2a44d307
Update WeChat QR code via QR Code Updater
...
Test / Run Python Tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
🤖 Automated update
2026-05-15 14:08:07 +01:00
4pmtong
c140b973a4
Merge remote-tracking branch 'origin/main' into test
2026-05-14 14:37:09 +08:00
Douglas Lai
b2ac129cd8
adding task start countdown to indicate timeout auto start process ( #1621 )
2026-05-07 20:06:13 +01:00
Douglas Lai
29ecdb6267
refactor spliting task ux and ui ( #1620 )
2026-05-07 19:49:03 +01:00
Douglas Lai
9d06ad0b0e
put color picker in allowlist ( #1619 )
2026-05-07 17:16:41 +01:00
Douglas Lai
913cebafd4
update the layout movement for topbar, worker and workspace item ( #1614 )
2026-05-06 19:28:47 +01:00
Douglas Lai
d454cd26f2
add auto preload for project and mcp list ( #1607 )
2026-05-05 11:00:04 +01:00
Douglas Lai
6b8554e7ec
fix: work-log timeline, execution context, and task box focus ( #1612 )
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-05 10:44:55 +01:00
Tong Chen
caf4affdfe
fix: cloud chat /chat startup failures (422 + Azure api_version) ( #1605 )
2026-05-01 22:05:35 +08:00
Tong Chen
819344fc2f
Fix/replay subtask status lost ( #1603 )
...
Co-authored-by: Douglas <douglas.ym.lai@gmail.com>
Co-authored-by: Douglas Lai <115660088+Douglasymlai@users.noreply.github.com>
2026-05-01 17:45:25 +08:00
Tong Chen
f7504d0043
Fix: persist model config check ( #1604 )
...
Co-authored-by: Douglas <douglas.ym.lai@gmail.com>
Co-authored-by: Douglas Lai <115660088+Douglasymlai@users.noreply.github.com>
2026-05-01 17:45:15 +08:00
Tong Chen
6c827a3d06
refactor: establish Brain-centered architecture and frontend/backend separation foundations ( #1597 )
...
Co-authored-by: Douglas <douglas.ym.lai@gmail.com>
Co-authored-by: Douglas Lai <115660088+Douglasymlai@users.noreply.github.com>
2026-05-01 17:03:33 +08:00
Wendong-Fan
c0a257fe9c
Update WeChat QR code via QR Code Updater
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
🤖 Automated update
2026-05-01 09:09:50 +01:00
Tong Chen
6afbd0378b
add test env ( #1565 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-05-01 11:15:27 +08:00
4pmtong
dee6d8242b
merge main
2026-05-01 10:14:45 +08:00
4pmtong
3780ea2b7d
🎨 add test env
2026-05-01 10:11:24 +08:00
Octopus
8b10717c8a
feat: add MiniMax M2.7 model support ( #1568 )
...
Test / Run Python Tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Co-authored-by: octo-patch <octo-patch@github.com>
2026-04-28 20:01:22 +08:00
Tao Sun
d1c118d04e
feat: update cloud model options ( #1585 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-04-28 14:36:14 +08:00
Wendong-Fan
9c54832230
Update WeChat QR code via QR Code Updater
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
🤖 Automated update
2026-04-17 07:56:17 +01:00
Tong Chen
b528bf09b3
Releases v0.0.90 ( #1563 )
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
2026-04-15 20:52:22 +08:00
Xiangyu Shi
544d73777a
feat: check and support prompt caching for all models ( #1482 )
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-04-13 22:48:47 +08:00
Tong Chen
c6ba7e0cd7
feat(updater): switch app auto-update feed from GitHub Releases to CDN ( #1543 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-04-13 15:27:25 +08:00
Tao Sun
7ced44df71
Add camel log upload and organize files by source type ( #1548 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: 4pmtong <web_chentong@163.com>
2026-04-12 17:16:35 +08:00
emag165
eacda32c08
fix(backend): default max_tokens for Anthropic model validation ( #1549 )
...
CodeQL Advanced / Analyze (python) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: emag165 <emag165@users.noreply.github.com>
Co-authored-by: Sun Tao <2605127667@qq.com>
2026-04-11 22:02:21 +08:00
Tao Sun
53ef106b3e
chore: add prompt cache for anthropic model ( #1552 )
2026-04-11 20:45:56 +08:00
Tong Chen
86ec0ba6a7
add camel_log and attachments ( #1546 )
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
2026-04-10 15:42:55 +08:00
Wendong-Fan
76ab7bfa02
Update WeChat QR code via QR Code Updater
...
🤖 Automated update
2026-04-10 05:14:27 +01:00
Douglas Lai
a3ee533d8b
Fix/browser port ( #1545 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: puzhen <1303385763@qq.com>
2026-04-09 20:32:09 +08:00
Douglas Lai
dd48d2a15a
Add auto scroll animation for the worker log ( #1513 )
...
Co-authored-by: Tong Chen <web_chentong@163.com>
2026-04-09 20:32:02 +08:00
Wendong-Fan
4fea4d3d13
Update WeChat QR code via QR Code Updater
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
🤖 Automated update
2026-04-01 01:50:51 +01:00
Douglas Lai
74f819dd16
Add Upload File tool to browser agent ( #1528 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: puzhen <1303385763@qq.com>
Co-authored-by: Puzhen Zhang <91596298+nitpicker55555@users.noreply.github.com>
2026-03-31 21:58:29 +08:00
Tong Chen
26cc5c4604
feat: detect stale local server and notify developer to restart ( #1517 )
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
2026-03-27 23:06:00 +08:00
Michael Ledin
199b013044
fix: use loguru logger for public dir warnings ( #1520 )
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-03-26 22:51:43 +08:00
Tong Chen
65254b8839
Releases v0.0.89 ( #1516 )
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
2026-03-25 13:22:53 +08:00
Tong Chen
712f20a8fa
Feat: Server refactor v1 ( #1509 )
Pre-commit / pre-commit (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
2026-03-24 18:05:52 +08:00
Tong Chen
1e542f9d27
Revert "Electron style - MacOs ( #1110 )" ( #1512 )
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
Pre-commit / pre-commit (push) Waiting to run
Test / Run Python Tests (push) Waiting to run
Co-authored-by: Douglas <douglas.ym.lai@gmail.com>
2026-03-24 00:11:51 +08:00
Tao Sun
cafb1ae817
chore: prevent long task text from overflowing the ChatBox task card ( #1505 )
2026-03-23 19:35:32 +08:00
Wendong-Fan
e0e7bcef27
Update WeChat QR code via QR Code Updater
...
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Test / Run Python Tests (push) Has been cancelled
🤖 Automated update
2026-03-20 14:35:15 +00:00
dataCenter430
ddb93d82a9
feat(chat): Clarify token usage in chat header (tooltip + task & project total) ( #1501 )
CodeQL Advanced / Analyze (javascript-typescript) (push) Failing after 4s
CodeQL Advanced / Analyze (python) (push) Failing after 3s
Pre-commit / pre-commit (push) Failing after 49s
CodeQL Advanced / Analyze (actions) (push) Failing after 4s
Test / Run Python Tests (push) Successful in 8m10s
2026-03-20 16:45:00 +08:00