Remove unused code (#15290)

This commit is contained in:
Tommaso Sciortino
2025-12-18 15:04:29 -08:00
committed by GitHub
parent 2515b89e2b
commit edab97997a
6 changed files with 4 additions and 22 deletions

View File

@@ -797,7 +797,7 @@ function validateName(name: string) {
}
}
export function getExtensionId(
function getExtensionId(
config: ExtensionConfig,
installMetadata?: ExtensionInstallMetadata,
): string {

View File

@@ -1938,9 +1938,3 @@ type InferSettings<T extends SettingsSchema> = {
};
export type Settings = InferSettings<SettingsSchemaType>;
export interface FooterSettings {
hideCWD?: boolean;
hideSandboxStatus?: boolean;
hideModelInfo?: boolean;
}

View File

@@ -4,16 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
const EstimatedArtWidth = 59;
const BoxBorderWidth = 1;
export const BOX_PADDING_X = 1;
// Calculate width based on art, padding, and border
export const UI_WIDTH =
EstimatedArtWidth + BOX_PADDING_X * 2 + BoxBorderWidth * 2; // ~63
export const STREAM_DEBOUNCE_MS = 100;
export const SHELL_COMMAND_NAME = 'Shell Command';
export const SHELL_NAME = 'Shell';