dsh-soul 0.8.0 → 0.9.0
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 +27 -5
- package/README_EN.md +27 -5
- package/client/index.mjs +2129 -112
- package/index.mjs +1098 -30
- package/lib/bindings.mjs +1 -1
- package/lib/config.mjs +43 -1
- package/lib/history.mjs +13 -1
- package/lib/personas.mjs +59 -0
- package/lib/session-scope.mjs +432 -0
- package/lib/workspace-scope.mjs +348 -0
- package/package.json +6 -4
- package/scripts/verify-client.mjs +1679 -25
- package/scripts/verify-config.mjs +1063 -43
- package/scripts/verify-e2e-prompt.mjs +255 -1
- package/scripts/verify-history.mjs +13 -2
- package/scripts/verify-scope.mjs +328 -0
- package/scripts/verify-session-scope.mjs +435 -0
package/README.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
[简体中文](./README.md) | [English](./README_EN.md)
|
|
4
4
|
|
|
5
5
|
[](https://dsh-plugin.org/plugins/aliuyanfeng/dsh-soul)
|
|
6
|
+
[](https://hub.xerj.org/contributors/Aliuyanfeng)
|
|
7
|
+
[](./LICENSE)
|
|
8
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/stargazers)
|
|
9
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/issues)
|
|
10
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/commits)
|
|
11
|
+
[](https://github.com/Aliuyanfeng/dsh-soul)
|
|
12
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/actions/workflows/ci.yml)
|
|
13
|
+
[](https://www.npmjs.com/package/dsh-soul)
|
|
14
|
+
[](https://www.npmjs.com/package/dsh-soul)
|
|
6
15
|
|
|
7
16
|
DeepSeek Harness 个性化设置插件,用于配置 Agent 的昵称、回复风格、语调和自定义指令。
|
|
8
17
|
|
|
@@ -49,12 +58,25 @@ DeepSeek Harness 个性化设置插件,用于配置 Agent 的昵称、回复
|
|
|
49
58
|
| 版本 | 方向 | 状态 |
|
|
50
59
|
| --- | --- | --- |
|
|
51
60
|
| `0.7.2` | 设置页样式对齐宿主、卡片堆叠轮播、人设变更走宿主原生审批面板 | 已发布 |
|
|
52
|
-
| `0.8.0` | **变更审计与回滚** —— 记录每次配置改动(时间戳、来源、字段级 from→to
|
|
53
|
-
| `0.9.0` |
|
|
54
|
-
| `0.
|
|
55
|
-
| `0.
|
|
61
|
+
| `0.8.0` | **变更审计与回滚** —— 记录每次配置改动(时间戳、来源、字段级 from→to),插件详情页给时间线与撤销 | 已发布 |
|
|
62
|
+
| `0.9.0` | **三级配置作用域** —— Global → Workspace → Session:工作区决定人设、会话可临时覆盖,附保守回收 | 已发布 |
|
|
63
|
+
| `0.10.0` | 自演化提议 + diff 审批 —— Agent 提议精炼人设,改动以 diff 走审批面板 | 规划中 |
|
|
64
|
+
| `0.11.0` | 记忆层 —— 跨会话长期记忆,按人设隔离、按需召回 | 规划中 |
|
|
56
65
|
|
|
57
|
-
|
|
66
|
+
设计与取舍写在 `docs/` 下的设计文档里;已发布的改动见 [RELEASE_NOTES.md](./RELEASE_NOTES.md),发版流程见 [PUBLISHING.md](./PUBLISHING.md),排查手册见 [DEBUGGING.md](./DEBUGGING.md)。路线图是方向而非承诺,顺序可能调整。
|
|
67
|
+
|
|
68
|
+
### 文档
|
|
69
|
+
|
|
70
|
+
| 文件 | 内容 |
|
|
71
|
+
| --- | --- |
|
|
72
|
+
| [README.md](./README.md) / [README_EN.md](./README_EN.md) | 功能、安装、使用(面向使用者) |
|
|
73
|
+
| [RELEASE_NOTES.md](./RELEASE_NOTES.md) | 每个版本的详细变更记录(面向排查与追溯) |
|
|
74
|
+
| [DEBUGGING.md](./DEBUGGING.md) | 现象 → 原因的排查手册、校验链构成 |
|
|
75
|
+
| [PUBLISHING.md](./PUBLISHING.md) | 发版流程与 npm 发布配置 |
|
|
76
|
+
| [QUICK_START.md](./QUICK_START.md) | 最短上手路径 |
|
|
77
|
+
| [docs/DESIGN-config-scope.md](./docs/DESIGN-config-scope.md) | 三级作用域:为什么这样分层、回收为什么保守 |
|
|
78
|
+
| [docs/DESIGN-audit-rollback.md](./docs/DESIGN-audit-rollback.md) | 变更审计:撤销语义为什么是"连同之后的改动" |
|
|
79
|
+
| [docs/DESIGN-persona-scope.md](./docs/DESIGN-persona-scope.md) | 按目录绑定的原始设计(0.9.0 的前身,路径规范化部分仍在使用) |
|
|
58
80
|
|
|
59
81
|
## 安装
|
|
60
82
|
|
package/README_EN.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
# dsh-soul
|
|
4
4
|
|
|
5
5
|
[](https://dsh-plugin.org/plugins/aliuyanfeng/dsh-soul)
|
|
6
|
+
[](https://hub.xerj.org/contributors/Aliuyanfeng)
|
|
7
|
+
[](./LICENSE)
|
|
8
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/stargazers)
|
|
9
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/issues)
|
|
10
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/commits)
|
|
11
|
+
[](https://github.com/Aliuyanfeng/dsh-soul)
|
|
12
|
+
[](https://github.com/Aliuyanfeng/dsh-soul/actions/workflows/ci.yml)
|
|
13
|
+
[](https://www.npmjs.com/package/dsh-soul)
|
|
14
|
+
[](https://www.npmjs.com/package/dsh-soul)
|
|
6
15
|
|
|
7
16
|
A personalization plugin for DeepSeek Harness (DSH). Configure your agent's nickname, reply style, tone, and custom instructions.
|
|
8
17
|
|
|
@@ -49,12 +58,25 @@ A personalization plugin for DeepSeek Harness (DSH). Configure your agent's nick
|
|
|
49
58
|
| Version | Direction | Status |
|
|
50
59
|
| --- | --- | --- |
|
|
51
60
|
| `0.7.2` | Settings-page styling aligned with the host, stacked card carousel, persona changes routed through the host's native approval panel | Released |
|
|
52
|
-
| `0.8.0` | **Change audit and rollback** — every config change recorded (timestamp, source, field-level from→to), with a timeline and undo on the plugin details page
|
|
53
|
-
| `0.9.0` | **Three-level scoping** — Global → Workspace → Session
|
|
54
|
-
| `0.
|
|
55
|
-
| `0.
|
|
61
|
+
| `0.8.0` | **Change audit and rollback** — every config change recorded (timestamp, source, field-level from→to), with a timeline and undo on the plugin details page | Released |
|
|
62
|
+
| `0.9.0` | **Three-level config scoping** — Global → Workspace → Session: the workspace picks the persona, a session may override it, plus conservative cleanup | Released |
|
|
63
|
+
| `0.10.0` | Self-evolution proposals with diff approval — the Agent proposes persona refinements and the diff goes through the approval panel | Planned |
|
|
64
|
+
| `0.11.0` | Memory layer — long-term memory across sessions, isolated per persona, recalled on demand | Planned |
|
|
56
65
|
|
|
57
|
-
Design rationale lives in
|
|
66
|
+
Design rationale lives in `docs/`; shipped changes are in [RELEASE_NOTES.md](./RELEASE_NOTES.md), the release process in [PUBLISHING.md](./PUBLISHING.md), and the troubleshooting playbook in [DEBUGGING.md](./DEBUGGING.md). The roadmap states direction, not a commitment — the order may change.
|
|
67
|
+
|
|
68
|
+
### Docs
|
|
69
|
+
|
|
70
|
+
| File | What it covers |
|
|
71
|
+
| --- | --- |
|
|
72
|
+
| [README.md](./README.md) / [README_EN.md](./README_EN.md) | Features, install, usage (for users) |
|
|
73
|
+
| [RELEASE_NOTES.md](./RELEASE_NOTES.md) | Detailed per-release changelog (for debugging and history) |
|
|
74
|
+
| [DEBUGGING.md](./DEBUGGING.md) | Symptom → cause playbook, how the verification chain is built |
|
|
75
|
+
| [PUBLISHING.md](./PUBLISHING.md) | Release process and npm publishing setup |
|
|
76
|
+
| [QUICK_START.md](./QUICK_START.md) | Shortest path to a working setup |
|
|
77
|
+
| [docs/DESIGN-config-scope.md](./docs/DESIGN-config-scope.md) | Three-level scoping: why these layers, why cleanup is conservative |
|
|
78
|
+
| [docs/DESIGN-audit-rollback.md](./docs/DESIGN-audit-rollback.md) | Change audit: why undo also reverts later changes |
|
|
79
|
+
| [docs/DESIGN-persona-scope.md](./docs/DESIGN-persona-scope.md) | Original directory-binding design (predecessor of 0.9.0; path normalization still in use) |
|
|
58
80
|
|
|
59
81
|
## Installation
|
|
60
82
|
|