siluzan-website-cli 1.0.1-beta.4 → 1.0.1-beta.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # siluzan-website-cli
2
2
 
3
- Siluzan **WordPress 站点管理** Skill CLI。安装后由 AI Agent 列出站点、新增/编辑页面、安装 / 升级 / 卸载插件。
3
+ Siluzan **WordPress 站点开通与管理** Skill CLI。安装后由 AI Agent 选套餐/模板开通站点,以及列出站点、新增/编辑页面、安装 / 升级 / 卸载插件。
4
4
 
5
5
  ## 安装
6
6
 
@@ -12,7 +12,22 @@ siluzan-website login
12
12
 
13
13
  或使用 Skill 文档里的一键安装脚本。凭据与 `siluzan-cso` / `siluzan-tso` 共用 `~/.siluzan/config.json` 的 **API Key**(Skill 不使用 JWT)。
14
14
 
15
- ## 常用命令
15
+ ## 开通建站
16
+
17
+ ```bash
18
+ siluzan-website packages list
19
+ siluzan-website templates list --package <packageId>
20
+ siluzan-website trial status
21
+ siluzan-website bills create --package <packageId> --channel Monthly
22
+ siluzan-website bills get --id <billId>
23
+ siluzan-website sites create --name "Acme" --region US --package <id> --template <id> --site-lang en_US --admin-lang en_US [--bill <billId>] [--wait]
24
+ siluzan-website sites status --site <guid> --region US
25
+ siluzan-website sites bind --site <guid> --region US --name "Acme"
26
+ ```
27
+
28
+ 开通走主站 `/website-provision/*`(API Key)。对话 SOP 见 Skill `references/provision.md`。
29
+
30
+ ## 常用运维命令
16
31
 
17
32
  ```bash
18
33
  siluzan-website sites list
@@ -28,9 +43,12 @@ siluzan-website plugins install --site <guid> --zip ./plugin.zip
28
43
  siluzan-website plugins update --site <guid> --plugin <plugin>
29
44
  siluzan-website plugins uninstall --site <guid> --plugin <plugin>
30
45
  siluzan-website plugins helper-status --site <guid>
46
+ siluzan-website zasp settings --site <guid>
47
+ siluzan-website zasp set --site <guid> --set related_enabled=1
48
+ siluzan-website zasp sync --site <guid>
31
49
  ```
32
50
 
33
- 页面写入走站点上已有的 `zionbuilder/v1` visual-edit 接口(HTML → Builder)。插件:目录用 `--slug`,外部用 `--zip`;卸载用 `uninstall --plugin`(helper / oauth2 不允许);helper 太旧时会先从镜像本地 zip 升级。
51
+ 页面写入走站点上已有的 `zionbuilder/v1` visual-edit 接口(HTML → Builder)。插件:目录用 `--slug`,外部用 `--zip`;卸载用 `uninstall --plugin`(helper / oauth2 不允许);helper 太旧时会先从镜像本地 zip 升级。`zasp-smart-recommender` 装完后用 `zasp settings / set / sync` 配相关推荐和 AI/向量,不要手写 curl。
34
52
 
35
53
  ## 开发
36
54