Commit Graph

5019 Commits

Author SHA1 Message Date
github-actions[bot] bb019731fc chore: approve contributor zaycruz 2026-07-21 07:33:18 +00:00
David Brailovsky bc62a57808 Merge pull request #6896 from earendil-works/update-brace-expansion
update brace-expansion version
2026-07-21 08:13:28 +02:00
David Brailovsky 31dc078bf8 update brace-expansion version 2026-07-21 06:07:44 +00:00
Armin Ronacher c8c3cd499f fix(ai): validate generated model data before builds 2026-07-20 22:29:06 +02:00
github-actions[bot] ff992261e2 chore: approve contributor R-Taneja 2026-07-20 20:00:14 +00:00
Mario Zechner 1235c0ec64 fix(agent): decouple agent streams from compat
closes #6851
2026-07-20 17:54:36 +02:00
Armin Ronacher 3a40794ea1 feat(ai): regenerate models 2026-07-20 17:19:40 +02:00
Mario Zechner c889eb8809 fix(coding-agent): defer startup model catalog refresh 2026-07-20 17:13:06 +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 c179395218 feat: get_available_thinking_levels rpc (#6865) 2026-07-20 16:29:10 +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
Mario Zechner 3595e080cb fix(tui): keep paste registry in sync when deleting paste markers
Undo snapshots now restore paste content and counters alongside editor text. Paste marker renumbering shifts registry entries in ascending ID order before rewriting markers, preventing literal or incorrect paste content on submit.\n\nCloses #6844
2026-07-20 14:04:21 +02:00
Cristina Poncela Cubeiro bb437b097b Merge pull request #6861 from cristinaponcela/fix/issue-linking
fix: issue template links
2026-07-20 14:04:05 +02:00
Cristina Poncela Cubeiro 2e810c2402 fix: issue template links 2026-07-20 13:59:18 +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
David Brailovsky 9e7fce70a3 export missing message and tool execution event types (#6772)
fixes #6687
2026-07-20 13:09:12 +02:00
Aadish Verma 35f12c8c72 fix: gpt 5.6 context window (#6853) 2026-07-20 12:22:22 +02:00
David Brailovsky 84fb69c958 update npm shrinkwrap 2026-07-20 10:21:58 +00: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
github-actions[bot] 85f89db9bc chore: approve contributor QuintinShaw 2026-07-20 07:33:27 +00:00
github-actions[bot] 87845fc430 chore: approve contributor rsaryev 2026-07-20 07:19:18 +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
Damjan 9000 5f2f7d0679 fix(tui): clear inverted cursor on exit to avoid dual cursor appearance (#6790)
When pi exits, the reverse-video cursor character remains visible on
the editor prompt line. Combined with the terminal's own cursor below,
this creates the appearance of two cursors, which is confusing.

Overwrite the inverted cursor with a normal space before exiting.
2026-07-20 09:09:56 +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
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 5124c61b25 buildfix: fix tests referencing old models 2026-07-17 13:24:11 +00:00
David Brailovsky 64f83c85d9 fix(coding-agent): support all-argument prompt defaults closes #6695 2026-07-17 13:52:32 +02: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
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 c8560b8d70 fix(ai): limit model catalog publication hours 2026-07-17 10:23:09 +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
github-actions[bot] e5e8726836 chore: approve contributor anh-chu 2026-07-17 07:24:50 +00:00
github-actions[bot] dc24a73c17 chore: approve contributor andrebreijao 2026-07-17 07:22:24 +00:00
Danila Poyarkov 35a0d5d620 fix(coding-agent): preserve compaction queue behavior (#6730) 2026-07-17 09:09:01 +02:00
Armin Ronacher 16afccd346 fix(ai): test model catalogs against PR merge refs (#6721) 2026-07-17 09:05:13 +02:00
Danila Poyarkov a2c5ee33eb fix(coding-agent): do not highlight read errors (#6731) 2026-07-17 09:02:50 +02:00
Alexey Zaytsev 056c8cbb80 feat(ai): make model generation explicit (#6742) 2026-07-17 09:01:42 +02:00