Commit Graph

4790 Commits

Author SHA1 Message Date
Alexey Zaytsev 726a9c526c fix(coding-agent): emit session name changes to extensions 2026-06-30 00:40:15 -05:00
Mario Zechner 927e98068c fix(coding-agent): fix compaction event regression test 2026-06-29 17:12:19 +02:00
Mario Zechner 6fbeba51af Merge pull request #5832 from stephanmck/fix/provider-error-body-passthrough-5763
fix(ai): surface provider HTTP error body instead of opaque SDK message
2026-06-29 16:58:24 +02:00
Mario Zechner 5d499272a8 fix(coding-agent): stabilize interactive status indicators
Closes #6026
2026-06-29 16:53:39 +02:00
github-actions[bot] 541d11f725 chore: approve contributor skhoroshavin 2026-06-29 06:41:07 +00:00
Vegard Stikbakke b91bdd5a3e fix(ai): preserve Z.AI thinking content
closes #6083
2026-06-29 08:40:20 +02:00
Armin Ronacher 54113731b2 fix(ai): use HTTP timeout for Codex SSE headers
Refs #4945
2026-06-28 19:57:47 +02:00
Armin Ronacher 8f64353e65 fix: restrict bot gate bypasses
Refs #6127
2026-06-28 18:59:34 +02:00
Mario Zechner a8c692c712 Merge pull request #6074 from yzhg1983/private/pre-prompt-compaction-no-continue
fix(coding-agent): avoid pre-prompt compaction continue
2026-06-28 17:49:12 +02:00
Mario Zechner 234c2ad54c Merge pull request #6078 from geraschenko/rpc-get-entries-tree
feat(coding-agent): add get_entries and get_tree RPC commands
2026-06-28 17:46:26 +02:00
Armin Ronacher 5a073885b5 feat(coding-agent): add external editor setting
Closes #6122
2026-06-27 23:57:46 +02:00
Armin Ronacher f2e9d75388 fix(coding-agent): preserve backslash escapes in user messages
closes #6105
2026-06-27 19:24:14 +02:00
Armin Ronacher 622eca7608 feat(coding-agent): add installer lock generation 2026-06-26 14:45:15 +02:00
Cristina Poncela Cubeiro 87ad8243cb feat(experimental): pi orchestrator 2026-06-26 13:46:22 +02:00
Cristina Poncela Cubeiro 0760bbae9b fix: lockfile drift 2026-06-26 13:30:29 +02:00
Cristina Poncela Cubeiro 988990f1c2 fix: lockfile drift 2026-06-26 13:12:43 +02:00
Cristina Poncela Cubeiro 2f853bbce0 fix: class RpcProcessInstance as state machine 2026-06-26 12:47:09 +02:00
Cristina Poncela Cubeiro 9505389beb fix: git url 2026-06-26 12:37:06 +02:00
Cristina Poncela Cubeiro 7f9300763e fix: orch (dynamic) version 2026-06-26 12:36:07 +02:00
Cristina Poncela Cubeiro 122527b22a fix: rpc-entry and bun support 2026-06-26 10:01:16 +02:00
Anton Geraschenko 7ba1b6bfef feat(coding-agent): add get_entries and get_tree RPC commands
Adds two read-only RPC commands exposing existing SessionManager reads:

- get_entries: all session entries in append order, with optional since-entry-id cursor (strictly-after semantics, error on unknown id), plus current leafId.
- get_tree: getTree() roots plus current leafId.

Since sessions are append-only trees with stable entry ids, an entry id is a durable cursor: external orchestrators can use these commands to catch up after a restart without losing pre-compaction history, and can observe branch structure (/tree jumps, abandoned branches) that get_messages hides.
2026-06-25 09:38:35 -07:00
Mario Zechner 1d48616328 Fix examples, update to latest undici for vuln fix 2026-06-25 16:01:07 +02:00
Michael Yu 73581ea995 fix(coding-agent): avoid pre-prompt compaction continue 2026-06-25 21:43:03 +08:00
Mario Zechner 0d145e895c fix(coding-agent): shorten invalid session error
Follow-up to #6002
2026-06-25 15:20:08 +02:00
Mario Zechner 774288587f fix(coding-agent): update OpenAI default model 2026-06-25 15:18:18 +02:00
Mario Zechner 543710f643 fix(coding-agent): reject invalid session files
closes #6002
2026-06-25 15:16:18 +02:00
Mario Zechner f14b3594c1 fix(coding-agent): show length stop errors
closes #4290
2026-06-25 14:50:14 +02:00
Armin Ronacher e454f50b48 fix(coding-agent): allow session id for no-session runs
closes #6070
2026-06-25 14:44:44 +02:00
Mario Zechner 09f1059575 fix(ai): clamp streamSimple max tokens
Clamps streamSimple max-token defaults against estimated context, addressing #5595.

