   "tab_logs": "Logs"
            }
        };
        const countLines = (text) => {
            if (!text) return 0;
            return text.split('\n').filter(line => line.trim() !== '').length;
        };
        let callbackCounter = 0;
        function getUniqueCallbackName(prefix) {
            return `${prefix}_callback_${Date.now()}_${callbackCounter++}`;
        }
        function ksu_exec(command, options) {
            const ksuApi = typeof kernelsu !== 'undefined' ? kernelsu : (typeof ksu !== '