UI 优化,文档更新

This commit is contained in:
YuleBest committed 2026-04-03 09:06:33 +08:00
1 parent c5e3bb9e27
commit fe4a201049
20 files changed
+857 -223

No files matched your search

+1
View File
@@ -2,3 +2,4 @@ node_modules/
dist/
.vite/
*.log
*.zip
+15 -32
View File
@@ -1,12 +1,12 @@
------------ 🌸🌸🌸 ------------
嗨~亲爱的伙伴!感谢你选择本喵的【日常屏幕亮度强化】ฅ^•ﻌ•^ฅ
嗨~亲爱的伙伴!感谢你选择本喵的【日常屏幕亮度强化 (LuminPro V2.1)】ฅ^•ﻌ•^ฅ
本喵会努力帮你让屏幕更亮更清晰,但为了守护你和设备的安全,请花几分钟认真阅读以下内容哦~
------------ 🐾【使用约定】🐾 ------------
1. 授权小贴士
本喵由Yule精心开发,你可以自由使用、修改和分享喵~
本喵由 Yule 精心开发,你可以自由使用、修改和分享喵~
但请遵守法律法规,并保留本喵的版权小尾巴(开发者信息不能删掉哦!(๑>ᴗ<๑))
2. 免责小贴士
@@ -18,50 +18,33 @@
使用前请默念三遍:「我接受这些可能性!」
🔸 卡顿警告:亮度过高时,设备可能会累到「卡成PPT」!
🔸 发热警告:屏幕努力发光时,设备可能会变成暖宝宝🔥
🔸 黑屏警告:亮度调太高,屏幕可能生气「罢工黑脸」哦!
🔸 屏幕衰老:长期高亮度会让屏幕「提前长皱纹」甚至烧屏呢(T▽T)
🔸 电量告急:亮闪闪的代价是电量咻咻掉~记得随身带充电宝!
🔸 屏幕衰老:长期高亮度会让屏幕「提前长皱纹」呢(T▽T)
4. 急救包准备
为了防止设备「突然躺平」,请提前:
✅备份重要数据 ✅学会恢复模式操作 ✅准备好救砖工具
(就像出门前带伞,有备无患呀~)
5. 终极警告
禁止长时间「亮度全开」!过度使用可能导致硬件永久损伤,
本喵会心疼的!(。•́︿•̀。)
------------ 🌼【使用小窍门】🌼 ------------
1. 亮度模式二选一
🔹 温柔模式(分步提升):适合性能较弱设备,减少压力~
🔹 直球模式(线性提升):性能强劲设备可选,效果更直接!
1. 原生底层监听
本喵 V2.1 起已进化为 inotifyd 事件驱动,~零后台耗电,只有你滑亮屏幕时才会默默出力!
2. 自定义亮度秘籍
编辑`CONFIG.prop`文件即可调整亮度范围,
但别贪心调太高哦!(๑•̀ㅂ•́)و✧
2. KernelSU WebUI 支持
告别繁琐的配置文件修改!你只需在 KernelSU 管理器中点击模块配置,即可可视化调整「前台触发亮度」、「峰值亮度」和「休眠时间」。
3. 时间管理大师
可选设置「亮度工作时间表」,避免深夜突然亮瞎眼!🌙
3. 平滑亮度过渡
亮度提升已经过精心打磨,提供 50 步毫秒级顺滑过渡,保护眼睛绝不突兀。(๑•̀ㅂ•́)و✧
4. 温度安全区
请在10°C~35°C环境使用,太冷太热都会让设备「闹脾气」!
4. 时间管理大师
配置 WebUI 中的「休眠时间」(如 1900-0600),夜间不瞎眼,保证睡眠质量!🌙
5. 定期摸摸头
使用中记得检查设备:
🤒是否发烫? 🔋电量是否健康? 🖥️屏幕状态正常吗?
发现异常请立刻暂停使用,并及时调整设置呀!
5. 温度安全区
请在10°C~35°C环境使用,太冷太热都会让设备「闹脾气」!使用中记得检查设备发热和电量状况。
------------ 🌟【最后的小星星】🌟 ------------
本喵的使命是让你的屏幕更清晰明亮,
但风险与效果并存,请务必做好权衡与准备~
虽然本喵在努力优化兼容性,
但无法保证适配所有设备(对手指)(´・ω・`)
遇到问题欢迎到社区反馈,
我会摇着尾巴努力帮你解决的!
遇到问题欢迎通过 WebUI 面板查看运行日志,
我会摇着尾巴努力帮你解决遇到的问题!
感谢你的包容与支持,一起加油吧!ヾ(≧∇≦)ヾ
------------ 🌸🌸🌸 ------------
+31 -58
View File
@@ -1,78 +1,51 @@
<div align="center">
# 日常屏幕亮度强化
# 日常屏幕亮度强化 (LuminPro)
中文简体 丨 [English](https://github.com/YuleBest/LuminPro/blob/main/README_en.md)
让你的 Android 设备随时可以使用激发亮度显示屏幕内容
让你的 Android 设备随时可以使用高亮度显示屏幕内容
*基于 KernelSU WebUI + 事件驱动架构*
</div>
## 模块介绍
本模块旨在让你的 Android 设备随时可以使用激发亮度显示屏幕内容。无论设备当前亮度如何,只要满足设定条件,模块便会自动提升屏幕亮度至最高状态,确保你在任何情况下都能获得清晰的显示效果。
本模块旨在让你的 Android 设备随时可以使用高亮度显示屏幕内容。无论设备当前亮度如何,只要满足设定的前台触发亮度条件,模块便会自动且平滑地提升屏幕亮度至硬件支持的峰值状态,确保你在强光室外也能获得清晰的显示效果。
## 功能特点
- **自定义亮度参数**
用户可以在 `CONFIG.prop` 文件中设置自定义参数:
- `custom_thr_bri`:自定义阈值亮度,可不设置,默认为测得的 `FDBRI`。当当前亮度等于该值时,模块会考虑提升亮度。
- `custom_max_bri`:自定义最大亮度,可不设置,默认为测得的 `MAXBRI`。达到该亮度后屏幕显示内容将更加清晰明亮。
## V2.1 核心特性一览
- **亮度平滑提升**
模块支持两种亮度提升模式:
- **模式 1**:直接将屏幕亮度从阈值提升到最大亮度,适用于需要迅速激发屏幕亮度的场景。
- **模式 2**:采用分步提升的方式,利用设定的步数平滑过渡到最大亮度,带来更平滑的视觉体验。
- **零耗电的底层监听 (inotifyd)**
彻底告别传统的死循环和轮询检测耗电。LuminPro 全新采用底层的 `inotifyd` 事件驱动架构,仅在屏幕亮度文件发生修改的瞬间响应,最大程度节省你的设备电量。
- **动态参数更新**
每个循环周期开始前,模块都会重新加载配置文件,允许用户实时更新参数,无需重启设备即可生效,确保亮度调节始终符合用户需求。
- **现代化的 KernelSU WebUI 参数配置**
不再需要手动修改枯燥的 `CONFIG.prop` 文本文件!打开 KernelSU 管理器的模块设置,你可以在舒适的暗色可视化面板中实时调节各项亮度参数:
- `前台最大亮度`:触发亮度提升的源阈值。
- `峰值最大亮度`:亮度触发后提升到的极致目标值。
- **休眠时间规则**
可通过配置 `sleep_start` 和 `sleep_stop` 参数来设定自动亮度调整的休眠时段,避免在夜间或特定时段内打扰用户。
- **护眼级平滑亮度提升**
亮度瞬间跃升不仅刺眼,还十分突兀——我们为你设计了专属的高刷新率 50 步亮度微调顺滑过渡算法,让屏幕提亮效果更显柔和。
- **日志记录与管理**
模块详细记录每次亮度调整过程及状态信息,日志超过一定大小时会自动归档,并管理归档文件数量,方便问题排查和维护。
- **勿扰休眠时段**
在 WebUI 中随时指定休眠时间段(例如 `1900-0600`)。在设定的夜间休息时间内,模块服务将静默休眠,不再打扰你的睡眠。
- **实时掌控模块状态**
支持通过前端面板直接获取监控系统的核心参数,包含了当前界面的实时亮度、底层拉起的在运行 PID 服务状态,并可以随时抓取详细的运行日志供开发者分析。
## 模块工作流程
1. **启动与初始化**
- 模块启动后加载自定义参数与默认值(如 `FDBRI`、`MAXBRI` 等)。
- 初始化日志文件和模块描述信息,为后续操作做好准备。
2. **配置更新 (`CONFIG_UPDATE`)**
- 每个循环前重新加载 `CONFIG.prop` 文件。
- 检查自定义参数是否有效,若无效则恢复使用默认值。
- 校正其他关键参数(如 `boost_wait_time`、`flash_wait_time`、`bri_update_mode`)。
3. **亮度调整算法**
- 根据当前亮度与设定阈值比较,确定是否需要提升亮度。
- 根据配置选择直接或分步提升到最大亮度,确保屏幕内容始终清晰可见。
4. **亮度检查 (`BRI_CHECK`)**
- 检测当前屏幕亮度是否低于预设阈值。
- 根据休眠时段规则决定是否执行亮度提升操作。
5. **主循环**
- 模块在启动后等待设定时间进入主循环,周期性检测屏幕亮度。
- 当检测到亮度不足且不在休眠时段内时,立即执行亮度提升操作,确保屏幕内容始终以激发亮度展示。
6. **日志管理 (`log_cleaner`)**
- 当日志文件超过 100000 字节时自动归档日志。
- 保持归档日志数量在限制范围内,自动删除最旧日志文件,保障日志管理高效运行。
## 配置说明
请编辑模块目录下的 `CONFIG.prop` 文件,主要配置项如下:
- `custom_thr_bri`:自定义阈值亮度,低于此值时将自动提升亮度。
- `custom_max_bri`:自定义最大亮度,提升后的目标亮度。
- `boost_wait_time`:模块启动后等待的秒数,然后开始主循环检测亮度。
- `flash_wait_time`:每次主循环之间的等待时间。
- `bri_update_mode`:亮度提升模式,取值 `1`(直接提升)或 `2`(分步提升)。
- `step_num`:在分步提升模式下,设置分步的数量。
- `sleep_start` 和 `sleep_stop`:设置自动亮度调整的休眠时段(小时),在该时段内模块不执行亮度提升操作。
1. **安装期自定义校准**
- 通过音量键互动脚本,主动测定你设备通用的 `前台亮度阈值` 及 `硬件峰值亮度`,同时支持无缝继承旧版设定的配置以跳过多余校准。
2. **事件监听阶段**
- 启动完毕后,`inotifyd` 会作为背景挂起精准监控屏幕亮度的物理底层节点文件变动。
3. **防抖与步进调整机制**
- 取代了早期版本的参数紊乱,当前在用户手动横滑亮度控制条停止响应后,算法会经过安全延时后计算准确的终点步进结果点亮屏幕。
## 安装方法
1. 安装模块。
2. 重启设备以激活模块。
3. 如需调整参数,请编辑模块内的 `CONFIG.prop` 文件,保存后模块将在下一个循环自动加载新配置。
1. 在支持 WebUI 标准的管理器环境框架下安装本模块的 ZIP 包。
2. 在音量键安装向导中进行简单的第一步初始化按键确认校准(如果已有旧版配置按音量加直接跳过即可)。
3. 重启设备生效。
4. 如需调整参数,只需在管理器中进入模块设置页面进行更改,点击保存**立即生效**。
## 注意事项
- 修改配置参数时,请确保数值合理,避免因错误配置导致屏幕亮度异常。
- 若遇到问题,可通过查看模块目录下的 `service.log` 日志文件来排查原因,或运行 `feedback.sh` 后根据提示反馈。
- **长亮降频与烧屏警告**:长期处于高压力的激发峰值亮度,将指数级增加设备的耗电与发热水平,可能会导致设备卡顿并不可逆转地增加 OLED 屏幕烧屏老化几率。
- 请确保写入参数数值为你的设备安全范围内的数据,避免超出你硬件屏幕能承受的上限。
- 只有确保你在完全理解高亮度带来的体验和危害下,方可能长期启用。功能出现阻断或者其他 BUG 时,请自行保存 WebUI 日志通过社区回馈解决。
+32 -59
View File
@@ -1,78 +1,51 @@
<div align="center">
# Lumin Pro
# LuminPro
[中文简体](https://github.com/YuleBest/LuminPro/blob/main/README.md) 丨 English
Enable your Android device to display content at boosted brightness anytime
*Based on KernelSU WebUI + Event-Driven Architecture*
</div>
## Module Introduction
This module aims to allow your Android device to utilize boosted brightness for screen content display at any time. Regardless of the current brightness level, the module will automatically elevate screen brightness to its maximum state when configured conditions are met, ensuring clear visibility in all scenarios.
This module allows your Android device to constantly utilize boosted brightness for screen content display. When manually adjusting brightness over a designated threshold limit, the module automatically and smoothly elevates the screen brightness parameter to its maximum hardware-driven state, ensuring clear readability even in strong outdoor daylight.
## Features
- **Customizable Brightness Parameters**
Configure via `CONFIG.prop`:
- `custom_thr_bri`: Custom threshold brightness (optional, defaults to measured `FDBRI`). Triggers brightness boost when current brightness matches this value.
- `custom_max_bri`: Custom maximum brightness (optional, defaults to measured `MAXBRI`). Ensures optimal screen clarity.
## V2.1 Core Features
- **Smooth Brightness Transition**
Two brightness boost modes:
- **Mode 1**: Instant boost from threshold to maximum brightness for urgent scenarios.
- **Mode 2**: Step-by-step brightness increase for smoother visual transitions.
- **Zero Drain Background Monitoring (inotifyd)**
Say goodbye to infinite loops and heavy active polling overhead. LuminPro natively utilizes an event-driven `inotifyd` listener to respond *only* when the brightness sysfs node alters, fundamentally preserving your device's overall battery life.
- **Dynamic Parameter Updates**
Configuration reloads automatically before each loop cycle. Real-time parameter adjustments take effect without rebooting.
- **Modernized KernelSU WebUI**
No more manual text editing in generic config files! Simply tap the module settings inside your KernelSU manager to seamlessly adjust options directly in a tailored Dark Mode interface:
- `Foreground Max Brightness`: The original UI threshold dragging point that initiates the brightness boost.
- `Peak Maximum Brightness`: The extreme and ultimate targeted hardware brightness your screen will soar to.
- **Sleep Time Rules**
Configure `sleep_start` and `sleep_stop` to disable automatic brightness adjustments during specified nighttime/quiet hours.
- **Smooth Step Transitions**
Abrupt, rigid jumps in brightness ruin visual coherence. LuminPro operates via an embedded millisecond-level, 50-step computation curve that scales backlight inputs naturally and sequentially.
- **Logging & Management**
Detailed operation logs with automatic archiving. Maintains log size limits and manages archive files for efficient troubleshooting.
- **Sleep & Quiet Hours**
You do not need a blinding torch in bed. Tweak quiet night hours (e.g., `1900-0600`) locally via the WebUI. During your configured timeframe, the module enters a silent hibernation ensuring your retinas and sleep remain undisturbed.
## Workflow
1. **Initialization**
- Load custom/default parameters (e.g., `FDBRI`, `MAXBRI`).
- Initialize log files and module descriptors.
- **Live Status & Direct Logs Dashboard**
Capture crucial runtime performance status at a glance. Attain realtime active backlight parameters, executing daemon service PIDs, and direct service logs dynamically straight from the integrated UI.
2. **Configuration Update (`CONFIG_UPDATE`)**
- Reload `CONFIG.prop` before each cycle.
- Validate parameters; revert to defaults if invalid.
- Adjust critical parameters (`boost_wait_time`, `flash_wait_time`, `bri_update_mode`).
## Operations Workflow
1. **Initial Calibration Setup**
- Employs minimal physical volume-key prompts during ZIP installation to read and memorize your device’s specific maximum limitations. Users upgrading smoothly bypass calibration logic if previous files are preserved.
2. **Event Tracking Mode**
- Submits a background `inotifyd` observer attaching safely without looping variables toward the standard Android illumination logic path.
3. **Debounce Optimization Engine**
- Interacting with display slider changes will safely debounce over sub-second timers, avoiding computational race-conditions. It acknowledges exactly where your sliding ends prior to activating iterative hardware boosts.
3. **Brightness Adjustment Algorithm**
- Compare current brightness with threshold.
- Apply direct/stepwise boost based on configuration.
## Quick Installation Instructions
1. Flash the packaged module ZIP directly through any framework manager backing WebUI specification features.
2. Walk through standard volume physical key verification presses (you may easily skip recalibrations extending old module environments by just pressing Volume+).
3. Soft reboot to engage operations.
4. If parameters or constraints require tweaking, manipulate values across the internal interface view. All operations are **persisted instantly**.
4. **Brightness Check (`BRI_CHECK`)**
- Detect if current brightness falls below threshold.
- Honor sleep time rules before boosting.
5. **Main Loop**
- Wait `boost_wait_time` after startup, then periodically check brightness.
- Execute brightness boost when conditions are met (outside sleep hours).
6. **Log Management (`log_cleaner`)**
- Archive logs exceeding 100,000 bytes.
- Retain up to 5 archived logs; auto-delete oldest files.
## Configuration
Edit `CONFIG.prop` in the module directory:
- `custom_thr_bri`: Brightness threshold for triggering boost.
- `custom_max_bri`: Target maximum brightness.
- `boost_wait_time`: Delay (seconds) before initial brightness check.
- `flash_wait_time`: Interval (seconds) between brightness checks.
- `bri_update_mode`: `1` (instant boost) or `2` (stepwise boost).
- `step_num`: Number of steps for Mode 2.
- `sleep_start`/`sleep_stop`: Quiet hours in 24h format (e.g., `23-7`).
## Installation
1. Install the module.
2. Reboot device to activate.
3. Edit `CONFIG.prop` as needed – changes apply automatically in the next cycle.
## Notes
- Ensure parameter values are reasonable to avoid abnormal screen behavior.
- Check `service.log` for troubleshooting or run `feedback.sh` for support.
## Vital Precautions
- **OLED Burn-in & Escalated Thermal Warning**: Persistently overriding and enforcing intensive display peak loads aggressively drives heat emissions up. Doing so vastly skyrockets irreversible UI ghosting & OLED burn-in permanent issues respectively.
- Verify entered tuning numbers remain securely governed matching acceptable values on your manufacturer's specific screen limit boundaries to avert hardware blackout glitches.
- Acknowledge inherent hazards prior to extended utilization. If irregular phenomena transpire, inspect native system output records over the built-in front-end log pane.
+82
View File
@@ -0,0 +1,82 @@
import fs from 'fs';
import archiver from 'archiver';
// 读取版本信息用以命名
const propContent = fs.readFileSync('module.prop', 'utf-8');
const versionMatch = propContent.match(/^version=(.*)$/m);
const versionCodeMatch = propContent.match(/^versionCode=(.*)$/m);
const version = versionMatch ? versionMatch[1].trim() : 'Unknown';
const versionCode = versionCodeMatch ? versionCodeMatch[1].trim() : '0000';
const zipName = `LuminPro_${version}-${versionCode}.zip`;
console.log(`\n>>> [2/2] 创建模块 ZIP 压缩包...`);
// 明确需要忽略的文件清单
const excludes = [
'docs',
'node_modules',
'package-lock.json',
'package.json',
'pnpm-lock.yaml',
'vite.config.js',
'src',
'public',
'.vscode',
'.git',
'.gitignore',
'build.ps1',
'build-module.js',
'index.html', // 根目录的 html 已构建至 webroot
zipName
];
// 初始化归档器
const output = fs.createWriteStream(zipName);
const archive = archiver('zip', {
zlib: { level: 9 } // 最高压缩等级
});
output.on('close', function () {
console.log(`-----------------------------------`);
console.log(`>>> [成功] 打包完成!`);
console.log(`输出文件: ${zipName}`);
console.log(`文件大小: ${(archive.pointer() / 1024 / 1024).toFixed(2)} MB`);
});
archive.on('warning', function (err) {
if (err.code === 'ENOENT') {
console.warn('[警告]', err);
} else {
throw err;
}
});
archive.on('error', function (err) {
throw err;
});
archive.pipe(output);
// 将没在排除列表里的文件打进去
const dirContents = fs.readdirSync('.', { withFileTypes: true });
let addedItems = [];
for (const dirent of dirContents) {
const name = dirent.name;
// 排除黑名单文件夹,同时排除当前目录下已经打包生成的其它压缩包(避免俄罗斯套娃)
if (!excludes.includes(name) && !name.endsWith('.zip')) {
addedItems.push(name);
if (dirent.isDirectory()) {
archive.directory(name, name);
} else {
archive.file(name, { name: name });
}
}
}
console.log(`正在打包以下内容: \n${addedItems.join(', ')}\n`);
archive.finalize();
-1
View File
@@ -5,7 +5,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>LuminPro</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" />
<link rel="stylesheet" type="text/css" href="/internal/insets.css" />
<link rel="stylesheet" href="/src/style.css" />
</head>
+3 -3
View File
@@ -1,6 +1,6 @@
id=LuminPro
name=日常屏幕亮度强化
name=LuminPro丨日常屏幕亮度强化
version=V2.1
versionCode=21
versionCode=2101
author=酷安@Yule
description=已刷入,请重启手机。
description=本模块旨在让你的 Android 设备随时可以使用高亮度显示屏幕内容。无论设备当前亮度如何,只要满足设定的前台触发亮度条件,模块便会自动且平滑地提升屏幕亮度至硬件支持的峰值状态,确保你在强光室外也能获得清晰的显示效果
+2 -1
View File
@@ -5,10 +5,11 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build": "vite build && node build-module.js",
"preview": "vite preview"
},
"devDependencies": {
"archiver": "^7.0.1",
"kernelsu": "^3.0.2",
"vite": "^8.0.3"
},
+651
View File
@@ -12,6 +12,9 @@ importers:
specifier: ^1.7.0
version: 1.7.0
devDependencies:
archiver:
specifier: ^7.0.1
version: 7.0.1
kernelsu:
specifier: ^3.0.2
version: 3.0.2
@@ -30,6 +33,10 @@ packages:
'@emnapi/wasi-threads@1.2.1':
resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==}
'@isaacs/cliui@8.0.2':
resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
engines: {node: '>=12'}
'@napi-rs/wasm-runtime@1.1.2':
resolution: {integrity: sha512-sNXv5oLJ7ob93xkZ1XnxisYhGYXfaG9f65/ZgYuAu3qt7b3NadcOEhLvx28hv31PgX8SZJRYrAIPQilQmFpLVw==}
peerDependencies:
@@ -39,6 +46,10 @@ packages:
'@oxc-project/types@0.122.0':
resolution: {integrity: sha512-oLAl5kBpV4w69UtFZ9xqcmTi+GENWOcPF7FCrczTiBbmC0ibXxCwyvZGbO39rCVEuLGAZM84DH0pUIyyv/YJzA==}
'@pkgjs/parseargs@0.11.0':
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
engines: {node: '>=14'}
'@rolldown/binding-android-arm64@1.0.0-rc.12':
resolution: {integrity: sha512-pv1y2Fv0JybcykuiiD3qBOBdz6RteYojRFY1d+b95WVuzx211CRh+ytI/+9iVyWQ6koTh5dawe4S/yRfOFjgaA==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -140,10 +151,156 @@ packages:
'@tybys/wasm-util@0.10.1':
resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==}
abort-controller@3.0.0:
resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}
engines: {node: '>=6.5'}
ansi-regex@5.0.1:
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
engines: {node: '>=8'}
ansi-regex@6.2.2:
resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==}
engines: {node: '>=12'}
ansi-styles@4.3.0:
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
engines: {node: '>=8'}
ansi-styles@6.2.3:
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
engines: {node: '>=12'}
archiver-utils@5.0.2:
resolution: {integrity: sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==}
engines: {node: '>= 14'}
archiver@7.0.1:
resolution: {integrity: sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==}
engines: {node: '>= 14'}
async@3.2.6:
resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
b4a@1.8.0:
resolution: {integrity: sha512-qRuSmNSkGQaHwNbM7J78Wwy+ghLEYF1zNrSeMxj4Kgw6y33O3mXcQ6Ie9fRvfU/YnxWkOchPXbaLb73TkIsfdg==}
peerDependencies:
react-native-b4a: '*'
peerDependenciesMeta:
react-native-b4a:
optional: true
balanced-match@1.0.2:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
bare-events@2.8.2:
resolution: {integrity: sha512-riJjyv1/mHLIPX4RwiK+oW9/4c3TEUeORHKefKAKnZ5kyslbN+HXowtbaVEqt4IMUB7OXlfixcs6gsFeo/jhiQ==}
peerDependencies:
bare-abort-controller: '*'
peerDependenciesMeta:
bare-abort-controller:
optional: true
bare-fs@4.6.0:
resolution: {integrity: sha512-2YkS7NuiJceSEbyEOdSNLE9tsGd+f4+f7C+Nik/MCk27SYdwIMPT/yRKvg++FZhQXgk0KWJKJyXX9RhVV0RGqA==}
engines: {bare: '>=1.16.0'}
peerDependencies:
bare-buffer: '*'
peerDependenciesMeta:
bare-buffer:
optional: true
bare-os@3.8.7:
resolution: {integrity: sha512-G4Gr1UsGeEy2qtDTZwL7JFLo2wapUarz7iTMcYcMFdS89AIQuBoyjgXZz0Utv7uHs3xA9LckhVbeBi8lEQrC+w==}
engines: {bare: '>=1.14.0'}
bare-path@3.0.0:
resolution: {integrity: sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==}
bare-stream@2.12.0:
resolution: {integrity: sha512-w28i8lkBgREV3rPXGbgK+BO66q+ZpKqRWrZLiCdmmUlLPrQ45CzkvRhN+7lnv00Gpi2zy5naRxnUFAxCECDm9g==}
peerDependencies:
bare-abort-controller: '*'
bare-buffer: '*'
bare-events: '*'
peerDependenciesMeta:
bare-abort-controller:
optional: true
bare-buffer:
optional: true
bare-events:
optional: true
bare-url@2.4.0:
resolution: {integrity: sha512-NSTU5WN+fy/L0DDenfE8SXQna4voXuW0FHM7wH8i3/q9khUSchfPbPezO4zSFMnDGIf9YE+mt/RWhZgNRKRIXA==}
base64-js@1.5.1:
resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
brace-expansion@2.0.3:
resolution: {integrity: sha512-MCV/fYJEbqx68aE58kv2cA/kiky1G8vux3OR6/jbS+jIMe/6fJWa0DTzJU7dqijOWYwHi1t29FlfYI9uytqlpA==}
buffer-crc32@1.0.0:
resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==}
engines: {node: '>=8.0.0'}
buffer@6.0.3:
resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}
color-convert@2.0.1:
resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
engines: {node: '>=7.0.0'}
color-name@1.1.4:
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
compress-commons@6.0.2:
resolution: {integrity: sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==}
engines: {node: '>= 14'}
core-util-is@1.0.3:
resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
crc-32@1.2.2:
resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==}
engines: {node: '>=0.8'}
hasBin: true
crc32-stream@6.0.0:
resolution: {integrity: sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==}
engines: {node: '>= 14'}
cross-spawn@7.0.6:
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
engines: {node: '>= 8'}
detect-libc@2.1.2:
resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
engines: {node: '>=8'}
eastasianwidth@0.2.0:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
emoji-regex@8.0.0:
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
emoji-regex@9.2.2:
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
event-target-shim@5.0.1:
resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==}
engines: {node: '>=6'}
events-universal@1.0.1:
resolution: {integrity: sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==}
events@3.3.0:
resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
engines: {node: '>=0.8.x'}
fast-fifo@1.3.2:
resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==}
fdir@6.5.0:
resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
engines: {node: '>=12.0.0'}
@@ -153,14 +310,52 @@ packages:
picomatch:
optional: true
foreground-child@3.3.1:
resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
engines: {node: '>=14'}
fsevents@2.3.3:
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
glob@10.4.5:
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
hasBin: true
graceful-fs@4.2.11:
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
ieee754@1.2.1:
resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
inherits@2.0.4:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
is-fullwidth-code-point@3.0.0:
resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
engines: {node: '>=8'}
is-stream@2.0.1:
resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
engines: {node: '>=8'}
isarray@1.0.0:
resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}
isexe@2.0.0:
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
jackspeak@3.4.3:
resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
kernelsu@3.0.2:
resolution: {integrity: sha512-3MTGgIbl3TWCzqnJP6Fun9tHv6VULR3O188U3raeGRSMzK+G3pldL9ySwaZWhsHCtI2BTvlQuu/3p10s4a5c3w==}
lazystream@1.0.1:
resolution: {integrity: sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==}
engines: {node: '>= 0.6.3'}
lightningcss-android-arm64@1.32.0:
resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
engines: {node: '>= 12.0.0'}
@@ -235,14 +430,47 @@ packages:
resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
engines: {node: '>= 12.0.0'}
lodash@4.18.1:
resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==}
lru-cache@10.4.3:
resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
lucide@1.7.0:
resolution: {integrity: sha512-aYNogbuIxea3a8offpKjdMGf2FsUk9GECFh0B4iJgXlJOX41+7/ncvLVluKki8477SoybEdyGGf+qGYLBDiEsA==}
minimatch@5.1.9:
resolution: {integrity: sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==}
engines: {node: '>=10'}
minimatch@9.0.9:
resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==}
engines: {node: '>=16 || 14 >=14.17'}
minipass@7.1.3:
resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==}
engines: {node: '>=16 || 14 >=14.17'}
nanoid@3.3.11:
resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
normalize-path@3.0.0:
resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
engines: {node: '>=0.10.0'}
package-json-from-dist@1.0.1:
resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
path-key@3.1.1:
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
engines: {node: '>=8'}
path-scurry@1.11.1:
resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
engines: {node: '>=16 || 14 >=14.18'}
picocolors@1.1.1:
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
@@ -254,15 +482,84 @@ packages:
resolution: {integrity: sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==}
engines: {node: ^10 || ^12 || >=14}
process-nextick-args@2.0.1:
resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}
process@0.11.10:
resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==}
engines: {node: '>= 0.6.0'}
readable-stream@2.3.8:
resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}
readable-stream@4.7.0:
resolution: {integrity: sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
readdir-glob@1.1.3:
resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==}
rolldown@1.0.0-rc.12:
resolution: {integrity: sha512-yP4USLIMYrwpPHEFB5JGH1uxhcslv6/hL0OyvTuY+3qlOSJvZ7ntYnoWpehBxufkgN0cvXxppuTu5hHa/zPh+A==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
safe-buffer@5.1.2:
resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
safe-buffer@5.2.1:
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
shebang-command@2.0.0:
resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
engines: {node: '>=8'}
shebang-regex@3.0.0:
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
engines: {node: '>=8'}
signal-exit@4.1.0:
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
engines: {node: '>=14'}
source-map-js@1.2.1:
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
engines: {node: '>=0.10.0'}
streamx@2.25.0:
resolution: {integrity: sha512-0nQuG6jf1w+wddNEEXCF4nTg3LtufWINB5eFEN+5TNZW7KWJp6x87+JFL43vaAUPyCfH1wID+mNVyW6OHtFamg==}
string-width@4.2.3:
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
engines: {node: '>=8'}
string-width@5.1.2:
resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
engines: {node: '>=12'}
string_decoder@1.1.1:
resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}
string_decoder@1.3.0:
resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}
strip-ansi@6.0.1:
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
engines: {node: '>=8'}
strip-ansi@7.2.0:
resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==}
engines: {node: '>=12'}
tar-stream@3.1.8:
resolution: {integrity: sha512-U6QpVRyCGHva435KoNWy9PRoi2IFYCgtEhq9nmrPPpbRacPs9IH4aJ3gbrFC8dPcXvdSZ4XXfXT5Fshbp2MtlQ==}
teex@1.0.1:
resolution: {integrity: sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg==}
text-decoder@1.2.7:
resolution: {integrity: sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==}
tinyglobby@0.2.15:
resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}
engines: {node: '>=12.0.0'}
@@ -270,6 +567,9 @@ packages:
tslib@2.8.1:
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
util-deprecate@1.0.2:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
vite@8.0.3:
resolution: {integrity: sha512-B9ifbFudT1TFhfltfaIPgjo9Z3mDynBTJSUYxTjOQruf/zHH+ezCQKcoqO+h7a9Pw9Nm/OtlXAiGT1axBgwqrQ==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -313,6 +613,23 @@ packages:
yaml:
optional: true
which@2.0.2:
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
engines: {node: '>= 8'}
hasBin: true
wrap-ansi@7.0.0:
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
engines: {node: '>=10'}
wrap-ansi@8.1.0:
resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
engines: {node: '>=12'}
zip-stream@6.0.1:
resolution: {integrity: sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==}
engines: {node: '>= 14'}
snapshots:
'@emnapi/core@1.9.2':
@@ -331,6 +648,15 @@ snapshots:
tslib: 2.8.1
optional: true
'@isaacs/cliui@8.0.2':
dependencies:
string-width: 5.1.2
string-width-cjs: string-width@4.2.3
strip-ansi: 7.2.0
strip-ansi-cjs: strip-ansi@6.0.1
wrap-ansi: 8.1.0
wrap-ansi-cjs: wrap-ansi@7.0.0
'@napi-rs/wasm-runtime@1.1.2(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)':
dependencies:
'@emnapi/core': 1.9.2
@@ -340,6 +666,9 @@ snapshots:
'@oxc-project/types@0.122.0': {}
'@pkgjs/parseargs@0.11.0':
optional: true
'@rolldown/binding-android-arm64@1.0.0-rc.12':
optional: true
@@ -397,17 +726,191 @@ snapshots:
tslib: 2.8.1
optional: true
abort-controller@3.0.0:
dependencies:
event-target-shim: 5.0.1
ansi-regex@5.0.1: {}
ansi-regex@6.2.2: {}
ansi-styles@4.3.0:
dependencies:
color-convert: 2.0.1
ansi-styles@6.2.3: {}
archiver-utils@5.0.2:
dependencies:
glob: 10.4.5
graceful-fs: 4.2.11
is-stream: 2.0.1
lazystream: 1.0.1
lodash: 4.18.1
normalize-path: 3.0.0
readable-stream: 4.7.0
archiver@7.0.1:
dependencies:
archiver-utils: 5.0.2
async: 3.2.6
buffer-crc32: 1.0.0
readable-stream: 4.7.0
readdir-glob: 1.1.3
tar-stream: 3.1.8
zip-stream: 6.0.1
transitivePeerDependencies:
- bare-abort-controller
- bare-buffer
- react-native-b4a
async@3.2.6: {}
b4a@1.8.0: {}
balanced-match@1.0.2: {}
bare-events@2.8.2: {}
bare-fs@4.6.0:
dependencies:
bare-events: 2.8.2
bare-path: 3.0.0
bare-stream: 2.12.0(bare-events@2.8.2)
bare-url: 2.4.0
fast-fifo: 1.3.2
transitivePeerDependencies:
- bare-abort-controller
- react-native-b4a
bare-os@3.8.7: {}
bare-path@3.0.0:
dependencies:
bare-os: 3.8.7
bare-stream@2.12.0(bare-events@2.8.2):
dependencies:
streamx: 2.25.0
teex: 1.0.1
optionalDependencies:
bare-events: 2.8.2
transitivePeerDependencies:
- react-native-b4a
bare-url@2.4.0:
dependencies:
bare-path: 3.0.0
base64-js@1.5.1: {}
brace-expansion@2.0.3:
dependencies:
balanced-match: 1.0.2
buffer-crc32@1.0.0: {}
buffer@6.0.3:
dependencies:
base64-js: 1.5.1
ieee754: 1.2.1
color-convert@2.0.1:
dependencies:
color-name: 1.1.4
color-name@1.1.4: {}
compress-commons@6.0.2:
dependencies:
crc-32: 1.2.2
crc32-stream: 6.0.0
is-stream: 2.0.1
normalize-path: 3.0.0
readable-stream: 4.7.0
core-util-is@1.0.3: {}
crc-32@1.2.2: {}
crc32-stream@6.0.0:
dependencies:
crc-32: 1.2.2
readable-stream: 4.7.0
cross-spawn@7.0.6:
dependencies:
path-key: 3.1.1
shebang-command: 2.0.0
which: 2.0.2
detect-libc@2.1.2: {}
eastasianwidth@0.2.0: {}
emoji-regex@8.0.0: {}
emoji-regex@9.2.2: {}
event-target-shim@5.0.1: {}
events-universal@1.0.1:
dependencies:
bare-events: 2.8.2
transitivePeerDependencies:
- bare-abort-controller
events@3.3.0: {}
fast-fifo@1.3.2: {}
fdir@6.5.0(picomatch@4.0.4):
optionalDependencies:
picomatch: 4.0.4
foreground-child@3.3.1:
dependencies:
cross-spawn: 7.0.6
signal-exit: 4.1.0
fsevents@2.3.3:
optional: true
glob@10.4.5:
dependencies:
foreground-child: 3.3.1
jackspeak: 3.4.3
minimatch: 9.0.9
minipass: 7.1.3
package-json-from-dist: 1.0.1
path-scurry: 1.11.1
graceful-fs@4.2.11: {}
ieee754@1.2.1: {}
inherits@2.0.4: {}
is-fullwidth-code-point@3.0.0: {}
is-stream@2.0.1: {}
isarray@1.0.0: {}
isexe@2.0.0: {}
jackspeak@3.4.3:
dependencies:
'@isaacs/cliui': 8.0.2
optionalDependencies:
'@pkgjs/parseargs': 0.11.0
kernelsu@3.0.2: {}
lazystream@1.0.1:
dependencies:
readable-stream: 2.3.8
lightningcss-android-arm64@1.32.0:
optional: true
@@ -457,10 +960,35 @@ snapshots:
lightningcss-win32-arm64-msvc: 1.32.0
lightningcss-win32-x64-msvc: 1.32.0
lodash@4.18.1: {}
lru-cache@10.4.3: {}
lucide@1.7.0: {}
minimatch@5.1.9:
dependencies:
brace-expansion: 2.0.3
minimatch@9.0.9:
dependencies:
brace-expansion: 2.0.3
minipass@7.1.3: {}
nanoid@3.3.11: {}
normalize-path@3.0.0: {}
package-json-from-dist@1.0.1: {}
path-key@3.1.1: {}
path-scurry@1.11.1:
dependencies:
lru-cache: 10.4.3
minipass: 7.1.3
picocolors@1.1.1: {}
picomatch@4.0.4: {}
@@ -471,6 +999,32 @@ snapshots:
picocolors: 1.1.1
source-map-js: 1.2.1
process-nextick-args@2.0.1: {}
process@0.11.10: {}
readable-stream@2.3.8:
dependencies:
core-util-is: 1.0.3
inherits: 2.0.4
isarray: 1.0.0
process-nextick-args: 2.0.1
safe-buffer: 5.1.2
string_decoder: 1.1.1
util-deprecate: 1.0.2
readable-stream@4.7.0:
dependencies:
abort-controller: 3.0.0
buffer: 6.0.3
events: 3.3.0
process: 0.11.10
string_decoder: 1.3.0
readdir-glob@1.1.3:
dependencies:
minimatch: 5.1.9
rolldown@1.0.0-rc.12(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2):
dependencies:
'@oxc-project/types': 0.122.0
@@ -495,8 +1049,81 @@ snapshots:
- '@emnapi/core'
- '@emnapi/runtime'
safe-buffer@5.1.2: {}
safe-buffer@5.2.1: {}
shebang-command@2.0.0:
dependencies:
shebang-regex: 3.0.0
shebang-regex@3.0.0: {}
signal-exit@4.1.0: {}
source-map-js@1.2.1: {}
streamx@2.25.0:
dependencies:
events-universal: 1.0.1
fast-fifo: 1.3.2
text-decoder: 1.2.7
transitivePeerDependencies:
- bare-abort-controller
- react-native-b4a
string-width@4.2.3:
dependencies:
emoji-regex: 8.0.0
is-fullwidth-code-point: 3.0.0
strip-ansi: 6.0.1
string-width@5.1.2:
dependencies:
eastasianwidth: 0.2.0
emoji-regex: 9.2.2
strip-ansi: 7.2.0
string_decoder@1.1.1:
dependencies:
safe-buffer: 5.1.2
string_decoder@1.3.0:
dependencies:
safe-buffer: 5.2.1
strip-ansi@6.0.1:
dependencies:
ansi-regex: 5.0.1
strip-ansi@7.2.0:
dependencies:
ansi-regex: 6.2.2
tar-stream@3.1.8:
dependencies:
b4a: 1.8.0
bare-fs: 4.6.0
fast-fifo: 1.3.2
streamx: 2.25.0
transitivePeerDependencies:
- bare-abort-controller
- bare-buffer
- react-native-b4a
teex@1.0.1:
dependencies:
streamx: 2.25.0
transitivePeerDependencies:
- bare-abort-controller
- react-native-b4a
text-decoder@1.2.7:
dependencies:
b4a: 1.8.0
transitivePeerDependencies:
- react-native-b4a
tinyglobby@0.2.15:
dependencies:
fdir: 6.5.0(picomatch@4.0.4)
@@ -505,6 +1132,8 @@ snapshots:
tslib@2.8.1:
optional: true
util-deprecate@1.0.2: {}
vite@8.0.3(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2):
dependencies:
lightningcss: 1.32.0
@@ -517,3 +1146,25 @@ snapshots:
transitivePeerDependencies:
- '@emnapi/core'
- '@emnapi/runtime'
which@2.0.2:
dependencies:
isexe: 2.0.0
wrap-ansi@7.0.0:
dependencies:
ansi-styles: 4.3.0
string-width: 4.2.3
strip-ansi: 6.0.1
wrap-ansi@8.1.0:
dependencies:
ansi-styles: 6.2.3
string-width: 5.1.2
strip-ansi: 7.2.0
zip-stream@6.0.1:
dependencies:
archiver-utils: 5.0.2
compress-commons: 6.0.2
readable-stream: 4.7.0
Binary file not shown.
Binary file not shown.
+7 -45
View File
@@ -1,12 +1,6 @@
import { exec } from 'kernelsu';
import { createIcons, Sun, Settings, Save, Activity, RefreshCw, FileText } from 'lucide';
// ==========================
// 调试与配置区
// ==========================
// 在电脑端浏览器调试时设置为 true,会使用虚拟数据
const IS_DEBUG = !window.navigator.userAgent.includes('KernelSU');
const CONFIG_DIR = '/data/adb/modules/LuminPro/config';
const PID_FILE = '/data/adb/modules/LuminPro/pid/inotifyd.pid';
const FLAG_FILE = '/data/adb/modules/LuminPro/pid/up.flag';
@@ -14,19 +8,6 @@ const LOG_FILE = '/data/adb/modules/LuminPro/service.log';
const NOW_BRI_FILE = '/sys/class/backlight/panel0-backlight/brightness';
const SYS_MAX_BRI_FILE = '/sys/class/backlight/panel0-backlight/max_brightness';
// ==========================
// 虚拟数据 (Debug Mode)
// ==========================
const mockData = {
ui_max_bri: '3515',
max_bri: '4094',
sleep_time: '1900-0600',
current_bri: '2000',
sys_max_bri: '4094',
inotifyd_pid: '12345',
logs: '[25 10:00:00.000] [service] LuminPro 已启动\n[25 10:00:00.050] [service.up] 亮度被调整...\n'
};
// ==========================
// 工具函数
// ==========================
@@ -37,29 +18,14 @@ function showToast(msg) {
setTimeout(() => toast.classList.remove('show'), 3000);
}
// 封装的 exec,按需返回真实执行结果或虚拟数据
// 封装的 exec,按需返回真实执行结果
async function runCmd(cmd) {
if (IS_DEBUG) {
console.log(`[Mock CMD Exec]: ${cmd}`);
// 简单的命令模拟
if (cmd.includes('ui_max_bri.txt')) return { errno: 0, stdout: mockData.ui_max_bri, stderr: '' };
if (cmd.includes('config/max_bri.txt')) return { errno: 0, stdout: mockData.max_bri, stderr: '' };
if (cmd.includes('sleep_time.txt')) return { errno: 0, stdout: mockData.sleep_time, stderr: '' };
if (cmd.includes(NOW_BRI_FILE)) return { errno: 0, stdout: mockData.current_bri, stderr: '' };
if (cmd.includes(SYS_MAX_BRI_FILE)) return { errno: 0, stdout: mockData.sys_max_bri, stderr: '' };
if (cmd.includes('cat ' + PID_FILE)) return { errno: 0, stdout: mockData.inotifyd_pid, stderr: '' };
if (cmd.includes('tail -n')) return { errno: 0, stdout: mockData.logs, stderr: '' };
if (cmd.includes('kill')) return { errno: 0, stdout: '', stderr: '' };
if (cmd.includes('ehco -n')) return { errno: 0, stdout: '', stderr: '' };
return { errno: 0, stdout: '', stderr: '' };
} else {
try {
const res = await exec(cmd);
return res;
} catch (e) {
console.error(e);
return { errno: -1, stdout: '', stderr: String(e) };
}
try {
const res = await exec(cmd);
return res;
} catch (e) {
console.error(e);
return { errno: -1, stdout: '', stderr: String(e) };
}
}
@@ -181,10 +147,6 @@ async function loadLogs() {
// 初始化
// ==========================
async function init() {
if (!IS_DEBUG) {
// 启用全屏或者沉浸式如果需要
// enableInsets(true); // 开启内边距适配
}
// 初始化 Lucide 图标
createIcons({
+19 -10
View File
@@ -22,6 +22,20 @@
--spacing-l: 24px;
}
@font-face {
font-family: 'Geist';
src: url('/Geist-VariableFont_wght.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
}
@font-face {
font-family: 'Google Sans Code';
src: url('/GoogleSansCode-VariableFont_wght.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
}
* {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
@@ -35,7 +49,7 @@ body {
padding-bottom: var(--safe-area-inset-bottom, 0);
background-color: var(--md-sys-color-background);
color: var(--md-sys-color-on-background);
font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
font-family: 'Geist', system-ui, -apple-system, sans-serif;
line-height: 1.5;
}
@@ -131,14 +145,11 @@ body {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--spacing-m);
padding-bottom: var(--spacing-m);
border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.config-item:last-of-type {
border-bottom: none;
margin-bottom: 0;
.config-item + .config-item {
margin-top: var(--spacing-m);
padding-top: var(--spacing-m);
}
.config-label {
@@ -260,9 +271,7 @@ body {
/* Logs */
.log-output {
background-color: #000;
color: #0f0;
font-family: 'Consolas', 'Courier New', monospace;
font-family: 'Google Sans Code', 'Consolas', 'Courier New', monospace;
font-size: 0.75rem;
padding: var(--spacing-s);
border-radius: var(--border-radius-s);
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
:root{--md-sys-color-background:#111318;--md-sys-color-on-background:#e2e2e9;--md-sys-color-surface:#1e1f25;--md-sys-color-surface-container:#212429;--md-sys-color-surface-container-high:#2b2930;--md-sys-color-on-surface:#e2e2e9;--md-sys-color-on-surface-variant:#c4c6d0;--md-sys-color-primary:#a8c7fa;--md-sys-color-on-primary:#062e6f;--md-sys-color-primary-container:#1b4b9b;--md-sys-color-on-primary-container:#d3e3fd;--md-sys-color-outline:#8e9099;--md-sys-color-outline-variant:#44474f;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--border-radius-m:16px;--border-radius-s:8px;--spacing-s:8px;--spacing-m:16px;--spacing-l:24px}@font-face{font-family:Geist;src:url(/Geist-VariableFont_wght.ttf)format("truetype");font-weight:100 900;font-style:normal}@font-face{font-family:Google Sans Code;src:url(/GoogleSansCode-VariableFont_wght.ttf)format("truetype");font-weight:100 900;font-style:normal}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{padding:0;padding-top:var(--safe-area-inset-top,0);padding-bottom:var(--safe-area-inset-bottom,0);background-color:var(--md-sys-color-background);color:var(--md-sys-color-on-background);margin:0;font-family:Geist,system-ui,-apple-system,sans-serif;line-height:1.5}#app{padding:var(--spacing-m);gap:var(--spacing-m);flex-direction:column;max-width:600px;margin:0 auto;display:flex}.app-header{padding:var(--spacing-m) 0;justify-content:space-between;align-items:center;display:flex}.header-content{align-items:center;gap:var(--spacing-m);display:flex}.header-icon{background:var(--md-sys-color-surface-container-high);border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:2rem;display:flex}.header-text h1{color:var(--md-sys-color-on-background);margin:0;font-size:1.25rem;font-weight:500}.header-subtitle{color:var(--md-sys-color-on-surface-variant);margin:0;font-size:.875rem}.header-status{background:var(--md-sys-color-surface-container);border-radius:100px;align-items:center;gap:6px;padding:4px 12px;font-size:.875rem;display:flex}.status-dot{background-color:var(--md-sys-color-error);border-radius:50%;width:8px;height:8px}.card{background-color:var(--md-sys-color-surface);border-radius:var(--border-radius-m);padding:var(--spacing-l);box-shadow:0 1px 3px #0000004d,0 4px 8px 3px #00000026}.card-header{align-items:center;gap:var(--spacing-s);margin-bottom:var(--spacing-l);display:flex}.card-header h2{color:var(--md-sys-color-on-surface);flex-grow:1;margin:0;font-size:1.125rem;font-weight:500}.config-item{justify-content:space-between;align-items:center;display:flex}.config-item+.config-item{margin-top:var(--spacing-m);padding-top:var(--spacing-m)}.config-label{flex-direction:column;display:flex}.config-name{color:var(--md-sys-color-on-surface);font-size:1rem}.config-desc{color:var(--md-sys-color-on-surface-variant);font-size:.875rem}.config-input{background-color:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);border:1px solid var(--md-sys-color-outline);border-radius:var(--border-radius-s);text-align:right;outline:none;width:100px;padding:8px 12px;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s}.config-input:focus{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px #a8c7fa4d}.config-input-wide{width:140px}.status-grid{gap:var(--spacing-m);grid-template-columns:1fr 1fr;display:grid}.status-item{background-color:var(--md-sys-color-surface-container);padding:var(--spacing-m);border-radius:var(--border-radius-s);flex-direction:column;display:flex}.status-label{color:var(--md-sys-color-on-surface-variant);margin-bottom:4px;font-size:.75rem}.status-value{color:var(--md-sys-color-primary);word-break:break-all;font-size:1.125rem;font-weight:500}.card-actions{margin-top:var(--spacing-l);padding-top:var(--spacing-m);border-top:1px solid var(--md-sys-color-outline-variant);justify-content:flex-end;display:flex}.btn{cursor:pointer;border:none;border-radius:100px;justify-content:center;align-items:center;gap:8px;padding:10px 24px;font-family:inherit;font-size:.875rem;font-weight:500;transition:background-color .2s,opacity .2s;display:inline-flex}.btn:active{opacity:.8}.btn-primary{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.btn-icon-only{color:var(--md-sys-color-on-surface-variant);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px;font-size:1.25rem;display:flex}.btn-icon-only:active{background-color:var(--md-sys-color-surface-container-high)}.log-output{color:#0f0;padding:var(--spacing-s);border-radius:var(--border-radius-s);white-space:pre-wrap;word-wrap:break-word;background-color:#000;height:200px;margin:0;font-family:Google Sans Code,Consolas,Courier New,monospace;font-size:.75rem;overflow-y:auto}.toast{background-color:var(--md-sys-color-on-surface);color:var(--md-sys-color-surface);border-radius:var(--border-radius-s);z-index:1000;text-align:center;widLine truncated
+4
View File
@@ -0,0 +1,4 @@
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=0;function t(t){return`${t}_callback_${Date.now()}_${e++}`}function n(e,n){return n===void 0&&(n={}),new Promise((r,i)=>{let a=t(`exec`);window[a]=(e,t,n)=>{r({errno:e,stdout:t,stderr:n}),o(a)};function o(e){delete window[e]}try{ksu.exec(e,JSON.stringify(n),a)}catch(e){i(e),o(a)}})}function r(){this.listeners={}}r.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},r.prototype.emit=function(e,...t){this.listeners[e]&&this.listeners[e].forEach(e=>e(...t))};function i(){this.listeners={},this.stdin=new r,this.stdout=new r,this.stderr=new r}i.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},i.prototype.emit=function(e,...t){this.listeners[e]&&this.listeners[e].forEach(e=>e(...t))};var a={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},o=([e,t,n])=>{let r=document.createElementNS(`http://www.w3.org/2000/svg`,e);return Object.keys(t).forEach(e=>{r.setAttribute(e,String(t[e]))}),n?.length&&n.forEach(e=>{let t=o(e);r.appendChild(t)}),r},s=(e,t={})=>o([`svg`,{...a,...t},e]),c=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},l=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),u=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),d=e=>{let t=u(e);return t.charAt(0).toUpperCase()+t.slice(1)},f=e=>Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),p=e=>typeof e==`string`?e:!e||!e.class?``:e.class&&typeof e.class==`string`?e.class.split(` `):e.class&&Array.isArray(e.class)?e.class:``,m=(e,{nameAttr:t,icons:n,attrs:r})=>{let i=e.getAttribute(t);if(i==null)return;let o=n[d(i)];if(!o)return console.warn(`${e.outerHTML} icon name was not found in the provided icons object.`);let u=f(e),m=c(u)?{}:{"aria-hidden":`true`},h={...a,"data-lucide":i,...m,...r,...u},g=p(u),_=p(r),v=l(`lucide`,`lucide-${i}`,...g,..._);v&&Object.assign(h,{class:v});let y=s(o,h);return e.parentNode?.replaceChild(y,e)},h=[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`}]],g=[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}],[`path`,{d:`M10 9H8`}],[`path`,{d:`M16 13H8`}],[`path`,{d:`M16 17H8`}]],_=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}],[`path`,{d:`M21 3v5h-5`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}],[`path`,{d:`M8 16H3v5`}]],v=[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`}]],y=[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],b=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m17.66 17.66 1.41 1.41`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}]],x=({icons:e={},nameAttr:t=`data-lucide`,attrs:n={},root:r=document,inTemplates:i}={})=>{if(!Object.values(e).length)throw Error(`Please provide an icons object.
If you want to use all the icons you can import it like:
\`import { createIcons, icons } from 'lucide';
lucide.createIcons({icons});\``);if(r===void 0)throw Error("`createIcons()` only works in a browser environment.");if(Array.from(r.querySelectorAll(`[${t}]`)).forEach(r=>m(r,{nameAttr:t,icons:e,attrs:n})),i&&Array.from(r.querySelectorAll(`template`)).forEach(r=>x({icons:e,nameAttr:t,attrs:n,root:r.content,inTemplates:i})),t===`data-lucide`){let t=r.querySelectorAll(`[icon-name]`);t.length>0&&(console.warn(`[Lucide] Some icons were found with the now deprecated icon-name attribute. These will still be replaced for backwards compatibility, but will no longer be supported in v1.0 and you should switch to data-lucide`),Array.from(t).forEach(t=>m(t,{nameAttr:`icon-name`,icons:e,attrs:n})))}},S=`/data/adb/modules/LuminPro/config`,C=`/data/adb/modules/LuminPro/pid/inotifyd.pid`,w=`/data/adb/modules/LuminPro/pid/up.flag`,T=`/data/adb/modules/LuminPro/service.log`,E=`/sys/class/backlight/panel0-backlight/brightness`,D=`/sys/class/backlight/panel0-backlight/max_brightness`;function O(e){let t=document.getElementById(`toast`);t.textContent=e,t.classList.add(`show`),setTimeout(()=>t.classList.remove(`show`),3e3)}async function k(e){try{return await n(e)}catch(e){return console.error(e),{errno:-1,stdout:``,stderr:String(e)}}}async function A(e,t){return k(`echo -n '${String(t).replace(/'/g,`'\\''`)}' > "${e}"`)}async function j(){let[e,t,n]=await Promise.all([k(`cat "${S}/ui_max_bri.txt"`),k(`cat "${S}/max_bri.txt"`),k(`cat "${S}/sleep_time.txt"`)]);e.errno===0&&(document.getElementById(`input-ui-max-bri`).value=e.stdout.trim()),t.errno===0&&(document.getElementById(`input-max-bri`).value=t.stdout.trim()),n.errno===0&&(document.getElementById(`input-sleep-time`).value=n.stdout.trim())}async function M(){let e=document.getElementById(`input-ui-max-bri`).value,t=document.getElementById(`input-max-bri`).value,n=document.getElementById(`input-sleep-time`).value;if(!e||!t){O(`亮度值不能为空`);return}O(`保存中...`),await A(`${S}/ui_max_bri.txt`,e),await A(`${S}/max_bri.txt`,t),await A(`${S}/sleep_time.txt`,n),await k(`rm -f "${w}"`);let r=await k(`cat "${C}"`);r.errno===0&&r.stdout.trim()?O(`配置已保存 (可能需要在下次调整时生效)`):O(`配置已保存 (服务未运行)`)}async function N(){let[e,t,n]=await Promise.all([k(`cat "${E}"`),k(`cat "${D}"`),k(`cat "${C}"`)]);document.getElementById(`status-current-bri`).textContent=e.errno===0?e.stdout.trim():`N/A`,document.getElementById(`status-sys-max-bri`).textContent=t.errno===0?t.stdout.trim():`N/A`;let r=n.errno===0?n.stdout.trim():``,i=document.getElementById(`status-inotifyd-pid`),a=document.querySelector(`.status-dot`),o=document.querySelector(`.status-text`);r?(i.textContent=r,a.style.backgroundColor=`#4caf50`,o.textContent=`运行中`):(i.textContent=`未运行`,a.style.backgroundColor=`var(--md-sys-color-error)`,o.textContent=`已停止`);let s=document.getElementById(`input-sleep-time`).value,c=!1;if(s&&s.includes(`-`)){let[e,t]=s.split(`-`),n=new Date,r=n.getHours()*100+n.getMinutes(),i=parseInt(e,10),a=parseInt(t,10);i>a?(r>=i||r<a)&&(c=!0):i<a&&r>=i&&r<a&&(c=!0)}document.getElementById(`status-sleep`).textContent=c?`休眠中`:`非休眠`}async function P(){let e=document.getElementById(`log-output`),t=await k(`tail -n 50 "${T}"`);t.errno===0&&t.stdout?e.textContent=t.stdout:e.textContent=`暂无日志或读取失败`,e.scrollTop=e.scrollHeight}async function F(){x({icons:{Sun:b,Settings:y,Save:v,Activity:h,RefreshCw:_,FileText:g}}),document.getElementById(`btn-save`).addEventListener(`click`,M),document.getElementById(`btn-refresh-status`).addEventListener(`click`,N),document.getElementById(`btn-refresh-log`).addEventListener(`click`,P),await j(),await N(),await P()}document.addEventListener(`DOMContentLoaded`,F);
-3
View File
@@ -1,3 +0,0 @@
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=0;function t(t){return`${t}_callback_${Date.now()}_${e++}`}function n(e,n){return n===void 0&&(n={}),new Promise((r,i)=>{let a=t(`exec`);window[a]=(e,t,n)=>{r({errno:e,stdout:t,stderr:n}),o(a)};function o(e){delete window[e]}try{ksu.exec(e,JSON.stringify(n),a)}catch(e){i(e),o(a)}})}function r(){this.listeners={}}r.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},r.prototype.emit=function(e,...t){this.listeners[e]&&this.listeners[e].forEach(e=>e(...t))};function i(){this.listeners={},this.stdin=new r,this.stdout=new r,this.stderr=new r}i.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},i.prototype.emit=function(e,...t){this.listeners[e]&&this.listeners[e].forEach(e=>e(...t))};var a=!window.navigator.userAgent.includes(`KernelSU`),o=`/data/adb/modules/LuminPro/config`,s=`/data/adb/modules/LuminPro/pid/inotifyd.pid`,c=`/data/adb/modules/LuminPro/pid/up.flag`,l=`/data/adb/modules/LuminPro/service.log`,u=`/sys/class/backlight/panel0-backlight/brightness`,d=`/sys/class/backlight/panel0-backlight/max_brightness`,f={ui_max_bri:`3515`,max_bri:`4094`,sleep_time:`1900-0600`,current_bri:`2000`,sys_max_bri:`4094`,inotifyd_pid:`12345`,logs:`[25 10:00:00.000] [service] LuminPro 已启动
[25 10:00:00.050] [service.up] 亮度被调整...
`};function p(e){let t=document.getElementById(`toast`);t.textContent=e,t.classList.add(`show`),setTimeout(()=>t.classList.remove(`show`),3e3)}async function m(e){if(a)return console.log(`[Mock CMD Exec]: ${e}`),e.includes(`ui_max_bri.txt`)?{errno:0,stdout:f.ui_max_bri,stderr:``}:e.includes(`config/max_bri.txt`)?{errno:0,stdout:f.max_bri,stderr:``}:e.includes(`sleep_time.txt`)?{errno:0,stdout:f.sleep_time,stderr:``}:e.includes(u)?{errno:0,stdout:f.current_bri,stderr:``}:e.includes(d)?{errno:0,stdout:f.sys_max_bri,stderr:``}:e.includes(`cat `+s)?{errno:0,stdout:f.inotifyd_pid,stderr:``}:e.includes(`tail -n`)?{errno:0,stdout:f.logs,stderr:``}:(e.includes(`kill`)||e.includes(`ehco -n`),{errno:0,stdout:``,stderr:``});try{return await n(e)}catch(e){return console.error(e),{errno:-1,stdout:``,stderr:String(e)}}}async function h(e,t){return m(`echo -n '${String(t).replace(/'/g,`'\\''`)}' > "${e}"`)}async function g(){let[e,t,n]=await Promise.all([m(`cat "${o}/ui_max_bri.txt"`),m(`cat "${o}/max_bri.txt"`),m(`cat "${o}/sleep_time.txt"`)]);e.errno===0&&(document.getElementById(`input-ui-max-bri`).value=e.stdout.trim()),t.errno===0&&(document.getElementById(`input-max-bri`).value=t.stdout.trim()),n.errno===0&&(document.getElementById(`input-sleep-time`).value=n.stdout.trim())}async function _(){let e=document.getElementById(`input-ui-max-bri`).value,t=document.getElementById(`input-max-bri`).value,n=document.getElementById(`input-sleep-time`).value;if(!e||!t){p(`亮度值不能为空`);return}p(`保存中...`),await h(`${o}/ui_max_bri.txt`,e),await h(`${o}/max_bri.txt`,t),await h(`${o}/sleep_time.txt`,n),await m(`rm -f "${c}"`);let r=await m(`cat "${s}"`);r.errno===0&&r.stdout.trim()?p(`配置已保存 (可能需要在下次调整时生效)`):p(`配置已保存 (服务未运行)`)}async function v(){let[e,t,n]=await Promise.all([m(`cat "${u}"`),m(`cat "${d}"`),m(`cat "${s}"`)]);document.getElementById(`status-current-bri`).textContent=e.errno===0?e.stdout.trim():`N/A`,document.getElementById(`status-sys-max-bri`).textContent=t.errno===0?t.stdout.trim():`N/A`;let r=n.errno===0?n.stdout.trim():``,i=document.getElementById(`status-inotifyd-pid`),a=document.querySelector(`.status-dot`),o=document.querySelector(`.status-text`);r?(i.textContent=r,a.style.backgroundColor=`#4caf50`,o.textContent=`运行中`):(i.textContent=`未运行`,a.style.backgroundColor=`var(--md-sys-color-error)`,o.textContent=`已停止`);let c=document.getElementById(`input-sleep-time`).value,l=!1;if(c&&c.includes(`-`)){let[e,t]=c.split(`-`),n=new Date,r=n.getHours()*100+n.getMinutes(),i=parseInt(e,10),a=parseInt(t,10);i>a?(r>=i||r<a)&&(l=!0):i<a&&r>=i&&r<a&&(l=!0)}document.getElementById(`status-sleep`).textContent=l?`休眠中`:`非休眠`}async function y(){let e=document.getElementById(`log-output`),t=await m(`tail -n 50 "${l}"`);t.errno===0&&t.stdout?e.textContent=t.stdout:e.textContent=`暂无日志或读取失败`,e.scrollTop=e.scrollHeight}async function b(){document.getElementById(`btn-save`).addEventListener(`click`,_),document.getElementById(`btn-refresh-status`).addEventListener(`click`,v),document.getElementById(`btn-refresh-log`).addEventListener(`click`,y),await g(),await v(),await y()}document.addEventListener(`DOMContentLoaded`,b);
-1
View File
@@ -1 +0,0 @@
:root{--md-sys-color-background:#111318;--md-sys-color-on-background:#e2e2e9;--md-sys-color-surface:#1e1f25;--md-sys-color-surface-container:#212429;--md-sys-color-surface-container-high:#2b2930;--md-sys-color-on-surface:#e2e2e9;--md-sys-color-on-surface-variant:#c4c6d0;--md-sys-color-primary:#a8c7fa;--md-sys-color-on-primary:#062e6f;--md-sys-color-primary-container:#1b4b9b;--md-sys-color-on-primary-container:#d3e3fd;--md-sys-color-outline:#8e9099;--md-sys-color-outline-variant:#44474f;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--border-radius-m:16px;--border-radius-s:8px;--spacing-s:8px;--spacing-m:16px;--spacing-l:24px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{padding:0;padding-top:var(--safe-area-inset-top,0);padding-bottom:var(--safe-area-inset-bottom,0);background-color:var(--md-sys-color-background);color:var(--md-sys-color-on-background);margin:0;font-family:Noto Sans SC,system-ui,-apple-system,sans-serif;line-height:1.5}#app{padding:var(--spacing-m);gap:var(--spacing-m);flex-direction:column;max-width:600px;margin:0 auto;display:flex}.app-header{padding:var(--spacing-m) 0;justify-content:space-between;align-items:center;display:flex}.header-content{align-items:center;gap:var(--spacing-m);display:flex}.header-icon{background:var(--md-sys-color-surface-container-high);border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:2rem;display:flex}.header-text h1{color:var(--md-sys-color-on-background);margin:0;font-size:1.25rem;font-weight:500}.header-subtitle{color:var(--md-sys-color-on-surface-variant);margin:0;font-size:.875rem}.header-status{background:var(--md-sys-color-surface-container);border-radius:100px;align-items:center;gap:6px;padding:4px 12px;font-size:.875rem;display:flex}.status-dot{background-color:var(--md-sys-color-error);border-radius:50%;width:8px;height:8px}.card{background-color:var(--md-sys-color-surface);border-radius:var(--border-radius-m);padding:var(--spacing-l);box-shadow:0 1px 3px #0000004d,0 4px 8px 3px #00000026}.card-header{align-items:center;gap:var(--spacing-s);margin-bottom:var(--spacing-l);display:flex}.card-header h2{color:var(--md-sys-color-on-surface);flex-grow:1;margin:0;font-size:1.125rem;font-weight:500}.config-item{margin-bottom:var(--spacing-m);padding-bottom:var(--spacing-m);border-bottom:1px solid var(--md-sys-color-outline-variant);justify-content:space-between;align-items:center;display:flex}.config-item:last-of-type{border-bottom:none;margin-bottom:0}.config-label{flex-direction:column;display:flex}.config-name{color:var(--md-sys-color-on-surface);font-size:1rem}.config-desc{color:var(--md-sys-color-on-surface-variant);font-size:.875rem}.config-input{background-color:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);border:1px solid var(--md-sys-color-outline);border-radius:var(--border-radius-s);text-align:right;outline:none;width:100px;padding:8px 12px;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s}.config-input:focus{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px #a8c7fa4d}.config-input-wide{width:140px}.status-grid{gap:var(--spacing-m);grid-template-columns:1fr 1fr;display:grid}.status-item{background-color:var(--md-sys-color-surface-container);padding:var(--spacing-m);border-radius:var(--border-radius-s);flex-direction:column;display:flex}.status-label{color:var(--md-sys-color-on-surface-variant);margin-bottom:4px;font-size:.75rem}.status-value{color:var(--md-sys-color-primary);word-break:break-all;font-size:1.125rem;font-weight:500}.card-actions{margin-top:var(--spacing-l);padding-top:var(--spacing-m);border-top:1px solid var(--md-sys-color-outline-variant);justify-content:flex-end;display:flex}.btn{cursor:pointer;border:none;border-radius:100px;justify-content:center;align-items:center;gap:8px;padding:10px 24px;font-family:inherit;font-size:.875rem;font-weight:500;transition:background-color .2s,opacity .2s;display:inline-flex}.btn:active{opacity:.8}.btn-primary{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.btn-icon-only{color:var(--md-sys-color-on-surface-variant);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px;font-size:1.25rem;display:flex}.btn-icon-only:active{background-color:var(--md-sys-color-surface-container-high)}.log-output{color:#0f0;padding:var(--spacing-s);border-radius:var(--border-radius-s);white-space:pre-wrap;word-wrap:break-word;background-color:#000;height:200px;margin:0;font-family:Consolas,Courier New,monospace;font-size:.75rem;overflow-y:auto}.toast{background-color:var(--md-sys-color-on-surface);color:var(--md-sys-color-surface);border-radius:var(--border-radius-s);z-index:1000;text-align:center;width:max-content;max-width:90vw;padding:12px 24px;font-size:.875rem;transition:transform .3s cubic-bezier(.18,.89,.32,1.28);position:fixed;bottom:24px;left:50%;transform:translaLine truncated
+9 -10
View File
@@ -5,10 +5,9 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>LuminPro</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" />
<link rel="stylesheet" type="text/css" href="/internal/insets.css" />
<script type="module" crossorigin src="/assets/index-C_PcQXDT.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CumoKyZM.css">
<script type="module" crossorigin src="/assets/index-CM9RJZii.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BaxEqPXO.css">
</head>
<body>
@@ -16,7 +15,7 @@
<!-- 顶部头 -->
<header class="app-header">
<div class="header-content">
<div class="header-icon">☀️</div>
<div class="header-icon"><i data-lucide="sun"></i></div>
<div class="header-text">
<h1>LuminPro</h1>
<p class="header-subtitle" id="module-version">日常屏幕亮度强化</p>
@@ -31,7 +30,7 @@
<!-- 配置卡片 -->
<section class="card" id="config-section">
<div class="card-header">
<span class="card-icon">⚙️</span>
<span class="card-icon"><i data-lucide="settings"></i></span>
<h2>亮度配置</h2>
</div>
@@ -68,7 +67,7 @@
<div class="card-actions">
<button class="btn btn-primary" id="btn-save">
<span class="btn-icon">💾</span> 保存配置
<span class="btn-icon"><i data-lucide="save"></i></span> 保存配置
</button>
</div>
</section>
@@ -76,9 +75,9 @@
<!-- 实时状态 -->
<section class="card" id="status-section">
<div class="card-header">
<span class="card-icon">📊</span>
<span class="card-icon"><i data-lucide="activity"></i></span>
<h2>实时状态</h2>
<button class="btn-icon-only" id="btn-refresh-status" title="刷新">🔄</button>
<button class="btn-icon-only" id="btn-refresh-status" title="刷新"><i data-lucide="refresh-cw"></i></button>
</div>
<div class="status-grid">
@@ -104,9 +103,9 @@
<!-- 日志 -->
<section class="card" id="log-section">
<div class="card-header">
<span class="card-icon">📋</span>
<span class="card-icon"><i data-lucide="file-text"></i></span>
<h2>运行日志</h2>
<button class="btn-icon-only" id="btn-refresh-log" title="刷新">🔄</button>
<button class="btn-icon-only" id="btn-refresh-log" title="刷新"><i data-lucide="refresh-cw"></i></button>
</div>
<pre class="log-output" id="log-output">加载中...</pre>
</section>