agentcash
Version:
Generic MCP server for calling x402-protected APIs with automatic payment handling
18 lines (17 loc) • 361 B
JavaScript
// src/cli/lib/context.ts
var context = {
verbose: false
};
function configureCliContext(options) {
if (options.verbose !== void 0) {
context.verbose = options.verbose;
}
}
function isVerbose() {
return context.verbose || process.env.X402_DEBUG === "true";
}
export {
configureCliContext,
isVerbose
};
//# sourceMappingURL=chunk-ITCDZXBZ.js.map