@hcmai/cli 0.4.5 → 0.4.6
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.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/skills/manifest.json +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7650,7 +7650,16 @@ function classify(argv, actionResolution) {
|
|
|
7650
7650
|
return guarded("managed-local-write", "workspace-local-change");
|
|
7651
7651
|
}
|
|
7652
7652
|
if (subcommand === "create") return guarded("tenant-write", "workspace-create");
|
|
7653
|
-
if (subcommand === "
|
|
7653
|
+
if (subcommand === "activate") return guarded("tenant-write", "workspace-activate");
|
|
7654
|
+
if (subcommand === "push") return guarded("tenant-write", "workspace-push");
|
|
7655
|
+
if (["deploy", "release", "promote", "publish"].includes(subcommand)) {
|
|
7656
|
+
return forbidden("publish", "\u90E8\u7F72\u5230 active \u5C5E\u4E8E R3\uFF0C\u987B\u8D70\u53D1\u5E03\u4E0E\u5BA1\u6279\u94FE\u8DEF\u3002");
|
|
7657
|
+
}
|
|
7658
|
+
}
|
|
7659
|
+
if (name === "script") {
|
|
7660
|
+
if (["dry-run", "manifest-validate", "logs", "task"].includes(subcommand)) {
|
|
7661
|
+
return direct("R1", "remote-read", "script-" + subcommand);
|
|
7662
|
+
}
|
|
7654
7663
|
}
|
|
7655
7664
|
if (name === "import") {
|
|
7656
7665
|
if (hasFlag(argv, "--dry-run")) {
|