Add a timeout to any agent tool call
========================================
const { withTimeout } = require("./with-timeout");
const result = await withTimeout(() => callSomethingSlow(), 5000);
// throws "Timed out after 5000ms" if callSomethingSlow() hasn't resolved by then

See demo.js for a runnable example of both a call finishing in time and one that times out.
