diff options
| author | Aman Kumar <145339995+amankumarsingh77@users.noreply.github.com> | 2026-10-11 23:33:25 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-11 23:33:25 +0530 |
| commit | 0fe64593bcc3379032840b35833ea39f23aa9322 (patch) | |
| tree | f01055f53a8a3d92a244b7fc7ecb0b88b6bf252b /scripts | |
| parent | 7833e2ecd5dc5fd9d7e63322680711d341d885ee (diff) | |
fix(daemon): stop importing typebox in the daemon process (#38)
pi installs packages with dev and peer dependencies omitted and supplies typebox only to the
extension host. The daemon is a separate Node process whose import graph reached typebox via
src/cdp/discovery.ts, so from a pi-managed install it crashed with "Cannot find module 'typebox'"
before binding its socket. Parse /json/version with the package's own guards, and add a test that
keeps every package reachable from the daemon a runtime dependency.
Fixes #34
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
