Archer
33d40fd077
feature: System plugin ( #5131 )
...
* feat: system Tool (#4959 )
* feat: independent system tool
* chore: use ToolNode instead of PluginModule
* chore: tools
* chore: tools templateDir
* refactor: templates
* feat: flush code
* chore: update template
* refactor: migrate delay
* feat: worker pool
* chore: Dockerfile
* docs: add tools.template.json
* feat: auto flush system tools
* fix: ts error
* chore: create new pool temporarily
* chore: system tool migration
* chore: migration
* fix: fix pnpm-workspace.yaml
* chore: update pnpm-lock.yaml to integrate tool
* chore(systemTool): chore
* chore: add system plugin
* chore(deps): update @fastgpt-sdk/plugin
* fix: type error
* chore: remove plugin package
* chore: move pro plugins code to open source
* feat: support system tool config input
* fix: type error
* perf: i18n
* fix: cr
* chore: update sdk
* feat: system plugin cache
* update mcp server (#5076 )
* update mcp server
* fix: action
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* feat: system Tool (#4959 )
* feat: independent system tool
* chore: use ToolNode instead of PluginModule
* chore: tools
* chore: tools templateDir
* refactor: templates
* feat: flush code
* chore: update template
* refactor: migrate delay
* feat: worker pool
* chore: Dockerfile
* docs: add tools.template.json
* feat: auto flush system tools
* fix: ts error
* chore: create new pool temporarily
* chore: system tool migration
* chore: migration
* fix: fix pnpm-workspace.yaml
* chore: update pnpm-lock.yaml to integrate tool
* chore(systemTool): chore
* chore: add system plugin
* chore(deps): update @fastgpt-sdk/plugin
* fix: type error
* chore: remove plugin package
* chore: move pro plugins code to open source
* feat: support system tool config input
* fix: type error
* perf: i18n
* fix: cr
* chore: update sdk
* feat: system plugin cache
* perf: run tool
* update package
* perf: config key
* fix: tool ini
* tool config params
* perf: workflow type
* rename tools to agent
* version list
* perf: tool error
* config secret ux
* perf: config secret ux
* fix: tool config field
* add course to secret input
* feat: support inputConfig switch (#5099 )
* feat: support inputConfig switch
* deps: update @fastgpt-sdk/plugin
* chore: update workflows
* fix: inputType
* fix: secret
* add default value to node
* update i18n
* eslint
* add precision to number input
* feat: add number input and select
* perf: number ux
* fix: code
* Proxies image requests to plugin service (#5111 )
* Proxies image requests to plugin service
Adds a rewrite rule and API endpoint to proxy image requests
to the plugin service. This allows the app to fetch images from
the plugin's tools directory.
It also adds the plugin base URL to the service's constants, so that
it can use the plugin URL when proxying requests.
* fix: update FastGPTPluginUrl to remove unnecessary API path
* feat: update image proxy destination and add plugin image handler
* Adapt plugin id
* replace avatar
* remove rewrite
* fix: plugin avatar
* update system tool doc
* feat: system tool type
* yml sh
* yml sh
* update doc
* fix: simple app tool select
* fix: switch ui
* update pacakge
* Yamljs (#5129 )
* update docker-compose configuration: bump fastgpt and fastgpt-plugin images, change minio host to service name, and adjust service dependencies
* refactor: comment out port exposure in docker-compose configuration
* update: uncomment port exposure in docker-compose configuration
* update: change MINIO_HOST to use specific IP address in docker configuration
* update: modify fastgpt-plugin image version in docker configuration
* update readme
* doc
* remove
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com >
2025-07-02 18:15:00 +08:00
Archer
b4ecfb0b79
Feat: Node latest version ( #4905 )
...
* node versions add keep the latest option (#4899 )
* node versions add keep the latest option
* i18n
* perf: version code
* fix: ts
* hide system version
* hide system version
* hide system version
* fix: ts
* fix: ts
---------
Co-authored-by: heheer <heheer@sealos.io >
2025-05-28 10:46:32 +08:00
Theresa
2d3117c5da
feat: update ESLint config with @typescript-eslint/consistent-type-imports ( #4746 )
...
* update: Add type
* fix: update import statement for NextApiRequest type
* fix: update imports to use type for LexicalEditor and EditorState
* Refactor imports to use 'import type' for type-only imports across multiple files
- Updated imports in various components and API files to use 'import type' for better clarity and to optimize TypeScript's type checking.
- Ensured consistent usage of type imports in files related to chat, dataset, workflow, and user management.
- Improved code readability and maintainability by distinguishing between value and type imports.
* refactor: remove old ESLint configuration and add new rules
- Deleted the old ESLint configuration file from the app project.
- Added a new ESLint configuration file with updated rules and settings.
- Changed imports to use type-only imports in various files for better clarity and performance.
- Updated TypeScript configuration to remove unnecessary options.
- Added an ESLint ignore file to exclude build and dependency directories from linting.
* fix: update imports to use 'import type' for type-only imports in schema files
2025-05-06 17:33:09 +08:00
Archer
1aebe5f185
V4.8.15 feature ( #3331 )
...
* feat: add customize toolkit (#3205 )
* chaoyang
* fix-auth
* add toolkit
* add order
* plugin usage
* fix
* delete console:
* Fix: Fix fullscreen preview top positioning and improve Markdown rendering logic (#3247 )
* 完成任务:修复全屏预览顶部固定问题,优化 Markdown 渲染逻辑
* 有问题修改
* 问题再修改
* 修正问题
* fix: plugin standalone display issue (#3254 )
* 4.8.15 test (#3246 )
* o1 config
* perf: system plugin code
* 调整系统插件代码。增加html 渲染安全配置。 (#3258 )
* perf: base64 picker
* perf: list app or dataset
* perf: plugin config code
* 小窗适配等问题 (#3257 )
* 小窗适配等问题
* git问题
* 小窗剩余问题
* feat: system plugin auth and lock version (#3265 )
* feat: system plugin auth and lock version
* update comment
* 4.8.15 test (#3267 )
* tmp log
* perf: login direct
* perf: iframe html code
* remove log
* fix: plugin standalone display (#3277 )
* refactor: 页面拆分&i18n拆分 (#3281 )
* refactor: account组件拆成独立页面
* script: 新增i18n json文件创建脚本
* refactor: 页面i18n拆分
* i18n: add en&hant
* 4.8.15 test (#3285 )
* tmp log
* remove log
* fix: watch avatar refresh
* perf: i18n code
* fix(plugin): use intro instead of userguide (#3290 )
* Universal SSO (#3292 )
* tmp log
* remove log
* feat: common oauth
* readme
* perf: sso provider
* remove sso code
* perf: refresh plugins
* feat: add api dataset (#3272 )
* add api-dataset
* fix api-dataset
* fix api dataset
* fix ts
* perf: create collection code (#3301 )
* tmp log
* remove log
* perf: i18n change
* update version doc
* feat: question guide from chatId
* perf: create collection code
* fix: request api
* fix: request api
* fix: tts auth and response type (#3303 )
* perf: md splitter
* fix: tts auth and response type
* fix: api file dataset (#3307 )
* perf: api dataset init (#3310 )
* perf: collection schema
* perf: api dataset init
* refactor: 团队管理独立页面 (#3302 )
* ui: 团队管理独立页面
* 代码优化
* fix
* perf: sync collection and ui check (#3314 )
* perf: sync collection
* remove script
* perf: update api server
* perf: api dataset parent
* perf: team ui
* perf: team 18n
* update team ui
* perf: ui check
* perf: i18n
* fix: debug variables & cronjob & system plugin callback load (#3315 )
* fix: debug variables & cronjob & system plugin callback load
* fix type
* fix
* fix
* fix: plugin dataset quote;perf: system variables init (#3316 )
* fix: plugin dataset quote
* perf: system variables init
* perf: node templates ui;fix: dataset import ui (#3318 )
* fix: dataset import ui
* perf: node templates ui
* perf: ui refresh
* feat:套餐改名和套餐跳转配置 (#3309 )
* fixing:except Sidebar
* 去除了多余的代码
* 修正了套餐说明的代码
* 修正了误删除的show_git代码
* 修正了名字部分等代码
* 修正了问题,遗留了其他和ui讨论不一致的部分
* 4.8.15 test (#3319 )
* remove log
* pref: bill ui
* pref: bill ui
* perf: log
* html渲染文档 (#3270 )
* html渲染文档
* 文档有点小问题
* feat: doc (#3322 )
* 集合重训练 (#3282 )
* rebaser
* 一点补充
* 小问题
* 其他问题修正,删除集合保留文件的参数还没找到...
* reTraining
* delete uesless
* 删除了一行错误代码
* 集合重训练部分
* fixing
* 删除console代码
* feat: navbar item config (#3326 )
* perf: custom navbar code;perf: retraining code;feat: api dataset and dataset api doc (#3329 )
* feat: api dataset and dataset api doc
* perf: retraining code
* perf: custom navbar code
* fix: ts (#3330 )
* fix: ts
* fix: ts
* retraining ui
* perf: api collection filter
* perf: retrining button
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Jiangween <145003935+Jiangween@users.noreply.github.com >
Co-authored-by: papapatrick <109422393+Patrickill@users.noreply.github.com >
2024-12-06 10:56:53 +08:00
Finley Ge
efc4e860b7
fix/group ( #3012 )
...
* fix: app/dataset list private resource bug
* fix: auth owner
2024-10-29 11:22:21 +08:00
Archer
f89452acdd
Group role ( #2993 )
...
* feat: app/dataset support group (#2898 )
* pref: member-group (#2862 )
* feat: group list ordered by updateTime
* fix: transfer ownership of group when deleting member
* fix: i18n fix
* feat: can not set member as admin/owner when user is not active
* fix: GroupInfoModal hover input do not change color
* fix(fe): searchinput do not scroll
* feat: app collaborator with group, remove default permission
* feat: dataset collaborator with group, remove default permission
* chore(test): pref mock
* chore: remove useless code
* chore: adjust
* fix: add self as collaborator when creating folder
* fix(fe): folder manage menu do not show when user has write permission
only
* fix: dataset folder create
* feat: Add code comment
* Pref: app move (#2952 )
* perf: app schema
* doc
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2024-10-25 19:39:11 +08:00
Archer
3a4b4a866b
Team group ( #2864 )
...
* feat(member-group): Team (#2616 )
* feat: member-group schema define
* feat(fe): create group
* feat: add group edit modal
* feat(fe): add avatar group component
* feat: edit group
fix: permission select menu style
* feat: bio-mode support for select-member component
* fix: avatar group key unique
* feat: group manage
* feat: divide member into group and clbs
* feat: finish team permission
* chore: adjust
* fix: get clbs
* perf: groups code
* pref: member group for team (#2706 )
* chore: fe adjust
fix: remove the member from groups when removing from team
feat: change the groups avatar when updating the team's avatar
* chore: DefaultGroupName as a constant string ''
* fix: create default group when create team for root
* feat: comment
* feat: 4811 init
* pref: member group for team (#2732 )
* chore: default group name
* feat: get default group when get by tmbid
* feat(fe): adjust
* member ui
* fix: delete group (#2736 )
* perf: init4811
* pref: member group (#2818 )
* fix: update clb per then refetch clb list
* fix: calculate group permission
* feat(fe): group tag
* refactor(fe): team and group manage
* feat: manage group member
* feat: add group transfer owner modal
* feat: group manage member
* chore: adjust the file structure
* pref: member group
* chore: adjust fe style
* fix: ts error
* chore: fe adjust
* chore: fe adjust
* chore: adjust
* chore: adjust the code
* perf: i18n and schema name
* pref: member-group (#2862 )
* feat: group list ordered by updateTime
* fix: transfer ownership of group when deleting member
* fix: i18n fix
* feat: can not set member as admin/owner when user is not active
* fix: GroupInfoModal hover input do not change color
* fix(fe): searchinput do not scroll
* perf: team group ui
* doc
* remove enum
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2024-10-09 18:32:10 +08:00
Finley Ge
a1ae08f62b
perf: logs, auth root as super admin, etc ( #2615 )
...
* chore: usePagination hook type
* feat: chat log show outlinkuid or tmb avatar and name
* fix: ts error for pagination
* feat: auth root
2024-09-09 10:05:18 +08:00
Archer
9a57e94b79
4.8.10 test ( #2601 )
...
* perf: workflow children run params
* feat: workflow userId
* fix: ui size
* perf: Markdown whitespace and ai images split
* fix: openai sdk ts
2024-09-03 13:43:56 +08:00
Archer
2ef98c24be
4.8.10 test ( #2578 )
...
* fix: auth error
* perf: refresh members
* fix: variable run
* fix: runtime check
* fix: dataset info show
2024-08-30 10:27:07 +08:00
Finley Ge
f37cdabb15
purge old permission ( #2118 )
...
* chore: purge old permission
- remove useless role of teamMember
- Cleanup auth apis' Props and Return type Definitions
* chore: a better way of RequireAtLeastOne
Signed-off-by: Finley Ge <m13203533462@163.com >
---------
Signed-off-by: Finley Ge <m13203533462@163.com >
2024-07-23 14:55:54 +08:00
Archer
cf7145ab54
System plugin ( #2091 )
...
* System template (#2082 )
* feat: system plugin (#2024 )
* add plugin cost & change plugin avatar (#2030 )
* add plugin cost & change plugin avatar
* add author
* feat: duckduckgo plugin
* duckduck search
* perf: templates select system plugin
* perf: system plugin avatar
* feat: duckduck plugins
* doc
* perf: plugin classify
* perf: icon avatar component
* perf: system template avatar
---------
Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com >
* feat: system plugin search
* perf: plugin packages important
* perf: source avatar
* nextconfig
* perf: i18n
* perf: default model
* perf: system plugin author
---------
Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com >
2024-07-19 14:15:01 +08:00
Archer
a9cdece341
4.8.6 merge ( #1943 )
...
* Dataset collection forbid (#1885 )
* perf: tool call support same id
* feat: collection forbid
* feat: collection forbid
* Inheritance Permission for apps (#1897 )
* feat: app schema define
chore: references of authapp
* feat: authApp method inheritance
* feat: create and update api
* feat: update
* feat: inheritance Permission controller for app.
* feat: abstract version of inheritPermission
* feat: ancestorId for apps
* chore: update app
* fix: inheritPermission abstract version
* feat: update folder defaultPermission
* feat: app update api
* chore: inheritance frontend
* chore: app list api
* feat: update defaultPermission in app deatil
* feat: backend api finished
* feat: app inheritance permission fe
* fix: app update defaultpermission causes collaborator miss
* fix: ts error
* chore: adjust the codes
* chore: i18n
chore: i18n
* chore: fe adjust and i18n
* chore: adjust the code
* feat: resume api;
chore: rewrite update api and inheritPermission methods
* chore: something
* chore: fe code adjusting
* feat: frontend adjusting
* chore: fe code adjusting
* chore: adjusting the code
* perf: fe loading
* format
* Inheritance fix (#1908 )
* fix: SlideCard
* fix: authapp did not return parent app for inheritance app
* fix: fe adjusting
* feat: fe adjusing
* perf: inherit per ux
* doc
* fix: ts errors (#1916 )
* perf: inherit permission
* fix: permission inherit
* Workflow type (#1938 )
* perf: workflow type
tmp workflow
perf: workflow type
feat: custom field config
* perf: dynamic input
* perf: node classify
* perf: node classify
* perf: node classify
* perf: node classify
* fix: workflow custom input
* feat: text editor and customFeedback move to basic nodes
* feat: community system plugin
* fix: ts
* feat: exprEval plugin
* perf: workflow type
* perf: plugin important
* fix: default templates
* perf: markdown hr css
* lock
* perf: fetch url
* perf: new plugin version
* fix: chat histories update
* fix: collection paths invalid
* perf: app card ui
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2024-07-04 17:42:09 +08:00
Archer
5c8c7fb9f2
4.8.5 test fix ( #1835 )
...
* faq
* perf: navbar name and fix dataset selector
* feat: app tag
* perf: icon
* fix: update workflow bug
* perf: dataset ui
* perf: menu
* fix: ts
* fix: auth file and app list ui
* app list
* app list
* perf: init api
* update per
* log level
2024-06-25 10:10:24 +08:00
Finley Ge
980b4d3db5
Dataset Permission ( #1786 )
...
* feat: dataset controllers
feat: dataset schema
fix: add missing type to dataset schema
Signed-off-by: FinleyGe <m13203533462@163.com >
* feat: dataset list api
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: all dataset api
Signed-off-by: FinleyGe <m13203533462@163.com >
* feat: new auth dataset method
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: use new auth method in detail, paths.
feat: add new param defaultPermission to create api
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: app auth params
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: use new auth method
Signed-off-by: FinleyGe <m13203533462@163.com >
* feat: new auth collection and file method
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: dataset collection api new auth
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: create/*.ts auth
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: dataset auth
Signed-off-by: FinleyGe <m13203533462@163.com >
* fix: import paths
Signed-off-by: FinleyGe <m13203533462@163.com >
* feat: dataset collaborator
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: dataset frontend
feat: dataset list frontend
feat: dataset detail
Signed-off-by: FinleyGe <m13203533462@163.com >
* feat: finish the dataset permission
fix: ts errors
Signed-off-by: FinleyGe <m13203533462@163.com >
* fix: empty response of collection api
Signed-off-by: FinleyGe <m13203533462@163.com >
* chore: adjust the code
* chore: adjust the code
* chore: i18n
* fix: ts error
* fix: fe CollectionCard permission
---------
Signed-off-by: FinleyGe <m13203533462@163.com >
2024-06-20 20:52:03 +08:00
Archer
19c8a06d51
Permission ( #1687 )
...
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2024-06-04 17:52:00 +08:00