Repository navigation
Swarm findings and one swarm view; model-chosen search result counts - #57
Merged
Merged
Conversation
…tting Settings -> Search had a "Target results" field (default 6) left over from the old Electron search. It fed plain chat search and was copied into the core's web.json, while the Home web_search tool ignored it and used a fixed 8/12/18 by depth. - Remove the field, its copy in every locale, `search.max_results` from the config types and defaults (an old saved value is deleted on load), and stop syncing it to the core. - Home `web_search` exposes `max_results` (1-50) to the model and uses what it asks for; the depth's 8/12/18 applies only when it gives none. The search engine takes the caller's count up to 50. - Home research no longer refuses a search once it judges the evidence sufficient: the model searches as much as it needs, bounded only by the turn's tool budget and the identical-call loop guard. - Core `web_search` describes `max_results` as the model's choice.
Swarm members can now talk to each other while they work. The board keeps a findings log; each card's subagent gets a `swarm` tool to post a finding (to everyone or to named cards) and read the cards and log, plus an inbox so posts reach working members at their next step. Cards that start later get the findings in their prompt, the lead sees the newest in every board result, and `board` `post` lets the lead broadcast a decision. Display: on Desktop a turn's swarm members draw as one SwarmBlock (a lane per card with status, role, model, activity, waits-for/feeds, then the newest findings) instead of the subagent tally, and the Board pane lists the whole log. Board cards drop their coloured rails and borders. In the TUI, member cards read as their card with what they feed and their newest finding, and /board shows findings under the columns.
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.
Brings two commits that landed on
fix/open-issuesafter #56 was merged.Swarm: shared findings and one view (e369d72)
Swarm members can now talk to each other while they work.
Board.findings, newest 200 kept).swarmtool for every card's subagent:posta finding to everyone or to named cards,readthe cards and the log. Each member also gets an inbox, so a post reaches the members still working at their next step without interrupting a model call. Cards that start later get the findings in their prompt.boardresult, andboardpostbroadcasts a decision or correction to the working members.SwarmBlockin the transcript (a row per card: status, id, title, role · model, activity, waits for / feeds, then the newest findings) instead of the subagent count line. The Board pane lists the full log; board cards lose their coloured rails and borders.c2 Title Role,· feeds c3,✎ c1 → c2 finding), and/boardshows the newest findings under the columns.Search (c749f78)
The model chooses how many search results to fetch; the results-count setting is gone.
Checks
cargo check --workspace --all-targets: zero warnings./boardfindings, Desktopswarm-lanes.spec.ts; the existing 72 core subagent tests still pass.svelte-check: clean for the touched files.🤖 Generated with Claude Code