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
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
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
Dream
2e44ae0f0a
refactor: move privacy consent from ChatBox to Login/SignUp ( #1239 )
...
Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-03-07 18:55:48 +08:00
Douglas Lai
38c7717f3d
Update Dahsboard UI ( #1349 )
...
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-24 02:12:27 +08:00
Wendong-Fan
ddada3e642
Revert "feat: add model type autocomplete with api based suggestions and plat…" ( #1352 )
2026-02-24 02:02:46 +08:00
JwCwn
02fd53f796
refactor: standardize workspace casing ( #1337 )
...
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: bytecii
2026-02-22 03:05:15 -08:00
intelliking
a0b2d5d751
feat: add model type autocomplete with api based suggestions and plat… ( #1204 )
...
Co-authored-by: bytecii <bytecii@users.noreply.github.com>
2026-02-22 03:01:38 -08:00
NeedmeFordev
d5a6c3937d
fix: Mac trackpad horizontal scroll incorrectly triggers zoom in Agent Canvas ( #1211 ) ( #1220 )
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-02-12 14:53:04 -08:00
NeedmeFordev
993392fa9b
fix(Folder): align file list entries and unify spacing in file explorer ( #1224 )
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-02-11 19:39:00 -08:00
Dream
9a5b183654
fix: persist subtask edits to backend on add/update/delete ( #930 ) ( #1164 )
...
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-07 06:19:12 +08:00
Wendong-Fan
3291fdf0eb
Revert "add authentication (login/signup) and improve search history management" ( #1120 )
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
2026-02-02 01:23:35 +08:00
Wendong-Fan
bd2f2a1c9e
Merge branch 'pr-1021' into pr-1021-merge
2026-02-02 01:21:02 +08:00
Tong Chen
af93bb3065
feat: Add Lint & Format ( #878 )
...
Co-authored-by: a7m-1st <Ahmed.jimi.awelkeir500@gmail.com>
Co-authored-by: eigent-ai <camel@eigent.ai>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-02-01 23:16:18 +08:00
Zahid Ullah Khan
91c98f65e1
Merge branch 'main' into main
2026-01-26 10:08:44 +05:00
Ahmed Awelkair A
33829f2c1e
feat: copyright header pre-commit ( #1053 )
...
Co-authored-by: 4pmtong <web_chentong@163.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
2026-01-24 08:22:20 +08:00
Zahid Ullah Khan
21299788c3
feat: implement delete functionality in SearchHistoryDialog and add corresponding tests
2026-01-21 15:34:04 +05:00
Wendong-Fan
8ff8c86784
update usecase
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
2026-01-15 02:19:33 +08:00
Wendong-Fan
746064aebe
chore: update test file
2025-11-08 15:46:21 +08:00
Wendong-Fan
14c968ad45
enhance: update test
2025-10-06 13:27:24 +08:00
a7m-1st
a5c9974c41
feat(test): Setting/utils.ts
2025-09-15 15:50:06 +03:00
Wendong-Fan
7e72e6b115
enhance: add comprehensive unit tests PR223
2025-09-06 06:17:32 +08:00
a7m-1st
90864539e8
feat: add frontend unit tests with vitest (214 cases)
2025-08-25 04:45:35 +03:00