dsh-run2skill 0.4.0 → 0.5.0-alpha.3
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.en.md +31 -7
- package/README.md +31 -7
- package/lib/client.js +2132 -978
- package/lib/{contract-W_T3v8Fv.js → contract-vZz7H2_H.js} +2 -2
- package/lib/index.d.ts +61 -33
- package/lib/index.js +364 -90
- package/lib/typert.host.js +1 -1
- package/lib/typert.remote-client.js +1 -1
- package/package.json +49 -24
package/README.en.md
CHANGED
|
@@ -14,11 +14,11 @@ Have you run into any of these situations?
|
|
|
14
14
|
|
|
15
15
|
Run2Skill does not let an agent silently create permanent rules for itself. Every draft shows its source, intended scope, and complete content before you decide whether to save or discard it. Only an approved draft is written to DSH's native Skill directory.
|
|
16
16
|
|
|
17
|
-
>
|
|
18
|
-
|
|
19
|
-
`0.4.0` uses the Remote/API Gateway and browser-authentication contracts from DSH `0.1.2-rc.1`, and adapts its Session, Storage/Profile, Settings, and plugin-lifecycle changes. It supports only the retained built-in `standard` preset. Continue using `dsh-run2skill@0.3.1` with the older DSH `0.1.1-rc.2` line.
|
|
20
|
-
|
|
21
|
-
Low-noise learning status, **Synthesize this experience now**, revision requests that generate a new draft, and bounded preservation of important long-workflow evidence remain available. An immediate request still waits for the agent to stop and for complete facts, then follows the existing lookup, review, and publication safety gates. Internal batch counters are not shown in the settings page.
|
|
17
|
+
> npm's default `latest` and `next` tags both point to the preview [`0.5.0-alpha.3`](https://www.npmjs.com/package/dsh-run2skill/v/0.5.0-alpha.3), for Windows x64 Desktop and Web on DSH `0.2.0-rc.2`. For DSH Web `0.1.7-rc.2`, install `0.5.0-alpha.2`; for DSH Web `0.1.2-rc.1`, install the stable [`0.4.0`](https://www.npmjs.com/package/dsh-run2skill/v/0.4.0) release.
|
|
18
|
+
|
|
19
|
+
`0.4.0` uses the Remote/API Gateway and browser-authentication contracts from DSH `0.1.2-rc.1`, and adapts its Session, Storage/Profile, Settings, and plugin-lifecycle changes. It supports only the retained built-in `standard` preset. Continue using `dsh-run2skill@0.3.1` with the older DSH `0.1.1-rc.2` line.
|
|
20
|
+
|
|
21
|
+
Low-noise learning status, **Synthesize this experience now**, revision requests that generate a new draft, and bounded preservation of important long-workflow evidence remain available. An immediate request still waits for the agent to stop and for complete facts, then follows the existing lookup, review, and publication safety gates. Internal batch counters are not shown in the settings page.
|
|
22
22
|
|
|
23
23
|
## See the complete flow
|
|
24
24
|
|
|
@@ -42,10 +42,34 @@ Low-noise learning status, **Synthesize this experience now**, revision requests
|
|
|
42
42
|
|
|
43
43
|
## Install
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
### DSH Desktop / Web 0.2.0-rc.2
|
|
46
|
+
|
|
47
|
+
`0.5.0-alpha.3` has passed Windows Desktop compatibility checks. On Windows Desktop, use the dsh command provided by **Manage dsh Command…**. Launch Desktop once to initialize it, quit completely, then install the plugin:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
dsh plugin --profile desktop add dsh-run2skill@0.5.0-alpha.3
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Reopen Desktop and find dsh-run2skill in **Plugins**. The matching Web release uses `--profile web`. See [compatibility](docs/compatibility.md) for evidence and scope; macOS/Linux Desktop have not been validated.
|
|
54
|
+
|
|
55
|
+
### Web installation and older DSH versions
|
|
56
|
+
|
|
57
|
+
Check your DSH Web version, install Node.js `^22.19.0 || >=24.0.0`, and make sure both `dsh` and `pnpm` are available. For DSH `0.2.0-rc.2`, install the current npm default:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
dsh plugin --profile web add dsh-run2skill
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
For DSH `0.1.7-rc.2`, use the matching release:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
dsh plugin --profile web add dsh-run2skill@0.5.0-alpha.2
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
For DSH `0.1.2-rc.1`, continue using the stable release:
|
|
46
70
|
|
|
47
71
|
```bash
|
|
48
|
-
dsh plugin --profile web add dsh-run2skill@0.4.0
|
|
72
|
+
dsh plugin --profile web add dsh-run2skill@0.4.0
|
|
49
73
|
```
|
|
50
74
|
|
|
51
75
|
Restart DSH Web. Open **Settings → Plugins**; the plugin is loaded when the **Run2Skill** tab appears.
|
package/README.md
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
它不会让 Agent 偷偷给自己立规矩。每份技能草稿都可以先看来源、适用范围和完整内容,然后由你决定确认保存还是放弃草稿。只有确认后,它才会写入 DSH 的原生 Skill 目录。
|
|
18
18
|
|
|
19
|
-
>
|
|
20
|
-
|
|
21
|
-
`0.4.0` 改用 DSH `0.1.2-rc.1` 的 Remote/API Gateway 与浏览器认证契约,并适配 Session、Storage/Profile、Settings 和插件生命周期变化。它只支持 RC1 保留的内置 `standard` preset;使用旧 DSH `0.1.1-rc.2` 时请继续安装 `dsh-run2skill@0.3.1`。
|
|
22
|
-
|
|
23
|
-
低噪声整理状态、“立即整理本次经验”、按意见生成新版草稿,以及长工作流关键证据保留继续保留。“立即整理”仍会等待 Agent 停止运行和事实完整,并继续经过查重、审核与发布安全门;设置页不会展示内部批次计数。
|
|
19
|
+
> npm 默认 `latest` 与 `next` 均指向预发布版 [`0.5.0-alpha.3`](https://www.npmjs.com/package/dsh-run2skill/v/0.5.0-alpha.3),支持 DSH `0.2.0-rc.2` 的 Windows x64 Desktop 和同版本 Web。DSH Web `0.1.7-rc.2` 请安装 `0.5.0-alpha.2`;DSH Web `0.1.2-rc.1` 请安装稳定版 [`0.4.0`](https://www.npmjs.com/package/dsh-run2skill/v/0.4.0)。
|
|
20
|
+
|
|
21
|
+
`0.4.0` 改用 DSH `0.1.2-rc.1` 的 Remote/API Gateway 与浏览器认证契约,并适配 Session、Storage/Profile、Settings 和插件生命周期变化。它只支持 RC1 保留的内置 `standard` preset;使用旧 DSH `0.1.1-rc.2` 时请继续安装 `dsh-run2skill@0.3.1`。
|
|
22
|
+
|
|
23
|
+
低噪声整理状态、“立即整理本次经验”、按意见生成新版草稿,以及长工作流关键证据保留继续保留。“立即整理”仍会等待 Agent 停止运行和事实完整,并继续经过查重、审核与发布安全门;设置页不会展示内部批次计数。
|
|
24
24
|
|
|
25
25
|
## 看一遍完整流程
|
|
26
26
|
|
|
@@ -44,10 +44,34 @@
|
|
|
44
44
|
|
|
45
45
|
## 安装
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
### DSH Desktop / Web 0.2.0-rc.2
|
|
48
|
+
|
|
49
|
+
`0.5.0-alpha.3` 已完成 Windows 桌面兼容验收。Windows Desktop 使用应用 **Manage dsh Command…** 提供的 dsh 命令。首次启动初始化后完全退出,再安装插件:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
dsh plugin --profile desktop add dsh-run2skill@0.5.0-alpha.3
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
重新打开桌面版,在 **插件** 页面查看 dsh-run2skill。同版本 Web 使用 `--profile web`。运行边界和证据见 [兼容性](docs/compatibility.md);macOS/Linux Desktop 尚未验收。
|
|
56
|
+
|
|
57
|
+
### Web 安装与旧版 DSH
|
|
58
|
+
|
|
59
|
+
先确认你使用的 DSH Web 版本,已经安装 Node.js `^22.19.0 || >=24.0.0`,并能在终端运行 `dsh` 和 `pnpm`。DSH `0.2.0-rc.2` 安装当前 npm 默认版本:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
dsh plugin --profile web add dsh-run2skill
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
DSH `0.1.7-rc.2` 使用对应版本:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
dsh plugin --profile web add dsh-run2skill@0.5.0-alpha.2
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
DSH `0.1.2-rc.1` 继续安装稳定版:
|
|
48
72
|
|
|
49
73
|
```bash
|
|
50
|
-
dsh plugin --profile web add dsh-run2skill@0.4.0
|
|
74
|
+
dsh plugin --profile web add dsh-run2skill@0.4.0
|
|
51
75
|
```
|
|
52
76
|
|
|
53
77
|
重启 DSH Web。打开 **Settings → Plugins**,看到 **run2skill** 卡片就说明插件已加载。
|