The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
style: apply prettier to the specs in this branch
M3gA-Minde8ee0f18ffb7
diff --git a/app/test/playwright/specs/settings-appearance-theme.spec.ts b/app/test/playwright/specs/settings-appearance-theme.spec.tsindex 7892abd70b..25b75cf54a 100644--- a/app/test/playwright/specs/settings-appearance-theme.spec.ts+++ b/app/test/playwright/specs/settings-appearance-theme.spec.ts@@ -1,6 +1,10 @@-import { expect, test, type Page } from '@playwright/test';+import { expect, type Page, test } from '@playwright/test';-import { bootAuthenticatedPage, dismissWalkthroughIfPresent, waitForAppReady } from '../helpers/core-rpc';+import {+ bootAuthenticatedPage,+ dismissWalkthroughIfPresent,+ waitForAppReady,+} from '../helpers/core-rpc';/*** Theme switching, asserted where it actually lands: on the document.@@ -26,8 +30,7 @@ const variant = (page: Page, label: string) =>page.getByLabel('Theme variant').getByText(label, { exact: true });/** A palette family tile in the grid. */-const family = (page: Page, name: string) =>- page.getByRole('button', { name, exact: true });+const family = (page: Page, name: string) => page.getByRole('button', { name, exact: true });/** What the document actually holds after a theme is applied. */function documentTheme(page: Page) {diff --git a/app/test/playwright/specs/settings-form-interaction.spec.ts b/app/test/playwright/specs/settings-form-interaction.spec.tsindex 9cec32200d..84f610deec 100644--- a/app/test/playwright/specs/settings-form-interaction.spec.ts+++ b/app/test/playwright/specs/settings-form-interaction.spec.ts@@ -1,6 +1,10 @@-import { expect, test, type Locator, type Page } from '@playwright/test';+import { expect, type Locator, type Page, test } from '@playwright/test';-import { bootAuthenticatedPage, dismissWalkthroughIfPresent, waitForAppReady } from '../helpers/core-rpc';+import {+ bootAuthenticatedPage,+ dismissWalkthroughIfPresent,+ waitForAppReady,+} from '../helpers/core-rpc';/*** Real keyboard interaction with settings text fields.diff --git a/app/test/playwright/specs/settings-navigation-panels.spec.ts b/app/test/playwright/specs/settings-navigation-panels.spec.tsindex 7e99127d9c..e4716dec5b 100644--- a/app/test/playwright/specs/settings-navigation-panels.spec.ts+++ b/app/test/playwright/specs/settings-navigation-panels.spec.ts@@ -1,4 +1,4 @@-import { expect, test, type Page } from '@playwright/test';+import { expect, type Page, test } from '@playwright/test';import { bootAuthenticatedPage, waitForAppReady } from '../helpers/core-rpc';@@ -50,10 +50,34 @@ const PANELS = [{ id: 'appearance', route: 'appearance', heading: 'Appearance', marker: 'font-size-slider' },{ id: 'privacy', route: 'privacy', heading: 'Privacy', marker: 'privacy-mode-options' },{ id: 'devices', route: 'devices', heading: 'Devices', marker: null, text: 'Pair iPhone' },- { id: 'security', route: 'security', heading: 'Security', marker: null, text: 'Retry keychain detection' },- { id: 'notifications', route: 'notifications', heading: 'Notifications', marker: null, text: 'Categories' },- { id: 'profiles', route: 'profiles', heading: 'Agent Profiles', marker: null, text: 'New profile' },- { id: 'agent-access', route: 'agent-access', heading: 'Agent OS access', marker: null, text: 'View approval history' },+ {+ id: 'security',+ route: 'security',+ heading: 'Security',+ marker: null,+ text: 'Retry keychain detection',+ },+ {+ id: 'notifications',+ route: 'notifications',+ heading: 'Notifications',+ marker: null,+ text: 'Categories',+ },+ {+ id: 'profiles',+ route: 'profiles',+ heading: 'Agent Profiles',+ marker: null,+ text: 'New profile',+ },+ {+ id: 'agent-access',+ route: 'agent-access',+ heading: 'Agent OS access',+ marker: null,+ text: 'View approval history',+ },// Sandbox is a desktop-only panel: in the web lane its body is the// desktop-only notice, not the Docker fields. Asserting what this build// actually renders, rather than what the Tauri build would.diff --git a/app/test/playwright/specs/settings-privacy-mode.spec.ts b/app/test/playwright/specs/settings-privacy-mode.spec.tsindex 412e601499..57123db5b7 100644--- a/app/test/playwright/specs/settings-privacy-mode.spec.ts+++ b/app/test/playwright/specs/settings-privacy-mode.spec.ts@@ -1,4 +1,4 @@-import { expect, test, type Page } from '@playwright/test';+import { expect, type Page, test } from '@playwright/test';import {bootAuthenticatedPage,@@ -148,9 +148,7 @@ test.describe('Privacy mode — selecting a posture reaches the core', () => {// false here and would make this assertion vacuous.const checked = await page.evaluate(() =>- Array.from(- document.querySelectorAll('[data-testid^="privacy-mode-option-"]')- ).filter(+ Array.from(document.querySelectorAll('[data-testid^="privacy-mode-option-"]')).filter(el =>el.getAttribute('aria-checked') === 'true' ||el.getAttribute('data-state') === 'checked' ||diff --git a/app/test/playwright/specs/settings-profiles-crud.spec.ts b/app/test/playwright/specs/settings-profiles-crud.spec.tsindex 9f0988df3c..c9f42a1ccb 100644--- a/app/test/playwright/specs/settings-profiles-crud.spec.ts+++ b/app/test/playwright/specs/settings-profiles-crud.spec.ts@@ -1,4 +1,4 @@-import { expect, test, type Page } from '@playwright/test';+import { expect, type Page, test } from '@playwright/test';import {bootAuthenticatedPage,@@ -43,7 +43,11 @@ async function coreProfiles(): Promise<{ profiles: Profile[]; activeId?: stringreturn { profiles: res.profiles ?? [], activeId: res.activeProfileId };}-const coreIds = async () => (await coreProfiles()).profiles.map(p => p.id).filter(Boolean).sort();+const coreIds = async () =>+ (await coreProfiles()).profiles+ .map(p => p.id)+ .filter(Boolean)+ .sort();async function openProfiles(page: Page) {await page.goto('/#/settings/profiles');@@ -55,8 +59,7 @@ async function openProfiles(page: Page) {}/** The list row for a profile, addressed by its visible name. */-const row = (page: Page, name: string) =>- page.locator('li').filter({ hasText: name }).first();+const row = (page: Page, name: string) => page.locator('li').filter({ hasText: name }).first();/** Remove a profile directly, so a test's own leftovers cannot leak forward. */async function deleteFromCore(id: string) {diff --git a/app/test/playwright/specs/settings-recovery-phrase-replace.spec.ts b/app/test/playwright/specs/settings-recovery-phrase-replace.spec.tsindex 0de316099c..dc8e53305f 100644--- a/app/test/playwright/specs/settings-recovery-phrase-replace.spec.ts+++ b/app/test/playwright/specs/settings-recovery-phrase-replace.spec.ts@@ -1,4 +1,4 @@-import { expect, test, type Page } from '@playwright/test';+import { expect, type Page, test } from '@playwright/test';import {bootAuthenticatedPage,@@ -98,9 +98,7 @@ async function ensureConfiguredWallet(page: Page) {// Wait on the CORE, not the DOM: the saved-note is transient and the panel// re-renders as the wallet lands.- await expect- .poll(async () => (await walletState()).configured, { timeout: 45_000 })- .toBe(true);+ await expect.poll(async () => (await walletState()).configured, { timeout: 45_000 }).toBe(true);}// Re-enter so the panel reads the now-configured status from a clean mount.