mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
What changed: - extracted shared readNodeErrnoCode helper in local daemon process control code - updated isProcessRunning and signalProcess to use the shared helper - added packages/cli/tests/18-local-daemon-utils.test.ts covering resolveTcpHostFromListen cases (numeric, host:port, unix sockets, empty/non-host) Why: - removes duplicated low-level error-shape branching and keeps errno handling consistent in one place - adds deterministic coverage for pure listen parsing logic without depending on daemon runtime state Accomplishments for next agent: - this area now has a focused utility test entry that runs fast and is independent of daemon availability - full workspace typecheck is clean after this change Challenges / notes for next agent: - packages/cli/tests/03-daemon.test.ts can be environment-sensitive when a daemon is already running (baseline in this workspace did not reliably represent daemon not running) - existing unstaged change remains in scripts/codex-refactor-loop.sh and was intentionally left untouched