Commit Graph

1646 Commits

Author SHA1 Message Date
Mario Zechner c23b58a6d8 feat(ai): update generated image models 2026-07-21 14:51:14 +02:00
Mario Zechner c901d9a877 docs: audit unreleased changelogs 2026-07-21 14:47:00 +02:00
Armin Ronacher 54fad505b9 fix(coding-agent): prefer newer generated model catalogs 2026-07-21 11:11:08 +02:00
David Brailovsky 890b3547af run generate-models
fixes #6891
2026-07-21 07:48:27 +00:00
Armin Ronacher c8c3cd499f fix(ai): validate generated model data before builds 2026-07-20 22:29:06 +02:00
Armin Ronacher 3a40794ea1 feat(ai): regenerate models 2026-07-20 17:19:40 +02:00
Mario Zechner f8b74a4507 fix: complete extension usage accounting
closes #6509
2026-07-20 17:06:22 +02:00
David Brailovsky 2fd3868401 add usage info to branch summary, compaction and tool result entries (#6671)
* add usage info to branch summary entries

* add usage to compaction entries

* allow custom tools to report llm usage in tool results

* allow observing and patching usage in tool_result hooks

* agent-harness: save usage in entries

for compaction, branch summaries and tool results
2026-07-20 16:41:43 +02:00
Cristina Poncela Cubeiro 1942b2600f fix: env section ignored (#6864) 2026-07-20 16:20:49 +02:00
Mario Zechner 13437ca828 fix(ai): normalize Kimi K2.7 to the canonical coding model
Treat the models.dev k2p7 entry as an alias for kimi-for-coding and regenerate provider catalogs. This restores consistency between generated model types and values and unblocks repository type checks.
2026-07-20 14:04:21 +02:00
QuintinShaw bbb91fa8ae feat(ai): add Qwen Token Plan as built-in provider (#6858)
Add Alibaba Cloud Model Studio Token Plan subscription service as two
built-in API-key providers: qwen-token-plan (international, Singapore)
and qwen-token-plan-cn (China, Beijing).

Each provider exposes 15 text-generation models (Qwen, DeepSeek, GLM,
Kimi, MiniMax) via the OpenAI-compatible endpoint with DashScope
enable_thinking support. Model metadata is sourced from models.dev;
qwen3.8-max-preview is hardcoded until models.dev includes it.

Also fixes kimi-coding test references (k2p7 -> kimi-for-coding) after
models.dev catalog update picked up by generate-models.

Closes #6850
2026-07-20 13:53:30 +02:00
Cristina Poncela Cubeiro d9f7f81473 fix: tool_call_id error when switching (#6854) 2026-07-20 13:51:16 +02:00
Aadish Verma 35f12c8c72 fix: gpt 5.6 context window (#6853) 2026-07-20 12:22:22 +02:00
David Brailovsky 21f92b319d run generate-models 2026-07-20 10:21:34 +00:00
David Brailovsky da95649b95 lint fix 2026-07-20 10:19:01 +00:00
David Brailovsky 8b93737078 kimi: add low,high to k3 and remove k2p7 references 2026-07-20 09:00:15 +00:00
Federico Jaramillo Martinez 916de90dbf fix(pi-ai): normalize bin path to avoid consumer lockfile churn (#6812)
The npm registry normalizes bin paths in packument metadata
("dist/cli.js") while the published tarball keeps the authored
"./dist/cli.js". npm consumers get perpetual one-line
package-lock.json flips depending on whether resolution used
registry metadata or the extracted package.

Drop the "./" prefix to match the registry-normalized form and the
sibling coding-agent package.

Fixes #6811
2026-07-20 09:18:14 +02:00
Alexey Zaytsev 94373d815d feat(ai): add shared contentText utility (#6840)
Co-authored-by: Armin Ronacher <armin.ronacher@active-4.com>
2026-07-20 01:50:36 +02:00
Armin Ronacher 75cb0b873a fix(ai): support responses API for OpenCode Go 2026-07-20 01:28:57 +02:00
Alexey Zaytsev d2f8dafb0f fix(ai,agent,coding-agent): share UUIDv7 and use for Codex (#6834) 2026-07-20 01:23:47 +02:00
Armin Ronacher 956074697f fix(ai): replace generic record checks 2026-07-19 22:21:31 +02:00
David Brailovsky 5124c61b25 buildfix: fix tests referencing old models 2026-07-17 13:24:11 +00:00
David Brailovsky ce48d9b4ef fix(ai): preserve GitHub Copilot long-context pricing tiers, closes #6668 2026-07-17 12:38:12 +02:00
Armin Ronacher a9f6a3159a feat(ai): separate generated model data (#6765) 2026-07-17 11:08:48 +02:00
David Brailovsky b0c2a90e51 fix(coding-agent): retry OpenAI Responses early EOF
closes #6727
2026-07-17 11:00:03 +02:00
Armin Ronacher 8881e17625 fix(ai): show implied Kimi Coding subscription costs 2026-07-17 10:01:22 +02:00
Alexey Zaytsev 056c8cbb80 feat(ai): make model generation explicit (#6742) 2026-07-17 09:01:42 +02:00
Armin Ronacher 216e672e7c Add [Unreleased] section for next cycle 2026-07-16 23:59:44 +02:00
Armin Ronacher 8dc78834cd Release v0.80.10 2026-07-16 23:59:41 +02:00
Armin Ronacher b8575f60fa fix(ai): use adaptive thinking for Kimi Coding 2026-07-16 20:59:54 +02:00
Armin Ronacher aba324504c fix(ai): correct Kimi K3 Moonshot pricing 2026-07-16 20:37:48 +02:00
Armin Ronacher c1b7856e26 fix(ai): prevent removed xAI models regenerating, closes #6736 2026-07-16 20:07:36 +02:00
Armin Ronacher 78ff249436 fix(ai): expose max thinking for Kimi Coding K3
Closes #6737
2026-07-16 19:58:17 +02:00
Armin Ronacher f7e0603745 Add [Unreleased] section for next cycle 2026-07-16 19:18:00 +02:00
Armin Ronacher 2d16f92973 Release v0.80.9 2026-07-16 19:17:57 +02:00
Armin Ronacher aa508b7f40 docs: audit unreleased changelogs 2026-07-16 19:13:10 +02:00
Milosz Jankiewicz a01baaaea7 feat(xai): prefilled OAuth device link, SuperGrok login label, trimmed model list (#6734)
- Use verification_uri_complete from the xAI device-code response so the
  login link opens with the user code prefilled (https-validated)
- Add OAuthAuth.loginLabel and show "Sign in with SuperGrok or X Premium"
  in the xAI auth-type selector (threaded through lazyOAuth)
- Remove grok-3, grok-3-fast, grok-4.20 variants and grok-code-fast-1
  from the built-in xAI catalog and default to grok-4.5

Co-authored-by: Jaaneek <Jaaneek@users.noreply.github.com>
2026-07-16 18:59:54 +02:00
Armin Ronacher c2c32febb0 fix(ai): correct Kimi K3 gateway output limits 2026-07-16 18:56:54 +02:00
David Brailovsky 70c5763297 add deferred tool loading for kimi-k3 2026-07-16 15:39:22 +00:00
David Brailovsky 3524cd4c85 Merge remote-tracking branch 'origin/main' into add-kimi-deferred-tools 2026-07-16 17:30:50 +02:00
David Brailovsky 6a884b4a75 add kimi-k3 2026-07-16 15:29:32 +00:00
David Brailovsky e022eec37d Add [Unreleased] section for next cycle 2026-07-16 16:35:19 +02:00
David Brailovsky fae7176cb9 Release v0.80.8 2026-07-16 16:35:16 +02:00
Armin Ronacher 6442536b1e fix(coding-agent): bundle OAuth flows in Bun binaries 2026-07-16 15:36:16 +02:00
David Brailovsky f16b4e0cda add deferred tools support for kimi in openai-completions api 2026-07-16 12:26:56 +00:00
Armin Ronacher eb793510ad docs: audit unreleased changelogs 2026-07-16 13:58:56 +02:00
Armin Ronacher 97f9978fa6 feat(coding-agent): add model catalog refresh flag 2026-07-16 12:46:49 +02:00
Armin Ronacher 2be9efa19c feat(ai): publish generated model catalogs to R2 (#6720) 2026-07-16 11:43:47 +02:00
Milosz Jankiewicz 5220aba619 feat(ai): add xAI device OAuth and route grok-4.5 through Responses (#6651)
* feat(ai): add xAI device OAuth and route grok-4.5 through Responses

Add xAI device-code OAuth alongside XAI_API_KEY. Route only grok-4.5
through Responses with low/medium/high reasoning; other xAI models stay
on Completions.

* fix(ai): tolerate xAI device-code interval 0 and correct token poll error label

---------

Co-authored-by: Jaaneek <Jaaneek@users.noreply.github.com>
2026-07-16 09:58:24 +02:00
Mario Zechner 5e336cfa80 Merge origin/main into model runtime changes 2026-07-15 13:00:45 +02:00