rainskills 0.1.49 → 0.1.50
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/SKILL.md +1 -1
- package/contracts/tool-references.json +6 -0
- package/marketplace/rainskills/.claude-plugin/plugin.json +1 -1
- package/marketplace/rainskills/.codex-plugin/plugin.json +1 -1
- package/marketplace/rainskills/skills/rainskills/SKILL.md +2 -2
- package/package.json +1 -1
- package/rainbond-ai-assistant/references/generated/runtime-gate.md +2 -2
- package/rainbond-app-assistant/references/generated/runtime-gate.md +3 -3
- package/rainbond-app-version-assistant/references/generated/runtime-gate.md +2 -2
- package/rainbond-delivery-verifier/references/generated/runtime-gate.md +2 -2
- package/rainbond-env-sync/references/generated/runtime-gate.md +2 -2
- package/rainbond-fullstack-bootstrap/references/generated/runtime-gate.md +3 -3
- package/rainbond-fullstack-troubleshooter/references/generated/runtime-gate.md +2 -2
- package/rainbond-opensource-app-deploy/references/generated/runtime-gate.md +2 -2
- package/rainbond-platform-installer/SKILL.md +1 -1
- package/rainbond-platform-installer/scripts/installed-version.js +1 -1
- package/rainbond-platform-plugin-manager/references/generated/runtime-gate.md +2 -2
- package/rainbond-platform-query/references/generated/runtime-gate.md +2 -2
- package/rainbond-project-init/references/generated/runtime-gate.md +2 -2
- package/rainbond-scheduled-task/SKILL.md +5 -3
- package/rainbond-scheduled-task/references/generated/runtime-gate.md +2 -2
- package/rainbond-template-installer/references/generated/runtime-gate.md +2 -2
package/SKILL.md
CHANGED
|
@@ -56,7 +56,7 @@ Hermes Agent 中必须使用 `terminal` 以 `background=true` 启动授权命令
|
|
|
56
56
|
|
|
57
57
|
DeepSeek Harness 和 WorkBuddy 也必须保持原命令附着直到退出;如果宿主把长命令转成持久终端或后台任务,只能轮询该原始命令句柄,不得另起 `runtime status` 推测授权结果。WorkBuddy 安装后若当前任务的 Skill 清单尚未刷新,在下一条业务动作前先刷新 Skill 列表或新建任务,不得退回内置 Sites 代替 Rainbond 部署。
|
|
58
58
|
|
|
59
|
-
Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.
|
|
59
|
+
Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.50`):
|
|
60
60
|
|
|
61
61
|
- 状态:执行 `runtime status --json`。
|
|
62
62
|
- 首次连接:执行 `runtime connect <target> --saas` 或 `runtime connect <target> --rainbond-url <Console origin>`。
|
|
@@ -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.
|
|
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.50 <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
|
|
|
@@ -56,7 +56,7 @@ Hermes Agent 中必须使用 `terminal` 以 `background=true` 启动授权命令
|
|
|
56
56
|
|
|
57
57
|
DeepSeek Harness 和 WorkBuddy 也必须保持原命令附着直到退出;如果宿主把长命令转成持久终端或后台任务,只能轮询该原始命令句柄,不得另起 `runtime status` 推测授权结果。WorkBuddy 安装后若当前任务的 Skill 清单尚未刷新,在下一条业务动作前先刷新 Skill 列表或新建任务,不得退回内置 Sites 代替 Rainbond 部署。
|
|
58
58
|
|
|
59
|
-
Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.
|
|
59
|
+
Rainskills 只保存一个全局运行环境,不维护环境列表、名称、默认值或环境 ID。使用固定 launcher `node <home>/.rainbond/lib/rainskills/bin/rainskills.js`(运行包版本 `rainskills@0.1.50`):
|
|
60
60
|
|
|
61
61
|
- 状态:执行 `runtime status --json`。
|
|
62
62
|
- 首次连接:执行 `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.
|
|
3
|
+
"version": "0.1.50",
|
|
4
4
|
"description": "Agent Skills for deploying, troubleshooting, and verifying applications on Rainbond from Codex, Claude Code, and other AI coding agents",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://www.rainbond.com/rainskills",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: b75e6422a554305e8e66773d3e4897d1a0ca3287f5bd355fd40b73ddbb478a7e -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -48,7 +48,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
48
48
|
```json
|
|
49
49
|
{
|
|
50
50
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
51
|
-
"package_version": "rainskills@0.1.
|
|
51
|
+
"package_version": "rainskills@0.1.50",
|
|
52
52
|
"runtime_status": [
|
|
53
53
|
"node",
|
|
54
54
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: ac84cf300fd65862828638c75f13ec4144572ba2ecbde3d9211c56533e43ad28 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
6
6
|
|
|
7
7
|
本机只允许连接一个 Rainbond 运行环境。当前 Skill 在本会话第一次调用 Rainbond 前,执行固定 launcher 的 `runtime status --json`。只有命令退出码为 0、`state=connected` 且 `usable=true` 时才继续。不得配置或直接调用客户端 MCP,不得枚举环境、读取凭据、创建自定义业务 operation,或生成运行环境 ID、业务 operation ID 与 intent JSON。固定 batch/recipe 请求和 CLI 返回的 confirmation_id 属于受保护调用协议,不是模型自建业务工作流。
|
|
8
8
|
|
|
9
|
-
运行状态的 `package_version` 必须与下方 JSON contract 完全一致;缺失或不一致时先执行固定版本 `rainskills@0.1.
|
|
9
|
+
运行状态的 `package_version` 必须与下方 JSON contract 完全一致;缺失或不一致时先执行固定版本 `rainskills@0.1.50` 的更新/修复流程。不得在版本错配时继续业务调用。
|
|
10
10
|
|
|
11
11
|
如果 integrity.status=failed 或 repair_required=true,停止业务调用并修复相同版本的本地安装;不得将缺模块当作 API 参数错误排查或绕过兼容入口。
|
|
12
12
|
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: fc10942c8f3909d7941b4fc416089b902bbcbbb569a74e997e95b744df5542a6 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -46,7 +46,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
46
46
|
```json
|
|
47
47
|
{
|
|
48
48
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
49
|
-
"package_version": "rainskills@0.1.
|
|
49
|
+
"package_version": "rainskills@0.1.50",
|
|
50
50
|
"runtime_status": [
|
|
51
51
|
"node",
|
|
52
52
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: f80d036c73df4497686e0a0d368298708b4c8294d0a6f16108512fd176d495c5 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: e6d0bc3e527db2e50bc2a9a2b3cd7873bf6d962050b9ce9e4acef94d8ebcd084 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: 72b661af95578cb34ccec2deee3023ce7c494770959b5aad1b23b1a095911425 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
6
6
|
|
|
7
7
|
本机只允许连接一个 Rainbond 运行环境。当前 Skill 在本会话第一次调用 Rainbond 前,执行固定 launcher 的 `runtime status --json`。只有命令退出码为 0、`state=connected` 且 `usable=true` 时才继续。不得配置或直接调用客户端 MCP,不得枚举环境、读取凭据、创建自定义业务 operation,或生成运行环境 ID、业务 operation ID 与 intent JSON。固定 batch/recipe 请求和 CLI 返回的 confirmation_id 属于受保护调用协议,不是模型自建业务工作流。
|
|
8
8
|
|
|
9
|
-
运行状态的 `package_version` 必须与下方 JSON contract 完全一致;缺失或不一致时先执行固定版本 `rainskills@0.1.
|
|
9
|
+
运行状态的 `package_version` 必须与下方 JSON contract 完全一致;缺失或不一致时先执行固定版本 `rainskills@0.1.50` 的更新/修复流程。不得在版本错配时继续业务调用。
|
|
10
10
|
|
|
11
11
|
如果 integrity.status=failed 或 repair_required=true,停止业务调用并修复相同版本的本地安装;不得将缺模块当作 API 参数错误排查或绕过兼容入口。
|
|
12
12
|
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: 09b402fbe428aa15ad1f0943ad09adfbb98ad53e5a22716d3fb8c42e1d8d7f88 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: 74c3f2ecfb57966119975185b95ad5ba9544c898065bdae4d9270e69867a2bf2 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -32,7 +32,7 @@ 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.
|
|
35
|
+
2. Use the installed local launcher `["node", "<home>/.rainbond/lib/rainskills/bin/rainskills.js"]`; its protected runtime package marker is `rainskills@0.1.50` 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
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 连接或修改服务器。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: 9d488ef719eb174d9bb844d1813d5ff1cacfc34ace97f6da75c09446c597e74e -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: 7e2f3b81886da53bb9b8c7d90a4bff151661d40e62e754b90b60bda820be8702 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: dde50f34f459ee8e661e139970659e2e272b7181d44147c94a3560b90ca9a455 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -19,7 +19,9 @@ description: Create, inspect, pause, resume, delete, or trial-run recurring (cro
|
|
|
19
19
|
|
|
20
20
|
> 每天 09:00 巡检 default/rainbond 的 nginx,汇总结果、仅记录。确认创建?
|
|
21
21
|
|
|
22
|
-
4.
|
|
22
|
+
4. 确认必须包含:cron、时区、**未来 3 次执行时间**、目标(中文名)、结果模式、通知方式;
|
|
23
|
+
5. 通知方式必须让用户三选一:**仅记录 / 异常时发飞书 / 总是发飞书**;选发飞书前先调 `schedule_check_notification_channel`,未连接飞书或群未就绪则说明并降级为“仅记录”;
|
|
24
|
+
6. 确认后调用 `schedule_create_task`;成功回一句“已创建,下次 <时间>”。
|
|
23
25
|
|
|
24
26
|
## Field mapping
|
|
25
27
|
|
|
@@ -44,7 +46,7 @@ description: Create, inspect, pause, resume, delete, or trial-run recurring (cro
|
|
|
44
46
|
| 删除 | `schedule_delete_task`(先二次确认) |
|
|
45
47
|
| 现在跑一次 | `schedule_test_task` |
|
|
46
48
|
| 最近结果 | `schedule_list_runs` |
|
|
47
|
-
| 飞书是否就绪 | `schedule_check_notification` |
|
|
49
|
+
| 飞书是否就绪 | `schedule_check_notification`(已有任务)/ `schedule_check_notification_channel`(创建前) |
|
|
48
50
|
|
|
49
51
|
## Constraints
|
|
50
52
|
|
|
@@ -52,4 +54,4 @@ description: Create, inspect, pause, resume, delete, or trial-run recurring (cro
|
|
|
52
54
|
- 不猜企业 ID,不跨企业创建;
|
|
53
55
|
- 删除、停用必须二次确认;
|
|
54
56
|
- 定时任务运行不写记忆,不要向用户承诺“会记住上次巡检”;
|
|
55
|
-
- 通知策略非 `record_only`
|
|
57
|
+
- 通知策略非 `record_only` 时,创建前先 `schedule_check_notification_channel`,未就绪则降级为“仅记录”并告知用户。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: 8607b40f015a4b043aee40072dcf64aa1c6375106e5000b34c9c05c6268f29a3 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -48,7 +48,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
48
48
|
```json
|
|
49
49
|
{
|
|
50
50
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
51
|
-
"package_version": "rainskills@0.1.
|
|
51
|
+
"package_version": "rainskills@0.1.50",
|
|
52
52
|
"runtime_status": [
|
|
53
53
|
"node",
|
|
54
54
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- generated-by: scripts/sync-runtime-contracts.mjs -->
|
|
2
|
-
<!-- source-sha256:
|
|
2
|
+
<!-- source-sha256: 4544d9b6ff373c499079d340670f88436dd5237d236970d2d6218af5d0180350 -->
|
|
3
3
|
<!-- profile: cli -->
|
|
4
4
|
<!-- rainskills-runtime-gate:start -->
|
|
5
5
|
# 单运行环境 CLI 门禁(生成文件)
|
|
@@ -47,7 +47,7 @@ Hermes Agent 使用 `terminal` 且 `background=true` 启动授权,随后只对
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
49
|
"schema": "rainskills.single-runtime-contract.v1",
|
|
50
|
-
"package_version": "rainskills@0.1.
|
|
50
|
+
"package_version": "rainskills@0.1.50",
|
|
51
51
|
"runtime_status": [
|
|
52
52
|
"node",
|
|
53
53
|
"<home>/.rainbond/lib/rainskills/bin/rainskills.js",
|