Skip to content

refactor: replace aether-lspd with clankerdiff-lspd - #633

Merged
jcarver989 merged 3 commits into
mainfrom
refactor/clankerdiff-lspd
Oct 29, 2026
Merged

jcarver989 merged 3 commits into
mainfrom
refactor/clankerdiff-lspd

Conversation

@jcarver989

@jcarver989 jcarver989 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

This PR replaces the in-repo aether-lspd crate with the external clankerdiff-lspd 0.8. The clankerdiff diff viewers use the same daemon, so the TUI and the upcoming desktop app can share one LSP daemon with the agent's MCP tools.

This is the first of three stacked PRs: lspd swap → client-core extraction → desktop app.

Changes

  • The LSP registry uses clankerdiff-lspd. LspRegistry keeps one client per WorkspaceKey, in a OnceLock, instead of one lazily locked slot per daemon socket. The LSP tools, the docs, and the fake LSP tests are updated to match.
  • The daemon is embedded in each host binary. aether, mcp-servers-stdio and (later in the stack) wisp and the desktop app call clankerdiff_lspd::run_if_requested() at the start of main. This replaces the hidden aether lspd subcommand.
  • New test: the agent exits when its client hangs up. acp_stdio checks that aether acp with an open session exits once stdin closes.
  • aether-lspd is removed. That means the crate, its nextest override, its README entry, and the CI steps that prebuilt it.
  • log is a workspace dependency. It is capped at release_max_level_info in release builds, like tracing.

Breaking changes

  • The aether-lspd crate and the aether lspd subcommand are removed.

The LSP daemon now lives in clankerdiff-lspd, shared with the
clankerdiff diff viewers. Binaries that may host the daemon call
`run_if_requested()` at startup instead of exposing a hidden `lspd`
subcommand.
Superseded by clankerdiff-lspd. CI no longer needs to prebuild the
daemon binary since every host binary embeds it.
zizmor now flags issue_comment as a dangerous trigger. The agent job
only runs for /aether comments from owners, members and collaborators.
@jcarver989
jcarver989 enabled stacked auto-merge (squash) October 29, 2026 23:39
stacked auto-merge was automatically disabled October 29, 2026 23:39

Replaced by a newer auto-merge request

@jcarver989
jcarver989 enabled stacked auto-merge (squash) October 29, 2026 23:39
stacked auto-merge was automatically disabled October 29, 2026 23:46

Auto-merge was disabled for another pull request in the stack

@jcarver989
jcarver989 enabled stacked auto-merge (squash) October 29, 2026 23:46
@jcarver989
jcarver989 merged commit e0a4125 into main Oct 29, 2026
17 checks passed
@jcarver989
jcarver989 deleted the refactor/clankerdiff-lspd branch October 29, 2026 23:51
jcarver989 added a commit that referenced this pull request Oct 29, 2026
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

- **clankerdiff 0.8.** Diff scopes are now diff targets, and the review
state gains LSP-backed lookups. The `acp_git_diff` test is updated for
the protocol rename.
- **`acp-utils` additions for frontends.**
  - Notices carry an `info`/`error` level.
- Compaction is reported as `Activity::Compacting` instead of a separate
`is_compacting()` flag.
  - `ToolCall` gains `headline()` and `changed_paths()`.
- `websocket::connect` maps a 409 handshake to `ConnectError::Occupied`.
  - Agents advertise `AetherCapabilities::git_diff`.
- **`FakeAgent` holds any request type.** `hold::<T>()` and
`held::<T>()` replace the per-request `hold_config` /
`hold_list_sessions` flags 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.
- **wisp runs on client-core.** Wisp's UI reads session state from
client-core instead of owning it, and wisp hosts the clankerdiff LSP
daemon so diff review lookups work. The internal modules are now plain
`pub` modules instead of being gated behind the `testing` feature with a
macro. The TUI test suite drives wisp through client-core's fakes.

## Breaking changes

- `acp-utils`: `ConversationContent::Notice` holds a `Notice { level,
text }`, and `Conversation::append_notice` takes a `NoticeLevel`.
`Conversation::is_compacting()` is replaced by `Activity::Compacting`.
- `acp-utils` testing: the `FakeAgent` hold flags and their request
channels are replaced by `hold::<T>()` and `held::<T>()`.
- Browser package: conversation snapshots no longer include
`compacting`, and a notice's `content` is an object with `level` and
`text`.
- `wisp::Session` and `wisp::run_with_session` are removed. Use
`client_core::connection::Connection` instead.
This was referenced Oct 27, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant