local helper = jarvis.context.command_path .. "\\_sysinfo.ps1" local cmd = string.format('powershell -NoProfile -ExecutionPolicy Bypass -File "%s" -Topic ram', helper) local res = jarvis.system.exec(cmd) local text = (res.stdout or ""):gsub("[\r\n]+$", "") if res.success and text ~= "" then jarvis.system.notify("Память", text) jarvis.log("info", text) jarvis.audio.play_ok() else jarvis.log("error", "ram info failed: " .. tostring(res.stderr)) jarvis.audio.play_error() end return { chain = false }