rainskills 0.1.20 → 0.1.21

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
@@ -100,17 +100,11 @@ Rainskills 安装完成,下一条消息即可直接使用。
100
100
  提示“请选择应用要运行的环境:”,并只显示:
101
101
 
102
102
  1) 云端环境(免费体验)
103
- 2) 私有环境(去对接)
103
+ 2) 本机环境
104
+ 3) 独立服务器
105
+ 4) 已有 Rainbond
104
106
 
105
- 选择私有环境后,直接显示:
106
-
107
- 请选择部署位置:
108
-
109
- 1、部署到本机
110
- 2、部署到独立服务器
111
- 3、部署到已有 Rainbond
112
-
113
- 选择 1 时执行 `install-private` route 并传入 `--location local`;选择 2 时执行 `install-private` route 并传入 `--location server`;选择 3 时询问已有私有环境地址并执行 `private-existing` route。不会再显示额外的接入方式中间步骤。不得在进入平台安装器后重复询问部署位置,也不得在环境准备完成前询问应用来源。
107
+ 选择 1 时执行 `saas` route;选择 2 时执行 `install-private` route 并传入 `--location local`;选择 3 时执行 `install-private` route 并传入 `--location server`;选择 4 时询问已有 Rainbond 地址并执行 `private-existing` route。不得显示“私有环境”中间层,不得在进入平台安装器后重复询问部署位置,也不得在环境准备完成前询问应用来源。
114
108
 
115
109
  选择“部署到独立服务器”后,只显示:
116
110
 
@@ -229,7 +223,7 @@ node ~/.rainbond/lib/rainskills/bin/rainskills.js platform install --onboarding-
229
223
 
230
224
  Rainskills 会在用户下一次发起业务动作时,由本地运行时立即返回环境查询结果,并另行启动后台任务静默检查更新。更新只跟随 npm `latest` 指向的正式版。当前版本是 RC 或其他预发布版本时不会查询、不会自动升级;npm 上的新 RC 版本也不参与正式版自动升级。
231
225
 
232
- 发现更高的正式版后,后台任务只委托到经过校验的精确版本,例如 `rainskills@0.1.20`,不会执行浮动的 `@latest` 业务代码。新版本原子刷新已经安装的 Rainskills Skills;当前业务继续使用启动时已经加载的版本,最迟从下一条新任务开始使用新版。npm 超时、版本检查失败、安装位置不安全或文件迁移失败时会保留旧版本,且不会阻塞或改变当前操作。
226
+ 发现更高的正式版后,后台任务只委托到经过校验的精确版本,例如 `rainskills@0.1.21`,不会执行浮动的 `@latest` 业务代码。新版本原子刷新已经安装的 Rainskills Skills;当前业务继续使用启动时已经加载的版本,最迟从下一条新任务开始使用新版。npm 超时、版本检查失败、安装位置不安全或文件迁移失败时会保留旧版本,且不会阻塞或改变当前操作。
233
227
 
234
228
  升级只更新 Rainskills 自身,不触发 Rainbond 安装、运行环境选择、登录授权或重新对接,也不会新增 Agent MCP 配置。更新内容仅包括 Skills 和本地 CLI。原始业务操作会继续执行;只有该业务操作本身需要运行环境时,才按既有门禁检查当前连接。可用连接直接复用,401 只重新授权一次,403 立即停止,从未连接过运行环境时才进入环境选择。
235
229
 
package/SKILL.md CHANGED
@@ -44,7 +44,7 @@ Rainskills 安装完成,下一条消息即可直接使用。
44
44
 
45
45
  涉及浏览器或设备授权的 `runtime connect`,以及恢复/安装场景中的 `rainskills <target> --self-hosted`,必须在附加交互终端(TTY)中运行;在 Codex 中设置 `tty: true` 并保持进程附着直到授权完成。禁止通过非交互命令要求用户粘贴 JWT;非交互模式只可复用已存在的受保护凭据。
46
46
 
47
- Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.20`):
47
+ Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.21`):
48
48
 
49
49
  - 状态:执行 `runtime status --json`。
