Commit Graph

2827 Commits

Author SHA1 Message Date
Mohamed Boudra
cdce9f0fa5 chore(lint): parallelize bootstrap provider availability cleanup 2026-04-24 03:33:43 +07:00
Mohamed Boudra
2eed4a3f60 chore(lint): no-array-index-key in app 2026-04-24 03:32:57 +07:00
Mohamed Boudra
ee7a43726f chore(lint): parallelize agent storage record file probing 2026-04-24 03:32:21 +07:00
Mohamed Boudra
a5742d0c3c chore(lint): parallelize client and relay transport test cleanup 2026-04-24 03:31:19 +07:00
Mohamed Boudra
7742727078 chore(lint): parallelize executable PATH probing 2026-04-24 03:29:12 +07:00
Mohamed Boudra
edb071cb7b chore(lint): jsx-no-useless-fragment in app 2026-04-24 03:28:22 +07:00
Mohamed Boudra
d3a94e8cf2 chore(lint): parallelize script-health-monitor afterEach and spawns
Close all stub TCP servers concurrently and spawn typecheck/api
scripts via Promise.all to drop two no-await-in-loop warnings.
2026-04-24 03:25:32 +07:00
Mohamed Boudra
46731a51d0 chore(lint): prefer-add-event-listener in app 2026-04-24 03:24:57 +07:00
Mohamed Boudra
bc13256949 chore(lint): parallelize worktree bootstrap test cleanup and script spawn
Run terminal cleanup across managers and spawnWorkspaceScript for api
and web concurrently to eliminate no-await-in-loop warnings while
preserving semantics.
2026-04-24 03:24:36 +07:00
Mohamed Boudra
6fcc4c736b chore(lint): parallelize worktree terminal bootstrap
Start each bootstrap terminal concurrently via Promise.all. Since every
spec creates an independent terminal and returns a standalone result,
parallelization preserves order while removing two no-await-in-loop
warnings.
2026-04-24 03:23:45 +07:00
Mohamed Boudra
5ad911e00d chore(lint): no-unused-vars in app 2026-04-24 03:23:01 +07:00
Mohamed Boudra
75becbe138 chore(lint): parallelize rebase head-name lookup
Try both rebase backends (rebase-merge, rebase-apply) concurrently
via Promise.all and return the first non-null result.
2026-04-24 03:22:58 +07:00
Mohamed Boudra
e27de5e2c3 chore(lint): parallelize pending permission approvals
approvePendingPermissions now filters and records handled IDs in a
sync pass, then awaits all allowPermission calls concurrently instead
of looping awaits.
2026-04-24 03:22:09 +07:00
Mohamed Boudra
ec6a35b8cb chore(lint): mechanical cleanup in app (unused, shadow, nested-ternary)
Recovers in-flight edits from the app mechanical agent that couldn't be
pushed due to concurrent tree contention. Removes unused helpers and
locals, flattens nested ternaries, narrows a few props where unused.
2026-04-24 03:20:38 +07:00
Mohamed Boudra
28c6a38b3a chore(lint): parallelize test daemon cleanup rm calls
Run the paseoHomeRoot/staticDir removals concurrently in close() and
the startup catch block to fix no-await-in-loop.
2026-04-24 03:19:42 +07:00
Mohamed Boudra
97d9035371 chore(lint): parallelize workspace registry bootstrap upserts
Collect per-workspace upsert inputs in a sync pass, then run registry
writes via Promise.all to eliminate no-await-in-loop warnings.
2026-04-24 03:19:09 +07:00
Mohamed Boudra
7e16fd6b4d chore(lint): parallelize Linux watch directory traversal
Switch BFS to level-by-level Promise.all over readdir calls, replacing
the sequential pop/await loop that triggered no-await-in-loop.
2026-04-24 03:18:30 +07:00
Mohamed Boudra
316253aed6 chore(lint): parallelize Claude persisted agents lookup
Replace sequential parseClaudeSessionDescriptor loop with Promise.all
to fix no-await-in-loop warning.
2026-04-24 03:18:16 +07:00
Mohamed Boudra
01f3502935 chore(lint): extract helpers to satisfy max-depth in server 2026-04-24 03:17:44 +07:00
Mohamed Boudra
4df7e18821 chore(lint): flatten nested blocks to satisfy max-depth in server 2026-04-24 03:11:42 +07:00
Mohamed Boudra
45a6e7545b chore(lint): fix no-shadow and no-nested-ternary in server 2026-04-24 03:10:03 +07:00
Mohamed Boudra
32255cef9a chore(lint): add explicit returns in then() callbacks in server 2026-04-24 03:07:31 +07:00
Mohamed Boudra
eabaf3508e chore(lint): remove unused helpers and vars in server tests 2026-04-24 03:04:12 +07:00
Mohamed Boudra
f8f0240c7d chore(lint): remove unused vitest imports in server tests 2026-04-24 03:01:50 +07:00
Mohamed Boudra
4dffd079eb chore(lint): memoize inline styles in message components
Clears 5 react-perf/jsx-no-new-* warnings in message.tsx by memoizing
image source objects, extracting an AssistantMessageBlockContainer for
per-block spacing, and moving todo list item rendering into a
TodoListItemRow subcomponent so each row memoizes its own style arrays.
The remaining 8 warnings in react-native-markdown-display render rules
are inherent to that library's rule API.
2026-04-24 02:54:37 +07:00
Mohamed Boudra
e313bf5776 chore(lint): hoist test fixture arrays/objects
Clears 14 react-perf/jsx-no-new-* warnings across app test files by
hoisting constant fixtures to module scope or wrapping them in helper
factories so they no longer appear as inline JSX prop values.
2026-04-24 02:52:23 +07:00
Mohamed Boudra
2ee4955cbe chore(lint): memoize inline style objects in list/pane components
Clears 6 react-perf/jsx-no-new-object-as-prop warnings across
synced-loader, stream-strategy-web, sortable-inline-list, file-pane, and
both draggable-list platform variants by memoizing or hoisting their
inline style objects.
2026-04-24 02:48:55 +07:00
Mohamed Boudra
d50bf740ea chore(lint): memoize inline styles and objects in stream/status panes
Clears 10 react-perf/jsx-no-new warnings across welcome-screen,
file-explorer-pane, terminal-pane, agent-stream-view, and
agent-status-bar by extracting per-item subcomponents, hoisting constant
style tuples, and memoizing derived arrays/objects.
2026-04-24 02:45:53 +07:00
Mohamed Boudra
1a53673535 chore(lint): memoize inline styles in _layout
Fixes 3 react-perf/jsx-no-new-object-as-prop warnings in root layout by
memoizing the stack screen options, the agent screen override, and the
GestureHandlerRootView root style.
2026-04-24 02:41:57 +07:00
Mohamed Boudra
8a3129ff15 chore(lint): hoist inline arrays and objects in app (145 warnings)
- Hoist static style arrays/objects to module-level consts
- Memoize dynamic ones with useMemo and correct deps
- jsx-no-new-array-as-prop: 145 -> 43
- jsx-no-new-object-as-prop: 64 -> 21
2026-04-24 02:40:14 +07:00
Mohamed Boudra
58d92f501b chore(lint): remove explicit any in server (129 warnings)
- session.ts: catch(error: any) -> catch(error) with Error coercion at use
- daemon-client transport: any -> unknown in listener types
- sherpa/onnx loaders: introduce structural native types
- pocket-tts-onnx: typed ONNX session inputs/outputs/tensors
- tests: any -> unknown + named stub types
2026-04-24 02:40:02 +07:00
Mohamed Boudra
032de17537 chore(lint): memoize inline styles in autocomplete, message-input, composer 2026-04-24 02:34:54 +07:00
Mohamed Boudra
4179b24416 chore(lint): memoize inline styles in workspace-hover-card 2026-04-24 02:31:47 +07:00
Mohamed Boudra
6b97e49c19 chore(lint): memoize inline styles in dropdown-menu 2026-04-24 02:29:54 +07:00
Mohamed Boudra
ce51fa79ba chore(lint): extract SplitGroupChild to memoize inline styles 2026-04-24 02:27:41 +07:00
Mohamed Boudra
b2286aa307 chore(lint): memoize inline styles in combobox 2026-04-24 02:25:52 +07:00
Mohamed Boudra
c793e5ae52 chore(lint): hoist constant style arrays in desktop-updates-section 2026-04-24 02:24:16 +07:00
Mohamed Boudra
727df24f59 chore(lint): memoize inline styles in workspace-desktop-tabs-row 2026-04-24 02:23:06 +07:00
Mohamed Boudra
1db1689532 chore(lint): memoize inline styles in workspace-screen 2026-04-24 02:21:02 +07:00
Mohamed Boudra
5b420dbfdb chore(lint): fix typecheck errors from hoisting refactors
- pair-scan: type BARCODE_SCANNER_SETTINGS as BarcodeSettings
- explorer-sidebar: add missing desktopSidebarStyle useMemo
- sidebar-workspace-list: coerce null dotColor to transparent
- menu-header, e2e.test: formatting
2026-04-24 02:17:56 +07:00
Mohamed Boudra
e730d13957 chore(lint): reduce relay test no-await-in-loop warnings
Refactor while-loops and for-retry loops in e2e.test.ts and
live-relay.e2e.test.ts into recursive poll/attempt helpers.
Remaining 8 warnings in encrypted-channel.ts concern the custom
Transport interface (on-handler slots, not DOM EventTarget) and a
sequential send loop; both reflect deliberate runtime contracts.
2026-04-24 02:14:01 +07:00
Mohamed Boudra
edd92acb3d chore(lint): memoize inline styles in agent-list 2026-04-24 02:13:09 +07:00
Mohamed Boudra
6f8f378732 chore(lint): memoize mobile sidebar styles in explorer-sidebar 2026-04-24 02:11:39 +07:00
Mohamed Boudra
18262a0899 chore(lint): memoize inline styles in explorer-sidebar 2026-04-24 02:10:50 +07:00
Mohamed Boudra
d78dff3572 chore(lint): reduce max-depth in opencode-agent foreground loop 2026-04-24 02:10:41 +07:00
Mohamed Boudra
5f6ebe2065 chore(lint): narrow explicit any in claude-agent/openai stt 2026-04-24 02:09:48 +07:00
Mohamed Boudra
4dfcc426b6 chore(lint): memoize inline styles in context-menu 2026-04-24 02:08:15 +07:00
Mohamed Boudra
f9a1ad21b5 chore(lint): clear cli warnings to zero
Refactor polling loops into recursive helpers to satisfy
no-await-in-loop, fix WebSocket named import, and correct
an absolute-path import in tests/tmp.
2026-04-24 02:08:08 +07:00
Mohamed Boudra
9865eb0a34 chore(lint): reduce max-depth in claude-agent query pump 2026-04-24 02:07:35 +07:00
Mohamed Boudra
d892ccb75d chore(lint): flatten nested conditions in pi-direct-agent history 2026-04-24 02:07:16 +07:00