Skip to content

refactor(ui): 统一 GUI 与 WebUI 共享界面 - #399

Merged
su-fen merged 4 commits into
Stack-Cairn:mainfrom
yyg-max:refactor/shared-agent-ui
Aug 9, 2026
Merged

refactor(ui): 统一 GUI 与 WebUI 共享界面#399
su-fen merged 4 commits into
Stack-Cairn:mainfrom
yyg-max:refactor/shared-agent-ui

Conversation

@yyg-max

@yyg-max yyg-max commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Linked issue

Closes #396

Summary

GUI 和 WebUI 放进同一个 pnpm workspace,将公共页面、组件和前端逻辑抽到 @liveagent/ui 共享包。两端的平台差异通过 agent-ui-adapters 实现

Screenshots / preview

大量删除来自 GUI/WebUI 重复源码迁移到 agent-ui 后的副本清理,并不表示对应 UI 功能被删除。

WebUI:
image
image

GUI
image

Pre-submit checklist

  • A requirement issue is linked (or this is a trivial fix that needs no issue, as explained in the summary).
  • Synced with the target branch; no merge conflicts.
  • The change is focused, with no unrelated modifications.
  • No secrets, tokens, or personal data included.
  • Docs are updated for changes affecting user behavior, deployment, or configuration.

@su-fen
su-fen merged commit b00f835 into Stack-Cairn:main Aug 9, 2026
8 checks passed
thirsty5034 added a commit to thirsty5034/LiveAgent that referenced this pull request Aug 9, 2026
Resolve 62 conflicts from upstream agent-ui refactor (Stack-Cairn#399):
- Adopt upstream agent-ui/agent-gui split, drop duplicated agent-gui files
- Re-apply tauriBridge shims across 36 files (invoke/listen/openUrl etc.)
- Restore headless module wiring in lib.rs (thin shell + cfg gates)
- Port settings/commands.rs to compat::async_runtime (no tauri in headless)
- Merge CI: keep headless-rust + gen-verify, adopt ui-boundaries job
- Fix HeadlessFolderPicker imports for @liveagent/ui layout

Verified: tsc (agent-gui + gateway web), cargo check desktop+headless,
cargo test headless (657 pass), gen_headless no-drift, verify_headless OK,
ui-boundaries OK.
thirsty5034 added a commit to thirsty5034/LiveAgent that referenced this pull request Aug 9, 2026
… workspace layout

agent-ui refactor (Stack-Cairn#399) moved pnpm-lock.yaml / pnpm-workspace.yaml to the
repo root and split the UI into crates/agent-ui (@liveagent/ui) + agent-gui.
The frontend stage still referenced the legacy single-package paths, so the
Docker build failed with '/crates/agent-gui/pnpm-lock.yaml: not found'.

- copy root workspace manifests + per-package package.json (agent-gui,
  agent-ui, agent-gateway/web) for layer caching
- keep crates/ sibling layout (vite alias / tsconfig paths use ../agent-ui/src)
- build via 'pnpm --filter liveagent build' (tsc + vite)
- builder stage: dist now lives at /app/crates/agent-gui/dist

Verified locally: pnpm install --frozen-lockfile + pnpm --filter liveagent build.
@yyg-max
yyg-max deleted the refactor/shared-agent-ui branch August 9, 2026 09:10
qwenode pushed a commit to qwenode/LiveAgent that referenced this pull request Aug 10, 2026
* refactor(ui): 统一 GUI 与 WebUI 共享界面

* fix(composer): restore platform paste behavior

---------

Co-authored-by: yyg-max <175597134+yyg-max@users.noreply.github.com>
Co-authored-by: su-fen <715041@qq.com>
qwenode added a commit to qwenode/LiveAgent that referenced this pull request Aug 10, 2026
Restore shared CronTaskModal skill-preset UI dropped during Stack-Cairn#399, name
workspaceResources on the cron MCP filter path, port missing workspace
resource i18n keys, and green settings/i18n/sidebar tests after the
targeted workspace Skills/MCP port. Record validation in the sync worklog.
qwenode added a commit to qwenode/LiveAgent that referenced this pull request Aug 10, 2026
Re-wire focusComposerAfterConversationChange and cancelPending refs on
ChatPage after the Stack-Cairn#399 split, normalize CRLF in source-scan tests, and
retire the removed SkillPresetManager interaction suite. Full GUI
frontend suite is green (1538/1538).
qwenode added a commit to qwenode/LiveAgent that referenced this pull request Aug 10, 2026
…wiring

Restore Gateway pending-seq cross-workspace open, historyScopeKey,
collapse path props, history.skills adapter, and ChatPage project
conversation selection without dropping local showProjects online guard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor] GUI/WebUI 单一源码共享化

2 participants