mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fmt(js): npm run fix on merge (#68938)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
81f4095bc1
commit
146f4ed07d
3 changed files with 8 additions and 7 deletions
|
|
@ -7,11 +7,7 @@ import { closeActiveTerminal, createTerminal, cycleTerminal } from '@/app/right-
|
|||
import { activateTreeTabSlot, cycleTreeTabInFocusedZone, layoutHasRootSide } from '@/components/pane-shell/tree/store'
|
||||
import { contributedKeybindHandler, PROFILE_SLOT_COUNT, SESSION_SLOT_COUNT } from '@/lib/keybinds/actions'
|
||||
import { comboAllowedInInput, comboFromEvent, isEditableTarget } from '@/lib/keybinds/combo'
|
||||
import {
|
||||
composerFocusKeysAllowed,
|
||||
isComposerFocusSoftCombo,
|
||||
typeToFocusChar
|
||||
} from '@/lib/keybinds/composer-focus-keys'
|
||||
import { composerFocusKeysAllowed, isComposerFocusSoftCombo, typeToFocusChar } from '@/lib/keybinds/composer-focus-keys'
|
||||
import { $repoStatus } from '@/store/coding-status'
|
||||
import { toggleCommandPalette } from '@/store/command-palette'
|
||||
import { $capture, $comboIndex, endCapture, setBinding } from '@/store/keybinds'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
import { $workspaceIsPage } from '@/app/routes'
|
||||
import { closeSwitcher, $switcherOpen } from '@/store/session-switcher'
|
||||
import { $switcherOpen, closeSwitcher } from '@/store/session-switcher'
|
||||
|
||||
import {
|
||||
composerFocusBlockedBySurface,
|
||||
|
|
|
|||
|
|
@ -76,7 +76,12 @@ export function composerFocusKeysAllowed(event: KeyboardEvent, combo: string): b
|
|||
return true
|
||||
}
|
||||
|
||||
if (event.defaultPrevented || event.isComposing || isEditableTarget(event.target) || composerFocusBlockedBySurface()) {
|
||||
if (
|
||||
event.defaultPrevented ||
|
||||
event.isComposing ||
|
||||
isEditableTarget(event.target) ||
|
||||
composerFocusBlockedBySurface()
|
||||
) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue