@yixinkj/priority-buyer-alert-cli 0.1.41 → 0.1.42

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/index.js CHANGED
@@ -755,11 +755,12 @@ function pruneOldRuntimeVersions(
755
755
  * 放在「已安装」的快路径上也要跑:只在新装时清理的话,一台停止升级的机器会把
756
756
  * 历史版本永远留着。
757
757
  */
758
- function reportPrunedRuntimeVersions() {
759
- const removed = pruneOldRuntimeVersions();
758
+ function reportPrunedRuntimeVersions(...args) {
759
+ const removed = pruneOldRuntimeVersions(...args);
760
760
  if (removed.length > 0) {
761
761
  console.error(`[${SKILL_ID}] 已清理旧版本运行时:${removed.join('、')}`);
762
762
  }
763
+ return removed;
763
764
  }
764
765
 
765
766
  async function ensureInstalled(target) {
@@ -1007,6 +1008,7 @@ export {
1007
1008
  isInstalled,
1008
1009
  parseSkillMetadata,
1009
1010
  pruneOldRuntimeVersions,
1011
+ reportPrunedRuntimeVersions,
1010
1012
  releaseUrls,
1011
1013
  resolveSkillGate,
1012
1014
  runtimeManifestUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yixinkj/priority-buyer-alert-cli",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "重点买家未回复预警独立启动器,只读扫描询盘并提醒,不发送任何消息。",
5
5
  "type": "module",
6
6
  "bin": {
package/skill/SKILL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: 哨兵预警-0812
3
3
  description: 重点买家未回复预警。只读扫描阿里国际站询盘列表,挑出重点买家(金品店铺为 L2 及以上真实档;出口通店铺只有 L1+ 一个值,它是 L1–L4 的合集,必然包含 L1),判断买家最后一句是否超过 SLA 仍没有真人业务员回复,并输出中文预警清单;机器人自动接待不算人工回复。Use when 用户要求检查重点买家有没有超时未回复、查询盘超时提醒、看 L3/L4 有没有快凉的,或要求运行重点买家预警。
4
- version: "0.1.41"
4
+ version: "0.1.42"
5
5
  ---
6
6
 
7
7
  # 重点买家预警
package/skills.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "skill": {
25
25
  "name": "哨兵预警-0812",
26
26
  "id": "priority-buyer-alert",
27
- "version": "0.1.41",
27
+ "version": "0.1.42",
28
28
  "bin": "priority-buyer-alert-cli"
29
29
  }
30
30
  }