Commit Graph
174 Commits
Author SHA1 Message Date
Patrick Wozniak f17cec0eee fix(pricing): refresh catalog pricing snapshot
Verify display pricing against the official pricing page and the live
provider model list:

- add claude-fable-5-1 and deepseek/deepseek-v4-flash-fast
- remove minimax/minimax-m3-free and minimax/minimax-m2.7-free, which the
  provider no longer lists
- end the claude-sonnet-5 introductory window; the listed rate is unchanged
- google/gemini-3.7-flash returns to list price after the promotion ended
2026-09-01 23:29:16 +02:00
Patrick Wozniak b6e0e07c01 feat(models): sync model catalog with command-code@1.40.1
Add claude-fable-5-1, deepseek/deepseek-v4-flash-fast, and
tencent/hy4-preview with their reasoning efforts, add moonshotai/Kimi-K3
efforts, and drop minimax/minimax-m3-free, which the CLI no longer lists.
2026-09-01 23:29:16 +02:00
Patrick Wozniak 4d515c0d6b test(models): assert catalog invariants instead of pinned model ids
The model catalog tests hard-coded specific model ids, the reasoning model
count, and output limits from command-code@1.32.2. Every upstream catalog
sync broke them, which made the daily catalog sync workflow fail before it
could open its PR.

Assert structural invariants over the generated catalog instead: image
models resolve to text+image, every effort entry has a reasoning flag,
reasoning without efforts yields an empty level map, output limits are
positive integers and clamp to the context length.

Closes #67

(cherry picked from commit 458e3a57892bb625a78fb5ded092627ba3cf2867)
2026-09-01 23:28:06 +02:00
Patrick Wozniak 09faff6e6e Merge pull request #66 from ThomasByr/feat/refresh-model-catalog-skill
chore(QoL): refresh model catalog skill

# Conflicts:
#	CHANGELOG.md
2026-09-01 23:27:40 +02:00
Patrick Wozniak 090d5e5310 Merge pull request #65 from ThomasByr/main
feat(models): add GLM5.3-Flash and Qwen3.8-Flash

