Repository navigation
refactor: extract aether-client-core from wisp - #634
Merged
Merged
Conversation
0.8 replaces diff scopes with diff targets and adds LSP-backed lookups to the review state, which the client-core extraction builds on.
- Notices carry an info/error level - Compaction is reported as `Activity::Compacting` instead of a separate flag - ToolCall exposes its headline and changed paths - `websocket::connect` maps a 409 handshake to `ConnectError::Occupied` - Agents advertise git diff support via `AetherCapabilities::git_diff` - FakeAgent holds any request type with `hold::<T>()` instead of per-request flags
Introduces aether-client-core, a UI-agnostic home for the ACP session state that wisp owned: connecting to an agent, reducing ACP events into session state, session config and model views, and the git review runtime. This lets a second frontend (the desktop app) share it.
Moves prompt composition (attachments, file index, completion tokens, prompt history and search, submission) and elicitation form state out of wisp so both frontends compose prompts and answer elicitations the same way.
Wisp now drives its UI from client-core's session state and runtime instead of owning them, and hosts the clankerdiff LSP daemon so diff review lookups work. The internal modules are public rather than gated behind the `testing` feature.
Session, runtime and git contract tests now live in client-core; the TUI suite drives wisp through client-core's fakes.
jcarver989
force-pushed
the
refactor/client-core
branch
from
October 29, 2026 23:38
ed83438 to
a0c0efc
Compare
jcarver989
enabled stacked auto-merge (squash)
October 29, 2026 23:39
stacked auto-merge was automatically disabled
October 29, 2026 23:46
Replaced by a newer auto-merge request
jcarver989
enabled stacked auto-merge (squash)
October 29, 2026 23:46
Closed
jcarver989
added a commit
that referenced
this pull request
Nov 2, 2026
## Why The `Wasm` check has been failing (shown as **Cancelled**) on `main` and every open PR since #634. The `FakeAgent` rewrite in #634 changed two behaviors the browser wasm tests depend on: 1. **User message ids are numbered per prompt** (`user-message-1`, `user-message-2`, ...). The tests still expected a fixed `"user-message"`, and every elicitation test asserts on it through `expect_turn_start()`, so 6 tests failed. 2. **Prompts sent mid-turn wait until the turn ends.** `a_prompt_during_a_turn_is_sent_to_the_agent` sent a second prompt while an elicitation was still unanswered. That prompt never resolved, and wasm-bindgen-test has no per-test timeout, so the runner hung until the job's 20-minute `timeout-minutes` cancelled it. The hang also stopped the failure details from ever printing. ## Changes - Expect the numbered message ids in `packages/aether-browser/tests/client.rs`. - In the mid-turn prompt test, answer the elicitation so the turn ends, then assert that the waiting prompt resolves as `user-message-2`. - Give the `Check and test wasm` CI step its own `timeout-minutes: 10`, so a hung test should fail that step instead of cancelling the job. ## Testing - `just wasm-check wasm-test` passes locally: 27 passed, 0 failed (0.19s). - The step-timeout behavior hasn't been tested yet.
Merged
jcarver989
pushed a commit
that referenced
this pull request
Nov 3, 2026
## 🤖 New release * `aether-utils`: 0.3.0 -> 0.3.1 * `aether-llm-codegen`: 0.2.34 -> 0.2.35 * `aether-llm`: 0.9.18 -> 0.9.19 * `aether-acp-utils`: 0.5.18 -> 0.5.19 * `aether-agent-core`: 0.9.9 -> 0.9.10 * `aether-project`: 0.5.63 -> 0.5.64 * `aether-sessions`: 0.3.18 -> 0.3.19 * `aether-mcp-servers`: 0.8.9 -> 0.8.10 * `aether-client-core`: 0.0.1 -> 0.1.0 * `aether-wisp`: 0.7.19 -> 0.7.20 * `aether-agent-cli`: 0.9.20 -> 0.9.21 * `aether-schemas`: 0.3.0 -> 0.3.1 * `aether-auth`: 0.1.20 -> 0.1.21 * `aether-mcp-utils`: 0.7.16 -> 0.7.17 * `aether-telemetry`: 0.3.18 -> 0.3.19 * `aether-evals`: 0.5.0 -> 0.5.1 <details><summary><i><b>Changelog</b></i></summary><p> ## `aether-utils` <blockquote> ## [0.3.1](aether-utils-v0.3.0...aether-utils-v0.3.1) - 2026-11-03 ### Added - *(desktop)* browse repository files and open where tools worked ([#637](#637)) - add aether-desktop gpui client ([#635](#635)) </blockquote> ## `aether-llm-codegen` <blockquote> ## [0.2.35](aether-llm-codegen-v0.2.34...aether-llm-codegen-v0.2.35) - 2026-11-03 ### Added - add gpt-6.1-terra to codex subscription models ([#642](#642)) </blockquote> ## `aether-llm` <blockquote> ## [0.9.19](aether-llm-v0.9.18...aether-llm-v0.9.19) - 2026-11-03 ### Added - add gpt-6.1-terra to codex subscription models ([#642](#642)) - ACP native subagents ([#627](#627)) ### Other - Update models ([#638](#638)) - Update models ([#628](#628)) </blockquote> ## `aether-acp-utils` <blockquote> ## [0.5.19](aether-acp-utils-v0.5.18...aether-acp-utils-v0.5.19) - 2026-11-03 ### Added - *(desktop)* browse repository files and open where tools worked ([#637](#637)) - ACP native subagents ([#627](#627)) ### Other - extract aether-client-core from wisp ([#634](#634)) </blockquote> ## `aether-agent-core` <blockquote> ## [0.9.10](aether-agent-core-v0.9.9...aether-agent-core-v0.9.10) - 2026-11-03 ### Added - ACP native subagents ([#627](#627)) </blockquote> ## `aether-project` <blockquote> ## [0.5.64](aether-project-v0.5.63...aether-project-v0.5.64) - 2026-11-03 ### Other - update Cargo.toml dependencies </blockquote> ## `aether-sessions` <blockquote> ## [0.3.19](aether-sessions-v0.3.18...aether-sessions-v0.3.19) - 2026-11-03 ### Added - add aether-desktop gpui client ([#635](#635)) - ACP native subagents ([#627](#627)) </blockquote> ## `aether-mcp-servers` <blockquote> ## [0.8.10](aether-mcp-servers-v0.8.9...aether-mcp-servers-v0.8.10) - 2026-11-03 ### Added - add gpt-6.1-terra to codex subscription models ([#642](#642)) - *(desktop)* browse repository files and open where tools worked ([#637](#637)) - ACP native subagents ([#627](#627)) ### Other - replace aether-lspd with clankerdiff-lspd ([#633](#633)) </blockquote> ## `aether-client-core` <blockquote> ## [0.1.0](aether-client-core-v0.0.1...aether-client-core-v0.1.0) - 2026-11-03 ### Added - *(desktop)* browse repository files and open where tools worked ([#637](#637)) ### Other - extract aether-client-core from wisp ([#634](#634)) </blockquote> ## `aether-wisp` <blockquote> ## [0.7.20](aether-wisp-v0.7.19...aether-wisp-v0.7.20) - 2026-11-03 ### Added - *(desktop)* browse repository files and open where tools worked ([#637](#637)) - ACP native subagents ([#627](#627)) ### Other - extract aether-client-core from wisp ([#634](#634)) </blockquote> ## `aether-agent-cli` <blockquote> ## [0.9.21](aether-agent-cli-v0.9.20...aether-agent-cli-v0.9.21) - 2026-11-03 ### Added - add gpt-6.1-terra to codex subscription models ([#642](#642)) - *(desktop)* browse repository files and open where tools worked ([#637](#637)) - ACP native subagents ([#627](#627)) ### Other - extract aether-client-core from wisp ([#634](#634)) - replace aether-lspd with clankerdiff-lspd ([#633](#633)) </blockquote> ## `aether-schemas` <blockquote> ## [0.3.1](aether-schemas-v0.3.0...aether-schemas-v0.3.1) - 2026-11-03 ### Other - update Cargo.lock dependencies </blockquote> ## `aether-auth` <blockquote> ## [0.1.21](aether-auth-v0.1.20...aether-auth-v0.1.21) - 2026-11-03 ### Other - updated the following local packages: aether-utils </blockquote> ## `aether-mcp-utils` <blockquote> ## [0.7.17](aether-mcp-utils-v0.7.16...aether-mcp-utils-v0.7.17) - 2026-11-03 ### Other - updated the following local packages: aether-utils, aether-auth </blockquote> ## `aether-telemetry` <blockquote> ## [0.3.19](aether-telemetry-v0.3.18...aether-telemetry-v0.3.19) - 2026-11-03 ### Other - updated the following local packages: aether-utils, aether-llm, aether-agent-core </blockquote> ## `aether-evals` <blockquote> ## [0.5.1](aether-evals-v0.5.0...aether-evals-v0.5.1) - 2026-11-03 ### Other - updated the following local packages: aether-utils, aether-llm, aether-agent-core </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: contextbridge-pr-automation[bot] <259134118+contextbridge-pr-automation[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moves the ACP session logic out of wisp into a new UI-agnostic crate,
aether-client-core. A second frontend (the desktop app, in the next PR) can then reuse it instead of copying wisp's internals.Second of three stacked PRs. It is based on #633.
Changes
acp_git_difftest is updated for the protocol rename.acp-utilsadditions for frontends.info/errorlevel.Activity::Compactinginstead of a separateis_compacting()flag.ToolCallgainsheadline()andchanged_paths().websocket::connectmaps a 409 handshake toConnectError::Occupied.AetherCapabilities::git_diff.FakeAgentholds any request type.hold::<T>()andheld::<T>()replace the per-requesthold_config/hold_list_sessionsflags and channels.aether-client-core. It holds the connection, the ACP event reducer, the session config and model views, the git review runtime, the composer (attachments, file index, completion tokens, prompt history and search, submission) and elicitation forms. It also has its own test suite, including the real-vs-fake git contract tests that used to live in wisp.pubmodules instead of being gated behind thetestingfeature with a macro. The TUI test suite drives wisp through client-core's fakes.Breaking changes
acp-utils:ConversationContent::Noticeholds aNotice { level, text }, andConversation::append_noticetakes aNoticeLevel.Conversation::is_compacting()is replaced byActivity::Compacting.acp-utilstesting: theFakeAgenthold flags and their request channels are replaced byhold::<T>()andheld::<T>().compacting, and a notice'scontentis an object withlevelandtext.wisp::Sessionandwisp::run_with_sessionare removed. Useclient_core::connection::Connectioninstead.