@hhuangpanda/dsh-automation 0.3.34 → 0.3.35
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
> **A fork of [alpacachen/dsh-automation](https://github.com/alpacachen/dsh-automation) that adds support
|
|
1
|
+
> **A fork of [alpacachen/dsh-automation](https://github.com/alpacachen/dsh-automation) that adds support up to DSH 0.2.1-rc.2.**
|
|
2
2
|
>
|
|
3
3
|
> If you used the original plugin, disable it before installing this one, or tasks will run twice.
|
|
4
4
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
## Get started
|
|
60
60
|
|
|
61
|
-
Targets DSH **0.1.7-rc.2**, **0.2.0-rc.1**, and **0.2.
|
|
61
|
+
Targets DSH **0.1.7-rc.2**, **0.2.0-rc.1**, **0.2.0-rc.2**, **0.2.1-rc.1** and **0.2.1-rc.2**. 0.3.35 is tested on 0.2.1-rc.2; earlier releases were tested on 0.2.0-rc.2. Versions up to 0.3.34 fail to load on DSH 0.2.1 and later, so update to 0.3.35.
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
64
|
dsh plugin --profile web add @hhuangpanda/dsh-automation
|
package/README.zh.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
> **这是 [alpacachen/dsh-automation](https://github.com/alpacachen/dsh-automation) 的 fork
|
|
1
|
+
> **这是 [alpacachen/dsh-automation](https://github.com/alpacachen/dsh-automation) 的 fork,新增支持至 DSH 0.2.1-rc.2。**
|
|
2
2
|
>
|
|
3
3
|
> 如果你用过原版插件,请先停用它再安装本插件,否则任务会重复执行。
|
|
4
4
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
## 开始使用
|
|
60
60
|
|
|
61
|
-
适配 DSH **0.1.7-rc.2**、**0.2.0-rc.1** 和 **0.2.0-rc.2
|
|
61
|
+
适配 DSH **0.1.7-rc.2**、**0.2.0-rc.1**、**0.2.0-rc.2**、**0.2.1-rc.1** 和 **0.2.1-rc.2**。0.3.35 已在 0.2.1-rc.2 上测试,更早的版本在 0.2.0-rc.2 上测试过。0.3.34 及更早版本无法在 DSH 0.2.1 及以上版本加载,请升级到 0.3.35。
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
64
|
dsh plugin --profile web add @hhuangpanda/dsh-automation
|
|
Binary file
|
|
Binary file
|
|
@@ -51,7 +51,6 @@ var __disposeResources = (this && this.__disposeResources) || (function (Suppres
|
|
|
51
51
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
52
52
|
});
|
|
53
53
|
import { ReasoningEffortId } from '@deepseek-ai/dsh-llm';
|
|
54
|
-
import { standingMountFor } from '@deepseek-ai/dsh-agent-preset-registry';
|
|
55
54
|
import { isUserInvocable, renderSkillContent } from '@deepseek-ai/dsh-skill';
|
|
56
55
|
import { assertProviderModelPair, validateReasoningExecution } from './validation.js';
|
|
57
56
|
import '@deepseek-ai/dsh-agent-preset-registry';
|
|
@@ -195,10 +194,9 @@ export class AgentConfiguration {
|
|
|
195
194
|
if (task.execution.skills.length === 0)
|
|
196
195
|
return [];
|
|
197
196
|
const skills = this.ctx.agentPresets.serviceFor(agent, 'skills') ?? this.ctx.skills;
|
|
198
|
-
const scope = standingMountFor(agent.ctx)?.key;
|
|
199
197
|
const loaded = [];
|
|
200
198
|
for (const name of task.execution.skills) {
|
|
201
|
-
const skill = await skills.get(name, { cwd: task.execution.cwd, scope });
|
|
199
|
+
const skill = await skills.get(name, { cwd: task.execution.cwd, scope: agent });
|
|
202
200
|
if (skill === undefined)
|
|
203
201
|
throw new Error(`Selected skill ${name} is unavailable.`);
|
|
204
202
|
if (!isUserInvocable(skill))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hhuangpanda/dsh-automation",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.35",
|
|
4
4
|
"description": "Durable agent-created automations for DeepSeek Harness",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -68,26 +68,26 @@
|
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
71
|
-
"@deepseek-ai/dsh-agent": "
|
|
72
|
-
"@deepseek-ai/dsh-agent-preset-registry": "
|
|
73
|
-
"@deepseek-ai/dsh-api-session-controller": "
|
|
74
|
-
"@deepseek-ai/dsh-api-workspace-controller": "
|
|
75
|
-
"@deepseek-ai/dsh-client-connection": "
|
|
76
|
-
"@deepseek-ai/dsh-client-locale": "
|
|
77
|
-
"@deepseek-ai/dsh-client-ui-layout": "
|
|
78
|
-
"@deepseek-ai/dsh-client-ui-renderer": "
|
|
79
|
-
"@deepseek-ai/dsh-client-ui-session": "
|
|
80
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "
|
|
81
|
-
"@deepseek-ai/dsh-client-ui-workspace": "
|
|
82
|
-
"@deepseek-ai/dsh-host-webserver": "
|
|
83
|
-
"@deepseek-ai/dsh-llm": "
|
|
84
|
-
"@deepseek-ai/dsh-permission-presets": "
|
|
85
|
-
"@deepseek-ai/dsh-session": "
|
|
86
|
-
"@deepseek-ai/dsh-session-title": "
|
|
87
|
-
"@deepseek-ai/dsh-skill": "
|
|
88
|
-
"@deepseek-ai/dsh-tools": "
|
|
89
|
-
"@deepseek-ai/dsh-util-values": "
|
|
90
|
-
"@deepseek-ai/dsh-workspace": "
|
|
71
|
+
"@deepseek-ai/dsh-agent": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
72
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
73
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
74
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
75
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
76
|
+
"@deepseek-ai/dsh-client-locale": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
77
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
78
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
79
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
80
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
81
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
82
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
83
|
+
"@deepseek-ai/dsh-llm": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
84
|
+
"@deepseek-ai/dsh-permission-presets": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
85
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
86
|
+
"@deepseek-ai/dsh-session-title": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
87
|
+
"@deepseek-ai/dsh-skill": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
88
|
+
"@deepseek-ai/dsh-tools": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
89
|
+
"@deepseek-ai/dsh-util-values": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
90
|
+
"@deepseek-ai/dsh-workspace": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1",
|
|
91
91
|
"react": "^18.2.0"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
@@ -149,7 +149,8 @@
|
|
|
149
149
|
"typescript-eslint": "^8.70.0"
|
|
150
150
|
},
|
|
151
151
|
"engines": {
|
|
152
|
-
"node": ">=22"
|
|
152
|
+
"node": ">=22",
|
|
153
|
+
"dsh": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || >=0.2.1-rc.1 <0.2.1"
|
|
153
154
|
},
|
|
154
155
|
"license": "MIT",
|
|
155
156
|
"publishConfig": {
|
package/screenshots.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
["docs/images/automation-overview-en.png", "docs/images/automation-overview-zh.png"]
|
|
1
|
+
["docs/images/automation-overview-en.png", "docs/images/automation-example-en.png", "docs/images/automation-overview-zh.png", "docs/images/automation-example-zh.png"]
|