Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

merge(images): integrate current main before publication

Jack3cd5e3e5edd7
diff --cc docs/adr/README.md
index ac6398788,75167f965..4293dffbe
--- a/docs/adr/README.md
+++ b/docs/adr/README.md
@@@ -330,5 -330,5 +330,6 @@@ Each ADR includes
| 0299 | [Subagent context budget and delegate compaction](0299-subagent-context-budget.md) | Accepted for implementation (amends ADR 0064; extends ADR 0062 / ADR 0279) |
| turn-process-and-thinking-display | [Turn process and thinking presentation](turn-process-and-thinking-display.md) | Accepted |
| provider-display-order | [Provider display order](provider-display-order.md) | Accepted |
+ | registry-header-variable-spelling | [Remote header variables accept the registry's `{name}` spelling](registry-header-variable-spelling.md) | Proposed |
| provider-system-certificates | [Desktop sidecar uses OS-trusted certificates](provider-system-certificates.md) | Accepted |
+| image-generation-capability | [Image generation as a configured Agent capability](image-generation-capability.md) | Accepted |
diff --cc docs/spec/06-delivery/04-e2e-test-plan.md
index f06ef8899,8802f17a2..89335766b
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@@ -14193,24 -14225,10 +14254,32 @@@ the latest destination. These assertion
- **Status**: Covered by the existing HTTP client integration fixture and a
focused component-render validation; no live IDA process required.
+### E2E-IMAGE-generation-and-editing
+
+- **Preconditions:** Built task candidate containing latest origin/main; isolated
+ host data directory, local image HTTP fixture, no production credentials.
- - **Steps:** Choose a model in Advanced, cancel and verify no change; save, replace
- and clear it through Settings. Generate same-prompt variants and distinct images,
++- **Steps:** Choose a model in Advanced, cancel and verify no change; save and
++ replace it through another provider's Advanced settings. Clear the binding via
++ the test settings API to verify recovery. Generate same-prompt variants and distinct images,
+ edit a generated image, inspect partial failures, then restart the host/session.
+ Attempt the tool in a durable Plan session and verify no HTTP request occurs.
+- **Expected:** One image binding persists without changing the chat default;
+ generated files, edit sources and transcript references survive restart.
+ Images render in chat; unconfigured errors navigate to AI settings.
+- **Specs:** 03-runtime/21-image-generation; 03-runtime/13-model-catalog-and-selection.
+- **Acceptance:** Configured image generation/editing, safe cancellation and persistence.
+- **Milestone:** Post-MVP.
+- **Status:** Automated by `scripts/e2e-image-generation.mjs` and
+ `scripts/e2e-image-generation-ui.mjs`; backend test uses real Rust/stdio/HTTP/files,
+ UI test uses real Chromium and production components with API-boundary fixtures.
+
+| Scenario | Acceptance | Specification | Automation |
+| --- | --- | --- | --- |
+| E2E-IMAGE-generation-and-editing | Image capability and recovery | 03-runtime/21-image-generation | Host and UI suites above |
+
+ #### E2E-CHAT-parenthesized-url: Complete URLs in user messages
+
+ - **Steps**: Send `https://en.wikipedia.org/wiki/React_(software)` in a user message and click its link. Repeat with the URL wrapped in prose parentheses, followed by a sentence-ending period, and followed immediately by another link or file reference.
+ - **Expected**: The complete URL, including `(software)`, opens the React software article. The outer prose closing parenthesis and sentence-ending punctuation after the URL parenthesis are not part of the link. Adjacent references remain independently clickable. Nested parentheses, query/fragment parentheses and percent-encoded parentheses remain intact.
+ - **Coverage**: `chat-links.test.mjs`; native desktop click-through with the normal browser destination.
+ - **Specs linked**: `04-ux/08-component-spec.md` §8.3.