mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-09-01 00:31:51 +03:00
refactor: remove remaining dead code
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user