Commit Graph

1581 Commits

Author SHA1 Message Date
8513fa2897 feat: add support for file outputs in LLMNode, including auto-collection and deduplication 2026-03-11 16:30:54 +08:00
dbc87dbd3b feat: update LLM node skills API to extract tool dependencies and change endpoint to POST 2026-03-11 14:41:33 +08:00
52dd4b82e6 fix: llm logs 2026-03-06 18:04:18 +08:00
yyh
9ff9942af1 refactor(web): move sandbox tree builder to workflow artifacts utils 2026-02-27 17:16:03 +08:00
yyh
f70d89e80b refactor(web): remove useSandboxFilesTree and derive hasFiles in components
Migrate ArtifactsSection to queryOptions + useQuery composition and derive\nfile tree/hasFiles locally from flat data. Remove the now-unused\nuseSandboxFilesTree helper and update related tests to mock the new\nqueryOptions-based flow.
2026-02-27 12:42:40 +08:00
yyh
0bdd21bc17 refactor(web): replace query option tunneling with queryOptions factories
Extract sandboxFilesTreeOptions and buildTreeFromFlatList from
useSandboxFilesTree so callers that need custom TanStack Query behavior
(e.g. refetchInterval) can compose at the call site instead of tunneling
options through the hook. Remove the thin useGetSandboxProviderList
wrapper in favor of inline oRPC queryOptions in the component.

