refactor: remove remaining dead code

This commit is contained in:
chengyongru
2026-08-23 19:08:00 +08:00
committed by chengyongru
parent 3852956a71
commit 961b1fdd7d
46 changed files with 85 additions and 250 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { PickerMenu, type PickerMenuTheme } from "./picker-menu"
export type CommandMenuTheme = PickerMenuTheme
export type TuiCommandAction =
type TuiCommandAction =
| "sessions"
| "new-chat"
| "context"
+3 -3
View File
@@ -29,14 +29,14 @@ export interface FileEditEvent {
diff?: FileDiff
}
export interface FileDiff {
interface FileDiff {
format: "unified" | string
context?: number
truncated?: boolean
text?: string
}
export interface MediaAttachment {
interface MediaAttachment {
kind: "image" | "video" | "file"
url: string
name?: string
@@ -225,7 +225,7 @@ export interface SessionContextSnapshot {
lastUsage: TokenUsage | null
}
export interface SessionMention {
interface SessionMention {
name: string
session_key: string
title?: string