Skip to content

Conversation

@FinleyGe
Copy link
Collaborator

@FinleyGe FinleyGe commented Jan 14, 2026

Note

Adds WeCom (企业微信) support across auth, billing and team ops; introduces per‑plan file upload limits; enhances system/plugin tooling and background deletion.

  • WeCom: new OAuth option, corp token/open login APIs, WeCom payment flow (payUrl), user/team metadata and tags, template market “WecomZone”, publish channel tweaks; add team ownership transfer and full team delete queue/processor
  • File uploads: global/env and subscription‑based limits for max file size/count; enforced in S3 presigned URLs, multer, chat, selectors; new env vars UPLOAD_FILE_MAX_SIZE/UPLOAD_FILE_MAX_AMOUNT
  • Tools/plugins: admin config for promote/hide user tags and tags selection; user‑tag based filtering/auto‑install; marketplace/detail UI refactor plus batch update drawer; richer installed plugins response
  • Templates: support promote/hide tags in schema; dashboard shows upload limits and new tags; numerous i18n additions
  • Ops: increased failed job retention; added teamDelete queue/worker; docs updated for v4.14.6 including upload limits

Written by Cursor Bugbot for commit 59d70e4. This will update automatically on new commits. Configure here.

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Preview mcp_server Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_mcp_server_59d70e4acb21e6dc850c22bd3c91fe6f490ef761

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Preview sandbox Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_sandbox_59d70e4acb21e6dc850c22bd3c91fe6f490ef761

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Docs Preview:


🚀 FastGPT Document Preview Ready!

