Packages

@earendil-works/pi-schema

1.6.0 · 20 Nov 2026MIT3.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @earendil-works/pi-schema From 0.0.0 to 1.5.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.0.0Latest1.6.0
  1. 0.0.0yours
  2. 1.5.0target

Before you upgrade

Tick each one off as you go
  • Breaking1.5.0
  • Breaking1.5.0

Security

  • Updated undici to 8.12.3 and the Gondolin extension example to 0.14.0 for security advisories

    1.5.0

Release by release

  1. 1.5.0

    Security fix2 Nov 202614 new · 71 fixes
    • Security

      Updated undici to 8.12.3 and the Gondolin extension example to 0.14.0 for security advisories

    • Breaking

      Tool argument validation runs on @earendil-works/pi-schema. TypeBox features outside JSON Schema (Type.Refine(), Type.BigInt(), Type.Undefined(), codecs, Format.Set() formats) no longer apply to tool arguments; see Tool parameter schemas and TypeBox. Plain JSON Schema tools, including MCP tools, now get the same coercion as TypeBox tools, such as converting numeric strings and wrapping a single value into an array. Validation failures the model sees list pi-schema's messages (- path: missing, - limit: expected number, got string) instead of TypeBox's (must have required properties path, must be number).

    • Breaking

      Removed the native OS sandbox/ extension example and its dependency. Use the Gondolin example or the containerization guide.

    • New

      Extension update changelogs: see what changed in installed extension packages on the next fresh launch after an update. Package authors can choose the changelog path, and collapseChangelog condenses the notices. See Show a changelog.

7 other lines we could not sort, mostly version bumps
  • Extensions keep importing Type, Static and TSchema from @earendil-works/pi-ai: Pi maps that import to pi-ai's compat entry plus the TypeBox it bundles, now that pi-ai itself no longer re-exports TypeBox, and its StringEnum there stays a TypeBox TUnsafe<T>. The built-in tool factories (createReadTool() and the others) return TypeBoxAgentTool<typeof schema>, which keeps params typed for TypeBox.

    1.5.0
  • Tightened system prompt

    1.5.0
  • pi update for installs from the pi.dev installer no longer passes --min-release-age=0 to npm ci. The release lockfile pins every package, so the flag had no effect, and security scanners that block it stopped the update

    1.5.0
  • /model and /scoped-models now show a model's name next to its ID when the name adds words the ID lacks, such as a renamed models.json override (#5916, #11347)

    1.5.0
  • MCP OAuth sign-in now uses pi's Client ID Metadata Document by default when the authorization server supports it for public clients, and registers a client dynamically otherwise, like Codex, Claude Code, and opencode. Clients registered before stay in use while their redirect URI matches. The new default oauth.clientRegistration: "auto" registers when clientName or a non-default callbackUrl is set; "dcr" always registers. pi mcp add --oauth-client-registration sets the mode

    1.5.0
  • Changed the default OpenAI model from gpt-5.5 to gpt-6.1-sol, including after ChatGPT sign-in when no model is selected

    1.5.0
  • Updated the built-in model catalog to models.dev v2. Realtime and image-only models are no longer offered as chat models; newer OpenAI and Google chat models are included

    1.5.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.