summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-24 02:04:46 +0900
committerAdam Malczewski <[email protected]>2026-06-24 02:04:46 +0900
commit41ca91a959ae245e76e50f1b55c8b21592bc6c50 (patch)
tree289be7c0df654e75b6bc7552dd38bf0b9bda852d /packages/kernel/src
parent3a688edee373cbbc291a149e50e1d2802e2e29a4 (diff)
downloaddispatch-41ca91a959ae245e76e50f1b55c8b21592bc6c50.tar.gz
dispatch-41ca91a959ae245e76e50f1b55c8b21592bc6c50.zip
feat(system-prompt): rich system:os with WSL detection + Linux distro
system:os now returns a descriptive string instead of the raw platform: - Linux: reads /etc/os-release for distro name (PRETTY_NAME or NAME+VERSION_ID) - WSL detection: checks /proc/sys/fs/binfmt_misc/WSLInterop or 'microsoft' in /proc/version — appends (WSL) to the distro string - Non-Linux: returns process.platform as-is (darwin, win32, etc.) Examples: 'Ubuntu 22.04 LTS', 'Ubuntu 22.04 LTS (WSL)', 'Debian 12', 'Linux (WSL)', 'darwin'. All file reads use injected fs adapters (testable). 7 new resolver tests. 1403 vitest pass. FE CR-9.
Diffstat (limited to 'packages/kernel/src')
0 files changed, 0 insertions, 0 deletions