@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/index.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.6".trim();
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 = "7Q617S1G5WD274JI";
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 || !appKey || !templateId) {
9554
+ if (!apiUrl) {
9555
9555
  return {
9556
9556
  ok: false,
9557
- error: "灯效 API 未配置,请确认构建时已封装 OPENCLAW_HOST_* / LIGHT_APP_KEY / LIGHT_TEMPLATE_ID"
9557
+ error: "灯效 API 未配置,请确认构建时已封装 OPENCLAW_HOST_*"
9558
9558
  };
9559
9559
  }
9560
9560
  let bizContent;
@@ -14780,5 +14780,5 @@ async function run(argv = process.argv) {
14780
14780
  await program.parseAsync(argv);
14781
14781
  }
14782
14782
 
14783
- //# debugId=0CD266CF72FF908264756E2164756E21
14783
+ //# debugId=8549815B3836C11164756E2164756E21
14784
14784
  //# sourceMappingURL=index.cjs.map