Archer
2fea73bb68
perf: index ( #6131 )
...
* perf: index
* stop design doc
* perf: stop workflow;perf: mongo connection
* fix: ts
* mq export
2025-12-21 19:15:10 +08:00
Archer
cffe395e9a
perf: Get redis kes function ( #6112 )
...
* perf: replace redis KEYS with SCAN (#6101 )
* perf: replace redis KEYS with SCAN
* test: add redis scan mock to fix unit tests
* Fix formatting in redis.ts mock functions
* fix comment word
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* perf: get redis keys function
* replace prefix code
* add pipeline delete keys
---------
Co-authored-by: lgphone <inboxcvt@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-18 10:50:37 +08:00
heheer
09b9fa517b
chat log soft delete ( #6110 )
...
* chat log soft delete
* perf: history api
* add history test
* Update packages/web/i18n/en/app.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* zod parse error
* fix: ts
---------
Co-authored-by: archer <545436317@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-18 10:17:10 +08:00
Archer
2da73a6555
V4.14.4 features ( #6075 )
...
* perf: faq
* index
* delete dataset
* delete dataset
* perf: delete dataset
* init
* fix: faq
* refresh
* empty tip
* perf: delete type
* fix: some bugs (#6071 )
* fix: publish channel doc link
* fix: checkbox disable hover style
* fix: huggingface.svg missing; update doc
* chore: update doc
* fix: typo
* fix: export log dateend;feat: file selector render (#6072 )
* fix: export log dateend
* feat: file selector render
* perf: s3 controller
* team qpm limit & plan tracks (#6066 )
* team qpm limit & plan tracks
* api entry qpm
* perf: computed days
* Revert "api entry qpm"
This reverts commit 1210c07217ab4509d54b3eb57067dd94ff8b0da6.
* perf: code
* system qpm limit
* system qpm limit
---------
Co-authored-by: archer <545436317@qq.com >
* perf: track
* remove export chat test
* doc
* feat: global agent (#6057 )
* feat: global agent
* fix: agent
* fix: order display
* CHORE
* feat: error page log
* fix: var update
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Roy <whoeverimf5@gmail.com >
2025-12-10 20:07:05 +08:00
Archer
36d1ff3679
feat: custom domain ( #6067 )
...
* perf: faq
* index
* delete dataset
* delete dataset
* perf: delete dataset
* init
* fix: faq
* doc
* fix: share link auth (#6063 )
* standard plan add custom domain config (#6061 )
* standard plan add custom domain config
* bill detail modal
* perf: vector count api
* feat: custom domain & wecom bot SaaS integration (#6047 )
* feat: custom Domain type define
* feat: custom domain
* feat: wecom custom domain
* chore: i18n
* chore: i18n; team auth
* feat: wecom multi-model message support
* chore: wecom edit modal
* chore(doc): custom domain && wecom bot
* fix: type
* fix: type
* fix: file detect
* feat: fe
* fix: img name
* fix: test
* compress img
* rename
* editor initial status
* fix: chat url
* perf: s3 upload by buffer
* img
* refresh
* fix: custom domain selector (#6069 )
* empty tip
* perf: s3 init
* sort provider
* fix: extend
* perf: extract filename
---------
Co-authored-by: Roy <whoeverimf5@gmail.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2025-12-09 23:33:32 +08:00
Archer
2ccb5b50c6
V4.14.4 features ( #6036 )
...
* feat: add query optimize and bill (#6021 )
* add query optimize and bill
* perf: query extension
* fix: embe model
* remove log
* remove log
* fix: test
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
* feat: notice (#6013 )
* feat: record user's language
* feat: notice points/dataset indexes; support count limit; update docker-compose.yml
* fix: ts error
* feat: send auth code i18n
* chore: dataset notice limit
* chore: adjust
* fix: ts
* fix: countLimit race condition; i18n en-prefix locale fallback to en
---------
Co-authored-by: archer <545436317@qq.com >
* perf: comment
* perf: send inform code
* fix: type error (#6029 )
* feat: add ip region for chat logs (#6010 )
* feat: add ip region for chat logs
* refactor: use Geolite2.mmdb
* fix: export chat logs
* fix: return location directly
* test: add unit test
* perf: log show ip data
* adjust commercial plans (#6008 )
* plan frontend
* plan limit
* coupon
* discount coupon
* fix
* type
* fix audit
* type
* plan name
* legacy plan
* track
* feat: add discount coupon
* fix
* fix discount coupon
* openapi
* type
* type
* env
* api type
* fix
* fix: simple agent plugin input & agent dashboard card (#6034 )
* refactor: remove gridfs (#6031 )
* fix: replace gridfs multer operations with s3 compatible ops
* wip: s3 features
* refactor: remove gridfs
* fix
* perf: mock test
* doc
* doc
* doc
* fix: test
* fix: s3
* fix: mock s3
* remove invalid config
* fix: init query extension
* initv4144 (#6037 )
* chore: initv4144
* fix
* version
* fix: new plans (#6039 )
* fix: new plans
* qr modal tip
* fix: buffer raw text filename (#6040 )
* fix: initv4144 (#6041 )
* fix: pay refresh (#6042 )
* fix: migration shell
* rename collection
* clear timerlock
* clear timerlock
* perf: faq
* perf: bill schema
* fix: openapi
* doc
* fix: share var render
* feat: delete dataset queue
* plan usage display (#6043 )
* plan usage display
* text
* fix
* fix: ts
* perf: remove invalid code
* perf: init shell
* doc
* perf: rename field
* perf: avatar presign
* init
* custom plan text (#6045 )
* fix plans
* fix
* fixed
* computed
---------
Co-authored-by: archer <545436317@qq.com >
* init shell
* plan text & price page back button (#6046 )
* init
* index
* delete dataset
* delete dataset
* perf: delete dataset
* init
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: Roy <whoeverimf5@gmail.com >
Co-authored-by: heheer <heheer@sealos.io >
2025-12-08 01:44:15 +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
Archer
2ed1545eb5
V4.12.4 features ( #5626 )
...
* fix: push again, user select option button and form input radio content overflow (#5601 )
* fix: push again, user select option button and form input radio content overflow
* fix: use useCallback instead of useMemo, fix unnecessary delete
* fix: Move the variable inside the component
* fix: do not pass valueLabel to MySelect
* ui
* del collection api adapt
* refactor: inherit permission (#5529 )
* refactor: permission update conflict check function
* refactor(permission): app collaborator update api
* refactor(permission): support app update collaborator
* feat: support fe permission conflict check
* refactor(permission): app permission
* refactor(permission): dataset permission
* refactor(permission): team permission
* chore: fe adjust
* fix: type error
* fix: audit pagiation
* fix: tc
* chore: initv4130
* fix: app/dataset auth logic
* chore: move code
* refactor(permission): remove selfPermission
* fix: mock
* fix: test
* fix: app & dataset auth
* fix: inherit
* test(inheritPermission): test syncChildrenPermission
* prompt editor add list plugin (#5620 )
* perf: search result (#5608 )
* fix: table size (#5598 )
* temp: list value
* backspace
* optimize code
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
* fix: fe & member list (#5619 )
* chore: initv4130
* fix: MemberItemCard
* fix: MemberItemCard
* chore: fe adjust & init script
* perf: test code
* doc
* fix debug variables (#5617 )
* perf: search result (#5608 )
* fix: table size (#5598 )
* fix debug variables
* fix
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
* perf: member ui
* fix: inherit bug (#5624 )
* refactor(permission): remove getClbsWithInfo, which is useless
* fix: app list privateApp
* fix: get infos
* perf(fe): remove delete icon when it is disable in MemberItemCard
* fix: dataset private dataset
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* perf: auto coupon
* chore: upgrade script & get infos avatar (#5625 )
* fix: get infos
* chore: initv4130
* feat: support WecomRobot publish, and fix AesKey can not save bug (#5526 )
* feat: resolve conflicts
* fix: add param 'show_publish_wecom'
* feat: abstract out WecomCrypto type
* doc: wecom robot document
* fix: solve instability in AI output
* doc: update some pictures
* feat: remove functions from request.ts to chat.ts and toolCall.ts
* doc: wecom robot doc update
* fix
* delete unused code
* doc: update version and prompt
* feat: remove wecom crypto, delete wecom code in workflow
* feat: delete unused codes
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* remove test
* rename init shell
* feat: collection page store
* reload sandbox
* pysandbox
* remove log
* chore: remove useless code (#5629 )
* chore: remove useless code
* fix: checkConflict
* perf: support hidden type for RoleList
* fix: copy node
* update doc
* fix(permission): some bug (#5632 )
* fix: app/dataset list
* fix: inherit bug
* perf: del app;i18n;save chat
* fix: test
* i18n
* fix: sumper overflow return OwnerRoleVal (#5633 )
* remove invalid code
* fix: scroll
* fix: objectId
* update next
* update package
* object id
* mock redis
* feat: add redis append to resolve wecom stream response (#5643 )
* feat: resolve conflicts
* fix: add param 'show_publish_wecom'
* feat: abstract out WecomCrypto type
* doc: wecom robot document
* fix: solve instability in AI output
* doc: update some pictures
* feat: remove functions from request.ts to chat.ts and toolCall.ts
* doc: wecom robot doc update
* fix
* delete unused code
* doc: update version and prompt
* feat: remove wecom crypto, delete wecom code in workflow
* feat: delete unused codes
* feat: add redis append method
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* cache per
* fix(test): init team sub when creating mocked user (#5646 )
* fix: button is not vertically centered (#5647 )
* doc
* fix: gridFs objectId (#5649 )
---------
Co-authored-by: Zeng Qingwen <143274079+fishwww-ww@users.noreply.github.com >
Co-authored-by: Finley Ge <32237950+FinleyGe@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 >
Co-authored-by: heheer <zhiyu44@qq.com >
2025-09-15 20:02:54 +08:00
Archer
d44befeff0
Feat: admin audit ( #5068 )
...
* add admin audit (#5041 )
* Test audit (#5058 )
* feat: operation index
* fix: delete update vector
* perf: Clear invalid data
* perf: index
* perf: cleare invalid data
* index
* perf: audit event
* fix: schema enum
* add audit.svg (#5060 )
Co-authored-by: dreamer6680 <146868355@qq.com >
* update package
* perf: audit
* perf: code move
* eslint
* doc
---------
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: dreamer6680 <146868355@qq.com >
2025-06-19 10:35:21 +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
0720bbe4da
V4.9.7 feature ( #4669 )
...
* update doc
* feat: Add coupon redemption feature for team subscriptions (#4595 )
* feat: Add coupon redemption feature for team subscriptions
- Introduced `TeamCouponSub` and `TeamCouponSchema` types
- Added `redeemCoupon` API endpoint
- Updated UI to include a modal for coupon redemption
- Added new icon and translations for "Redeem coupon"
* perf: remove field teamId
* perf: use dynamic import
* refactor: move to page component
* perf: coupon code
* perf: mcp server
* perf: test
* auto layout (#4634 )
* fix 4.9.6 (#4631 )
* fix debug quote list
* delete next text node match
* fix extract default boolean value
* export latest 100 chat items
* fix quote item ui
* doc
* fix doc
* feat: auto layout
* perf: auto layout
* fix: auto layout null
* add start node
---------
Co-authored-by: heheer <heheer@sealos.io >
* fix: share link (#4644 )
* Add workflow run duration;Get audio duration (#4645 )
* add duration
* get audio duration
* Custom config path (#4649 )
* feat: 通过环境变量DATA_PATH获取配置文件目录 (#4622 )
通过环境变量DATA_PATH获取配置文件目录,以应对不同的部署方式的多样化需求
* feat: custom configjson path
* doc
---------
Co-authored-by: John Chen <sss1991@163.com >
* 程序api调用场景下,如果大量调用带有图片或视频,产生的聊天记录会导致后台mongo数据库异常。这个修改给api客户端一个禁止生成聊天记录的选项,避免这个后果。 (#3964 )
* update special chatId
* perf: vector db rename
* update operationLog (#4647 )
* update operationLog
* combine operationLogMap
* solve operationI18nLogMap bug
* remoce log
* feat: Rerank usage (#4654 )
* refresh concat when update (#4655 )
* fix: refresh code
* perf: timer lock
* Fix operationLog (#4657 )
* perf: http streamable mcp
* add alipay (#4630 )
* perf: subplan ui
* perf: pay code
* hiden bank tip
* Fix: pay error (#4665 )
* fix quote number (#4666 )
* remove log
---------
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: John Chen <sss1991@163.com >
Co-authored-by: gaord <bengao168@msn.com >
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
2025-04-26 16:17:21 +08:00
Finley Ge
efad4c101f
test: add opreationLog mock ( #4542 )
2025-04-15 14:03:21 +08:00
Archer
199f454b6b
feat: team permission refine ( #4494 ) ( #4498 )
...
* feat: team permission refine (#4402 )
* chore: team permission extend
* feat: manage team permission
* chore: api auth
* fix: i18n
* feat: add initv493
* fix: test, org auth manager
* test: app test for refined permission
* update init sh
* fix: add/remove manage permission (#4427 )
* fix: add/remove manage permission
* fix: github action fastgpt-test
* fix: mock create model
* fix: team write permission
* fix: ts
* account permission
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2025-04-10 11:11:54 +08:00
Finley Ge
bb30ca4859
chore: vitest support ( #4026 )
...
* chore: vitest
* chore: move test files
* chore: support vitest
* fix: exclude test files
* chore(ci): add test workflow
* feat: remove read env
2025-03-12 19:27:53 +08:00