fix(#3022): suppress spurious typebox fallback warning on Pi startup (#3111)

* fix(#3022): suppress spurious typebox fallback warning on Pi startup

The Pi adapter's buildGsdInvokeParameters attempts require('typebox') and
falls back to a plain JSON-Schema object when it's unavailable (typebox is
NOT a gsd-core dependency). The fallback is the normal, expected path —
typebox is never installed in a Pi extension context. But the code emitted
a process.stderr.write warning on every startup, alarming users.

Removed the warning; the catch comment now explains the fallback is normal.

* chore(#3022): backfill changeset PR number 3111

---------

Co-authored-by: sim <sim@local>
This commit is contained in:
Tom Boucher
2026-08-06 04:51:21 -04:00
committed by GitHub
parent 10da377794
commit d39072b637
2 changed files with 8 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3111
---
**Pi no longer emits a `typebox unavailable` warning at every startup** — the warning fired because the Pi adapter attempts to `require('typebox')` (not a gsd-core dependency) and falls back to a plain JSON-Schema object on every startup. The fallback is the normal path; the warning is now suppressed. (#3022)