Skip to content

build(deps): bump @earendil-works/pi-ai from 1.6.1 to 1.7.0 in /agents/pi - #80

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/agents/pi/earendil-works/pi-ai-1.7.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/agents/pi/earendil-works/pi-ai-1.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps @earendil-works/pi-ai from 1.6.1 to 1.7.0.

Release notes

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

v1.7.0

New Features

  • Terminal session resume: Compatible terminals can reopen the current pi session after a restart with its original profile, tool restrictions, and instructions.
  • Image generation in codemode: Generate images with Radius, or set the aspect ratio and size when using OpenRouter image models.
  • GitHub Copilot prompt caching: Changing the thinking level preserves the prompt cache on supported Claude 5.x and GPT-6 models. Supported Claude 5.x models also keep the cache when tools change, and Copilot Claude models support cache warming.

Breaking Changes

  • Removed telemetry reporting from pi for new installs and updates (/api/report-install), the enableInstallTelemetry setting (SettingsManager.getEnableInstallTelemetry() / setEnableInstallTelemetry()), and PI_TELEMETRY

Added

  • Added program resume through the Program Resume Protocol (OSC 7577): in terminals that set OSC7577_TOKEN, interactive mode reports pi --session <id> for the current session, so the terminal can bring it back after it restarts. Pi removes the token from the environment of every process it starts. See Terminal setup
  • Added optional { aspectRatio, size } as the third argument to codemode models.generateImages()
  • Added --agent-dir <dir>, the command-line form of PI_CODING_AGENT_DIR. The resume command pi prints on exit and reports through OSC 7577 now includes it when the config directory is not ~/.pi/agent. Without it, a session started with PI_CODING_AGENT_DIR came back with the default directory's settings and auth: a terminal resumes the command without the environment pi was started in. This is for setups that keep a separate pi profile per project, for example a shell function that sets PI_CODING_AGENT_DIR for one directory tree. Terminals that resume programs, such as Rex, need a rule that trusts the longer command; see Terminal setup
  • The OSC 7577 resume command now repeats the restriction and resource flags pi was started with (--tools, --no-extensions, -e, --skill, --system-prompt, and similar), as typed, so a terminal cannot resume a session with other tools or instructions, possibly more access, than it had. The command printed on exit is unchanged. A terminal rule must trust each flag combination; see Terminal setup
  • Added Radius image generation to codemode. Radius image and classifier models are now listed in the built-in catalog as well as through provider discovery

