@yoooclaw/cli 0.1.6 → 0.1.7
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/dist/bin.cjs +5 -5
- package/dist/bin.cjs.map +4 -4
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +4 -4
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -4273,7 +4273,7 @@ function buildContext(flags) {
|
|
|
4273
4273
|
var import_node_fs3 = require("node:fs");
|
|
4274
4274
|
function readBuildInjectedVersion() {
|
|
4275
4275
|
if (false) {}
|
|
4276
|
-
const version = "0.1.
|
|
4276
|
+
const version = "0.1.7".trim();
|
|
4277
4277
|
return version || undefined;
|
|
4278
4278
|
}
|
|
4279
4279
|
function readVersionFromPackageJson() {
|
|
@@ -9547,14 +9547,14 @@ function quantizeWindow(value) {
|
|
|
9547
9547
|
// src/vendor/light/sender.ts
|
|
9548
9548
|
async function sendLightEffect(apiKey, segments, logger, repeatInput, reason, title) {
|
|
9549
9549
|
const apiUrl = getEnvUrls().lightApiUrl;
|
|
9550
|
-
const appKey = "
|
|
9550
|
+
const appKey = "phone-notifications";
|
|
9551
9551
|
const templateId = "1990771146010017800";
|
|
9552
9552
|
const resolvedTitle = resolveLightTitle(title, reason, segments);
|
|
9553
9553
|
logger?.info(`Light sender: apiUrl=${apiUrl ?? "UNSET"}, appKey=${appKey ? appKey.substring(0, 8) + "…" : "UNSET"}, templateId=${templateId ?? "UNSET"}, apiKey=${apiKey ? apiKey.substring(0, 20) + "…" : "EMPTY"}, title=${resolvedTitle}, reason=${reason ?? ""}, segments=${JSON.stringify(segments)}`);
|
|
9554
|
-
if (!apiUrl
|
|
9554
|
+
if (!apiUrl) {
|
|
9555
9555
|
return {
|
|
9556
9556
|
ok: false,
|
|
9557
|
-
error: "灯效 API 未配置,请确认构建时已封装 OPENCLAW_HOST_*
|
|
9557
|
+
error: "灯效 API 未配置,请确认构建时已封装 OPENCLAW_HOST_*"
|
|
9558
9558
|
};
|
|
9559
9559
|
}
|
|
9560
9560
|
let bizContent;
|
|
@@ -14783,5 +14783,5 @@ async function run(argv = process.argv) {
|
|
|
14783
14783
|
// src/bin.ts
|
|
14784
14784
|
run(process.argv);
|
|
14785
14785
|
|
|
14786
|
-
//# debugId=
|
|
14786
|
+
//# debugId=C955DB0119FFC93B64756E2164756E21
|
|
14787
14787
|
//# sourceMappingURL=bin.cjs.map
|