xiaoju
|
b2c379cbfd
|
refactor: reduce cognitive complexity in 3 functions
Extract helpers to bring all functions below biome's complexity threshold (15):
- store/log-store.ts: extract recordToRoundMessage() from parseRoundPayload()
- cli/commands/workflow.ts: extract buildTruncatedSingleRound() from buildThreadCommandOutput()
- daemon/workflow-worker.ts: extract validateRoleResult(), buildInitialLastSignal(),
initChain(), executeRole() from runThread()
小橘 🍊(NEKO Team)
|
2026-04-24 12:44:39 +00:00 |
|