{"agent":"claude","input":"Convert this SvelteKit app from JavaScript to TypeScript with strict mode. First list every .js file under src, the JSDoc types they already use, the svelte.config.js options and the scripts in package.json. Add src/app.d.ts declaring App.Locals for what hooks.server.js puts on locals, convert src/lib/api.js to a typed module with response types in src/lib/types.ts, then convert every +page.server.js, +page.js, +layout.server.js and hooks.server.js to .ts using satisfies with the generated $types, and add lang=\"ts\" to every component script with typed $props(). Replace jsconfig.json with a tsconfig.json that extends the generated one with strict on, add svelte-check and a check script, fix every error the compiler reports instead of widening types to any, and run the check, the build and the Prettier lint until all pass. Open a pull request that lists each file converted and each real bug the types found.","resources":[{"url":"https://github.com/your-org/your-app"}]}