closes #6061
2026-06-25 14:10:28 +02:00
Armin Ronacher 49956a7cd0 docs(agent): close completed issues in wrap prompt 2026-06-25 14:08:53 +02:00
Mario Zechner f78b163713 fix(ai): revert minimax max token clamp 2026-06-25 13:36:04 +02:00
Armin Ronacher 4cc339f58d fix(coding-agent): process BMP images from disk
closes #6047
2026-06-25 12:52:21 +02:00
Stephan Schneider 62fad94f1a fix(ai): surface provider HTTP error body instead of opaque SDK message
Add a shared normalizeProviderError helper in packages/ai/src/utils/error-body.ts
and route the 8 body-blind / status-only providers through it (amazon-bedrock,
azure-openai-responses, google, google-vertex, images/openrouter,
openai-codex-responses, openai-completions, openai-responses). Non-schema 4xx/5xx
responses from proxies / gateways now show the real reason carried in the response
body alongside the HTTP status, instead of "403 status code (no body)" or
"Unknown: UnknownError".

The helper probes status (statusCode, status, $metadata.httpStatusCode,
$response.statusCode) and body (body, parsed error object, $response.body) across
the Mistral, OpenAI, Google, and Bedrock SDK shapes, truncates the body at a 4000
char cap, and preserves error.message when the SDK already folded the body in
(Anthropic / Google happy path). mistral.ts and anthropic.ts are left untouched.
Provider prefixes and the OpenRouter metadata.raw append are preserved.

closes #5763
2026-06-25 12:07:51 +02:00
github-actions[bot] 6ca7ba7c05 chore: approve contributor geraschenko 2026-06-25 10:06:02 +00:00
Mario Zechner b940c52e7e fix(ai): clamp MiniMax shared budget max tokens
closes #6061
2026-06-25 12:00:37 +02:00
Mario Zechner 8c9dbffa36 fix(ai): preserve responses reasoning for out-of-order items
closes #6009
2026-06-25 11:57:52 +02:00
Mario Zechner 9cd2c81ada fix(ai): regenerate model catalogues 2026-06-25 11:56:33 +02:00
Mario Zechner d7868b0998 feat(ai): add reasoning token counts to Usage
Add optional reasoning?: number to Usage as a subset of output. Populate
for Anthropic (output_tokens_details.thinking_tokens), OpenAI
Responses/Codex/Azure (output_tokens_details.reasoning_tokens), OpenAI
Completions (completion_tokens_details.reasoning_tokens), and Google
Generative AI / Vertex (thoughtsTokenCount). Bedrock Converse and Mistral
do not return a reasoning breakdown, so they stay unset.

closes #6057
2026-06-25 10:35:02 +02:00
Mario Zechner 5c76ae407d Merge pull request #6063 from xl0/extension-stats
Extension stats
2026-06-25 10:24:01 +02:00
Cristina Poncela Cubeiro 7e6e59b6e4 fix: stale version 2026-06-25 09:59:53 +02:00
Cristina Poncela Cubeiro be64062f97 Merge branch 'main' into feat/pi-orchestrator 2026-06-25 09:53:29 +02:00
Cristina Poncela Cubeiro 0563baa51d feat: add experimental orchestrator package metadata 2026-06-25 09:51:21 +02:00
Cristina Poncela Cubeiro 77f1fa621a docs: experimental 2026-06-25 09:29:12 +02:00
Alexey Zaytsev d8a2cab3d9 fix(coding-agent): drain startup benchmark replies 2026-06-25 02:08:29 -05:00
Alexey Zaytsev 0bdbe7c57b fix(coding-agent): preserve extension timing measurements 2026-06-25 02:07:32 -05:00
Armin Ronacher 371adcf371 fix(coding-agent): retry explicit provider retry errors
closes #6019
2026-06-24 18:14:06 +02:00
Mario Zechner c29bbc0958 docs(agent): update models phase 9 plan 2026-06-24 14:46:13 +02:00
Mario Zechner 3e551faf79 Merge pull request #6048 from haoqixu/fix-resources-position
fix(coding-agent): show resources before messages when resuming session
2026-06-24 14:44:41 +02:00
haoqixu c5440162b8 fix(coding-agent): show resources before messages when resuming session 2026-06-24 20:41:34 +08:00
Mario Zechner a2e3e9d8b2 Merge pull request #6004 from gukoff/support-azure-foundry-endpoints
feat: Normalize modern Microsoft Foundry Responses API endpoints
2026-06-24 10:38:57 +02:00