@yixinkj/ops 0.1.23 → 0.1.26

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.
Files changed (3) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
  3. package/skills.json +5 -0
package/index.js CHANGED
@@ -1046,6 +1046,7 @@ function childCompletionState(result, current = {}) {
1046
1046
  }
1047
1047
  if (state === 'failed') return {status:'failed',stage:'skill_failed',retryable:false,message:'采集失败,请查看具体结果。'};
1048
1048
  if (state === 'partial') return {status:'completed_partial',stage:'completed_partial',retryable:false,message:'采集部分完成,请查看未完成项。'};
1049
+ if (state === 'completed_partial') return {status:'completed_partial',stage:'completed_partial',retryable:false,message:result.message || '采集部分完成,请查看未完成项。'};
1049
1050
  return {status:'completed',stage:'completed',retryable:false,message:'Skill 已完成'};
1050
1051
  }
1051
1052
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yixinkj/ops",
3
- "version": "0.1.23",
3
+ "version": "0.1.26",
4
4
  "description": "Yixin operations native CLI launcher.",
5
5
  "type": "module",
6
6
  "bin": {
package/skills.json CHANGED
@@ -27,6 +27,11 @@
27
27
  "name": "贸易商品盘点",
28
28
  "flag": "--trade-product-audit",
29
29
  "bin": "trade-product-audit"
30
+ },
31
+ {
32
+ "name": "店铺经营参谋",
33
+ "flag": "--shop-performance",
34
+ "bin": "shop-performance"
30
35
  }
31
36
  ]
32
37
  }