oltc-selector 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/oltc.js +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
填工况,给出 2025 目录里**最低满足**的型号。网页和 `oltc` CLI 共用同一份 `selectOltc` 引擎。
|
|
4
4
|
|
|
5
|
-
**CLI(无报价):** `npx -y oltc-selector@1.2.
|
|
5
|
+
**CLI(无报价):** `npx -y oltc-selector@1.2.9`,命令是 `oltc`。Agent 技能包在独立仓库 [`erict16/huaming-oltc-selector`](https://github.com/erict16/huaming-oltc-selector)。
|
|
6
6
|
**网页:** [oltc-selector.vercel.app](https://oltc-selector.vercel.app/) · [GitHub Pages](https://erict16.github.io/oltc-selector/)
|
|
7
7
|
|
|
8
8
|
私人辅助,不是厂家官网。型号是起点,出 OS 前要工程确认。
|
package/bin/oltc.js
CHANGED
|
@@ -1711,10 +1711,9 @@ function selectOltc(input) {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
let final = results;
|
|
1713
1713
|
if (input.preferVacuum) {
|
|
1714
|
-
|
|
1714
|
+
final = results.filter(
|
|
1715
1715
|
(r) => SERIES.find((s) => s.id === r.seriesId)?.vacuum
|
|
1716
1716
|
);
|
|
1717
|
-
if (vac.length) final = vac;
|
|
1718
1717
|
} else if (input.medium === "oil") {
|
|
1719
1718
|
final = results.filter(
|
|
1720
1719
|
(r) => SERIES.find((s) => s.id === r.seriesId)?.vacuum === false
|