Skip to content

feat: open new agent chats instantly and simplify agent selection - #175291

Merged
Patrick-Erichsen merged 197 commits into
mainfrom
agent-selector-creation-redesign
Oct 21, 2026
Merged

Patrick-Erichsen merged 197 commits into
mainfrom
agent-selector-creation-redesign

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

“New agent” used to send people into Crestodian. The agent selector also mixed creation with duplicate actions, while Claws discovery used a different layout from Plugins and built-in Pages appeared in an arbitrary order.

Summary

  • The selector now starts with Create new agent, then Show all and compact agent rows. Show all still shows sessions across agents. Each row’s settings gear appears on hover or focus and opens that agent’s settings without selecting it. The pin, search field, divider, tooltip, and redundant actions are removed.
  • Creation opens a name-and-Blobster dialog. Submitting it immediately enters the new agent’s chat and puts its provisional row first in the roster while durable creation proceeds. The Gateway verifies usable inference before persistence; failure leaves no agent. It saves a standard greeting, then the agent asks in ordinary chat text for one of four existing roles or a custom role. After the choice, the agent asks for a little detail about the user’s goal and continues normally. Every message remains in that agent’s chat; returning or reloading resumes it. Internal IDs remain out of visible labels.
  • The Agents overview and /agents route are removed. The Labs-gated /claws page contains discovery only and reuses the Plugins page’s search, category chips, and category-section components. Its header uses the shared page header, and the Claws icon suggests a group of agents. Built-in Pages sort alphabetically; dashboard and plugin entries keep their source order. Per-agent settings routes remain.
  • The creation path retains caller authority across its detached onboarding turn and reconciles uncertain creation responses before retrying. Focused fixture and memory repairs keep the broader CI coverage aligned with current main. Main’s worker-placement recovery repair, merged separately as #179448, is integrated into this head so its previously failing worker CI shard can run green.

Evidence

Before/after visual proof:

Agent selector before and after

Agents overview before and Claws discovery after

Agent creation at five seconds before and after

The real-speed creation recording shows creation, leaving and returning, and reload. Named-dialog and plain-text role-question proof shows the revised onboarding. Direct-Gateway walkthrough pairs the old Crestodian prompt with the new dialog, greeting, role question, detail follow-up, and top-of-roster persistence. Earlier measured real-Gateway runs changed new-chat visibility from 29,788 ms to 28 ms and first visible greeting from 51,015 ms to 28 ms; timing details distinguish provisional display from durable history.

The Claws before/after and Pages before/after captures use the same 1440 × 900 viewport. The screenshots and real-speed creation recording show the product-equivalent head 838e175eac5973c2eba47f08fe08e66f6121e693 on the isolated Tailnet Gateway: populated Claws category shelves, the named Blobster dialog, the saved greeting and plain-text role question, and the new agent first in the roster. Authenticated browser checks found no page errors. The new chat appeared in 274 ms and the saved greeting in 319 ms; the model-generated role question completed in 24.1 s.

On the current head dd2c95a4b50485d56192929aed8686445cab39c9, authenticated Gateway browser checks show the same Claws search, category shelves, selector order, and named Blobster dialog with no page errors. This last merge only reconciled two test conflicts with main; those plugin and assistant-panel suites pass 66/66. On the preceding product head, focused agent-creation and page-scope browser cases pass 4/4; dialog, pending-agent and selector/browser tests pass 12/12. UI and UI-test TypeScript, the controller ratchet, touched-file lint/format, and whitespace checks pass. The prior head’s real-WebSocket creator-authority integration passes 1/1 after removing its retired heartbeat fixture. Claws catalog browser coverage previously passed 7/7 across four viewport sizes, including search, category selection, and Add. The current head’s broad hosted CI and security review remain the merge gates.

Merge Danger

Door: Two-way. Reverting the UI and creation behavior does not delete agents or conversations; the greeting is an ordinary saved transcript message.

Blast Radius: Control UI navigation, agent creation/onboarding, and their focused fixtures. Review should pay particular attention to creator authority and existing-user upgrade behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui clawsweeper:intake:feature Preliminary submission classification; full source review pending. commands Command implementations docs Improvements or additions to documentation extensions: memory-core Extension: memory-core gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant