{"agent":"claude","input":"Add cancellation handling to the money transfer workflow in this Temporal TypeScript project. Read src/workflows.ts, src/activities.ts, src/banking-client.ts, src/client.ts, src/worker.ts, src/shared.ts, the Mocha tests under src/mocha, package.json and .eslintrc.js first. In the workflow, distinguish a cancellation from a bank error with isCancellation; if the withdrawal already succeeded, run the refund activity inside CancellationScope.nonCancellable, then rethrow the cancellation so the execution ends cancelled; if nothing was withdrawn yet, just propagate; if the deposit already completed, return the result. Add src/cancel.ts and an npm script that cancels a workflow by id using the same envconfig connection as src/client.ts, and make src/client.ts report a CancelledFailure cause plainly. Add Mocha tests with TestWorkflowEnvironment that cancel during a retrying deposit and assert exactly one refund and a WorkflowFailedError with a CancelledFailure cause, cancel before withdrawal and assert no refund, and cancel after completion and assert the result is unchanged. Run npm run lint, npm run build and npm test, and open a pull request that explains the three cancellation windows.","resources":[{"url":"https://github.com/your-org/your-app"}]}