Commit graph

4879 commits

Author SHA1 Message Date
Armin Ronacher
f2e9d75388 fix(coding-agent): preserve backslash escapes in user messages
Some checks are pending
CI / build-check-test (push) Waiting to run
closes #6105
2026-06-27 19:24:14 +02:00
Armin Ronacher
622eca7608 feat(coding-agent): add installer lock generation
Some checks are pending
CI / build-check-test (push) Waiting to run
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
Some checks are pending
CI / build-check-test (push) Waiting to run
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
Some checks are pending
CI / build-check-test (push) Waiting to run
feat: Normalize modern Microsoft Foundry Responses API endpoints
2026-06-24 10:38:57 +02:00
Alexey Zaytsev
6338661485
fix(coding-agent): print benchmark timings after TUI stop (#6030)
closes #6029
2026-06-24 09:53:40 +02:00
Armin Ronacher
ec6311beb5 fix: skip dirty check before npm publish
Some checks are pending
CI / build-check-test (push) Waiting to run
2026-06-23 23:59:04 +02:00
Armin Ronacher
978202765f fix: remove OpenClaw gate 2026-06-23 23:56:02 +02:00
Armin Ronacher
954ec99814 fix: upload release assets from visible directory 2026-06-23 23:50:12 +02:00
Armin Ronacher
8277bd6896 Add [Unreleased] section for next cycle 2026-06-23 23:45:39 +02:00
Armin Ronacher
0201806adf Release v0.80.2 2026-06-23 23:45:36 +02:00
Armin Ronacher
9096d5f9a6 docs: update changelog entries 2026-06-23 23:42:02 +02:00
Mario Zechner
e1a2dc04f4 fix(ai): restore detectCompat runtime fallback in openai-completions
refs #6020
2026-06-23 23:29:44 +02:00
Mario Zechner
ef231c4910 fix(ai): resolve request-scoped auth before provider calls
closes #6021
2026-06-23 23:27:00 +02:00
Mario Zechner
04fce8099f Merge remote-tracking branch 'origin/main' 2026-06-23 22:30:15 +02:00
Mario Zechner
49fbe6834f fix(ai): align api key credentials with auth json 2026-06-23 22:29:46 +02:00