@alipay/alipay-aipay 1.5.1-beta → 1.5.1
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/package.json
CHANGED
package/skill/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.5.1
|
|
1
|
+
1.5.1
|
|
@@ -297,16 +297,11 @@ node ../normal/scripts/onboarding_message_runner.mjs application-candidates --ap
|
|
|
297
297
|
|
|
298
298
|
空候选时直接进入新建资料分支;非空时发出 runner stdout 后等待当前候选允许的选择。
|
|
299
299
|
|
|
300
|
-
每次只展示一个类别的现状、选择和缺失字段;同一类别一次收齐,只补问缺失或校验失败字段。材料收集提示只允许通过 `onboarding_message_runner.mjs material-collect` 输出:签约分支传 `--category signing`,服务分支传 `--category service`,应用分支传 `--category application`。禁止直接调用 renderer 手写 `categoryName`、`currentStatus` 或 `missingFields`,也禁止使用 `签约资料` 等同义词、`mobilePlatform`、`网站支付签约截图` 等自由文本作为 renderer 入参;常见字段别名只能交给 runner
|
|
300
|
+
每次只展示一个类别的现状、选择和缺失字段;同一类别一次收齐,只补问缺失或校验失败字段。材料收集提示只允许通过 `onboarding_message_runner.mjs material-collect` 输出:签约分支传 `--category signing`,服务分支传 `--category service`,应用分支传 `--category application`。禁止直接调用 renderer 手写 `categoryName`、`currentStatus` 或 `missingFields`,也禁止使用 `签约资料` 等同义词、`mobilePlatform`、`网站支付签约截图` 等自由文本作为 renderer 入参;常见字段别名只能交给 runner 规范化。
|
|
301
|
+
|
|
302
|
+
执行前根据当前已确认状态选择唯一 runner 枚举:`INITIAL` 对应“待补充”,`PARTIAL` 对应“部分已提供,待补充”,`INVALID` 对应“校验失败,需更正”。不在这三种状态时停止并核对,不执行展示命令。确定 `MATERIAL_CATEGORY` 和 `MATERIALS_STATE` 后,只执行下列单条命令:
|
|
301
303
|
|
|
302
304
|
```bash
|
|
303
|
-
# 当前分支先设置 MATERIAL_CATEGORY,只允许 signing|service|application
|
|
304
|
-
case "$CURRENT_STATUS" in
|
|
305
|
-
"待补充") MATERIALS_STATE="INITIAL" ;;
|
|
306
|
-
"部分已提供,待补充") MATERIALS_STATE="PARTIAL" ;;
|
|
307
|
-
"校验失败,需更正") MATERIALS_STATE="INVALID" ;;
|
|
308
|
-
*) echo "❌ 未知材料状态,停止渲染" >&2; exit 1 ;;
|
|
309
|
-
esac
|
|
310
305
|
node ../normal/scripts/onboarding_message_runner.mjs material-collect --category "$MATERIAL_CATEGORY" --state "$MATERIALS_STATE" --product-type "$PRODUCT_TYPE" --missing-fields "$MISSING_FIELDS"
|
|
311
306
|
```
|
|
312
307
|
|