Commit graph

3662 commits

Author SHA1 Message Date
Mario Zechner
e26afb63a4 fix(agent): retain settled tools until placement 2026-09-02 17:53:25 +02:00
Mario Zechner
7123410467 Merge branch 'main' into dev 2026-09-02 12:21:58 +02:00
Vegard Stikbakke
23842b1e69 fix(coding-agent): tunnel proxied HTTP requests
closes #8134
2026-09-02 09:23:23 +02:00
Mario Zechner
ee398cb6d7 fix(coding-agent): recover mini operations and forward aborts 2026-09-01 18:09:35 +02:00
Armin Ronacher
6ee906d3d2 fix: resolve workspace source dependencies in tests 2026-09-01 17:50:49 +02:00
David Brailovsky
487af8e168 Merge remote-tracking branch 'origin/main' into dev 2026-09-01 14:48:57 +00:00
scturtle
b8b873b987
fix(ai): add supportsMaxOutputTokens compat flag for openai-responses (#8941)
Some OpenAI Responses-compatible gateways (e.g. Codex-protocol proxies)
reject the max_output_tokens parameter with a 400 BadRequest. The
openai-responses API always sent it when maxTokens was set, with no way
to opt out.

Add a supportsMaxOutputTokens compat flag (default: true) to
OpenAIResponsesCompat. When false, buildParams omits max_output_tokens
from the request body. Also register the flag in the coding-agent
model-config schema so custom providers can set it.
2026-09-01 14:42:52 +02:00
Ramiz Wachtler
3fc3ef532b
fix(coding-agent): keep theme markers visible (#8950)
- follow up of missed commits for feat(coding-agent): adjust TUI selections in thinking-mode, models and scoped models #8900

* fix(coding-agent): keep fixed theme marker visible

- distinguish the saved theme from the preview cursor
- align the automatic option and update coverage

* fix(coding-agent): keep automatic theme marker visible

- mark configured light and dark themes during preview
- reuse shared theme formatting and update coverage
2026-09-01 12:01:50 +02:00
Vytautas
62835ea81b
fix(coding-agent): use ctx.cwd for cwd-sensitive tools when available (#8627)
When tools are registered by an extension (e.g. Kimchi) the execute callback
receives an ExtensionContext with the real session cwd. Use ctx.cwd || cwd so
tools resolve paths against the current session cwd instead of the cwd captured
at tool creation time.

Applies to read, write, edit, grep, find, ls, bash, and powershell.

Co-authored-by: Kimchi <noreply@kimchi.dev>
2026-09-01 11:16:29 +02:00
Sviatoslav Abakumov
6492144773
fix(tui): detect Zed terminal capabilities (#8828) 2026-09-01 11:03:34 +02:00
Ramiz Wachtler
f2a6227899
feat(coding-agent): adjust TUI selections in thinking-mode, models and scoped models (#8900)
* fix(coding-agent): keep selector status markers visible

- place status markers before labels
- strike unavailable scoped models and update tests

* fix(coding-agent): align scoped model toggle behavior

- show checks for the all-enabled state
- toggle individual models consistently and add coverage

* docs(coding-agent): add changelog entry

* fix(coding-agent): keep trust marker visible while browsing

- move the saved marker before the trust option
- update tests and changelog

* fix(coding-agent): mark per-model thinking overrides

- add the leading level marker
- update tests and changelog
2026-09-01 11:02:53 +02:00
yaogangqiang
afda4d6202
fix(agent): stop prepared tools after preflight abort (#8936)
fixes #8935

Co-authored-by: yaogangqiang <yaogangqiang@kanyun.com>
2026-09-01 11:00:51 +02:00
yaogangqiang
56c6fb33c4
fix(coding-agent): settle active turn before in-memory fork (#8937)
Fixes #8724

Co-authored-by: yaogangqiang <yaogangqiang@kanyun.com>
2026-09-01 10:58:20 +02:00
Armin Ronacher
c4b0e35abe feat(chord): keep services available during facet reloads 2026-09-01 10:47:08 +02:00
Armin Ronacher
7cf456aa1c feat: remove experimental compatibility shims 2026-09-01 10:09:01 +02:00
Armin Ronacher
fa5036836d feat: consolidate remote service adapters 2026-09-01 10:09:01 +02:00
Armin Ronacher
1a7bc80e7c feat: move service wire semantics into Chord
Keep protocol payloads transport-opaque and validate service calls, state snapshots, updates, and errors at Chord boundaries. Ensure successful OpenAI Responses messages remain strict JSON so terminal Transcript updates reach clients.
2026-09-01 00:53:40 +02:00
Armin Ronacher
fbf2db6353 fix: remove dead experimental protocol code 2026-08-31 19:23:56 +02:00
Armin Ronacher
86bac52f94 feat: add delta-backed replicated state
Track mutable provider state and publish immutable operation batches. Keep path codecs isolated per client subscription and state member.
2026-08-31 14:04:42 +02:00
Armin Ronacher
ae2cc5116f feat(coding-agent): replace lane RPC with Chord service 2026-08-31 12:52:25 +02:00
Armin Ronacher
abeb9e07f3 feat(coding-agent): reduce experimental test duplication 2026-08-31 01:38:28 +02:00
Armin Ronacher
8e374e4dc2 feat(coding-agent): tighten experimental service boundaries 2026-08-31 01:09:31 +02:00
Armin Ronacher
65f77ecd6f feat: make Chord facet generations collectible 2026-08-31 00:13:44 +02:00
Armin Ronacher
984846b785 feat(coding-agent): remove legacy session RPC facade
Route discovery, management, and prompting through Chord services. Retain low-level lane watches and reattach Radius clients through SessionManagement.
2026-08-31 00:13:43 +02:00
Mario Zechner
7731f1cfe2 fix(coding-agent): remove obsolete plugin app fixture 2026-08-30 23:36:39 +02:00
Armin Ronacher
d3697e65ca feat(coding-agent): simplify experimental services and CLI 2026-08-30 22:51:00 +02:00
Armin Ronacher
5245aba7c8 feat: simplify plugin facet lifecycle
Remove handshake-based facet delivery and host only the selected Session presentation branch. Simplify worker selection, startup options, package profiles, and serialized builds.
2026-08-30 22:36:30 +02:00
Armin Ronacher
429f4e756c feat: add package-based facet plugins
Bundle declarative plugin packages with Chord and load fresh generations. Scope client selections to persisted Session and TUI branches, and replace stale local server generations after protocol changes.
2026-08-30 22:05:12 +02:00
Armin Ronacher
0252dff886 feat: add bundled facet distribution and reload
Bundle content-addressed Chord facet entries, distribute server-selected presentation artifacts during the handshake, and reload Session and TUI generations through /reload.
2026-08-30 12:52:58 +02:00
Armin Ronacher
45d0174eed fix: harden Chord service lifecycle semantics 2026-08-30 01:00:26 +02:00
Armin Ronacher
024439d151 feat: clarify Chord remote service APIs 2026-08-29 21:43:01 +02:00
Armin Ronacher
1bf0de2144 feat: simplify Chord service APIs 2026-08-29 20:31:33 +02:00
Armin Ronacher
e6dc574d1b feat: isolate Chord context API 2026-08-29 20:01:32 +02:00
Armin Ronacher
4151e5754c feat: simplify Chord service instance API
Deliver observed services as ordinary typed proxies, expose optional instance-key lookup, and rename the deferred multi-instance capability to ServiceSpawner.
2026-08-29 18:24:18 +02:00
Armin Ronacher
34dc9d055a feat: move facet services into Chord
Move service, replicated-state, facet host, and loader ownership into the standalone Chord package. Migrate consumers and leave runtime JSON enforcement to serializers.
2026-08-29 14:55:51 +02:00
Armin Ronacher
28b49a6b3b feat: add Chord runtime foundation 2026-08-29 14:54:19 +02:00
David Brailovsky
58ea6c0ba5 Merge remote-tracking branch 'origin/main' into dev 2026-08-29 08:21:44 +00:00
Armin Ronacher
853a80d26c Add [Unreleased] section for next cycle 2026-08-28 23:56:06 +02:00
Armin Ronacher
b79e4cc834 Release v0.84.4 2026-08-28 23:56:03 +02:00
Armin Ronacher
bba6be972e docs: audit unreleased changelogs 2026-08-28 23:51:36 +02:00
Armin Ronacher
35c49350fd fix(coding-agent): reconnect after abnormal Radius closure 2026-08-28 22:22:10 +02:00
David Brailovsky
e54d45d119
docs(coding-agent): remove issue-specific regression test placement rule (#8775) 2026-08-28 16:39:28 +02:00
David Brailovsky
56700d42ed
fix(coding-agent): compact before post-tool model requests (#8782)
Run next-turn preparation only when the agent loop continues, allowing threshold compaction before the next provider request. Restore interactive progress when the same run resumes.

Closes #6879

Important to notice:
this changes when prepareNextTurn & prepareNextTurnWithContext are invoked:
the now run only when a next turn actually happens, and after shouldStopAfterTurn.
2026-08-28 13:40:59 +02:00
Cristina Poncela Cubeiro
35741a456d fix(coding-agent): restore client compatibility entrypoint 2026-08-28 13:31:05 +02:00
Cristina Poncela Cubeiro
758a0ee9b7 Merge branch 'main' into dev
# Conflicts:
#	packages/agent/CHANGELOG.md
#	packages/ai/scripts/generate-models.ts
#	packages/ai/src/providers/cloudflare-ai-gateway.ts
#	packages/ai/test/zai-coding-plan-models.test.ts
#	packages/coding-agent/src/modes/interactive/interactive-mode.ts
#	packages/tui/src/tui-alt-screen.ts
2026-08-28 13:19:43 +02:00
Armin Ronacher
fcbb0b3405 feat(coding-agent): add facet-based slash commands 2026-08-28 10:35:21 +02:00
Armin Ronacher
d4ce5d5a22 feat(agent,coding-agent): unify process-local service lifecycle 2026-08-28 10:08:19 +02:00
Armin Ronacher
f55da4a9df fix(coding-agent): allow exit while Radius reconnects 2026-08-28 09:38:19 +02:00
Armin Ronacher
1d0d110ab4 feat(coding-agent): connect experimental sessions through Radius 2026-08-28 02:09:53 +02:00
Armin Ronacher
b6c8797459 feat(coding-agent): share fullscreen TUI with experimental client
Reuse the stable renderer, viewport layout, theme detection, and terminal appearance updates. Keep successful operation status derived from replicated lane state.
2026-08-27 19:09:26 +02:00