@mondaydotcomorg/atp-runtime
Version:
Runtime SDK injected into sandbox for Agent Tool Protocol
17 lines • 396 B
JavaScript
/**
* Global approval handler that must be set by the execution context
*/
let approvalHandler = null;
/**
* Initialize the approval system with a custom handler
*/
export function initializeApproval(handler) {
approvalHandler = handler;
}
/**
* Get the current approval handler
*/
export function getApprovalHandler() {
return approvalHandler;
}
//# sourceMappingURL=handler.js.map