Commit Graph

125 Commits

Author SHA1 Message Date
Eric Wang
545536bdf3 refactor(frontend): enhance MobileCallPage layout and button accessibility
Refactor the layout of the MobileCallPage component to improve structure and accessibility. Replace the Button component with a native button element, adding appropriate aria-labels and titles for better screen reader support. Adjust the positioning of elements for a more cohesive user experience.
2026-08-05 15:15:54 +08:00
Eric Wang
a9c70effae refactor(frontend): unify list and create pages with compact topbar layout
Move resource list and guide page titles into the shared topbar, introduce ListPageLayout for tighter spacing, and align knowledge edit with the prompt editor chrome.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:05:16 +08:00
Eric Wang
7aaa1bf7c0 fix(frontend): refine editor title and section tab scrollbars
Shrink the editable assistant title in prompt/workflow editors and keep the pencil icon visible. Apply scrollbar-subtle to section anchor tabs so horizontal scrollbars match dark theme.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:36:31 +08:00
Xin Wang
10bea48d72 feat: add realtime workflow vision tools 2026-08-05 13:35:00 +08:00
Eric Wang
17b5e10ed1 refactor(frontend): update SectionAnchorTabs layout and styling
- Changed the layout from equal-width grid to left-aligned flex chips for improved visual alignment.
- Adjusted the active state styling and padding for better user experience.
2026-08-05 10:15:49 +08:00
Eric Wang
71003809a2 Merge branch 'main' of https://gitea.xiaowang.eu.org/wx44wx/ai-video-fullstack 2026-08-05 10:00:57 +08:00
Eric Wang
aa72c522c2 feat(frontend): implement SectionAnchorTabs for improved navigation
- Replaced the existing navigation in PromptEditor and PanelAnchorNavigation with the new SectionAnchorTabs component for better code reuse and consistency.
- The SectionAnchorTabs component provides a shared interface for section navigation with equal-width columns and an active state indicator.
2026-08-05 10:00:16 +08:00
Xin Wang
3a4cb9522e Merge branch 'main' of https://gitea.xiaowang.eu.org/wx44wx/ai-video-fullstack 2026-08-05 09:38:03 +08:00
Xin Wang
249dbe1fe3 Update workflow canvas 2026-08-05 09:37:43 +08:00
Xin Wang
6863567fa9 Merge branch 'main' of https://gitea.xiaowang.eu.org/wx44wx/ai-video-fullstack 2026-08-05 09:30:24 +08:00
Xin Wang
69736f3c51 fix(auth): align local API host with browser 2026-08-05 09:28:40 +08:00
Xin Wang
206f732d5c Add effect on debug drawer start button 2026-08-05 09:27:17 +08:00
Xin Wang
bee1e97cdb feat(frontend): compact theme selector, adaptive prompt editor layout
- Theme dropdown: 亮色/暗色/随系统 as one row of three icons
- Prompt editor: sections centered (max-w-7xl) when debug drawer is
  closed, full-width aligned with tab edges when open
