Skip to content

build(deps-dev): bump @earendil-works/pi-ai from 0.79.8 to 0.80.2#97

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/earendil-works/pi-ai-0.80.2
Open

build(deps-dev): bump @earendil-works/pi-ai from 0.79.8 to 0.80.2#97
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/earendil-works/pi-ai-0.80.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 24, 2026

Copy link
Copy Markdown
Contributor

Bumps @earendil-works/pi-ai from 0.79.8 to 0.80.2.

Release notes

Sourced from @​earendil-works/pi-ai's releases.

v0.80.2

Changed

  • Changed inherited pi-ai ApiKeyCredential to use the auth.json-compatible discriminator type: "api_key" and provider-scoped env values instead of type: "api-key" and metadata.
  • Renamed the inherited agent-core public harness shell execution options type from ExecutionEnvExecOptions to ShellExecOptions.

Fixed

  • Fixed inherited Anthropic-compatible custom models to use explicit compatibility metadata instead of provider-name heuristics for session-affinity headers and unsupported tool-field omissions.
  • Fixed inherited request-scoped apiKey and env values to participate in provider auth resolution, so providers such as Cloudflare can derive request-specific base URLs from explicit call options (#6021).
  • Restored inherited temporary legacy per-API stream aliases such as streamSimpleOpenAICompletions on the pi-ai compat entrypoint (#6016, #6017).
  • Restored inherited runtime detectCompat fallback in openai-completions for models without explicit compat metadata (#6020).

v0.80.1

Fixed

  • Fixed inherited Amazon Bedrock scoped AWS_PROFILE endpoint resolution for built-in inference profile endpoints.
  • Fixed inherited Fireworks Anthropic-compatible requests to apply session-affinity and unsupported tool-field defaults for custom Fireworks models.
  • Fixed inherited Together MiniMax M2.7 metadata to avoid unsupported Together reasoning toggles.

v0.80.0

Changed

  • Added Ctrl+J as a default newline keybinding alongside Shift+Enter.
  • Renamed the displayed zai provider label to ZAI Coding Plan (Global) for clarity (#5965).
  • pi-ai's old global API (stream/complete/completeSimple, getModel/getModels/getProviders, registerApiProvider, getEnvApiKey, ...) moved off the @earendil-works/pi-ai root entrypoint to @earendil-works/pi-ai/compat. Extensions are not affected at runtime: the extension loader resolves the pi-ai root to the compat entrypoint (a strict superset), so existing extensions keep working unchanged. Extension sources that typecheck against pi-ai's published types should switch those imports to @earendil-works/pi-ai/compat (or migrate to the new createModels()/provider-factory API). The compat entrypoint and the loader alias will be removed in a future release with a migration guide.

Fixed

  • Fixed session names to normalize newline characters before storing or displaying labels (#5999 by @​haoqixu).
  • Fixed the session selector to order threaded session trees by the latest activity anywhere in each subtree (#5784 by @​Perlence).
  • Fixed extension-related crash and startup-failure reporting to suggest restarting with pi -ne.
  • Fixed inherited OpenAI Responses streams to fail before missing terminal events and fixed context usage and compaction estimates to ignore malformed all-zero assistant usage after truncated responses (#5526 by @​dmmulroy).
  • Fixed inherited OpenAI Codex Responses WebSocket sessions to reconnect once when OpenAI's connection limit is reached before output starts (#5973).
  • Fixed inherited Amazon Bedrock endpoint resolution to honor scoped AWS_PROFILE values.
  • Fixed inherited Cloudflare providers to require account/gateway configuration and route built-in compat calls through provider auth.
  • Fixed provider-scoped auth environment values to reach inherited Models/ImagesModels API calls and compat API-key injection.
  • Fixed inherited OpenCode Go GLM-5.2 metadata to expose xhigh reasoning and send the provider's max reasoning effort (#5967).
  • Fixed pi --resume to load user package themes and resolve automatic light/dark theme settings.
  • Fixed models.json custom providers so stored credentials can satisfy auth without a redundant provider-level apiKey (#5953).

Removed

  • Removed inherited selective-provider @earendil-works/pi-ai/base and @earendil-works/pi-agent-core/base entrypoints; use the root packages with explicit Models provider factories instead.

v0.79.10

New Features

  • Extension compaction event context - Extension session_before_compact and session_compact events now include reason and willRetry, so extensions can distinguish manual /compact, threshold auto-compaction, and overflow retry flows. See session_before_compact / session_compact and Custom Summarization via Extensions.
  • Safer update flow - pi update installs the exact checked Pi version, and update notices show the changelog URL, making upgrades more predictable. See Install and Manage.

... (truncated)

Changelog

Sourced from @​earendil-works/pi-ai's changelog.

[0.80.2] - 2026-06-23

Changed

  • Changed ApiKeyCredential to use the auth.json-compatible discriminator type: "api_key" and provider-scoped env values instead of type: "api-key" and metadata.

Fixed

  • Fixed Anthropic-compatible custom models to use explicit compatibility metadata instead of provider-name heuristics for session-affinity headers and unsupported tool-field omissions.
  • Fixed request-scoped apiKey and env values to participate in provider auth resolution, so providers such as Cloudflare can derive request-specific base URLs from explicit call options (#6021).
  • Restored temporary legacy per-API stream aliases such as streamSimpleOpenAICompletions on the compat entrypoint (#6016, #6017).
  • Restored runtime detectCompat fallback in openai-completions for models without explicit compat metadata (#6020).

[0.80.1] - 2026-06-23

Fixed

  • Fixed a regression in Amazon Bedrock scoped AWS_PROFILE endpoint resolution for built-in inference profile endpoints.
  • Fixed Fireworks Anthropic-compatible requests to apply session-affinity and unsupported tool-field defaults for custom Fireworks models.
  • Fixed Together MiniMax M2.7 metadata to avoid unsupported Together reasoning toggles.

[0.80.0] - 2026-06-23

Breaking Changes

  • The root entrypoint (@earendil-works/pi-ai) is now core-only and side-effect free. The old global API moved to the temporary @earendil-works/pi-ai/compat entrypoint, a strict superset of the root: switching a file's import path is the only migration step. Moved symbols include stream/complete/streamSimple/completeSimple, getModel/getModels/getProviders (now deprecated aliases of getBuiltinModel/getBuiltinModels/getBuiltinProviders from @earendil-works/pi-ai/providers/all), registerApiProvider/unregisterApiProviders/resetApiProviders/getApiProvider, getEnvApiKey/findEnvKeys, setBedrockProviderModule, the per-API lazy stream wrappers (anthropicMessagesApi, ...), and the image-generation API.
  • Renamed the Provider type to ProviderId. Provider now names the runtime provider interface (id, name, auth, model listing, stream behavior).
  • API implementation modules moved from src/providers/ to @earendil-works/pi-ai/api/*, renamed by API id (anthropic -> api/anthropic-messages, google -> api/google-generative-ai, mistral -> api/mistral-conversations, amazon-bedrock -> api/bedrock-converse-stream), each exporting exactly stream and streamSimple. The old per-impl export names (streamAnthropic, streamSimpleAnthropic, ...) and legacy raw API subpaths (./anthropic, ./google, ./openai-completions, ...) are gone; import raw API implementations through @earendil-works/pi-ai/api/*.
  • Removed the @earendil-works/pi-ai/base selective-provider entrypoint; use the root/core APIs with explicit createModels() collections and provider factories for isolated bundles.

Migration guide:

  • Read packages/ai/README.md in full for the new Models API, provider factories, auth configuration, image generation, and custom provider examples.

  • To keep the old global API temporarily, change imports from @earendil-works/pi-ai to @earendil-works/pi-ai/compat. The compat entrypoint preserves stream/complete, generated catalog reads, API registry helpers, env API-key helpers, lazy API wrappers, and image globals, but it will be removed in a future release.

  • To migrate to the new runtime, create a Models collection and call methods on it:

    import { builtinModels } from "@earendil-works/pi-ai/providers/all";
    const models = builtinModels();
    const model = models.getModel("anthropic", "claude-haiku-4-5");
    if (!model) throw new Error("model not found");
    const message = await models.complete(model, {
    messages: [{ role: "user", content: "Hello", timestamp: Date.now() }],
    });

  • For an isolated provider set, register provider factories explicitly:

... (truncated)

Commits
  • 0201806 Release v0.80.2
  • 9096d5f docs: update changelog entries
  • e1a2dc0 fix(ai): restore detectCompat runtime fallback in openai-completions
  • ef231c4 fix(ai): resolve request-scoped auth before provider calls
  • 04fce80 Merge remote-tracking branch 'origin/main'
  • 49fbe68 fix(ai): align api key credentials with auth json
  • 386d079 fix(ai): restore legacy compat stream aliases
  • 6184307 fix(ai): require explicit anthropic compat metadata
  • e000743 Add [Unreleased] section for next cycle
  • 1c4a9ba Release v0.80.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.


Summary by cubic

Upgrade dev dependency @earendil-works/pi-ai from 0.79.8 to 0.80.2 to pick up provider auth fixes and restored compat behavior. This release also moves the old global API off the root entrypoint; update imports if we use it.

  • Dependencies

    • Bump @earendil-works/pi-ai to 0.80.2.
    • Root entrypoint is now core-only; use @earendil-works/pi-ai/compat for the legacy global API or adopt the new Models API.
    • Auth updates: ApiKeyCredential uses type: "api_key" and provider-scoped env; request-scoped apiKey/env now resolve through provider auth.
    • Fixes include Anthropic-compat metadata, provider base-URL resolution (e.g., Cloudflare), legacy stream aliases, and detectCompat fallback.
  • Migration

    • If any code imports globals from @earendil-works/pi-ai, switch to @earendil-works/pi-ai/compat.
    • Prefer migrating to builtinModels() from @earendil-works/pi-ai/providers/all and the Models API.

Written for commit 7c29b7b. Summary will update on new commits.

Review in cubic

Bumps [@earendil-works/pi-ai](https://github.com/earendil-works/pi/tree/HEAD/packages/ai) from 0.79.8 to 0.80.2.
- [Release notes](https://github.com/earendil-works/pi/releases)
- [Changelog](https://github.com/earendil-works/pi/blob/main/packages/ai/CHANGELOG.md)
- [Commits](https://github.com/earendil-works/pi/commits/v0.80.2/packages/ai)

---
updated-dependencies:
- dependency-name: "@earendil-works/pi-ai"
  dependency-version: 0.80.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 24, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​earendil-works/​pi-ai@​0.80.28110010098100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants