Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
a50ddf1
功能(Egern):隔离 WK2 数据源与配置基础
patrickyanxxxxx Nov 4, 2026
737b26d
功能(Egern):加入 WK3 根表与空气质量编解码
patrickyanxxxxx Nov 4, 2026
ad0091e
功能(Egern):加入昨日比较及分钟降水编解码
patrickyanxxxxx Nov 4, 2026
5124813
功能(Egern):补全天气预警并保留原生事件标识
patrickyanxxxxx Nov 4, 2026
7927282
功能(Egern):接入 WK3 空气质量、降水与预警处理
patrickyanxxxxx Nov 4, 2026
7c437e8
功能(Egern):接入本机请求响应与参数设置
patrickyanxxxxx Nov 4, 2026
fc5f0a5
构建(Egern):使用上游已有 Rollup 工具打包本机脚本
patrickyanxxxxx Nov 4, 2026
48a7af7
功能(Egern):生成五类脚本及参数化本机模块
patrickyanxxxxx Nov 4, 2026
3cfbba6
测试(Egern):覆盖 WK3 本机处理与模块参数
patrickyanxxxxx Nov 4, 2026
e2edf92
功能(空气质量):补齐上游 AQHI 系列计算算法
patrickyanxxxxx Nov 4, 2026
88f1a06
优化(Egern):精简模块说明并开放空气质量算法选项
patrickyanxxxxx Nov 4, 2026
66ec032
功能(WK3):生成各平台代理软件独立模块
patrickyanxxxxx Nov 4, 2026
a89b7a8
功能(WK3):适配平台代理脚本并验证二进制回放
patrickyanxxxxx Nov 4, 2026
a1af1e6
文档与配置:说明 WK3 适配并将内置算法默认设为美标
patrickyanxxxxx Nov 4, 2026
9d7e6a1
构建(WK3):统一 Egern 与各平台的发行附件流程
patrickyanxxxxx Nov 4, 2026
4311fc8
修复(CI):使用默认令牌检出审查分支
patrickyanxxxxx Nov 4, 2026
8d4fb1e
修复(CI):为私有包提供内置令牌回退及只读权限
patrickyanxxxxx Nov 4, 2026
72dcc03
修复(CI):固定 Node 22 避免 npm 12 禁止远程包
patrickyanxxxxx Nov 4, 2026
72229ed
重构(WK3):统一五平台代理共享核心与路由
patrickyanxxxxx Nov 5, 2026
a1defe6
发行(v3.3.3):补充正式下载与中文版本介绍
patrickyanxxxxx Nov 5, 2026
9027847
修复(空气质量):校正美标边界、AQHI 与污染物单位
patrickyanxxxxx Nov 5, 2026
ddf4a9b
修复(配置):遵循指数替换目标与昨日比较选项
patrickyanxxxxx Nov 5, 2026
3bf6302
修复(平台):正确回传响应并统一执行日志与参数
patrickyanxxxxx Nov 5, 2026
c56227d
优化(模块):对齐上游设置说明与有效选项
patrickyanxxxxx Nov 5, 2026
d4d81c7
测试(发行):执行完整回归并核对所有脚本引用
patrickyanxxxxx Nov 5, 2026
389f0af
发行(v3.3.4):说明正确性修复、设置与日志行为
patrickyanxxxxx Nov 5, 2026
f121138
修复(日志):五平台统一输出到可见脚本日志
patrickyanxxxxx Nov 5, 2026
a7fd93f
发行(v3.3.5):说明日志兼容修复与五平台验证
patrickyanxxxxx Nov 5, 2026
7fd5388
文档:精简当前发行版升级说明
patrickyanxxxxx Nov 5, 2026
8db4fad
修复(Loon):原生字节回传天气二进制响应
patrickyanxxxxx Nov 5, 2026
50d07dd
文档(Loon):说明原生字节修复及设备验收边界
patrickyanxxxxx Nov 5, 2026
983b2ed
测试(Loon):保留 Apple 能力并修复 availability 回退
patrickyanxxxxx Nov 5, 2026
825913a
修复(WK3):跨平台代理补入大陆缺失美标空气质量
patrickyanxxxxx Nov 5, 2026
dee07b4
修复(预警):同步四平台代理原生详情兼容并保持 Egern 不变
patrickyanxxxxx Nov 5, 2026
726ba59
文档(WK3测试):记录 Loon 验收与跨平台修复范围
patrickyanxxxxx Nov 5, 2026
9fc8d85
发行(v3.3.6):完善跨平台修复、模块说明及 UV 已知问题
patrickyanxxxxx Nov 5, 2026
5049e3c
修复(Surge):原生字节回传 WK3 响应并校验宿主二进制类型
patrickyanxxxxx Nov 7, 2026
e793900
文档(v3.3.7):记录 Surge 实机修复与正式模块升级说明
patrickyanxxxxx Nov 7, 2026
f938114
修复(发行说明):每次发布仅提取当前版本更新内容
patrickyanxxxxx Nov 7, 2026
f5320b3
修复(WK3):接通全算法AQ、雨雪分钟与原生预警
patrickyanxxxxx Nov 7, 2026
6cf3947
文档(v3.3.8):重写功能首页、模块指南与雷达进度
patrickyanxxxxx Nov 7, 2026
24c3f93
修复(模块):同步全平台中文算法参数与默认配置
patrickyanxxxxx Nov 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
permissions:
actions: read
contents: read
packages: read

jobs:
build:
Expand All @@ -15,11 +16,10 @@ jobs:
uses: actions/checkout@main
with:
submodules: recursive
token: ${{ secrets.SUBMODULE_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@main
with:
node-version: 'latest'
node-version: '22'
cache: 'npm'
# https://github.com/puppeteer/puppeteer/issues/13595#issuecomment-2640309385
# https://github.com/puppeteer/puppeteer/blob/cdfbde6247fbe286c31a91ac62ffed6f2f801ee4/.github/workflows/ci.yml#L140
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN || github.token }}
- name: Install Puppeteer Chrome
run: |
node node_modules/puppeteer/install.mjs
Expand All @@ -42,14 +42,32 @@ jobs:
version: ${{ github.ref_name }}
keep-v: "false" # If set to "true", will not remove any 'v' prefix from the version number.
ignore-semver-check: "false" # If set to "true", will not check if the version number is a valid semver version.
- name: Run WK3 regressions
run: npm run test:wk3
- name: Build scripts
run: npm run build
- name: Generate modules
run: npm run build:args
env:
PUPPETEER_CACHE_DIR: ${{ runner.temp }}/puppeteer
- name: Verify Egern module
run: test -s dist/iRingo.WeatherKit.yaml
- name: Build WK3 scripts and tagged modules
run: |
if [ "${{ github.ref_type }}" = tag ]; then
npm run build:wk3 -- --version "${GITHUB_REF_NAME#v}"
else
npm run build:wk3
fi
- name: Verify Egern and WK3 artifacts
run: |
test -s dist/iRingo.WeatherKit.yaml
for platform in egern surge loon stash quantumultx; do
for stage in request response; do test -s "dist/wk3-$platform-$stage.bundle.js"; done
done
if [ "${{ github.ref_type }}" = tag ]; then
for extension in yaml sgmodule lpx stoverride snippet; do
test -s "dist/iRingo.WeatherKit.WK3.$extension"
done
fi
- name: Upload artifact
uses: actions/upload-artifact@master
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
permissions:
actions: read
contents: read
packages: read

jobs:
debug:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
permissions:
actions: read
contents: read
packages: read

jobs:
build:
Expand All @@ -15,17 +16,16 @@ jobs:
uses: actions/checkout@main
with:
submodules: recursive
token: ${{ secrets.SUBMODULE_TOKEN }}
ref: dev
- name: Set up Node.js
uses: actions/setup-node@main
with:
node-version: 'latest'
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN || github.token }}
- name: Build
run: npm run dev
- name: Upload artifact
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
permissions:
actions: read
contents: write
packages: read

jobs:
build:
Expand All @@ -21,10 +22,19 @@ jobs:
uses: actions/download-artifact@master
with:
name: artifact
- name: Extract current release notes
shell: python
run: |
import pathlib, re
text = pathlib.Path("CHANGELOG.md").read_text()
section = re.split(r"(?m)^# v(?=\d)", text, maxsplit=2)
notes = "# v" + section[1] if len(section) > 1 else text
notes = re.sub(r"\n---\s*\Z", "", notes).strip() + "\n"
pathlib.Path("RELEASE-NOTES.md").write_text(notes)
- name: Publish Draft
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG.md
body_path: RELEASE-NOTES.md
token: ${{ secrets.GITHUB_TOKEN }}
files: |
rulesets/*
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
permissions:
actions: read
contents: write
packages: read

jobs:
build:
Expand All @@ -23,10 +24,19 @@ jobs:
uses: actions/download-artifact@master
with:
name: artifact
- name: Extract current release notes
shell: python
run: |
import pathlib, re
text = pathlib.Path("CHANGELOG.md").read_text()
section = re.split(r"(?m)^# v(?=\d)", text, maxsplit=2)
notes = "# v" + section[1] if len(section) > 1 else text
notes = re.sub(r"\n---\s*\Z", "", notes).strip() + "\n"
pathlib.Path("RELEASE-NOTES.md").write_text(notes)
- name: Publish Pre-Release
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG.md
body_path: RELEASE-NOTES.md
token: ${{ secrets.GITHUB_TOKEN }}
files: |
rulesets/*
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
permissions:
actions: read
contents: write
packages: read

jobs:
build:
Expand All @@ -21,10 +22,19 @@ jobs:
uses: actions/download-artifact@master
with:
name: artifact
- name: Extract current release notes
shell: python
run: |
import pathlib, re
text = pathlib.Path("CHANGELOG.md").read_text()
section = re.split(r"(?m)^# v(?=\d)", text, maxsplit=2)
notes = "# v" + section[1] if len(section) > 1 else text
notes = re.sub(r"\n---\s*\Z", "", notes).strip() + "\n"
pathlib.Path("RELEASE-NOTES.md").write_text(notes)
- name: Publish Release
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG.md
body_path: RELEASE-NOTES.md
token: ${{ secrets.GITHUB_TOKEN }}
files: |
rulesets/*
Expand Down
Loading