🔗 👀 Click here to visit preview

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 25.67% 18785 / 73155
🔵 Statements 25.67% 18785 / 73155
🔵 Functions 38.12% 584 / 1532
🔵 Branches 71.36% 1996 / 2797
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/global/core/plugin/admin/tool/type.ts 0% 0% 0% 0% 1-40
packages/global/core/plugin/tool/type.ts 0% 0% 0% 0% 1-59
packages/global/openapi/core/plugin/admin/tool/api.ts 0% 100% 100% 0% 2-89
packages/global/openapi/core/plugin/marketplace/api.ts 0% 0% 0% 0% 1-68
packages/global/openapi/plugin/api.ts 0% 0% 0% 0% 1-11
packages/global/openapi/support/user/account/login/wecom/api.ts 0% 0% 0% 0% 1-9
packages/global/openapi/support/user/team/api.ts 0% 0% 0% 0% 1-7
packages/global/openapi/support/wallet/bill/api.ts 0% 0% 0% 0% 1-130
packages/global/openapi/support/wecom/api.ts 0% 0% 0% 0% 1-10
packages/global/support/user/constant.ts 100% 100% 100% 100%
packages/global/support/user/type.ts 100% 100% 100% 100%
packages/global/support/wallet/bill/constants.ts 100% 100% 100% 100%
packages/global/support/wallet/sub/type.ts 0% 0% 0% 0% 1-123
packages/service/common/bullmq/index.ts 33.65% 100% 0% 33.65% 49-68, 71-135
packages/service/common/file/multer.ts 0% 0% 0% 0% 1-138
packages/service/common/file/utils.ts 21.73% 100% 20% 21.73% 6-8, 11-18, 25-32, 35-59
packages/service/common/s3/constants.ts 25% 100% 0% 25% 37-39, 44-142
packages/service/common/s3/sources/chat/index.ts 0% 0% 0% 0% 1-119
packages/service/common/s3/sources/chat/type.ts 0% 0% 0% 0% 1-28
packages/service/common/s3/sources/dataset/index.ts 0% 0% 0% 0% 1-177
packages/service/common/s3/sources/dataset/type.ts 0% 0% 0% 0% 1-63
packages/service/common/system/tools.ts 28.57% 0% 0% 28.57% 7, 11-25, 28-37
packages/service/core/app/delete/index.ts 72.41% 100% 50% 72.41% 11-18
packages/service/core/app/templates/templateSchema.ts 100% 100% 100% 100%
packages/service/core/app/tool/controller.ts 5.36% 100% 0% 5.36% 68-134, 137-580, 584-677, 680-687
packages/service/core/dataset/delete/index.ts 0% 0% 0% 0% 1-42
packages/service/core/plugin/tool/systemToolSchema.ts 100% 100% 100% 100%
packages/service/support/permission/auth/plugin.ts 0% 0% 0% 0% 1-25
packages/service/support/permission/auth/pluginAccessToken.ts 0% 0% 0% 0% 1-63
packages/service/support/user/controller.ts 67.39% 40% 50% 67.39% 6-14, 30-33, 38-39
packages/service/support/user/schema.ts 95.94% 66.66% 66.66% 95.94% 81-83
packages/service/support/user/team/controller.ts 25.8% 75% 33.33% 25.8% 61-66, 70-71, 78-251
packages/service/support/user/team/teamMemberSchema.ts 95.31% 66.66% 100% 95.31% 72-74
packages/service/support/user/team/teamSchema.ts 95.89% 50% 100% 95.89% 73-75
packages/service/support/user/team/delete/index.ts 0% 0% 0% 0% 1-41
packages/service/support/user/team/delete/processor.ts 0% 100% 100% 0% 3-146
packages/service/support/user/team/delete/utils.ts 0% 0% 0% 0% 1-41
packages/service/support/wallet/sub/schema.ts 96.05% 0% 0% 96.05% 102-104
packages/service/support/wallet/sub/utils.ts 27.01% 26.66% 21.42% 27.01% 26-27, 29-30, 35, 56-60, 66-83, 98, 111-124, 130-153, 178-300, 304-328, 330-332, 334-349, 351-355, 360-382, 384-386, 388-390, 395-397
packages/web/components/core/plugin/tool/ToolDetail/hooks.ts 0% 0% 0% 0% 1-103
packages/web/components/core/plugin/tool/ToolDetail/index.ts 0% 0% 0% 0% 1-4
packages/web/components/core/plugin/tool/ToolDetail/styles.ts 0% 0% 0% 0% 1-19
packages/web/components/core/plugin/tool/ToolDetail/types.ts 0% 0% 0% 0%
projects/app/src/pages/api/admin/initv4146.ts 0% 0% 0% 0% 1-101
projects/app/src/pages/api/common/file/presignTempFilePostUrl.ts 0% 100% 100% 0% 2-50
projects/app/src/pages/api/core/app/template/list.ts 0% 100% 100% 0% 2-126
projects/app/src/pages/api/core/app/tool/getSystemToolTemplates.ts 0% 100% 100% 0% 2-65
projects/app/src/pages/api/core/chat/file/presignChatFilePostUrl.ts 0% 100% 100% 0% 2-43
projects/app/src/pages/api/core/dataset/presignDatasetFilePostUrl.ts 0% 100% 100% 0% 2-42
projects/app/src/pages/api/core/dataset/collection/create/backup.ts 0% 100% 100% 0% 2-95
projects/app/src/pages/api/core/dataset/collection/create/images.ts 0% 0% 0% 0% 1-101
projects/app/src/pages/api/core/dataset/collection/create/localFile.ts 0% 100% 100% 0% 2-70
projects/app/src/pages/api/core/dataset/collection/create/template.ts 0% 100% 100% 0% 2-95
projects/app/src/pages/api/core/dataset/data/insertImages.ts 0% 100% 100% 0% 2-120
projects/app/src/pages/api/core/plugin/admin/marketplace/installed.ts 100% 100% 100% 100%
projects/app/src/pages/api/core/plugin/admin/tool/detail.ts 0% 0% 0% 0% 1-69
projects/app/src/pages/api/core/plugin/admin/tool/update.ts 0% 0% 0% 0% 1-101
projects/app/src/pages/api/core/plugin/team/list.ts 0% 100% 100% 0% 2-71
projects/app/src/pages/api/plugin/getAccessToken.ts 0% 0% 0% 0% 1-25
projects/app/src/pages/api/support/user/account/loginByPassword.ts 97.4% 91.66% 100% 97.4% 48-49
projects/app/src/service/common/bullmq/index.ts 0% 0% 0% 0% 1-15
projects/app/src/service/common/system/index.ts 27.07% 100% 15.38% 27.07% 27-47, 53-55, 58-59, 62-64, 67-69, 71-73, 75-77, 88-108, 132-224
projects/app/src/web/common/system/useSystemStore.ts 38.21% 100% 6.66% 38.21% 93-96, 99-102, 105-108, 111-114, 117-120, 123-127, 131-139, 180-188, 190-207, 210-211, 213-214, 216-220, 222-257, 262-280
projects/app/src/web/core/plugin/marketplace/api.ts 0% 0% 0% 0% 1-32
projects/app/src/web/support/user/team/api.ts 0% 0% 0% 0% 1-126
projects/marketplace/src/pages/api/tool/getDownloadUrl.ts 0% 100% 100% 0% 2-36
projects/marketplace/src/pages/api/tool/versions.ts 0% 0% 0% 0% 1-29
Generated in workflow #3583 for commit 59d70e4 by the Vitest Coverage Report Action

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Preview fastgpt Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_59d70e4acb21e6dc850c22bd3c91fe6f490ef761

