toolmark-monorepo / @toolmark/judge-typesafe / typesafeJudge
Function: typesafeJudge()
typesafeJudge(
o?):Judge
Defined in: packages/judge-typesafe/src/index.ts:144
The optional TypeSafe (Jev) lint judge (Task 4 brief): probabilistic checks for description quality, missing consequential/destructive hints and confusable tool pairs, run only when @toolmark/lint --judge loads this module (dev/CI, never bundled into an app).
Sends only the page's origin + pathname (no query, hash or userinfo), tool names, titles, descriptions and schema property paths/descriptions to api.typesafe.ai — never values, default, enum, examples, const or user data. Each page is bounded by pageTimeoutMs (one judge/timeout warning when it elapses) and each request is retried at most once. Install as a devDependency.
Parameters
o?
TypesafeJudgeOptions = {}
See TypesafeJudgeOptions. All thresholds and strictHints have defaults.