Changed

  • The default model for cloudflare-workers-ai and cloudflare-ai-gateway is now @cf/zai-org/glm-5.3, because Cloudflare deprecated Workers AI Kimi K2.6 and K2.7 Code
  • Changed the ant-ling default model from the retired Ring-2.6-1T to Ling-3.1-flash. Existing models.json files can keep thinkingFormat: "ant-ling" as a deprecated alias for "deepseek" (#11800 by @​lvisei)
  • Replaced the retired qwen4-max-preview with qwen4-max on Qwen Token Plan Individual
  • Preserved the GitHub Copilot prompt cache when changing thinking levels on supported Claude 5.x and GPT-6 models or changing tools on supported Claude 5.x models. Copilot Claude models now support cache warming, and GPT-5.3 Codex and MAI-Code receive mid-conversation system messages where they take effect (#12316)

Fixed

  • Fixed /llama "Download model" downloading the typed text instead of the highlighted result when the query looked like owner/repository and the user had moved the selection with the arrow keys (#12465)
  • Fixed key hints that named the wrong keybinding or a hardcoded key: the extension editor and session rename now name tui.input.submit, /hotkeys names tui.select.cancel for cancelling autocomplete, and the settings submenu, /config selector, session selector and fullscreen copy setting follow remapped keys
  • Fixed a console Ctrl+Break on Windows ending pi without restoring the terminal, which left the shell in the alternate screen with mouse reports typed into the prompt. A child process in the same console can send Ctrl+Break too. pi now shuts down normally on it (#12133)
  • Fixed print, JSON, and RPC modes not reporting an invalid models.json, so a typo such as "contextWindow": "32000" showed up only as Model "..." not found or No API key found. createAgentSessionServices() now returns the error as a warning in diagnostics, so every mode and SDK runtimes report it; interactive mode shows it as a warning instead of an error, as reported in #12522 (#12523 by @​acmerfight)
  • Fixed app.message.followUp (Alt+Enter) ignoring an open autocomplete menu and queuing the half-typed text. It now applies the selected suggestion like Enter: a completed command name is queued, and other completions are inserted without queuing
  • Fixed running ! commands showing the wrong cancel shortcut. The hint now names the configured app.interrupt key (#12518 by @​acmerfight)
  • Fixed !! commands counting toward the context estimate even though the model never sees them. Large outputs no longer trigger early compaction or crowd out recent history (#12513)
  • Fixed Kitty images disappearing in Konsole and regular mode clearing the screen and scrollback when an appended image extended past the bottom of the screen (#12548)
  • Fixed Amazon Bedrock Kimi K3.1 and GLM 5.3 ignoring the selected thinking level (#12462). Kimi K3 and K3.1 also no longer send earlier reasoning back to Bedrock, which could make later turns fail
  • Fixed GitHub Copilot models using openai-completions losing their reasoning state between turns (#12418)
  • Fixed codemode image generation reporting success for failed OpenRouter responses. Image and classifier usage now includes reasoning tokens when reported; image usage distinguishes image output tokens, and OpenRouter costs use the reported total or the model's image output rate when estimating
Changelog

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

[1.7.0] - 2026-11-27

Added

  • Added compat.supportsReasoningReplay to the bedrock-converse-stream API. When false, reasoning from earlier assistant messages is not sent back
  • Added aspectRatio and size to ImagesOptions, forwarded by openrouter-images to OpenRouter's image_config
  • Added the pi-image API (POST <baseUrl>/image), a common protocol for image models analogous to pi-messages and pi-decision
  • Added image model support to the radius provider: parses images[] from /v1/config into ImageModel<"pi-image">, persists/restores them offline, and wires generateImages()
  • Added Radius classifier and image models from the public /v1/config to the generated static catalog
  • Added Usage.imageOutput, the image output tokens as a subset of output. openrouter-images sets it from completion_tokens_details.image_tokens, and pi-image and pi-decision pass it through. It stays undefined when the provider does not report the split
  • Added cost.imageOutput, the image output rate of models that generate images. calculateCost() prices usage.imageOutput tokens at it and the rest of output at cost.output; without the provider's split, all output uses the image rate. Unset keeps pricing all output at cost.output

Changed

  • Changed Ant Ling to send thinking.type so thinking can be turned off. The old thinkingFormat: "ant-ling" setting remains accepted as a deprecated alias for "deepseek"
  • Qwen Token Plan Individual now lists qwen4-max instead of the retired qwen4-max-preview
  • Together drops its reasoning-effort overrides for openai/gpt-oss-20b, openai/gpt-oss-120b and deepseek-ai/DeepSeek-V4-Pro-0813, which the upstream catalog deprecated (they were skipped already); every listed Together reasoning model takes the Together thinking toggle
  • Changed the ant-ling provider to load its models from models.dev (bailing), replacing the retired Ling 2.6 and Ring 2.6 models with Ling 3.0 Tiny, Ling 3.0 Flash, Ling 3.0 Flash VL, Ling 3.1 Flash, and Ling 3.2 Flash. Thinking is either off or high (#11800 by @​lvisei)
  • Changed GitHub Copilot Claude and GPT-6 models to keep the prompt cache across thinking level and tool changes: Claude 5.x models that support it send effort changes and tool changes as messages in the conversation (supportsMidConvoEffort, supportsMidConvoToolChanges), GPT-6 models send effort changes as configuration_update items, and Claude models declare Anthropic's 5-minute and 1-hour cache lifetimes (promptCache), which enables cache warming for them. GPT-5.3 Codex and the MAI-Code models now receive system messages in place mid-conversation instead of folded into the system prompt, which they ignored there (#12316)

Fixed

  • Fixed Amazon Bedrock Kimi K3.1 and GLM 5.3 ignoring the selected thinking level: they always reasoned at max, offered minimal, and hid xhigh and max. Pi now offers the effort levels models.dev lists and sends them as reasoning_effort, with none for off on Kimi K3.1 (GLM 5.3 cannot turn thinking off). Bedrock models outside the Claude and GPT families now send reasoning_effort whenever their thinkingLevelMap maps the selected level (#12462)
  • Fixed Amazon Bedrock Kimi K3 and K3.1 multi-turn requests sending earlier reasoning back, which AWS documents as failing on Converse with InternalServerException. Earlier reasoning is no longer sent for these models
  • Fixed GitHub Copilot models on the openai-completions API losing their reasoning state between turns: Copilot's reasoning_opaque is now stored on the thinking block and sent back with reasoning_text, including when it arrives without reasoning text (#12418)
  • Fixed openrouter-images, pi-image and pi-decision usage dropping reasoning tokens: usage.reasoning is now set from OpenRouter's completion_tokens_details.reasoning_tokens and from the pi-image and pi-decision backends' usage.reasoning, as a subset of output
  • Fixed OpenRouter image models pricing image tokens at the text rate: the catalog took cost.output from OpenRouter's completion price and ignored image_output. The catalog now sets cost.imageOutput from image_output, and openrouter-images prices usage with calculateCost(), which also applies context tiers
  • Fixed openrouter-images reporting success when OpenRouter returned no choices, a provider error, or an unsuccessful finish reason. Image generation now also uses OpenRouter's reported cost when available
Commits
  • fb0fe82 Release v1.7.0
  • 1e7bc72 fix(ai): preserve the deprecated Ant Ling thinking format
  • ccda1f7 fix(ai): price image output tokens at the image rate
  • 5c0917b feat(ai): add Radius decision and image models to static catalog
  • a512c3f feat(ai): report image output tokens in usage
  • d02145c fix(ai): report reasoning tokens in image and decision usage
  • 0abe61b docs(ai): note Radius pi-image and pi-decision
  • 596540d fix(ai): check finish_reason and cost in openrouter-images
  • f7470d0 feat(ai): add image model support to Radius provider
  • 39bfcfc feat(ai): add pi-image API (#12535)
  • 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)

Bumps [@earendil-works/pi-ai](https://github.com/earendil-works/pi/tree/HEAD/packages/ai) from 1.6.1 to 1.7.0.
- [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/v1.7.0/packages/ai)

---
updated-dependencies:
- dependency-name: "@earendil-works/pi-ai"
  dependency-version: 1.7.0
  dependency-type: direct:production
  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 Nov 30, 2026
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.

1 participant