@jiugeqqqqq/dsh-house 0.2.2 → 0.2.3
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/cordis.patch.yml +2 -2
- package/lib/client.js +8 -4
- package/package.json +44 -44
package/cordis.patch.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Bundle patch layer for dsh-house(房子)。
|
|
1
|
+
# Bundle patch layer for dsh-house(房子)。
|
|
2
2
|
#
|
|
3
3
|
# 只插入一行 Host。浏览器那一半由 package.json 的 dsh.client 声明。
|
|
4
4
|
# 这里的默认值**不写死任何人的路径**:装完直接能用,清单文件不存在会自动建模板。
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- insert:
|
|
8
8
|
- id: house
|
|
9
|
-
name: dsh-house
|
|
9
|
+
name: "@jiugeqqqqq/dsh-house"
|
|
10
10
|
config:
|
|
11
11
|
# 房子清单:Markdown,按 "## 分组" 和 "- 条目" 解析。留空 = <DSH_HOME>/house.md
|
|
12
12
|
assetsPath: ''
|
package/lib/client.js
CHANGED
|
@@ -428,14 +428,18 @@ window.__ModuleLoader__.load({
|
|
|
428
428
|
var inject = ['slots'];
|
|
429
429
|
|
|
430
430
|
function apply(ctx) {
|
|
431
|
-
|
|
432
|
-
|
|
431
|
+
// 2026-10-27:DSH 0.2.1-rc.3 起,slots 要拿 ctx.get('slots'),直接读 ctx.slots 会是
|
|
432
|
+
// undefined(表现:host 正常、侧栏静默不出现、Console 也不报错)。
|
|
433
|
+
// 老版本没有 ctx.get,所以两种写法都兜一下。
|
|
434
|
+
var slots = (typeof ctx.get === 'function' && ctx.get('slots')) || ctx.slots;
|
|
435
|
+
slots.inject('sidebar.panellist', function () {
|
|
436
|
+
return slots.register(
|
|
433
437
|
{ name: 'sidebar.panellist', id: PANEL_ID, order: 21, label: function () { return '房子'; } },
|
|
434
438
|
Icon,
|
|
435
439
|
);
|
|
436
440
|
});
|
|
437
|
-
|
|
438
|
-
return
|
|
441
|
+
slots.inject('main', function () {
|
|
442
|
+
return slots.register({ name: 'main', key: PANEL_ID }, HousePage);
|
|
439
443
|
});
|
|
440
444
|
}
|
|
441
445
|
|
package/package.json
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@jiugeqqqqq/dsh-house",
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"description": "房子 — 常驻的资产/能力清单,配一个侧边栏页面。清单会自动进系统提示(装了就生效);房子只记有没有、到哪一步,细节放 knowledge 和日志里。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./lib/host/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./lib/host/index.js",
|
|
10
|
+
"./client": "./lib/client.js",
|
|
11
|
+
"./package.json": "./package.json"
|
|
12
|
+
},
|
|
13
|
+
"meta": {
|
|
14
|
+
"title": "房子",
|
|
15
|
+
"description": "常驻的资产与能力清单:只记有没有、到哪一步、怎么用一句话。细节留给 knowledge 和日志,需要时再查。"
|
|
16
|
+
},
|
|
17
|
+
"dsh": {
|
|
18
|
+
"bundle": {
|
|
19
|
+
"patch": "./cordis.patch.yml"
|
|
20
|
+
},
|
|
21
|
+
"client": {
|
|
22
|
+
"platform": "web",
|
|
23
|
+
"immediately": true,
|
|
24
|
+
"inject": [
|
|
25
|
+
"slots"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"manifestVersion": 1
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"dsh",
|
|
32
|
+
"deepseek-harness",
|
|
33
|
+
"assets",
|
|
34
|
+
"capabilities",
|
|
35
|
+
"sidebar",
|
|
36
|
+
"memory"
|
|
37
|
+
],
|
|
38
|
+
"author": "jiuge",
|
|
39
|
+
"files": [
|
|
40
|
+
"lib/**/*.js",
|
|
41
|
+
"cordis.patch.yml",
|
|
42
|
+
"README.md"
|
|
43
|
+
]
|
|
44
|
+
}
|