commands method
Returns the commands this provider contributes to the application.
Implementation
@override
List<ArtisanCommand> commands() => <ArtisanCommand>[
// Alpha-1.
DuskSnapCommand(),
DuskTapCommand(),
DuskScreenshotCommand(),
// Alpha-2 Step 11.
DuskInstallCommand(),
// Alpha-2 Step 12 (six standard verbs).
DuskTypeCommand(),
DuskScrollCommand(),
DuskWaitCommand(),
DuskHoverCommand(),
DuskDragCommand(),
DuskModalCommand(),
// Alpha-2 Step 21.
DuskDoctorCommand(),
// CLI symmetry pass: every E2E-driver MCP tool has a matching
// CLI command so the two surfaces expose identical capabilities.
// Seven verbs land alongside their pre-existing ext.dusk.*
// handlers + dusk_* MCP descriptors. dusk_evaluate intentionally
// stays MCP-only: magic_tinker (the dedicated REPL package) owns
// the actual evaluate-via-VM-Service implementation and ships
// `tinker --eval` as the CLI surface; duplicating it under
// `dusk:` would split the evaluate contract across two packages.
DuskNavigateCommand(),
DuskNavigateBackCommand(),
DuskGetRoutesCommand(),
DuskPressKeyCommand(),
DuskSelectOptionCommand(),
DuskCloseAppCommand(),
DuskFindCommand(),
// Step 3.4: network-idle waiter wired against
// TelescopeStore.pendingHttpCount via pendingHttpCountReader.
DuskWaitForNetworkIdleCommand(),
// Step 3.5: telescope readers + double-click + checkbox setter.
DuskConsoleCommand(),
DuskExceptionsCommand(),
DuskDblclickCommand(),
DuskSetCheckboxCommand(),
// Wave 4 Step 4.1: structured candidate list (Stagehand observe-once-
// act-many; no server-side LLM).
DuskObserveCommand(),
// Wave 4 Step 4.2: fused round-trip (mcp_flutter's
// `fmt_hot_reload_and_capture` pattern). Reload lives CLI-side
// because an in-isolate handler cannot reload itself.
DuskHotReloadAndSnapCommand(),
// P4 (Playwright parity): explicit focus management + right-click +
// triple-click + clear-text.
DuskFocusCommand(),
DuskBlurCommand(),
DuskClearCommand(),
DuskRightClickCommand(),
DuskTripleClickCommand(),
// Wave 4 Step 6+7 (CDP): device emulation commands.
DuskResizeCommand(),
DuskDeviceCommand(),
// D7: harness workarounds promoted to first-class commands.
// dusk:fill = focus + clear + type + settle + stale-retry in one call.
// dusk:reset_overlays = dismiss + Escape + Cancel-tap fallback.
DuskFillCommand(),
DuskResetOverlaysCommand(),
];