mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 10:58:10 +00:00
* Add Chat UI choice to onboarding and tailor agent tours * Add setup guide controls for Chat UI and Yolo permissions * Refresh native chat agents and improve surface radio controls - Re-read the host inventory alongside workspace refreshes, including WSL - Recognize downloaded, ready chat runtimes without a CLI on PATH - Standardize onboarding and checklist surface choices on accessible radio variants * Show full-access agent overrides in Yolo mode settings * Polish Chat UI onboarding and clarify terminal fallbacks - Group agents by launch surface and refresh selection previews - Add scroll-edge fades to reveal clipped onboarding content * Recognize ready custom Chat commands and nested scroll changes * Advance agent tour after selecting a new tab type * Install onboarding skills for selected chat providers - Route Chat UI setup to local provider-specific skill roots - Improve tour focus, Escape handling, and delayed target transitions * Keep split lesson while a new pane mounts; update renamed skill in test * Assert agentDefaultSurface in Chat UI onboarding e2e * Open the chosen Chat UI agent when a new project's default checkout opens * Make the onboarding chat preview match native chat - Soften the selected preview tile styling. - Accept a leading separator in dev:fresh arguments. * Fix scrolling in the onboarding agent step * Preserve initial working directory when opening empty workspaces Also check only remaining tour steps for unfinished actions. * Fix tour resumption after completed split steps
23 lines
743 B
TypeScript
23 lines
743 B
TypeScript
import { expect, type Page } from '@stablyai/playwright-test'
|
|
|
|
export async function chooseOnboardingAgentSurface(
|
|
page: Page,
|
|
surface: 'chat' | 'terminal' = 'terminal'
|
|
): Promise<void> {
|
|
await expect(
|
|
page.getByRole('heading', { name: 'How do you want to work with agents?', exact: true })
|
|
).toBeVisible({ timeout: 30_000 })
|
|
const option = page.getByRole('radio', {
|
|
name: surface === 'chat' ? /^Chat UI/ : /^Terminal/
|
|
})
|
|
await option.click()
|
|
await expect(option).toHaveAttribute('aria-checked', 'true')
|
|
await page
|
|
.locator('footer')
|
|
.getByRole('button', { name: /^Continue\b/ })
|
|
.click()
|
|
await expect(
|
|
page.getByRole('heading', { name: 'Pick your default agent', exact: true })
|
|
).toBeVisible()
|
|
}
|