Repository navigation
Fix 37 open issues and add agent layout styles - #56
Merged
Merged
Conversation
- Appearance: add an "Agent layout" setting (AgentStyleId: agente, cards, pills, spotlight, rail, accented, notebook, sheet, minimal) that changes how reads, edits, diffs, shell cards, thoughts and tasks are drawn in the Code transcript, with its styles in app.css and copy in en.json - Workspace: a dockable "session" pane; the bottom dock no longer runs under the right column, and its width divider is measured against the space it can actually take - Code surfaces (composer, live status, work block, step and thought rows, tasks/session panels, disclosure) follow the new layout styles; the project-controls store is folded into the workspace - Smoke tests updated for the new pane and layout
Core web_fetch / search - Resolve relative links against <base href> (#47); skip content roots under hidden ancestors (#52); fence code longer than any backtick run inside it (#53); lay rowspan/colspan cells on a grid (#46) - Read charset from the body only for HTML <meta> tags (#38); fit each part inside the registry's output caps so the advertised offset matches what was delivered (#35) - Pair DuckDuckGo Lite snippets with their own result row (#27) Agent loop / compaction - Summary is a user checkpoint, compaction repairs role order, and request-time reminders merge into one user turn (#4) - Shrink oversized recent and single-line tool results; scale the tokenizer gap with the compacted transcript (#5) - Only report normalization changes that happened; continue replies cut by the output limit (max 2) and nudge after an empty Length stop (#6) Runtime undo/redo - Anchor edit batches to their prompt so rewind survives compaction, and refuse a point inside the compacted part (#8); refuse rewinding over a hand edit made between turns (#9); only a missing file counts as absent (#10) TUI - Resuming a session open in another tab focuses that tab (#11); bind the delete confirmation to the session id it was armed on (#12) Desktop search and research - SearXNG keeps its base path (#51); Perplexity prefers structured citations (#50); per-provider base URLs (#29); Save and use cancels a pending autosave (#37); empty results keep an engine healthy (#36); timeouts and aborts cover the response body (#34) - Same-title pages on different hosts stay apart (#26); explicit queries are sent as typed (#31); Unicode-aware tokenizer (#32, partial); thin page reads never replace a fuller provider body (#42) - Crawler: hard read cap (#39), working embedding similarity (#40), keep trailing slashes (#43), keep paragraphs and fix the summarizer cutting the relevant late paragraph (#44), report omitted sources (#45) - Case-sensitive citation identity and full export URLs (#41); one source numbering across sub-queries (#54) Desktop Home / Code / RAG - Retry writes the reactive version and keeps sources per version (#48, #49); search results are tied to their query (#14); Code scrolls to the searched message (#13); steering checks input modalities (#19); a filename filter keeps every same-named candidate (#20)
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.
Summary
Two commits:
feat(desktop): agent layout styles, session pane, and workspace polish— UI work that was already in progress: an Appearance → "Agent layout" setting with nine transcript styles, a dockable session pane, and a fix so the bottom dock no longer runs under the right column.fix: resolve 32 open issues across core, runtime, TUI and desktop— every open issue was checked against the code, and all 48 are real. This PR fixes 37 and part of Desktop web search: Rank multilingual queries using Unicode-aware terms #32, each with a regression test except Home research: Retry can leave a finished answer stuck on the progress placeholder #48/Home research: Retried answers can cite sources from the previous version #49. (The commit title's "32" is a miscount.)Also: the model chooses search result counts (
c749f78)web.json.web_searchtakesmax_results(1–50) from the model; the depth's 8/12/18 is only the fallback. Home research no longer blocks further searches once it judges the evidence sufficient. Only the turn's tool budget and the loop guard bound it.What the fixes change
Core
web_fetch/ search<base href>resolves relative links (Core web_fetch: Relative links ignore the document base URL #47); a hidden article can't become the content root (Core web_fetch: A hidden article can replace all visible page content #52); code fences outlast any backtick run inside (Core web_fetch: Nested backticks can close extracted code blocks early #53);rowspan/colspancells keep their column (Core web_fetch: Merged table cells can put data under the wrong heading #46).<meta>tags, so JSON/text keep UTF-8 (Core web_fetch: Literal charset text can corrupt UTF-8 JSON and text responses #38).offsetcontinues from what was actually delivered (Core web_fetch: Following the advertised offset can skip unread page content #35).Agent loop / compaction
normalize_tool_messages_trackedonly reports real changes; replies cut byStopReason::Lengthare continued up to twice, and an empty Length stop gets a "smaller steps" note instead of an identical retry (Agent loop stops without continuation on StopReason::Length and recomputes tokens unnecessarily on every tool iteration #6).Runtime undo/redo
TUI
Desktop search and research
Desktop Home / Code / RAG
Notes for review
edits.rsbatches gainanchor/unresolvedand the history gainscompacted_floor, all#[serde(default)], so existing saved histories still load. The daemon accepts the compaction summary under either role, so sessions compacted before this change still work.[Earlier messages were compacted…]user note can now appear in stored history where compaction removed a turn.fetchWithRetrynow buffers the response body before returning (all callers read small JSON/text bodies), so the timeout covers the whole exchange.ChatSearchModal.sveltehad edits from both commits; the UI commit carries the pre-existing version and the fix commit carries Desktop: Conversation search can open a stale result after the query changes #14.#5's issue body on GitHub is truncated; the fix follows its title.Not fixed here
Real, but each needs its own design or cross-process change: #3, #17 (subagent lifecycle in Desktop), #18, #21–#24 (RAG/document indexing), #25 (computer-use lifecycle), #30 (research cancellation needs operation ids across IPC), #33 (search delivery redesign). #32 is partial: tokenization is Unicode-aware, but
scoreText's\bmatching is still ASCII-oriented.Testing
cargo check --workspace --tests: zero warnings.cargo test -p agente-core -p agente-runtime -p agente-tui -p agente-daemon: all pass (555 core lib tests, 387 TUI, 45 runtime, …).tests/unit/search-provider-fixes.test.js(new),tests/crawler/*.test.jsincl. newcrawler-budgets.test.js, search aggregator/cache/settings tests; renderer vitest specs for autosave, research artifacts and evidence numbering (new);svelte-checkclean apart from the pre-existing untrackedComposerAsk.spec.ts, which is not in this PR.Closes #4, closes #5, closes #6, closes #8, closes #9, closes #10, closes #11, closes #12, closes #13, closes #14, closes #19, closes #20, closes #26, closes #27, closes #29, closes #31, closes #34, closes #35, closes #36, closes #37, closes #38, closes #39, closes #40, closes #41, closes #42, closes #43, closes #44, closes #45, closes #46, closes #47, closes #48, closes #49, closes #50, closes #51, closes #52, closes #53, closes #54
Refs #32
🤖 Generated with Claude Code