From f82f2dbabd9e66b714f2b4f8a40447fe0c13e732 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Wed, 19 Aug 2026 06:13:16 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#89795) Co-authored-by: github-actions[bot] --- apps/desktop/src/app/contrib/dev/tour-demo.ts | 2 +- apps/desktop/src/app/settings/config-field.tsx | 8 +------- apps/desktop/src/lib/tour/engine.ts | 2 +- apps/desktop/vite.config.ts | 7 ++++++- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/apps/desktop/src/app/contrib/dev/tour-demo.ts b/apps/desktop/src/app/contrib/dev/tour-demo.ts index 943f02e6af..5161987c55 100644 --- a/apps/desktop/src/app/contrib/dev/tour-demo.ts +++ b/apps/desktop/src/app/contrib/dev/tour-demo.ts @@ -45,7 +45,7 @@ function demoSteps(): TourStep[] { { navigate: ARTIFACTS_ROUTE, selector: '[data-tour="page-tabs"]', - text: 'Here we are. This row filters what the page lists, with a live count beside each one. We\'ll take them in turn.', + text: "Here we are. This row filters what the page lists, with a live count beside each one. We'll take them in turn.", title: 'Artifacts, filtered' }, { diff --git a/apps/desktop/src/app/settings/config-field.tsx b/apps/desktop/src/app/settings/config-field.tsx index dc645d06ba..43d713ef6a 100644 --- a/apps/desktop/src/app/settings/config-field.tsx +++ b/apps/desktop/src/app/settings/config-field.tsx @@ -78,13 +78,7 @@ export function ConfigField({ // point at one setting (`[data-tour="field-model"]`) without hunting through // the section for an nth-child path. See lib/tour. const row = (action: ReactNode, wide = false) => ( - + ) // `fallback_providers` is a list of {provider, model} objects; the generic diff --git a/apps/desktop/src/lib/tour/engine.ts b/apps/desktop/src/lib/tour/engine.ts index ac5fb88780..4689b9559f 100644 --- a/apps/desktop/src/lib/tour/engine.ts +++ b/apps/desktop/src/lib/tour/engine.ts @@ -348,7 +348,7 @@ export function runTourEngine( const driver = holder.driver if (!driver || !driver.isActive()) { - return { error: "No tour is running — start one first.", success: false } + return { error: 'No tour is running — start one first.', success: false } } if (kind === 'next' && driver.isLastStep()) { diff --git a/apps/desktop/vite.config.ts b/apps/desktop/vite.config.ts index 7627a62c47..2d726ee2e0 100644 --- a/apps/desktop/vite.config.ts +++ b/apps/desktop/vite.config.ts @@ -164,7 +164,12 @@ export default defineConfig(({ command }) => ({ // session. It's pure ESM with no CJS deps, so serving it unoptimized is // free. Query and bare forms all listed — exclusion matches exact ids. optimizeDeps: { - exclude: ['driver.js', 'driver.js/dist/driver.js.iife.js', 'driver.js/dist/driver.js.iife.js?raw', 'driver.js/dist/driver.css?raw'] + exclude: [ + 'driver.js', + 'driver.js/dist/driver.js.iife.js', + 'driver.js/dist/driver.js.iife.js?raw', + 'driver.js/dist/driver.css?raw' + ] }, resolve: { alias: {