(hookName, action, message, data = {})
| 65 | // CITADEL_UI JSON consumers, and mirror the human-readable reason to stderr |
| 66 | // because some runtimes only surface stderr for blocking hooks. |
| 67 | function blockOutput(hookName, action, message, data = {}) { |
| 68 | hookOutput(hookName, action, message, data); |
| 69 | process.stderr.write(message.endsWith('\n') ? message : message + '\n'); |
| 70 | } |
| 71 | |
| 72 | function main() { |
| 73 | let input = ''; |
no test coverage detected