feat: plugin auto upgrade strategy (#19758)

Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
This commit is contained in:
Junyan Qin (Chin)
2025-07-23 15:33:39 +08:00
committed by GitHub
parent e6913744ae
commit eaae79a581
305 changed files with 2524 additions and 581 deletions

File diff suppressed because one or more lines are too long

View File

@@ -4,12 +4,16 @@
import * as React from 'react'
import data from './AliyunIcon.json'
import IconBase from '@/app/components/base/icons/IconBase'
import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase'
import type { IconData } from '@/app/components/base/icons/IconBase'
const Icon = React.forwardRef<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
props,
ref,
) => <IconBase {...props} ref={ref} data={data as IconData} />)
const Icon = (
{
ref,
...props
}: React.SVGProps<SVGSVGElement> & {
ref?: React.RefObject<React.MutableRefObject<HTMLOrSVGElement>>;
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'AliyunIcon'

File diff suppressed because one or more lines are too long

View File

@@ -4,12 +4,16 @@
import * as React from 'react'
import data from './AliyunIconBig.json'
import IconBase from '@/app/components/base/icons/IconBase'
import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase'
import type { IconData } from '@/app/components/base/icons/IconBase'
const Icon = React.forwardRef<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
props,
ref,
) => <IconBase {...props} ref={ref} data={data as IconData} />)
const Icon = (
{
ref,
...props
}: React.SVGProps<SVGSVGElement> & {
ref?: React.RefObject<React.MutableRefObject<HTMLOrSVGElement>>;
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'AliyunIconBig'

View File

@@ -4,12 +4,16 @@
import * as React from 'react'
import data from './WeaveIcon.json'
import IconBase from '@/app/components/base/icons/IconBase'
import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase'
import type { IconData } from '@/app/components/base/icons/IconBase'
const Icon = React.forwardRef<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
props,
ref,
) => <IconBase {...props} ref={ref} data={data as IconData} />)
const Icon = (
{
ref,
...props
}: React.SVGProps<SVGSVGElement> & {
ref?: React.RefObject<React.MutableRefObject<HTMLOrSVGElement>>;
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'WeaveIcon'

View File

@@ -4,12 +4,16 @@
import * as React from 'react'
import data from './WeaveIconBig.json'
import IconBase from '@/app/components/base/icons/IconBase'
import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase'
import type { IconData } from '@/app/components/base/icons/IconBase'
const Icon = React.forwardRef<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
props,
ref,
) => <IconBase {...props} ref={ref} data={data as IconData} />)
const Icon = (
{
ref,
...props
}: React.SVGProps<SVGSVGElement> & {
ref?: React.RefObject<React.MutableRefObject<HTMLOrSVGElement>>;
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'WeaveIconBig'

View File

@@ -1,3 +1,5 @@
export { default as AliyunIconBig } from './AliyunIconBig'
export { default as AliyunIcon } from './AliyunIcon'
export { default as ArizeIconBig } from './ArizeIconBig'
export { default as ArizeIcon } from './ArizeIcon'
export { default as LangfuseIconBig } from './LangfuseIconBig'
@@ -11,5 +13,3 @@ export { default as PhoenixIcon } from './PhoenixIcon'
export { default as TracingIcon } from './TracingIcon'
export { default as WeaveIconBig } from './WeaveIconBig'
export { default as WeaveIcon } from './WeaveIcon'
export { default as AliyunIconBig } from './AliyunIconBig'
export { default as AliyunIcon } from './AliyunIcon'

View File

@@ -23,4 +23,4 @@
]
},
"name": "Citations"
}
}

View File

@@ -25,4 +25,4 @@
]
},
"name": "ContentModeration"
}
}

View File

@@ -20,4 +20,4 @@
]
},
"name": "Document"
}
}

View File

@@ -23,4 +23,4 @@
]
},
"name": "FolderUpload"
}
}

View File

@@ -23,4 +23,4 @@
]
},
"name": "LoveMessage"
}
}

View File

@@ -25,4 +25,4 @@
]
},
"name": "MessageFast"
}
}

View File

@@ -34,4 +34,4 @@
]
},
"name": "Microphone01"
}
}

View File

@@ -74,4 +74,4 @@
]
},
"name": "TextToAudio"
}
}

View File

@@ -32,4 +32,4 @@
]
},
"name": "VirtualAssistant"
}
}

View File

@@ -25,4 +25,4 @@
]
},
"name": "Vision"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "AlertTriangle"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "ThumbsDown"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "ThumbsUp"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "ArrowNarrowLeft"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "ArrowUpRight"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "ChevronDownDouble"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "ChevronRight"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "ChevronSelectorVertical"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "RefreshCcw01"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "RefreshCw05"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "ReverseLeft"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "AiText"
}
}

View File

@@ -90,4 +90,4 @@
]
},
"name": "ChatBot"
}
}

View File

