@stardustlc/dsh-dream 0.11.0 → 0.13.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/CHANGELOG.md +13 -0
- package/README.en.md +8 -0
- package/README.md +8 -0
- package/docs/WORKBENCH.md +29 -0
- package/lib/client.js +3025 -2314
- package/lib/index.js +2 -0
- package/package.json +12 -7
package/lib/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { registerUpdates } from '@stardustlc/dsh-updates';
|
|
1
2
|
/**
|
|
2
3
|
* dsh-dream —— 做梦插件:会话回放(梦原料)→ 反思 → 梦境日记(记忆巩固)。
|
|
3
4
|
*
|
|
@@ -20,6 +21,7 @@ export function bundledSkillsDir() {
|
|
|
20
21
|
}
|
|
21
22
|
/** 插件入口。 */
|
|
22
23
|
export function apply(ctx, config) {
|
|
24
|
+
registerUpdates(ctx, { name: "@stardustlc/dsh-dream" });
|
|
23
25
|
let cfg;
|
|
24
26
|
try {
|
|
25
27
|
cfg = resolveConfig(config);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stardustlc/dsh-dream",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "回顾会话、保存反思,并把经过核验和审阅的经验用于后续任务。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"docs"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "tsc -p tsconfig.json",
|
|
27
|
+
"build": "tsc -p tsconfig.json && node scripts/build-client.mjs && node scripts/build-updates.mjs",
|
|
28
28
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
29
29
|
"test": "pnpm run build && node --test \"test/*.test.mjs\"",
|
|
30
30
|
"prepublishOnly": "pnpm run build"
|
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
"patch": "./cordis.patch.yml"
|
|
35
35
|
},
|
|
36
36
|
"client": {
|
|
37
|
+
"platform": "web",
|
|
37
38
|
"inject": [
|
|
38
|
-
"@deepseek-ai/dsh-client-ui-settings"
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
40
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
41
|
+
"@deepseek-ai/dsh-client-ui-sidebar"
|
|
42
|
+
]
|
|
41
43
|
}
|
|
42
44
|
},
|
|
43
45
|
"keywords": [
|
|
@@ -52,9 +54,12 @@
|
|
|
52
54
|
],
|
|
53
55
|
"license": "MIT",
|
|
54
56
|
"engines": {
|
|
55
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
57
|
+
"node": "^22.19.0 || >=24.0.0",
|
|
58
|
+
"dsh": ">=0.2.1-rc.3"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@stardustlc/dsh-updates": "0.1.0"
|
|
56
62
|
},
|
|
57
|
-
"dependencies": {},
|
|
58
63
|
"devDependencies": {
|
|
59
64
|
"@types/node": "^24.0.0",
|
|
60
65
|
"typescript": "^5.6.0"
|