hn.today

Pi v1.0.0

github.com12 points2 comments
Screenshot of Pi v1.0.0

This release announces a 1.0.0 milestone that focuses on usability, security, and efficiency. The terminal UI now defaults to fullscreen (with an option for regular mode) and offers a quieter startup header. Codemode was substantially slimmed down - about 40% fewer prompt tokens (example: a GPT-5.6 request falling from ~5,300 to ~3,300 tokens) and leaner tool and system prompts - while adding clearer recovery guidance when scripts or API calls are wrong. Image generation is available in codemode via models.generateImages(), which returns base64 image blocks and counts toward session usage; extensions can call ctx.modelRegistry.generateImages(). Authentication gains include a top-level "Sign in with Radius" flow that can configure MCP servers, a copy-code login for Anthropic headless setups, per-server OAuth credential storage, and a configurable oauth.authServerMetadataUrl to handle misadvertised or missing OAuth metadata.

A long list of fixes and refinements improves robustness and polish: MCP OAuth now enforces RFC 9207 iss checks and tolerates empty/null optional fields, sign-in URLs are clickable when wrapped, provider/model mismatches now error instead of falling back silently, repeated insufficient_scope prompts are fixed, and transcripts no longer duplicate rendered lines. Visual and performance bugs were addressed (startup logo rendering, color/palette issues, fullscreen selection bleed, slash autocompletion, deferred MCP tool restoration, and reduced per-message memory retention), making this release a targeted set of UX, security, and resource-use improvements.

Read on github.com2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.