50
50
  - 首次连接:执行 `runtime connect <target> --saas` 或 `runtime connect <target> --rainbond-url <Console origin>`。
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rainskills",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Install the complete Rainskills AI deployment skill suite as one product.",
5
5
  "author": {
6
6
  "name": "Goodrain",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rainskills",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Install the complete Rainskills AI deployment skill suite as one product.",
5
5
  "author": {
6
6
  "name": "Goodrain",
@@ -14,7 +14,7 @@ This is the single marketplace entry for the complete Rainskills product. The in
14
14
  3. Keep stdin, stdout, and stderr attached. When `RAINSKILLS_USER_INPUT_REQUIRED` appears, pause for that installer choice. If the installer emits `rainskills.next-action.v1`, execute only its fixed `argv` through the same launcher; never evaluate output as a shell command. If the adjacent `bin/rainskills.js` exists, use it for fixed next actions; otherwise use the same versioned npm package fallback described below.
15
15
  4. Stay attached until every independent Skill is installed. Do not select, connect, or configure an application runtime during installation. In the user-facing response, output only the fixed completion message below.
16
16
 
17
- If the adjacent installer is missing, check the local Node.js version before choosing the fallback. With `npx` and Node.js 18 or newer, use `npx --yes rainskills@0.1.20 <target>`. With no Node.js or a version below 18, use `bash <(curl -fsSL https://get.rainbond.com/rainskills/install.sh) <target>` instead. Omit `<target>` only when the host cannot be determined reliably. Keep either command attached to the interactive terminal. For an update or repair, refresh this marketplace Skill first, then run the installer again; it compares and updates every independent internal Skill.
17
+ If the adjacent installer is missing, check the local Node.js version before choosing the fallback. With `npx` and Node.js 18 or newer, use `npx --yes rainskills@0.1.21 <target>`. With no Node.js or a version below 18, use `bash <(curl -fsSL https://get.rainbond.com/rainskills/install.sh) <target>` instead. Omit `<target>` only when the host cannot be determined reliably. Keep either command attached to the interactive terminal. For an update or repair, refresh this marketplace Skill first, then run the installer again; it compares and updates every independent internal Skill.
18
18
 
19
19
  Skills-only 安装不需要 Node.js;CDN fallback 只负责安装 Skill 文件,不代表运行环境连接、应用部署或平台安装已经可执行。用户首次提出需要运行环境的动作时,对应业务 Skill 才检查 Node.js;固定 Rainskills launcher 需要 Node.js 18 或更高版本。缺失或版本过低时保留原始 intent 并停止,等待用户或 agent 明确同意安装或升级 Node.js,安装完成消息不得提前提示 Node.js。
20
20
 
@@ -44,7 +44,7 @@ Rainskills 安装完成,下一条消息即可直接使用。
44
44
 
45
45
  涉及浏览器或设备授权的 `runtime connect`,以及恢复/安装场景中的 `rainskills <target> --self-hosted`,必须在附加交互终端(TTY)中运行;在 Codex 中设置 `tty: true` 并保持进程附着直到授权完成。禁止通过非交互命令要求用户粘贴 JWT;非交互模式只可复用已存在的受保护凭据。
46
46
 
47
- Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.20`):
47
+ Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.21`):
48
48
 
49
49
  - 状态:执行 `runtime status --json`。
50
50
  - 首次连接:执行 `runtime connect <target> --saas` 或 `runtime connect <target> --rainbond-url <Console origin>`。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rainskills",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Interactive Rainbond skill installer for Codex, Claude Code, and Pi Agent",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/goodrain/rainskills#readme",
@@ -99,7 +99,7 @@ description: "Use whenever a user asks to deploy, run, deliver, publish, inspect
99
99
  ```json
100
100
  {
101
101
  "schema": "rainskills.single-runtime-contract.v1",
102
- "package_version": "rainskills@0.1.20",
102
+ "package_version": "rainskills@0.1.21",
103
103
  "runtime_status": [
104
104
  "node",
105
105
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -240,17 +240,11 @@ description: "Use whenever a user asks to deploy, run, deliver, publish, inspect
240
240
  请提示“请选择应用要运行的环境:”,并只显示:
241
241
 
242
242
  1) 云端环境(免费体验)
243
- 2) 私有环境(去对接)
243
+ 2) 本机环境
244
+ 3) 独立服务器
245
+ 4) 已有 Rainbond
244
246
 
245
- 用户选择私有环境后,立即执行本地 launcher + `["runtime", "message", "--id", "private-deployment-location"]`,并按同一消息协议原样输出块内正文:
246
-
247
- 请选择部署位置:
248
-
249
- 1、部署到本机
250
- 2、部署到独立服务器
251
- 3、部署到已有 Rainbond
252
-
253
- 选择 1 时执行 `install-private` route,并在完整 argv 中使用 `["--location", "local"]`;选择 2 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 3 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示额外的接入方式中间步骤,不得在平台安装器中重复询问部署位置,也不得在环境准备完成前询问应用来源。
247
+ 选择 1 时执行 `saas` route;选择 2 时执行 `install-private` route,并在完整 argv 中使用 `["--location", "local"]`;选择 3 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 4 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示“私有环境”或部署位置中间层,不得在平台安装器中重复询问部署位置,也不得在环境准备完成前询问应用来源。
254
248
 
255
249
  ### 已有应用
256
250
 
@@ -17,7 +17,7 @@ description: "Use when a user explicitly asks for an existing Rainbond app versi
17
17
  ```json
18
18
  {
19
19
  "schema": "rainskills.single-runtime-contract.v1",
20
- "package_version": "rainskills@0.1.20",
20
+ "package_version": "rainskills@0.1.21",
21
21
  "runtime_status": [
22
22
  "node",
23
23
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -49,7 +49,7 @@ description: "Use only when the user explicitly asks for final delivery or acces
49
49
  ```json
50
50
  {
51
51
  "schema": "rainskills.single-runtime-contract.v1",
52
- "package_version": "rainskills@0.1.20",
52
+ "package_version": "rainskills@0.1.21",
53
53
  "runtime_status": [
54
54
  "node",
55
55
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -17,7 +17,7 @@ description: "Use when a user explicitly asks to sync non-sensitive preview or p
17
17
  ```json
18
18
  {
19
19
  "schema": "rainskills.single-runtime-contract.v1",
20
- "package_version": "rainskills@0.1.20",
20
+ "package_version": "rainskills@0.1.21",
21
21
  "runtime_status": [
22
22
  "node",
23
23
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -17,7 +17,7 @@ description: "Use only when the user explicitly asks to create the Rainbond app
17
17
  ```json
18
18
  {
19
19
  "schema": "rainskills.single-runtime-contract.v1",
20
- "package_version": "rainskills@0.1.20",
20
+ "package_version": "rainskills@0.1.21",
21
21
  "runtime_status": [
22
22
  "node",
23
23
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -146,17 +146,11 @@ description: "Use only when the user explicitly asks to create the Rainbond app
146
146
  intent 不含 `app_id` 和 `service_id` 时,请提示“请选择应用要运行的环境:”,并只显示:
147
147
 
148
148
  1) 云端环境(免费体验)
149
- 2) 私有环境(去对接)
149
+ 2) 本机环境
150
+ 3) 独立服务器
151
+ 4) 已有 Rainbond
150
152
 
151
- 用户选择私有环境后,立即执行本地 launcher + `["runtime", "message", "--id", "private-deployment-location"]`,并原样输出固定消息:
152
-
153
- 请选择部署位置:
154
-
155
- 1、部署到本机
156
- 2、部署到独立服务器
157
- 3、部署到已有 Rainbond
158
-
159
- 选择 1 时执行 `install-private` route,并使用 `["--location", "local"]`;选择 2 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 3 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示额外的接入方式中间步骤,不得重复询问部署位置,也不得在环境准备完成前询问应用来源。
153
+ 选择 1 时执行 `saas` route;选择 2 时执行 `install-private` route,并使用 `["--location", "local"]`;选择 3 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 4 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示“私有环境”或部署位置中间层,不得重复询问部署位置,也不得在环境准备完成前询问应用来源。
160
154
 
161
155
  ### 已有目标
162
156
 
@@ -49,7 +49,7 @@ description: "Use only when the user explicitly asks for a bounded build, runtim
49
49
  ```json
50
50
  {
51
51
  "schema": "rainskills.single-runtime-contract.v1",
52
- "package_version": "rainskills@0.1.20",
52
+ "package_version": "rainskills@0.1.21",
53
53
  "runtime_status": [
54
54
  "node",
55
55
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -17,7 +17,7 @@ description: "Use when a user wants to deploy an open-source application that is
17
17
  ```json
18
18
  {
19
19
  "schema": "rainskills.single-runtime-contract.v1",
20
- "package_version": "rainskills@0.1.20",
20
+ "package_version": "rainskills@0.1.21",
21
21
  "runtime_status": [
22
22
  "node",
23
23
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -142,17 +142,11 @@ description: "Use when a user wants to deploy an open-source application that is
142
142
  请提示“请选择应用要运行的环境:”,并只显示:
143
143
 
144
144
  1) 云端环境(免费体验)
145
- 2) 私有环境(去对接)
145
+ 2) 本机环境
146
+ 3) 独立服务器
147
+ 4) 已有 Rainbond
146
148
 
147
- 用户选择私有环境后,执行本地 launcher + `["runtime", "message", "--id", "private-deployment-location"]`,并原样显示:
148
-
149
- 请选择部署位置:
150
-
151
- 1、部署到本机
152
- 2、部署到独立服务器
153
- 3、部署到已有 Rainbond
154
-
155
- 选择 1 时执行 `install-private` 并使用 `["--location", "local"]`;选择 2 时执行 `install-private` 并使用 `["--location", "server"]`;选择 3 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]` 后执行 `private-existing`。不得在运行环境准备完成前继续读取或修改部署描述文件。
149
+ 选择 1 时执行 `saas` route;选择 2 时执行 `install-private` 并使用 `["--location", "local"]`;选择 3 时执行 `install-private` 并使用 `["--location", "server"]`;选择 4 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]` 后执行 `private-existing`。不得显示“私有环境”或部署位置中间层,不得在运行环境准备完成前继续读取或修改部署描述文件。
156
150
  <!-- rainskills-runtime-routing:end -->
157
151
 
158
152
  ## 部署类 skill 怎么选
@@ -32,8 +32,8 @@ Do not use it to deploy an application to an existing Rainbond. Route those requ
32
32
  ## Workflow
33
33
 
34
34
  1. Read [installation-policy.md](references/installation-policy.md).
35
- 2. Use the installed local launcher `["node", "<home>/.rainbond/lib/rainskills/bin/rainskills.js"]`; its protected runtime package marker is `rainskills@0.1.20` and must equal this package's `package.json`. For a Rainskills marker, first validate schema `rainskills.next-action.v1`, action, onboarding id, and the bounded `argv` array, then append that array to the launcher. Never use `latest` or evaluate a shell string from output.
36
- 3. 在任何平台安装命令之前,先执行 launcher + `["runtime", "message", "--id", "private-deployment-location"]`,并原样输出固定的三项部署位置消息。选择 1 后执行带 `["--location", "local", "--mode", "single-node"]` 的 `platform install`;选择 2 后执行带 `["--location", "server"]` 的 `platform install`,由 helper 继续显示固定的服务器类型消息;选择 3 后执行 launcher + `["runtime", "message", "--id", "private-console-origin"]` 并进入已有环境连接,不得执行 `platform install`。平台安装 onboarding 只保存安装断点,不保存或恢复业务 intent。
35
+ 2. Use the installed local launcher `["node", "<home>/.rainbond/lib/rainskills/bin/rainskills.js"]`; its protected runtime package marker is `rainskills@0.1.21` and must equal this package's `package.json`. For a Rainskills marker, first validate schema `rainskills.next-action.v1`, action, onboarding id, and the bounded `argv` array, then append that array to the launcher. Never use `latest` or evaluate a shell string from output.
36
+ 3. 业务 Skill 的四项运行环境菜单会把本机或独立服务器选择写入 `rainskills.next-action.v1` 的显式 `--location`;收到这类 next-action 后直接执行固定 argv,不得再次调用 `private-deployment-location`。只有用户直接要求安装 Rainbond 平台且尚未选择部署位置时,才执行 launcher + `["runtime", "message", "--id", "private-deployment-location"]` 并原样输出固定的三项部署位置消息:选择 1 后执行带 `["--location", "local", "--mode", "single-node"]` 的 `platform install`;选择 2 后执行带 `["--location", "server"]` 的 `platform install`,由 helper 继续显示固定的服务器类型消息;选择 3 后执行 launcher + `["runtime", "message", "--id", "private-console-origin"]` 并进入已有环境连接,不得执行 `platform install`。平台安装 onboarding 只保存安装断点,不保存或恢复业务 intent。
37
37
  4. Let the helper perform one read-only preflight against the already selected local or remote target, then show resources, blockers, and applicable host changes. Never invoke `platform install` without an explicit `--location`; the helper must not ask for the deployment location again.
38
38
  5. 主机集群开始前必须获得 explicit confirmation,并使用受限 AI 交接:首次调用在固定安装 argv 后追加 `--agent-handoff`,记录该子进程会话;用户确认后,使用相同固定 argv 追加 `--agent-handoff --yes` 一次。不得向等待进程写入 `y`、不得启动第二个竞争安装、不得 `kill` 安装进程,也不得让用户复制完整安装或恢复命令。用户取消时,仅使用同一 argv 追加 `--agent-handoff --cancel`;它只能清除匹配的待确认状态,不能建立 SSH 连接或修改服务器。
39
39
  6. 如果 helper 输出 `platform.host-cluster-server-input`,只原样展示受保护 `servers.txt` 的固定正文并等待用户回复“已完成”,随后在原任务中重跑同一安装 argv。若输出 `platform.ssh-authentication`,同样只原样展示正文并等待;单台服务器消息包含一条 `ssh prepare`,主机集群消息必须一次列出全部未就绪节点及一条 `ssh prepare-cluster`,不得按节点拆成多轮。确认后的主机集群安装必须保持当前任务附着,直至安装、验证和授权完成;若收到 `RAINSKILLS_OPERATION_LOCK_BUSY`,继续等待已经记录的会话,不得重试或中断它。若会话因 SIGINT/SIGTERM 结束,只能在同一任务用匹配的 `--agent-handoff --yes` 进行安全恢复。不得只凭官方脚本退出码推断成功。
@@ -43,7 +43,7 @@ Do not use it to deploy an application to an existing Rainbond. Route those requ
43
43
  <!-- rainskills-platform-routing:start -->
44
44
  ## Progressive Target Routing
45
45
 
46
- 第一层原样展示:
46
+ 只有用户直接要求安装 Rainbond 平台且尚未选择部署位置时,第一层原样展示:
47
47
 
48
48
  ```text
49
49
  请选择部署位置:
@@ -91,7 +91,7 @@ SSH 免密连接检查必须先检查全部节点。存在未就绪节点时,
91
91
 
92
92
  ## Interaction Rules
93
93
 
94
- - Linux、macOS 和 Windows 都只能使用 Progressive Target Routing 中同一份三项部署位置消息,不得根据操作系统生成另一套选项或默认选中任何位置。
94
+ - 只有尚未由业务 Skill 四项菜单选定位置时,Linux、macOS 和 Windows 才使用 Progressive Target Routing 中同一份三项部署位置消息;不得根据操作系统生成另一套选项或默认选中任何位置。
95
95
  - 选择部署到本机后再按控制端系统进入对应本地实现:macOS 使用 OrbStack;Windows 使用专用 WSL2 发行版和固定 `local-windows` helper。不要把这些实现差异写入第一层选择文案。
96
96
  - Do not ask the user to understand or enter WSL commands. Show the read-only checks first, then explain UAC, downloads, host networking, and a possible Windows reboot before requesting confirmation.
97
97
  - Let the fixed helper request UAC. If Windows must reboot, preserve the checkpoint and use only the verified resume task or exact printed resume command.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  module.exports = Object.freeze({
4
- version: "0.1.20",
4
+ version: "0.1.21",
5
5
  });
@@ -15,7 +15,9 @@ const USER_MESSAGES = Object.freeze({
15
15
  "请选择应用要运行的环境:",
16
16
  "",
17
17
  "1) 云端环境(免费体验)",
18
- "2) 私有环境(去对接)",
18
+ "2) 本机环境",
19
+ "3) 独立服务器",
20
+ "4) 已有 Rainbond",
19
21
  ].join("\n"),
20
22
  },
21
23
  "private-console-origin": {
@@ -303,7 +303,7 @@ function Get-StateAclFacts([string]$PathValue, [string]$Kind, [string]$HomeValue
303
303
  } finally {
304
304
  $hasher.Dispose()
305
305
  }
306
- $fileIdentity = "sha256:$digest:$($stream.Length)"
306
+ $fileIdentity = "sha256:${digest}:$($stream.Length)"
307
307
  }
308
308
  return [ordered]@{
309
309
  ownerSid = Convert-IdentityToSid $acl.Owner
@@ -17,7 +17,7 @@ description: Use for a user-requested, read-only Rainbond platform query about t
17
17
  ```json
18
18
  {
19
19
  "schema": "rainskills.single-runtime-contract.v1",
20
- "package_version": "rainskills@0.1.20",
20
+ "package_version": "rainskills@0.1.21",
21
21
  "runtime_status": [
22
22
  "node",
23
23
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -17,7 +17,7 @@ description: "Use only when the user explicitly asks to initialize or link a loc
17
17
  ```json
18
18
  {
19
19
  "schema": "rainskills.single-runtime-contract.v1",
20
- "package_version": "rainskills@0.1.20",
20
+ "package_version": "rainskills@0.1.21",
21
21
  "runtime_status": [
22
22
  "node",
23
23
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -142,17 +142,11 @@ description: "Use only when the user explicitly asks to initialize or link a loc
142
142
  请提示“请选择应用要运行的环境:”,并只显示:
143
143
 
144
144
  1) 云端环境(免费体验)
145
- 2) 私有环境(去对接)
145
+ 2) 本机环境
146
+ 3) 独立服务器
147
+ 4) 已有 Rainbond
146
148
 
147
- 用户选择私有环境后,立即执行本地 launcher + `["runtime", "message", "--id", "private-deployment-location"]`,并原样输出固定消息:
148
-
149
- 请选择部署位置:
150
-
151
- 1、部署到本机
152
- 2、部署到独立服务器
153
- 3、部署到已有 Rainbond
154
-
155
- 选择 1 时执行 `install-private` route,并使用 `["--location", "local"]`;选择 2 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 3 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示额外的接入方式中间步骤,不得重复询问部署位置,也不得在环境准备完成前询问应用来源。
149
+ 选择 1 时执行 `saas` route;选择 2 时执行 `install-private` route,并使用 `["--location", "local"]`;选择 3 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 4 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示“私有环境”或部署位置中间层,不得重复询问部署位置,也不得在环境准备完成前询问应用来源。
156
150
  <!-- rainskills-runtime-routing:end -->
157
151
 
158
152
  ## Overview
@@ -17,7 +17,7 @@ description: "Use when the user explicitly asks to install a local or cloud Rain
17
17
  ```json
18
18
  {
19
19
  "schema": "rainskills.single-runtime-contract.v1",
20
- "package_version": "rainskills@0.1.20",
20
+ "package_version": "rainskills@0.1.21",
21
21
  "runtime_status": [
22
22
  "node",
23
23
  "<home>/.rainbond/lib/rainskills/bin/rainskills.js",
@@ -146,17 +146,11 @@ description: "Use when the user explicitly asks to install a local or cloud Rain
146
146
  请提示“请选择应用要运行的环境:”,并只显示:
147
147
 
148
148
  1) 云端环境(免费体验)
149
- 2) 私有环境(去对接)
149
+ 2) 本机环境
150
+ 3) 独立服务器
151
+ 4) 已有 Rainbond
150
152
 
151
- 用户选择私有环境后,立即执行本地 launcher + `["runtime", "message", "--id", "private-deployment-location"]`,并原样输出固定消息:
152
-
153
- 请选择部署位置:
154
-
155
- 1、部署到本机
156
- 2、部署到独立服务器
157
- 3、部署到已有 Rainbond
158
-
159
- 选择 1 时执行 `install-private` route,并使用 `["--location", "local"]`;选择 2 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 3 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示额外的接入方式中间步骤,不得重复询问部署位置,也不得在环境准备完成前询问应用来源。
153
+ 选择 1 时执行 `saas` route;选择 2 时执行 `install-private` route,并使用 `["--location", "local"]`;选择 3 时执行 `install-private` route,并使用 `["--location", "server"]`;选择 4 时执行本地 launcher + `["runtime", "message", "--id", "private-console-origin"]`,收到地址后执行 `private-existing`。不得显示“私有环境”或部署位置中间层,不得重复询问部署位置,也不得在环境准备完成前询问应用来源。
160
154
 
161
155
  ### 已有应用
162
156