cursor[bot]

This comment was marked as outdated.

@FinleyGe FinleyGe marked this pull request as draft January 19, 2026 08:11
cursor[bot]

This comment was marked as outdated.

FinleyGe and others added 8 commits January 22, 2026 13:42
* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

Co-authored-by: archer <545436317@qq.com>
* fix: system secret

* chore: update docs
* feat: wecom integration (#6234)

* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

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

* feat: system tool config tags (#6257)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

---------

Co-authored-by: archer <545436317@qq.com>
* team plan max file size & count

* fix

* fix

* fix

* perf: presign url

* remove empty check

* remove empty check

* fix: ts

* fix: doc

* fix presign file

* perf: code

* perf: i18n

* fix: remove maxSize attribute

---------

Co-authored-by: archer <545436317@qq.com>
Co-authored-by: Finley Ge <finleyge@fastgpt.io>
FinleyGe and others added 4 commits January 22, 2026 13:54
* feat: wecom integration (#6234)

* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

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

* feat: system tool config tags (#6257)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

* chore: merge main (#6264)

* feat: wecom integration (#6234)

* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

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

* feat: system tool config tags (#6257)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

---------

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

* fix: custom domain limitation (#6265)

* chore: update version number (#6266)

* fix: price status (#6279)

* fix: back button (#6281)

* chore/rebase main (#6295)

* chore(deps): bump undici from 7.16.0 to 7.18.2 (#6272)

Bumps [undici](https://github.com/nodejs/undici) from 7.16.0 to 7.18.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v7.16.0...v7.18.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.18.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump undici in /plugins/webcrawler/SPIDER (#6273)

Bumps [undici](https://github.com/nodejs/undici) from 6.21.3 to 6.23.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.21.3...v6.23.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.23.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump tar from 7.4.3 to 7.5.3 in /document (#6282)

Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.4.3...v7.5.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* perf: remove request invalid field (#6283)

* V4.14.5.1 dev (#6290)

* chore: cherry pick some commits from v4.14.6-dev (#6287)

* fix: custom domain limitation (#6265)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

* chore: docs

* fix password variable & datetime picker (#6276)

* fix password variable & datetime picker

* doc

* chore: cherry pick some commits from v4.14.6-dev (#6287)

* fix: custom domain limitation (#6265)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

* chore: docs

* doc

* chore: docs

---------

Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
Co-authored-by: Finley Ge <finleyge@fastgpt.io>

* perf: extname computed (#6285)

* perf: extname computed

* chore: handle hash or query flags

---------

Co-authored-by: Finley Ge <finleyge@fastgpt.io>

* chore: docs (#6291)

---------

Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: Archer <545436317@qq.com>

* chore: deploy scripts (#6293)

* docs: 41451 upgrade doc (#6294)

* feat: wecom integration (#6234)

* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

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

* feat: system tool config tags (#6257)

* fix: price status (#6279)

* fix: back button (#6281)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Archer <545436317@qq.com>
Co-authored-by: heheer <heheer@sealos.io>

* feat: marketplace batch update

* chore: components reuse

* fix: test case

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: archer <545436317@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: heheer <heheer@sealos.io>
* fix: batch update drawer ui && custom plan logic

* fix: max upload file size

* chore: remove comment
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces major platform enhancements for version 4.14.6, focused on WeCom (WeChat Work) integration, plan-based upload limits, and marketplace improvements.

Changes:

  • WeCom Integration: Adds OAuth authentication, payment flows, corp token APIs, and team metadata for WeCom teams
  • Plan-based Upload Limits: Enforces upload file size and count limits based on team subscription plans across backend and frontend
  • Marketplace & Tooling: Implements user-tag-based tool filtering (promoteTags/hideTags), batch update UI, and enhanced admin tool management APIs

Reviewed changes

Copilot reviewed 119 out of 125 changed files in this pull request and generated 19 comments.

Show a summary per file
File Description
projects/marketplace/src/pages/api/tool/versions.ts New API endpoint to fetch tool version information
projects/marketplace/src/pages/api/tool/getDownloadUrl.ts Enhanced to support batch tool download URL generation
projects/app/src/web/common/system/useSystemStore.ts Added default upload file limits configuration
projects/app/src/service/common/system/index.ts Implemented environment-driven upload limits configuration
projects/app/src/pages/price/index.tsx Added WeCom-specific UI handling for pricing page
projects/app/src/pages/login/provider.tsx Integrated WeCom OAuth login flow
projects/app/src/pages/api/plugin/getAccessToken.ts New plugin access token generation API
projects/app/src/pages/api/support/user/account/loginByPassword.ts Added WeCom user password login prevention
projects/app/src/pages/config/tool/marketplace.tsx Implemented batch tool update functionality
projects/app/src/pageComponents/account/team/TransferOwnershipModal.tsx New team ownership transfer UI component
packages/service/support/wallet/sub/utils.ts Enhanced team plan status retrieval with WeC om trial support
packages/service/support/user/team/delete/* New team deletion queue and processor implementation
packages/service/support/permission/auth/pluginAccessToken.ts New JWT-based plugin access token system
packages/global/support/wallet/sub/type.ts Extended subscription schemas with upload limits and WeCom pricing
packages/global/support/user/type.ts Added user tags enum and WeCom-related metadata types

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"support.wallet.subscription.standardSubLevel.free desc": "核心功能免费试用。30 天未登录,将会清空知识库。",
"support.wallet.subscription.standardSubLevel.trial": "试用版",
"support.wallet.subscription.standardSubLevel.trial_desc": "企业可免费试用15天,自激活应用时起计,每个企业限体验一次。",
"support.wallet.subscription.per_year": "/ 年",
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The duplicate translation key 'support.wallet.subscription.per_year' on line 1284 will override the first definition on line 1268. This duplicate entry should be removed.

Copilot uses AI. Check for mistakes.
Comment on lines +32 to +34
return toolId
? getPkgdownloadURL(toolId)
: Array.from(tools.map((tool) => getPkgdownloadURL(tool.toolId)));
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The return statement on line 32-34 attempts to return either a single string or an array of strings, but getPkgdownloadURL(toolId) is called without awaiting when toolId is truthy. Additionally, when returning an array, Array.from() is used unnecessarily since map() already returns an array.

The correct implementation should:

  1. Use await for the single toolId case
  2. Remove Array.from() wrapper for the array case
  3. Consider using Promise.all() for the array case to properly await all promises

Copilot uses AI. Check for mistakes.
Comment on lines +16 to +26
return Array.from(
data
.filter((item) => {
if (item.parentId) return false;
return true;
})
.map(({ toolId, version }) => ({
toolId,
version
}))
);
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 16 wraps the result in Array.from(), but the .map() operation already returns an array. The Array.from() call is redundant and should be removed for cleaner code.

Copilot uses AI. Check for mistakes.
Comment on lines +43 to 49
/** @deprecated
* But some code still use this to judge whether the member is a owner.
* TODO: Remove this field and replace it with a more appropriate way to determine ownership.
*/
role: {
type: String
},
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The role field on lines 47-49 is marked as deprecated with a TODO to remove it (lines 43-45), but it's still being kept because "some code still use this to judge whether the member is a owner." This indicates incomplete refactoring and technical debt. Consider creating a follow-up task to identify all usages of this deprecated field and migrate to the proper ownership determination method.

Copilot uses AI. Check for mistakes.
"support.wallet.usage.Total points": "AI 积分总消耗",
"support.wallet.usage.Usage Detail": "使用详情",
"support.wallet.usage.Whisper": "语音输入",
"support.wallet.wecom_bill_tip": "请前往企微-收银台进行账单查询和开票",
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The duplicate translation key 'support.wallet.wecom_bill_tip' on line 1316 will override the first definition on line 1208. This duplicate entry should be removed.

Copilot uses AI. Check for mistakes.

teamPoint.updateTeamPointsCache({ teamId, totalPoints, surplusPoints });

console.log('standardConstants', standardConstants);
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A console.log statement has been left in the production code on line 242. This debug log should be removed before merging to production as it can clutter logs and potentially expose sensitive information.

Copilot uses AI. Check for mistakes.
totalPoints: freePoints,
surplusPoints: freePoints
surplusPoints: freePoints,
...(specialConfig && specialConfig)
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Operands specialConfig and specialConfig are identical.

Copilot uses AI. Check for mistakes.
hasSelections,
toggleSelect,
isSelected,
FloatingActionBar,
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable FloatingActionBar.

Copilot uses AI. Check for mistakes.
const { t, i18n } = useTranslation();
const { feConfigs } = useSystemStore();
const { toast } = useToast();
const { register, reset, handleSubmit, setValue, watch, control } = useForm<UpdateToolBodyType>();
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable control.

Copilot uses AI. Check for mistakes.
const [inputList, status, defaultInstalled, inputListVal, childTools] = watch([
'inputList',
// 从表单 watch 可变数据
const [status, defaultInstalled, inputListVal, childTools, promoteTags, hideTags] = watch([
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable childTools.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants