Remove old protocol compatibility layers

This commit is contained in:
weishu
2026-05-20 17:45:28 +08:00
parent 9324598cd5
commit 6759cf4657
30 changed files with 335 additions and 253 deletions
@@ -4,7 +4,7 @@ import type { SessionMetadataSummary } from '@/types/api'
import type { ChatToolCall, ToolPermission } from '@/chat/types'
import { usePlatform } from '@/hooks/usePlatform'
import { Spinner } from '@/components/Spinner'
import { isCodexFamilyFlavor } from '@/lib/agentFlavorUtils'
import { isCodexFamilyFlavor } from '@hapi/protocol'
import { getInputStringAny } from '@/lib/toolInputUtils'
import { useTranslation } from '@/lib/use-translation'