{"agent":"claude","input":"Move the 2nd gen Firebase functions in this repository from bare process.env reads to the params API. Read the root package.json and pnpm workspace, every functions/index.js under Node/ that reads process.env, the two samples that already use defineSecret and defineString, the READMEs and firebase.json of the samples you change, and the Jest sample's test first. Turn webhook URLs and API keys into defineSecret, counts into defineInt with their existing defaults and a bucket name into defineString with a description; bind each secret on every trigger that uses it and read values with .value() inside handlers only. Leave the reads of platform-set variables such as GCLOUD_PROJECT and FUNCTIONS_EMULATOR alone. Update each changed sample's README to use firebase functions:secrets:set and to explain the deploy-time prompt for string and integer params. Run each changed sample's lint script, add Jest tests with firebase-functions-test and a stubbed fetch that assert the webhook URL and body and that a missing secret fails at call time, run them, and open a pull request listing every variable and its new param type.","resources":[{"url":"https://github.com/your-org/your-app"}]}