dsh-super-code 0.3.7 → 0.3.9
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 +144 -0
- package/README.md +89 -180
- package/client/index.js +1022 -181
- package/cordis.patch.yml +1 -1
- package/docs/Acknowledgements.md +38 -67
- package/docs/Changelog.md +160 -79
- package/docs/Compatibility.md +98 -248
- package/docs/EvaluationResults.md +165 -155
- package/docs/UsageGuide.md +210 -172
- package/docs/en/Acknowledgements.md +76 -0
- package/docs/en/Changelog.md +160 -0
- package/docs/en/Compatibility.md +146 -0
- package/docs/en/EvaluationResults.md +224 -0
- package/docs/en/UsageGuide.md +304 -0
- package/docs/images/agent-tree-preview.png +0 -0
- package/docs/images/agent-tree.png +0 -0
- package/docs/images/install-tgz-preview.png +0 -0
- package/docs/images/install-tgz.png +0 -0
- package/docs/images/preset-settings-preview.png +0 -0
- package/docs/images/preset-settings.png +0 -0
- package/docs/images/task-status-preview.png +0 -0
- package/docs/images/task-status.png +0 -0
- package/lib/connection/approvals.d.ts +21 -0
- package/lib/connection/approvals.d.ts.map +1 -0
- package/lib/connection/approvals.js +83 -0
- package/lib/connection/approvals.js.map +1 -0
- package/lib/connection/client.d.ts +8 -0
- package/lib/connection/client.d.ts.map +1 -0
- package/lib/connection/client.js +34 -0
- package/lib/connection/client.js.map +1 -0
- package/lib/connection/directories.d.ts +30 -0
- package/lib/connection/directories.d.ts.map +1 -0
- package/lib/connection/directories.js +82 -0
- package/lib/connection/directories.js.map +1 -0
- package/lib/connection/git.d.ts +5 -0
- package/lib/connection/git.d.ts.map +1 -0
- package/lib/connection/git.js +86 -0
- package/lib/connection/git.js.map +1 -0
- package/lib/connection/guidance.d.ts +10 -0
- package/lib/connection/guidance.d.ts.map +1 -0
- package/lib/connection/guidance.js +27 -0
- package/lib/connection/guidance.js.map +1 -0
- package/lib/connection/http.d.ts +38 -0
- package/lib/connection/http.d.ts.map +1 -0
- package/lib/connection/http.js +342 -0
- package/lib/connection/http.js.map +1 -0
- package/lib/connection/service.d.ts +59 -0
- package/lib/connection/service.d.ts.map +1 -0
- package/lib/connection/service.js +176 -0
- package/lib/connection/service.js.map +1 -0
- package/lib/connection/store.d.ts +21 -0
- package/lib/connection/store.d.ts.map +1 -0
- package/lib/connection/store.js +141 -0
- package/lib/connection/store.js.map +1 -0
- package/lib/connection/tasks.d.ts +124 -0
- package/lib/connection/tasks.d.ts.map +1 -0
- package/lib/connection/tasks.js +393 -0
- package/lib/connection/tasks.js.map +1 -0
- package/lib/connection/types.d.ts +159 -0
- package/lib/connection/types.d.ts.map +1 -0
- package/lib/connection/types.js +23 -0
- package/lib/connection/types.js.map +1 -0
- package/lib/connection-cli.d.ts +3 -0
- package/lib/connection-cli.d.ts.map +1 -0
- package/lib/connection-cli.js +40 -0
- package/lib/connection-cli.js.map +1 -0
- package/lib/dsh/connection-approval.d.ts +5 -0
- package/lib/dsh/connection-approval.d.ts.map +1 -0
- package/lib/dsh/connection-approval.js +72 -0
- package/lib/dsh/connection-approval.js.map +1 -0
- package/lib/dsh/connection-history.d.ts +6 -0
- package/lib/dsh/connection-history.d.ts.map +1 -0
- package/lib/dsh/connection-history.js +52 -0
- package/lib/dsh/connection-history.js.map +1 -0
- package/lib/dsh/connection-host.d.ts +114 -0
- package/lib/dsh/connection-host.d.ts.map +1 -0
- package/lib/dsh/connection-host.js +208 -0
- package/lib/dsh/connection-host.js.map +1 -0
- package/lib/dsh/connection.d.ts +72 -0
- package/lib/dsh/connection.d.ts.map +1 -0
- package/lib/dsh/connection.js +186 -0
- package/lib/dsh/connection.js.map +1 -0
- package/lib/dsh/index.d.ts.map +1 -1
- package/lib/dsh/index.js +2 -0
- package/lib/dsh/index.js.map +1 -1
- package/package.json +14 -6
- package/presets/super-code/agent.cordis.yml +1 -1
package/docs/UsageGuide.md
CHANGED
|
@@ -1,266 +1,304 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 使用说明
|
|
2
2
|
|
|
3
|
-
[
|
|
3
|
+
中文 · [English](en/UsageGuide.md)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
首次使用请先阅读 [README](../README.md) 的安装与使用部分。本文说明各项功能的细节。
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- [模型](#模型)
|
|
8
|
+
- [找不到预设](#找不到预设)
|
|
9
|
+
- [设置页](#设置页)
|
|
10
|
+
- [预设版本与重装](#预设版本与重装)
|
|
11
|
+
- [侧边栏](#侧边栏)
|
|
12
|
+
- [批量工具调用](#批量工具调用)
|
|
13
|
+
- [运行预算](#运行预算)
|
|
14
|
+
- [删除保护](#删除保护)
|
|
15
|
+
- [MCP 连接](#mcp-连接)
|
|
16
|
+
- [前端 Skill](#前端-skill)
|
|
8
17
|
|
|
9
|
-
|
|
18
|
+
## 模型
|
|
10
19
|
|
|
11
|
-
|
|
20
|
+
插件不单独配置模型。已有可用模型时直接使用;若没有,请在 Harness「设置 → 模型」中添加提供方,再在输入框下方选择模型和推理等级。
|
|
12
21
|
|
|
13
|
-
|
|
22
|
+
子 Agent 默认使用父 Agent 的模型。权限和工具由 Harness 管理。
|
|
14
23
|
|
|
15
|
-
|
|
24
|
+
## 找不到预设
|
|
16
25
|
|
|
17
|
-
|
|
26
|
+
请先确认插件已启用,再对照[兼容性](Compatibility.md)核实宿主版本,然后按宿主版本处理:
|
|
18
27
|
|
|
19
|
-
|
|
28
|
+
**Harness 0.1.7 及以后(声明式预设)**:预设由插件声明、宿主加载。请在「设置 → Super Code 模式」中点击「安装预设」。宿主未开放管理接口时,页面会直接提示。
|
|
20
29
|
|
|
21
|
-
|
|
30
|
+
**Harness 0.1.5 / 0.1.6(目录预设)**:插件首次加载时会自动安装一份用户预设。若未出现,请在「设置 → Super Code 模式」中手动安装。
|
|
22
31
|
|
|
23
|
-
|
|
32
|
+
- 默认标识符 `super-code` 被占用时,可改用其他标识符,原有预设不会被覆盖。
|
|
33
|
+
- 主动删除该副本后,重启不会自动重新安装,需要再次手动安装。
|
|
24
34
|
|
|
25
|
-
|
|
35
|
+
插件 0.2.0 以前,设置入口位于「插件 → 插件配置」。
|
|
26
36
|
|
|
27
|
-
##
|
|
37
|
+
## 设置页
|
|
28
38
|
|
|
29
|
-
Super Code
|
|
39
|
+
「设置 → Super Code 模式」包含五个标签页:
|
|
30
40
|
|
|
31
|
-
|
|
41
|
+
| 标签页 | 内容 |
|
|
42
|
+
|---|---|
|
|
43
|
+
| 首页 | 预设状态与版本、删除保护等级、MCP 开关、在线与历史对话数 |
|
|
44
|
+
| 预设配置 | 安装、重装、重命名 |
|
|
45
|
+
| 上下文配置 | [运行预算](#运行预算) |
|
|
46
|
+
| 删除保护 | [删除保护](#删除保护) |
|
|
47
|
+
| 连接 | [MCP 连接](#mcp-连接) |
|
|
32
48
|
|
|
33
|
-
|
|
49
|
+
切换标签页不会丢失未保存的输入。
|
|
34
50
|
|
|
35
|
-
|
|
51
|
+
### 名称与语言
|
|
36
52
|
|
|
37
|
-
|
|
53
|
+
- 标识符用于选择预设;显示名称可单独修改,支持中文和空格,最多 120 字。
|
|
54
|
+
- 默认名称和描述跟随 Harness 的中英文设置。用户修改过的字段,插件不会改动。
|
|
55
|
+
- 切换语言只影响显示字段,不改变预设内容和版本。
|
|
56
|
+
- 旧版 Harness 会缓存预设列表,因此文案变化后页面会自动刷新一次。
|
|
57
|
+
- 同一宿主的预设文件只能使用一种语言,多个客户端无法同时显示不同语言。
|
|
58
|
+
- 安装目录只读或 YAML 无法安全识别时可能同步失败,可在设置页刷新后重试。
|
|
38
59
|
|
|
39
|
-
|
|
60
|
+
## 预设版本与重装
|
|
40
61
|
|
|
41
|
-
|
|
62
|
+
设置页分别显示**插件版本**和**预设版本**。
|
|
42
63
|
|
|
43
|
-
|
|
64
|
+
- 两者一致:表示预设与已安装的插件同步,不代表 npm 上没有更新版本。
|
|
65
|
+
- 旧预设未记录版本:显示「未记录版本」,不视为最新。
|
|
66
|
+
- 插件升级不会自动更新已安装的预设。如需使用新预设,请重新安装。
|
|
44
67
|
|
|
45
|
-
|
|
68
|
+
**重装流程**:点击「重新安装预设」→ 确认框列出将被替换的预设及新名称、标识符 → 核对后确认。
|
|
46
69
|
|
|
47
|
-
|
|
70
|
+
- 可从列表中移除条目,但不能在列表清空后确认。取消或按 Esc 不会产生任何改动。
|
|
71
|
+
- 重装会覆盖旧预设内容,请先自行备份自定义内容。
|
|
72
|
+
- 已有会话继续使用旧预设,新会话使用新预设。
|
|
48
73
|
|
|
49
|
-
|
|
74
|
+
**安全措施**:
|
|
50
75
|
|
|
51
|
-
|
|
76
|
+
- 只替换能够核实由本插件安装的预设(目录式核对安装记录、UUID、路径和目录身份;声明式核对来源标记或安装记录)。未标记的旧副本和同名声明不会被改动。
|
|
77
|
+
- 旧内容备份在 `.super-code-backup-*`:目录式位于用户预设根目录下,声明式位于当前 profile 下(安装记录为 `.super-code-presets.json`)。
|
|
78
|
+
- 安装失败时自动恢复;进程意外中断时,可从备份手动恢复。
|
|
52
79
|
|
|
53
|
-
|
|
54
|
-
| --- | --- |
|
|
55
|
-
| 关闭 / Off | 不添加删除保护提示,不额外拦截命令。No deletion instructions or extra command interception. |
|
|
56
|
-
| 宽松 / Relaxed(默认 / default) | 默认使用 `trash`,脚本中也建议使用;用户明确要求时可使用 `rm`,无需本插件额外二次确认。Prefer recoverable trash, including in scripts; explicit user requests may use `rm` without additional plugin confirmation. |
|
|
57
|
-
| 严格 / Strict | 脚本也禁止直接使用 `rm`;识别到永久删除命令时,仅临时文件或构建产物清理可经用户逐次二次确认放行。Scripts must also avoid `rm`; recognized permanent deletion requires one-time confirmation for each temporary-file or build-artifact cleanup. |
|
|
80
|
+
## 侧边栏
|
|
58
81
|
|
|
59
|
-
|
|
82
|
+
在右侧边栏选择「Super Code」,三个部分互斥展开,默认展开任务;点击当前标题可全部收起。切换后保留阅读位置、筛选条件和草稿。界面跟随 Harness 的中英文设置。
|
|
60
83
|
|
|
61
|
-
|
|
84
|
+
### 任务
|
|
62
85
|
|
|
63
|
-
|
|
86
|
+
只读,展示会话中已有的记录:
|
|
64
87
|
|
|
65
|
-
|
|
88
|
+
- **目标**:已记录的任务目标;未记录时显示用户原话。
|
|
89
|
+
- **步骤**:模型记录的待办事项,显示「已完成/总数」。没有步骤时不会生成计划或进度。
|
|
90
|
+
- **工具调用**:按工具汇总成功、失败与运行状态。
|
|
91
|
+
- **文件**:已成功执行、且能从工具参数或 diff 确认的文件改动,包括 PTC 中的嵌套调用。
|
|
66
92
|
|
|
67
|
-
|
|
93
|
+
注意事项:
|
|
68
94
|
|
|
69
|
-
|
|
95
|
+
- 运行停止不等于任务完成。
|
|
96
|
+
- 文件列表并非完整的 Git diff:终端或外部脚本造成的间接修改可能未被记录;历史改动也不代表文件当前仍有差异。失败、未完成、只读操作以及子 Agent 继承的历史均不计入。
|
|
97
|
+
- 列表全部展开并采用虚拟滚动,长列表也能流畅显示。超出显示上限时会提示,完整内容可在详情中查看。
|
|
98
|
+
- 不修改提示词、模型请求或工具定义,也不向模型上下文写入内容。
|
|
70
99
|
|
|
71
|
-
|
|
100
|
+
### 协作执行
|
|
72
101
|
|
|
73
|
-
|
|
102
|
+
Agent 执行树,显示每个 Agent 的状态、用量和缓存率。
|
|
74
103
|
|
|
75
|
-
|
|
104
|
+
- 拖动空白处可平移,使用滚轮或按钮可缩放。
|
|
105
|
+
- 点击节点会在侧边栏新标签页中打开详情,主对话不切换。
|
|
106
|
+
- 详情按对话展示:用户任务、Agent 回复、可展开的工具调用及结果。顶部显示状态、Token 和缓存,展开「详情」可查看更多用量、任务记录和记忆使用记录。
|
|
107
|
+
- 运行动画遵循系统的「减少动态效果」设置。
|
|
76
108
|
|
|
77
|
-
|
|
109
|
+
[任务](images/task-status.png)和[执行树截图](images/agent-tree.png)使用当前插件、官方前端组件及演示数据渲染,仅展示界面,不代表模型效果。
|
|
78
110
|
|
|
79
|
-
|
|
111
|
+
### 记忆库
|
|
80
112
|
|
|
81
|
-
|
|
113
|
+
先选择「当前项目」或「全局偏好」,再按主题浏览或搜索(主题、摘要、标识符),点击条目可查看详情和来源。支持新增、编辑和删除(需确认)。手动修改的条目标记为「手动维护」,只保留当前内容,不保留版本历史。
|
|
82
114
|
|
|
83
|
-
|
|
115
|
+
记忆分为三层:
|
|
84
116
|
|
|
85
|
-
|
|
|
117
|
+
| 层级 | 内容 | 范围 |
|
|
86
118
|
|---|---|---|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
119
|
+
| 任务状态 | 当前目标、约束、进展、验证记录 | 当前会话 |
|
|
120
|
+
| 项目记忆 | 有来源的项目事实、经验和约定 | 同一工作区路径,按主题划分 |
|
|
121
|
+
| 全局偏好 | 用户明确要求跨项目遵守的偏好 | 同一 Harness 存储目录 |
|
|
89
122
|
|
|
90
|
-
|
|
123
|
+
- 如需长期保留某项约定,可直接告知 Agent。是否保存成功,以工具返回成功且记忆库中可见为准。
|
|
124
|
+
- Agent 保存项目记忆时必须关联真实的工具结果;保存全局偏好时必须有用户原话和跨项目意图。
|
|
125
|
+
- 不同路径的项目或 Git worktree 不共享项目记忆。
|
|
126
|
+
- 记忆保存在本机宿主中,不写入项目文件,也不会整库发送给模型。每次最多自动带入当前主题的 4 条摘要(≤2 KiB)和全局偏好的 4 条摘要(≤1 KiB),详情需由 Agent 主动读取。
|
|
127
|
+
- 记忆不能覆盖当前指令,不能用于授权,也不能证明代码仍与记录时一致。
|
|
128
|
+
- 历史会话的记忆可直接查看,无需恢复 Agent 或调用模型。
|
|
91
129
|
|
|
92
|
-
|
|
130
|
+
### Agent 的记忆使用记录
|
|
93
131
|
|
|
94
|
-
|
|
132
|
+
在执行树中点击节点 → 展开「详情」→ 展开「记忆使用记录」。记录区分带入上下文、读取摘要、读取详情、保存和删除,点击记录可跳转到记忆库中的对应条目。
|
|
95
133
|
|
|
96
|
-
|
|
134
|
+
- 这是宿主记录的动作,不代表模型已理解或遵守。
|
|
135
|
+
- 子 Agent 继承的父会话历史不计为其自身的读取;失败的调用不计为成功读取。
|
|
136
|
+
- 最多显示最近 100 条,完整记录见会话日志。
|
|
137
|
+
- 条目之后被修改或删除时,记录仍保留,但记忆库只显示当前内容。
|
|
97
138
|
|
|
98
|
-
|
|
139
|
+
## 批量工具调用
|
|
99
140
|
|
|
100
|
-
|
|
141
|
+
Super Code 使用 Harness 原生 PTC:在一次模型调用中组合多个工具操作,例如同时读取多个互不相关的文件,获得结果后再决定下一步。无需另选模式。
|
|
101
142
|
|
|
102
|
-
|
|
143
|
+
- 相互独立的读取并行执行;写入、测试、状态变更和存在依赖的步骤按顺序执行。
|
|
144
|
+
- 部分失败时保留成功的结果,只重试失败或过期的读取。
|
|
145
|
+
- 插件声明自身任务和记忆工具中可并行的动作,未识别的动作默认不并行。其他工具以其在 Harness 中的声明为准。
|
|
146
|
+
- 权限确认、取消和结果保存由宿主管理。
|
|
103
147
|
|
|
104
|
-
|
|
148
|
+
批量调用减少的是模型与工具之间的往返次数,不保证每个操作都更快。
|
|
105
149
|
|
|
106
|
-
|
|
150
|
+
## 运行预算
|
|
107
151
|
|
|
108
|
-
|
|
152
|
+
位于「上下文配置」标签页。插件默认已使用效果更好的旧预算,通常无需修改。括号内显示宿主自身的默认值,便于对比。
|
|
109
153
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
retainRatio: 0.16
|
|
115
|
-
summaryMaxTokens: 8192
|
|
116
|
-
compactionRetries: 1
|
|
117
|
-
maxOverflowRetries: 1
|
|
118
|
-
ptcTimeoutMs: 600000
|
|
119
|
-
ptcMaxTimeoutMs: 600000
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
`pressureBasis: window` 为插件默认,按完整上下文窗口计算;选择 `host` 则按当前宿主策略计算。`retainRatio` 必须小于 `thresholdRatio`。PTC 两项的单位是毫秒,包含工具等待时间;显式更短的调用期限仍然生效,上限不会超过宿主允许值。PTC 时间覆盖需要提供 `ptcRuntime` 的新版宿主;旧版的 CPU 忙碌计时与新版总耗时计时不能等同。这些配置不改变执行后端、权限或取消行为。
|
|
123
|
-
|
|
124
|
-
`pressureBasis: window` is the plugin default and uses the full context window; choose `host` to follow the current host budget policy. `retainRatio` must be lower than `thresholdRatio`. PTC values are milliseconds, including tool waits; explicit shorter call deadlines still apply, and the host ceiling remains authoritative. PTC overrides require a newer host with `ptcRuntime`. The old busy-CPU timer and the new elapsed timer are different. These settings preserve the host execution backend, permissions, and cancellation.
|
|
125
|
-
|
|
126
|
-
Super Code 专属的 `maxTasks`(默认 32)和 `maxContextBytes`(默认 32,768),分别控制会话中活跃任务记录数量和任务记忆上下文的字节预算。增加预算会占用更多上下文;通常保持默认即可。
|
|
127
|
-
|
|
128
|
-
Super Code also has `maxTasks` (default 32) and `maxContextBytes` (default 32,768), which bound the active task records and task-memory context bytes per conversation. Larger budgets use more context; the defaults are usually sufficient.
|
|
129
|
-
|
|
130
|
-
## 找不到预设 · Can't Find the Preset?
|
|
131
|
-
|
|
132
|
-
先确认插件已启用,并按[兼容矩阵](Compatibility.md)核对宿主版本与实际依赖。插件按宿主提供的预设机制选择以下两条路径。
|
|
133
|
-
|
|
134
|
-
First confirm the plugin is enabled and check the host version and installed dependencies against the [compatibility matrix](Compatibility.md). The plugin uses the preset mechanism provided by the host.
|
|
135
|
-
|
|
136
|
-
### Harness 0.1.7 / 0.2.0 / 0.2.1:声明式预设 · Declarative Presets
|
|
137
|
-
|
|
138
|
-
Super Code 由插件 bundle 声明,宿主负责加载。从 0.3.1 起,未安装时可以在“设置”→ **Super Code** 安装预设;已安装时提供“重新安装预设”,确认后按所填名称和标识符替换。声明保存在当前 profile 的补丁层,通过宿主公开接口加载,不需要用户预设目录。宿主未开放管理接口时,页面会明确提示。
|
|
139
|
-
|
|
140
|
-
The plugin bundle declares Super Code and the host loads it. From 0.3.1, use “Settings” → **Super Code** to install a missing preset or confirm reinstallation of an installed preset with the entered name and identifier. Declarations persist in the current profile's patch layer and load through public host APIs; no user preset directory is needed. Hosts without management APIs show an explicit notice.
|
|
141
|
-
|
|
142
|
-
声明式预设的默认名称和描述从 0.3.1 起跟随中英文设置,已自定义的字段保留。语言变化只调整展示字段,不更新旧预设的内容或版本;确认重装才使用当前插件随包的组合。
|
|
143
|
-
|
|
144
|
-
From 0.3.1, default declarative preset names and descriptions follow Chinese/English settings while custom fields remain intact. Language changes update display fields only, retaining the older preset's content and version. Confirmed reinstallation uses the composition shipped with the current plugin.
|
|
145
|
-
|
|
146
|
-
插件管理中的展示信息独立于预设声明:0.2.1 通过导出的语言资源提供 `Super Code 模式` / `Super Code` 和对应描述,支持新版宿主读取根路径及子路径的展示信息。
|
|
147
|
-
|
|
148
|
-
Plugin management metadata is separate from the preset declaration. Version 0.2.1 exports locale resources for `Super Code 模式` / `Super Code` and their descriptions, allowing newer hosts to read metadata for the root and plugin subpaths.
|
|
149
|
-
|
|
150
|
-
### Harness 0.1.5/0.1.6:目录预设 · Directory Presets
|
|
151
|
-
|
|
152
|
-
如果 Harness 没发现插件自带的 `super-code`,插件首次加载时会尝试安装一份用户预设。仍然没看到时,打开“设置”→ **Super Code**,查看状态并手动安装;0.3.1 起此页始终展开。默认标识符 `super-code` 若已被占用,换一个即可;原有预设不会被覆盖。之后若主动删除这份用户副本,重启也不会自动重装,需要再次手动安装。0.2.0 以前的插件设置入口在“插件”→“插件配置”中。
|
|
153
|
-
|
|
154
|
-
If Harness doesn't find the bundled `super-code` preset, the plugin tries to install a user copy on first load. If it still isn't listed, open “Settings” → **Super Code** to check its status or install it manually; this page stays expanded from 0.3.1 onward. If the default identifier `super-code` is taken, choose another; the existing preset won't be overwritten. If you later delete this copy, a restart won't reinstall it automatically. Plugin versions before 0.2.0 place this page under “Plugins” → “Plugin configuration”.
|
|
155
|
-
|
|
156
|
-
## 查看预设版本 · Checking the Preset Version
|
|
157
|
-
|
|
158
|
-
0.3.1 起,“设置”→ **Super Code** 分别显示已加载的插件版本和当前预设版本。预设版本来自实际加载的预设组合;两者一致时表示预设与当前安装的插件同步,不代表 npm 上没有更新版本。旧预设没有版本记录时,会显示“未记录版本”,不会自动视为最新版。修改名称或切换语言不改变预设版本。
|
|
159
|
-
|
|
160
|
-
From 0.3.1 onward, “Settings” → **Super Code** shows the loaded plugin version and the current preset version separately. The preset version comes from its actual composition. Matching versions mean the preset is in sync with the installed plugin, not that no newer npm release exists. Older presets without version metadata show “Version not recorded”. Renaming a preset or changing the language does not change its version.
|
|
161
|
-
|
|
162
|
-
若版本不一致,先保留需要的自定义内容,再通过确认清单重装。目录式宿主替换用户副本,声明式宿主替换本插件拥有的声明,均保留恢复备份。重装后刷新仍不一致时,检查插件更新是否生效及宿主日志。
|
|
163
|
-
|
|
164
|
-
If versions differ, save the custom content you need, then confirm reinstallation. Directory hosts replace the user copy; declarative hosts replace this plugin's owned declaration. Both retain recovery backups. If refreshed versions still differ, check that the plugin update took effect and inspect host logs.
|
|
165
|
-
|
|
166
|
-
## 内嵌前端 Skill · Bundled Frontend Skill
|
|
167
|
-
|
|
168
|
-
插件携带 `super-code-frontend`,用于页面/组件开发、视觉调整、响应式布局、交互状态和浏览器验证。特别覆盖共同对齐轴、视觉与点击边界、控制位置稳定、操作距离和输入负担;通过空间关系与实际命中检查定位错位和难操作的问题,沿用产品自己的视觉语言。宿主向模型提供名称与短描述,匹配任务时由原生 `skill` 工具按需加载入口;视觉设计、状态交互和浏览器验证的参考文件再按需读取。也可以在请求中明确指定使用 `super-code-frontend`。它不依赖固定框架或新增工具,不把全文加入每轮提示。
|
|
169
|
-
|
|
170
|
-
The plugin includes `super-code-frontend` for pages/components, visual refinement, responsive layout, interaction states, and browser validation. Guidance covers shared alignment anchors, painted and interactive boundaries, stable control positions, reach, and input effort. Geometry and real hit-area checks help diagnose misalignment and awkward interaction within the product's own visual language. Harness exposes its name and short description; the native `skill` tool loads the entry point when applicable, followed by only the references needed. You can explicitly ask to use `super-code-frontend`. It requires no particular framework or added tools and does not insert its full text into every turn.
|
|
171
|
-
|
|
172
|
-
从 0.3.3 起,新安装或重装的 Super Code 预设包含此接入。已有用户副本或自定义声明需要先保留自己的调整,再通过“设置”→ **Super Code** 的重装流程更新;插件升级不会自动更新旧预设,设置页会显示其原有版本并提示差异。没有自动改写现有预设,也没有安装到全局 skills 目录。项目/用户同名 skill 仍按宿主原有优先级覆盖内置版本。
|
|
173
|
-
|
|
174
|
-
From 0.3.3 onward, newly installed or reinstalled Super Code presets include this integration. Existing user copies or custom declarations need reinstallation through “Settings” → **Super Code** after saving any customizations. Updating the plugin preserves the old preset version, and Settings flags any mismatch. Existing presets and global skill directories are not rewritten automatically. Project/user skills with the same name retain their normal host precedence.
|
|
175
|
-
|
|
176
|
-
浏览器验证方法会指导 Agent 复用可用会话,保留已完成步骤,并从实际失败阶段恢复。它是方法指导;本身不实现强制防循环,也不会自动写入长期记忆。是否提升前端成品质量需要单独的实际任务评测,不能用安装测试或 SWE 成绩代替。
|
|
177
|
-
|
|
178
|
-
Browser guidance reuses working sessions and confirmed progress, recovering at the actual failed stage. It is workflow guidance, with no enforced loop detector or automatic long-term memory writes. Frontend quality improvements require separate real-task evaluation; installation checks or SWE scores do not establish them.
|
|
154
|
+
| 类型 | 包含 | 作用范围 |
|
|
155
|
+
|---|---|---|
|
|
156
|
+
| 通用预算 | 压缩比例、摘要上限、PTC 时限、重试次数 | 默认仅 Super Code;开启「同时应用到官方预设」后也作用于标准、PTC、极简和创造预设 |
|
|
157
|
+
| Super Code 专属 | 活跃任务记录上限、任务记忆容量 | 仅 Super Code |
|
|
179
158
|
|
|
180
|
-
|
|
159
|
+
- 「同时应用到官方预设」默认关闭,只修改预算,不修改官方预设的工具和提示词,也不影响自定义预设。
|
|
160
|
+
- 保存后对新建的 Agent 生效,运行中的 Agent 不受影响,也不会重启。
|
|
161
|
+
- 留空即使用插件默认值;「恢复默认」会清除界面上的覆盖值。
|
|
162
|
+
- 保存失败时保留输入;若提示预算已在别处修改,请先重新读取。
|
|
163
|
+
- 旧宿主没有 `ptcRuntime` 时,PTC 时限输入框不可用,其他预算仍可设置。
|
|
181
164
|
|
|
182
|
-
|
|
165
|
+
插件默认值如下(无需手动写入配置,仅填写需要修改的项):
|
|
183
166
|
|
|
184
|
-
|
|
167
|
+
```yaml
|
|
168
|
+
budgets:
|
|
169
|
+
pressureBasis: window # 按完整上下文窗口计算;host 表示沿用宿主策略
|
|
170
|
+
thresholdRatio: 0.8 # 用量达到 80% 时开始压缩
|
|
171
|
+
retainRatio: 0.16 # 保留最近 16% 的原文,必须小于 thresholdRatio
|
|
172
|
+
summaryMaxTokens: 8192 # 摘要上限
|
|
173
|
+
compactionRetries: 1 # 压缩追加尝试次数
|
|
174
|
+
maxOverflowRetries: 1 # 溢出重试次数
|
|
175
|
+
ptcTimeoutMs: 600000 # PTC 默认时限(毫秒,含工具等待)
|
|
176
|
+
ptcMaxTimeoutMs: 600000 # PTC 时限上限,不超过宿主上限
|
|
177
|
+
applyToOfficialPresets: false
|
|
178
|
+
maxTasks: 32 # Super Code:活跃任务记录数
|
|
179
|
+
maxContextBytes: 32768 # Super Code:任务记忆上下文字节数
|
|
180
|
+
```
|
|
185
181
|
|
|
186
|
-
|
|
182
|
+
- 调用中显式指定的更短时限仍然有效。
|
|
183
|
+
- 旧宿主的 PTC 按 CPU 忙碌时间计时,新宿主按总耗时计时,两者不可直接比较。
|
|
184
|
+
- 调大 `maxTasks`、`maxContextBytes` 会占用更多上下文,一般保持默认即可。
|
|
187
185
|
|
|
188
|
-
|
|
186
|
+
## 删除保护
|
|
189
187
|
|
|
190
|
-
|
|
188
|
+
位于「删除保护」标签页,默认为**宽松**模式。
|
|
191
189
|
|
|
192
|
-
|
|
190
|
+
| 模式 | 行为 |
|
|
191
|
+
|---|---|
|
|
192
|
+
| 关闭 | 不提示,不拦截 |
|
|
193
|
+
| 宽松(默认) | 提示 Agent 删除时默认使用可恢复的 `trash`,脚本中同样适用。用户明确要求使用 `rm` 时允许使用,插件不再二次确认 |
|
|
194
|
+
| 严格 | 脚本中也不允许直接使用 `rm`。识别到永久删除命令时,每次都需用户确认,仅放行临时文件或构建产物的清理 |
|
|
193
195
|
|
|
194
|
-
|
|
196
|
+
宽松模式提供给 Agent 的规则原文:**删除文件或目录默认用 `trash <path>`(可恢复);仅清理临时文件、构建产物且我已确认时才用 `rm`。**
|
|
195
197
|
|
|
196
|
-
|
|
198
|
+
- 默认仅保护 Super Code。「同时应用到官方预设」默认关闭(与预算中的同名开关相互独立)。
|
|
199
|
+
- 保存后对之后的命令生效。
|
|
200
|
+
- 旧配置 `true` 视为严格,`false` 视为关闭。
|
|
197
201
|
|
|
198
|
-
|
|
202
|
+
严格模式在终端命令执行前检查 `rm`、常见包装命令、内联 shell 脚本和 PowerShell 删除命令(如 `Remove-Item`),PTC 中的终端调用同样检查。
|
|
199
203
|
|
|
200
|
-
|
|
204
|
+
- 只有用户同意宿主弹出的一次性确认后才会放行;拒绝、取消或出错均会拦截。每次确认仅对当次有效。
|
|
205
|
+
- 没有 `trash` 时,Agent 应改用其他可恢复的方式或停止操作。
|
|
206
|
+
- 它不是系统沙箱:不检查外部脚本文件、混淆过的程序或各语言的删除 API。如需进程级隔离,请使用宿主沙箱。
|
|
201
207
|
|
|
202
|
-
|
|
208
|
+
宽松模式仅通过提示引导,不拦截命令,宿主原有的权限检查照常生效。
|
|
203
209
|
|
|
204
|
-
|
|
210
|
+
## MCP 连接
|
|
205
211
|
|
|
206
|
-
|
|
212
|
+
允许外部 MCP 客户端(如其他 AI 编码工具)将任务委派给 DSH 执行。默认关闭,仅监听本机 `127.0.0.1`,使用 Streamable HTTP 和凭证认证。
|
|
207
213
|
|
|
208
|
-
|
|
214
|
+
### 开启
|
|
209
215
|
|
|
210
|
-
|
|
216
|
+
在「连接」标签页中:
|
|
211
217
|
|
|
212
|
-
|
|
218
|
+
1. 勾选允许的工作目录(含子目录)。
|
|
219
|
+
2. 按需修改端口和最大连接数。
|
|
220
|
+
3. 打开开关。修改会自动保存。
|
|
213
221
|
|
|
214
|
-
|
|
222
|
+
「允许 MCP 新增对话」默认开启;关闭后只能明确复用已有对话。新对话归入已有工作区,目录尚未登记时创建无后缀的同名工作区,标题以 `[MCP]` 开头。
|
|
215
223
|
|
|
216
|
-
|
|
224
|
+
「允许调用方审批」默认关闭。开启后,指定 MCP 任务的一次工具审批可交给调用方,通过交互表单或 `dsh_approve` 决定;宿主权限策略和目录申请的用户确认保持有效。
|
|
217
225
|
|
|
218
|
-
|
|
226
|
+
目录说明:
|
|
219
227
|
|
|
220
|
-
|
|
228
|
+
- 每次进入连接页都会重新读取 DSH 工作区。首次配置时会预选已有工作区,之后新增的工作区**不会**自动获得授权。
|
|
229
|
+
- 可通过目录选择器添加目录。取消勾选即撤销授权;取消最后一个目录会同时关闭 MCP。
|
|
221
230
|
|
|
222
|
-
|
|
231
|
+
连接数说明:
|
|
223
232
|
|
|
224
|
-
|
|
233
|
+
- 最大连接数默认为 3,最多 32,同时也是任务并发上限。
|
|
234
|
+
- 可在连接页断开客户端;空闲 10 分钟后自动断开。断开不会取消已接收的任务。
|
|
235
|
+
- 首页的「在线对话」表示关联的 MCP 连接仍在线,与任务是否完成无关;断开后计为历史对话。
|
|
225
236
|
|
|
226
|
-
|
|
237
|
+
端口冲突时会直接报错。地址以页面显示为准。
|
|
227
238
|
|
|
228
|
-
|
|
239
|
+
### 配置客户端
|
|
229
240
|
|
|
230
|
-
|
|
241
|
+
1. 复制连接页中的「连接 Prompt」,提供给支持 Streamable HTTP MCP 的客户端。其中包含地址、认证方式和工具说明,**不含**真实凭证。
|
|
242
|
+
2. 单独复制凭证,在客户端中配置为 `Authorization: Bearer <凭证>`。请勿将凭证写入仓库或共享的提示词。
|
|
243
|
+
3. 保持 DSH 运行。更换凭证后旧凭证立即失效,请同步更新客户端。
|
|
231
244
|
|
|
232
|
-
|
|
245
|
+
客户端能否根据提示词自动配置 MCP 取决于客户端本身,也可手动填写地址和认证信息。凭证在连接页默认展开,离开页面后隐藏。
|
|
233
246
|
|
|
234
|
-
|
|
247
|
+
### 工具
|
|
235
248
|
|
|
236
|
-
|
|
249
|
+
| 工具 | 用途 |
|
|
250
|
+
|---|---|
|
|
251
|
+
| `dsh_status` | 查看允许目录、开关、连接与任务额度、阻塞任务和恢复提示 |
|
|
252
|
+
| `dsh_models` | 查询模型与思考强度 ID,供 `dsh_run`、`dsh_send` 指定;省略时沿用会话当前或默认选择 |
|
|
253
|
+
| `dsh_read` | 分页读取所属会话及受管子会话的公开消息、工具结果与失败详情,不返回推理和私有配置 |
|
|
254
|
+
| `dsh_approve` | 仅在允许调用方审批时,批准或拒绝一个精确的待审批操作,仅生效一次 |
|
|
255
|
+
| `dsh_sessions` | 连接后应首先调用:按目录列出最近的对话、状态、是否可复用,以及连接额度和任务并发占用 |
|
|
256
|
+
| `dsh_run` | 发起任务。传入 `taskId` 复用指定对话;传入 `newConversation: true` 新建对话(两者均未传入时也新建)。**不会**自动复用最新对话。同一 `requestId` 搭配相同输入不会重复提交,输入不同则报冲突 |
|
|
257
|
+
| `dsh_wait` | 查询任务状态、输出、工作区变化和新事件,最多等待 30 秒。未传入任务 ID 时分页列出所有任务 |
|
|
258
|
+
| `dsh_send` | 在同一对话中补充要求或继续执行,需使用新的 `requestId`。不会代为批准权限 |
|
|
259
|
+
| `dsh_request_directory` | 申请新的工作目录,需用户在 DSH 中批准 |
|
|
260
|
+
| `dsh_cancel` | 请求取消对话及其子任务。之后应继续查询状态,确认任务已实际停止 |
|
|
237
261
|
|
|
238
|
-
|
|
262
|
+
### 申请新目录
|
|
239
263
|
|
|
240
|
-
|
|
241
|
-
|---|---|---|
|
|
242
|
-
| 任务状态 / Task state | 当前目标、约束、进展与验证记录 / Goal, constraints, progress, and checks | 当前会话 / Current conversation |
|
|
243
|
-
| 项目记忆 / Project memory | 有来源的项目事实、经验与约定 / Sourced facts, experience, and agreements | 同一规范化工作区路径,并按任务主题区分 / Canonical workspace path, organized by task topic |
|
|
244
|
-
| 全局偏好 / Global preferences | 用户明确要求跨项目遵守的偏好 / Explicit cross-project user preferences | 同一 Harness 存储根目录 / Same Harness storage root |
|
|
264
|
+
客户端调用 `dsh_request_directory`,并提供 `requestId`、已存在的绝对路径 `path` 和理由 `reason`。DSH 会弹出全局确认框(无需打开设置),显示客户端名称、目录和理由。
|
|
245
265
|
|
|
246
|
-
|
|
266
|
+
- 只有用户点击「允许访问」后才会授权,模型的自动审批无法替代。
|
|
267
|
+
- 使用相同输入重复调用可查询状态:`pending` / `approved` / `rejected` / `expired`。
|
|
268
|
+
- 批准前不能在该目录发起任务。
|
|
269
|
+
- 最多 8 个待审批请求,5 分钟后过期。拒绝、关闭服务或重启均不会自动授权。
|
|
270
|
+
- 客户端名称和理由由客户端自行填写,仅供参考。
|
|
247
271
|
|
|
248
|
-
|
|
272
|
+
### 任务状态与恢复
|
|
249
273
|
|
|
250
|
-
|
|
274
|
+
- 任务使用会话当前或明确指定的模型、Super Code 预设和用户的权限设置,不会自动放行权限。模型与思考强度选择保留在该会话中。
|
|
275
|
+
- 客户端的沙箱不会延续到 DSH。允许目录只控制能否在该目录发起任务,并非文件沙箱。
|
|
276
|
+
- 同一工作区的任务不并行执行。如需并行,请自行准备独立的 worktree,插件不会创建、删除或合并 worktree。
|
|
277
|
+
- `waiting_confirmation`:仅开启调用方审批且存在对应请求时可由调用方处理,否则由用户在 DSH 中确认。
|
|
278
|
+
- `finished`:执行已结束,但 `acceptance` 始终为 `not-verified`,结果是否正确需由调用方自行验证。
|
|
279
|
+
- 返回的文件信息是对 Git 工作区的观察结果,包括任务开始前已有的改动,不能证明全部由本任务产生。非 Git 目录或超出观察上限时标记为不可用。
|
|
280
|
+
- 等待超时或客户端断线均不会取消任务。关闭连接仅表示不再接收新请求。
|
|
281
|
+
- 重启后不会自动重新发送提示词。请通过 `dsh_sessions` 或任务列表找回任务 ID,确认状态后再明确继续。无法确认状态时显示 `interrupted` 或 `unavailable`;未确认停止的任务会继续占用并发额度。
|
|
251
282
|
|
|
252
|
-
|
|
283
|
+
遇到上限时,保留原 `requestId` 和输入,通过 `dsh_status`、`dsh_wait` 等待空位,不要取消其他客户端的任务或改动提供服务的 DSH 应用。结束 SDK 会话时,先调用 `transport.terminateSession()` 发送 DELETE,再关闭客户端;仅 `client.close()` 不会释放服务端额度。没有原生 MCP 工具时可使用包内 `super-code-mcp` 命令,JSON 参数从标准输入读取,凭证由私密环境变量 `DSH_MCP_TOKEN` 提供。
|
|
253
284
|
|
|
254
|
-
|
|
285
|
+
### 存储与上限
|
|
255
286
|
|
|
256
|
-
|
|
287
|
+
- 任务记录、配置和凭证保存在当前 profile 的 `super-code-connection` 目录中,目录权限为 0700,文件权限为 0600。每个 profile 只能运行一个服务实例。
|
|
288
|
+
- 上限:200 条任务记录、每个任务 128 次补充、最近 200 条事件、输出保留最后 12,000 字符。目录申请历史最多 100 条,仅保存在内存中。
|
|
289
|
+
- 任务记录已满时会明确拒绝新任务,不会自动删除旧记录。
|
|
257
290
|
|
|
258
|
-
|
|
291
|
+
## 前端 Skill
|
|
259
292
|
|
|
260
|
-
|
|
293
|
+
插件内置 `super-code-frontend`,用于页面、组件、视觉调整、响应式布局、交互状态和浏览器验证。重点检查:
|
|
261
294
|
|
|
262
|
-
|
|
295
|
+
- 元素是否对齐到同一基准线
|
|
296
|
+
- 可见范围与可点击范围是否一致
|
|
297
|
+
- 控件位置是否稳定,操作距离和输入负担是否合理
|
|
263
298
|
|
|
264
|
-
|
|
299
|
+
它沿用项目自身的视觉风格,不限定框架,也不新增工具。平时只向模型提供名称和简介,任务匹配时才加载正文和相关参考。也可在请求中直接说明「用 super-code-frontend」。
|
|
265
300
|
|
|
266
|
-
|
|
301
|
+
- 0.3.3 起新安装或重装的预设才包含该 Skill。已有预设请先备份自定义内容,再重新安装。
|
|
302
|
+
- 项目或用户目录中存在同名 Skill 时,按宿主优先级覆盖内置版本。
|
|
303
|
+
- 浏览器验证部分仅为方法指导,不强制防止循环,也不会自动写入长期记忆。
|
|
304
|
+
- 能否提升前端成品质量需通过单独的实际任务评测验证,安装测试和 SWE 成绩无法证明这一点。
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Acknowledgements
|
|
2
|
+
|
|
3
|
+
[中文](../Acknowledgements.md) · English
|
|
4
|
+
|
|
5
|
+
Thanks to these projects and their maintainers. Each section describes how the project is used in this plugin.
|
|
6
|
+
|
|
7
|
+
## DeepSeek Harness
|
|
8
|
+
|
|
9
|
+
[Source](https://github.com/deepseek-ai/deepseek-harness) · [MIT](https://github.com/deepseek-ai/deepseek-harness/blob/master/LICENSE)
|
|
10
|
+
|
|
11
|
+
The host the plugin runs on.
|
|
12
|
+
|
|
13
|
+
- Agents, model routing, sessions, tools, permissions, cancellation, persistence, subagents, and usage records all come from the host. Batched calls use native PTC.
|
|
14
|
+
- The preset uses the official compaction, file, search, shell, Web, subagent, and Skill plugins.
|
|
15
|
+
- The UI uses the host's React, theme variables, Remotes, settings pages, sidebars, and session projections; Agent details follow the host's message and tool-call presentation.
|
|
16
|
+
- Cordis (plugin lifecycle and composition) and Schemastery (configuration) are also provided by the host.
|
|
17
|
+
|
|
18
|
+
Implementation: [preset composition](../../presets/super-code/agent.cordis.yml), [declarative preset](../../cordis.patch.yml), [host integration](https://github.com/ArtlexYoung/dsh-super-code/blob/main/src/dsh/index.ts), [client](../../client/index.js)
|
|
19
|
+
|
|
20
|
+
## ZCode
|
|
21
|
+
|
|
22
|
+
[Source](https://github.com/zai-org/ZCode) · [Apache-2.0](https://github.com/zai-org/ZCode/blob/main/LICENSE)
|
|
23
|
+
|
|
24
|
+
For the 0.3.2 UI work we studied its [DESIGN.md](https://github.com/zai-org/ZCode/blob/main/DESIGN.md), themes and type scale, Button / Input, settings groups, segmented tabs, search fields, confirmation dialogs, and WorkflowAgentPill. They helped us shape compact layouts, hierarchy, grouping, and interaction states.
|
|
25
|
+
|
|
26
|
+
Design reference only, not a dependency. The UI is built on Harness's public APIs, and the execution tree keeps its own circular nodes.
|
|
27
|
+
|
|
28
|
+
## Agent Skills
|
|
29
|
+
|
|
30
|
+
[Specification](https://agentskills.io/specification) · [Repository and license](https://github.com/agentskills/agentskills)
|
|
31
|
+
|
|
32
|
+
The bundled frontend Skill follows this format: `SKILL.md`, YAML metadata, and a `references/` directory. The model sees only the name and summary until the Skill is needed, then loads the body and relevant references. It coexists with project and user Skills. Parsing and loading use Harness's native support.
|
|
33
|
+
|
|
34
|
+
Implementation: [super-code-frontend](../../presets/super-code/skills/super-code-frontend/SKILL.md)
|
|
35
|
+
|
|
36
|
+
## Apple Human Interface Guidelines
|
|
37
|
+
|
|
38
|
+
[Layout](https://developer.apple.com/design/human-interface-guidelines/layout) · [Accessibility](https://developer.apple.com/design/human-interface-guidelines/accessibility) · [Buttons](https://developer.apple.com/design/human-interface-guidelines/buttons) · [Feedback](https://developer.apple.com/design/human-interface-guidelines/feedback) · [Terms](https://developer.apple.com/support/terms/)
|
|
39
|
+
|
|
40
|
+
The frontend Skill adopts these principles: alignment expresses relationships, layouts adapt to containers and type size, control size and spacing reduce effort, interactions are predictable, feedback is close and proportionate. They're organized into three references: visual design, interaction states, and browser validation.
|
|
41
|
+
|
|
42
|
+
Only principles are borrowed; each product keeps its own visual style. Native platform units aren't treated as CSS pixels, and materials, fonts, and icons aren't used as a template.
|
|
43
|
+
|
|
44
|
+
## W3C WCAG 2.2
|
|
45
|
+
|
|
46
|
+
[WCAG 2.2](https://www.w3.org/TR/WCAG22/) · [2.5.8 Target Size (Minimum)](https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html)
|
|
47
|
+
|
|
48
|
+
When checking Web controls, the frontend Skill uses 2.5.8's 24 × 24 CSS pixel criterion and its spacing exceptions, alongside real click, keyboard, and content checks. Passing the numbers does not make the whole interface accessible.
|
|
49
|
+
|
|
50
|
+
Implementation: [interaction states](../../presets/super-code/skills/super-code-frontend/references/interaction-states.md), [browser validation](../../presets/super-code/skills/super-code-frontend/references/browser-validation.md)
|
|
51
|
+
|
|
52
|
+
## SWE-bench
|
|
53
|
+
|
|
54
|
+
[Source and grader](https://github.com/SWE-bench/SWE-bench) · [Dataset](https://huggingface.co/datasets/princeton-nlp/SWE-bench) · [MIT](https://github.com/SWE-bench/SWE-bench/blob/main/LICENSE)
|
|
55
|
+
|
|
56
|
+
Real software-engineering tasks, environments, and reproducible grading. The 33 hard tuning tasks are this project's own selection from the official dev split.
|
|
57
|
+
|
|
58
|
+
## SWE-bench Pro
|
|
59
|
+
|
|
60
|
+
[Source and grader](https://github.com/scaleapi/SWE-bench_Pro-os) · [Dataset](https://huggingface.co/datasets/ScaleAI/SWE-bench_Pro) · [MIT](https://github.com/scaleapi/SWE-bench_Pro-os/blob/main/LICENSE)
|
|
61
|
+
|
|
62
|
+
Thanks to Scale AI and the maintainers for long-horizon tasks and grading tools. hard-100 is this project's selection name, not an official hardest-100 list, and is used only for evaluation and bug investigation, never for tuning. [Evaluation results](EvaluationResults.md)
|
|
63
|
+
|
|
64
|
+
Both evaluation code bases are MIT, but datasets, tested repositories, images, and other assets have their own terms that the code license does not cover.
|
|
65
|
+
|
|
66
|
+
## Runtime dependencies
|
|
67
|
+
|
|
68
|
+
- [js-yaml](https://github.com/nodeca/js-yaml) (MIT): YAML parsing
|
|
69
|
+
- [Zod](https://github.com/colinhacks/zod) (MIT): data and input validation
|
|
70
|
+
- [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk): MCP connection
|
|
71
|
+
|
|
72
|
+
Full list in [package.json](../../package.json); locked versions in [package-lock.json](https://github.com/ArtlexYoung/dsh-super-code/blob/main/package-lock.json).
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
This project uses [Apache-2.0](../../LICENSE). The projects, specifications, design resources, and datasets above keep their own copyrights and licenses as stated upstream (LICENSE, NOTICE, and dataset docs). A design reference does not imply a dependency, endorsement, or feature equivalence.
|