Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#89795)

hermes-seaeye[bot]f82f2dbabd9e
diff --git a/apps/desktop/src/app/contrib/dev/tour-demo.ts b/apps/desktop/src/app/contrib/dev/tour-demo.ts
index 943f02e6af8..5161987c55c 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 dc645d06ba3..43d713ef6a1 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) => (
- <ListRow
- action={action}
- data-tour={`field-${schemaKey}`}
- description={descriptionNode}
- title={label}
- wide={wide}
- />
+ <ListRow action={action} data-tour={`field-${schemaKey}`} description={descriptionNode} title={label} wide={wide} />
)
// `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 ac5fb887801..4689b9559ff 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 7627a62c47c..2d726ee2e05 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: {