Commit Graph

9784 Commits

Author SHA1 Message Date
yyh
12393985ce Merge remote-tracking branch 'origin/main' into deploy/dev 2026-03-18 11:24:54 +08:00
6100acb780 refactor(web): move component tests into sibling __tests__ directories (#33623)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-18 10:49:30 +08:00
485da15a4d refactor(api): replace dict/Mapping with TypedDict in core/rag retrieval_service.py (#33615)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-18 11:49:09 +09:00
yyh
d7f70f3c0f refactor: route low-cost next modules through compat re-exports (#33622) 2026-03-18 10:37:29 +08:00
yyh
bbe975c6bc feat: enhance model plugin workflow checks and model provider management UX (#33289)
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Coding On Star <447357187@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: statxc <tyleradams93226@gmail.com>
2026-03-18 10:16:15 +08:00
aa4a9877f5 fix: fix max_retries is hardcode (#33619) 2026-03-18 10:08:16 +08:00
yyh
a073d60c12 fix(toast): refine stacked hover and focus styles (#33620) 2026-03-18 10:01:12 +08:00
fa542f6628 chore: update deps (#33618) 2026-03-18 09:41:04 +08:00
yyh
801f8b6e64 fix: tighten toast typing and restore focus visibility (#33591) 2026-03-18 09:17:53 +08:00
yyh
4c5f7efeed chore(deps): bump next packages to 16.1.7 (#33616) 2026-03-18 09:04:03 +08:00
3870b2ad2d refactor: use EnumText for dataset and replace string literals 4 (#33606)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-18 09:18:08 +09:00
0bc6c3a73e refactor(api): replace dict/Mapping with TypedDict in core/tools (#33610) 2026-03-18 08:00:27 +09:00
6de605bc27 chore(deps): bump pyasn1 from 0.6.2 to 0.6.3 in /api (#33611)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 07:54:44 +09:00
236ae372be refactor(api): replace dict/Mapping with TypedDict in core/app (#33601) 2026-03-18 00:38:39 +09:00
3f1a127735 refactor: replace sa.String with EnumText for mapped_columns (#33547)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 23:30:23 +09:00
7757bb5089 refactor(api): Query API to select function_1 (#33565)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-17 23:29:16 +09:00
076b297b18 chore(i18n): sync translations with en-US (#33586)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-03-17 19:42:31 +08:00
da2049be76 chore(i18n): sync translations with en-US (#33585)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-03-17 19:34:41 +08:00
yyh
7c6d0bedc0 feat(web): add base ui toast (#33569) 2026-03-17 18:56:36 +08:00
yyh
3db1ba36e0 refactor(web): number inputs to use Base UI NumberField (#33539)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-17 18:45:02 +08:00
5b22d97319 Merge branch 'feat/model-plugins-implementing' into deploy/dev 2026-03-17 18:43:00 +08:00
51f5368b24 test: add coverage for credits exhausted badge in ModelSelectorTrigger
- implement a test to verify the display of the credits exhausted badge when AI credits are depleted and no API key is present
- refactor ModelSelectorTrigger to use a resolved provider for credential panel state
- enhance tooltip labels for deprecated status and credits exhausted scenarios
2026-03-17 18:40:39 +08:00
7292467b0b fix(web): preserve public workflow SSE reconnect after pause (#33552) 2026-03-17 18:40:38 +08:00
1c5b02767a feat: add metrics to clean message and workflow-run task (#33143)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: hj24 <mambahj24@gmail.com>
2026-03-17 18:40:38 +08:00
6290cb7c28 refactor: enhance type safety for status keys in model parameter components
- update status key access in ModelParameterTrigger, Trigger, ModelSelectorTrigger, and Node components to ensure type safety
- apply TypeScript's keyof operator for better type inference with derived model status and trigger status
2026-03-17 18:40:34 +08:00
7e4d1ead0c test: add coverage for credits exhausted badge in ModelSelectorTrigger
- implement a test to verify the display of the credits exhausted badge when AI credits are depleted and no API key is present
- refactor ModelSelectorTrigger to use a resolved provider for credential panel state
- enhance tooltip labels for deprecated status and credits exhausted scenarios
2026-03-17 18:37:48 +08:00
d1961c261e chore: bump version to 1.13.1 (#33505) 2026-03-17 18:30:11 +08:00
a717519822 refactor(api): tighten phase 1 shared type contracts (#33453) 2026-03-17 17:50:51 +08:00
a592c53573 fix: auto-activate credential when provider record exists without act… (#33503) 2026-03-17 17:27:11 +08:00
225cdede2a Merge branch 'fix/auto-activate-credential-on-create' into deploy/dev 2026-03-17 17:06:57 +08:00
0da3f4c016 change default preferred provider type to system 2026-03-17 17:06:17 +08:00
e103971bf6 Merge branch 'main' into feat/model-plugins-implementing 2026-03-17 17:00:15 +08:00
0edbc5d672 refactor: enhance type safety for status keys in model parameter components
- update status key access in ModelParameterTrigger, Trigger, ModelSelectorTrigger, and Node components to ensure type safety
- apply TypeScript's keyof operator for better type inference with derived model status and trigger status
2026-03-17 16:59:09 +08:00
c4d87ef64a Merge branch 'feat/model-plugins-implementing' into deploy/dev 2026-03-17 16:47:55 +08:00
111d82bbb4 fix: align plugin error badge with card icon
- anchor the error status badge to the plugin card icon wrapper
- keep the badge positioned at the icon's bottom-right corner
- add a layout regression test for plugin task items
2026-03-17 16:43:23 +08:00
239e09473e fix(web): preserve public workflow SSE reconnect after pause (#33552) 2026-03-17 16:41:08 +08:00
37367c65c3 fix: prioritize credits exhausted badge over incompatible in model trigger
- return credits-exhausted when ai credits are exhausted and no api key is configured
- keep incompatible for missing provider plugin and other unsupported cases
- add coverage for derive-model-status and trigger badge rendering
2026-03-17 16:38:17 +08:00
40e9c19f90 fix: show credit-enabled providers in model selector popup
- keep installed providers visible when no models are available
- only apply the fallback when AI credits are available
- add popup tests for visible and exhausted-credit cases
2026-03-17 16:26:49 +08:00
f5f87b73a8 [autofix.ci] apply automated fixes 2026-03-17 08:21:17 +00:00
5c53be707c test: cover tool auth warning and single-run hooks; add i18n for authorization required 2026-03-17 16:18:02 +08:00
18ff5d9288 feat: add metrics to clean message and workflow-run task (#33143)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: hj24 <mambahj24@gmail.com>
2026-03-17 13:55:28 +08:00
yyh
be366278da Merge remote-tracking branch 'origin/main' into feat/model-plugins-implementing 2026-03-17 12:58:05 +08:00
18af5fc8c7 chore: revert #33540 #32966 (#33566) 2026-03-17 12:55:58 +08:00
yyh
a1f0382be0 Revert "Reapply "fix(web): load hoisted monaco shiki assets locally""
This reverts commit 0cfd3bbe97.
2026-03-17 12:53:38 +08:00
yyh
f01873b12f Revert "Reapply "fix: add wasm-unsafe-eval csp""
This reverts commit 6d5eea7896.
2026-03-17 12:53:24 +08:00
yyh
468b444304 Revert "try"
This reverts commit 802f1945b9.
2026-03-17 12:53:02 +08:00
bdaa139674 Merge remote-tracking branch 'origin/main' into feat/model-plugins-implementing 2026-03-17 12:38:31 +08:00
9e2123c655 test(web): ignore default-branch merge commits in diff coverage (#33564)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-17 12:33:52 +08:00
yyh
802f1945b9 try 2026-03-17 12:31:56 +08:00
6d5eea7896 Reapply "fix: add wasm-unsafe-eval csp"
This reverts commit 9e95bf02bf.
2026-03-17 12:26:31 +08:00