Merge branch 'main' into chore/sync-gemini-cli-v0.3.4

This commit is contained in:
Mingholy
2025-09-16 19:51:32 +08:00
15 changed files with 1115 additions and 294 deletions

View File

@@ -142,9 +142,11 @@ function isToolExecuting(pendingHistoryItems: HistoryItemWithoutId[]) {
export const AppWrapper = (props: AppProps) => {
const kittyProtocolStatus = useKittyKeyboardProtocol();
const nodeMajorVersion = parseInt(process.versions.node.split('.')[0], 10);
return (
<KeypressProvider
kittyProtocolEnabled={kittyProtocolStatus.enabled}
pasteWorkaround={process.platform === 'win32' || nodeMajorVersion < 20}
config={props.config}
debugKeystrokeLogging={
props.settings.merged.general?.debugKeystrokeLogging