Commit Graph

3953 Commits

Author SHA1 Message Date
Mario Zechner
0a032ae1b3 Merge branch 'main' into bigrefactor 2026-05-04 18:28:05 +02:00
Mario Zechner
51eedbcbc6 Update APPROVED_CONTRIBUTORS 2026-05-04 15:34:41 +02:00
Julien Chaumond
46885536dd chore: unset HF_TOKEN in pi-test.sh --no-env (#4161)
Co-authored-by: julien-agent <Agents+cyolo@huggingface.co>
2026-05-04 15:23:08 +02:00
Armin Ronacher
756b774935 fix(coding-agent): exit on lost terminal
Fixes #4144.
2026-05-04 12:07:16 +02:00
Armin Ronacher
e355696d8a fix(coding-agent): show compact read line ranges 2026-05-04 09:39:12 +02:00
Mario Zechner
d29e47c771 feat(agent): add harness factory helpers 2026-05-04 01:15:53 +02:00
Mario Zechner
c5340670bb Merge remote-tracking branch 'origin/main' into bigrefactor
# Conflicts:
#	packages/ai/src/providers/openai-codex-responses.ts
#	packages/coding-agent/src/core/agent-session.ts
#	packages/coding-agent/src/core/tools/read.ts
2026-05-04 00:56:51 +02:00
Armin Ronacher
78c3cbe0c3 fix(coding-agent): close codex websocket sessions
Fixes #4103
2026-05-04 00:54:46 +02:00
Armin Ronacher
ce377fc4a1 fix(ai): fall back from codex websocket to sse (#4133) 2026-05-04 00:54:46 +02:00
Mario Zechner
0959d8ec2b chore: label bigrefactor issue closures 2026-05-04 00:54:46 +02:00
Mario Zechner
0b5792ace0 chore: update temporary issue gate message 2026-05-04 00:54:46 +02:00
Jake Jia
b326bf1a3a feat(ai): switch xiaomi default to api billing, add per-region token plan providers (#4112)
Built-in `xiaomi` provider now targets the API billing endpoint (https://api.xiaomimimo.com/anthropic) — a single stable URL for keys issued at platform.xiaomimimo.com. The Token Plan endpoints are exposed as three sibling providers, each with its own env var:

- xiaomi-token-plan-cn: XIAOMI_TOKEN_PLAN_CN_API_KEY
- xiaomi-token-plan-ams: XIAOMI_TOKEN_PLAN_AMS_API_KEY
- xiaomi-token-plan-sgp: XIAOMI_TOKEN_PLAN_SGP_API_KEY

BREAKING CHANGE: users who previously set XIAOMI_API_KEY against the Token Plan AMS endpoint must move to xiaomi-token-plan-ams and set XIAOMI_TOKEN_PLAN_AMS_API_KEY. This also resolves the 401 reported by on #4005, where a platform.xiaomimimo.com key fails against the Token Plan endpoint.

closes #4082
2026-05-04 00:54:46 +02:00
myu003
924a1395bc test(ai,coding-agent): stabilize env-sensitive test cases (#4119) 2026-05-04 00:54:45 +02:00
Jakub Synowiec
05abdd8fde fix(ai): fix mismatch between models.dev and OpenCode Go (Qwen3.5/3.6, MiniMax M2.7) (#4110) 2026-05-04 00:54:45 +02:00
Armin Ronacher
e1433cf65b fix(ci): repair failing test expectations 2026-05-04 00:54:45 +02:00
Armin Ronacher
ee4a40c936 fix(ci): install sandbox runtime for root typecheck 2026-05-04 00:54:45 +02:00
Armin Ronacher
8940c02302 feat(read): compact resource read rendering 2026-05-04 00:54:45 +02:00
Mario Zechner
324aa1d647 fix(coding-agent): render compact read calls directly
Render compact read classifications in the call row and leave the collapsed result row empty. The previous implementation used shared renderer state to let renderResult hide renderCall, which leaked an internal ReadRenderState type through the tool definition and coupled two render phases unnecessarily. The call renderer has all context needed to choose the compact presentation itself.
2026-05-04 00:52:56 +02:00
Mario Zechner
23420012ab fix(coding-agent): decouple codex session cleanup 2026-05-04 00:45:56 +02:00
Mario Zechner
3d0f57187d refactor(agent): simplify harness session repo layout 2026-05-04 00:06:35 +02:00
Armin Ronacher
5fa277b320 fix(coding-agent): close codex websocket sessions
Fixes #4103
2026-05-03 23:25:56 +02:00
Armin Ronacher
370fdae6fa fix(ai): fall back from codex websocket to sse (#4133) 2026-05-03 22:51:42 +02:00
Mario Zechner
a646639af9 chore: label bigrefactor issue closures 2026-05-03 22:14:52 +02:00
Mario Zechner
21026cb799 chore: update temporary issue gate message 2026-05-03 22:04:19 +02:00
Mario Zechner
cdde2e893d refactor(agent): consolidate harness session abstraction 2026-05-03 22:01:40 +02:00
Mario Zechner
e612149369 refactor(agent): tighten harness session storage 2026-05-03 13:21:14 +02:00
Jake Jia
693888ac47 feat(ai): switch xiaomi default to api billing, add per-region token plan providers (#4112)
Built-in `xiaomi` provider now targets the API billing endpoint (https://api.xiaomimimo.com/anthropic) — a single stable URL for keys issued at platform.xiaomimimo.com. The Token Plan endpoints are exposed as three sibling providers, each with its own env var:

- xiaomi-token-plan-cn: XIAOMI_TOKEN_PLAN_CN_API_KEY
- xiaomi-token-plan-ams: XIAOMI_TOKEN_PLAN_AMS_API_KEY
- xiaomi-token-plan-sgp: XIAOMI_TOKEN_PLAN_SGP_API_KEY

BREAKING CHANGE: users who previously set XIAOMI_API_KEY against the Token Plan AMS endpoint must move to xiaomi-token-plan-ams and set XIAOMI_TOKEN_PLAN_AMS_API_KEY. This also resolves the 401 reported by on #4005, where a platform.xiaomimimo.com key fails against the Token Plan endpoint.

closes #4082
2026-05-03 12:57:11 +02:00
myu003
7c5ef0b70e test(ai,coding-agent): stabilize env-sensitive test cases (#4119) 2026-05-03 12:55:23 +02:00
Mario Zechner
83599e789d feat(agent): split harness compaction and session modules 2026-05-03 03:13:45 +02:00
Jakub Synowiec
c8edb256b9 fix(ai): fix mismatch between models.dev and OpenCode Go (Qwen3.5/3.6, MiniMax M2.7) (#4110) 2026-05-03 00:41:55 +02:00
Mario Zechner
a5b27367d3 feat(agent): add initial harness foundation 2026-05-03 00:35:36 +02:00
Armin Ronacher
b9efafc535 fix(ci): repair failing test expectations 2026-05-03 00:04:27 +02:00
Armin Ronacher
cd5bfd04d7 fix(ci): install sandbox runtime for root typecheck 2026-05-02 23:46:37 +02:00
Armin Ronacher
588639fa97 feat(read): compact resource read rendering 2026-05-02 21:20:26 +02:00
Mario Zechner
7268e9a9fd Add [Unreleased] section for next cycle 2026-05-02 14:58:41 +02:00
Mario Zechner
036bde0a5d Release v0.72.1 2026-05-02 14:57:51 +02:00
Mario Zechner
97352acf98 chore(ai): update generated models 2026-05-02 14:56:52 +02:00
Mario Zechner
b8bb2411ff fix(ai): honor codex transport option
closes #4083
2026-05-02 14:14:22 +02:00
Mario Zechner
e4163fe9a5 Add [Unreleased] section for next cycle 2026-05-02 01:55:50 +02:00
Mario Zechner
196226bcc0 Release v0.72.0 2026-05-02 01:54:59 +02:00
Mario Zechner
2d33616b43 docs: audit changelog entries for v0.71.1..HEAD 2026-05-02 01:54:04 +02:00
Mario Zechner
c0e046990e fix(ai): use Xiaomi Token Plan Anthropic endpoint
closes #3912
2026-05-02 01:36:34 +02:00
Mario Zechner
80f06d3636 feat: add model thinking level metadata
closes #3208
2026-05-02 01:21:06 +02:00
Mario Zechner
73b7b2c564 feat(agent): add post-turn stop callback 2026-05-02 01:20:26 +02:00
Jake Jia
a44622670f feat(ai): add Xiaomi MiMo provider (#4005)
* fix(ai): include minimax-cn in cross-provider-handoff matrix

* feat(ai): add Xiaomi MiMo provider

Adds Xiaomi MiMo as an openai-completions-compatible provider.

- packages/ai: register provider in types/KnownProvider, env-api-keys (XIAOMI_API_KEY), generate-models, models.generated.ts, overflow util, README, CHANGELOG
- packages/ai/test: extend stream, tokens, abort, empty, context-overflow, overflow, image-tool-result, tool-call-without-result, total-tokens, unicode-surrogate, cross-provider-handoff matrices with Xiaomi
- packages/coding-agent: default model (mimo-v2.5-pro), display name (Xiaomi MiMo), CLI env var docs, README, docs/providers.md

closes #3912

---------

Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
2026-05-02 00:46:05 +02:00
Mario Zechner
ddb8ed0c73 fix(coding-agent): honor registered model base urls
closes #4063
2026-05-01 22:19:06 +02:00
Mario Zechner
f5b6e4fab0 fix(ai): handle OpenRouter DeepSeek V4 reasoning
Closes #4055

Closes #4047
2026-05-01 22:19:06 +02:00
github-actions[bot]
ad3f7d7531 chore: approve contributor pandada8 2026-05-01 20:18:53 +00:00
Armin Ronacher
c3282e4a7d refactor(coding-agent): inline npm command parsing 2026-05-01 18:52:54 +02:00
Armin Ronacher
ade08de14c fix(coding-agent): repair self-update detection
Fixes #3942
Fixes #3980
Fixes #3922
2026-05-01 18:08:02 +02:00