Commit Graph
143 Commits
Author SHA1 Message Date
hjlarry cdb1449a96 feat: add online users to skills 2026-01-30 10:00:38 +08:00
zhsama 1a51f52061 Merge remote-tracking branch 'origin/feat/support-agent-sandbox' into feat/support-agent-sandbox 2026-01-29 23:53:34 +08:00
zhsama 20a4a83129 feat: Refactor app export to support sandboxed bundle format 2026-01-29 23:36:19 +08:00
yyh 6ee9078349 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	api/.env.example
#	api/uv.lock
#	web/app/components/app/create-app-modal/index.tsx
#	web/app/components/app/create-from-dsl-modal/index.tsx
#	web/app/components/apps/app-card.tsx
#	web/pnpm-lock.yaml
2026-01-29 21:25:28 +08:00
CrabSAMA 7d1ad7e03a refactor: unified shortcut keys display using component (#31713) 2026-01-29 17:57:46 +08:00
盐粒 Yanli b9ac7af9c5 refactor(web): consolidate download helpers (#31664) 2026-01-29 16:02:49 +08:00
Joel 459d9b5842 chore: not show upgrade to sandbox 2026-01-29 15:00:04 +08:00
Joel 2973968cc6 feat: handle upgrade confirm and icon 2026-01-29 15:00:04 +08:00
Joel 255b7511ae chore: closed not show migriation again 2026-01-29 15:00:04 +08:00
Joel 37f35bced2 feat: migration classical to sandbox engineer 2026-01-29 15:00:03 +08:00
hjlarry c4e5eba6c3 switch to skills tab, keep ws connected and ensure has leader 2026-01-27 10:22:05 +08:00
yyh 772dbe620d fix(workflow): disable view switch during preview run instead of mounted guard
Simpler approach: disable the view picker toggle when preview is running,
preventing users from switching views during active runs.

This replaces the previous mounted ref guard approach (commits a0188bd9b5,
b7f1eb9b7b, 8332f0de2b) which added complexity to handle post-unmount
operations. Disabling the toggle is more direct and follows KISS principle.

Changes:
- Add disabled prop to ViewPicker based on isResponding state
- Revert mounted ref guards in use-chat-flow-control.ts
- Revert isMountedRef parameter in use-nodes/edges-interactions-without-sync.ts
- Revert defensive type check in markdown-utils.ts (no longer needed)
2026-01-27 01:31:22 +08:00
zhsama 8754b321df fix: Add sandbox feature to workflow features mapping 2026-01-25 16:30:50 +08:00
hjlarry 4c596aaac2 Merge branch 'feat/collaboration2' into feat/support-agent-sandbox 2026-01-25 00:00:03 +08:00
hjlarry edb4457684 Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-01-24 15:22:07 +08:00
Joel b5d843b1fd feat: combine 2 export 2026-01-23 15:50:33 +08:00
hjlarry 486a30402b remove forceUpload 2026-01-23 14:33:15 +08:00
zhsama 4707a319e5 refactor: use bivariance to normalize node metadata types 2026-01-23 06:57:00 +08:00
Stephen ZhouandRiskey 878e34c582 fix: more doc link fix (#31395)
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 16:13:10 +08:00
Stephen ZhouandRiskey f7f4d066dc fix: following docs link fix (#31390)
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 16:13:10 +08:00
Stephen Zhou 463060ce52 test: fix test in #30849 (#31350) 2026-01-22 16:13:09 +08:00
Stephen ZhouandRiskey 3de33f7a4e fix: check and update doc links (#30849)
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 16:13:09 +08:00
yyh 4a88ffdf2a feat: align workflow view picker layout 2026-01-22 16:13:09 +08:00
yyh 3dcb34e462 Revert "fix workflow view switch refresh"
This reverts commit 1341b25e74f8d529e434877afc426ad02abe4e6b.
2026-01-22 16:13:09 +08:00
yyh bddb41cd47 feat: add db types in file tree icon 2026-01-22 16:13:09 +08:00
yyh ee35f72861 fix workflow view switch refresh 2026-01-22 16:13:09 +08:00
yyh 62ec464d91 fix(graph/skill): use push to persist history in browser 2026-01-22 16:13:08 +08:00
Stephen ZhouandRiskey 136618b567 fix: more doc link fix (#31395)
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 15:18:42 +08:00
Stephen ZhouandRiskey 036f6ef5ab fix: following docs link fix (#31390)
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 15:02:37 +08:00
Joel 78c7be09f8 chore: not show switch graph skill map in classical 2026-01-21 17:15:42 +08:00
Stephen Zhou aa68966b55 test: fix test in #30849 (#31350) 2026-01-21 16:46:42 +08:00
Stephen ZhouandRiskey 061feebd87 fix: check and update doc links (#30849)
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-21 16:31:48 +08:00
zxhlyh e85b0c49d8 fix: llm generation variable 2026-01-21 14:57:54 +08:00
Joel b94b7860d9 chore: remove useless void 2026-01-21 14:07:19 +08:00
Joel 478833f069 fix: switch refresh 2026-01-21 14:06:07 +08:00
Joel 5657bf52f0 fix: can not save when switch to skill 2026-01-21 13:56:18 +08:00
hjlarry 9be496f953 fix publish workflow not sync 2026-01-20 13:20:02 +08:00
hjlarry cb8fc9cf2d Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-01-19 21:15:53 +08:00
Joel dd42e7706a fix: workflow can not init 2026-01-19 15:15:24 +08:00
yyh f481947b0d Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox 2026-01-19 10:38:36 +08:00
yyhandautofix-ci[bot] e8397ae7a8 fix(web): Zustand testing best practices and state read optimization (#31163)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-19 10:31:34 +08:00
hjlarry 511df81201 fix web style 2026-01-18 13:40:12 +08:00
hjlarry fc291e4ca2 Merge remote-tracking branch 'myori/main' into feat/collaboration2 2026-01-17 10:22:41 +08:00
yyh ad8c5f5452 perf: lazy load SkillMain component using next/dynamic
Reduce initial bundle size by dynamically importing SkillMain
component. This prevents loading the entire Skill module (including
Monaco and Lexical editors) when users only access the Graph view.
2026-01-16 21:31:56 +08:00
yyh 7093962f30 refactor(skill): move skill editor slice to core workflow store
Move SkillEditorSlice from injection pattern to core workflow store,
making it available to all workflow contexts (workflow-app, chatflow,
and future rag-pipeline).

- Add createSkillEditorSlice to core createWorkflowStore
- Remove complex type conversion logic from workflow-app/index.tsx
- Remove optional chaining (?.) and non-null assertions (!) from components
- Simplify slice composition with type assertions via unknown
2026-01-16 13:51:50 +08:00
yyh b8d67a42bd refactor(skill): migrate skill editor store to workflow store slice injection
Refactor the skill editor state management from a standalone Zustand store
with Context provider pattern to a slice injection pattern that integrates
with the existing workflow store. This aligns with how rag-pipeline already
injects its slice.

- Remove SkillEditorProvider and SkillEditorContext
- Export createSkillEditorSlice for injection into workflow store
- Update all components to use useStore/useWorkflowStore from workflow store
- Add SkillEditorSliceShape to SliceFromInjection union type
- Use type-safe slice creator args without any types
2026-01-16 13:51:49 +08:00
yyh ff632bf9b8 feat(workflow): persist view tab state to URL search params
Use nuqs to sync graph/skill view selection to URL, enabling
shareable links and browser history navigation. Hoists
SkillEditorProvider to maintain state across view switches.
2026-01-15 15:09:36 +08:00
yyh ce9ed88b03 refactor(skill-editor): hoist SkillEditorProvider for state persistence
Move SkillEditorProvider from SkillMain to WorkflowAppWrapper so that
store state persists across view switches between Graph and Skill views.
Also add URL query state for view type using nuqs.
2026-01-15 15:09:12 +08:00
hjlarry 4b57e7bd53 fix 2026-01-15 11:42:34 +08:00
Joel 3bd434ddf2 chore: ui enchance 2026-01-15 11:35:48 +08:00