pi-commandcode-provider 0.5.0
Summary
pi-commandcode-provider 0.5.0 hardens model discovery, reasoning, request conversion, runtime diagnostics, and package integration.
Highlights
- Add model-specific reasoning metadata and forward supported Pi thinking levels as
reasoning_effort. - Add
/commandcode-refreshand/commandcode-statusfor safe catalog refreshes and redacted diagnostics. - Bound model discovery with a configurable timeout and validated cache fallback.
- Preserve complete tool JSON Schemas, including nested constraints, composition, and nullable forms.
- Normalize Command Code context-overflow errors so Pi can compact and retry.
- Reject unsupported image input explicitly instead of silently dropping it.
- Stop replaying completed assistant reasoning traces while preserving live Thinking, visible text, and completed tool calls.
- Use host-provided Pi core packages, refresh model pricing, and add isolated/authenticated launcher coverage.
- Fix cached input token accounting.
Contributors
- @IfkumRfnl — fixed cached input token accounting in #31.
Validation
npm testnpm run typechecknpm run format:checknpm audit --audit-level=moderate— 0 vulnerabilitiesnpm pack --dry-rungit diff --check- GitHub CI, CodeQL, Semgrep, Gitleaks, Dependency Review, lifecycle-script check, and memory benchmark
- Public-registry installation of
pi-commandcode-provider@0.5.0 - Authenticated public-package model discovery: 52 Command Code models
- Authenticated public-package backend prompt: exact response
public-release-ok
The real OMP process compatibility test remains skipped because omp is not installed on the validation host.