@weniatall/dsh-task-models 0.2.0 → 0.2.2
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 +12 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,16 +22,21 @@ TypeSafe Jev(System One 决策模型)参与“这个子任务属于哪一类
|
|
|
22
22
|
|
|
23
23
|
## 安装
|
|
24
24
|
|
|
25
|
-
从
|
|
25
|
+
从 npm registry 安装(推荐,自动跟随最新版;插件管理器的「自有插件」页也能直接点安装):
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
dsh plugin --profile web add
|
|
28
|
+
dsh plugin --profile web add @weniatall/dsh-task-models
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
或锁定版本,从 GitHub Release 安装 tarball:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
dsh plugin --profile web add https://github.com/veildawn/dsh-plugins/releases/download/dsh-task-models@v0.2.2/dsh-task-models-0.2.2.tgz
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
> 本包已发布到 npm scope `@weniatall/dsh-task-models`,后续版本由 CI 通过 Trusted
|
|
38
|
+
> Publishing 发布,并附带 provenance 来源证明。插件管理器在 `allowTarball` 开启时
|
|
39
|
+
> (离线/内网环境)会回落到上面的 Release tarball 渠道。
|
|
35
40
|
|
|
36
41
|
或在仓库内打包安装:
|
|
37
42
|
|
|
@@ -39,7 +44,7 @@ dsh plugin --profile web add https://github.com/veildawn/dsh-plugins/releases/do
|
|
|
39
44
|
cd plugins/dsh-task-models
|
|
40
45
|
npm test
|
|
41
46
|
npm pack
|
|
42
|
-
dsh plugin --profile web add ./dsh-task-models-0.2.
|
|
47
|
+
dsh plugin --profile web add ./weniatall-dsh-task-models-0.2.2.tgz
|
|
43
48
|
```
|
|
44
49
|
|
|
45
50
|
> 本仓库的 `AGENTS.md` 规定:除非用户明确要求,不在本机部署插件或重启服务。开发验证请只运行
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weniatall/dsh-task-models",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "子任务模型路由插件:按任务类型为子代理选择模型,规则命中零额外调用,可选 TypeSafe Jev 决策与轻量分类回退,并标注 workflow 成员实际模型。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|