[Extension Reloading]: Update custom commands, add enable/disable command (#12547)

This commit is contained in:
Jacob MacDonald
2025-11-05 11:36:07 -08:00
committed by GitHub
parent ca6cfaaf4e
commit fa93b56243
24 changed files with 664 additions and 187 deletions

View File

@@ -9,7 +9,10 @@ import { useCallback } from 'react';
import { Box, Text } from 'ink';
import { theme } from '../semantic-colors.js';
import { RadioButtonSelect } from '../components/shared/RadioButtonSelect.js';
import type { LoadedSettings } from '../../config/settings.js';
import type {
LoadableSettingScope,
LoadedSettings,
} from '../../config/settings.js';
import { SettingScope } from '../../config/settings.js';
import {
AuthType,
@@ -99,7 +102,7 @@ export function AuthDialog({
}
const onSelect = useCallback(
async (authType: AuthType | undefined, scope: SettingScope) => {
async (authType: AuthType | undefined, scope: LoadableSettingScope) => {
if (authType) {
await clearCachedCredentialFile();