Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
style: prettier reformat in unrelated utilities
Sergey Kozyrenko616b864b1713
diff --git a/frontend/src/components/shared/file-manager/file-manager-utils.ts b/frontend/src/components/shared/file-manager/file-manager-utils.tsindex 5ac1cd60..ae2cdd4a 100644--- a/frontend/src/components/shared/file-manager/file-manager-utils.ts+++ b/frontend/src/components/shared/file-manager/file-manager-utils.ts@@ -883,7 +883,10 @@ export const computeRowClickSelection = ({const expandDir = (p: string): readonly string[] => dirSubtreePaths?.get(p) ?? [p];const addRangeToPrev = (paths: Iterable<string>): Set<string> =>- addAll(prev, Array.from(paths).flatMap((p) => [...expandDir(p)]));+ addAll(+ prev,+ Array.from(paths).flatMap((p) => [...expandDir(p)]),+ );const buildAdditiveFallback = (): Set<string> => addRangeToPrev(hasSubtree && subtreePaths ? subtreePaths : [path]);diff --git a/frontend/src/components/shared/file-manager/use-file-manager-sorting.ts b/frontend/src/components/shared/file-manager/use-file-manager-sorting.tsindex a6d337e0..41bdaea8 100644--- a/frontend/src/components/shared/file-manager/use-file-manager-sorting.ts+++ b/frontend/src/components/shared/file-manager/use-file-manager-sorting.ts@@ -118,10 +118,7 @@ export const useFileManagerSorting = ({};/** Pure reducer for the header three-state cycle. Exported for unit tests. */-export const computeNextSort = (- current: FileManagerSortState,- column: FileManagerSortColumn,-): FileManagerSortState => {+export const computeNextSort = (current: FileManagerSortState, column: FileManagerSortColumn): FileManagerSortState => {if (current?.column !== column) {return { column, direction: 'asc' };}diff --git a/frontend/src/components/ui/autocomplete.tsx b/frontend/src/components/ui/autocomplete.tsxindex 66248d6f..33e24a6a 100644--- a/frontend/src/components/ui/autocomplete.tsx+++ b/frontend/src/components/ui/autocomplete.tsx@@ -205,9 +205,7 @@ const AutocompleteInput = React.forwardRef<HTMLInputElement, AutocompleteInputPr// does referential equality, so collapsing the two slots into one boolean// halves the per-keystroke re-renders without breaking the snapshot check// (which would happen if we returned a fresh object each time).- const hasActiveMatch = useCommandState(- (state) => state.filtered.count > 0 && Boolean(state.value),- );+ const hasActiveMatch = useCommandState((state) => state.filtered.count > 0 && Boolean(state.value));// Skip the very first focus event — it's the `autoFocus` case (or any// other focus the parent fires synchronously during mount). Auto-openingdiff --git a/frontend/src/lib/table-storage.ts b/frontend/src/lib/table-storage.tsindex 8defdc7e..339d8c0f 100644--- a/frontend/src/lib/table-storage.ts+++ b/frontend/src/lib/table-storage.ts@@ -20,7 +20,6 @@ export const loadPageState = (key: string): null | StoredPageState => getStorageexport const saveSorting = (key: string, sorting: SortingState): void => setStorageItem(key, sorting);-export const saveColumnVisibility = (key: string, visibility: VisibilityState): void =>- setStorageItem(key, visibility);+export const saveColumnVisibility = (key: string, visibility: VisibilityState): void => setStorageItem(key, visibility);export const savePageState = (key: string, state: StoredPageState): void => setStorageItem(key, state);