- Debug drawer opens by default
- Prompt textarea: 8 → 16 rows

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-05 08:54:24 +08:00
Xin Wang
b88e37789a feat(frontend): refine app shell and assistant editors 2026-08-05 08:19:16 +08:00
Xin Wang
0ce5d9774e fix preview dialog and waveform behavior 2026-08-04 23:04:17 +08:00
Xin Wang
59588ba88d feat(workflow): add edge-tool routing and realtime runtime 2026-08-04 22:29:04 +08:00
Xin Wang
1902ffc240 Merge branch 'main' of https://gitea.xiaowang.eu.org/wx44wx/ai-video-fullstack 2026-08-04 20:19:01 +08:00
Eric Wang
6957cf9b6c feat: enhance mobile call page with animated ripple effect
Added a new animation for the "开始通话" button on the mobile call page, providing a visual ripple effect to improve user experience. Adjusted layout for better clarity and responsiveness.
2026-08-04 17:31:58 +08:00
Xin Wang
74a8be2357 refactor: unify system tools as resources 2026-08-04 17:05:26 +08:00
Eric Wang
d1b05f16c7 fix: compact list pagination and refine mobile call UX
Show ellipsis page controls when lists grow large, and make mobile call start manual with clearer hangup layout and assistant name.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 16:53:25 +08:00
Xin Wang
731a372df9 feat: add system tools and state updates 2026-08-04 15:27:39 +08:00
Xin Wang
5bf5987fe4 feat: add prompt opening behavior modes 2026-08-04 13:29:21 +08:00
Xin Wang
78bba090a2 feat: separate prompt opening and entry behavior 2026-08-04 12:21:07 +08:00
Xin Wang
caa2ff65fa feat(workflow): add drawer anchor navigation 2026-08-04 09:41:52 +08:00
Xin Wang
d068927b53 feat(workflow): add floating directed edges 2026-08-04 09:22:36 +08:00
Xin Wang
67389fc5a1 fix: honor strict workflow agent entry mode 2026-08-03 16:34:26 +08:00
Xin Wang
8064bb7152 refactor(workflow): simplify edge configuration 2026-08-03 15:17:01 +08:00
Xin Wang
dd40bfb90a feat: show client tools in debug preview 2026-08-03 14:00:33 +08:00
Xin Wang
4c43e167db feat(workflow): enhance message stages and image routing 2026-08-03 12:38:02 +08:00
Xin Wang
b0991f239e fix(frontend): clean up voice preview listeners 2026-08-03 12:30:49 +08:00
Xin Wang
2e84de0798 feat(workflow): edit node names in drawer header 2026-08-03 10:52:25 +08:00
Xin Wang
cff591aa13 feat(frontend): embed prompt dynamic variables section 2026-08-03 10:46:56 +08:00
Xin Wang
b0f82142a5 feat(workflow): show variables in drawer 2026-08-03 09:58:01 +08:00
Xin Wang
807afb3099 feat(frontend): add top prompt anchor navigation 2026-08-03 09:56:03 +08:00
Xin Wang
02c88b36e6 feat(workflow): edit nodes on click 2026-08-03 09:52:03 +08:00
Xin Wang
f5c36a62aa feat: make workflow messages resumable 2026-08-03 07:54:51 +08:00
Xin Wang
e3035abcc2 feat(workflow): edit edges on click 2026-08-03 07:42:41 +08:00
Xin Wang
c241e815cc feat(workflow): add node duplication 2026-08-03 07:32:43 +08:00
Xin Wang
9daa46ed4d feat: add deterministic message interaction stages 2026-08-03 07:10:41 +08:00
Xin Wang
479a516546 fix: isolate startup tools and preview dialogs 2026-08-02 00:07:35 +08:00
Xin Wang
0331f8cd07 feat: add prompt startup actions and shared vision config 2026-08-01 23:31:14 +08:00
Xin Wang
b747144ff1 feat: add workflow action outcomes and tracing 2026-08-01 11:21:31 +08:00
Xin Wang
ad5ff061bb feat: add session-scoped client tool waits 2026-07-31 23:53:47 +08:00
Xin Wang
f155f98e6e feat: add workflow action runtime policies 2026-07-31 23:30:04 +08:00
Xin Wang
c2f0f5eb04 feat: add session updates and message dialogs 2026-07-31 00:01:01 +08:00
Xin Wang
913435785e feat: add configurable client tools and photo input 2026-07-30 19:06:03 +08:00
Xin Wang
5ef376b657 refactor(workflow): streamline workflow settings management
- Introduced new utility functions `settingsFromWorkflowGraph` and `workflowGraphWithSettings` to encapsulate settings extraction and graph updates.
- Updated `useWorkflowEditorState` to utilize the new utility functions for improved clarity and maintainability.
- Refactored `AssistantPage` and `WorkflowCanvas` components to leverage the new settings management functions, ensuring consistent handling of workflow settings across the application.
- Removed redundant settings handling code, enhancing overall code cleanliness.
2026-07-29 15:09:00 +08:00
Xin Wang
f027ed99b7 feat(mcp): enhance MCP transport support and add server management UI
- Extend McpTransport to support "sse" in schemas.
- Refactor McpToolClient to handle both "streamable_http" and "sse" transports.
- Introduce McpServerDialog for managing MCP server configurations, including transport settings and tool synchronization.
- Replace McpServersSection with the new dialog component for improved server management.
- Add tests for MCP transport handling and server dialog functionality.
2026-07-19 12:04:11 +08:00
Xin Wang
c54dac403b Refactor AssistantPage to streamline agent platform handling
- Remove the draftAgentPlatform state and related logic, simplifying the creation process for assistant types.
- Default the agent platform to "dify" when creating an assistant of type "智能体平台".
- Replace the platform selection buttons with a ResourceSelectField for improved user experience and maintainability.
- Update the confirmType function to reflect the changes in platform handling.
2026-07-19 10:28:35 +08:00
Xin Wang
cd319d27b9 merge: add workflow vision configuration 2026-07-18 00:10:28 +08:00