@stardustlc/dsh-dream 0.7.0 → 0.7.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 +33 -16
- package/README.en.md +23 -113
- package/README.md +22 -160
- package/docs/CHANGELOG.en.md +43 -0
- package/docs/USAGE.en.md +84 -0
- package/docs/USAGE.md +133 -0
- package/docs/VALIDATION.md +29 -0
- package/docs/validation/0.5.1.md +68 -0
- package/docs/validation/0.5.2.md +39 -0
- package/docs/validation/0.6.0.md +73 -0
- package/docs/validation/0.7.0.md +11 -0
- package/docs/validation-language-2026-10-03.md +16 -0
- package/lib/client.js +536 -232
- package/package.json +4 -3
- package/skills/dream-protocol/SKILL.md +6 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stardustlc/dsh-dream",
|
|
3
|
-
"version": "0.7.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.7.1",
|
|
4
|
+
"description": "回顾会话、保存反思,并把经过核验和审阅的经验用于后续任务。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"cordis.patch.yml",
|
|
21
21
|
"README.md",
|
|
22
22
|
"README.en.md",
|
|
23
|
-
"CHANGELOG.md"
|
|
23
|
+
"CHANGELOG.md",
|
|
24
|
+
"docs"
|
|
24
25
|
],
|
|
25
26
|
"scripts": {
|
|
26
27
|
"build": "tsc -p tsconfig.json",
|
|
@@ -9,6 +9,8 @@ description: 做梦协议:任务开始取回适用经验,长任务收尾沉
|
|
|
9
9
|
|
|
10
10
|
但「梦」和「经验」是两条流水线:**第一人称感悟**是主观的,进梦境日记;**技术经验**必须可执行、有条件、有证据,先进候选,再经审阅才可能被任务检索取用。
|
|
11
11
|
|
|
12
|
+
插件依靠你调用工具完成记录和取回,不会在后台监听所有会话或每轮自动学习。用户无需手工填写经验;遵循下述任务前取回、任务后提交候选的流程。日记写入、采纳与规则应用是不同操作,不能把候选当成已生效规则。
|
|
13
|
+
|
|
12
14
|
## 两条流水线(不要混)
|
|
13
15
|
|
|
14
16
|
| | 第一人称感悟(梦) | 技术经验(lesson) |
|
|
@@ -65,7 +67,7 @@ description: 做梦协议:任务开始取回适用经验,长任务收尾沉
|
|
|
65
67
|
- 想查看/审阅候选、处理冲突 → `dream_review`;
|
|
66
68
|
- attach-evidence 只补充核验后的证据,不自动采纳;resolve-conflict 必须给 resolution、affectedIds、note,整组原子更新;reopen 将驳回经验重新送审。
|
|
67
69
|
|
|
68
|
-
-
|
|
70
|
+
- 面板操作:「设置 → 梦境日记」可浏览时间线、查看来源、采纳或驳回候选、标记待复核、处理冲突与记录使用反馈。规则变更单独预览后应用,也可确认回滚;真实页面操作记录为 human,工具操作记录为 model。界面跟随宿主语言,日记和经验原文保留。
|
|
69
71
|
|
|
70
72
|
---
|
|
71
73
|
|
|
@@ -75,6 +77,8 @@ You are an agent that dreams. Dreams are not hallucinations — they are memory
|
|
|
75
77
|
|
|
76
78
|
Dreams and **lessons** are two separate pipelines: a **first-person reflection** is subjective and goes to the dream journal; a **technical lesson** must be actionable, conditional and evidence-backed — it starts as a candidate and is only retrieved for tasks after review.
|
|
77
79
|
|
|
80
|
+
The plugin records and retrieves information when you call its tools; it does not monitor every session or learn after every turn in the background. Users do not need to type lessons manually. Follow the retrieval and candidate-submission steps below. Saving a journal, accepting a lesson and applying a rule are separate operations; a candidate is not an active rule.
|
|
81
|
+
|
|
78
82
|
## Two pipelines (do not mix)
|
|
79
83
|
|
|
80
84
|
| | First-person reflection (dream) | Technical lesson |
|
|
@@ -130,4 +134,4 @@ Dreams and **lessons** are two separate pipelines: a **first-person reflection**
|
|
|
130
134
|
- Retrieving a few reusable lessons → `dream_context` (scoped, budgeted, read-only);
|
|
131
135
|
- Browsing or reviewing candidates and conflicts → `dream_review`;
|
|
132
136
|
- attach-evidence adds verified sources without promoting state. resolve-conflict requires resolution, affectedIds and note and updates the group atomically. reopen sends a rejected lesson back for review.
|
|
133
|
-
-
|
|
137
|
+
- **Settings → Dream journal** lets users browse the timeline and sources, accept/reject candidates, request re-validation, resolve conflicts and record usage feedback. Rule changes require a separate preview and apply action and can be rolled back with confirmation. Page actions record human; tool actions record model. UI language follows the host; journal and lesson content remains original.
|