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
c179395218
feat: get_available_thinking_levels rpc ( #6865 )
2026-07-20 16:29:10 +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
David Brailovsky
9e7fce70a3
export missing message and tool execution event types ( #6772 )
...
fixes #6687
2026-07-20 13:09:12 +02:00
David Brailovsky
84fb69c958
update npm shrinkwrap
2026-07-20 10:21:58 +00: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
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
f1c587dde3
fix(coding-agent): avoid duplicate session reads
...
fixes #6793
2026-07-19 20:18:49 +02:00
Mario Zechner
3da591ab74
feat(coding-agent): add Hugging Face llama search
2026-07-17 17:13:39 +02:00
Mario Zechner
f1a466b19d
feat(coding-agent): add llama.cpp router integration
2026-07-17 16:25:00 +02:00
David Brailovsky
64f83c85d9
fix(coding-agent): support all-argument prompt defaults closes #6695
2026-07-17 13:52:32 +02:00
David Brailovsky
b0c2a90e51
fix(coding-agent): retry OpenAI Responses early EOF
...
closes #6727
2026-07-17 11:00:03 +02:00
Mario Zechner
019e4ad687
feat(coding-agent): accept native extension providers
...
Allow extensions to register complete pi-ai Provider objects while preserving models.json composition and resolved provider auth access.
Refs #4823 and #4824 .
2026-07-17 10:58:48 +02:00
Armin Ronacher
8881e17625
fix(ai): show implied Kimi Coding subscription costs
2026-07-17 10:01:22 +02:00
Mario Zechner
58575888f5
docs(coding-agent): fix obsolete extension UI examples closes #6735
2026-07-17 09:36:59 +02:00
Danila Poyarkov
35a0d5d620
fix(coding-agent): preserve compaction queue behavior ( #6730 )
2026-07-17 09:09:01 +02:00
Danila Poyarkov
a2c5ee33eb
fix(coding-agent): do not highlight read errors ( #6731 )
2026-07-17 09:02:50 +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
c29eda6fb7
docs(coding-agent): audit unreleased changelog
2026-07-16 23:22:56 +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
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
Armin Ronacher
b97ed20210
fix(coding-agent): explain clone failure for unsaved sessions
2026-07-16 19:06:56 +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
David Brailovsky
3524cd4c85
Merge remote-tracking branch 'origin/main' into add-kimi-deferred-tools
2026-07-16 17:30:50 +02: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
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
David Brailovsky
12545274ea
windows: reset pi terminal title after checking npm packages
...
on windows the npm check changes the terminal title and it doesn't change back
this is a narrow fix for it
fixes #6629
2026-07-15 15:14:55 +00:00
Mario Zechner
5e336cfa80
Merge origin/main into model runtime changes
2026-07-15 13:00:45 +02:00
Mario Zechner
bd9e09db44
feat(coding-agent): expose dynamic provider refresh
2026-07-15 12:56:50 +02:00
Mario Zechner
45203abfa0
fix(coding-agent): Coalesce adjacent assistant thinking blocks into one section
2026-07-15 12:52:53 +02:00
Mario Zechner
fab309e955
fix(coding-agent): refresh model catalogs in picker
2026-07-15 12:35:29 +02:00
Mario Zechner
cd7cad4ee2
feat(coding-agent): merge origin/main into model runtime facade
2026-07-15 12:25:36 +02:00
Armin Ronacher
9d09075c53
Add [Unreleased] section for next cycle
2026-07-14 18:36:49 +02:00
Armin Ronacher
818d67457c
Release v0.80.7
2026-07-14 18:36:46 +02:00
Armin Ronacher
53a087fe82
docs: audit unreleased changelogs
2026-07-14 18:18:05 +02:00
Mario Zechner
9993c96907
feat(coding-agent): replace model registry with model runtime
...
Move provider auth and OAuth flows onto pi-ai Models, compose models.json and extension overlays through ModelRuntime, and retain ModelRegistry as an extension compatibility facade.
2026-07-14 17:48:45 +02:00
David Brailovsky
f4e9ca7466
remove current date from system prompt
...
fixes #6621
2026-07-14 14:58:24 +00:00
Armin Ronacher
adfac437bb
fix(coding-agent): clarify login options
2026-07-14 12:24:50 +02:00
Armin Ronacher
961fa6c142
feat(ai): add Radius gateway support
2026-07-14 11:01:21 +02:00
David Brailovsky
b084d2fb39
add legacy-peer-deps flag on pi uninstall when using npm ( #6604 )
...
otherwise it would fail when there's conflicting peer dependencies in installed packages
fixes : #6486
2026-07-13 12:50:46 +02:00
David Brailovsky
7303cbac5d
fix branch summary when using ambient auth ( #6595 )
...
allow null apiKey. uses the same auth flow like compaction
fixes #6324
2026-07-13 10:49:10 +02:00