Mohamed Boudra
4deeac511c
chore(lint): no-explicit-any in workspace-git-service.test
2026-04-24 05:16:52 +07:00
Mohamed Boudra
b13725ea7a
chore(lint): no-explicit-any in claude-agent.test
2026-04-24 05:14:41 +07:00
Mohamed Boudra
a29df85de0
chore(lint): no-explicit-any in stt-manager/chat-mentions tests
2026-04-24 05:13:07 +07:00
Mohamed Boudra
d1dffd4435
chore(format): apply oxfmt to 3 server files
2026-04-24 05:10:08 +07:00
Mohamed Boudra
b12f48abc7
chore(lint): parallelize Codex skills directory scan
2026-04-24 03:39:00 +07:00
Mohamed Boudra
0cbbda2236
chore(lint): parallelize script health monitor server cleanup
2026-04-24 03:37:53 +07:00
Mohamed Boudra
9a65dc7ab7
chore(lint): parallelize Claude session id fixture test
2026-04-24 03:36:51 +07:00
Mohamed Boudra
3946eabe8a
chore(lint): parallelize dictation wav fixture search
2026-04-24 03:35:25 +07:00
Mohamed Boudra
b09ebfd6ba
chore(lint): parallelize Codex rollout file search
2026-04-24 03:34:32 +07:00
Mohamed Boudra
cdce9f0fa5
chore(lint): parallelize bootstrap provider availability cleanup
2026-04-24 03:33:43 +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
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
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
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
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
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
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
Mohamed Boudra
18f9174bf6
chore(lint): extract helper to reduce max-depth in agent-response-loop
2026-04-24 02:06:42 +07:00
Mohamed Boudra
42516df3f1
chore(lint): reduce max-depth in claude-sdk-behavior test
2026-04-24 02:05:28 +07:00
Mohamed Boudra
2d19b47577
chore(lint): narrow explicit any in codex-app-server-agent thread items
2026-04-24 02:04:39 +07:00
Mohamed Boudra
1f4f0c020c
chore(lint): hoist top-level inline arrays in diff-viewer
2026-04-24 02:04:01 +07:00
Mohamed Boudra
6c13bd9ab3
chore(lint): hoist SheetBackground combined style
2026-04-24 02:01:18 +07:00
Mohamed Boudra
34258780ec
chore(lint): narrow explicit any in server relay/loader/logger-likes
2026-04-24 01:59:24 +07:00
Mohamed Boudra
afa8fc2709
chore(lint): remove useless constructors in server tests
2026-04-24 01:55:12 +07:00
Mohamed Boudra
89eac88888
chore(lint): narrow explicit any in misc server files
2026-04-24 01:51:26 +07:00
Mohamed Boudra
50faf34b9a
fix(server): restore microtask ordering in session message dispatch
...
Converts per-group dispatchers to Promise<void> | undefined. The complexity
refactor broke two tests by inserting extra microtasks between each
dispatcher's await. The new pattern routes synchronously via a nullish-
coalescing chain and awaits only the matching dispatcher's promise.
2026-04-24 01:49:21 +07:00
Mohamed Boudra
0302b5b32e
chore(lint): parallelize more safe awaits in server (no-await-in-loop)
...
- Workspace reconciliation: archive missing workspaces and orphaned
projects concurrently instead of sequentially.
- Directory suggestions: resolve child directory candidates in parallel
before filtering.
2026-04-24 01:44:29 +07:00
Mohamed Boudra
7bef37f458
chore(lint): parallelize safe awaits in server (no-await-in-loop)
...
Converts three sequential `for ... await` loops to `Promise.all`:
- OpenCode: configure MCP servers in parallel
- Sherpa: download model files and ensure multiple models concurrently
- Speech runtime: check required model files across models in parallel
2026-04-24 01:41:59 +07:00
Mohamed Boudra
6465edc01f
fix(server): restore microtask ordering in message dispatch and stream event handler
...
The complexity refactor added async dispatcher chains that inserted extra
microtasks before message handlers ran, and wrapped the stream event switch
in an await that fired between emitState and dispatchStream. Two tests
regressed on both counts. Route to the matching dispatcher synchronously
and skip the await when the stream handler has no async work.
2026-04-24 01:39:20 +07:00
Mohamed Boudra
94b6604d7a
chore(lint): parallelize more safe await-in-loop in server
2026-04-24 01:36:39 +07:00
Mohamed Boudra
cb6987b0a2
chore(lint): parallelize safe await-in-loop in server
2026-04-24 01:33:07 +07:00
Mohamed Boudra
339fc6b316
chore(lint): reduce cyclomatic complexity in server
2026-04-24 01:24:58 +07:00
Mohamed Boudra
6f131ad551
chore(lint): extract nested callbacks in server (max-nested-callbacks)
2026-04-23 23:58:58 +07:00