skill-evolution 0.0.0-stage → 0.1.1
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/CHANGELOG.md +69 -0
- package/LICENSE +21 -0
- package/README.en.md +244 -0
- package/README.md +243 -2
- package/assets/icon-180.png +0 -0
- package/assets/screenshots/workbench.png +0 -0
- package/client.js +2136 -0
- package/cordis.patch.yml +42 -0
- package/icon.svg +6 -0
- package/index.js +898 -0
- package/lib/applier.js +221 -0
- package/lib/collector.js +356 -0
- package/lib/consolidation.js +344 -0
- package/lib/gatekeeper.js +293 -0
- package/lib/http-api.js +974 -0
- package/lib/ledger.js +316 -0
- package/lib/prompts.js +514 -0
- package/lib/provenance.js +103 -0
- package/lib/reflector.js +226 -0
- package/lib/synthesizer.js +295 -0
- package/lib/tidy.js +263 -0
- package/lib/usage.js +223 -0
- package/locale/en.json +8 -0
- package/locale/zh.json +8 -0
- package/package.json +88 -4
- package/screenshots.json +3 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# DSH 自进化(skill-evolution)
|
|
2
|
+
#
|
|
3
|
+
# 让 DSH 拥有 Hermes 的 closed learning loop:
|
|
4
|
+
# 回合结束 → 采集快照 → fork 只读复盘 → 蒸馏成技能 → 闸门校验 → 落盘草稿 → 记账
|
|
5
|
+
#
|
|
6
|
+
# 默认关闭:确认额外模型费用与会话摘录的隐私影响后,再将 enabled 改为 true。
|
|
7
|
+
#
|
|
8
|
+
# ⚠️ 默认 mode: draft —— 只写 ~/.dsh/skills/.staging/ 等人工审阅,
|
|
9
|
+
# 绝不自动改写正式技能库。确认草稿质量后可用 /evolution approve <name> <批示> 提升。
|
|
10
|
+
- insert:
|
|
11
|
+
- id: skill-evolution
|
|
12
|
+
name: 'skill-evolution'
|
|
13
|
+
config:
|
|
14
|
+
enabled: false
|
|
15
|
+
# 独立手机 HTTP 服务;非回环监听地址必须配置非空 httpToken
|
|
16
|
+
httpEnabled: true
|
|
17
|
+
httpHost: '127.0.0.1'
|
|
18
|
+
httpPort: 18890
|
|
19
|
+
httpToken: ''
|
|
20
|
+
mode: draft
|
|
21
|
+
# 技能根目录留空 = ~/.dsh/skills
|
|
22
|
+
skillsRoot: ''
|
|
23
|
+
# 节流:两次复盘之间至少 1 个值得复盘的回合 + 2 分钟
|
|
24
|
+
minTurnsBetween: 1
|
|
25
|
+
minMinutesBetween: 2
|
|
26
|
+
# 快照预算
|
|
27
|
+
maxMessages: 24
|
|
28
|
+
maxChars: 24000
|
|
29
|
+
# 单次复盘超时
|
|
30
|
+
reviewTimeoutSeconds: 180
|
|
31
|
+
# 复盘模型留空 = 继承当前会话模型;可指定更便宜的辅助模型
|
|
32
|
+
reviewModel:
|
|
33
|
+
provider: ''
|
|
34
|
+
model: ''
|
|
35
|
+
reasoningEffort: ''
|
|
36
|
+
# 技能生命周期维护
|
|
37
|
+
curatorEnabled: true
|
|
38
|
+
# LLM 建伞合并:默认只分析预览,不直接改盘
|
|
39
|
+
consolidate: false
|
|
40
|
+
consolidateDryRun: true
|
|
41
|
+
staleAfterDays: 14
|
|
42
|
+
archiveAfterDays: 30
|
package/icon.svg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M12 3a9 9 0 1 0 9 9"/>
|
|
3
|
+
<path d="M12 3a9 9 0 0 1 9 9"/>
|
|
4
|
+
<path d="M12 7v5l3 3"/>
|
|
5
|
+
<path d="M17 3l3 3-3 3"/>
|
|
6
|
+
</svg>
|