rainskills 0.1.20 → 0.1.22

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 (29) hide show
  1. package/README.md +5 -11
  2. package/SKILL.md +1 -1
  3. package/marketplace/rainskills/.claude-plugin/plugin.json +1 -1
  4. package/marketplace/rainskills/.codex-plugin/plugin.json +1 -1
  5. package/marketplace/rainskills/skills/rainskills/SKILL.md +2 -2
  6. package/package.json +2 -2
  7. package/rainbond-app-assistant/SKILL.md +40 -1458
  8. package/rainbond-app-assistant/references/operational-reference.md +27 -0
  9. package/rainbond-app-assistant/references/routing.md +15 -0
  10. package/rainbond-app-assistant/references/runtime-gate.md +167 -0
  11. package/rainbond-app-assistant/references/workflow-rules.md +344 -0
  12. package/rainbond-app-assistant/scripts/validate_cross_skill_routing.py +637 -0
  13. package/rainbond-app-assistant/scripts/validate_progressive_loading.py +149 -0
  14. package/rainbond-app-version-assistant/SKILL.md +1 -1
  15. package/rainbond-delivery-verifier/SKILL.md +1 -1
  16. package/rainbond-env-sync/SKILL.md +1 -1
  17. package/rainbond-fullstack-bootstrap/SKILL.md +5 -11
  18. package/rainbond-fullstack-troubleshooter/SKILL.md +1 -1
  19. package/rainbond-opensource-app-deploy/SKILL.md +30 -307
  20. package/rainbond-opensource-app-deploy/agents/openai.yaml +1 -1
  21. package/rainbond-opensource-app-deploy/references/deployment-workflow.md +168 -0
  22. package/rainbond-opensource-app-deploy/references/runtime-gate.md +147 -0
  23. package/rainbond-platform-installer/SKILL.md +4 -4
  24. package/rainbond-platform-installer/scripts/installed-version.js +1 -1
  25. package/rainbond-platform-installer/scripts/user-message.js +3 -1
  26. package/rainbond-platform-installer/scripts/windows-platform.ps1 +1 -1
  27. package/rainbond-platform-query/SKILL.md +1 -1
  28. package/rainbond-project-init/SKILL.md +5 -11
  29. package/rainbond-template-installer/SKILL.md +5 -11
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.22`,不会执行浮动的 `@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.22`):
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.22",
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.22",
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.22 <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.22`):
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.22",
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",
@@ -69,7 +69,7 @@
69
69
  "test:console-contract": "python3 tests/console_tool_contract_test.py",
70
70
  "test:skill-profile": "node --test tests/skill-profile-builder.test.js tests/markdown-link-integrity.test.js",
71
71
  "test:marketplace": "node --test tests/marketplace-entry.test.js",
72
- "test:runtime-routing": "node --test tests/runtime-onboarding-routing.test.js && python3 tests/run_skill_routing_evals.py",
72
+ "test:runtime-routing": "node --test tests/runtime-onboarding-routing.test.js && python3 rainbond-app-assistant/scripts/validate_progressive_loading.py && python3 rainbond-app-assistant/scripts/validate_cross_skill_routing.py && python3 tests/progressive-loading-validators.test.py && python3 tests/run_skill_routing_evals.py",
73
73
  "test:telemetry": "node --test tests/telemetry.test.js",
74
74
  "test:platform": "node --test tests/platform-installer.test.js tests/host-cluster-installer.test.js tests/existing-kubernetes-installer.test.js tests/ssh-key-setup.test.js",
75
75
  "test:windows": "node --test tests/windows-onboarding.test.js tests/windows-platform.test.js",