Commit Graph
38 Commits
Author SHA1 Message Date
Patrick Wozniak 804ba5862e docs(core): document Command Code CLI parity 2026-08-25 15:54:37 +02:00
Patrick Wozniak c3a383447c ci(models): open PRs for Command Code catalog updates 2026-08-25 15:08:29 +02:00
Patrick Wozniak f23863d326 ci(models): check Command Code metadata daily 2026-08-25 14:14:44 +02:00
Patrick Wozniak 003d571b5e fix(models): refresh Command Code capabilities 2026-08-25 14:12:00 +02:00
Patrick Wozniak 63dd92da09 Merge remote-tracking branch 'origin/main' into review/pr-52
# Conflicts:
#	CHANGELOG.md
2026-08-25 13:33:55 +02:00
Patrick WozniakandGitHub fdd614c62b Merge branch 'main' into main 2026-08-25 13:04:06 +02:00
Thomas Byr 45565a883f feat(models): add GLM-5.3 pricing and reasoning levels 2026-08-22 23:24:49 +02:00
José Galliano 307714b051 feat(quota): add live commandcode-quota dashboard and OMP auth fix
Fetches live account quota from Command Code alpha usage endpoints
(whoami, billing/credits, billing/subscriptions, usage/summary) and
renders a plain-text dashboard via ui.notify.

- Graceful degradation: optional endpoint transport/timeout/parse
  failures degrade to null sections instead of aborting; only 401/403
  are hard failures. 429 is transient, not fatal.
- Overall deadline bounds the whole command to QUOTA_TIMEOUT_MS
  (per-request controllers are chained; post-deadline phases fail fast).
- OMP auth: filter unresolved $COMMANDCODE_API_KEY placeholder and fall
  back to the host resolver via pickCommandCodeApiKey.
- ZDR privacy header respected on quota requests.
- Redaction reuses redactCommandCodeErrorText plus JSON-quoted
  credential fields; outer-catch errors are redacted too.
- resetAt parsed from seconds, ms, numeric string, or ISO string.
- 21 hermetic unit tests wired into npm test (test:quota).
2026-08-21 11:21:25 -06:00
Omar Iqbal Naru 0d6202aec7 docs(release): note omp custom api registration fix 2026-08-21 19:42:14 +05:00
Patrick Wozniak f07ece7731 docs(api): document provider follow-up fixes 2026-08-20 00:13:56 +02:00
Patrick Wozniak 33c405c060 docs(tests): document live account credentials 2026-08-18 17:20:51 +02:00
Patrick Wozniak 9103272217 docs(api): explain automatic transport selection 2026-08-18 12:11:47 +02:00
Patrick Wozniak 864538e146 fix(ci): satisfy provider audit checks 2026-08-18 11:01:12 +02:00
Patrick Wozniak c04f3907b5 docs(api): document provider api migration 2026-08-18 10:56:12 +02:00
Patrick WozniakandGitHub c4d25d1db1 chore(release): publish 0.5.1 (#44) 2026-08-11 00:31:51 +02:00
Patrick WozniakandGitHub a367aed63c feat(models): add vision input capabilities (#43) 2026-08-11 00:28:03 +02:00
Patrick WozniakandGitHub 4b6e1cd85a chore(release): publish 0.5.0 (#41) 2026-08-07 17:23:47 +02:00
Patrick Wozniak ea55ead662 fix(stream): omit prior reasoning from request history 2026-08-07 16:39:18 +02:00
Patrick Wozniak af2a4d1759 test(tests): add provider hardening end-to-end coverage 2026-08-07 14:06:36 +02:00
Patrick Wozniak 62e51ee9f5 Merge main into feat/isolated-pi-launcher 2026-08-07 10:02:22 +02:00
Patrick Wozniak b100d553c1 feat(tests): add isolated pi launchers 2026-08-07 09:55:02 +02:00
Patrick Wozniak 947915df55 fix(models): refresh model pricing 2026-08-04 13:46:26 +02:00
Patrick Wozniak 877a3003b1 perf(deps): remove local pi-ai runtime copy 2026-08-04 02:13:06 +02:00
Patrick Wozniak 1579bfd4be fix(deps): use host-provided pi core packages 2026-08-04 02:13:06 +02:00
IfkumRfnl 69ba0da305 fix(stream): correct cached input accounting 2026-08-03 05:49:31 +00:00
Patrick WozniakandGitHub 3f734bc280 chore(release): publish 0.4.3 (#29)
Ship the offline model-catalog cache so pi can start when Command Code
model discovery is unavailable.
2026-08-02 13:20:15 +02:00
Patrick Wozniak 070ef3c07a fix(models): cache catalog for offline startup
Persist the last valid Command Code model catalog and use it when live model discovery fails. Keep first-time offline startup non-fatal, surface clear warnings, and cover cached model selection with unit and pi integration regression tests.
2026-08-02 01:16:39 +02:00
K2 811f908918 fix: allow extension to load when offline
The model fetch at startup throws and blocks pi from starting when
there's no network. Catch the error and register the provider with
an empty model list instead.
2026-07-23 11:19:04 +01:00
Patrick WozniakandGitHub 64d538a910 chore(release): publish 0.4.2
Release pi-commandcode-provider 0.4.2.
2026-07-05 03:13:30 +02:00
Patrick WozniakandGitHub e123e84116 fix(omp): avoid unsupported calculateCost import
Fix OMP installation by removing the unsupported calculateCost runtime import from pi-ai.
2026-07-05 03:10:02 +02:00
Patrick WozniakandGitHub 0f6fc17816 docs(release): document deployment process
Add a release/deployment skill and record contributors in the 0.4.1 changelog.
2026-06-16 16:35:25 +02:00
Patrick WozniakandGitHub c602e00da5 chore(release): publish 0.4.1
Bump package version to 0.4.1 and update the changelog.
2026-06-16 16:19:35 +02:00
Patrick WozniakandGitHub 6aac2bdbcf chore(release): publish 0.4.0 2026-06-02 10:44:39 +02:00
jizhejiang c3107dbc1c feat(core): add retry for transient HTTP and stream-level errors
Add retry mechanism driven by pi settings.json retry.provider config
(timeoutMs, maxRetries, maxRetryDelayMs).

HTTP-level retries handle 429/5xx with exponential backoff and jitter,
respecting Retry-After headers (seconds and HTTP-date formats).

Stream-level retries handle cases where the API returns 200 OK but
sends an error event in the stream body. Retries only when no content
has been emitted yet.

Per-attempt timeout via AbortController with automatic retry. Clean
abort propagation through the retry loop.
2026-06-02 11:38:10 +08:00
Patrick WozniakandGitHub f48291f252 chore(release): publish 0.3.1 (#11)
* chore(release): publish 0.3.1

* docs(release): document branch-protected PR workflow
2026-05-29 00:20:16 +02:00
Patrick Wozniak 41fb9486af Release 0.3.0 2026-05-28 22:31:09 +02:00
Fei Yan 93864879b2 docs: add 0.2.0 changelog entry and pricing section to README
Document the incremental reasoning-delta streaming, live display pricing,
and dynamic model fetch in CHANGELOG.md. Add a Pricing section to
README.md explaining the MODEL_COSTS overlay and how to update prices.
2026-05-27 07:32:50 +08:00
Patrick Wozniak cc05faa526 Release 0.1.1 2026-05-26 23:05:21 +02:00