# Conflicts:
#	CHANGELOG.md
2026-09-01 23:27:37 +02:00
Patrick Wozniak 711b342ddd Merge pull request #48 from warc0s/fix/omp-developer-messages
fix(core): preserve developer messages
2026-09-01 23:27:26 +02:00
Patrick WozniakandGitHub 0acf311774 Merge pull request #62 from jagaliano/feat/commandcode-quota
Display monthly quota renewal date
2026-09-01 22:57:53 +02:00
Thomas Byr 8b5e4d78ba feat(models): add refresh-model-catalog skill
Add an agent skill that walks through a full model catalog refresh: drift
detection, catalog sync, manually reviewed pricing updates, fixture
refresh, and test updates. Its helper scripts run on Windows and Linux:
one snapshots the live model-id list into the test fixture, the other
regenerates the pricing fixture from MODEL_COSTS through prettier so
format:check stays green. Typecheck now covers the skill scripts.
2026-08-28 17:00:39 +02:00
Thomas Byr 425483e0e1 fix(models): spawn npm through the shell on Windows
execFile cannot spawn npm's .cmd shim directly on Windows, so the catalog
sync and drift check failed with spawn npm ENOENT. Route npm invocations
through the shell with argument quoting on Windows and keep direct
execFile calls elsewhere.
2026-08-28 17:00:29 +02:00
Thomas Byr 9945a67bae docs(changelog): document new models and pricing refresh 2026-08-28 16:41:32 +02:00
Thomas Byr 21a2c05185 feat(pricing): refresh catalog pricing snapshot
Add the free minimax/minimax-m3-free and minimax/minimax-m2.7-free
promotional variants (free through September 5, 2026) and
tencent/hy4-preview, drop the retired stealth/ox-alpha, and refresh the
model-id and pricing snapshots to the current 62-model catalog verified
on 2026-08-28.
2026-08-28 16:41:15 +02:00
Thomas Byr b267241e33 feat(pricing): add display pricing for Qwen 3.8 Flash and GLM 5.3 Flash
Qwen/Qwen3.8-Flash lists $0.16 input, $0.47 output, and $0.016 cache read
per million tokens, and z-ai/glm-5.3-flash lists $0.15, $0.50, and $0.03;
the official pricing page documents no cache-write rate for either model.
2026-08-28 16:40:49 +02:00
Thomas Byr 5ac0dbeedd feat(models): add Qwen 3.8 Flash and GLM 5.3 Flash
Synchronize the static model catalog with command-code@1.36.0, which adds
Qwen/Qwen3.8-Flash (reasoning efforts low, medium, xhigh) and
z-ai/glm-5.3-flash (low, high, max), the free minimax/minimax-m3-free
model, and the glm-5.3-flash output limit, and drops the retired
stealth/ox-alpha.
2026-08-28 16:38:25 +02:00
José Antonio Galiano Sandoval d60934ebdc feat(core): display quota renewal date
Render subscription renewal dates and countdowns in quota output, normalize numeric period-end timestamps, and cover UTC and edge-case behavior.
2026-08-26 09:50:18 -06:00
warc0s 08a7e38089 merge main (0.6.0) into fix/omp-developer-messages
Align the developer-message fix with the Provider API transport router.
The fix stays scoped to the legacy /alpha/generate converter, and the
OMP advisory compat test now forces the upgrade_required fallback so the
advisory is asserted on the generate request body.
2026-08-25 22:52:02 +02:00
Patrick WozniakandGitHub 6f367515d8 Merge pull request #61 from patlux/release/0.6.0
Release package and GitHub Release are live and verified before merge.
2026-08-25 18:17:59 +02:00
Patrick Wozniak f2bfb38996 chore(release): prepare 0.6.0 2026-08-25 18:06:46 +02:00
Patrick WozniakandGitHub b6f84b0eda Merge pull request #60 from patlux/fix/text-model-image-history
fix(core): omit historical images for text models
2026-08-25 17:49:29 +02:00
Patrick Wozniak 45281d693e fix(core): omit historical images for text models 2026-08-25 17:46:41 +02:00
Patrick WozniakandGitHub b6550918ba Merge pull request #59 from patlux/fix/tool-call-streaming
fix(stream): forward incremental tool-call arguments
2026-08-25 17:20:49 +02:00
Patrick Wozniak 98ed83fc9c merge main into fix/tool-call-streaming 2026-08-25 17:18:02 +02:00
Patrick WozniakandGitHub ff922d0cb3 Merge pull request #58 from patlux/fix/commandcode-cli-parity-complete
fix(core): align provider with Command Code CLI 1.32.2
2026-08-25 16:58:58 +02:00
Patrick Wozniak a624643d90 fix(stream): forward incremental tool-call arguments 2026-08-25 16:58:29 +02:00
Patrick Wozniak ad307c93fd fix(stream): remove redundant completion guard 2026-08-25 16:56:19 +02:00
Patrick Wozniak dceec74e35 style(ci): keep semgrep config focused 2026-08-25 16:41:23 +02:00
Patrick Wozniak f8976adb11 ci(security): allow documented Command Code env vars 2026-08-25 16:40:45 +02:00
Patrick Wozniak cee0d7cc96 test(e2e): cover live Go and GOAT accounts 2026-08-25 16:37:24 +02:00
Patrick Wozniak 804ba5862e docs(core): document Command Code CLI parity 2026-08-25 15:54:37 +02:00
Patrick Wozniak 6a7a71e206 fix(auth): support official Command Code environment names 2026-08-25 15:54:29 +02:00
Patrick Wozniak c51a790530 fix(stream): match Command Code CLI transport behavior 2026-08-25 15:54:18 +02:00
Patrick Wozniak 349e50f829 fix(models): align Command Code catalog metadata 2026-08-25 15:54:09 +02:00
Patrick WozniakandGitHub e26e06c582 Merge pull request #57 from patlux/fix/model-capabilities-1.32.2
fix(models): refresh Command Code capabilities
2026-08-25 15:14:00 +02:00
Patrick Wozniak 41e98a1d67 fix(models): keep generated sync scope reviewable 2026-08-25 15:09:54 +02:00
Patrick Wozniak c3a383447c ci(models): open PRs for Command Code catalog updates 2026-08-25 15:08:29 +02:00
Patrick Wozniak 3d8758fe3b feat(models): generate Command Code catalog snapshot 2026-08-25 15:08:22 +02:00
Patrick Wozniak ef5d723182 Revert "ci(models): limit metadata check to scheduled runs"
This reverts commit af5c41aaa1.
2026-08-25 14:48:29 +02:00
Patrick Wozniak af5c41aaa1 ci(models): limit metadata check to scheduled runs 2026-08-25 14:48:03 +02:00
Patrick Wozniak 7ed38d5f70 ci(models): run metadata check on pull requests 2026-08-25 14:43:46 +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 WozniakandGitHub c27e7fbc80 Merge pull request #56 from newCman1/fix/deepseek-vision-image-support
fix(models): add image support for deepseek/deepseek-v4-flash-vision-exp
2026-08-25 13:57:59 +02:00
Patrick Wozniak f5e2fece8c test(models): fix DeepSeek vision regressions 2026-08-25 13:54:33 +02:00
Patrick Wozniak d149c1f790 Merge remote-tracking branch 'origin/main' into review/pr-56 2026-08-25 13:53:48 +02:00
Patrick WozniakandGitHub aa94552afb Merge pull request #52 from jagaliano/feat/commandcode-quota
feat(quota): add live in-place quota dashboard and fix OMP auth
2026-08-25 13:42:26 +02:00
laijxa d14c2f0feb fix(models): add image support for deepseek-v4-flash-vision-exp
deepseek/deepseek-v4-flash-vision-exp is served by the Provider API but was
missing from the hardcoded MODEL_INPUT_MODALITIES allowlist, so pi rejected
any conversation containing an image block. Notably this also rejected images
returned by the read tool via toolResult:

  Error: Selected Command Code model does not support image content in tool results

Adding the allowlist entry lets modelSupportsImageInput() return true and the
converters forward images using the current Command Code wire format.

Coverage:
- regression test for modelSupportsImageInput("deepseek/deepseek-v4-flash-vision-exp")
- end-to-end stream test for a tool-result image forwarded as a following user
  image (the concrete read reproduction), not only a user-attached image
- end-to-end stream test asserting a text-only model still rejects tool-result
  images before any network access

Refs: https://github.com/patlux/pi-commandcode-provider/issues/54
2026-08-25 19:42:10 +08:00
Patrick Wozniak 96356698fa fix(quota): harden dashboard integration 2026-08-25 13:34:54 +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 dc515e85b6 Merge pull request #55 from ThomasByr/main
feat(models): add GLM-5.3 pricing and reasoning levels
2026-08-25 13:06:59 +02:00
Patrick WozniakandGitHub fdd614c62b Merge branch 'main' into main 2026-08-25 13:04:06 +02:00
Patrick WozniakandGitHub fd82875df2 Merge pull request #53 from omariqbalnaru/fix/omp-custom-api-registration
fix(core): register custom api under non-reserved name for omp 17.4.0
2026-08-25 13:02:32 +02:00