{"agent":"claude","input":"Add dark mode with a light theme and a toggle to this Tauri 2 + Vue 3 app. Read package.json, vite.config.ts, vitest.config.ts, src/assets/main.css, src/App.vue, src/components/GreetComponent.vue, src/store.ts, index.html, src-tauri/tauri.conf.json, src-tauri/src/lib.rs and the tests folder first. In main.css add @custom-variant dark (&:where(.dark, .dark *)) and turn every hard-coded gray rule into a light default with the current colours under dark:, and set color-scheme on html and .dark. Add a useTheme composable with a system, light or dark preference persisted in localStorage under theme; when the preference is system read the window theme with getCurrentWindow().theme() and subscribe with onThemeChanged, falling back to matchMedia when the Tauri API is absent; apply the result as a dark class on the html element and add an inline script in index.html that sets the class before first paint. Add src-tauri/capabilities/default.json for the main window with core:window:default and core:event:default. Add a ThemeToggle component using the mdi icons already configured and place it in App.vue. Write Vitest tests for the pure resolver and, with happy-dom and a per-file environment comment, for the class on the html element, mocking @tauri-apps/api/window. Run pnpm test, pnpm build and pnpm check, then open a pull request that shows both themes and lists the capability added.","resources":[{"url":"https://github.com/your-org/your-app"}]}