Commit Graph

2473 Commits

Author SHA1 Message Date
Archer
3a5318c012 fix: action (#5903) 2025-11-12 10:53:31 +08:00
Finley Ge
8eb6f37b30 fix: sso doc (#5901)
* hide api

* fix: sso doc

* fix: rebase

---------

Co-authored-by: archer <545436317@qq.com>
2025-11-12 10:04:39 +08:00
Archer
d571c768ea V4.14.1 feature (#5880)
* feat: app split (#5858)

* feat: app split script

* fix: app split

* chore: app split script try-catch

* adjust dashborad page (#5872)

* create page

* create page

* create button

* router name

* bot

* template

* create page

* mobile

* toolfolder

* fix

* fix

* fix build

* split tool select

* img

* doc

* rename enum

* fix page adjust (#5883)

* fix page adjust

* fix ad store

* fix: initv4141 (#5886)

* fix: create app

* doc

* hide api

* doc

* feat: payment pause interactive (#5892)

* fix: copy clbs (#5889)

* fix: copy clbs

* fix: copy clbs

* fix: http protocol handling in baseURL (#5890)

* fix: http protocol handling in baseURL

* ui fix

* auto saved version

* fix

* auto save

* fix: model permission modal (#5895)

* folder

* fix: del app

* navbar

* fix: plugin file selector (#5893)

* fix: plugin file selector

* fix: plugin file selector

* workflow tool inputform

* pick

---------

Co-authored-by: archer <545436317@qq.com>

* fix: workflow tool time

* doc

* fix workorder button (#5896)

* add inform track (#5897)

* remove invalid track

* comment

* feat: marketplace refresh api (#5884)

* marketplace refresh

* fix: helper bot menu button (#5898)

---------

Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com>
2025-11-11 14:05:02 +08:00
伍闲犬
74e16204e3 fix: plugin file selector (#5871)
* fix: plugin file selector

* fix: render

* fix: upload

* fix: file selector auth

---------

Co-authored-by: archer <545436317@qq.com>
2025-11-07 16:48:10 +08:00
Finley Ge
8ca5ebecd4 perf: read file node return splited raw texts (#5881) 2025-11-07 14:20:34 +08:00
Archer
7225ebec01 perf: model reload (#5879)
* Version doc

* perf: model reload
2025-11-07 12:15:08 +08:00
Archer
1f9c8d32ac fix: child app run error (#5876) v4.14.0-fix 2025-11-07 10:55:05 +08:00
Archer
edf06a0ffe fix: trim check (#5873) 2025-11-06 22:20:37 +08:00
Finley Ge
57e37c91d3 chore: edit upgrading doc (#5870)
* chore: edit upgrading doc

* Update doc-last-modified.json

---------

Co-authored-by: Archer <545436317@qq.com>
2025-11-06 15:43:00 +08:00
Archer
7aaa28ed08 fix: document deploy (#5868)
* mcp memory

* Editor space parse error

* fix: ts

* fix: debug interactive

* fix: templateId

* fix: editor in debug

* doc
2025-11-06 14:47:55 +08:00
Archer
89ca81d1a4 fix: document deploy (#5867) 2025-11-05 17:05:58 +08:00
Archer
bf33f7af2e add templateId to apps (#5866)
* fix: timeselector ui error

* var update node

* add templateId to apps
2025-11-05 14:58:02 +08:00
Archer
45869fa058 Upgrade document (#5865)
* fix: timeselector ui error

* var update node

* version doc

* doc
2025-11-05 14:16:14 +08:00
Archer
adf9981845 fix: http inputs (#5864)
* fix: timeselector ui error

* var update node

* fix: http
v4.14.0
2025-11-05 13:49:13 +08:00
Archer
3a030e8c33 Fix: Tag filter scroll (#5863)
* fix: timeselector ui error

* var update node

* tag filter scroll
2025-11-05 13:29:40 +08:00
heheer
c9edba3539 fix scrollbar (#5862) 2025-11-05 13:19:11 +08:00
Archer
5163e704ed fix: editor (#5859)
* fix: timeselector ui error

* var update node

* fix: editor

* feat: add name watch
2025-11-05 11:31:37 +08:00
Archer
44e87e3053 fix: var render (#5857)
* fix: timeselector ui error

* var update node

* fix: var render

* fix: prompt editor

* perf: init

* fix: retry input

* fix: prompt editor

* fix: editor
2025-11-04 22:15:47 +08:00
Archer
a499d05a02 V4.14.0 features (#5850)
* feat: migrate chat files to s3 (#5802)

* feat: migrate chat files to s3

* feat: add delete jobs for deleting s3 files

* chore: improvements

* fix: lockfile

* fix: imports

* feat: add ttl for those uploaded files but not send yet

* feat: init bullmq worker

* fix: s3 key

* perf: s3 internal url

* remove env

* fix: re-sign a new url

* fix: re-sign a new url

* perf: s3 code

---------

Co-authored-by: archer <545436317@qq.com>

* update pacakge

* feat: add more file type for uploading (#5807)

* fix: re-sign a new url

* wip: file selector

* feat: add more file type for uploading

* feat: migrate chat files to s3 (#5802)

* feat: migrate chat files to s3

* feat: add delete jobs for deleting s3 files

* chore: improvements

* fix: lockfile

* fix: imports

* feat: add ttl for those uploaded files but not send yet

* feat: init bullmq worker

* fix: s3 key

* perf: s3 internal url

* remove env

* fix: re-sign a new url

* fix: re-sign a new url

* perf: s3 code

---------

Co-authored-by: archer <545436317@qq.com>

* fix: limit minmax available file upload number

* perf: file select modal code

* fix: fileselect refresh

* fix: ts

---------

Co-authored-by: archer <545436317@qq.com>

* bugfix: chat page (#5809)

* fix: upload avatar

* fix: chat page username display issue and setting button visibility

* doc

* Markdown match base64 performance

* feat: improve global variables(time, file, dataset) (#5804)

* feat: improve global variables(time, file, dataset)

* feat: optimize code

* perf: time variables code

* fix: model, file

* fix: hide file upload

* fix: ts

* hide dataset select

---------

Co-authored-by: archer <545436317@qq.com>

* perf: insert training queue

* perf: s3 upload error i18n

* fix: share page s3

* fix: timeselector ui error

* var update node

* Timepicker ui

* feat: plugin support password

* fix: password disabled UX

* fix: button size

* fix: no model cache for chat page (#5820)

* rename function

* fix: workflow bug

* fix: interactive loop

* fix test

* perf: common textare no richtext

* move system plugin config (#5803) (#5813)

* move system plugin config (#5803)

* move system plugin config

* extract tag bar

* filter

* tool detail temp

* marketplace

* params

* fix

* type

* search

* tags render

* status

* ui

* code

* connect to backend (#5815)

* feat: marketplace apis & type definitions (#5817)

* chore: marketplace init

* chore: marketplace list api type

* chore: detail api

* marketplace & import

* feat: marketplace ui (#5826)

* temp

* marketplace

* import

* feat: detail return readme

* chore: cache data expire 10 mins

* chore: update docs

* feat: marketplace ui

---------

Co-authored-by: heheer <zhiyu44@qq.com>

* feat: marketplace (#5830)

* temp

* marketplace

* chore: tool list tag filter

* chore: adjust

---------

Co-authored-by: heheer <zhiyu44@qq.com>

* tool detail drawer

* remove tag filter

* fix

* fix

* fix build

* update pnpm-lock

* fix type

* perf code

* marketplace router

* fix build

* navbar icon

* fix ui

* fix init

* docs: marketplace/plugin (#5832)

* temp

* marketplace

* docs(plugin): system tool docs

---------

Co-authored-by: heheer <zhiyu44@qq.com>

* default url

* feat: i18n/ docker build (#5833)

* chore: docker build

* feat: i18n selector

* fix

* fix

* fix: i18n parse

* fix: i18n parse

---------

Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
Co-authored-by: heheer <zhiyu44@qq.com>

* marketplace url

* update action

* market place code

* market place code

* title

* fix: nextconfig

* fix: copilot review

* Remove bypassable regex-based XSS sanitization from marketplace search (#5835)

* Initial plan

* Remove problematic regex-based XSS sanitization from search inputs

Co-authored-by: c121914yu <50446880+c121914yu@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: c121914yu <50446880+c121914yu@users.noreply.github.com>

* feat: tool tag openapi

* api check

* fix: tsc

* fix: ts

* fix: lock

* sdk version

* ts

* sdk version

* remove invalid tip

* perf: export data add timezone

* perf: admin plugin api move

* perf: tool code

* move tag code

* perf: marketplace and team plugin code

* remove workflow invalid request

* rename global tool code

* rename global tool code

* rename api

* fix some bugs (#5841)

* fix some bugs

* fix

* perf: Tag filter

* fix: ts

* fix: ts

---------

Co-authored-by: archer <545436317@qq.com>

* perf: Concat function

* fix: workflow snapshot push

* fix: ts type

* fix: login to config/*

* fix: ts

* fix: model avatar (#5848)

* fix: model avatar

* fix: ts

* fix: avatar migration to s3

* update lock

* fix: avatar redirect

---------

Co-authored-by: archer <545436317@qq.com>

* fix tool detail (#5847)

* fix tool detail

* init script

* fix build

* perf: plugin detail modal

* change tooltags to tags

* fix icon

---------

Co-authored-by: archer <545436317@qq.com>

* fix tag filter scroll (#5852)

* fix create app plugin & import info (#5853)

* tag size

* rename toolkit

* download url

* import plugin status (#5854)

* init doc

* fix: init shell

---------

Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com>
Co-authored-by: Zeng Qingwen <143274079+fishwww-ww@users.noreply.github.com>
Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
Co-authored-by: heheer <zhiyu44@qq.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-04 16:58:12 +08:00
Archer
fac170306e Update 4130.mdx (#5855) 2025-11-04 15:06:39 +08:00
mmagi
f79dbf8e8d fix: 修复Markdown渲染加粗链接时显示[object Object]的问题 (#5839) 2025-11-03 21:23:27 +08:00
Archer
e1b616a4e4 Update README.md (#5844) 2025-11-03 15:53:26 +08:00
dependabot[bot]
f7448fb2b1 chore(deps): bump starlette in /plugins/model/llm-ChatGLM2 (#5825)
Bumps [starlette](https://github.com/Kludex/starlette) from 0.47.2 to 0.49.1.
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/starlette/compare/0.47.2...0.49.1)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 0.49.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-30 12:27:10 +08:00
Archer
3bd9b61bd4 remove invalid log (#5812) 2025-10-24 18:07:24 +08:00
Archer
d87771a14a fix: toolcall index not start zero (#5811) 2025-10-24 17:49:18 +08:00
John Chen
68271c0846 fix: 修复Plugin代理服务在处理通过nginx转发部署的Plugin服务时,req.headers中的host会导致返回404. (#5801)
问题场景:
当Plugin服务不是直接通过ip\docker内路由直接访问,而是通过nginx做域名转发的方式部署时,30行headers: req.headers会直接将host(此时host=fastgpt主项目的域名)带入,nginx会使用host值判断转发路由,而导致请求无法被正确转发到plugin项目中。
此次修改参照了projects/app/src/pages/api/lafApi/[...path].ts中的做法,同时删除了cookie\host\origin三个header
2025-10-22 16:17:42 +08:00
Archer
038fee2130 fix path (#5797)
* fix: variables refresh

* fix: workflow start check

* fix path
2025-10-21 11:58:25 +08:00
Archer
b59f2ccf1d fix: loginout (#5796)
* fix: variables refresh

* fix: workflow start check

* doc

* fix: loginout

* fix: login
v4.13.2
2025-10-21 11:46:53 +08:00
Archer
ca274feb2e perf: init s3 (#5795)
* fix: variables refresh

* fix: workflow start check

* perf: init s3
2025-10-21 11:18:53 +08:00
Archer
5054ccd487 fix: start node check (#5794)
* fix: start node check

* remove log

* fix: variables refresh

* fix: workflow start check

* fix: variables refresh

* perf: auto save

* perf: add log
2025-10-21 09:51:13 +08:00
Archer
44e9299d5e V4.13.2 features (#5792)
* add manual create http toolset (#5743)

* add manual create http toolset

* optimize code

* optimize

* fix

* fix

* rename filename

* feat: integrate ts-rest (#5741)

* feat: integrate ts-rest

* chore: classify core contract and pro contract

* chore: update lockfile

* chore: tweak dir structure

* chore: tweak dir structure

* update tsrest code (#5755)

* doc

* update tsrest code

* fix http toolset (#5753)

* fix http toolset

* fix

* perf: http toolset

* fix: toolresponse result (#5760)

* doc

* fix: toolresponse result

* fix: mongo watch

* remove log

* feat: integrated to minio (#5748)

* feat: migrate to minio

* feat: migrate apps' and dataset's avatar to minio

* feat: migrate more avatars to minio

* fix: lock file

* feat: migrate copyright settings' logo to minio

* feat: integrate minio

* chore: improve code

* chore: rename variables

* refactor: s3 class

* fix: s3 and mongo operations

* chore: add session for avatar source

* fix: init s3 buckets

* fix: bugbot issues

* expired time code

* perf: avatar code

* union type

* export favouriteContract

* empty bucket check

---------

Co-authored-by: archer <545436317@qq.com>

* refactor: zod schema to generate OpenAPI instead (#5771)

* doc

* fix: text split code (#5773)

* fix: toolresponse result

* remove log

* stream remove

* fix: text split code

* fix: workflow (#5779)

* fix: toolresponse result

* remove log

* fix: value check

* fix: workflow

* openapi doc

* perf: bucket delete cron

* doc

* feat: apikey health

* feat: export variables

* api code move

* perf: workflow performance (#5783)

* perf: reactflow context

* perf: workflow context split

* perf: nodeList computed map

* perf: nodes dependen

* perf: workflow performance

* workflow performance

* removel og

* lock

* version

* loop drag

* reactflow size

* reactflow size

* fix: s3init (#5784)

* doc

* fix: s3init

* perf: dynamic import

* remove moongose dep

* worker build

* worker code

* perf: worker build

* fix: error throw

* doc

* doc

* fix: build

* fix: dockerfile

* nextjs config

* fix: worker

* fix: build (#5791)

* fix: build

* vector cache code

* fix: app info modal avatar upload method replace (#5787)

* fix: app info modal avatar upload method replace

* chore: replace all useSelectFile with useUploadAvatar

* remove invalid code

* add size

* Update projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/render/RenderInput/templates/CommonInputForm.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update projects/app/src/pageComponents/app/detail/WorkflowComponents/context/workflowInitContext.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-20 19:08:21 +08:00
Finley Ge
ca3053f04d fix: resolve MCP service modal checkbox double-click event issue (#5790)
Fixed the issue where clicking on checkboxes in the MCP service modal
would trigger double-click events, causing selections to be immediately
deselected.

Root cause:
- Checkbox onChange events were conflicting with parent HStack onClick events
- Both components were trying to handle the same selection logic

Solution:
- Extracted handleItemClick function to avoid code duplication
- Flex onClick: only e.stopPropagation() to prevent event bubbling
- Checkbox onChange: handleItemClick for checkbox-specific interactions
- HStack onClick: handleItemClick for row-level interactions

Benefits:
 Checkbox clicks work properly without double-toggle
 Full row click functionality preserved
 All checkbox hover/focus effects maintained
 Clean DRY code structure with shared logic
 Perfect visual alignment between checkbox and avatar

Changes made to:
- projects/app/src/pageComponents/dashboard/mcp/EditModal.tsx:159-194

🤖 Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Happy <yesreply@happy.engineering>
2025-10-20 17:42:49 +08:00
heheer
703ef2cd56 add 10-minute auto-refresh for token login (#5788) 2025-10-20 14:44:49 +08:00
dependabot[bot]
2d0a956e60 chore(deps): bump mammoth from 1.9.0 to 1.11.0 (#5781)
Bumps [mammoth](https://github.com/mwilliamson/mammoth.js) from 1.9.0 to 1.11.0.
- [Release notes](https://github.com/mwilliamson/mammoth.js/releases)
- [Changelog](https://github.com/mwilliamson/mammoth.js/blob/master/NEWS)
- [Commits](https://github.com/mwilliamson/mammoth.js/compare/1.9.0...1.11.0)

---
updated-dependencies:
- dependency-name: mammoth
  dependency-version: 1.11.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-19 17:12:14 +08:00
Finley Ge
1ab2e922ec feat: add health check to MongoDB service in Docker Compose templates (#5776)
* feat: add health check to MongoDB service in Docker Compose templates

- Add health check configuration to MongoDB service in both dev and prod templates
- Use mongo client ping command with authentication to verify service availability
- Configure 10s interval, 5s timeout, 5 retries, and 30s start period
- Ensures MongoDB service health monitoring consistent with other services

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>

* chore: regenerate Docker Compose files with MongoDB health check

- Run pnpm gen:deploy to regenerate all Docker Compose files
- MongoDB health checks are now included in all generated variants
- Health check configuration: 10s interval, 5s timeout, 5 retries, 30s start period
- Affects dev, prod and documentation Docker Compose files

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Happy <yesreply@happy.engineering>
2025-10-17 18:28:48 +08:00
Archer
19846905ff Update 4132.mdx (#5766) 2025-10-15 16:43:42 +08:00
Archer
12096f6c58 fix: set vision default false (#5758) 2025-10-13 16:27:44 +08:00
heheer
9ea1cbf19e add user active tracks (#5754)
* add user active tracks

* remove console

* perf: track active

* perf: track active

---------

Co-authored-by: archer <545436317@qq.com>
2025-10-12 01:44:48 +08:00
Archer
c6dfaaea8e dockerfile (#5750)
* dockerfile

* dockerfile

* dockerfile
2025-10-10 21:24:14 +08:00
ZHIQUAN
2beb217006 Prompt: Fixing Display Image Error Issues (#5745)
-----
提示词:展示图片的错误问题修复
2025-10-10 20:56:16 +08:00
Archer
7dcff442fd update dockerfile (#105) (#5749) 2025-10-10 20:22:29 +08:00
Archer
aba0b4c824 hide audit (#5740) 2025-10-09 15:10:19 +08:00
Archer
7942805af9 fix: usage repeat (#5735)
* fix: usage repeat

* remove invalid code
2025-10-09 09:53:19 +08:00
Finley Ge
b8c2c7ad98 fix: docker-compose pg_url removal; depends on pg -> vectorDB (#5733) 2025-10-06 11:42:57 +08:00
Archer
69559814e7 doc (#5730) 2025-09-30 16:00:10 +08:00
Archer
1d2fe012bf deploy doc (#5729) 2025-09-30 15:47:06 +08:00
Archer
a83ae8e6e8 4.13.1 features (#5728)
* fix(api): 修复二级路由下的页面判断逻辑

在请求错误处理中,添加基础URL前缀以正确判断当前是否为外部链接页面。

* perf: use global var

* remove invalid code

* feat: response limit;perf: copy avatar image;perf: markdown parse (#5719)

* feat: response limit

* remove placeholder

* perf: copy avatar image

* perf: markdown parse

* fix: child app cannot show cite

* doc

* fix: node template bugs (#5727)

* add dataset search count track (#5721)

* add dataset search count track

* remove pro

* change to track

* remove unused

* fix

* perf: track code

---------

Co-authored-by: archer <545436317@qq.com>

* http response limit

* deploy doc

* fix: test

* doc

* remove invalid code

* remove invalid code

---------

Co-authored-by: 戴盛利 <1639499287@qq.com>
Co-authored-by: heheer <heheer@sealos.io>
v4.13.1
2025-09-30 15:05:43 +08:00
Finley Ge
e4127b53af chore: deploy update cn registry (#5726)
* perf: rename docker-compose.yml after download

* chore: update cn registry for minio and redis
2025-09-29 17:57:15 +08:00
Finley Ge
bea5fc0b41 fix: static file /deploy/* (#5725) 2025-09-29 12:13:38 +08:00
Archer
d6fc27a892 Test doc (#5724)
* doc

* doc
2025-09-29 11:52:39 +08:00