feat(08-02): add Generalist agent creation to onboarding wizard
- Third agentsApi.create() call with role: "general", name: "Generalist"
- metadata: { pendingSkillGroups: ["Creative"] } records Phase 11 intent
- Updated description text: mentions all 3 agents (PM, engineer, generalist)
- Placed BEFORE queryClient.invalidateQueries for clean ordering
This commit is contained in:
parent
64db17535f
commit
b00f36701f
1 changed files with 11 additions and 1 deletions
|
|
@ -108,6 +108,16 @@ export function OnboardingWizard() {
|
|||
runtimeConfig,
|
||||
});
|
||||
|
||||
// Step 4: Create Generalist agent (non-code work: copy, research, docs)
|
||||
await agentsApi.create(company.id, {
|
||||
name: "Generalist",
|
||||
role: "general",
|
||||
adapterType: "claude_local",
|
||||
adapterConfig,
|
||||
runtimeConfig,
|
||||
metadata: { pendingSkillGroups: ["Creative"] },
|
||||
});
|
||||
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: queryKeys.agents.list(company.id),
|
||||
});
|
||||
|
|
@ -145,7 +155,7 @@ export function OnboardingWizard() {
|
|||
</h1>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
Choose a project root directory. {VOCAB.appName} will set up a{" "}
|
||||
{VOCAB.ceo.toLowerCase()} and engineer to start working.
|
||||
{VOCAB.ceo.toLowerCase()}, engineer, and generalist to start working.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue