refactor: remove verified unused internals (#6460)

* refactor: remove verified unused internals

* test(linear): synchronize webhook shutdown with writer join
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-26 21:45:36 +08:00
1 parent 3230013963
commit f23a6d1485
105 files changed
+207 -1282

No files matched your search

@@ -41,7 +41,6 @@ export function ChannelQrConnectFlow({
renderActions,
renderView,
}: {
token: string;
channelName: string;
startParams?: Readonly<Record<string, string | boolean>>;
idleLabel?: string;
@@ -156,11 +156,6 @@ export function useSettingsController({
const runtimeConfigState = useRuntimeConfigSettings(settings, client, applyPayload);
const markUpdateInstalled = useCallback(() => {
setPendingRestartSections((current) => ({ ...current, runtime: true }));
setSettings((current) => current ? { ...current, requires_restart: true } : current);
}, []);
const closeProviderOAuthFlow = useCallback((cancelPending = true) => {
const flow = providerOAuthFlowRef.current;
providerOAuthFlowRef.current = null;
@@ -479,7 +474,6 @@ export function useSettingsController({
systemState,
systemActions,
activeSection,
markUpdateInstalled,
runtimeConfigState,
closeProviderOAuthFlow,
error,
@@ -229,8 +229,6 @@ interface ThreadShellProps {
temporaryChatEnabled?: boolean;
onTemporaryChatEnabledChange?: (enabled: boolean) => void;
onToggleSidebar: () => void;
onGoHome?: () => void;
onNewChat?: () => void;
onCreateChat?: (
workspaceScope?: WorkspaceScopePayload | null,
initialMessage?: string,