@mondaydotcomorg/atp-runtime
Version:
Runtime SDK injected into sandbox for Agent Tool Protocol
15 lines • 514 B
JavaScript
import { PauseExecutionError } from './types.js';
export { PauseExecutionError, CallbackType, LLMOperation, EmbeddingOperation, ApprovalOperation, ToolOperation, } from './types.js';
/**
* Helper to create pause error
*/
export function pauseForCallback(type, operation, payload) {
throw new PauseExecutionError(type, operation, payload);
}
/**
* Check if error is a pause request
*/
export function isPauseError(error) {
return error instanceof PauseExecutionError;
}
//# sourceMappingURL=index.js.map