3.9 KiB
3.9 KiB
Changelog
Unreleased
- Add repository commands for testing the current checkout either in a logged-out, automatically cleaned-up pi environment or with existing credentials and only Command Code models enabled.
- Use the host-provided
pi-aiandpi-coding-agentcore packages instead of installing private runtime copies, including for local and out-of-store development checkouts.
0.4.4 - 2026-08-03
- Fix cached input tokens being counted twice.
0.4.3 - 2026-08-02
- Allow pi to start when model discovery is unavailable. The provider now caches the last successfully fetched model catalog so previously discovered Command Code models remain selectable offline; a first offline start without a cache keeps Command Code unavailable until
/reloadsucceeds.
Contributors
- @k3-2o — reported that the model-list fetch blocked pi startup when offline.
0.4.2 - 2026-07-05
- Fix Oh My Pi extension validation by avoiding the missing
calculateCostexport from OMP's legacypi-aishim. - Add a regression test that locks the local Command Code cost calculation to pi-ai's upstream
calculateCostbehavior.
Contributors
- @CoderTCY — reported the Oh My Pi installation failure.
0.4.1 - 2026-06-16
- Use the explicit
$COMMANDCODE_API_KEYprovider registration syntax expected by newer pi versions, removing the startup deprecation warning while keeping legacy placeholder compatibility. - Refresh development dependency lockfile entries to resolve npm audit findings for
tsx/esbuildandprotobufjs.
Contributors
- @plumj-am — fixed the pi provider
apiKeydeprecation warning. - @cad0p — reported retry/deprecation-related issues that helped validate the current behavior.
- @bl4zee1g — reported provider availability concerns that prompted additional local/live validation.
0.4.0 - 2026-06-02
- Add retry mechanism for transient HTTP errors (429, 5xx) and stream-level errors, configurable via pi
settings.jsonretry.providerfields (timeoutMs,maxRetries,maxRetryDelayMs). Supports exponential backoff with jitter andRetry-Afterheader.
0.3.1 - 2026-05-29
- Bump CLI version header to
0.29.0for Command Code API parity. - Harden PR security pipeline CI configuration.
0.3.0 - 2026-05-28
- Add OMP (Oh My Pi) provider compatibility: support
~/.omp/agent/auth.jsonauth path, handle OMP's env-var-name-as-apiKey quirk, convert OMP system prompt arrays to text. - Close open thinking blocks before starting text or tool output to prevent event ordering issues when upstream omits
reasoning-end. - Correct DeepSeek V4 Pro discount as permanent (no expiry), not time-limited.
- Correct DeepSeek V4 Flash cache-read rate to $0.028/M and add xiaomi/mimo models to pricing table.
- Upgrade pi dependencies from
@mariozechner0.72.0 to@earendil-works0.75.5. - Move
pi-coding-agentto optional peerDependencies.
0.2.0 - 2026-05-27
- Stream
reasoning-deltaevents incrementally instead of buffering the full thinking block untilreasoning-end. Emitsthinking_start,thinking_delta, andthinking_endevents as they arrive so the UI can show reasoning in real time. - Close open text blocks on
reasoning-startandreasoning-deltaso thinking and text never overlap in the output. - Add live display pricing (
MODEL_COSTS) for known Command Code models. Cost falls back to zero for models not yet in the price table until the Provider API exposes pricing directly. - Fetch models from the Command Code Provider API at startup (inherited from upstream 0.1.1) and overlay the static cost table.
0.1.1 - 2026-05-26
- Align Command Code generate requests with CLI
0.27.2headers and payload shape. - Support official Command Code CLI auth files using the
command-codecredential key. - Handle
reasoning-startand ignore streamedtool-resultevents. - Cap generated
max_tokensby the selected model and the Command Code output limit.
0.1.0 - 2026-05-05
- Initial public release.