feat(FN-3553): improve agent creation with native shell connection and onbo
This merge adds a canonical in-dialog AI interview flow for agent onboarding (FN-3553), replacing the old wizard with a multi-step dialog that guides users through creating and reviewing agent prompts before spawning, plus tokenized typography fixes. It also introduces native shell connection handof Fusion-Task-Id: FN-3553
This commit is contained in:
@@ -370,14 +370,16 @@ The final `createAgent(...)` call always uses the latest values from these step-
|
||||
|
||||
### Experimental planning-style onboarding
|
||||
|
||||
When **Settings → Experimental Features → Planning-style Agent Onboarding** (`experimentalFeatures.agentOnboarding`) is enabled, clicking **New Agent** opens an AI-guided onboarding modal instead of jumping straight to the classic dialog.
|
||||
The **New Agent** dialog is the canonical launch point for agent creation.
|
||||
|
||||
- The onboarding flow asks clarifying questions using repo-aware context (existing agents + preset/template options).
|
||||
When **Settings → Experimental Features → Planning-style Agent Onboarding** (`experimentalFeatures.agentOnboarding`) is enabled, step 0 of the New Agent dialog includes an **AI Interview** entry point.
|
||||
|
||||
- The interview flow asks clarifying questions using repo-aware context (existing agents + preset/template options).
|
||||
- It generates a **draft** agent configuration summary (name/role/instructions and optional template or pattern provenance).
|
||||
- Clicking **Continue to agent form** hands that draft into the existing `NewAgentDialog` as a prefill for human review and edits.
|
||||
- The onboarding flow does **not** auto-create agents directly.
|
||||
- Clicking **Continue to agent form** applies that draft back into the same `NewAgentDialog` as a prefill for human review and edits.
|
||||
- The interview flow does **not** auto-create agents directly.
|
||||
|
||||
When `experimentalFeatures.agentOnboarding` is disabled, the original `NewAgentDialog` behavior remains unchanged and opens immediately from **New Agent**.
|
||||
When `experimentalFeatures.agentOnboarding` is disabled, the New Agent dialog still opens normally but the **AI Interview** entry point is hidden.
|
||||
|
||||
The dashboard provides quick-start presets for common agent roles. Each preset includes:
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ Features:
|
||||
- Run-level error indicator in **Agent detail → Runs** when a run has captured stderr; select it to open the same **Agent Error Details** modal
|
||||
- **Agent Error Details** shows full error text plus **Copy** and **Report on GitHub** actions
|
||||
- **Report on GitHub** opens a pre-filled issue draft with available context from where you launched it (surface plus agent metadata, and run/task IDs when available on that view)
|
||||
- Jump from agent activity to related task logs, and use onboarding/import flows when `experimentalFeatures.agentOnboarding` is enabled
|
||||
- Jump from agent activity to related task logs, and (when `experimentalFeatures.agentOnboarding` is enabled) launch **AI Interview** from inside the New Agent dialog
|
||||
|
||||
For full lifecycle behavior, runtime/heartbeat settings, and budgets, see [Agents guide](./agents.md).
|
||||
|
||||
|
||||
@@ -863,7 +863,7 @@ Common built-in dashboard flags include:
|
||||
- `todoView` (enables dashboard Todo View; see [Todo View](./todo-view.md))
|
||||
- `researchView`
|
||||
- `remoteAccess`
|
||||
- `agentOnboarding` (gates the planning-style New Agent onboarding flow in Agents view)
|
||||
- `agentOnboarding` (enables the **AI Interview** option inside the New Agent dialog)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user