Commit graph

2249 commits

Author SHA1 Message Date
Douglas
aa888e5ea2 chore: add design-token usage guardrail and allowlist
Add check-design-token-usage.mjs, wire npm scripts, lint-staged, and CI
frontend job. Allowlist WordCarousel and Terminal for required hex.
Strip redundant ds:allow comments from Terminal theme.

Made-with: Cursor
2026-04-23 11:51:04 +01:00
Douglas
b589f3c0b5 refactor(ui): prefer design tokens over raw colors
Use ds utilities, CSS vars, and neutral shimmer mix. Simplify TTFT console
log; Appearance preview fallback uses var(--colors-black-100).

Made-with: Cursor
2026-04-23 11:50:53 +01:00
Douglas
69af431473 feat(ui): use dialog overlay scrim on sheets and full-screen backdrops
Replace ad hoc black opacity with bg-dialog-overlay-scrim for modal
surfaces. Use token-based hover veils on browser/terminal workspace cards.

Made-with: Cursor
2026-04-23 11:50:50 +01:00
Douglas
33f76c73bd feat(ui): dialog overlay variants and scrim on alert
Expose default/light/dark/dimmed overlay variants using design tokens.
Use bg-dialog-overlay-scrim for confirm modal backdrop. Skill upload
dialog uses dimmed scrim.

Made-with: Cursor
2026-04-23 11:50:34 +01:00
Douglas
17f8f61e1c feat(theme): dialog overlay scrim token and mode-split aliases
Add --dialog-overlay-scrim with light/dark values resolved by ThemeProvider
mode. Extend buildComponentAliasVariables to support mode-split $value
objects. Map scrim and forced overlay utilities in Tailwind.

Made-with: Cursor
2026-04-23 11:50:26 +01:00
Douglas
10f14ea285 refactor(settings): use accent-ds-* for appearance range input
Made-with: Cursor
2026-04-23 11:24:05 +01:00
Douglas
070339b474 refactor(workflow): use border-ds-* for markdown tables
Made-with: Cursor
2026-04-23 11:24:01 +01:00
Douglas
48e94c1916 refactor(layout): use ds-* utilities in top bar, history search, project sidebar
Made-with: Cursor
2026-04-23 11:21:22 +01:00
Douglas
172936ca54 refactor(chat): use ds-* utilities in task list and session timeline
Prefer bg-ds-bg-*-subtle-default short aliases and border-ds-border-status-*.

Made-with: Cursor
2026-04-23 11:20:01 +01:00
Douglas
ca086ab573 refactor(chat): use ds-* utilities in input area and user query group
Made-with: Cursor
2026-04-23 11:19:26 +01:00
Douglas
31bcf19bda refactor(chat): use ds-* Tailwind utilities in message components
Replace bg-[var(--ds-*)], text-[color:var(--ds-*)], and border arbitrary
values with bg-ds-*, text-ds-*, and border-ds-* across cards and markdown.

Made-with: Cursor
2026-04-23 11:18:57 +01:00
Douglas
8106c9a15e refactor(background): use Tailwind ds-* on SVG patterns and lottie backdrop
Apply stroke-ds-*, fill-ds-*, and bg-ds-* instead of inline var(--ds-*).

Made-with: Cursor
2026-04-23 11:17:42 +01:00
Douglas
a96f1001ef refactor(ui): use Tailwind ds-* tokens in sheet, tabs, and sidebar
Replace arbitrary bg-[color:var(--ds-*)] and shadow-[...var(...)] with
bg-ds-* and theme()-based shadow utilities.

