- Adjusted `run-vitest-unit-batches.mjs` to lower default batch size from 10 to 5 and enforce single-threaded execution for more predictable test behavior. - Updated GitHub workflows to align with new batch size defaults. - Introduced `waitForCondition` helper in unit tests to replace arbitrary delays with predicate-based waiting. - Refactored `useEdgeGatewayTerminal` for improved session handling, including idle delay for shell polling and cleanup of request queuing logic.