Move typebox to runtime dependencies in package manifest #5

Closed
opened 2026-08-13 23:14:39 +00:00 by david · 0 comments
Owner

Problem: The root package.json declares typebox only as a peerDependency, but extensions/postgres, extensions/pr-comments, extensions/grillme, and forgejo/ all import it at runtime. It works today only because npm 7+ auto-installs peer deps — fragile for a distributed pi package (installed with production installs).

Fix: Move typebox from peerDependencies to dependencies in the root manifest and regenerate package-lock.json. @earendil-works/pi-coding-agent and @earendil-works/pi-tui stay as peers (provided by the pi runtime).

**Problem:** The root `package.json` declares `typebox` only as a `peerDependency`, but `extensions/postgres`, `extensions/pr-comments`, `extensions/grillme`, and `forgejo/` all import it at runtime. It works today only because npm 7+ auto-installs peer deps — fragile for a distributed pi package (installed with production installs). **Fix:** Move `typebox` from `peerDependencies` to `dependencies` in the root manifest and regenerate `package-lock.json`. `@earendil-works/pi-coding-agent` and `@earendil-works/pi-tui` stay as peers (provided by the pi runtime).
david closed this issue 2026-08-13 23:14:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
david/pi-extensions-and-skills#5
No description provided.