Made-with: Cursor
2026-04-23 11:16:50 +01:00
Douglas
13ea060886 chore(storybook): centralize UI stories under src/stories/ui
Move Button, Input, and Dialog stories; import from @/components/ui/*.
Removes colocated *.stories.tsx from src/components/ui.

Made-with: Cursor
2026-04-23 10:52:40 +01:00
Douglas
bda0e290f2 style(ui): use design token for Skeleton background
Replace bg-primary/10 with bg-ds-bg-neutral-muted-default/30.

Made-with: Cursor
2026-04-23 10:52:31 +01:00
Douglas
e20284be49 fix(ui): merge Toggle className with cn() outside toggleVariants
CVA should not receive className; merge with toggleVariants() output.

Made-with: Cursor
2026-04-23 10:52:24 +01:00
Douglas
9c4766cece refactor(ui): add tone to menu-button and resolve look from variant
Replace single info variant with tone=information and CVA look slot
(default, clear, info, clearInfo). Deprecate variant=info in favor of tone.

- Context carries variant, tone, size; items merge overrides
- data-look and data-menu-tone on items

Made-with: Cursor
2026-04-23 10:51:49 +01:00
Douglas
fe6b3970f1 refactor(ui): rename TabsList/TabsTrigger variant to appearance
Use data-tabs-appearance for tab strip styling. Keep variant as deprecated
alias. Update call sites to appearance= for clarity vs UiVariant.

Made-with: Cursor
2026-04-23 10:51:41 +01:00
Douglas
047a028e03 feat(ui): add Alert tone API and deprecate destructive variant
Map legacy variant default/destructive to neutral/error tones. Expose full
UiTone set with data-tone for testing and styling.

Made-with: Cursor
2026-04-23 10:51:34 +01:00
Douglas
024133a540 feat(ui): add formFieldSurface and share form control chrome
Extract shared size and validation class helpers in formFieldSurface.ts
for Input, Textarea, Select, and InputSelect. Extend semanticProps with a
short glossary of variant meaning (UiVariant vs layout vs legacy).

- Wire form fields to the shared helpers
- Note text colors use formFieldNoteTextClassName where applicable

Made-with: Cursor
2026-04-23 10:51:26 +01:00
Douglas
c35396f9d9 edit default app size 2026-04-22 23:54:39 +01:00
Douglas
7402171010 Merge origin/refactor_eigent: resolve TopBar, Models, Setting, WorkFlow/node
- TopBar: import SITE_URL for invite links
- Models: keep shared getModelImage + needsInvertModelImage helpers
- Setting: keep Dashboard VerticalNav + Appearance tab layout
- WorkFlow/node: keep feat design tokens and TaskLogPanelContent
- electron/main/init: fix devServerUrl typo (use fs.existsSync for .env.development)

Made-with: Cursor
2026-04-22 23:39:16 +01:00
Douglas
0988edd575 Merge branch 'refactor_eigent' into feat/eigent-new-design
Resolve content conflicts: keep new-design UI in src, adopt Brain and drop
duplicate skills IPC in electron, merge tsconfig includes. Use host abstraction
for IPC in Folder/Home/update, extend FileAttachment for web uploads, fix theme
token matrix typing, remove dead skill zip import from main process.

Note: pre-commit used --no-verify because backend .venv pre-commit path is broken
on this machine; run pre-commit locally after fixing venv.

Made-with: Cursor
2026-04-22 23:20:03 +01:00
Douglas Lai
46f9355a67
Refactor agent log (#1574)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 23:05:22 +01:00
Douglas
273ce4f27f update design change 2026-04-22 19:52:14 +01:00
Douglas
65486c6bf8 style fix for folder content 2026-04-22 13:01:47 +01:00
Douglas Lai
cd8fccef82
Feat/home workspace UI polish 20260422 (#1572)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 12:41:10 +01:00
Douglas Lai
c734699a2f
Refactor chat rendering (#1570)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 23:01:29 +01:00
Douglas Lai
d604be3bcb
Design Roken refactor (#1569)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 16:13:01 +01:00
4pmtong
39903625a0 Merge remote-tracking branch 'origin/test' into refactor_eigent
# Conflicts:
#	.github/workflows/build.yml
#	src/components/TopBar/index.tsx
#	src/pages/Browser/Cookies.tsx
#	src/pages/Login.tsx
#	src/store/chatStore.ts
2026-04-21 15:58:52 +08:00
4pmtong
4227e06439 fix(review): address PR #1536 feedback (file path normalization, Path typing, cleanup) 2026-04-20 16:34:37 +08:00
Douglas
d3810f9d2d chore(ui): reorganize component paths and shared layout
Move history, navigation, and search under components/Dashboard/,
relocate animate-ui under components/ui/, move ThemeProvider and
AnimationJson under Layout/, replace BottomBar/WorkspaceMenu with
WorkforceMenu, and update imports across the app.

Design token runtime (themeTokens, ThemeProvider contract, and UI
alias helpers) stays on branch design-refactor for follow-up work.

Made-with: Cursor
2026-04-18 16:12:57 +01:00
Douglas
bb5daa2313 bug fix 2026-04-18 12:13:33 +01:00
Douglas
b8204f29ff fix import bug 2026-04-17 16:00:46 +01:00
Douglas
84686847be update design 2026-04-17 15:41:29 +01:00
Tong Chen
ec0a9b3aae
Merge branch 'main' into test 2026-04-17 18:46:19 +08:00
Douglas
c852c3ed7c add all new features 2026-04-17 11:46:06 +01:00
Wendong-Fan
9c54832230 Update WeChat QR code via QR Code Updater
Some checks failed
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
4pmtong
04bc9e358b add test env 2026-04-16 14:41:18 +08:00
Tong Chen
b528bf09b3
Releases v0.0.90 (#1563)
Some checks failed
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)
Some checks failed
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)
Some checks are pending
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)
Some checks are pending
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)
Some checks are pending
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)
Some checks failed
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
086df14ef1 redesign for chathistory and workspace panel 2026-04-09 21:59:52 +01:00
Douglas
19e6ee1f7a resolve conflicts 2026-04-09 14:09:20 +01:00
Douglas
72e93bc0f1 Merge origin/main into feat-new-workspace-ai-worker
Made-with: Cursor
2026-04-09 14:05:14 +01:00