Summary
This update for pi-coding-agent fixes the following issues:
Changes in pi-coding-agent:
- Update to version 1.0.4 (1.0.3 was superseded the same day and
never submitted):
* BREAKING: provider azure-openai-responses renamed to azure,
now also serving Azure Foundry Chat Completions
(azure/deepseek-v4-pro first). Rename the provider key in
auth.json (or run /login again), models.json and
settings.json (defaultProvider, enabledModels and
modelThinkingLevels); sessions on the old provider fall back
and lose prompt cache. AZURE_OPENAI_* env vars unchanged
* --tools and --exclude-tools take *-patterns and --no-mcp
disables MCP for one run; --tools keeps MCP tools unless an
entry starts with mcp__
* Codemode read() on image files yields an image block image()
shows, and image() also saves each image to a temp file for
later turns
* Fix fenced-code highlighting past the first line, MCP OAuth
native-client registration, MCP shutdown racing a connecting
server, Bedrock stalled-stream retries and frozen codemode
built-ins, plus ChatGPT-login, EIO-on-closed-terminal and
output-file-permission fixes
* Many more fixes and improvements; see upstream's release notes
for the full list
- Refresh the vendored node_modules 1.0.2 -> 1.0.4: the ten
@earendil-works packages move to 1.0.4; nanoid, postcss and
vite move too but are dev-only and not shipped. Still 119
shipped modules and the licence union is unchanged
* CVE-2026-102276 (boo#1283188): brace-expansion is 5.0.12, above
the 5.0.10 fix floor, so the package is not affected by it
* CVE-2026-102277 (boo#1283392) and CVE-2026-102278
(boo#1283412): brace-expansion is 5.0.12, at the 5.0.12 and
above the 5.0.11 fix floors, so the package is not affected
by them
- Update to version 1.0.2: patch releases on the 1.0 API, with no
breaking changes
* models.json takes samplingParamsByThinkingLevel next to the
existing samplingParams, so an OpenAI-compatible model can set
temperature, top_p and the like separately for off, minimal, low,
medium, high, xhigh and max. Model defaults, the effective level's
override and the request are merged per key, modelOverrides merges
per level, and the levels are pi's own, not the provider's
thinkingLevelMap values. Only openai-completions, openai-responses
and azure-openai-responses apply them
* MCP servers can be enabled, disabled or re-scoped per project
from a .pi/mcp.json entry without a command or url, and /mcp
toggles a user-level server for the current project
* oauth.clientRegistration: "cimd" identifies pi by its Client ID
Metadata Document instead of dynamic client registration
* pi.registerToolRenderer() picks how calls to a tool that is not
registered yet are drawn, such as MCP tools in a resumed session
* Cloudflare's Clef and Clef Flash classifier models are usable
from codemode scripts and extensions
* A codemode script printing in a loop now fails at 16 Mi
characters or 100000 items instead of running pi out of memory
* MCP tool calls in resumed sessions and HTML exports no longer
render fully expanded until their server connects
* JPEG, GIF and WebP images that extensions draw through Image now
appear in Kitty, Ghostty, WezTerm and Warp, and fullscreen Kitty
images no longer collapse to a one-row strip after scrolling in
WezTerm
* Many more fixes and improvements; see upstream's release notes
for the full list
- Refresh the vendored node_modules over 1.0.0 -> 1.0.2: the ten
@earendil-works packages move to 1.0.2, with pi-telemetry the one
that was already at 1.0.2 in the 1.0.1 tree, plus
@anthropic-ai/sdk to 0.129.0. No module leaves or joins the 119
shipped ones and the licence union is unchanged
* CVE-2026-102276 (boo#1283188): brace-expansion is 5.0.12, above
the 5.0.10 fix floor, so the package is not affected by it.
Upstream's 1.0.1 made it a direct dependency, but this package
vendored 5.0.12 already at 1.0.0
* CVE-2026-102277 (boo#1283392) and CVE-2026-102278 (boo#1283412):
brace-expansion is 5.0.12, at the 5.0.12 and above the 5.0.11
fix floors, so the package is not affected by them
- Fix the %prep comment on Source10: upstream ships no shrinkwrap
since 1.0.1
- Update to version 1.0.0. This is a major release with breaking
behaviour changes, not a patch release:
* BREAKING: the interactive TUI runs fullscreen by default now,
so the terminal's normal scrollback is gone. Set tuiMode to
"regular" in the settings, or pass --tui-mode regular, for
the old behaviour
* BREAKING: MCP OAuth credentials are keyed by server name and
URL instead of by URL alone, so two servers behind one URL can
hold separate accounts. Credentials written by 0.99.x move to
the first server that reads them; other servers on the same
URL have to sign in again
* BREAKING: MCP sign-in enforces RFC 9207 and rejects an
authorization response whose iss names another authorization
server. A server advertising a wrong or missing one needs the
new oauth.authServerMetadataUrl setting
* BREAKING: --provider without --model fails now instead of
silently running another provider's default model
* BREAKING: codemode scripts have to probe for a tool with
"name" in tools; typeof tools.name no longer finds it, and
the codemode description carries one call line per tool
instead of the full declaration
* BREAKING: quietStartup also takes "header", which keeps the
version and key hints but hides the model scope line and the
loaded-resource listing
* Sign in with Radius from /login, which can set up the Radius
MCP server too, and with a copy code for Anthropic when the
browser runs on another machine
* Codemode scripts call models.generateImages() to run image
models with the session's credentials. Codemode needs about
40% fewer prompt
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | pi-coding-agent | 1.0.4-bp160.1.1 |
Vulnerabilities 11
-
High 7.5
brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCommaParts because parseCommaParts recursively processes the …
-
High 7.5
brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause expand_() to recurse once per nesting level at comma-member and single-set expansion sit…
-
High 7.4
undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool
undici's BalancedPool constructor passes its entire options object through an internal deep-clone that serializes and reparses the value as JSON. Because JSON cannot represent functions, any function-valued TLS option, such as a caller-supplied checkServerIde…
-
High 7.4
undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors
undici 8.10.0 omits the destination origin from the cache and request-deduplication keys when the cache or deduplicate interceptor is composed directly onto a Client or Pool. Because the internal cache key falls back to an empty origin string, a cacheable or …
-
Medium 6.5
undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches
undici's cache interceptor does not handle the Set-Cookie response header anywhere in its cache path, so it neither refuses to store nor strips that header. In shared cache mode, which is the default, an otherwise cacheable response that carries a Set-Cookie …
-
Medium 5.9
undici vulnerable to Denial of Service via unbounded decompression of compressed responses
undici's decompress interceptor decompresses response bodies according to the untrusted Content-Encoding header. While the number of content-encoding layers is capped, the total decompressed output size is unbounded and there is no configuration option to lim…
-
Medium 5.9
undici vulnerable to Denial of Service via WebSocketStream unclean close
undici's experimental WebSocketStream client crashes the whole Node.js process when a remote peer closes the TCP connection without a WebSocket close handshake. On an unclean close the internal socket-close handler calls abort on the writable stream unconditi…
-
Medium 5.9
undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression
undici bundles a WebSocket client whose permessage-deflate size-limit cleanup removes all listeners from the internal zlib inflate stream, including its error listener, while that stream can still emit. When a remote peer sends a compressed payload that cross…
-
Medium 5.3
brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan onc…
-
Low 3.7
undici vulnerable to response truncation via oversized chunked responses in the dump interceptor
undici's dump interceptor reads and discards a response body up to a configurable maximum size. When a response declares a Content-Length that exceeds the maximum, the interceptor aborts cleanly, but when a response has no Content-Length and is chunked, the i…
-
Low 3.7
undici vulnerable to caching and replay of unsafe HTTP method responses
undici's cache interceptor documents that only safe HTTP methods are cached, but its logic to skip caching is built by subtracting the configured methods from the set of safe methods, so an unsafe method such as POST, PUT, or DELETE is never placed in the ski…
References
-
report
https://bugzilla.suse.com/1279832
-
report
https://bugzilla.suse.com/1283188
-
report
https://bugzilla.suse.com/1283392
-
report
https://bugzilla.suse.com/1283412
-
web
https://www.suse.com/security/cve/CVE-2026-102276
-
web
https://www.suse.com/security/cve/CVE-2026-102277
-
web
https://www.suse.com/security/cve/CVE-2026-102278
-
web
https://www.suse.com/security/cve/CVE-2026-84890
-
web
https://www.suse.com/security/cve/CVE-2026-84933
-
web
https://www.suse.com/security/cve/CVE-2026-84947
-
web
https://www.suse.com/security/cve/CVE-2026-84961
-
web
https://www.suse.com/security/cve/CVE-2026-85008
-
web
https://www.suse.com/security/cve/CVE-2026-85014
-
web
https://www.suse.com/security/cve/CVE-2026-85024
-
web
https://www.suse.com/security/cve/CVE-2026-85152