Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox

This commit is contained in:
yyh
2026-02-09 18:43:04 +08:00
920 changed files with 4057 additions and 3430 deletions

View File

@ -67,7 +67,7 @@ const ArtifactsSection = ({ className }: ArtifactsSectionProps) => {
<div className="flex size-5 items-center justify-center">
<FolderSpark className="size-4 text-text-secondary" aria-hidden="true" />
</div>
<span className="system-sm-semibold uppercase text-text-secondary">
<span className="uppercase text-text-secondary system-sm-semibold">
{t('skillSidebar.artifacts.title')}
</span>
</div>
@ -104,7 +104,7 @@ const ArtifactsSection = ({ className }: ArtifactsSectionProps) => {
: (
<div className="px-1.5 pb-0.5">
<div className="rounded-lg bg-background-section p-3">
<p className="system-xs-regular text-text-tertiary">
<p className="text-text-tertiary system-xs-regular">
{t('skillSidebar.artifacts.emptyState')}
</p>
</div>

View File

@ -43,7 +43,7 @@ const DragActionTooltip = ({ action }: DragActionTooltipProps) => {
return (
<div className="flex shrink-0 items-center justify-center py-3">
<div className="rounded-lg bg-components-tooltip-bg p-1.5 shadow-lg backdrop-blur-[5px]">
<p className="system-xs-regular px-0.5 text-text-secondary">
<p className="px-0.5 text-text-secondary system-xs-regular">
{actionText}
<span className="system-xs-medium">{targetPath}</span>
</p>

View File

@ -338,7 +338,7 @@ const FileTree = ({ className }: FileTreeProps) => {
return (
<div className={cn('flex min-h-[150px] flex-1 flex-col overflow-y-auto', className)}>
<div className="flex flex-1 flex-col items-center justify-center gap-2 px-4 text-center">
<span className="system-xs-regular text-text-tertiary">
<span className="text-text-tertiary system-xs-regular">
{t('skillSidebar.empty')}
</span>
</div>
@ -352,7 +352,7 @@ const FileTree = ({ className }: FileTreeProps) => {
<div className={cn('flex min-h-[150px] flex-1 flex-col overflow-y-auto', className)}>
<div className="flex flex-1 flex-col items-center justify-center gap-2 pb-20">
<SearchMenu className="size-8 text-text-tertiary" aria-hidden="true" />
<span className="system-xs-regular text-text-secondary">
<span className="text-text-secondary system-xs-regular">
{t('skillSidebar.searchNoResults')}
</span>
<Button

View File

@ -39,7 +39,7 @@ const iconVariants = cva('size-4 text-text-tertiary', {
},
})
const labelVariants = cva('system-sm-regular text-text-secondary', {
const labelVariants = cva('text-text-secondary system-sm-regular', {
variants: {
variant: {
default: '',

View File

@ -84,7 +84,7 @@ const SearchResultRow = ({ node, parentPath, treeChildren }: SearchResultRowProp
</span>
</div>
{parentPath && (
<span className="system-xs-regular shrink-0 text-text-tertiary">
<span className="shrink-0 text-text-tertiary system-xs-regular">
{parentPath}
</span>
)}

View File

@ -85,7 +85,7 @@ const UploadStatusTooltip = ({ fallback }: UploadStatusTooltipProps) => {
</div>
<div className="relative z-10 flex min-w-0 flex-1 flex-col">
<span className="system-xs-semibold truncate text-text-primary">
<span className="truncate text-text-primary system-xs-semibold">
{uploadStatus === 'uploading' && t('skillSidebar.uploadingItems', {
uploaded: uploadProgress.uploaded,
total: uploadProgress.total,
@ -93,7 +93,7 @@ const UploadStatusTooltip = ({ fallback }: UploadStatusTooltipProps) => {
{uploadStatus === 'success' && t('skillSidebar.uploadSuccess')}
{uploadStatus === 'partial_error' && t('skillSidebar.uploadPartialError')}
</span>
<span className="system-2xs-regular truncate text-text-tertiary">
<span className="truncate text-text-tertiary system-2xs-regular">
{uploadStatus === 'success' && t('skillSidebar.uploadSuccessDetail', {
uploaded: uploadProgress.uploaded,
total: uploadProgress.total,