@@ -65,4 +65,4 @@
]
},
"name": "ChatBotSlim"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "CuteRobot"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "MessageCheckRemove"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "MessageFastPlus"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "ArtificialBrain"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "BarChartSquare02"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "BracketsX"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "CodeBrowser"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Container"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Database01"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Database03"
}
}

View File

@@ -49,4 +49,4 @@
]
},
"name": "FileHeart02"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "GitBranch01"
}
}

View File

@@ -62,4 +62,4 @@
]
},
"name": "PromptEngineering"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "PuzzlePiece01"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "TerminalSquare"
}
}

View File

@@ -59,4 +59,4 @@
]
},
"name": "Variable"
}
}

View File

@@ -86,4 +86,4 @@
]
},
"name": "Webhooks"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "AlignLeft"
}
}

View File

@@ -35,4 +35,4 @@
]
},
"name": "BezierCurve03"
}
}

View File

@@ -59,4 +59,4 @@
]
},
"name": "Collapse"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Colors"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "ImageIndentLeft"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "LeftIndent02"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "LetterSpacing01"
}
}

View File

@@ -35,4 +35,4 @@
]
},
"name": "TypeSquare"
}
}

View File

@@ -46,4 +46,4 @@
]
},
"name": "BookOpen01"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "File02"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "FileArrow01"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "FileCheck02"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "FileDownload02"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "FilePlus01"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "FilePlus02"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "FileText"
}
}

View File

@@ -49,4 +49,4 @@
]
},
"name": "FileUpload"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Folder"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Balance"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "CoinsStacked01"
}
}

View File

@@ -117,4 +117,4 @@
]
},
"name": "GoldCoin"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "ReceiptList"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "Tag01"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Tag03"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "AtSign"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Bookmark"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Check"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "CheckDone01"
}
}

View File

@@ -33,4 +33,4 @@
]
},
"name": "ChecklistSquare"
}
}

View File

@@ -131,4 +131,4 @@
]
},
"name": "DotsGrid"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "Edit02"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Edit04"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "Edit05"
}
}

View File

@@ -35,4 +35,4 @@
]
},
"name": "Hash02"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "InfoCircle"
}
}

View File

@@ -54,4 +54,4 @@
]
},
"name": "Link03"
}
}

View File

@@ -35,4 +35,4 @@
]
},
"name": "LinkExternal02"
}
}

View File

@@ -50,4 +50,4 @@
]
},
"name": "LogIn04"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "LogOut01"
}
}

View File

@@ -50,4 +50,4 @@
]
},
"name": "LogOut04"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Menu01"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Pin01"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Pin02"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Plus02"
}
}

View File

@@ -20,4 +20,4 @@
]
},
"name": "Refresh"
}
}

View File

@@ -0,0 +1,77 @@
{
"icon": {
"type": "element",
"isRootNode": true,
"name": "svg",
"attributes": {
"width": "32",
"height": "32",
"viewBox": "0 0 32 32",
"fill": "none",
"xmlns": "http://www.w3.org/2000/svg"
},
"children": [
{
"type": "element",
"name": "path",
"attributes": {
"d": "M28.0049 16C28.0049 20.4183 24.4231 24 20.0049 24C15.5866 24 12.0049 20.4183 12.0049 16C12.0049 11.5817 15.5866 8 20.0049 8C24.4231 8 28.0049 11.5817 28.0049 16Z",
"stroke": "currentColor",
"stroke-width": "2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
},
"children": []
},
{
"type": "element",
"name": "path",
"attributes": {
"d": "M4.00488 16H6.67155",
"stroke": "currentColor",
"stroke-width": "2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
},
"children": []
},
{
"type": "element",
"name": "path",
"attributes": {
"d": "M4.00488 9.33334H8.00488",
"stroke": "currentColor",
"stroke-width": "2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
},
"children": []
},
{
"type": "element",
"name": "path",
"attributes": {
"d": "M4.00488 22.6667H8.00488",
"stroke": "currentColor",
"stroke-width": "2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
},
"children": []
},
{
"type": "element",
"name": "path",
"attributes": {
"d": "M26 22L29.3333 25.3333",
"stroke": "currentColor",
"stroke-width": "2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
},
"children": []
}
]
},
"name": "SearchMenu"
}

View File

@@ -0,0 +1,20 @@
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import * as React from 'react'
import data from './SearchMenu.json'
import IconBase from '@/app/components/base/icons/IconBase'
import type { IconData } from '@/app/components/base/icons/IconBase'
const Icon = (
{
ref,
...props
}: React.SVGProps<SVGSVGElement> & {
ref?: React.RefObject<React.MutableRefObject<HTMLOrSVGElement>>;
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'SearchMenu'
export default Icon

View File

@@ -83,4 +83,4 @@
]
},
"name": "Settings01"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Settings04"
}
}

View File

@@ -62,4 +62,4 @@
]
},
"name": "Target04"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "Upload03"
}
}

View File

@@ -39,4 +39,4 @@
]
},
"name": "UploadCloud01"
}
}

Some files were not shown because too many files have changed in this diff Show More