Repository navigation
Zpi v0.2.4
Zpi v0.2.4
This release improves the interactive terminal workflow with clipboard image attachments and responsive Markdown rendering, while tightening local diagnostics, extension-host compatibility checks, and unattended startup validation.
Highlights
- Interactive clipboard image attachments. Press
Ctrl+Vin the TUI to paste a PNG, JPEG, WebP, or GIF from the system clipboard. macOS reads the native pasteboard; Linux useswl-pasteon Wayland orxclipon X11. Clipboard helpers run with a restricted environment and bounded output; image reads are audited under the clipboard-read capability.imagePasteMaxBytesin user settings can lower the default 2 MiB limit. Pasted images are attached to the draft and sent with its text; startup--imageremains available for print-mode requests. - Responsive Markdown in the TUI. Pipe tables render with terminal-width columns, alignment, and wrapping, including CJK text; tables that cannot fit fall back to source text. Long fenced-code lines wrap while preserving indentation and highlighting. Session replay renders blocks at the current width. Print output and
/copyretain the original Markdown. - More useful doctor reports.
zpi doctor --trust-projectreports counts for project skills, prompt templates, and MCP entries, plus how many context files can be loaded. Doctor does not run MCP commands, project instructions, or user code. Project-context settings and explicit trust flags are documented more clearly. - Local provider preflight and clearer CLI guidance. In the default compatibility mode, startup prompts check provider/model configuration and credential availability before starting MCP or extension resources, without network access or OAuth refresh. The preflight does not reject a model merely because it is not in the local catalog. Custom endpoints can remain anonymous, and known authentication headers are recognized. Fork-session errors now state that
--fork-sessioncannot be combined with-p. - Capability-based pi SDK checks. The experimental TypeScript host and fixtures probe the SDK APIs they use instead of maintaining a coding-agent SDK version allowlist. The separate
pi-aiversion match and protocol checks remain in place; passing the probe is not a claim of full pi or extension compatibility. - Configuration and terminal integration. Settings can control the image-paste size limit and initial thinking/tool-output display. Interactive TUI lifecycle updates use OSC 7501, and startup validation preserves the explicit security requirements for unattended execution.
Validation
The Zig 0.17.0 build and Zig test suite passed locally. The local macOS arm64 release archive passed its smoke test and checksum verification. The full CLI integration and TypeScript-host fixtures also passed locally with pi SDK 1.7.0. The release workflow builds stripped binaries and publishes macOS arm64/x64 and Linux arm64/x64 glibc/musl archives with SHA-256 checksums. Platform release artifacts are produced by the tagged GitHub Actions workflow.