Also remove redundant .input(type<unknown>()) from three no-input GET
contracts—oc already defaults TInputSchema to Schema<unknown, unknown>.
2026-02-27 11:58:16 +08:00
yyh
60b02e6d2b refactor(web): destructure mutation result to narrow useCallback dependencies 2026-02-25 21:04:20 +08:00
yyh
d60a43164f refactor(web): use skipToken for optional query inputs 2026-02-25 00:56:38 +08:00
yyh
bad48e5deb refactor(web): replace query hooks with queryOptions factories (#32520) 2026-02-25 00:31:25 +08:00
yyh
f13f5a8882 fix(web): truncate long parent paths in skill file-tree search results 2026-02-24 23:50:28 +08:00
yyh
2e0661aa90 refactor(web): align MCP availability context migration
- move MCP availability context to block-selector/context and update imports

- preserve sandbox gating, parent-provider inheritance, and blockedBy semantics

- add context tests on top of refactor baseline cases

- regenerate and prune eslint suppressions
2026-02-23 22:46:31 +08:00
4b6f1861ef fix: view vars artifacts md not support scroll and loading not in the center 2026-02-14 11:00:52 +08:00
yyh
e730124740 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	api/uv.lock
#	web/app/components/apps/__tests__/app-card.spec.tsx
#	web/app/components/apps/__tests__/list.spec.tsx
#	web/app/components/datasets/create/__tests__/index.spec.tsx
#	web/app/components/datasets/metadata/metadata-dataset/__tests__/dataset-metadata-drawer.spec.tsx
#	web/app/components/plugins/readme-panel/__tests__/index.spec.tsx
#	web/app/components/rag-pipeline/__tests__/index.spec.tsx
#	web/app/components/rag-pipeline/hooks/__tests__/index.spec.ts
#	web/eslint-suppressions.json
2026-02-13 15:17:52 +08:00
yyh
15dff1d59f refactor(web): use granular zustand selector for sandbox toggle 2026-02-13 14:20:32 +08:00
9e0f906fac feat: update tooltips for better clarity 2026-02-13 14:12:42 +08:00
yyh
0893c8531d fix(workflow): lock chatflow start node from type change 2026-02-13 12:56:49 +08:00
yyh
086f6a2bb3 feat(web): unify node selector availability rules 2026-02-13 12:17:04 +08:00
yyh
87d09b2e3d fix: use localized doc pathMap links for multilingual anchors 2026-02-13 11:30:36 +08:00
yyh
c0bba03b13 refactor: use options object in useDocLink calls 2026-02-13 10:37:38 +08:00
yyh
e45d4d8d90 refactor(web): replace remixicon components with css icons 2026-02-13 10:28:23 +08:00
yyh
5e9f3eab8b feat: localize docs anchors and correct workflow node doc links 2026-02-13 10:24:44 +08:00
535436ea1d fix: Fix PromptEditor remount when readOnly prop changes 2026-02-12 19:10:10 +08:00
8fd3eeb760 fix: can not upload file in single run (#32276) 2026-02-12 17:23:01 +08:00
50c8b699a8 chore: use console.warn instead of toast 2026-02-12 10:07:47 +08:00
c02a96a916 feat: Exclude reasoning_format from LLM nodes when sandbox enabled 2026-02-11 21:16:58 +08:00
a71d13523d feat: Add Command and FileUpload workflow icons, fix SSH provider icon 2026-02-11 21:16:57 +08:00
17ba8af331 Revert "Merge branch 'zhsama/remove-reasoning-ui' into feat/support-agent-sandbox"
This reverts commit f6b0fda9f7, reversing
changes made to f359bbc5de.
2026-02-11 21:16:57 +08:00
26ace0da95 Merge branch 'main' into feat/support-agent-sandbox 2026-02-11 17:50:35 +08:00
29d6d030f8 fix: llm node output variable 2026-02-11 16:37:27 +08:00
9185c05050 chore: useless cn 2026-02-11 14:58:54 +08:00
dbc575cac0 chore: popup file add ui 2026-02-11 14:58:54 +08:00
a5662c947c chore: file choose high 2026-02-11 14:58:54 +08:00
25c4df27ba feat: file uploader choose 2026-02-11 14:58:53 +08:00
c2fb3604de feat: can show add files 2026-02-11 14:58:53 +08:00
e32490f54e feat(workflow): enhance workflow run history management and UI updates (#32230) 2026-02-11 14:09:33 +08:00
yyh
29406dbc46 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	api/core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py
2026-02-11 12:44:05 +08:00
d64d796815 chore: improve download graph log 2026-02-11 10:54:07 +08:00
439d931e9f fix: support tool call badge & disable tools in llm when model not support tool call 2026-02-11 10:46:55 +08:00
5157a33aff fix: two tabs refresh cause empty graph 2026-02-11 10:32:17 +08:00
16b8733886 fix: Fix the display of state icon of base node (#32208) 2026-02-10 22:45:56 +08:00
2da770cdbd feat: add File Upload node functionality and related components
- Implemented File Upload node with support for uploading files to the sandbox.
- Added necessary UI components including node panel and default configurations.
- Enhanced workflow constants and enums to include File Upload.
- Updated error handling for file upload operations.
- Integrated File Upload into existing workflow structure, ensuring compatibility with variable handling and output management.
- Added translations for new File Upload features in workflow.json.
2026-02-10 20:51:31 +08:00
d876fddab0 Revert "feat(workflow): refine variable validation and scoping for workflow nodes, remove redundant End block checks"
This reverts commit 32fcbcdc62.
2026-02-10 20:00:11 +08:00
8d0e646912 fix: Fix sub graph code node step error 2026-02-10 19:45:46 +08:00
yyh
cbcb5a71c3 fix test 2026-02-10 18:18:27 +08:00
yyh
2ab0b334a8 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	web/app/components/rag-pipeline/components/update-dsl-modal.tsx
#	web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts
#	web/app/components/workflow/variable-inspect/utils.tsx
#	web/app/layout.tsx
#	web/context/event-emitter.tsx
#	web/eslint-suppressions.json
#	web/next.config.ts
#	web/package.json
#	web/pnpm-lock.yaml
#	web/types/feature.ts
2026-02-10 18:12:41 +08:00
5077879886 chore: allow draft run single node without connect to other node (#31977) 2026-02-10 18:03:52 +08:00
f355c8d595 refactor: type safe env, update to zod v4 (#32035) 2026-02-10 17:55:11 +08:00
yyh
ce8c484ab8 fix(workflow): show clear all button when any inspect tab has data
Previously the button visibility was tab-dependent, hiding it when
switching to an empty tab even if the other tab had data.
2026-02-10 17:14:12 +08:00
c980f1b2ac feat: support enable agent mode show tip in prompt editor 2026-02-10 17:02:12 +08:00
de33561a52 test: add comprehensive tests for Human Input Node functionality (#32191) 2026-02-10 17:00:46 +08:00